<commit_before># encoding: utf-8

import os
import pytest
import csvkit as csv
import sys
#sys.path.insert(1, os.path.join(sys.path[0], '..'))
import api.app as api
import unittest
import json
#from api.app import *

class ApiTest(unittest.TestCase):

	def test_datatypes(self):
		api.app.testing = True
		self.app = api.app.test_client()
		res = self.app.get("/datatype")
		data = json.loads(res.data)<commit_msg>reintroduce path change to fix test<commit_after># encoding: utf-8

import os
import pytest
import csvkit as csv
import sys
sys.path.insert(1, os.path.join(sys.path[0], '..'))
import api.app as api
import unittest
import json
#from api.app import *

class ApiTest(unittest.TestCase):

	def test_datatypes(self):
		api.app.testing = True
		self.app = api.app.test_client()
		res = self.app.get("/datatype")
		data = json.loads(res.data)
{'fraction_non_alphanumeric': 0.1330977620730271, 'fraction_numerical': 0.007067137809187279, 'mean_word_length': 4.379746835443038, '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': '3052421', 'n_tokens_mistral': 318, 'n_tokens_neox': 309, 'n_words': 80}