<commit_before><div class="form-title">{{t 'dashboard.newReport'}}</div>
<div class="detail-content">
    <label class="form-label">{{t 'dashboard.reportTitle'}}:</label>
    <div class="form-data">{{input value=title}}</div>
    
    <p>
      {{t 'general.all'}}
      <select onchange={{action "changeSubject" value="target.value"}}>
        {{#each subjectList as |option|}}
          <option value={{option.value}} selected={{is-equal option.value currentSubject}}>
            {{option.label}}
          </option>
        {{/each}}
      </select>
    </p>
    <p>
      {{t 'dashboard.associatedWith'}}
      <select onchange={{action "changePrepositionalObject" value="target.value"}}>
        <option value=null selected={{is-equal null currentPrepositionalObject}}>
          {{t 'general.anything'}}
        </option>
        {{#each prepositionalObjectList as |option|}}
          <option value={{option.value}} selected={{is-equal option.value currentPrepositionalObject}}>
            {{option.label}}
          </option>
        {{/each}}
      </select>
    </p>
    {{#liquid-if currentPrepositionalObject class='crossFade'}}
      <p>
        {{t 'dashboard.whichIs'}}
        {{#if (is-equal currentPrepositionalObject 'instructor')}}
          {{#if selectedUser}}
            <ul class='removable-list'>
              <li {{action 'changePrepositionalObjectId' null}}>{{selectedUser.fullName}} {{fa-icon 'remove'}}</li>
            </ul>
          {{else}}
            {{user-search
              addUser='chooseInstructor'
              roles='1'
            }}
          {{/if}}
        {{else if (is-equal currentPrepositionalObject 'mesh term')}}
          {{#if selectedMeshTerm}}
            <ul class='removable-list selected-mesh-terms'>
              <div class="content">
                <span class="descriptor-name">{{selectedMeshTerm.name}}</span>
                <span class="descriptor-id">
                  {{selectedMeshTerm.id}}
                  {{#if selectedMeshTerm.trees}}
                    - {{selectedMeshTerm.trees.lastObject.treeNumber}}
                  {{/if}}
                </span>
              </div>
              {{fa-icon 'remove'}}
            </ul>
          {{else}}
            {{mesh-manager
              add='chooseMeshTerm'
            }}
          {{/if}}
        {{else}}
          {{#liquid-if prepositionalObjectIdList.isFulfilled class='crossFade'}}
            <select onchange={{action "changePrepositionalObjectId" value="target.value"}}><commit_msg>Don't limit report search to instructors<commit_after><div class="form-title">{{t 'dashboard.newReport'}}</div>
<div class="detail-content">
    <label class="form-label">{{t 'dashboard.reportTitle'}}:</label>
    <div class="form-data">{{input value=title}}</div>
    
    <p>
      {{t 'general.all'}}
      <select onchange={{action "changeSubject" value="target.value"}}>
        {{#each subjectList as |option|}}
          <option value={{option.value}} selected={{is-equal option.value currentSubject}}>
            {{option.label}}
          </option>
        {{/each}}
      </select>
    </p>
    <p>
      {{t 'dashboard.associatedWith'}}
      <select onchange={{action "changePrepositionalObject" value="target.value"}}>
        <option value=null selected={{is-equal null currentPrepositionalObject}}>
          {{t 'general.anything'}}
        </option>
        {{#each prepositionalObjectList as |option|}}
          <option value={{option.value}} selected={{is-equal option.value currentPrepositionalObject}}>
            {{option.label}}
          </option>
        {{/each}}
      </select>
    </p>
    {{#liquid-if currentPrepositionalObject class='crossFade'}}
      <p>
        {{t 'dashboard.whichIs'}}
        {{#if (is-equal currentPrepositionalObject 'instructor')}}
          {{#if selectedUser}}
            <ul class='removable-list'>
              <li {{action 'changePrepositionalObjectId' null}}>{{selectedUser.fullName}} {{fa-icon 'remove'}}</li>
            </ul>
          {{else}}
            {{user-search
              addUser='chooseInstructor'
            }}
          {{/if}}
        {{else if (is-equal currentPrepositionalObject 'mesh term')}}
          {{#if selectedMeshTerm}}
            <ul class='removable-list selected-mesh-terms'>
              <div class="content">
                <span class="descriptor-name">{{selectedMeshTerm.name}}</span>
                <span class="descriptor-id">
                  {{selectedMeshTerm.id}}
                  {{#if selectedMeshTerm.trees}}
                    - {{selectedMeshTerm.trees.lastObject.treeNumber}}
                  {{/if}}
                </span>
              </div>
              {{fa-icon 'remove'}}
            </ul>
          {{else}}
            {{mesh-manager
              add='chooseMeshTerm'
            }}
          {{/if}}
        {{else}}
          {{#liquid-if prepositionalObjectIdList.isFulfilled class='crossFade'}}
            <select onchange={{action "changePrepositionalObjectId" value="target.value"}}>
{'fraction_non_alphanumeric': 0.16445937932397708, 'fraction_numerical': 0.000197667523225934, 'mean_word_length': 2.0985915492957745, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, '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': '4879700', 'n_tokens_mistral': 1436, 'n_tokens_neox': 1412, 'n_words': 255}