Commit Graph

3 Commits

Author SHA1 Message Date
Docker Config Backup
8cbc9771ae Fix: Correctly fill refueling data for multiple refuelings per day
Problem: Both refueling forms for the same date were being filled with
refuel_1 data because the logic checked current_km value which was "0"
for both forms initially.

Solution: Track refueling form number per date using refuel_counter dict.
First refueling form gets data from "Tankováno při 1 [km]", second gets
data from "Tankováno při 2 [km]".

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 20:12:24 +02:00
Docker Config Backup
f0bbc305c9 Fix: Set both end km and traveled km in journey forms
Problem: Website was recalculating traveled km based on previous row's
end km, causing chain reaction of incorrect values (only 52% match rate).

Solution: Explicitly set f_cil_km (end km) in addition to f_ujeto
(traveled km) to prevent website from auto-calculating incorrect values.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 20:05:36 +02:00
Docker Config Backup
3b5d9fd940 Initial commit - Journey book (kniha jízd) automation system
Features:
- FastAPI backend for scraping attendance and journey book data
- Deterministic kilometer distribution with random variance
- Refueling form filling with km values
- Next.js frontend with date range selector
- Docker deployment setup

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 15:41:11 +02:00