<commit_before>package be.ibridge.kettle.www;

import be.ibridge.kettle.core.Const;
import be.ibridge.kettle.core.LogWriter;
import be.ibridge.kettle.core.util.EnvUtil;
import be.ibridge.kettle.core.value.Value;
import be.ibridge.kettle.trans.StepLoader;
import be.ibridge.kettle.trans.Trans;
import be.ibridge.kettle.trans.TransMeta;
import be.ibridge.kettle.trans.TransPreviewFactory;
import be.ibridge.kettle.trans.step.rowgenerator.RowGeneratorMeta;

public class Carte
{
    public static void main(String[] args) throws Exception
    {
        init();
        
        TransformationMap map = new TransformationMap(Thread.currentThread().getName());
        Trans trans = generateTestTransformation();
        map.addTransformation(trans.getName(), trans);
        
        int port = WebServer.PORT;
        if (args.length>=1)
        {
            try
            {
                port = Integer.parseInt(args[0]);
            }
            catch(Exception e)
            {<commit_msg>OI<commit_after>package be.ibridge.kettle.www;

import be.ibridge.kettle.core.LogWriter;
import be.ibridge.kettle.core.util.EnvUtil;
import be.ibridge.kettle.core.value.Value;
import be.ibridge.kettle.trans.StepLoader;
import be.ibridge.kettle.trans.Trans;
import be.ibridge.kettle.trans.TransMeta;
import be.ibridge.kettle.trans.TransPreviewFactory;
import be.ibridge.kettle.trans.step.rowgenerator.RowGeneratorMeta;

public class Carte
{
    public static void main(String[] args) throws Exception
    {
        init();
        
        TransformationMap map = new TransformationMap(Thread.currentThread().getName());
        Trans trans = generateTestTransformation();
        map.addTransformation(trans.getName(), trans);
        
        int port = WebServer.PORT;
        if (args.length>=1)
        {
            try
            {
                port = Integer.parseInt(args[0]);
            }
            catch(Exception e)
            {
{'fraction_non_alphanumeric': 0.10865087538619979, 'fraction_numerical': 0.0020597322348094747, 'mean_word_length': 2.645403377110694, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3502177', 'n_tokens_mistral': 593, 'n_tokens_neox': 573, 'n_words': 98}