5 Commits

Author SHA1 Message Date
14fce229c5 Revert "fix: i18n JSON files not included in wheel package"
This reverts commit cb42f110c16482662251f55bd847f7e8f6ea434c.
2026-07-27 11:15:31 +08:00
cb42f110c1 fix: i18n JSON files not included in wheel package
Root cause: no __init__.py in i18n/*/ subdirs, so setuptools
packages.find() skipped them. pyproject.toml also lacked
[tool.setuptools.package-data] for *.json glob.

Fixes:
- Add __init__.py to i18n/ and each language subdir (zh/en/jp/ko)
- Add [tool.setuptools.package-data] "*" = ["*.json"]
- Add build/ to .gitignore

Verified: wheel now includes all 4 i18n.json files.
2026-07-27 11:07:14 +08:00
8a97ea4a86 refactor: rename sage_datamark → sage_datamart + add ETL cron + stat UIs
- Rename package directory and all references from sage_datamark to sage_datamart
- Add 3 ETL cron dspy files (sync/aggregate/provider_cost) for scheduled data pipelines
- Add 5 stat UI files (total_users/fail_calls/success_rate/avg_ttft/total_calls)
- Register j2_ template functions in init.py for UI rendering
- Move j2_avg_ttft SQL to dashboards.py for DRY
- Clean unused imports (getConfig/DBPools/exception)
- Update git remote to sage_datamart.git
2026-07-20 10:49:15 +08:00
8aafb31ef4 rename: data_mart → sage_datamark 2026-07-17 17:20:13 +08:00
4d24094048 feat: data_mart module — model perf monitoring + provider ROI dashboard 2026-07-17 16:56:52 +08:00