<commit_before>package uk.ac.ncl.openlab.intake24.client.survey.scheme.ndns.followup;

import org.pcollections.PVector;
import org.pcollections.TreePVector;
import uk.ac.ncl.openlab.intake24.client.survey.Meal;
import uk.ac.ncl.openlab.intake24.client.survey.PromptRule;
import uk.ac.ncl.openlab.intake24.client.survey.WithPriority;
import uk.ac.ncl.openlab.intake24.client.survey.prompts.MealOperation;
import uk.ac.ncl.openlab.intake24.client.survey.prompts.MultipleChoiceQuestionOption;
import uk.ac.ncl.openlab.intake24.client.survey.scheme.base.FoodSource;

public class AskAboutFoodSource extends FoodSource {

    public AskAboutFoodSource(String promptText, PVector<MultipleChoiceQuestionOption> options) {
        super(promptText, options);
    }

    public static WithPriority<PromptRule<Meal, MealOperation>> withPriority(int priority) {
        return new WithPriority<>(new AskAboutFoodSource(
                "<p>Where was <strong><u>most</u></strong> of the food for %s purchased or obtained from?</p>",
                TreePVector.<MultipleChoiceQuestionOption>empty()
                        .plus(new MultipleChoiceQuestionOption("Supermarket / convenience store / corner shop / petrol station – household shopping"))
                        .plus(new MultipleChoiceQuestionOption("Supermarket / convenience store / corner shop / petrol station – food on the go"))
                        .plus(new MultipleChoiceQuestionOption("Fast food / take-away outlet"))
                        .plus(new MultipleChoiceQuestionOption("Café / coffee shop / sandwich bar / deli"))
                        .plus(new MultipleChoiceQuestionOption("Sit-down restaurant or pub"))
                        .plus(new MultipleChoiceQuestionOption("Canteen at work or school / university / college"))
                        .plus(new MultipleChoiceQuestionOption("Burger, chip or kebab van / 'street food'"))
                        .plus(new MultipleChoiceQuestionOption("Food charity / food bank"))
                        .plus(new MultipleChoiceQuestionOption("Government or local authority food scheme e.g. food boxes / parcels"))
                        .plus(new MultipleChoiceQuestionOption("Leisure centre / recreation or entertainment venue"))
                        .plus(new MultipleChoiceQuestionOption("Vending machine in any location"))
                        .plus(new MultipleChoiceQuestionOption("Other place (please specify):", "Other", true))
                        .plus(new MultipleChoiceQuestionOption("Don't know"))
        ), priority);
    }
}
<commit_msg>fix hyphen chars<commit_after>package uk.ac.ncl.openlab.intake24.client.survey.scheme.ndns.followup;

import org.pcollections.PVector;
import org.pcollections.TreePVector;
import uk.ac.ncl.openlab.intake24.client.survey.Meal;
import uk.ac.ncl.openlab.intake24.client.survey.PromptRule;
import uk.ac.ncl.openlab.intake24.client.survey.WithPriority;
import uk.ac.ncl.openlab.intake24.client.survey.prompts.MealOperation;
import uk.ac.ncl.openlab.intake24.client.survey.prompts.MultipleChoiceQuestionOption;
import uk.ac.ncl.openlab.intake24.client.survey.scheme.base.FoodSource;

public class AskAboutFoodSource extends FoodSource {

    public AskAboutFoodSource(String promptText, PVector<MultipleChoiceQuestionOption> options) {
        super(promptText, options);
    }

    public static WithPriority<PromptRule<Meal, MealOperation>> withPriority(int priority) {
        return new WithPriority<>(new AskAboutFoodSource(
                "<p>Where was <strong><u>most</u></strong> of the food for %s purchased or obtained from?</p>",
                TreePVector.<MultipleChoiceQuestionOption>empty()
                        .plus(new MultipleChoiceQuestionOption("Supermarket / convenience store / corner shop / petrol station - household shopping"))
                        .plus(new MultipleChoiceQuestionOption("Supermarket / convenience store / corner shop / petrol station - food on the go"))
                        .plus(new MultipleChoiceQuestionOption("Fast food / take-away outlet"))
                        .plus(new MultipleChoiceQuestionOption("Café / coffee shop / sandwich bar / deli"))
                        .plus(new MultipleChoiceQuestionOption("Sit-down restaurant or pub"))
                        .plus(new MultipleChoiceQuestionOption("Canteen at work or school / university / college"))
                        .plus(new MultipleChoiceQuestionOption("Burger, chip or kebab van / 'street food'"))
                        .plus(new MultipleChoiceQuestionOption("Food charity / food bank"))
                        .plus(new MultipleChoiceQuestionOption("Government or local authority food scheme e.g. food boxes / parcels"))
                        .plus(new MultipleChoiceQuestionOption("Leisure centre / recreation or entertainment venue"))
                        .plus(new MultipleChoiceQuestionOption("Vending machine in any location"))
                        .plus(new MultipleChoiceQuestionOption("Other place (please specify):", "Other", true))
                        .plus(new MultipleChoiceQuestionOption("Don't know"))
        ), priority);
    }
}

{'fraction_non_alphanumeric': 0.09669309611293754, 'fraction_numerical': 0.005414813382324502, 'mean_word_length': 2.921152388172858, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '4050678', 'n_tokens_mistral': 1399, 'n_tokens_neox': 1291, 'n_words': 300}