<commit_before>// Route receiving the data when a file is uploaded.
// Copyright © 2015 - <NAME>
package server

import (
	"encoding/json"
	"io/ioutil"
	"log"
	"math/rand"
	"net/http"
	"path/filepath"
	"strings"
	"time"
)

type SendHandler struct {
	Server *Server // pointer to the started server
}

const (
	SECRET_KEY_HEADER = "X-Clioud-Key"
)

// Json returned to the client
type SendResponse struct {<commit_msg>Missed one clioud during the refactoring.<commit_after>// Route receiving the data when a file is uploaded.
// Copyright © 2015 - <NAME>
package server

import (
	"encoding/json"
	"io/ioutil"
	"log"
	"math/rand"
	"net/http"
	"path/filepath"
	"strings"
	"time"
)

type SendHandler struct {
	Server *Server // pointer to the started server
}

const (
	SECRET_KEY_HEADER = "X-upd-key"
)

// Json returned to the client
type SendResponse struct {
{'fraction_non_alphanumeric': 0.11757857974388825, 'fraction_numerical': 0.009313154831199068, 'mean_word_length': 3.699453551912568, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1177142', 'n_tokens_mistral': 318, 'n_tokens_neox': 306, 'n_words': 97}