<commit_before><?php
require_once __DIR__ . '/base.php';
require_once __DIR__ . '/css-view.php';
require_once __DIR__ . '/header-section.php';
require_once __DIR__ . '/../../lib/utils.php';

class App extends RawDataContainer implements Component {
  public function render(): Component {
    $data = $this->getData();

    return HtmlElement::create('html', array(
      'lang' => 'en',
      HtmlElement::create('head', array(
        HtmlElement::create('meta', array('charset' => 'utf-8')),
        HtmlElement::create('title', 'Hello, World!!'),
        CssView::fromFile(__DIR__ . '/../../resources/style.css', $data['colors']),
      )),
      HtmlElement::create('body', array(
        new HeaderSection(),
        HtmlElement::create('main'),
        HtmlElement::create('footer'),
      ))
    ));
  }
}
?><commit_msg>Mark theme-name<commit_after><?php
require_once __DIR__ . '/base.php';
require_once __DIR__ . '/css-view.php';
require_once __DIR__ . '/header-section.php';
require_once __DIR__ . '/../../lib/utils.php';

class App extends RawDataContainer implements Component {
  public function render(): Component {
    $data = $this->getData();

    return HtmlElement::create('html', array(
      'lang' => 'en',
      'dataset' => array(
        'theme-name' => $data['theme-name'],
      ),
      'classes' => array(
        "theme-{$data['theme-name']}",
      ),

      HtmlElement::create('head', array(
        HtmlElement::create('meta', array('charset' => 'utf-8')),
        HtmlElement::create('title', 'Hello, World!!'),
        CssView::fromFile(__DIR__ . '/../../resources/style.css', $data['colors']),
      )),
      HtmlElement::create('body', array(
        new HeaderSection(),
        HtmlElement::create('main'),
        HtmlElement::create('footer'),
      ))
    ));
  }
}
?>
{'fraction_non_alphanumeric': 0.19911748483177055, 'fraction_numerical': 0.0011031439602868175, 'mean_word_length': 3.1040723981900453, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 14, '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': '4710638', 'n_tokens_mistral': 557, 'n_tokens_neox': 543, 'n_words': 102}