<commit_before>package de.fabiankeller.palladio;

import de.fabiankeller.palladio.analysis.provider.SimpleTacticsProvider;
import de.fabiankeller.palladio.analysis.runner.pcm2lqn.Pcm2LqnAnalysisConfig;
import de.fabiankeller.palladio.analysis.runner.pcm2lqn.Pcm2LqnRunner;
import de.fabiankeller.palladio.builder.PcmBuilder;
import de.fabiankeller.palladio.config.EnvironmentConfig;
import de.fabiankeller.palladio.environment.PalladioEclipseEnvironment;
import org.palladiosimulator.solver.models.PCMInstance;

import java.io.IOException;
import java.util.Properties;
import java.util.logging.Logger;

/**
 * Tries to create a {@link PCMInstance} with the help of the {@link PcmBuilder}.
 */
public class RunLqnsWithBuilder extends RunLQNS {

    private static final Logger log = Logger.getLogger(RunLQNS.class.getName());

    public static void main(final String[] args) throws IOException {
        final Properties runnerConfig = loadConfig(args);
        new RunLqnsWithBuilder(runnerConfig).run();
    }

    public RunLqnsWithBuilder(final Properties runnerConfig) {
        super(runnerConfig);
    }


    @Override
    public void run() {
        log.info("Launching LQNS headless");
        PalladioEclipseEnvironment.INSTANCE.setup(new EnvironmentConfig(this.runnerConfig));

        final PCMInstance instance = new SimpleTacticsProvider().provide();
        instance.saveToFiles();

        final Pcm2LqnRunner runner = new Pcm2LqnRunner(new Pcm2LqnAnalysisConfig(this.runnerConfig));
        runner.analyze(instance);
    }
}<commit_msg>Fix: forgot to commit line<commit_after>package de.fabiankeller.palladio;

import de.fabiankeller.palladio.analysis.provider.SimpleTacticsProvider;
import de.fabiankeller.palladio.analysis.runner.pcm2lqn.Pcm2LqnAnalysisConfig;
import de.fabiankeller.palladio.analysis.runner.pcm2lqn.Pcm2LqnRunner;
import de.fabiankeller.palladio.builder.PcmBuilder;
import de.fabiankeller.palladio.config.EnvironmentConfig;
import de.fabiankeller.palladio.environment.PalladioEclipseEnvironment;
import org.palladiosimulator.solver.models.PCMInstance;

import java.io.IOException;
import java.util.Properties;
import java.util.logging.Logger;

/**
 * Tries to create a {@link PCMInstance} with the help of the {@link PcmBuilder}.
 */
public class RunLqnsWithBuilder extends RunLQNS {

    private static final Logger log = Logger.getLogger(RunLQNS.class.getName());

    public static void main(final String[] args) throws IOException {
        final Properties runnerConfig = loadConfig(args);
        new RunLqnsWithBuilder(runnerConfig).run();
    }

    public RunLqnsWithBuilder(final Properties runnerConfig) {
        super(runnerConfig);
    }


    @Override
    public void run() {
        log.info("Launching LQNS headless");
        PalladioEclipseEnvironment.INSTANCE.setup(new EnvironmentConfig(this.runnerConfig));

        final PCMInstance instance = new SimpleTacticsProvider().provide();
        instance.saveToFiles("palladio-headless");

        final Pcm2LqnRunner runner = new Pcm2LqnRunner(new Pcm2LqnAnalysisConfig(this.runnerConfig));
        runner.analyze(instance);
    }
}
{'fraction_non_alphanumeric': 0.0929936305732484, 'fraction_numerical': 0.0044585987261146496, 'mean_word_length': 4.669675090252707, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3871190', 'n_tokens_mistral': 971, 'n_tokens_neox': 956, 'n_words': 178}