<commit_before># encoding: utf-8

module Rubyzome
    class RestController

        # Use helpers module
        require "rubyzome/controllers/Helpers.rb"
        include Helpers

        # ajoute un attribut Request
        # contenant les détails des requêtes
        attr_accessor :request

        # on initialise avec un objet requête
        def initialize(req)<commit_msg>Helpers should be loaded in the application<commit_after># encoding: utf-8

module Rubyzome
    class RestController

        # ajoute un attribut Request
        # contenant les détails des requêtes
        attr_accessor :request

        # on initialise avec un objet requête
        def initialize(req)
{'fraction_non_alphanumeric': 0.043859649122807015, 'fraction_numerical': 0.0029239766081871343, 'mean_word_length': 2.5128205128205128, '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': '6631460', 'n_tokens_mistral': 184, 'n_tokens_neox': 176, 'n_words': 64}