<commit_before><!doctype html>
<html>

<head>
  <meta charset="UTF-8">
  <title>JASP Nightlies</title>
  <link rel="stylesheet" href=".style.css">
</head>

<body>

<div id="bovenkant" class="container">
  <div id="titel" >
  <img id="logo"  src="http://jasp-stats.org/wp-content/themes/jasp/images/logo.svg"></img>
    <h1>Nightly builds</h1>
  </div>
  <img id="blauw" src="http://jasp-stats.org/wp-content/themes/jasp/images/wave-down-blue.svg"></img>   
</div>

<div id="disclaimer">
  <p><i>These installers are generated automatically each night and contain development code; this means that they might not be stable.</i></p>
  <p><b>Use at your own risk!</b></p>
  <p><i>
    If you happen to find a bug in a nightly then it can't hurt to issue a bug report at our issue-tracker, 
    but please be sure to mention that you used a nightly and indicate its commit. 
    The commit can be found in the about window under "Sources".
  </i></p>
</div>


<div id="tafels" class="container">
<div id="tablegrouper">
      <?php

        function convertToArray($inputDirName)
        {
          $inputDir=openDir($inputDirName);

          while(false !== ($entryName = readdir($inputDir))) 
          {
            if($entryName !== "." && $entryName !== "..")
              $fileNameArray[filemtime("$inputDirName/$entryName")]=$entryName; 
              //$fileNameArray[]=$entryName; 
          };
          //

          closedir($inputDir);

          ksort($fileNameArray);

          foreach($fileNameArray as $modTime => $fileName)
            $indexableFileNames[]=$fileName;
          

          return array_reverse($indexableFileNames);

          //return $fileNameArray;
        }

        function createTable($name, $inputDirName)
        {
          print("
    <table class=\"tafel\">
      <thead>
      <tr>
          <th colspan=\"5\"><h2>$name</h2></th>
        </tr>

        <tr>
          <th>File</th>
          <th>Branch</th>
          <th>Size <small>MB</small></th>
          <th>Uploaded</th>
          <th>Source</th>
        </tr>
      </thead>
      <tbody>");

          // Opens directory
          

          $inputArray   = convertToArray($inputDirName);
          $indexCount   = count($inputArray);

          for($index=0; $index < $indexCount; $index++) 
          {
            $inputName="";
            $inputSize="";
            $inputTime="";
            $inputPath="";
            $inputCommit="";
            $inputBranch="?";

            date_default_timezone_set('Europe/Amsterdam');
            setlocale(LC_TIME, 'nl_NL');
            $formatTime="%H:%M %d-%m-%G";

            $inputName = $inputArray[$index];
            $inputPath = "$inputDirName/$inputName";
            $inputSize = number_format(filesize($inputPath) / 1000000);
            $inputTime = strftime($formatTime, filemtime($inputPath));
            $inputSplit = explode("-", $inputName);
            
            if(count($inputSplit) >= 4 && $inputSplit[0] === "JASP")
            {
              $inputType       = $inputSplit[1];
              $inputBranch     = $inputSplit[2];

              #If somebody puts a - in the branchname...
              for($i=3; $i < count($inputSplit) - 1; $i++)
                $inputBranch = $inputBranch . "-" . $inputSplit[$i];

              $inputEnding     = explode(".", $inputSplit[count($inputSplit) - 1]);
              $inputCommitPart = $inputEnding[0];
              $inputCommit     = "<a href='https://github.com/jasp-stats/jasp-desktop/commit/$inputCommitPart'>GitHub</a>";
              $inputExt        = $inputEnding[1];
              $inputName       = "JASP $inputExt";
            }
            
            print("
            <tr>

            <td><a href='$inputPath'>$inputName</a></td>
            <td>$inputBranch</td>
            <td>$inputSize</td>
            <td>$inputTime</td>
            <td>$inputCommit</td>

            </tr>");
          }

          print("</tbody></table>");
        }

        createTable("MacOS", "./MacOS");

        createTable("Windows ZIP 64bit", "./WindowsZip");
        createTable("Windows ZIP 32bit", "./Windows32Zip");

        createTable("Windows MSI 64bit", "./Windows");
        createTable("Windows MSI 32bit", "./Windows32");       
        
      ?>
      

	<div id="onderkant"></div>

      </div></div>
  <img id="groen" src="http://jasp-stats.org/wp-content/themes/jasp/images/wave-up-green.svg"></img>

</body>

</html><commit_msg>Windows 32 bit should be last<commit_after><!doctype html>
<html>

<head>
  <meta charset="UTF-8">
  <title>JASP Nightlies</title>
  <link rel="stylesheet" href=".style.css">
</head>

<body>

<div id="bovenkant" class="container">
  <div id="titel" >
  <img id="logo"  src="http://jasp-stats.org/wp-content/themes/jasp/images/logo.svg"></img>
    <h1>Nightly builds</h1>
  </div>
  <img id="blauw" src="http://jasp-stats.org/wp-content/themes/jasp/images/wave-down-blue.svg"></img>   
</div>

<div id="disclaimer">
  <p><i>These installers are generated automatically each night and contain development code; this means that they might not be stable.</i></p>
  <p><b>Use at your own risk!</b></p>
  <p><i>
    If you happen to find a bug in a nightly then it can't hurt to issue a bug report at our issue-tracker, 
    but please be sure to mention that you used a nightly and indicate its commit. 
    The commit can be found in the about window under "Sources".
  </i></p>
</div>


<div id="tafels" class="container">
<div id="tablegrouper">
      <?php

        function convertToArray($inputDirName)
        {
          $inputDir=openDir($inputDirName);

          while(false !== ($entryName = readdir($inputDir))) 
          {
            if($entryName !== "." && $entryName !== "..")
              $fileNameArray[filemtime("$inputDirName/$entryName")]=$entryName; 
              //$fileNameArray[]=$entryName; 
          };
          //

          closedir($inputDir);

          ksort($fileNameArray);

          foreach($fileNameArray as $modTime => $fileName)
            $indexableFileNames[]=$fileName;
          

          return array_reverse($indexableFileNames);

          //return $fileNameArray;
        }

        function createTable($name, $inputDirName)
        {
          print("
    <table class=\"tafel\">
      <thead>
      <tr>
          <th colspan=\"5\"><h2>$name</h2></th>
        </tr>

        <tr>
          <th>File</th>
          <th>Branch</th>
          <th>Size <small>MB</small></th>
          <th>Uploaded</th>
          <th>Source</th>
        </tr>
      </thead>
      <tbody>");

          // Opens directory
          

          $inputArray   = convertToArray($inputDirName);
          $indexCount   = count($inputArray);

          for($index=0; $index < $indexCount; $index++) 
          {
            $inputName="";
            $inputSize="";
            $inputTime="";
            $inputPath="";
            $inputCommit="";
            $inputBranch="?";

            date_default_timezone_set('Europe/Amsterdam');
            setlocale(LC_TIME, 'nl_NL');
            $formatTime="%H:%M %d-%m-%G";

            $inputName = $inputArray[$index];
            $inputPath = "$inputDirName/$inputName";
            $inputSize = number_format(filesize($inputPath) / 1000000);
            $inputTime = strftime($formatTime, filemtime($inputPath));
            $inputSplit = explode("-", $inputName);
            
            if(count($inputSplit) >= 4 && $inputSplit[0] === "JASP")
            {
              $inputType       = $inputSplit[1];
              $inputBranch     = $inputSplit[2];

              #If somebody puts a - in the branchname...
              for($i=3; $i < count($inputSplit) - 1; $i++)
                $inputBranch = $inputBranch . "-" . $inputSplit[$i];

              $inputEnding     = explode(".", $inputSplit[count($inputSplit) - 1]);
              $inputCommitPart = $inputEnding[0];
              $inputCommit     = "<a href='https://github.com/jasp-stats/jasp-desktop/commit/$inputCommitPart'>GitHub</a>";
              $inputExt        = $inputEnding[1];
              $inputName       = "JASP $inputExt";
            }
            
            print("
            <tr>

            <td><a href='$inputPath'>$inputName</a></td>
            <td>$inputBranch</td>
            <td>$inputSize</td>
            <td>$inputTime</td>
            <td>$inputCommit</td>

            </tr>");
          }

          print("</tbody></table>");
        }

        createTable("MacOS", "./MacOS");

        createTable("Windows ZIP 64bit", "./WindowsZip");
        createTable("Windows MSI 64bit", "./Windows");

	createTable("Windows ZIP 32bit", "./Windows32Zip");
        createTable("Windows MSI 32bit", "./Windows32");       
        
      ?>
      

	<div id="onderkant"></div>

      </div></div>
  <img id="groen" src="http://jasp-stats.org/wp-content/themes/jasp/images/wave-up-green.svg"></img>

</body>

</html>
{'fraction_non_alphanumeric': 0.1688036570409187, 'fraction_numerical': 0.008027650797190321, 'mean_word_length': 1.9419481797310594, 'pattern_counts': {'":': 0, '<': 179, '<?xml version=': 0, '>': 179, 'https://': 2, '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': '2108043', 'n_tokens_mistral': 2859, 'n_tokens_neox': 2740, 'n_words': 524}