Update Columns Map
This commit is contained in:
141
config.py
141
config.py
@@ -215,62 +215,91 @@ class Config:
|
||||
|
||||
# --- Spalten-Mapping (Single Source of Truth) ---
|
||||
# Version 1.8.0 - 68 Spalten (A-BP)
|
||||
COLUMN_MAP = {
|
||||
# CRM-Daten & Parent (A-N)
|
||||
"ReEval Flag": 0, "CRM Name": 1, "CRM Kurzform": 2, "Parent Account Name": 3,
|
||||
"CRM Website": 4, "CRM Ort": 5, "CRM Land": 6, "CRM Beschreibung": 7, "CRM Branche": 8,
|
||||
"CRM Beschreibung Branche extern": 9, "CRM Anzahl Techniker": 10, "CRM Umsatz": 11,
|
||||
"CRM Anzahl Mitarbeiter": 12, "CRM Vorschlag Wiki URL": 13,
|
||||
# System Parent Vorschlag (O-Q)
|
||||
"System Vorschlag Parent Account": 14, "Parent Vorschlag Status": 15, "Parent Vorschlag Timestamp": 16,
|
||||
# Wikipedia Daten & Verifizierung (R-AF)
|
||||
"Wiki URL": 17, "Wiki Sitz Stadt": 18, "Wiki Sitz Land": 19, "Wiki Absatz": 20, "Wiki Branche": 21,
|
||||
"Wiki Umsatz": 22, "Wiki Mitarbeiter": 23, "Wiki Kategorien": 24, "Wikipedia Timestamp": 25,
|
||||
"Wiki Verif. Timestamp": 26, "SerpAPI Wiki Search Timestamp": 27, "Chat Wiki Konsistenzpruefung": 28,
|
||||
"Chat Begruendung Wiki Inkonsistenz": 29, "Chat Vorschlag Wiki Artikel": 30, "Begruendung bei Abweichung": 31,
|
||||
# Website Daten (AG-AK)
|
||||
"Website Rohtext": 32, "Website Zusammenfassung": 33, "Website Meta-Details": 34,
|
||||
"Website Scrape Timestamp": 35, "URL Prüfstatus": 36,
|
||||
# ChatGPT Branchen-Evaluation (AL-AO)
|
||||
"Chat Vorschlag Branche": 37, "Chat Branche Konfidenz": 38, "Chat Konsistenz Branche": 39,
|
||||
"Chat Begruendung Abweichung Branche": 40,
|
||||
# ChatGPT FSM-Relevanz (AP-AQ)
|
||||
"Chat Prüfung FSM Relevanz": 41, "Chat Begründung für FSM Relevanz": 42,
|
||||
# ChatGPT Schätzungen (AR-AX)
|
||||
"Chat Schätzung Anzahl Mitarbeiter": 43, "Chat Konsistenzprüfung Mitarbeiterzahl": 44,
|
||||
"Chat Begruendung Abweichung Mitarbeiterzahl": 45, "Chat Einschätzung Anzahl Servicetechniker": 46,
|
||||
"Chat Begruendung Abweichung Anzahl Servicetechniker": 47, "Chat Schätzung Umsatz": 48,
|
||||
"Chat Begruendung Abweichung Umsatz": 49,
|
||||
|
||||
# FSM Pitch & Timestamp (NEUE GRUPPE)
|
||||
"FSM Pitch": 50,
|
||||
"FSM Pitch Timestamp": 51, # NEU
|
||||
|
||||
# LinkedIn Kontakte (Indizes verschoben)
|
||||
"Linked Serviceleiter gefunden": 52,
|
||||
"Linked It-Leiter gefunden": 53,
|
||||
"Linked Management gefunden": 54,
|
||||
"Linked Disponent gefunden": 55,
|
||||
"Contact Search Timestamp": 56,
|
||||
|
||||
# Finale Werte & Plausi (Indizes verschoben)
|
||||
"Finaler Umsatz (Wiki>CRM)": 57,
|
||||
"Finaler Mitarbeiter (Wiki>CRM)": 58,
|
||||
"Geschaetzter Techniker Bucket": 59,
|
||||
"Plausibilität Umsatz": 60,
|
||||
"Plausibilität Mitarbeiter": 61,
|
||||
"Plausibilität Umsatz/MA Ratio": 62,
|
||||
"Abweichung Umsatz CRM/Wiki": 63,
|
||||
"Abweichung MA CRM/Wiki": 64,
|
||||
"Plausibilität Begründung": 65,
|
||||
"Plausibilität Prüfdatum": 66,
|
||||
|
||||
# Systemspalten (Indizes verschoben)
|
||||
"Timestamp letzte Pruefung": 67,
|
||||
"Version": 68,
|
||||
"Tokens": 69,
|
||||
"CRM ID": 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
|
||||
|
||||
Reference in New Issue
Block a user