<commit_before><script type="text/javascript"><!--
'use strict';
$(() => {

  const setupHelpIconHoverTip = () => {
    let tip = '';
    tip += 'when moving to a new avatar:<br/>';
    tip += '&bull;if diff is checked, you move to its <em>first</em> traffic-light.<br/>';
    tip += '&bull;if diff is unchecked, you move to its <em>last</em> traffic-light.<br/>';
    tip += '';
    tip += '<hr/>';
    tip += '<span class="diff-line-count-icon deleted">-</span> ';
    tip += '<span class="diff-line-count-icon added">+</span> ';
    tip += '<span class="diff-line-count-icon same">=</span> number of deleted,added,unchanged lines.<br/>';
    tip += '<hr/>';
    tip += 'click a filename to review it.<br/>';
    tip += 'reclick the filename to cycle through its diff-chunks.<br/>';
    tip += '<hr/>';
    tip += '<table>';
    tip += tr3('changed', 'hover over <span class="diff-type-marker changed"></span> for diff-chunk count');
    tip += tr3('renamed', 'hover over <span class="diff-type-marker renamed"></span> for old filename');
    tip += tr3('created', '');
    tip += tr3('deleted', '');
    tip += tr3('unchanged', '');
    tip += '</table>';
    cd.createTip($('.diff-help-icon'), tip);
  };

  const tr3 = (type, info) => {
    return `<tr><td><span class="diff-type-marker ${type}"></span></td>` +
               `<td><span class="diff-filename ${type}">${type}-file</span></td>` +
               `<td>${info}</td>`;
  };

  setupHelpIconHoverTip();

});
//--></script>

<div class="diff-help-icon">?</div>
<commit_msg>Refactoring; tweak review help text wording.<commit_after><script type="text/javascript"><!--
'use strict';
$(() => {

  const setupHelpIconHoverTip = () => {
    let tip = '';
    tip += 'when moving to a new avatar:<br/>';
    tip += '&bull;if diff is checked, you move to the <em>first</em> traffic-light.<br/>';
    tip += '&bull;if diff is unchecked, you move to the <em>last</em> traffic-light.<br/>';
    tip += '';
    tip += '<hr/>';
    tip += '<span class="diff-line-count-icon deleted">-</span> ';
    tip += '<span class="diff-line-count-icon added">+</span> ';
    tip += '<span class="diff-line-count-icon same">=</span> number of deleted,added,unchanged lines.<br/>';
    tip += '<hr/>';
    tip += 'click a filename to review it.<br/>';
    tip += 'reclick the filename to cycle through its diff-chunks.<br/>';
    tip += '<hr/>';
    tip += '<table>';
    tip += tr3('changed', 'hover over <span class="diff-type-marker changed"></span> for diff-chunk count');
    tip += tr3('renamed', 'hover over <span class="diff-type-marker renamed"></span> for old filename');
    tip += tr3('created', '');
    tip += tr3('deleted', '');
    tip += tr3('unchanged', '');
    tip += '</table>';
    cd.createTip($('.diff-help-icon'), tip);
  };

  const tr3 = (type, info) => {
    return `<tr><td><span class="diff-type-marker ${type}"></span></td>` +
               `<td><span class="diff-filename ${type}">${type}-file</span></td>` +
               `<td>${info}</td>`;
  };

  setupHelpIconHoverTip();

});
//--></script>

<div class="diff-help-icon">?</div>

{'fraction_non_alphanumeric': 0.24267782426778242, 'fraction_numerical': 0.0038622465400708077, 'mean_word_length': 3.2401091405184173, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 91, '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': '5307494', 'n_tokens_mistral': 1053, 'n_tokens_neox': 1034, 'n_words': 253}