<commit_before>from django.apps import AppConfig


class OracleConfig(AppConfig):
    name = 'nodeconductor_paas_oracle'
    verbose_name = 'Oracle'
    service_name = 'Oracle'

    def ready(self):
        from nodeconductor.structure import SupportedServices
        from .backend import OracleBackend
        SupportedServices.register_backend(OracleBackend)<commit_msg>Add registration to cost tracking<commit_after>from django.apps import AppConfig


class OracleConfig(AppConfig):
    name = 'nodeconductor_paas_oracle'
    verbose_name = 'Oracle'
    service_name = 'Oracle'

    def ready(self):
        from nodeconductor.structure import SupportedServices
        from nodeconductor.cost_tracking import CostTrackingRegister

        from .backend import OracleBackend
        SupportedServices.register_backend(OracleBackend)

        # cost tracking
        from .cost_tracking import OracleCostTrackingBackend
        CostTrackingRegister.register(self.label, OracleCostTrackingBackend)
{'fraction_non_alphanumeric': 0.056056056056056056, 'fraction_numerical': 0.0, 'mean_word_length': 4.0, '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': '4610517', 'n_tokens_mistral': 272, 'n_tokens_neox': 252, 'n_words': 61}