<commit_before><div class='session-header'>
  <span class='title'>
    {{#if editable}}
      {{#editable-field
        value=title
        save=(action 'changeTitle')
        close=(action 'revertTitleChanges')
      as |isSaving save close|
      }}
        {{one-way-input
          value=title
          update=(action (mut title))
          onenter=save
          onescape=close
          disabled=isSaving
          focusOut=(action 'addErrorDisplayFor' 'title')
        }}
        {{#if (and (v-get this 'title' 'isInvalid') (is-in showErrorsFor 'title'))}}
          <span class="validation-error-message">{{v-get this 'title' 'message'}}</span>
        {{/if}}
      {{/editable-field}}
    {{else}}
      <h2>{{session.title}}</h2>
    {{/if}}
  </span>
  <span class ='session-publication'>
    {{#if editable}}

      {{publish-menu
        title=menuTitle
        icon=menuIcon
        publicationStatus=publicationStatus
        showAsIs=showAsIs
        showPublish=showPublish
        showReview=showReview
        showTbd=showTbd
        showUnPublish=showUnPublish
        reviewRoute='session.publicationCheck'
        reviewObject=session
        publishTranslation='general.publishSession'
        unPublishTranslation='general.unPublishSession'
        publish=(action 'publish')
        publishAsTbd=(action 'publishAsTbd')
        unpublish=(action 'unpublish')
      }}
    {{else}}
      {{publication-status item=session}}
    {{/if}}
  </span>
</div>

<section class='session-overview'>
  <div class='title'>
    {{t 'general.overview'}}
  </div>
  <div class='session-overview-actions'>
    {{#if (and (is-fulfilled showCopy) (await showCopy))}}
      {{#link-to 'session.copy' session class='copy'}}
        {{fa-icon 'copy' title=(t 'general.copySession') fixedWidth=true}}
      {{/link-to}}
    {{/if}}<commit_msg>Send course and session to session publication menu<commit_after><div class='session-header'>
  <span class='title'>
    {{#if editable}}
      {{#editable-field
        value=title
        save=(action 'changeTitle')
        close=(action 'revertTitleChanges')
      as |isSaving save close|
      }}
        {{one-way-input
          value=title
          update=(action (mut title))
          onenter=save
          onescape=close
          disabled=isSaving
          focusOut=(action 'addErrorDisplayFor' 'title')
        }}
        {{#if (and (v-get this 'title' 'isInvalid') (is-in showErrorsFor 'title'))}}
          <span class="validation-error-message">{{v-get this 'title' 'message'}}</span>
        {{/if}}
      {{/editable-field}}
    {{else}}
      <h2>{{session.title}}</h2>
    {{/if}}
  </span>
  <span class ='session-publication'>
    {{#if editable}}

      {{publish-menu
        title=menuTitle
        icon=menuIcon
        publicationStatus=publicationStatus
        showAsIs=showAsIs
        showPublish=showPublish
        showReview=showReview
        showTbd=showTbd
        showUnPublish=showUnPublish
        reviewRoute='session.publicationCheck'
        reviewObject=(await session.course)
        secondReviewObject=session
        publishTranslation='general.publishSession'
        unPublishTranslation='general.unPublishSession'
        publish=(action 'publish')
        publishAsTbd=(action 'publishAsTbd')
        unpublish=(action 'unpublish')
      }}
    {{else}}
      {{publication-status item=session}}
    {{/if}}
  </span>
</div>

<section class='session-overview'>
  <div class='title'>
    {{t 'general.overview'}}
  </div>
  <div class='session-overview-actions'>
    {{#if (and (is-fulfilled showCopy) (await showCopy))}}
      {{#link-to 'session.copy' session class='copy'}}
        {{fa-icon 'copy' title=(t 'general.copySession') fixedWidth=true}}
      {{/link-to}}
    {{/if}}
{'fraction_non_alphanumeric': 0.1496562665256478, 'fraction_numerical': 0.0010576414595452142, 'mean_word_length': 2.6410009624639077, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '3008269', 'n_tokens_mistral': 1145, 'n_tokens_neox': 1135, 'n_words': 214}