<commit_before>#!/usr/bin/env node
'use strict';

var command = process.argv[2];

switch (command) {
  case 'translate':
    var version = process.argv[3];
    require('./translate').translate(version);
    break;

  case 'readme':
    require('./update_readme').update();
    break;

  case 'check':
    var maxVersions = require('./check_update').check();
    for (var ver in maxVersions) {
      console.log('Patch for v' + max + ' should be created.');
    }
    break;

  case 'update':
    require('./check_update').update();
    break;

  default:
    console.log('Unknown command ' + command);
    process.exit(1);
    break;
}<commit_msg>バージョンチェックスクリプトの不備を修正<commit_after>#!/usr/bin/env node
'use strict';

var command = process.argv[2];

switch (command) {
  case 'translate':
    var version = process.argv[3];
    require('./translate').translate(version);
    break;

  case 'readme':
    require('./update_readme').update();
    break;

  case 'check':
    var maxVersions = require('./check_update').check();
    maxVersions.forEach(function(e) {
      console.log('Patch for v' + e + ' should be created.');
    });
    break;

  case 'update':
    require('./check_update').update();
    break;

  default:
    console.log('Unknown command ' + command);
    process.exit(1);
    break;
}
{'fraction_non_alphanumeric': 0.17177914110429449, 'fraction_numerical': 0.004601226993865031, 'mean_word_length': 3.156050955414013, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3157251', 'n_tokens_mistral': 431, 'n_tokens_neox': 422, 'n_words': 92}