PerDiemo

2.1 Generative AI vs. Magic Wand: NLP Translation vs. Deterministic Calculation Engine

PerDiemo User Guide & Statutory Documentation: 2.1 Generative AI vs. Magic Wand: NLP Translation vs. Deterministic Calculation Engine.

PerDiemo Documentation v1.0 Valid for 2026 Legislation

2.1 Generative AI vs. Magic Wand: NLP Translation vs. Deterministic Calculation Engine

A core architectural principle of PerDiemo is the strict distinction between Generative AI and the Magic Wand.

Feature UI Screenshot
Feature UI Screenshot

---

1. Generative AI (Gemini NLP Translator)

Role: Translating raw human text into structured data.

When you paste an informal note from your calendar or email, Generative AI (Google Gemini) performs Natural Language Processing (NLP). It extracts timestamps, cities, transport modes, and meal flags into structured JSON format.

AI does NOT calculate monetary figures or statutory allowances. It acts purely as a smart language translator.

---

2. Magic Wand (Deterministic Legislative Algorithm)

Role: 100% exact mathematical and legal calculation.

Once structured data is ready, the Magic Wand — PerDiemo's deterministic calculation engine — takes over.

This deterministic engine executes exact statutory rules:
1. Pinpoints border crossing events (border crossing).
2. Runs geodesic and road-network road distance routing.
3. Injects recommended 3-hour pre-flight airport check-in buffers.
4. Fetches official CNB exchange rates (Section 184 Labor Code).
5. Evaluates statutory duration tiers (Section 170 Labor Code).
6. Applies statutory meal reductions with a guaranteed 5% statutory minimum retention (Section 179 (4) Labor Code).
7. Falls back to statutory OZZ (Other Countries) rates for unlisted destinations.

Recommended Links & Related Sections