brancheneinstufung2.py aktualisiert

This commit is contained in:
2025-08-04 08:18:45 +00:00
parent 3a8809e08f
commit 715fce6fbd

View File

@@ -55,7 +55,7 @@ def main():
"Batch-Verarbeitung": ["wiki_verify", "website_scraping", "summarize_website", "branch_eval", "suggest_parents", "fsm_pitch"],
"Sequentielle Verarbeitung": ["full_run"],
"Re-Evaluation": ["reeval"],
"Dienstprogramme": ["find_wiki_serp", "check_urls", "contacts", ...],
"Dienstprogramme": ["find_wiki_serp", "check_urls", "contacts", "update_wiki_suggestions", "wiki_reextract_missing_an", "website_details", "train_technician_model", "predict_technicians", "alignment", "reparatur_sitz", "plausi_check_data"],
"Kombinierte Läufe": ["combined_all"],
"Spezial-Modi": ["reclassify_branches"], # Neue Kategorie oder zu bestehender hinzufügen
"Kombinierte Läufe": ["combined_all"]
@@ -168,6 +168,11 @@ def main():
alignment_demo(sheet_handler)
elif selected_mode == "train_technician_model":
data_processor.train_technician_model()
elif selected_mode == "predict_technicians":
data_processor.process_predict_technicians(
start_sheet_row=args.start_sheet_row,
limit=args.limit
)
elif hasattr(data_processor, f"process_{selected_mode}"):
# Dynamischer Aufruf für die meisten Batch-Modi
method_to_call = getattr(data_processor, f"process_{selected_mode}")