<commit_before>#include "grid.hpp"

#include <cmath>

std::deque<rectangle_t>
grid_t::arrange(const rectangle_t & screen, unsigned int nrects) const
{
  int gap = 5;

  int factor = std::round(std::sqrt(nrects));
  int rest = (factor * factor) - nrects;

  auto cells = decompose(factor, factor * factor);<commit_msg>Rename variable factor -> radix<commit_after>#include "grid.hpp"

#include <cmath>

std::deque<rectangle_t>
grid_t::arrange(const rectangle_t & screen, unsigned int nrects) const
{
  int gap = 5;

  int radix = std::round(std::sqrt(nrects));
  int rest = (radix * radix) - nrects;

  auto cells = decompose(radix, radix * radix);
{'fraction_non_alphanumeric': 0.14241486068111456, 'fraction_numerical': 0.0030959752321981426, 'mean_word_length': 5.10377358490566, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, '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': '1927765', 'n_tokens_mistral': 245, 'n_tokens_neox': 236, 'n_words': 58}