<commit_before><?php 
    header("Content-Type: application/download");
    header("Content-Disposition: attachment; filename=\"" . $this->filename . "\"");
    header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");    // Date in the past
    header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
    header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
    header("Pragma: cache");                          // HTTP/1.0
?>
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=UTF-8">
<meta name=ProgId content=Excel.Sheet>
<meta name=Generator content="Microsoft Excel 11">
<style>
    /* Default styles for tables */

    table {
        border-collapse: collapse;
        border: .5pt solid #000000;
    }

    tr th {
        font-weight: bold;
        padding: 3px 8px;
        border: .5pt solid #000000;
        background: #c0c0c0	
    }
    tr td {
        padding: 3px 8px;
        border: .5pt solid #000000;
    }
    td {mso-number-format:"\@";}
</style>
</head>
<body>
<?php echo $this->layout()->content; ?>
</body>
</html><commit_msg>Allow excel to determine number/date etc. itself but do tell the decimal separator used, also added two classes (not used yet) to force numeric or text on a cell<commit_after><?php 
    header("Content-Type: application/download");
    header("Content-Disposition: attachment; filename=\"" . $this->filename . "\"");
    header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");    // Date in the past
    header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
    header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
    header("Pragma: cache");                          // HTTP/1.0
?>
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=UTF-8">
<meta name=ProgId content=Excel.Sheet>
<meta name=Generator content="Microsoft Excel 11">
<style>
    /* Default styles for tables */

    table {
        border-collapse: collapse;
        border: .5pt solid #000000;
        mso-displayed-decimal-separator:"\.";
		mso-displayed-thousand-separator:" ";
    }

    tr th {
        font-weight: bold;
        padding: 3px 8px;
        border: .5pt solid #000000;
        background: #c0c0c0	
    }
    tr td {
        padding: 3px 8px;
        border: .5pt solid #000000;
    }
    /*td {mso-number-format:General;}*/
    .num {
        mso-number-format:General;
      }
    .text{
      mso-number-format:"\@";/*force text*/
    }
</style>
</head>
<body>
<?php echo $this->layout()->content; ?>
</body>
</html>
{'fraction_non_alphanumeric': 0.16903914590747332, 'fraction_numerical': 0.03558718861209965, 'mean_word_length': 2.829700272479564, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7630194', 'n_tokens_mistral': 1031, 'n_tokens_neox': 923, 'n_words': 220}