<commit_before>package com.github.dregheap.controllers;

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;

@RestController
@RequestMapping(path = "/api/hello")
public class HelloController {

    @RequestMapping(method = RequestMethod.GET)
    public ResponseEntity getHelloMessage() {
        return new ResponseEntity("Hello world!", HttpStatus.OK);
    }
}<commit_msg>#8 - add api versioning<commit_after>package com.github.dregheap.controllers;

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;

@RestController
@RequestMapping(path = "/api/v1/hello")
public class HelloController {

    @RequestMapping(method = RequestMethod.GET)
    public ResponseEntity getHelloMessage() {
        return new ResponseEntity("Hello world!", HttpStatus.OK);
    }
}
{'fraction_non_alphanumeric': 0.10271158586688578, 'fraction_numerical': 0.0016433853738701725, 'mean_word_length': 5.96, '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': '532964', 'n_tokens_mistral': 322, 'n_tokens_neox': 318, 'n_words': 59}