<commit_before>package pl.codepot.prezentatr.present

import org.springframework.http.HttpStatus
import org.springframework.http.ResponseEntity
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RequestMethod
import org.springframework.web.bind.annotation.RestController
import pl.codepot.prezentatr.dto.Ingredient
import pl.codepot.prezentatr.dto.IngredientType
import pl.codepot.prezentatr.dto.Order


@RestController
@RequestMapping('/present')
class PresentController {

    @RequestMapping(value="/order", method = RequestMethod.POST)
    ResponseEntity<Order> order() {
        Order order = new Order()
        List<Ingredient> ingredients = Arrays.asList(
                new Ingredient(IngredientType.MALT, 200),
                new Ingredient(IngredientType.WATER, 200),
                new Ingredient(IngredientType.HOP, 200),
                new Ingredient(IngredientType.YIEST, 200),
        );
        order.setIngredients(ingredients)
        return new ResponseEntity<Order>(order, HttpStatus.OK);
    }

    @RequestMapping(value="/bottles", method = RequestMethod.PUT)
    bottles() {
        return HttpStatus.OK;
    }




}<commit_msg>Added rest of the methods<commit_after>package pl.codepot.prezentatr.present

import org.springframework.http.HttpStatus
import org.springframework.http.ResponseEntity
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RequestMethod
import org.springframework.web.bind.annotation.RestController
import pl.codepot.prezentatr.dto.Ingredient
import pl.codepot.prezentatr.dto.IngredientType
import pl.codepot.prezentatr.dto.Order


@RestController
@RequestMapping('/present')
class PresentController {

    @RequestMapping(value="/order", method = RequestMethod.POST)
    ResponseEntity<Order> order() {
        Order order = new Order()
        List<Ingredient> ingredients = Arrays.asList(
                new Ingredient(IngredientType.MALT, 200),
                new Ingredient(IngredientType.WATER, 200),
                new Ingredient(IngredientType.HOP, 200),
                new Ingredient(IngredientType.YIEST, 200),
        );
        order.setIngredients(ingredients)
        return new ResponseEntity<Order>(order, HttpStatus.OK);
    }

    @RequestMapping(value="/bottles", method = RequestMethod.GET)
    String presentBottles() {
        return "0"
    }
    @RequestMapping(value="/butelkatr", method=RequestMethod.GET)
    String presentButelkatr() {
        return "0"
    }

    @RequestMapping(value="/dojrzewatr", method=RequestMethod.GET)
    String presentDojrzewatr() {
        return "0"
    }

}
{'fraction_non_alphanumeric': 0.10115284492376347, 'fraction_numerical': 0.01004090740052064, 'mean_word_length': 3.5982905982905984, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5528730', 'n_tokens_mistral': 833, 'n_tokens_neox': 801, 'n_words': 131}