<commit_before>'use strict';

function load_level(id){
    // Create base hexagons.
    var loop_counter = settings_settings['hexagons'] - 1;
    do{
        create_hexagon(
          select_hexagon(
            random_integer({
              'max': settings_settings['width'],
            }) - settings_settings['width'] / 2,
            random_integer({
              'max': settings_settings['height'],
            }) - settings_settings['height'] / 2
          ),<commit_msg>fixed too few hexagons crash<commit_after>'use strict';

function load_level(id){
    // Create base hexagons.
    var loop_counter = Math.max(
      settings_settings['hexagons'],
      settings_settings['players'] + settings_settings['ai']
    ) - 1;
    do{
        create_hexagon(
          select_hexagon(
            random_integer({
              'max': settings_settings['width'],
            }) - settings_settings['width'] / 2,
            random_integer({
              'max': settings_settings['height'],
            }) - settings_settings['height'] / 2
          ),
{'fraction_non_alphanumeric': 0.12771996215704826, 'fraction_numerical': 0.005676442762535478, 'mean_word_length': 2.0845481049562684, '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': '48261', 'n_tokens_mistral': 292, 'n_tokens_neox': 280, 'n_words': 55}