<commit_before>package com.upcrob.jotp.controllers;

import javax.servlet.http.HttpServletRequest;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.upcrob.jotp.Controller;

/**
 * Simple endpoint that can be used to verify that the application
 * is currently available.
 */
public class MonitorController implements Controller {

	private Logger log;
	
	public MonitorController() {
		log = LoggerFactory.getLogger(MonitorController.class);
	}
	
	@Override
	public String execute(HttpServletRequest request) {
		log.debug("Monitored - OK");
		return "OK";
	}

}<commit_msg>Updated MonitorController to return a JSON formatted response.<commit_after>package com.upcrob.jotp.controllers;

import javax.servlet.http.HttpServletRequest;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.upcrob.jotp.Controller;

/**
 * Simple endpoint that can be used to verify that the application
 * is currently available.
 */
public class MonitorController implements Controller {

	private Logger log;
	
	public MonitorController() {
		log = LoggerFactory.getLogger(MonitorController.class);
	}
	
	@Override
	public String execute(HttpServletRequest request) {
		log.debug("Monitored - OK");
		return "{\"status\": \"OK\"}";
	}

}
{'fraction_non_alphanumeric': 0.10023866348448687, 'fraction_numerical': 0.0031821797931583136, 'mean_word_length': 4.824074074074074, 'pattern_counts': {'":': 1, '<': 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': '4669587', 'n_tokens_mistral': 383, 'n_tokens_neox': 366, 'n_words': 98}