<commit_before>package com.github.k0kubun.github_ranking.api;

import com.github.k0kubun.github_ranking.config.QueueConfig;
import com.github.k0kubun.github_ranking.model.ApiResponse;

import java.sql.Time;
import java.util.concurrent.BlockingQueue;

import javax.sql.DataSource;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Context;

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

@Path("/ranks")
@Produces("application/json")
public class RankingResource
{
    private static final Logger LOG = LoggerFactory.getLogger(RankingResource.class);

    private final QueueConfig queueConfig;

    public RankingResource(@Context QueueConfig queueConfig)
    {
        this.queueConfig = queueConfig;
    }

    @POST
    @Path("/users")
    public ApiResponse calcUsers()
    {<commit_msg>Fix build failure<commit_after>package com.github.k0kubun.github_ranking.api;

import com.github.k0kubun.github_ranking.config.QueueConfig;
import com.github.k0kubun.github_ranking.model.ApiResponse;
import io.sentry.Sentry;

import java.sql.Time;
import java.util.concurrent.BlockingQueue;

import javax.sql.DataSource;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Context;

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

@Path("/ranks")
@Produces("application/json")
public class RankingResource
{
    private static final Logger LOG = LoggerFactory.getLogger(RankingResource.class);

    private final QueueConfig queueConfig;

    public RankingResource(@Context QueueConfig queueConfig)
    {
        this.queueConfig = queueConfig;
    }

    @POST
    @Path("/users")
    public ApiResponse calcUsers()
    {
{'fraction_non_alphanumeric': 0.10728182323513062, 'fraction_numerical': 0.005558643690939411, 'mean_word_length': 4.6426332288401255, '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': '4630406', 'n_tokens_mistral': 591, 'n_tokens_neox': 584, 'n_words': 108}