#!/bin/zsh



# CLUSTER_TIMEOUT=30
# CLUSTER_MAX_LINES=400
CLUSTER_TIMEOUT=30000000
CLUSTER_MAX_LINES=400000000

BASE=/Users/matte/Library/CloudStorage/OneDrive-FondazioneBrunoKessler/projects/2023-k8ntext/results/current/

echo Script temporarily out of use.
exit 1

# python3 visualizer.py -f $BASE/inference-on-same-dataset/labeled.json --output-full-log-with-uuid -k predicted_label --cluster-timeout $CLUSTER_TIMEOUT --cluster-max-lines $CLUSTER_MAX_LINES -c -i
mv with_uuids.json $BASE/uuid-checks/labeled.json
# python3 visualizer.py -f $BASE/inference-on-same-dataset/labeled.json --output-full-log-with-uuid -k label --cluster-timeout $CLUSTER_TIMEOUT --cluster-max-lines $CLUSTER_MAX_LINES -c -i
mv with_uuids.json $BASE/uuid-checks/original.json
python3 compare_cluster_sets.py $BASE/uuid-checks/original.json $BASE/uuid-checks/labeled.json
mv cluster_comparison.png $BASE/uuid-checks/cluster_comparison.png
# open $BASE/uuid-checks/cluster_comparison.png

cd ../plots
python3 plot-average-cluster-size.py $BASE/inference-on-same-dataset/labeled.json dict_divided_by_label.csv