<commit_before><tractor-file-tree model="stepDefinitionEditor" type="step-definitions"></tractor-file-tree>
<tractor-panel-handle panel-name="step-definition-file-tree"></tractor-panel-handle>
<form class="file" name="stepDefinitionEditor.fileEditor" novalidate
    ng-submit="stepDefinitionEditor.showErrors() && stepDefinitionEditor.saveFile()">
    <section class="file-options" ng-if="stepDefinitionEditor.fileModel">
        <h1 class="file-options__name">{{ stepDefinitionEditor.fileModel.name }}</h1>
        <div class="file-options__file-actions">
            <tractor-confirm-dialog trigger="stepDefinitionEditor.confirmOverWrite">
                <p>This will overwrite "{{ stepDefinitionEditor.fileModel.name }}". Continue?</p>
            </tractor-confirm-dialog>
            <tractor-submit class="file-options__save-file"
                action="Save step definition file">
            </tractor-submit>
        </div>
    </section>

    <section class="file-editor" ng-if="stepDefinitionEditor.fileModel">
        <section ng-if="stepDefinitionEditor.canAddComponents">
            <section class="file-editor__container">
                <h2>Available components:</h2>
                <ul>
                    <li ng-repeat="component in stepDefinitionEditor.fileModel.availableComponents"
                        ng-if="stepDefinitionEditor.fileModel.components.indexOf(component) === -1">
                        <span> {{ component.name }} </spam>
                        <tractor-action
                            model="stepDefinitionEditor.fileModel"
                            action="Add component"
                            argument="component.name">
                        </tractor-action>
                    </li>
                </ul>
            </section>

            <section class="file-editor__container"
                ng-if="stepDefinitionEditor.hasComponents">
                <h2>Active components:</h2>
                <ul>
                    <li ng-repeat="component in stepDefinitionEditor.fileModel.componentInstances">
                        <span> {{ component.component.name }} </span>
                        <tractor-action
                            model="stepDefinitionEditor.fileModel"
                            action="Remove component"
                            argument="component"
                            icon="remove">
                        </tractor-action>
                    </li>
                </ul>
            </section>
        </section>

        <section ng-if="stepDefinitionEditor.canAddMockData">
            <section class="file-editor__container">
                <h2>Available mock data:</h2>
                <ul>
                    <li ng-repeat="mockData in stepDefinitionEditor.fileModel.availableMockData"
                        ng-if="stepDefinitionEditor.fileModel.mockData.indexOf(mockData) === -1">
                        <a ng-href=" {{ mockData.link }}" target="_blank">
                            <span> {{ mockData.name }} </spam>
                        </a>
                        <tractor-action
                            model="stepDefinitionEditor.fileModel"
                            action="Add mock"
                            argument="mockData.name">
                        </tractor-action>
                    </li>
                </ul>
            </section>

            <section class="file-editor__container"
                ng-if="stepDefinitionEditor.hasMockData">
                <h2>Active mock data:</h2>
                <ul>
                    <li ng-repeat="mockData in stepDefinitionEditor.fileModel.mockDataInstances">
                        <a ng-href=" {{ mockData.link }}" target="_blank">
                            <span> {{ mockData.mockData.name }} </span>
                        </a>
                        <tractor-action
                            model="stepDefinitionEditor.fileModel"
                            action="Remove mock"
                            argument="mock"
                            icon="remove">
                        </tractor-action>
                    </li>
                </ul>
            </section>
        </section>

        <section class="file-editor__container" ng-if="stepDefinitionEditor.showMockDataSection">
            <h2>Mock Data:</h2>

            <ul>
                <li class="file-editor__list-item" ng-repeat="mock in stepDefinitionEditor.fileModel.step.mocks">
                    <tractor-action
                        model="stepDefinitionEditor.fileModel.step"
                        action="Remove mock"
                        argument="mock"
                        icon="remove">
                    </tractor-action>
