config.py aktualisiert

This commit is contained in:
2025-07-18 11:29:28 +00:00
parent a3ebaf15d3
commit 4c5e5bb3df

170
config.py
View File

@@ -215,91 +215,91 @@ class Config:
# --- Spalten-Mapping (Single Source of Truth) ---
# Version 1.8.0 - 68 Spalten (A-BP)
COLUMN_MAP = {
# A-E: Stammdaten & Prozesssteuerung
"ReEval Flag": {"Titel": "A", "index": 0},
"CRM Name": {"Titel": "B", "index": 1},
"CRM Kurzform": {"Titel": "C", "index": 2},
"Parent Account Name": {"Titel": "D", "index": 3},
"CRM Website": {"Titel": "E", "index": 4},
# F-M: CRM-Daten
"CRM Ort": {"Titel": "F", "index": 5},
"CRM Land": {"Titel": "G", "index": 6},
"CRM Beschreibung": {"Titel": "H", "index": 7},
"CRM Branche": {"Titel": "I", "index": 8},
"CRM Beschreibung Branche extern": {"Titel": "J", "index": 9},
"CRM Anzahl Techniker": {"Titel": "K", "index": 10},
"CRM Umsatz": {"Titel": "L", "index": 11},
"CRM Anzahl Mitarbeiter": {"Titel": "M", "index": 12},
# N-Q: System & Parent Vorschläge
"CRM Vorschlag Wiki URL": {"Titel": "N", "index": 13},
"System Vorschlag Parent Account": {"Titel": "O", "index": 14},
"Parent Vorschlag Status": {"Titel": "P", "index": 15},
"Parent Vorschlag Timestamp": {"Titel": "Q", "index": 16},
# R-AB: Wikipedia Extraktion
"Wiki URL": {"Titel": "R", "index": 17},
"Wiki Sitz Stadt": {"Titel": "S", "index": 18},
"Wiki Sitz Land": {"Titel": "T", "index": 19},
"Wiki Absatz": {"Titel": "U", "index": 20},
"Wiki Branche": {"Titel": "V", "index": 21},
"Wiki Umsatz": {"Titel": "W", "index": 22},
"Wiki Mitarbeiter": {"Titel": "X", "index": 23},
"Wiki Kategorien": {"Titel": "Y", "index": 24},
"Wikipedia Timestamp": {"Titel": "Z", "index": 25},
"Wiki Verif. Timestamp": {"Titel": "AA", "index": 26},
"SerpAPI Wiki Search Timestamp": {"Titel": "AB", "index": 27},
# AC-AF: ChatGPT Wiki Verifizierung
"Chat Wiki Konsistenzpruefung": {"Titel": "AC", "index": 28},
"Chat Begründung Wiki Inkonsistenz": {"Titel": "AD", "index": 29},
"Chat Vorschlag Wiki Artikel": {"Titel": "AE", "index": 30},
"Begründung bei Abweichung": {"Titel": "AF", "index": 31},
# AG-AK: Website Scraping
"Website Rohtext": {"Titel": "AG", "index": 32},
"Website Zusammenfassung": {"Titel": "AH", "index": 33},
"Website Meta-Details": {"Titel": "AI", "index": 34},
"Website Scrape Timestamp": {"Titel": "AJ", "index": 35},
"URL Prüfstatus": {"Titel": "AK", "index": 36},
# AL-AU: ChatGPT Branchen & FSM Analyse
"Chat Vorschlag Branche": {"Titel": "AL", "index": 37},
"Chat Branche Konfidenz": {"Titel": "AM", "index": 38},
"Chat Konsistenz Branche": {"Titel": "AN", "index": 39},
"Chat Begruendung Abweichung Branche": {"Titel": "AO", "index": 40},
"Chat Prüfung FSM Relevanz": {"Titel": "AP", "index": 41},
"Chat Begründung für FSM Relevanz": {"Titel": "AQ", "index": 42},
"Chat Schätzung Anzahl Mitarbeiter": {"Titel": "AR", "index": 43},
"Chat Konsistenzprüfung Mitarbeiterzahl": {"Titel": "AS", "index": 44},
"Chat Begruendung Abweichung Mitarbeiterzahl": {"Titel": "AT", "index": 45},
"Chat Einschätzung Anzahl Servicetechniker": {"Titel": "AU", "index": 46},
# AV-AZ: ChatGPT Fortsetzung & FSM Pitch
"Chat Begründung Abweichung Anzahl Servicetechniker": {"Titel": "AV", "index": 47},
"Chat Schätzung Umsatz": {"Titel": "AW", "index": 48},
"Chat Begründung Abweichung Umsatz": {"Titel": "AX", "index": 49},
"FSM Pitch": {"Titel": "AY", "index": 50},
"FSM Pitch Timestamp": {"Titel": "AZ", "index": 51},
# BA-BE: LinkedIn Kontaktsuche
"Linked Serviceleiter gefunden": {"Titel": "BA", "index": 52},
"Linked It-Leiter gefunden": {"Titel": "BB", "index": 53},
"Linked Management gefunden": {"Titel": "BC", "index": 54},
"Linked Disponent gefunden": {"Titel": "BD", "index": 55},
"Contact Search Timestamp": {"Titel": "BE", "index": 56},
# BF-BH: Konsolidierte Daten & ML
"Finaler Umsatz (Wiki>CRM)": {"Titel": "BF", "index": 57},
"Finaler Mitarbeiter (Wiki>CRM)": {"Titel": "BG", "index": 58},
"Geschaetzter Techniker Bucket": {"Titel": "BH", "index": 59},
# BI-BO: Plausibilitäts-Checks
"Plausibilität Umsatz": {"Titel": "BI", "index": 60},
"Plausibilität Mitarbeiter": {"Titel": "BJ", "index": 61},
"Plausibilität Umsatz/MA Ratio": {"Titel": "BK", "index": 62},
"Abweichung Umsatz CRM/Wiki": {"Titel": "BL", "index": 63},
"Abweichung MA CRM/Wiki": {"Titel": "BM", "index": 64},
"Plausibilität Begründung": {"Titel": "BN", "index": 65},
"Plausibilität Prüfdatum": {"Titel": "BO", "index": 66},
# BP-BS: Metadaten
"Timestamp letzte Pruefung": {"Titel": "BP", "index": 67},
"Version": {"Titel": "BQ", "index": 68},
"Tokens": {"Titel": "BR", "index": 69},
"CRM ID": {"Titel": "BS", "index": 70}
}
COLUMN_MAP = {
# A-E: Stammdaten & Prozesssteuerung
"ReEval Flag": {"Titel": "A", "index": 0},
"CRM Name": {"Titel": "B", "index": 1},
"CRM Kurzform": {"Titel": "C", "index": 2},
"Parent Account Name": {"Titel": "D", "index": 3},
"CRM Website": {"Titel": "E", "index": 4},
# F-M: CRM-Daten
"CRM Ort": {"Titel": "F", "index": 5},
"CRM Land": {"Titel": "G", "index": 6},
"CRM Beschreibung": {"Titel": "H", "index": 7},
"CRM Branche": {"Titel": "I", "index": 8},
"CRM Beschreibung Branche extern": {"Titel": "J", "index": 9},
"CRM Anzahl Techniker": {"Titel": "K", "index": 10},
"CRM Umsatz": {"Titel": "L", "index": 11},
"CRM Anzahl Mitarbeiter": {"Titel": "M", "index": 12},
# N-Q: System & Parent Vorschläge
"CRM Vorschlag Wiki URL": {"Titel": "N", "index": 13},
"System Vorschlag Parent Account": {"Titel": "O", "index": 14},
"Parent Vorschlag Status": {"Titel": "P", "index": 15},
"Parent Vorschlag Timestamp": {"Titel": "Q", "index": 16},
# R-AB: Wikipedia Extraktion
"Wiki URL": {"Titel": "R", "index": 17},
"Wiki Sitz Stadt": {"Titel": "S", "index": 18},
"Wiki Sitz Land": {"Titel": "T", "index": 19},
"Wiki Absatz": {"Titel": "U", "index": 20},
"Wiki Branche": {"Titel": "V", "index": 21},
"Wiki Umsatz": {"Titel": "W", "index": 22},
"Wiki Mitarbeiter": {"Titel": "X", "index": 23},
"Wiki Kategorien": {"Titel": "Y", "index": 24},
"Wikipedia Timestamp": {"Titel": "Z", "index": 25},
"Wiki Verif. Timestamp": {"Titel": "AA", "index": 26},
"SerpAPI Wiki Search Timestamp": {"Titel": "AB", "index": 27},
# AC-AF: ChatGPT Wiki Verifizierung
"Chat Wiki Konsistenzpruefung": {"Titel": "AC", "index": 28},
"Chat Begründung Wiki Inkonsistenz": {"Titel": "AD", "index": 29},
"Chat Vorschlag Wiki Artikel": {"Titel": "AE", "index": 30},
"Begründung bei Abweichung": {"Titel": "AF", "index": 31},
# AG-AK: Website Scraping
"Website Rohtext": {"Titel": "AG", "index": 32},
"Website Zusammenfassung": {"Titel": "AH", "index": 33},
"Website Meta-Details": {"Titel": "AI", "index": 34},
"Website Scrape Timestamp": {"Titel": "AJ", "index": 35},
"URL Prüfstatus": {"Titel": "AK", "index": 36},
# AL-AU: ChatGPT Branchen & FSM Analyse
"Chat Vorschlag Branche": {"Titel": "AL", "index": 37},
"Chat Branche Konfidenz": {"Titel": "AM", "index": 38},
"Chat Konsistenz Branche": {"Titel": "AN", "index": 39},
"Chat Begruendung Abweichung Branche": {"Titel": "AO", "index": 40},
"Chat Prüfung FSM Relevanz": {"Titel": "AP", "index": 41},
"Chat Begründung für FSM Relevanz": {"Titel": "AQ", "index": 42},
"Chat Schätzung Anzahl Mitarbeiter": {"Titel": "AR", "index": 43},
"Chat Konsistenzprüfung Mitarbeiterzahl": {"Titel": "AS", "index": 44},
"Chat Begruendung Abweichung Mitarbeiterzahl": {"Titel": "AT", "index": 45},
"Chat Einschätzung Anzahl Servicetechniker": {"Titel": "AU", "index": 46},
# AV-AZ: ChatGPT Fortsetzung & FSM Pitch
"Chat Begründung Abweichung Anzahl Servicetechniker": {"Titel": "AV", "index": 47},
"Chat Schätzung Umsatz": {"Titel": "AW", "index": 48},
"Chat Begründung Abweichung Umsatz": {"Titel": "AX", "index": 49},
"FSM Pitch": {"Titel": "AY", "index": 50},
"FSM Pitch Timestamp": {"Titel": "AZ", "index": 51},
# BA-BE: LinkedIn Kontaktsuche
"Linked Serviceleiter gefunden": {"Titel": "BA", "index": 52},
"Linked It-Leiter gefunden": {"Titel": "BB", "index": 53},
"Linked Management gefunden": {"Titel": "BC", "index": 54},
"Linked Disponent gefunden": {"Titel": "BD", "index": 55},
"Contact Search Timestamp": {"Titel": "BE", "index": 56},
# BF-BH: Konsolidierte Daten & ML
"Finaler Umsatz (Wiki>CRM)": {"Titel": "BF", "index": 57},
"Finaler Mitarbeiter (Wiki>CRM)": {"Titel": "BG", "index": 58},
"Geschaetzter Techniker Bucket": {"Titel": "BH", "index": 59},
# BI-BO: Plausibilitäts-Checks
"Plausibilität Umsatz": {"Titel": "BI", "index": 60},
"Plausibilität Mitarbeiter": {"Titel": "BJ", "index": 61},
"Plausibilität Umsatz/MA Ratio": {"Titel": "BK", "index": 62},
"Abweichung Umsatz CRM/Wiki": {"Titel": "BL", "index": 63},
"Abweichung MA CRM/Wiki": {"Titel": "BM", "index": 64},
"Plausibilität Begründung": {"Titel": "BN", "index": 65},
"Plausibilität Prüfdatum": {"Titel": "BO", "index": 66},
# BP-BS: Metadaten
"Timestamp letzte Pruefung": {"Titel": "BP", "index": 67},
"Version": {"Titel": "BQ", "index": 68},
"Tokens": {"Titel": "BR", "index": 69},
"CRM ID": {"Titel": "BS", "index": 70}
}
# ==============================================================================
# 5. DEALFRONT AUTOMATION CONFIGURATION