<commit_before><div ng-show="nodeFormDataLoaded">
    <div class="WorkflowMaker-formTitle">{{nodeConfig.mode === 'edit' ? nodeConfig.node.fullUnifiedJobTemplateObject.name || nodeConfig.node.unifiedJobTemplate.name : strings.get('workflow_maker.ADD_A_TEMPLATE')}}</div>
    <div class="Form-tabHolder" ng-show="!readOnly">
        <div class="Form-tab WorkflowMaker-formTab" ng-class="{'is-selected': activeTab === 'jobs'}" ng-click="activeTab = 'jobs'">{{strings.get('workflow_maker.JOBS')}}</div>
        <div class="Form-tab WorkflowMaker-formTab" ng-class="{'is-selected': activeTab === 'project_syncs'}" ng-click="activeTab = 'project_syncs'">{{strings.get('workflow_maker.PROJECT_SYNC')}}</div>
        <div class="Form-tab WorkflowMaker-formTab" ng-class="{'is-selected': activeTab === 'inventory_syncs'}" ng-click="activeTab = 'inventory_syncs'">{{strings.get('workflow_maker.INVENTORY_SYNC')}}</div>
    </div>
    <div class="WorkflowMaker-formLists" ng-show="!readOnly">
        <div id="workflow-jobs-list" ng-show="activeTab === 'jobs'">
            <div ng-hide="wf_maker_templates.length === 0 && (searchTags | isEmpty)">
                <smart-search django-model="unified_job_templates" base-path="unified_job_templates" iterator="wf_maker_template" dataset="wf_maker_template_dataset" list="templateList" collection="wf_maker_templates" default-params="wf_maker_template_default_params" query-set="wf_maker_template_queryset" search-bar-full-width="true" search-tags="searchTags">
                </smart-search>
            </div>

            <div class="row" ng-show="wf_maker_templates.length === 0 && !(searchTags | isEmpty)">
                <div class="col-lg-12 List-searchNoResults" translate>No records matched your search.</div>
            </div>
            <div class="List-noItems" ng-show="wf_maker_templates.length === 0 && (searchTags | isEmpty)">PLEASE ADD ITEMS TO THIS LIST</div>
            <div class="list-table-container" ng-show="wf_maker_templates.length > 0">
                <table id="templates_table" class="List-table" is-extended="false">
                    <thead>
                        <tr class="List-tableHeaderRow">
                            <th class="List-tableHeader select-column List-staticColumn--smallStatus" translate=""></th>
                            <th class="col-md-8" base-path="unified_job_templates" collection="wf_maker_templates" dataset="wf_maker_template_dataset" column-sort="" column-field="name" column-iterator="wf_maker_template" column-no-sort="undefined" column-label="Name" column-custom-class="" query-set="wf_maker_template_queryset">
                            </th>
                            <th class="List-tableHeader--info col-md-3" base-path="unified_job_templates" collection="wf_maker_templates" dataset="wf_maker_template_dataset" column-sort="" column-field="info" column-iterator="wf_maker_template" column-no-sort="true" column-label="" column-custom-class="" query-set="wf_maker_template_queryset">
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr ng-class="[template.success_class, {'List-tableRow--selected' : $stateParams['template_id'] == wf_maker_template.id}, {'List-tableRow--disabled': !wf_maker_template.summary_fields.user_capabilities.edit}]" id="{{ wf_maker_template.id }}" class="List-tableRow template_class" disable-row="{{ !wf_maker_template.summary_fields.user_capabilities.edit }}" ng-repeat="wf_maker_template in wf_maker_templates">
                            <td class="List-tableCell">
                                <input type="radio" ng-model="wf_maker_template.checked" ng-value="1" ng-false-value="0" name="check_template_{{wf_maker_template.id}}" ng-click="toggle_row(wf_maker_template)" ng-disabled="!wf_maker_template.summary_fields.user_capabilities.edit">
                            </td>
                            <td class="List-tableCell name-column col-md-8" ng-click="toggle_row(wf_maker_template)">
                                {{wf_maker_template.name}}
                                <span class="at-RowItem-tag" ng-show="wf_maker_template.type === 'workflow_job_template'">
                                    {{:: strings.get('workflow_maker.WORKFLOW') }}
                                </span>
                            </td>
                            <td class="col-md-3" ng-include="'/static/partials/job-template-details.html'"></td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <paginate base-path="unified_job_templates" collection="wf_maker_templates" dataset="wf_maker_template_dataset" iterator="wf_maker_template" query-set="wf_maker_template_queryset" hide-view-per-page="true" max-visible-pages="5"></paginate>
        </div>
        <div id="workflow-project-sync-list" ng-show="activeTab === 'project_syncs'">
            <div ng-hide="wf_maker_projects.length === 0 && (searchTags | isEmpty)">
                <smart-search django-model="projects" base-path="projects" iterator="wf_maker_project" dataset="wf_maker_project_dataset" list="projectList" collection="wf_maker_projects" default-params="wf_maker_project_default_params" query-set="wf_maker_project_queryset" search-bar-full-width="true" search-tags="searchTags">
                </smart-search>
            </div>

            <div class="row" ng-show="wf_maker_projects.length === 0 && !(searchTags | isEmpty)">
                <div class="col-lg-12 List-searchNoResults" translate>No records matched your search.</div>
            </div>
            <div class="List-noItems" ng-show="wf_maker_projects.length === 0 && (searchTags | isEmpty)">No Projects Have Been Created</div>
            <div class="list-table-container" ng-show="wf_maker_projects.length > 0">
                <table id="projects_table" class="List-table" is-extended="false">
                    <thead>
                        <tr class="List-tableHeaderRow">
                            <th class="List-tableHeader select-column List-staticColumn--smallStatus" translate=""></th>
                            <th base-path="projects" collection="wf_maker_projects" dataset="wf_maker_project_dataset" column-sort="" column-field="name" column-iterator="wf_maker_project" column-no-sort="undefined" column-label="Name" column-custom-class="col-md-8" query-set="wf_maker_project_queryset">
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr ng-class="[wf_maker_project.success_class, {'List-tableRow--selected' : $stateParams['project_id'] == wf_maker_project.id}]" id="{{ wf_maker_project.id }}" class="List-tableRow project_class" ng-repeat="wf_maker_project in wf_maker_projects">
                            <td class="List-tableCell">
                                <input type="radio" ng-model="wf_maker_project.checked" ng-value="1" ng-false-value="0" name="check_project_{{wf_maker_project.id}}" ng-click="toggle_row(wf_maker_project)" ng-disabled="undefined">
                            </td>
                            <td class="List-tableCell name-column col-md-8" ng-click="toggle_row(wf_maker_project)">
                                {{ wf_maker_project.name }}</td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <paginate base-path="projects" collection="wf_maker_projects" dataset="wf_maker_project_dataset" iterator="wf_maker_project" query-set="wf_maker_project_queryset" hide-view-per-page="true" max-visible-pages="5"></paginate>
        </div>
        <div id="workflow-inventory-sync-list" ng-show="activeTab === 'inventory_syncs'">
            <div ng-hide="wf_maker_inventory_sources.length === 0 && (searchTags | isEmpty)">
                <smart-search django-model="inventory_sources" base-path="inventory_sources" iterator="wf_maker_inventory_source" dataset="wf_maker_inventory_source_dataset" list="inventorySourceList" collection="wf_maker_inventory_sources" default-params="wf_maker_inventory_source_default_params" query-set="wf_maker_inventory_source_queryset" search-bar-full-width="true" search-tags="searchTags">
                </smart-search>
            </div>

            <div class="row" ng-show="wf_maker_inventory_sources.length === 0 && !(searchTags | isEmpty)">
                <div class="col-lg-12 List-searchNoResults" translate>No records matched your search.</div>
            </div>
            <div class="List-noItems" ng-show="wf_maker_inventory_sources.length === 0 && (searchTags | isEmpty)">PLEASE ADD ITEMS TO THIS LIST</div>
            <div class="list-table-container" ng-show="wf_maker_inventory_sources.length > 0">
                <table id="workflow_inventory_sources_table" class="List-table" is-extended="false">
                    <thead>
                        <tr class="List-tableHeaderRow">
                            <th class="List-tableHeader select-column List-staticColumn--smallStatus" translate=""></th>
                            <th base-path="inventory_sources" collection="wf_maker_inventory_sources" dataset="wf_maker_inventory_source_dataset" column-sort="" column-field="name" column-iterator="wf_maker_inventory_source" column-no-sort="undefined" column-label="Name" column-custom-class="" query-set="wf_maker_inventory_source_queryset">
                            </th><commit_msg>Fix searching on related fields<commit_after><div ng-show="nodeFormDataLoaded">
    <div class="WorkflowMaker-formTitle">{{nodeConfig.mode === 'edit' ? nodeConfig.node.fullUnifiedJobTemplateObject.name || nodeConfig.node.unifiedJobTemplate.name : strings.get('workflow_maker.ADD_A_TEMPLATE')}}</div>
    <div class="Form-tabHolder" ng-show="!readOnly">
        <div class="Form-tab WorkflowMaker-formTab" ng-class="{'is-selected': activeTab === 'jobs'}" ng-click="activeTab = 'jobs'">{{strings.get('workflow_maker.JOBS')}}</div>
        <div class="Form-tab WorkflowMaker-formTab" ng-class="{'is-selected': activeTab === 'project_syncs'}" ng-click="activeTab = 'project_syncs'">{{strings.get('workflow_maker.PROJECT_SYNC')}}</div>
        <div class="Form-tab WorkflowMaker-formTab" ng-class="{'is-selected': activeTab === 'inventory_syncs'}" ng-click="activeTab = 'inventory_syncs'">{{strings.get('workflow_maker.INVENTORY_SYNC')}}</div>
    </div>
    <div class="WorkflowMaker-formLists" ng-show="!readOnly">
        <div id="workflow-jobs-list" ng-show="activeTab === 'jobs'">
            <div ng-hide="wf_maker_templates.length === 0 && (searchTags | isEmpty)">
                <smart-search django-model="wf_maker_templates" base-path="unified_job_templates" iterator="wf_maker_template" dataset="wf_maker_template_dataset" list="templateList" collection="wf_maker_templates" default-params="wf_maker_template_default_params" query-set="wf_maker_template_queryset" search-bar-full-width="true" search-tags="searchTags">
                </smart-search>
            </div>

            <div class="row" ng-show="wf_maker_templates.length === 0 && !(searchTags | isEmpty)">
                <div class="col-lg-12 List-searchNoResults" translate>No records matched your search.</div>
            </div>
            <div class="List-noItems" ng-show="wf_maker_templates.length === 0 && (searchTags | isEmpty)">PLEASE ADD ITEMS TO THIS LIST</div>
            <div class="list-table-container" ng-show="wf_maker_templates.length > 0">
                <table id="templates_table" class="List-table" is-extended="false">
                    <thead>
                        <tr class="List-tableHeaderRow">
                            <th class="List-tableHeader select-column List-staticColumn--smallStatus" translate=""></th>
                            <th class="col-md-8" base-path="unified_job_templates" collection="wf_maker_templates" dataset="wf_maker_template_dataset" column-sort="" column-field="name" column-iterator="wf_maker_template" column-no-sort="undefined" column-label="Name" column-custom-class="" query-set="wf_maker_template_queryset">
                            </th>
                            <th class="List-tableHeader--info col-md-3" base-path="unified_job_templates" collection="wf_maker_templates" dataset="wf_maker_template_dataset" column-sort="" column-field="info" column-iterator="wf_maker_template" column-no-sort="true" column-label="" column-custom-class="" query-set="wf_maker_template_queryset">
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr ng-class="[template.success_class, {'List-tableRow--selected' : $stateParams['template_id'] == wf_maker_template.id}, {'List-tableRow--disabled': !wf_maker_template.summary_fields.user_capabilities.edit}]" id="{{ wf_maker_template.id }}" class="List-tableRow template_class" disable-row="{{ !wf_maker_template.summary_fields.user_capabilities.edit }}" ng-repeat="wf_maker_template in wf_maker_templates">
                            <td class="List-tableCell">
                                <input type="radio" ng-model="wf_maker_template.checked" ng-value="1" ng-false-value="0" name="check_template_{{wf_maker_template.id}}" ng-click="toggle_row(wf_maker_template)" ng-disabled="!wf_maker_template.summary_fields.user_capabilities.edit">
                            </td>
                            <td class="List-tableCell name-column col-md-8" ng-click="toggle_row(wf_maker_template)">
                                {{wf_maker_template.name}}
                                <span class="at-RowItem-tag" ng-show="wf_maker_template.type === 'workflow_job_template'">
                                    {{:: strings.get('workflow_maker.WORKFLOW') }}
                                </span>
                            </td>
                            <td class="col-md-3" ng-include="'/static/partials/job-template-details.html'"></td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <paginate base-path="unified_job_templates" collection="wf_maker_templates" dataset="wf_maker_template_dataset" iterator="wf_maker_template" query-set="wf_maker_template_queryset" hide-view-per-page="true" max-visible-pages="5"></paginate>
        </div>
        <div id="workflow-project-sync-list" ng-show="activeTab === 'project_syncs'">
            <div ng-hide="wf_maker_projects.length === 0 && (searchTags | isEmpty)">
                <smart-search django-model="wf_maker_projects" base-path="projects" iterator="wf_maker_project" dataset="wf_maker_project_dataset" list="projectList" collection="wf_maker_projects" default-params="wf_maker_project_default_params" query-set="wf_maker_project_queryset" search-bar-full-width="true" search-tags="searchTags">
                </smart-search>
            </div>

            <div class="row" ng-show="wf_maker_projects.length === 0 && !(searchTags | isEmpty)">
                <div class="col-lg-12 List-searchNoResults" translate>No records matched your search.</div>
            </div>
            <div class="List-noItems" ng-show="wf_maker_projects.length === 0 && (searchTags | isEmpty)">No Projects Have Been Created</div>
            <div class="list-table-container" ng-show="wf_maker_projects.length > 0">
                <table id="projects_table" class="List-table" is-extended="false">
                    <thead>
                        <tr class="List-tableHeaderRow">
                            <th class="List-tableHeader select-column List-staticColumn--smallStatus" translate=""></th>
                            <th base-path="projects" collection="wf_maker_projects" dataset="wf_maker_project_dataset" column-sort="" column-field="name" column-iterator="wf_maker_project" column-no-sort="undefined" column-label="Name" column-custom-class="col-md-8" query-set="wf_maker_project_queryset">
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr ng-class="[wf_maker_project.success_class, {'List-tableRow--selected' : $stateParams['project_id'] == wf_maker_project.id}]" id="{{ wf_maker_project.id }}" class="List-tableRow project_class" ng-repeat="wf_maker_project in wf_maker_projects">
                            <td class="List-tableCell">
                                <input type="radio" ng-model="wf_maker_project.checked" ng-value="1" ng-false-value="0" name="check_project_{{wf_maker_project.id}}" ng-click="toggle_row(wf_maker_project)" ng-disabled="undefined">
                            </td>
                            <td class="List-tableCell name-column col-md-8" ng-click="toggle_row(wf_maker_project)">
                                {{ wf_maker_project.name }}</td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <paginate base-path="projects" collection="wf_maker_projects" dataset="wf_maker_project_dataset" iterator="wf_maker_project" query-set="wf_maker_project_queryset" hide-view-per-page="true" max-visible-pages="5"></paginate>
        </div>
        <div id="workflow-inventory-sync-list" ng-show="activeTab === 'inventory_syncs'">
            <div ng-hide="wf_maker_inventory_sources.length === 0 && (searchTags | isEmpty)">
                <smart-search django-model="wf_maker_inventory_sources" base-path="inventory_sources" iterator="wf_maker_inventory_source" dataset="wf_maker_inventory_source_dataset" list="inventorySourceList" collection="wf_maker_inventory_sources" default-params="wf_maker_inventory_source_default_params" query-set="wf_maker_inventory_source_queryset" search-bar-full-width="true" search-tags="searchTags">
                </smart-search>
            </div>

            <div class="row" ng-show="wf_maker_inventory_sources.length === 0 && !(searchTags | isEmpty)">
                <div class="col-lg-12 List-searchNoResults" translate>No records matched your search.</div>
            </div>
            <div class="List-noItems" ng-show="wf_maker_inventory_sources.length === 0 && (searchTags | isEmpty)">PLEASE ADD ITEMS TO THIS LIST</div>
            <div class="list-table-container" ng-show="wf_maker_inventory_sources.length > 0">
                <table id="workflow_inventory_sources_table" class="List-table" is-extended="false">
                    <thead>
                        <tr class="List-tableHeaderRow">
                            <th class="List-tableHeader select-column List-staticColumn--smallStatus" translate=""></th>
                            <th base-path="inventory_sources" collection="wf_maker_inventory_sources" dataset="wf_maker_inventory_source_dataset" column-sort="" column-field="name" column-iterator="wf_maker_inventory_source" column-no-sort="undefined" column-label="Name" column-custom-class="" query-set="wf_maker_inventory_source_queryset">
                            </th>
{'fraction_non_alphanumeric': 0.14286462424718513, 'fraction_numerical': 0.003142183817753339, 'mean_word_length': 2.8153846153846156, 'pattern_counts': {'":': 0, '<': 217, '<?xml version=': 0, '>': 223, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5400511', 'n_tokens_mistral': 5696, 'n_tokens_neox': 5372, 'n_words': 775}