mathias2784
|
44d4e58036
|
Fix active category lookup and README usage examples
Tests / test (push) Successful in 16s
Tests / lint (push) Successful in 15s
|
2026-10-27 19:07:21 +01:00 |
|
mathias2784
|
e5534aba34
|
merge main incl. conflict resolution
Tests / test (push) Successful in 19s
Tests / lint (push) Successful in 16s
|
2026-10-27 19:01:45 +01:00 |
|
mathias2784
|
40e5a05ec9
|
exclude tests from mypy check
|
2026-10-27 18:43:51 +01:00 |
|
mathias2784
|
048a6c6f38
|
Add temporal validity and lifecycle tracking to categories
|
2026-10-27 18:39:53 +01:00 |
|
mathias2784
|
d4ebab96d6
|
Fix category budget overlaps and document the uv run test workflow.
Tests / test (push) Successful in 11s
Tests / lint (push) Successful in 12s
|
2026-10-18 09:40:31 +02:00 |
|
mathias2784
|
ea7854473f
|
Add category-list factory and seed categories in B4W smoke test
Tests / test (push) Successful in 23s
Tests / lint (push) Failing after 15s
|
2026-10-18 09:28:19 +02:00 |
|
mathias2784
|
c0adc77f56
|
initial load of categories
Tests / test (push) Successful in 11s
Tests / lint (push) Successful in 11s
|
2026-10-18 08:43:45 +02:00 |
|
mathias2784
|
1fcaec8daf
|
mypy black ruff
Tests / test (push) Successful in 11s
Tests / lint (push) Successful in 11s
|
2026-10-16 22:51:11 +02:00 |
|
mathias2784
|
553e1a4c83
|
Refactor domain_utils.py overlap helpers, add ONE_DAY constant, remove inflated comments, and standardize _add_row() calls
Tests / test (push) Successful in 11s
Tests / lint (push) Failing after 7s
|
2026-10-16 22:30:36 +02:00 |
|
mathias2784
|
98a5e9332f
|
some fixes
Tests / test (push) Successful in 16s
Tests / lint (push) Failing after 12s
|
2026-10-16 22:15:19 +02:00 |
|
mathias2784
|
2c7f8f4a67
|
Add tests for category budgets and new functionality
Tests / test (push) Successful in 10s
Tests / lint (push) Failing after 7s
New test files added:
- test_category_edge_cases.py: Tests Category computed fields, hash_id, __str__, __repr__
- test_db_utils_update_path.py: Tests for updated upsert() path handling
- test_models_common.py: Tests Sign enum, date2str, ExportBaseModel methods
- test_models_init.py: Tests for lazy loading from models.__init__.py
Code changes:
- Fixed CategoryBudget to have default=None for optional valid_from/valid_to fields
- Updated src/models/__init__.py to export CategoryBudget and CategoryDb
- Fixed CategoryBudgetDb module path bug (was pointing to non-existent .category_budget)
- Improved db_utils.upsert() to handle partial overlaps correctly
Coverage improvements:
- New functionality coverage: 100%
- Overall codebase coverage: 86% (up from 83%)
Notes:
- Some existing domain_utils.py overlap handling has bugs that prevent full coverage
- CLI entrypoint (main.py) and some enum methods remain uncovered but are optional
|
2026-10-16 21:53:38 +02:00 |
|
mathias2784
|
dc98ea910f
|
utility functions for category
Tests / test (push) Successful in 16s
Tests / lint (push) Successful in 17s
|
2026-10-16 21:12:57 +02:00 |
|
mathias2784
|
da0a78d2d0
|
yet another refactor
|
2026-10-16 16:47:08 +02:00 |
|
mathias2784
|
5cea645062
|
Some more refactoring
Tests / test (push) Successful in 10s
Tests / lint (push) Successful in 11s
|
2026-10-16 16:27:50 +02:00 |
|
mathias2784
|
ef1a65adeb
|
some refactoring
|
2026-10-16 15:27:41 +02:00 |
|
mathias2784
|
696823406e
|
Extract Category model into src/models/category.py
Tests / test (push) Successful in 10s
Tests / lint (push) Successful in 11s
|
2026-10-16 12:29:11 +02:00 |
|
mathias2784
|
c7e4b68dfb
|
Fix comdirect CSV reader for neu group header rows
|
2026-10-16 12:28:57 +02:00 |
|
mathias2784
|
435f7b92bf
|
Add category_budget satellite table for time-bounded per-category budgets
Tests / test (push) Successful in 10s
Tests / lint (push) Successful in 12s
|
2026-10-16 11:45:13 +02:00 |
|