<commit_before>package com.github.dbadia.sqrl.server.backchannel;

import static junit.framework.TestCase.assertEquals;
import static junit.framework.TestCase.assertTrue;

import java.util.Arrays;
import java.util.Collection;
import java.util.List;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters;

import com.github.dbadia.sqrl.server.backchannel.SqrlTif.TifBuilder;

@RunWith(Parameterized.class)
public class SqrlTifTest {
	@Parameters(name = "{index}: ipmatch=({0}) expected=({1}) tifArray=({2}) )")
	public static Collection<Object[]> data() {
		// @formatter:off
		return Arrays.asList(new Object[][] {
			{ false, 1, new int[]{SqrlTif.TIF_CURRENT_ID_MATCH }},<commit_msg>updated test case<commit_after>package com.github.dbadia.sqrl.server.backchannel;

import static junit.framework.TestCase.assertEquals;
import static junit.framework.TestCase.assertTrue;

import java.util.Arrays;
import java.util.Collection;
import java.util.List;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters;

import com.github.dbadia.sqrl.server.backchannel.SqrlTif.TifBuilder;

@RunWith(Parameterized.class)
public class SqrlTifTest {
	@Parameters(name = "{index}: ipmatch=({0}) expected=({1}) tifArray=({2}) )")
	public static Collection<Object[]> data() {
		// @formatter:off
		return Arrays.asList(new Object[][] {
			{ false, 1, new int[]{SqrlTif.TIF_CURRENT_ID_MATCH }},
			{ true, 4, new int[]{}},
{'fraction_non_alphanumeric': 0.14186633039092056, 'fraction_numerical': 0.005674653215636823, 'mean_word_length': 6.053333333333334, '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': '4557194', 'n_tokens_mistral': 552, 'n_tokens_neox': 535, 'n_words': 96}