<commit_before>import React from 'react';
import { connect } from 'react-redux';
import {
  CarouselAnimation,
  hashToCollection,
  SmartSpinner,
  PlayTitleCard,
  DiagnosticProgressBar
} from 'quill-component-library/dist/componentLibrary';
import {
  clearData,
  loadData,
  nextQuestion,
  nextQuestionWithoutSaving,
  submitResponse,
  updateName,
  updateCurrentQuestion,
  resumePreviousDiagnosticSession,
  updateLanguage
} from '../../actions/diagnostics.js';
import _ from 'underscore';
import SessionActions from '../../actions/sessions.js';
import PlaySentenceFragment from './sentenceFragment.jsx';
import PlayDiagnosticQuestion from './sentenceCombining.jsx';
import PlayFillInTheBlankQuestion from '../fillInBlank/playFillInTheBlankQuestion'
import LandingPage from './landing.jsx';
import LanguagePage from './languagePage.jsx';
import FinishedDiagnostic from './finishedDiagnostic.jsx';
import { getConceptResultsForAllQuestions } from '../../libs/conceptResults/diagnostic';
import { getParameterByName } from '../../libs/getParameterByName';

const request = require('request');

const StudentDiagnostic = React.createClass({

  getInitialState() {
    return {
      saved: false,
      sessionID: this.getSessionId(),
      hasOrIsGettingResponses: false,
    };
  },

  componentWillMount() {
    this.props.dispatch(clearData());
    if (this.state.sessionID) {<commit_msg>fix ell diagnostic so we still get the translated instructions<commit_after>import React from 'react';
import { connect } from 'react-redux';
import {
  CarouselAnimation,
  hashToCollection,
  SmartSpinner,
  DiagnosticProgressBar
} from 'quill-component-library/dist/componentLibrary';
import {
  clearData,
  loadData,
  nextQuestion,
  nextQuestionWithoutSaving,
  submitResponse,
  updateName,
  updateCurrentQuestion,
  resumePreviousDiagnosticSession,
  updateLanguage
} from '../../actions/diagnostics.js';
import _ from 'underscore';
import SessionActions from '../../actions/sessions.js';
import PlaySentenceFragment from './sentenceFragment.jsx';
import PlayDiagnosticQuestion from './sentenceCombining.jsx';
import PlayFillInTheBlankQuestion from '../fillInBlank/playFillInTheBlankQuestion'
import LandingPage from './landing.jsx';
import LanguagePage from './languagePage.jsx';
import PlayTitleCard from './titleCard.tsx'
import FinishedDiagnostic from './finishedDiagnostic.jsx';
import { getConceptResultsForAllQuestions } from '../../libs/conceptResults/diagnostic';
import { getParameterByName } from '../../libs/getParameterByName';

const request = require('request');

const StudentDiagnostic = React.createClass({

  getInitialState() {
    return {
      saved: false,
      sessionID: this.getSessionId(),
      hasOrIsGettingResponses: false,
    };
  },

  componentWillMount() {
    this.props.dispatch(clearData());
    if (this.state.sessionID) {
{'fraction_non_alphanumeric': 0.1149025069637883, 'fraction_numerical': 0.0, 'mean_word_length': 4.911522633744856, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '141762', 'n_tokens_mistral': 811, 'n_tokens_neox': 804, 'n_words': 182}