<commit_before><?php
include 'database_init.php';

function makeDirIfNeeded($path) {
  if (!file_exists($path)) {
    mkdir($path, 0777, true);
  }
}

if (!isset($_GET['org'])) {
	exit ('No org id');
}

$org_id = $_GET['org'];
$width = 100;
//Default value
if (isset($_GET['width'])) {
  $width = intval($_GET['width']);<commit_msg>Removed trailing newline.<commit_after><?php
include 'database_init.php';

function makeDirIfNeeded($path) {
  if (!file_exists($path)) {
    mkdir($path, 0777, true);
  }
}

if (!isset($_GET['org'])) {
	exit ('No org id');
}

$org_id = $_GET['org'];
$width = 100;
//Default value
if (isset($_GET['width'])) {
  $width = intval($_GET['width']);
{'fraction_non_alphanumeric': 0.23224852071005916, 'fraction_numerical': 0.020710059171597635, 'mean_word_length': 5.268518518518518, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '1303787', 'n_tokens_mistral': 263, 'n_tokens_neox': 250, 'n_words': 53}