<commit_before>%% @author <NAME>
%%   [www.csproj13.student.it.uu.se]
%% @version 1.0
%% @copyright [Copyright information]

%% @doc Webmachine_resource for /datapoints

-module(datapoints).
-export([init/1, allowed_methods/2, content_types_provided/2,
		 process_post/2, get_datapoint/2]).

-include("webmachine.hrl").
-include("field_restrictions.hrl").
-include("json.hrl").
-include_lib("erlastic_search.hrl").
-include_lib("amqp_client.hrl").
-include_lib("pubsub.hrl").


%% @doc
%% Function: init/1<commit_msg>Removed unused include file<commit_after>%% @author <NAME>
%%   [www.csproj13.student.it.uu.se]
%% @version 1.0
%% @copyright [Copyright information]

%% @doc Webmachine_resource for /datapoints

-module(datapoints).
-export([init/1, allowed_methods/2, content_types_provided/2,
		 process_post/2, get_datapoint/2]).

-include("webmachine.hrl").
-include("field_restrictions.hrl").
-include_lib("erlastic_search.hrl").
-include_lib("amqp_client.hrl").
-include_lib("pubsub.hrl").


%% @doc
%% Function: init/1
{'fraction_non_alphanumeric': 0.18421052631578946, 'fraction_numerical': 0.01949317738791423, 'mean_word_length': 5.583333333333333, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6770695', 'n_tokens_mistral': 400, 'n_tokens_neox': 387, 'n_words': 57}