<commit_before>package org.embulk.input.randomj;

import com.fasterxml.jackson.databind.JsonNode;
import org.apache.commons.text.CharacterPredicates;
import org.apache.commons.text.RandomStringGenerator;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;

public class JsonColumnVisitor
{

    private final Map<String, Object> map;
    private final Random rnd = new Random();
    private final RandomStringGenerator generator = new RandomStringGenerator.Builder()
            .withinRange('0', 'z')
            .filteredBy(CharacterPredicates.LETTERS, CharacterPredicates.DIGITS)
            .build();

    private static final String ITEMS = "items";

    public JsonColumnVisitor(Map<String, Object> gmap)
    {
        map = gmap;
    }

    public void booleanNode(JsonNode node)
    {<commit_msg>Fix minor<commit_after>package org.embulk.input.randomj;

import com.fasterxml.jackson.databind.JsonNode;
import org.apache.commons.text.CharacterPredicates;
import org.apache.commons.text.RandomStringGenerator;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;

public class JsonColumnVisitor
{
    private final Map<String, Object> map;
    private final Random rnd = new Random();
    private final RandomStringGenerator generator = new RandomStringGenerator.Builder()
            .withinRange('0', 'z')
            .filteredBy(CharacterPredicates.LETTERS, CharacterPredicates.DIGITS)
            .build();

    private static final String ITEMS = "items";

    public JsonColumnVisitor(Map<String, Object> gmap)
    {
        map = gmap;
    }

    public void booleanNode(JsonNode node)
    {
{'fraction_non_alphanumeric': 0.09605488850771869, 'fraction_numerical': 0.0011435105774728416, 'mean_word_length': 3.7425474254742546, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '1692194', 'n_tokens_mistral': 513, 'n_tokens_neox': 491, 'n_words': 119}