Skip to content

Commit 3f67253

Browse files
committed
Add empirical weight calibration for scoring policy
- Implemented `WeightCalibrator` for fitting OLS regression to map score breakdowns to reference scores. - Introduced `calibrate_from_processed_artifacts` for convenience in reading existing artifacts and running calibration. - Added detailed docstrings and usage examples in `calibration.py`. - Created unit tests for calibration logic, including OLS helpers, weight normalization, and edge cases. - Developed tests for Markdown export functionality, ensuring proper formatting and content generation.
1 parent 29f72fc commit 3f67253

5 files changed

Lines changed: 1624 additions & 1 deletion

File tree

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
from portfolio_auditor.exports.csv_exporter import CsvExporter
22
from portfolio_auditor.exports.json_exporter import JsonExporter
3+
from portfolio_auditor.exports.markdown_exporter import MarkdownExporter
34

45
__all__ = [
56
"CsvExporter",
67
"JsonExporter",
7-
]
8+
"MarkdownExporter",
9+
]

0 commit comments

Comments
 (0)