<commit_before><!DOCTYPE html>
<meta charset="utf-8">
<head>
<?php
	# read basic diagraph from file
	$eg_dot_file = 'compara_plants.dot';
	$myfile = fopen($eg_dot_file, "r") or die("Unable to open $eg_dot_file");
	$eg_digraph = fread($myfile,filesize($eg_dot_file));
	fclose($myfile);
	$eg_digraph = preg_replace('/\s+/', ' ', $eg_digraph);
	$eg_digraph = preg_replace('/\}\s?$/', '', $eg_digraph);

	# load ticket mapping
	$eg_tickets = 'eg_jira_tickets.tsv';
	$ticketfh   = fopen($eg_tickets, "r") or die("Unable to open $eg_tickets");
	// $ticket_str = fread($ticketfh, filesize($eg_tickets));
	$ticket_map = array();
	$ticket_json = '{';
	while(!feof($ticketfh)) {
		$line = fgets($ticketfh);
		$line = preg_replace('/\s+$/', '', $line);
	  $parts = preg_split('/\t+/', $line);
	  // echo fgets($ticketfh) . "<br>";
	  // $ticket_map[$parts[0]] = $parts[1];
	  $node_name = $parts[0];<commit_msg>bugfix: this should be "plants" too<commit_after><!DOCTYPE html>
<meta charset="utf-8">
<head>
<?php
	# read basic diagraph from file
	$eg_dot_file = 'compara_plants.dot';
	$myfile = fopen($eg_dot_file, "r") or die("Unable to open $eg_dot_file");
	$eg_digraph = fread($myfile,filesize($eg_dot_file));
	fclose($myfile);
	$eg_digraph = preg_replace('/\s+/', ' ', $eg_digraph);
	$eg_digraph = preg_replace('/\}\s?$/', '', $eg_digraph);

	# load ticket mapping
	$eg_tickets = 'plants_jira_tickets.tsv';
	$ticketfh   = fopen($eg_tickets, "r") or die("Unable to open $eg_tickets");
	// $ticket_str = fread($ticketfh, filesize($eg_tickets));
	$ticket_map = array();
	$ticket_json = '{';
	while(!feof($ticketfh)) {
		$line = fgets($ticketfh);
		$line = preg_replace('/\s+$/', '', $line);
	  $parts = preg_split('/\t+/', $line);
	  // echo fgets($ticketfh) . "<br>";
	  // $ticket_map[$parts[0]] = $parts[1];
	  $node_name = $parts[0];
{'fraction_non_alphanumeric': 0.223986856516977, 'fraction_numerical': 0.004381161007667032, 'mean_word_length': 5.09, 'pattern_counts': {'":': 0, '<': 13, '<?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': '7575321', 'n_tokens_mistral': 792, 'n_tokens_neox': 731, 'n_words': 134}