<commit_before>import React from 'react'
import AppBar from 'material-ui/AppBar'
import Paper from 'material-ui/Paper'
import Toggle from 'material-ui/Toggle'
import MuiWrapper from './MuiWrapper.jsx'
import RandomNumberForm from './RandomNumberForm.jsx'
import ClockForm from './ClockForm.jsx'
import Footer from './Footer.jsx'

export default class App extends React.Component {
  constructor (props) {
    super(props)

    const {
      init,
      darkTheme = false
    } = props

    this.state = {init, darkTheme}
  }

  render () {
    const {init, darkTheme} = this.state

    return <MuiWrapper darkTheme={darkTheme}><Paper>
      <header>
        <AppBar title='Hello, World!!' showMenuIconButton={false} />
      </header>
      <main>
        <RandomNumberForm init={init} />
        <ClockForm />
        <Paper zDepth={0}>
          <Toggle
            label='Dark Theme'
            toggled={darkTheme}
            onToggle={(_, darkTheme) => this.setState({darkTheme})}
          /><commit_msg>100% sized top paper<commit_after>import React from 'react'
import AppBar from 'material-ui/AppBar'
import Paper from 'material-ui/Paper'
import Toggle from 'material-ui/Toggle'
import MuiWrapper from './MuiWrapper.jsx'
import RandomNumberForm from './RandomNumberForm.jsx'
import ClockForm from './ClockForm.jsx'
import Footer from './Footer.jsx'

export const TOP_PAPER_STYLE = {
  height: '100%',
  padding: 0,
  border: 0,
  margin: 0
}

export default class App extends React.Component {
  constructor (props) {
    super(props)

    const {
      init,
      darkTheme = false
    } = props

    this.state = {init, darkTheme}
  }

  render () {
    const {init, darkTheme} = this.state

    return <MuiWrapper darkTheme={darkTheme}><Paper style={TOP_PAPER_STYLE}>
      <header>
        <AppBar title='Hello, World!!' showMenuIconButton={false} />
      </header>
      <main>
        <RandomNumberForm init={init} />
        <ClockForm />
        <Paper zDepth={0}>
          <Toggle
            label='Dark Theme'
            toggled={darkTheme}
            onToggle={(_, darkTheme) => this.setState({darkTheme})}
          />
{'fraction_non_alphanumeric': 0.1244175209692451, 'fraction_numerical': 0.005125815470643057, 'mean_word_length': 2.7666666666666666, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 25, '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': '1840591', 'n_tokens_mistral': 673, 'n_tokens_neox': 649, 'n_words': 167}