From da03e7b9d8bd1521cb32e9792e23ed7da2c3589a Mon Sep 17 00:00:00 2001 From: foefl Date: Thu, 20 Mar 2025 07:51:17 +0100 Subject: [PATCH] restructure project --- .gitignore | 5 ++ lang_main_config_old.toml | 59 ------------------- test.py => prototypes/test.py | 0 build.ps1 => scripts/build.ps1 | 0 .../bump_prerelease_num.ps1 | 0 .../bump_release_type.ps1 | 0 publish.ps1 => scripts/publish.ps1 | 0 .../update_and_publish.ps1 | 0 .../update_lang_main.ps1 | 0 9 files changed, 5 insertions(+), 59 deletions(-) delete mode 100644 lang_main_config_old.toml rename test.py => prototypes/test.py (100%) rename build.ps1 => scripts/build.ps1 (100%) rename bump_prerelease_num.ps1 => scripts/bump_prerelease_num.ps1 (100%) rename bump_release_type.ps1 => scripts/bump_release_type.ps1 (100%) rename publish.ps1 => scripts/publish.ps1 (100%) rename update_and_publish.ps1 => scripts/update_and_publish.ps1 (100%) rename update_lang_main.ps1 => scripts/update_lang_main.ps1 (100%) diff --git a/.gitignore b/.gitignore index 3a8816c..dfffa40 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,8 @@ +# configs, data, etc. +benchmark/ +logs/ +*.code-workspace + # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] diff --git a/lang_main_config_old.toml b/lang_main_config_old.toml deleted file mode 100644 index a50886c..0000000 --- a/lang_main_config_old.toml +++ /dev/null @@ -1,59 +0,0 @@ -# d-opt -- lang_main: config file - -[paths] -inputs = './lang-data/in/' -results = './lang-data/out/' -models = './lang-models/converted' - -[models] -use_large_model = false - -[logging] -enabled = true -stderr = true -file = true - -# control which pipelines are executed -[control] -preprocessing_skip = false -token_analysis_skip = false -graph_postprocessing_skip = false -graph_rescaling_skip = false -graph_static_rendering_skip = true -time_analysis_skip = true - -[preprocess] -date_cols = [ - "VorgangsDatum", - "ErledigungsDatum", - "Arbeitsbeginn", - "ErstellungsDatum", -] -target_feature = "VorgangsBeschreibung" -threshold_amount_characters = 5 -threshold_similarity = 0.92 - -[graph_postprocessing] -max_edge_number = -1 - -[time_analysis.uniqueness] -threshold_unique_texts = 5 -criterion_feature = 'HObjektText' -feature_name_obj_id = 'ObjektID' -feature_name_obj_text = 'HObjektText' - -[time_analysis.preparation] -name_delta_feat_to_repair = 'Zeitspanne bis zur Behebung [Tage]' -name_delta_feat_to_next_failure = 'Zeitspanne bis zum nächsten Ereignis [Tage]' - -[time_analysis.model_input] -input_features = [ - 'VorgangsBeschreibung', -] -activity_feature = 'VorgangsTypName' -activity_types = [ - 'Reparaturauftrag (Portal)', - 'Störungsmeldung', -] -threshold_num_activities = 1 -threshold_similarity = 0.8 \ No newline at end of file diff --git a/test.py b/prototypes/test.py similarity index 100% rename from test.py rename to prototypes/test.py diff --git a/build.ps1 b/scripts/build.ps1 similarity index 100% rename from build.ps1 rename to scripts/build.ps1 diff --git a/bump_prerelease_num.ps1 b/scripts/bump_prerelease_num.ps1 similarity index 100% rename from bump_prerelease_num.ps1 rename to scripts/bump_prerelease_num.ps1 diff --git a/bump_release_type.ps1 b/scripts/bump_release_type.ps1 similarity index 100% rename from bump_release_type.ps1 rename to scripts/bump_release_type.ps1 diff --git a/publish.ps1 b/scripts/publish.ps1 similarity index 100% rename from publish.ps1 rename to scripts/publish.ps1 diff --git a/update_and_publish.ps1 b/scripts/update_and_publish.ps1 similarity index 100% rename from update_and_publish.ps1 rename to scripts/update_and_publish.ps1 diff --git a/update_lang_main.ps1 b/scripts/update_lang_main.ps1 similarity index 100% rename from update_lang_main.ps1 rename to scripts/update_lang_main.ps1