Skip to content

Dev howiemen - #4

Merged
HowieMen merged 3 commits into
mainfrom
dev-howiemen
Aug 25, 2026
Merged

Dev howiemen#4
HowieMen merged 3 commits into
mainfrom
dev-howiemen

Conversation

@HowieMen

Copy link
Copy Markdown
Contributor

No description provided.

- Clarify that `transition`/`record_fill` use `object.__setattr__` to write frozen fields rather than to "bypass" freezing, emphasizing engine/broker exclusivity.
- Reword `DataView.portal` privacy rationale to state strategies cannot read data beyond `visible_through`, rather than only "bypass" it.
- Strengthen Section 6 framing from "不允许绕过" to "必须严格生效,不可通过代码路径绕开".
- Tighten Rule 11 to forbid modifications not routed through `broker` and Rule 12 to forbid leaving a half-day ledger after any exception.
- Add v0.1.3 entry: fix volatility/Sharpe dropping day-0 return due to zero-seed re-derivation in `metrics.compute_metrics`; remove dead `_drawdown_series` helper; replace regression test with hand-calculated one.
- Add v0.1.2 entry: fix `resolve_source_location` to accept absolute paths; redact absolute paths from `run_metadata.json` via `os.path.relpath`; reject impossible calendar dates in `validate_yyyymmdd`; fix pyproject.toml / CLI test / README documentation drift.
- Add 6 get_factor parity tests to test_portal_parity.py (task 24.1)
- Remove non-existent get_bar(symbol, date) reference in mvp-contract.md §3.3 (task 24.2)
- Fix DataView._portal privacy wording to reflect Python semantics (task 24.3)
- Collapse duplicate "00000000" sentinel to single SENTINEL_NO_HISTORY in data.validators
- Harden test_version_matches_pyproject with whitespace and semver shape checks
- Update README badge and status to v0.1.4
@HowieMen
HowieMen merged commit 8b31cf9 into main Aug 25, 2026
0 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant