<commit_before>import React from 'react';

import Appbar from 'muicss/lib/react/appbar';
import Button from 'muicss/lib/react/button';
import Container from 'muicss/lib/react/container';
import Divider from 'muicss/lib/react/divider';
import Row from 'muicss/lib/react/row';
import Col from 'muicss/lib/react/col';
import { Link } from 'react-router';
import styles from '../styles.css';
import programImg from '../images/03_Program2_03.png';
import schedule from '../images/schedule.docx';
import programData from '../data/programdata';
import { toAbsPath } from '../utils'

export default class Schedule extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
      tab: 1
    };
  }

  tabClick = (tab) => {
    this.setState({ tab });
  }

  render() {
    const langPath = this.props.lang;
    const lang = langPath || "en";
    const { tab } = this.state;
    const viewPortWidth = window.innerWidth;
    const isMobile = viewPortWidth < 600;

    const getDate = (dateString) => dateString.split('T')[0].split('-')[2];
    const trimStringForMobile = (string, trimLength) => (isMobile && string.length > trimLength) ? string.substr(0, trimLength) + '...' : string;
<commit_msg>fix program data<commit_after>import React from 'react';

import Appbar from 'muicss/lib/react/appbar';
import Button from 'muicss/lib/react/button';
import Container from 'muicss/lib/react/container';
import Divider from 'muicss/lib/react/divider';
import Row from 'muicss/lib/react/row';
import Col from 'muicss/lib/react/col';
import { Link } from 'react-router';
import styles from '../styles.css';
import programImg from '../images/03_Program2_03.png';
import schedule from '../images/schedule.docx';
import programData from '../data/programdata';
import { toAbsPath } from '../utils'

export default class Schedule extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
      tab: 1
    };
  }

  tabClick = (tab) => {
    this.setState({ tab });
  }

  render() {
    const langPath = this.props.lang;
    const lang = langPath || "en";
    const { tab } = this.state;
    const viewPortWidth = window.innerWidth;
    const isMobile = viewPortWidth < 600;

    const getDate = (dateString) => dateString ? dateString.split('T')[0].split('-')[2] : '';
    const trimStringForMobile = (string, trimLength) => (isMobile && string.length > trimLength) ? string.substr(0, trimLength) + '...' : string;

{'fraction_non_alphanumeric': 0.15108207431604737, 'fraction_numerical': 0.009799918334013884, 'mean_word_length': 3.7572815533980584, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '4792219', 'n_tokens_mistral': 780, 'n_tokens_neox': 763, 'n_words': 201}