<commit_before>
package htm;

import htm.input.Input;

/**
 *
 * @author david.charubini
 */
public class Synapse implements InputReceiver {

    private static double CONNECTION_PERMENANCE = 0.5;
    private static double PERMANENCE_ADJUSTMENT = 0.01;
    private static double MAX_PERMANENCE = 1.0;
    private static double MIN_PERMANENCE = 0.0;
    
    private final String inputId;
    private Input<?> input;<commit_msg>Make constants final<commit_after>
package htm;

import htm.input.Input;

/**
 *
 * @author david.charubini
 */
public class Synapse implements InputReceiver {

    private static final double CONNECTION_PERMENANCE = 0.5;
    private static final double PERMANENCE_ADJUSTMENT = 0.01;
    private static final double MAX_PERMANENCE = 1.0;
    private static final double MIN_PERMANENCE = 0.0;
    
    private final String inputId;
    private Input<?> input;
{'fraction_non_alphanumeric': 0.0768361581920904, 'fraction_numerical': 0.020338983050847456, 'mean_word_length': 3.687830687830688, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '220657', 'n_tokens_mistral': 283, 'n_tokens_neox': 269, 'n_words': 83}