<commit_before><?php
require("login/login.php");
include 'monitor.inc';
include_once 'graph_functions.inc';
include_once 'firephp/0.3.2/fb.php';

$userId = getCurrentUserId();
date_default_timezone_set($_SESSION['ls_timezone']);

// Set action
if (isset($_REQUEST['act'])){
  $action = $_REQUEST['act'];
} else {
  $action = 'default';
}
$smarty->assign('action',$action );
// Default chart time
$smarty->assign('chartType', 'Line');

if (isset($_GET['aggregateMethod'])) {
	$_SESSION['aggregateMethod'] = $_GET['aggregateMethod'];
} elseif(!isset($_SESSION['aggregateMethod'])) {
	$_SESSION['aggregateMethod'] = "50th";
}

$smarty->assign('aggregateMethod', $_SESSION['aggregateMethod']);
// Show only active jobs
// Show inactive jobs
  if ( isset($_REQUEST['showInactiveJobsGraph']) ) {
    if ( $_REQUEST['showInactiveJobsGraph'] == 1 || $_REQUEST['showInactiveJobsGraph'] == "true"){
      $_SESSION['showInactiveJobsGraph'] = true;
    } else {
      $_SESSION['showInactiveJobsGraph'] = false;
    }
   } else if ( !isset($_SESSION['showInactiveJobsGraph'] ) ){
    $_SESSION['showInactiveJobsGraph'] = true;
  }
  $showInactiveJobs = $_SESSION['showInactiveJobsGraph'];
  $smarty->assign('showInactiveJobsGraph', $showInactiveJobs);
// Folder handling
if (isset($_REQUEST['folderId'])) {
  $_SESSION['jobsFolderId'] = $_REQUEST['folderId'];<commit_msg>"Show Inactive Jobs" not checked by default<commit_after><?php
require("login/login.php");
include 'monitor.inc';
include_once 'graph_functions.inc';
include_once 'firephp/0.3.2/fb.php';

$userId = getCurrentUserId();
date_default_timezone_set($_SESSION['ls_timezone']);

// Set action
if (isset($_REQUEST['act'])){
  $action = $_REQUEST['act'];
} else {
  $action = 'default';
}
$smarty->assign('action',$action );
// Default chart time
$smarty->assign('chartType', 'Line');

if (isset($_GET['aggregateMethod'])) {
	$_SESSION['aggregateMethod'] = $_GET['aggregateMethod'];
} elseif(!isset($_SESSION['aggregateMethod'])) {
	$_SESSION['aggregateMethod'] = "50th";
}

$smarty->assign('aggregateMethod', $_SESSION['aggregateMethod']);
// Show only active jobs
// Show inactive jobs
  if ( isset($_REQUEST['showInactiveJobsGraph']) ) {
    if ( $_REQUEST['showInactiveJobsGraph'] == 1 || $_REQUEST['showInactiveJobsGraph'] == "true"){
      $_SESSION['showInactiveJobsGraph'] = true;
    } else {
      $_SESSION['showInactiveJobsGraph'] = false;
    }
   } else if ( !isset($_SESSION['showInactiveJobsGraph'] ) ){
    $_SESSION['showInactiveJobsGraph'] = false;
  }
  $showInactiveJobs = $_SESSION['showInactiveJobsGraph'];
  $smarty->assign('showInactiveJobsGraph', $showInactiveJobs);
// Folder handling
if (isset($_REQUEST['folderId'])) {
  $_SESSION['jobsFolderId'] = $_REQUEST['folderId'];
{'fraction_non_alphanumeric': 0.1926572155579789, 'fraction_numerical': 0.004362050163576881, 'mean_word_length': 6.457994579945799, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2703731', 'n_tokens_mistral': 904, 'n_tokens_neox': 888, 'n_words': 143}