Add tests for Kommunikation Sync implementation and verification scripts

- Implemented comprehensive tests for the Kommunikation Sync functionality, covering base64 encoding, marker parsing, creation, type detection, and integration scenarios.
- Added a verification script to check for unique IDs in Advoware communications, ensuring stability and integrity of the IDs.
- Created utility scripts for code validation, notification testing, and PUT response detail analysis to enhance development and testing processes.
- Updated README with details on new tools and their usage.
This commit is contained in:
2026-02-08 23:05:56 +00:00
parent a157d3fa1d
commit 7856dd1d68
37 changed files with 438 additions and 271 deletions

View File

@@ -0,0 +1,41 @@
# Analysis Scripts
Scripts für Analyse und Debugging von Sync-Problemen.
## Scripts
### analyze_beteiligte_endpoint.py
Analysiert Beteiligte-Endpoint in Advoware.
**Features:**
- Field-Analyse (funktionierende vs. ignorierte Felder)
- Response-Structure Analyse
- Edge-Case Testing
### analyze_sync_issues_104860.py
Spezifische Analyse für Entity 104860 Sync-Probleme.
**Analysiert:**
- Sync-Status Historie
- Timestamp-Vergleiche
- Konflikt-Erkennung
- Hash-Berechnung
### compare_entities_104860.py
Detaillierter Vergleich von Entity 104860 zwischen Systemen.
**Features:**
- Field-by-Field Diff
- Kommunikation-Arrays Vergleich
- Marker-Analyse
## Verwendung
```bash
cd /opt/motia-app/bitbylaw
python scripts/analysis/analyze_sync_issues_104860.py
```
## Zweck
Diese Scripts wurden erstellt, um spezifische Sync-Probleme zu debuggen und die API-Charakteristiken zu verstehen.