<commit_before>package sg.ncl.service.experiment;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import sg.ncl.adapter.deterlab.DeterlabAutoConfiguration;
import sg.ncl.common.jpa.UseJpa;
import sg.ncl.service.realization.App;

/**
 * @author <NAME>
 */
@SpringBootApplication
@UseJpa
@Import({
        DeterlabAutoConfiguration.class,
        App.class,
})
public class ExperimentApplication {

    public static void main(final String[] args) {
        SpringApplication.run(ExperimentApplication.class, args);
    }

}<commit_msg>DEV-487 encapsulate context in a try with resource<commit_after>package sg.ncl.service.experiment;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.Import;
import sg.ncl.adapter.deterlab.DeterlabAutoConfiguration;
import sg.ncl.common.jpa.UseJpa;
import sg.ncl.service.realization.App;

/**
 * @author <NAME>
 */
@SpringBootApplication
@UseJpa
@Import({
        DeterlabAutoConfiguration.class,
        App.class,
})
public class ExperimentApplication {

    public static void main(final String[] args) {
        try (final ConfigurableApplicationContext context = SpringApplication.run(ExperimentApplication.class, args)) {
            // nothing to do
        }
    }

}
{'fraction_non_alphanumeric': 0.09940750493745885, 'fraction_numerical': 0.0019749835418038184, 'mean_word_length': 4.735849056603773, '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': '2773938', 'n_tokens_mistral': 442, 'n_tokens_neox': 425, 'n_words': 80}