<commit_msg>fixed remove mockData from Active mock list<commit_after><tractor-file-tree model="stepDefinitionEditor" type="step-definitions"></tractor-file-tree>
<tractor-panel-handle panel-name="step-definition-file-tree"></tractor-panel-handle>
<form class="file" name="stepDefinitionEditor.fileEditor" novalidate
    ng-submit="stepDefinitionEditor.showErrors() && stepDefinitionEditor.saveFile()">
    <section class="file-options" ng-if="stepDefinitionEditor.fileModel">
        <h1 class="file-options__name">{{ stepDefinitionEditor.fileModel.name }}</h1>
        <div class="file-options__file-actions">
            <tractor-confirm-dialog trigger="stepDefinitionEditor.confirmOverWrite">
                <p>This will overwrite "{{ stepDefinitionEditor.fileModel.name }}". Continue?</p>
            </tractor-confirm-dialog>
            <tractor-submit class="file-options__save-file"
                action="Save step definition file">
            </tractor-submit>
        </div>
    </section>

    <section class="file-editor" ng-if="stepDefinitionEditor.fileModel">
        <section ng-if="stepDefinitionEditor.canAddComponents">
            <section class="file-editor__container">
                <h2>Available components:</h2>
                <ul>
                    <li ng-repeat="component in stepDefinitionEditor.fileModel.availableComponents"
                        ng-if="stepDefinitionEditor.fileModel.components.indexOf(component) === -1">
                        <span> {{ component.name }} </spam>
                        <tractor-action
                            model="stepDefinitionEditor.fileModel"
                            action="Add component"
                            argument="component.name">
                        </tractor-action>
                    </li>
                </ul>
            </section>

            <section class="file-editor__container"
                ng-if="stepDefinitionEditor.hasComponents">
                <h2>Active components:</h2>
                <ul>
                    <li ng-repeat="component in stepDefinitionEditor.fileModel.componentInstances">
                        <span> {{ component.component.name }} </span>
                        <tractor-action
                            model="stepDefinitionEditor.fileModel"
                            action="Remove component"
                            argument="component"
                            icon="remove">
                        </tractor-action>
                    </li>
                </ul>
            </section>
        </section>

        <section ng-if="stepDefinitionEditor.canAddMockData">
            <section class="file-editor__container">
                <h2>Available mock data:</h2>
                <ul>
                    <li ng-repeat="mockData in stepDefinitionEditor.fileModel.availableMockData"
                        ng-if="stepDefinitionEditor.fileModel.mockData.indexOf(mockData) === -1">
                        <a ng-href=" {{ mockData.link }}" target="_blank">
                            <span> {{ mockData.name }} </spam>
                        </a>
                        <tractor-action
                            model="stepDefinitionEditor.fileModel"
                            action="Add mock"
                            argument="mockData.name">
                        </tractor-action>
                    </li>
                </ul>
            </section>

            <section class="file-editor__container"
                ng-if="stepDefinitionEditor.hasMockData">
                <h2>Active mock data:</h2>
                <ul>
                    <li ng-repeat="mockData in stepDefinitionEditor.fileModel.mockDataInstances">
                        <a ng-href=" {{ mockData.link }}" target="_blank">
                            <span> {{ mockData.mockData.name }} </span>
                        </a>
                        <tractor-action
                            model="stepDefinitionEditor.fileModel"
                            action="Remove mock"
                            argument="mock"
                            icon="remove">
                        </tractor-action>
                    </li>
                </ul>
            </section>
        </section>

        <section class="file-editor__container" ng-if="stepDefinitionEditor.showMockDataSection">
            <h2>Mock Data:</h2>

            <ul>
                <li class="file-editor__list-item" ng-repeat="mock in stepDefinitionEditor.fileModel.step.mocks">
                    <tractor-action
                        model="stepDefinitionEditor.fileModel.step"
                        action="Remove mock"
                        argument="mockData"
                        icon="remove">
                    </tractor-action>

{'fraction_non_alphanumeric': 0.11201842546063652, 'fraction_numerical': 0.002931323283082077, 'mean_word_length': 1.3984433843836304, 'pattern_counts': {'":': 0, '<': 165, '<?xml version=': 0, '>': 165, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7659408', 'n_tokens_mistral': 2291, 'n_tokens_neox': 2174, 'n_words': 342}