<commit_before>(ns taggie-server.handler
	(:use
		taggie-server.routes.subject-routes
		taggie-server.routes.user-routes)
	(:require 
		[compojure.core :refer :all]
		[compojure.handler :as handler]
		[compojure.route :as route]
		[ring.middleware.format-params :refer [wrap-restful-params]]
		[ring.middleware.format-response :refer [wrap-restful-response]]))

(defroutes app-routes
	(context "/api" [] subject-routes user-routes)
	(route/not-found "Requested URL not found"))

(def app
	(->
		(handler/site app-routes)
		(wrap-restful-params)
		(wrap-restful-response)))
<commit_msg>formatted<commit_after>(ns taggie-server.handler
    (:use
        taggie-server.routes.subject-routes
        taggie-server.routes.user-routes)
    (:require 
        [compojure.core :refer :all]
        [compojure.handler :as handler]
        [compojure.route :as route]
        [ring.middleware.format-params :refer [wrap-restful-params]]
        [ring.middleware.format-response :refer [wrap-restful-response]]))

(defroutes app-routes
    (context "/api" [] subject-routes user-routes)
    (route/not-found "Requested URL not found"))

(def app
    (->
        (handler/site app-routes)
        (wrap-restful-params)
        (wrap-restful-response)))

{'fraction_non_alphanumeric': 0.145044319097502, 'fraction_numerical': 0.0, 'mean_word_length': 3.3732394366197185, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6175597', 'n_tokens_mistral': 436, 'n_tokens_neox': 439, 'n_words': 76}