AgentEvalTool/backend/agenteval/storage
sinohqb d411572607 refactor(storage): converge CRUD skeleton into BaseRepository
Target/Scenario/Run/Campaign repositories repeated the same
__init__/list_all/get/create/delete skeleton (~120 lines). Extract a
generic BaseRepository[M, DB]: subclasses declare the table + ordering
column and implement instance-method _to_db/_from_db converters (so
Scenario's _from_db can reach self.session for model bindings). Bespoke
paths (Scenario create/delete, all update) stay per-subclass. Adds
test_repository.py locking the CRUD + JSON round-trip contract.
2026-07-31 14:30:11 +08:00
..
__init__.py v0.2.0-dev: 文件管理 + 页面布局统一 + 6 个 bug 修复 2026-07-16 15:25:22 +08:00
db.py feat(campaigns): add Campaign persistence and create/query API 2026-07-30 11:56:19 +08:00
file_repository.py refactor(files): harden storage and split frontend 2026-07-17 17:41:19 +08:00
file_storage.py refactor(files): harden storage and split frontend 2026-07-17 17:41:19 +08:00
model_config_repository.py feat(models): add centralized model configuration 2026-07-17 20:02:43 +08:00
repository.py refactor(storage): converge CRUD skeleton into BaseRepository 2026-07-31 14:30:11 +08:00