Dev howiemen - #4
Merged
Merged
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.