<commit_before>
package org.badvision;

import java.util.LinkedList;
import java.util.Arrays;

/**
 *
 * @author mhaye
 */

public class Lx47Algorithm
{
    static final int MAX_OFFSET = 65536;  /* range 1..2176 */
    static final int MAX_LEN = 65536;  /* range 2..65536 */
    static final int OFFSET_EXP_BITS = 6;
    
    LinkedList<String> debugs = new LinkedList<String>();
    
    void addDebug(String format, Object... arguments) {
        String str = String.format(format, arguments);
        //System.out.println("Gen: " + str);
        debugs.add(str);
    }
<commit_msg>Parameterized offset exp.<commit_after>
package org.badvision;

import java.util.LinkedList;
import java.util.Arrays;

/**
 *
 * @author mhaye
 */

public class Lx47Algorithm
{
    static final int MAX_OFFSET = 65536;  /* range 1..2176 */
    static final int MAX_LEN = 256;  /* range 2..65536 */
    static final int OFFSET_EXP_BITS = 6;
    
    LinkedList<String> debugs = new LinkedList<String>();
    
    void addDebug(String format, Object... arguments) {
        String str = String.format(format, arguments);
        //System.out.println("Gen: " + str);
        debugs.add(str);
    }

{'fraction_non_alphanumeric': 0.12818336162988114, 'fraction_numerical': 0.03904923599320883, 'mean_word_length': 2.754777070063694, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3874161', 'n_tokens_mistral': 408, 'n_tokens_neox': 376, 'n_words': 96}