<commit_before>package org.devocative.demeter.core;

import org.devocative.adroit.vo.RangeVO;
import org.devocative.demeter.entity.Person;
import org.devocative.demeter.iservice.persistor.IPersistorService;
import org.devocative.demeter.iservice.template.IStringTemplate;
import org.devocative.demeter.iservice.template.IStringTemplateService;
import org.devocative.demeter.iservice.template.TemplateEngineType;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class TestCore {
	private static Logger logger = LoggerFactory.getLogger(TestCore.class);

	private static IPersistorService persistorService;

	@BeforeClass
	public static void init() {
		/*InitDB initDB = new InitDB();
		initDB.setDriver(ConfigUtil.getString(true, "dmt.db.driver"))
			.setUrl(ConfigUtil.getString(true, "dmt.db.url"))
			.setUsername(ConfigUtil.getString(true, "dmt.db.username"))
			.addScript("src/test/resources/init_hsqldb.sql")
			.build();*/

		DemeterCore.get().init();

		persistorService = DemeterCore.get().getApplicationContext().getBean(IPersistorService.class);
	}

	@Test
	public void test01() {
		for (int i = 1; i <= 3; i++) {
			Person person = new Person();
			person.setFirstName("John" + i);
			person.setLastName("Blue" + i);
			person.setBirthRegDate(new Date());
<commit_msg>based on no default value set for rowMod, the test is updated now!<commit_after>package org.devocative.demeter.core;

import org.devocative.adroit.vo.RangeVO;
import org.devocative.demeter.entity.ERowMod;
import org.devocative.demeter.entity.Person;
import org.devocative.demeter.iservice.persistor.IPersistorService;
import org.devocative.demeter.iservice.template.IStringTemplate;
import org.devocative.demeter.iservice.template.IStringTemplateService;
import org.devocative.demeter.iservice.template.TemplateEngineType;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class TestCore {
	private static Logger logger = LoggerFactory.getLogger(TestCore.class);

	private static IPersistorService persistorService;

	@BeforeClass
	public static void init() {
		/*InitDB initDB = new InitDB();
		initDB.setDriver(ConfigUtil.getString(true, "dmt.db.driver"))
			.setUrl(ConfigUtil.getString(true, "dmt.db.url"))
			.setUsername(ConfigUtil.getString(true, "dmt.db.username"))
			.addScript("src/test/resources/init_hsqldb.sql")
			.build();*/

		DemeterCore.get().init();

		persistorService = DemeterCore.get().getApplicationContext().getBean(IPersistorService.class);
	}

	@Test
	public void test01() {
		for (int i = 1; i <= 3; i++) {
			Person person = new Person();
			person.setFirstName("John" + i);
			person.setLastName("Blue" + i);
			person.setBirthRegDate(new Date());
			person.setRowMod(ERowMod.NORMAL);

{'fraction_non_alphanumeric': 0.12797992471769135, 'fraction_numerical': 0.0037641154328732747, 'mean_word_length': 5.442424242424242, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '256859', 'n_tokens_mistral': 1125, 'n_tokens_neox': 1055, 'n_words': 193}