<commit_before>import static spark.Spark.get;
import static javax.measure.unit.SI.KILOGRAM;
import javax.measure.quantity.Mass;
import org.jscience.physics.model.RelativisticModel;
import org.jscience.physics.amount.Amount;

/**
 * Created by DJMojo on 14/05/16.
 */
public class Main {

    public static void main(String[] args) {
        get("/hello", (req, res) -> {
            RelativisticModel.select();
            Amount<Mass> m = Amount.valueOf("12 GeV").to(KILOGRAM);
            return "E=mc^2: 12 GeV = " + m.toString();
        });
    }

}<commit_msg>add port and local file<commit_after>import static spark.Spark.get;
import static javax.measure.unit.SI.KILOGRAM;
import static spark.Spark.port;
import static spark.Spark.staticFileLocation;

import javax.measure.quantity.Mass;
import org.jscience.physics.model.RelativisticModel;
import org.jscience.physics.amount.Amount;

/**
 * Created by DJMojo on 14/05/16.
 */
public class Main {

    public static void main(String[] args) {

        port(Integer.valueOf(System.getenv("PORT")));
        staticFileLocation("/public");

        get("/hello", (req, res) -> {
            RelativisticModel.select();
            Amount<Mass> m = Amount.valueOf("12 GeV").to(KILOGRAM);
            return "E=mc^2: 12 GeV = " + m.toString();
        });
    }

}
{'fraction_non_alphanumeric': 0.14361702127659576, 'fraction_numerical': 0.016717325227963525, 'mean_word_length': 3.0275229357798166, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '5251427', 'n_tokens_mistral': 447, 'n_tokens_neox': 412, 'n_words': 88}