[GAP-047]: offline weight rescore study complete
- tools/rescore: add offline equal-vs-designed weight rescore script - tools/rescore: write GAP-047 JSON and markdown evidence - docs/00-governance: propose DEC-20260823-01 and update status - SPRINT_BOARD.md: mark GAP-047 Part 1 complete Build: clean | Tests: 511 passing; Core 422 passing | Runtime change: no
This commit is contained in:
@@ -16,7 +16,7 @@ Full detail: `docs/NT8_SDK_Master_Document_v7.0_Complete.docx`.
|
||||
| 2 | **GAP-045/046 guards** — resolved: MNQ (cutover staged separately) + per-position semantics | `TASK_GAP045_GAP046_RISK_GUARDS_PROMPT.md` (Part 3 now actionable) | Kilocode, on current NQ config | All high-ATR days |
|
||||
| 3 | **GAP-048** — split the reject taxonomy | `TASK_GAP048_REJECT_TAXONOMY_PROMPT.md` | Kilocode | Nothing — diagnostics only, safe now |
|
||||
| 4 | **GAP-055** — persist `MaxDailyTrades` across restarts | `TASK_GAP055_MAXDAILYTRADES_PERSIST_PROMPT.md` | Kilocode | Gate Run #3 sample integrity |
|
||||
| 5 | **GAP-047 Part 1** — offline factor-weight re-scoring study | `TASK_GAP047_WEIGHT_RESCORE_PROMPT.md` | Kilocode | Nothing — analysis only. **Highest value on the board** |
|
||||
| 5 | **GAP-047 Part 1** — offline factor-weight re-scoring study | `TASK_GAP047_WEIGHT_RESCORE_PROMPT.md` — completed 2026-08-23, evidence in `tools/rescore/`, DEC-20260823-01 proposed | Kilocode | Part 2 blocked on operator weighting decision |
|
||||
| 6 | **GAP-054** — auto-breakeven destroys the runner trail | `TASK_GAP054_RUNNER_TRAIL_PROMPT.md` — **Option 0 implemented + source-verified 2026-08-21, NOT yet SIM-validated, NOT committed** | Kilocode implemented; operator validates | **RUNNER-001**, still blocked until SIM/replay validation passes |
|
||||
| 7 | **GAP-049** — telemetry `STATE:` score is direction-incorrect | `TASK_GAP049_TELEMETRY_DIRECTION_PROMPT.md` | Kilocode | Dashboard trustworthiness; degrades item 5 |
|
||||
| 8 | **MNQ cutover** — reconfigure instrument, retune risk params for $0.50/tick, fresh Gate 3 freeze | not yet staged as its own TASK file | Operator + Kilocode | Only after items 2, 4, 5, 6 pass validation on NQ |
|
||||
|
||||
@@ -1,5 +1,26 @@
|
||||
# Current Status — NT8 SDK
|
||||
**Last Updated:** 2026-08-21 (GAP-054 implemented and source-verified, not yet validated or committed — see below)
|
||||
**Last Updated:** 2026-08-23 (GAP-047 Part 1 offline re-scoring study complete; decision proposed)
|
||||
|
||||
---
|
||||
|
||||
## 2026-08-23 — GAP-047 Part 1 COMPLETE, runtime change not started
|
||||
|
||||
Kilocode executed `TASK_GAP047_WEIGHT_RESCORE_PROMPT.md` as an analysis-only study. No runtime trading source was changed.
|
||||
|
||||
Evidence produced:
|
||||
- `tools/rescore/rescore_weights.py`
|
||||
- `tools/rescore/GAP-047_weight_rescore_output.md`
|
||||
- `tools/rescore/GAP-047_weight_rescore_output.json`
|
||||
- DEC-20260823-01 proposed in `docs/00-governance/decisions.md`
|
||||
|
||||
Key findings:
|
||||
- 182 session logs scanned from `C:\Users\billy\Documents\NinjaTrader 8\log\nt8-sdk`, including `ARCHIVE`.
|
||||
- Required arithmetic check passed: `session_20260818_071117.log` 10:10:11.833 reproduced equal=0.640 and designed=0.727.
|
||||
- `STATE:` telemetry population: 923 samples; designed weights crossed Grade A while equal weights did not in 82 samples, and crossed Grade B while equal weights did not in 164 samples.
|
||||
- Real signal factor population: 81 samples; designed weights crossed Grade A while equal weights did not in 25 samples.
|
||||
- Current corpus had 0 `SIGNAL_DETAIL:` lines; real signal scoring used `SIGNAL` lines followed by numeric `Factors:` breakdowns. `STATE:` telemetry remains direction-degraded by GAP-049 and is reported separately.
|
||||
|
||||
Next required action: operator accepts or rejects the proposed weighting direction, then GAP-047 Part 2 is staged as a separate runtime-change prompt because it changes score behavior and `ConfigHash`.
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -13,6 +13,17 @@ Use this file to record durable project decisions that affect implementation pat
|
||||
|
||||
## Decision Log
|
||||
|
||||
### DEC-20260823-01
|
||||
- **ID:** DEC-20260823-01
|
||||
- **Date:** 2026-08-23
|
||||
- **Status:** proposed
|
||||
- **Context:** GAP-047 Part 1 completed the offline equal-weight versus designed-weight re-scoring study against existing NT8 SDK session logs. The study scanned 182 `session_*.log` files under `C:\Users\billy\Documents\NinjaTrader 8\log\nt8-sdk`, including `ARCHIVE`, and reproduced the required worked example from `session_20260818_071117.log` at 10:10:11.833: equal=0.640, designed=0.727. The `STATE:` telemetry population remains direction-degraded by GAP-049 and is reported separately from real signal samples. No runtime trading code was changed.
|
||||
- **Evidence:** `tools/rescore/GAP-047_weight_rescore_output.md` and `.json`. Headline results: `STATE:` telemetry samples=923, designed weights crossed A while equal weights did not in 82 samples and crossed B while equal weights did not in 164 samples. Real signal factor samples=81, designed weights crossed A while equal weights did not in 25 samples. Current logs contained 0 `SIGNAL_DETAIL:` lines; signal scoring used real `SIGNAL` lines followed by their numeric `Factors:` breakdowns.
|
||||
- **Decision:** Proposed operator decision: proceed to GAP-047 Part 2 planning with an explicit weighting policy decision. The study supports replacing accidental equal 1.00 weights with the designed factor weights or making the weighting model configuration-driven, but the runtime change must be staged separately because it changes scoring behavior and `ConfigHash`.
|
||||
- **Consequences:** Designed weights would materially increase grade eligibility in the direction-degraded telemetry population and upgrade a meaningful subset of real signal samples to Grade A. Because some real signal samples also downgrade under designed weights, the decision should be treated as a scoring-policy change rather than a pure relaxation. A fresh configuration freeze is required before any gate evidence is collected after implementation.
|
||||
- **Related Files:** `tools/rescore/rescore_weights.py`, `tools/rescore/GAP-047_weight_rescore_output.md`, `tools/rescore/GAP-047_weight_rescore_output.json`, `TASK_GAP047_WEIGHT_RESCORE_PROMPT.md`
|
||||
- **Action Required:** Operator to accept/reject the proposed direction, then stage GAP-047 Part 2 as a separate runtime-change prompt.
|
||||
|
||||
### DEC-20260821-01
|
||||
- **ID:** DEC-20260821-01
|
||||
- **Date:** 2026-08-21
|
||||
|
||||
Reference in New Issue
Block a user