<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using JavaJanitor.Models;
using System.Web.Http.Description;

namespace JavaJanitor.Controllers
{
    public class CarafeStatusController : ApiController
    {
        private List<CarafeStatus> Stats = new List<CarafeStatus>();

        // GET api/<controller>
        public IEnumerable<int> Get()
        {
            return Stats.Select(e => e.Id);
        }

        // GET api/<controller>/5
        [ResponseType(typeof(CarafeStatus))]
        public HttpResponseMessage Get(int id)<commit_msg>fixing CarafeStatusController<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using JavaJanitor.Models;
using System.Web.Http.Description;

namespace JavaJanitor.Controllers
{
    public class CarafeStatusController : ApiController
    {
        private static List<CarafeStatus> Stats = new List<CarafeStatus>();

        // GET api/<controller>
        public IEnumerable<int> Get()
        {
            return Stats.Select(e => e.Id);
        }

        // GET api/<controller>/5
        [ResponseType(typeof(CarafeStatus))]
        public HttpResponseMessage Get(int id)
{'fraction_non_alphanumeric': 0.10295230885692658, 'fraction_numerical': 0.001514004542013626, 'mean_word_length': 3.1183800623052957, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, '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': '1086819', 'n_tokens_mistral': 386, 'n_tokens_neox': 379, 'n_words': 85}