<commit_before>#!/bin/bash

function step() { echo -e '\033[34;1m'"$*"'\033[0m'; }
function error() { echo -e '\033[31;1m'"$*"'\033[0m'; }
function warn() { echo -e '\033[33m'"$*"'\033[0m'; }
function fail() { error "$*"; exit -1; }
function run() { echo -e '\033[35;1m'Running: '\033[33;1m'"$*"'\033[0m'; "$@"; }

ALCOLEA_COUNTER_SERIAL='501600324'
ALCOLEA_START_DATE='2016-01-01' # TODO: Review
FONTIVSOLAR_TOTAL_SHARES=8568 # Computed by plant team
FONTIVSOLAR_COUNTER_SERIAL='68308479'
FONTIVSOLAR_START_DATE='2019-02-20'

step "Current state"
run scripts/genkwh_production.py list
<commit_msg>genkwh_migrate_1_6_3: reviewed fontivsolar value<commit_after>#!/bin/bash

function step() { echo -e '\033[34;1m'"$*"'\033[0m'; }
function error() { echo -e '\033[31;1m'"$*"'\033[0m'; }
function warn() { echo -e '\033[33m'"$*"'\033[0m'; }
function fail() { error "$*"; exit -1; }
function run() { echo -e '\033[35;1m'Running: '\033[33;1m'"$*"'\033[0m'; "$@"; }

ALCOLEA_COUNTER_SERIAL='501600324'
ALCOLEA_START_DATE='2016-01-01' # TODO: Review
FONTIVSOLAR_TOTAL_SHARES=8570 # Computed by plant team
FONTIVSOLAR_COUNTER_SERIAL='68308479'
FONTIVSOLAR_START_DATE='2019-02-20'

step "Current state"
run scripts/genkwh_production.py list

{'fraction_non_alphanumeric': 0.20877335499593827, 'fraction_numerical': 0.1372867587327376, 'mean_word_length': 6.247058823529412, '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': '6188891', 'n_tokens_mistral': 631, 'n_tokens_neox': 521, 'n_words': 91}