<commit_before>import React from 'react'
import api from '../../../../utils/api';

class LessonData extends React.Component {
  constructor(props){
    super(props);
    this.state = {
      lessonId: this.props.params.lessonId,
      lessonName: this.props.location.state.lessonName,
      className: this.props.location.state.className,
      classId: this.props.location.state.classId,
      data: [],
    };
  }

  render(){
    return (<div>
      <h3 className='sectionHeading classList' onClick={this.handleClassClick.bind(this)}>
        {this.state.className}
      </h3>
      <h5 className='sectionHeading classList'>'{this.state.lessonName}'</h5>
      <div className='dataTable'>
        <ThumbsTable data={this.state.data.filter(function(poll){
          return poll.type === 'thumbs';
        })} />
      </div>
      <div className='dataTable'>
        <MCTable data={this.state.data.filter(function(poll) {
          return poll.type === 'multiChoice';
        })} /><commit_msg>Enlargen classname header, complete styling lesson data<commit_after>import React from 'react'
import api from '../../../../utils/api';

class LessonData extends React.Component {
  constructor(props){
    super(props);
    this.state = {
      lessonId: this.props.params.lessonId,
      lessonName: this.props.location.state.lessonName,
      className: this.props.location.state.className,
      classId: this.props.location.state.classId,
      data: [],
    };
  }

  render(){
    return (<div>
      <h2 className='sectionHeading classList' onClick={this.handleClassClick.bind(this)}>
        {this.state.className}
      </h2>
      <h5 className='sectionHeading classList'>'{this.state.lessonName}'</h5>
      <div className='dataTable'>
        <ThumbsTable data={this.state.data.filter(function(poll){
          return poll.type === 'thumbs';
        })} />
      </div>
      <div className='dataTable'>
        <MCTable data={this.state.data.filter(function(poll) {
          return poll.type === 'multiChoice';
        })} />
{'fraction_non_alphanumeric': 0.1556974459724951, 'fraction_numerical': 0.003929273084479371, 'mean_word_length': 2.8361581920903953, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '3403671', 'n_tokens_mistral': 618, 'n_tokens_neox': 613, 'n_words': 108}