Commit Graph

5 Commits

Author SHA1 Message Date
Kadu
ba6ca3c7a0 fix: Fix report generation to respect data completeness check
- Modified generate_yearly_report(), generate_monthly_report(), and generate_period_report()
  to use force=False when downloading yearly data
- Removed hardcoded force=True that was bypassing the smart downloading logic
- Report generation now respects data completeness check and avoids unnecessary downloads
- Maintains backward compatibility and data integrity
- Reports are still generated with most current data when needed
2025-08-19 16:45:18 +02:00
Kadu
03ba5eb99e feat: Implement smart yearly data downloading with completeness check
- Added is_yearly_data_complete() function to check if yearly CSV files are complete
- Complete data criteria: file ends with 31.12.YYYY and starts with valid first working day
- Prevent re-downloading of complete yearly data files
- Improved efficiency by avoiding unnecessary downloads of multi-megabyte files
- Added proper CSV parsing for completeness checking
- Updated data_fetcher.py with intelligent download logic
- Maintains backward compatibility with force download option
2025-08-19 16:08:21 +02:00
kaaduu
06685c855a first commit 2025-08-19 15:02:55 +02:00
c55d3d6cee Delete README.md 2025-08-19 15:00:41 +02:00
kaaduu
5f4554854b first commit 2025-08-19 14:58:31 +02:00