<commit_before><?php   
// Configuration

require_once "./load_config.inc";
load_config();

include "CondorQ.php";
$condorq_build = &new CondorQ("build");
$condorq_test = &new CondorQ("test");

function make_cell($platform, $depth, $queue, $type) {
  $color = "";
  if($depth == 0) {
    $color = "#00FFFF";
  }
  elseif($depth > 0 and $depth < 3) {
    $color = "#00FF00";
  }
  elseif($depth >= 3 and $depth < 6) {
    $color = "#FFFF00";
  }
  elseif($depth >= 6) {
    $color = "#FF0000";
  }
  
  return "<td align=\"center\" style=\"background-color:$color\">$type $queue</td>\n";
}
?>

<html>
<head>
<title>NMI - Build queue depths for core platforms</title>
<LINK REL="StyleSheet" HREF="condor.css" TYPE="text/css">
</head>
<body>

<?php

echo "<h2>NMI build queue depths:</h2>\n";
echo "<p>This page contains depth information for jobs of type \"build\" only</p>\n";

$roster_file = "/nmi/etc/nmi_platform_list";<commit_msg>Removed an incorrect comment at the top of the generated web page.<commit_after><?php   
// Configuration

require_once "./load_config.inc";
load_config();

include "CondorQ.php";
$condorq_build = &new CondorQ("build");
$condorq_test = &new CondorQ("test");

function make_cell($platform, $depth, $queue, $type) {
  $color = "";
  if($depth == 0) {
    $color = "#00FFFF";
  }
  elseif($depth > 0 and $depth < 3) {
    $color = "#00FF00";
  }
  elseif($depth >= 3 and $depth < 6) {
    $color = "#FFFF00";
  }
  elseif($depth >= 6) {
    $color = "#FF0000";
  }
  
  return "<td align=\"center\" style=\"background-color:$color\">$type $queue</td>\n";
}
?>

<html>
<head>
<title>NMI - Build queue depths for core platforms</title>
<LINK REL="StyleSheet" HREF="condor.css" TYPE="text/css">
</head>
<body>

<?php

echo "<h2>NMI queue depths:</h2>\n";

$roster_file = "/nmi/etc/nmi_platform_list";
{'fraction_non_alphanumeric': 0.20580186097427478, 'fraction_numerical': 0.021893814997263273, 'mean_word_length': 4.021978021978022, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, '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': '4999649', 'n_tokens_mistral': 713, 'n_tokens_neox': 686, 'n_words': 159}