<commit_before>import * as React from 'react'
import moment from 'moment'

import { DropdownInput, DataTable } from 'quill-component-library/dist/componentLibrary'

import EditStudentAccountModal from './edit_student_account_modal'
import ResetStudentPasswordModal from './reset_student_password_modal'
import MergeStudentAccountsModal from './merge_student_accounts_modal'

const emptyDeskSrc = `${process.env.CDN_URL}/images/illustrations/empty-desks.svg`

interface ClassroomStudentSectionProps {
  user: any;
  classroom: any;
  onSuccess: (event) => void;
  inviteStudents: (event) => void;
}

interface ClassroomStudentSectionState {
  selectedStudentIds: Array<string|number>;
  studentIdsForModal: Array<string|number>;
  showEditStudentAccountModal: boolean;
  showResetStudentPasswordModal: boolean;
  showMergeStudentAccountsModal: boolean;
}

export default class ClassroomStudentSection extends React.Component<ClassroomStudentSectionProps, ClassroomStudentSectionState> {
  constructor(props) {
    super(props)

    this.state = {
      selectedStudentIds: [],
      studentIdsForModal: [],
      showEditStudentAccountModal: false,
      showResetStudentPasswordModal: false,
      showMergeStudentAccountsModal: false<commit_msg>add headers constant for classroom student section<commit_after>import * as React from 'react'
import moment from 'moment'

import { DropdownInput, DataTable } from 'quill-component-library/dist/componentLibrary'

import EditStudentAccountModal from './edit_student_account_modal'
import ResetStudentPasswordModal from './reset_student_password_modal'
import MergeStudentAccountsModal from './merge_student_accounts_modal'

const emptyDeskSrc = `${process.env.CDN_URL}/images/illustrations/empty-desks.svg`

const headers = [
  {
    width: '190px',
    name: 'Name',
    attribute: 'name'
  }, {
    width: '362px',
    name: 'Username',
    attribute: 'username'
  }, {
    width: '124px',
    name: 'Synced',
    attribute: 'synced'
  }
]

interface ClassroomStudentSectionProps {
  user: any;
  classroom: any;
  onSuccess: (event) => void;
  inviteStudents: (event) => void;
}

interface ClassroomStudentSectionState {
  selectedStudentIds: Array<string|number>;
  studentIdsForModal: Array<string|number>;
  showEditStudentAccountModal: boolean;
  showResetStudentPasswordModal: boolean;
  showMergeStudentAccountsModal: boolean;
}

export default class ClassroomStudentSection extends React.Component<ClassroomStudentSectionProps, ClassroomStudentSectionState> {
  constructor(props) {
    super(props)

    this.state = {
      selectedStudentIds: [],
      studentIdsForModal: [],
      showEditStudentAccountModal: false,
      showResetStudentPasswordModal: false,
      showMergeStudentAccountsModal: false
{'fraction_non_alphanumeric': 0.09117221418234443, 'fraction_numerical': 0.003256150506512301, 'mean_word_length': 5.567695961995249, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, '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': '2659102', 'n_tokens_mistral': 778, 'n_tokens_neox': 772, 'n_words': 167}