<commit_before>from unittest import TestCase

from decimal import Decimal

import logging

from supplychainpy import model_inventory
from supplychainpy._helpers._pickle_config import deserialise_config

from supplychainpy.bi._recommendation_state_machine import SkuMachine
from supplychainpy.bi._recommendations import SKUStates
from supplychainpy.sample_data.config import ABS_FILE_PATH

logging.basicConfig(level=logging.CRITICAL, format='%(asctime)s - %(levelname)s - %(message)s')


class TestRecommendations(TestCase):
    def setUp(self):
        self.STATES = ('EXCESS_RANK', 'SHORTAGE_RANK', 'TRAFFIC_LIGHT', 'CLASSIFICATION', 'FORECAST', 'RECOMMENDATION',
                       'INVENTORY_TURNS', 'START')<commit_msg>Added simulation view to reporting. Added view, pipe for runs.<commit_after>from unittest import TestCase

from decimal import Decimal

import logging

from supplychainpy import model_inventory
from supplychainpy._helpers._pickle_config import deserialise_config

from supplychainpy.bi._recommendation_state_machine import SkuMachine
from supplychainpy.bi._recommendations import SKUStates
from supplychainpy.sample_data.config import ABS_FILE_PATH

logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')


class TestRecommendations(TestCase):
    def setUp(self):
        self.STATES = ('EXCESS_RANK', 'SHORTAGE_RANK', 'TRAFFIC_LIGHT', 'CLASSIFICATION', 'FORECAST', 'RECOMMENDATION',
                       'INVENTORY_TURNS', 'START')
{'fraction_non_alphanumeric': 0.08739159439626418, 'fraction_numerical': 0.0, 'mean_word_length': 5.818181818181818, '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': '4179352', 'n_tokens_mistral': 467, 'n_tokens_neox': 451, 'n_words': 102}