Repository navigation
Project Tracker
Open tasks and known bugs for FXNews. Numbers are stable task ids from the production audit started 2026-09-13; last updated 2026-09-13.
Status values: Open, Start, Progress, Test, Audit, Done, Deferred. A task is Done only after it compiled cleanly (tools/build-macos.sh), passed the census (tools/census.py), passed the headless self-test (tools/selftest-macos.sh) and was re-read against its original finding.
Progress: 120 of 120 done (Done 120).
Line numbers refer to FXNews.mq5 at commit 9069ca3 (version 2.3) unless stated.
Independent pre-production audit of the whole repository, run on branch audit/2026-09-15 from base commit 71ce980, and merged by pull request only after the final phase passed. The authoritative ledger lives in the repository at AUDIT/ledger.md / AUDIT/ledger.json; this page mirrors it and the ledger wins on any conflict.
total 52 | done 16 | open 36 | blocked 0 | S0:1 S1:11 S2:19 S3:21
| # | Sev | Status | Area | What |
|---|---|---|---|---|
| F-011 | S2 | START | dashboard | g_signal_history_dirty is never cleared while active signal rows are rendered, forcing a full dashboard rebuild every scan |
| F-012 | S2 | START | scoring | wick_rejection_penalty is subtracted from the breakout blend without its weight being added to the normaliser |
| F-013 | S2 | START | dashboard | DominantCurrencyFlow's own_group key makes every timeframe of one symbol share a correlation group, so at most one of them can ever alert |
| F-014 | S2 | START | tooling | The Wine path, WINEPREFIX and MT5 path constants are duplicated across the two gate scripts and can drift |
| F-015 | S2 | START | tooling | The indicator, the harness and the gate script are coupled by undocumented string literals with no contract test |
| F-016 | S2 | START | ops | No CI workflow: the three release gates are never run automatically |
| F-017 | S2 | START | validation | MaxQuoteAgeSeconds and FullHoldScoreSeconds have no upper bound, so extreme values silently disable the freshness gate or make the HYBRID hold clause unreachable |
| F-018 | S2 | START | scoring | single_feature_cap is applied without checking that the feature it measures was evaluated |
| F-019 | S2 | START | scoring | The +0.05 synergy bonus is awarded on component scores without checking that either engine passed or was measured |
| F-020 | S2 | START | scoring | RobustZ returns 0 for degenerate dispersion while the caller still reports the z as available |
| F-021 | S2 | START | dashboard | WrapLabelText wraps report lines at 63 characters but SetDashboardRow re-clips them to the measured pixel limit, truncating the wrapped tail |
| F-022 | S2 | START | dashboard | UpdateActivityStatusLine recomputes CountDashboardObjects (up to 40 ObjectFind calls) on every scan that skips the full dashboard |
| F-023 | S2 | START | tests | No test exercises any ValidateInputs rejection path |
| F-024 | S2 | START | tooling | build-macos.sh cannot distinguish 'Wine cannot execute' from 'the compiler produced no result line', and reports the wrong exit code |
| F-025 | S2 | START | ops | A live-looking GitHub PAT was supplied in plaintext and is present in the agent session transcript |
| F-048 | S2 | START | historical | The historical reports print the same generic interpretation whether or not higher score buckets actually produced better outcomes |
| F-049 | S2 | START | tests | Alert dispatch, correlation grouping and dashboard rendering still have no automated coverage |
| F-010 | S3 | START | historical | The 85+ bucket in the historical report is unreachable (now empirically confirmed; the wiki already documents the empty bucket, so only the unannotated report row remains) |
| F-026 | S3 | START | tooling | ruff F541: two f-strings without placeholders |
| F-027 | S3 | START | tooling | ruff format drift: the only Python file is not formatted to the formatter's standard |
| F-028 | S3 | START | tooling | shfmt drift in both shell scripts |
| F-029 | S3 | START | tooling | tools/census-allow.txt is documented and defaulted to but does not exist |
| F-030 | S3 | START | tooling | .coverage is not ignored, so the coverage artifact required by the audit brief can be committed by accident |
| F-031 | S3 | START | repo | One contributor appears under three different author identities |
| F-034 | S3 | START | docs | Known-Limitations calls all three gates macOS-only, but census.py is cross-platform |
| F-035 | S3 | START | docs | Development-Guide both denies and documents the release process, and lists 'test' among commands that do not exist |
| F-036 | S3 | START | docs | The tracker describes itself as open tasks and known bugs while showing 120/120 done, and its line-number baseline still says version 2.3 |
| F-037 | S3 | START | docs | The documented version-bump procedure requires a deployment clone at MQL5/Indicators/FXNews/ that does not exist on this machine |
| F-038 | S3 | START | scoring | Unreachable guard: total_weight can never be zero |
| F-039 | S3 | START | docs | The age_free_score field comment understates what the value excludes |
| F-040 | S3 | START | logic | The hard 95 ceiling is the only cap that records no reason string |
| F-041 | S3 | START | logic | Redundant threshold re-check in IsConfirmedSignal for CONFIRM_BAR_CLOSE |
| F-042 | S3 | START | dashboard | PushSignalHistory's shift loop copies empty slots when the list is not yet full |
| F-043 | S3 | START | logic | SmoothStep silently re-orients reversed edges instead of surfacing a configuration error |
| F-044 | S3 | START | docs | The ATR definition (simple mean of true range, not Wilder smoothing) is undocumented |
| F-045 | S3 | START | tooling | --install creates the destination directory silently and never verifies the terminal can load the binary |
None.
| # | Sev | Area | What | Evidence |
|---|---|---|---|---|
| E-1 | S0 | tooling | Build and self-test gates cannot execute: bundled wine64 is x86_64 and Rosetta 2 was absent on all four Macs | Rosetta install finished successfully; arch -x86_64 /usr/bin/true OK; wine64 --version -> wine-9.14; ./tools/build-macos.sh -> 0 errors, 0 warnings, exit 0; ./tools/selftest-macos.sh -> 117 passed, 0 failed |
| E-2 | S1 | tooling | No MQL5 formatter, linter, static analyzer, SAST scanner or coverage tool exists | AUDIT/environment.md section 2 records the gap and the compensating controls |
| E-3 | S1 | verification | The historical end-to-end gates cannot reach green in this environment until M1 history is available at run time | Both historical modes now run end to end on real broker history. --validation exit 0: 50000 M1 bars, 2589 boundaries evaluated, Signals=601 (reproduced twice). --autotune exit 0: 9 candidates over 2584 boundaries, 'Current: signals=603 avgScore=74.7 PF=0.79 AvgR30=-0.134 Hit30=35.7%', a ranked best candidate, recommended settings printed, and 'Applied: no runtime change' - the advisory boundary holds. The AUTOTUNE wait also exercised the timeout branch: EURUSD consumed its full 60 s budget and was skipped while GBPUSD loaded ('2/2 symbols processed (GBPUSD, 50000 M1 bars, 48.8 days)'). |
| F-002 | S1 | scoring | UpdateSessionBaseline folds active_trigger_tick_volume into the tick-volume baseline unguarded, while the adjacent line explicitly guards the tick rate | New self-test group 'session baselines'. BEFORE (temporary restore of shared-counter readiness): 'session baseline: a single rate sample is not yet a baseline' FAILED; RESULT 122 passed, 1 failed of 123 assertions; selftest exit 1. AFTER: RESULT 123 passed, 0 failed of 123; exit 0. Build 0 errors/0 warnings; census 0 findings; shellcheck clean; ruff/mypy --strict/bandit clean. |
| F-003 | S1 | scoring | movement_5m_pips falls back to a 0.0 sentinel when the M1 copy fails and is then consumed as a measured value by three components | New self-test group 'exhaustion availability'. BEFORE (availability gate removed): 1 assertion FAILED - 'ComposeSignalScore ignores an overextension reading that was not measured'; RESULT 134 passed, 1 failed of 135; exit 1. AFTER: RESULT 135 passed, 0 failed of 135; exit 0. Historical regression: --validation still reports 50000 bars, 2589 boundaries, Signals=601, Avg score=74.7, PF=0.79 - identical to before the change, confirming the live path was the one affected. Build 0/0; census 0 findings; shellcheck clean. |
| F-004 | S1 | historical | Historical impulse evaluation forces acceleration_available and continuation_available to true, hard-coding weights for inputs that may be unmeasurable | New self-test group 'impulse availability'. BEFORE (forced flags restored): 1 assertion FAILED - 'impulse blend: unavailable terms leave the normaliser (got 0.600000, expected 1.000000)'; RESULT 129 passed, 1 failed of 130; exit 1. AFTER: RESULT 130 passed, 0 failed of 130; exit 0. Build 0/0; census 0 findings; shellcheck clean. |
| F-005 | S1 | historical | Historical execution gate applies cost_to_atr unconditionally, so VALIDATION/AUTOTUNE do not reproduce the live filter set when UseStrictExecutionGate is off | New self-test group 'execution gate'. BEFORE (unconditional ceiling restored): 2 assertions FAILED ('a high cost-to-ATR passes when the strict gate is off', 'the spread-z ceiling is strict-gated as well'); RESULT 126 passed, 2 failed of 128; exit 1. AFTER: RESULT 128 passed, 0 failed of 128; exit 0. Build 0/0; census 0 findings. |
| F-006 | S1 | historical | Two composite caps are structurally inert in history, so historical scores are systematically less penalised than live scores | Real run: ./tools/selftest-macos.sh --validation exit 0 prints 'Model limits: hold below the scan timeframe is not resolvable and intra-bar / re-entry is not tracked, so hold_score saturates and fakeout_penalty is 0; / weak_hold_cap and range_snapback_cap cannot bind here, unlike a live scan.' Build 0 errors / 0 warnings. Report and documentation change only, so there is no fail-before test; the evidence is the emitted report text. |
| F-007 | S1 | tests | The availability-and-composer self-test assertion cannot detect an exclusion regression | BEFORE (imputing weight restored): the new assertion FAILED - 'leaves the blend unchanged when a component is unmeasured (got 27.257710, expected 53.943724)'; RESULT 129 passed, 2 failed of 131; exit 1. AFTER: RESULT 131 passed, 0 failed of 131; exit 0. Build 0/0; census 0 findings; shellcheck clean. |
| F-008 | S1 | tests | The live signal lifecycle, correlation grouping, alert dispatch and dashboard rendering have no automated coverage | Introduced the test and proved it detects the defect class by reintroducing the real 2.x regression (active TTL hard-coded to 300 s, tracker task 13). BEFORE: 2 assertions FAILED - 'the age limit ends the signal into a cooldown' and 'a running cooldown holds that direction out'; RESULT 138 passed, 2 failed of 140; exit 1. AFTER: RESULT 140 passed, 0 failed of 140; exit 0. Build 0/0; census 0 findings; shellcheck clean. A first injection targeted EventAgeLimitSeconds() and correctly did NOT fail the test, because that function feeds the composer's age cap rather than the active-state TTL; the injection site was corrected and the false negative is recorded in the commit so a green result is not mistaken for proof. |
| F-046 | S1 | tooling | The historical gate passed a VALIDATION report that had read no data at all | BEFORE: 'selftest: OK (validation report complete, Signals=0)', exit 0. AFTER: 'selftest: FAILED (validation read no history: 0 symbol(s) loaded, 0 M1 bar(s), 0 boundar(ies) evaluated)', exit 1, with guidance to open an M1 chart. shellcheck clean. |
| F-047 | S1 | historical | The historical modes treat the first empty M1 copy as final, so a history download in progress yields an empty report | The gate is the unit under test. BEFORE (retry disabled): 'Symbols 0/2 | M1 bars=0', 'selftest: FAILED (validation read no history ...)', exit 1 - run twice. AFTER: 'Symbols 1/2 | Profiles with data=2 | M1 bars=50000', 'Boundaries: evaluated 2589 of ~10683', 'Signals=601', gate OK, exit 0 - run twice (2588/605 then 2589/601). Falsification attempted: the retry-disabled version was re-run after a successful populated run with the same terminal state and still read 0 bars, which rejects cache warming as the explanation. |
| F-001 | S2 | scoring | ComputeBreakoutStructure did not initialise its own output, so the documented pure shared function returned garbage to a direct caller (originally filed as a hold_score imputation) | New self-test group 'breakout hold'. BEFORE (caller-dependent form restored): 2 assertions FAILED ('an unbroken box is measured, not passing, zero hold', 'weights a sustained hold above a zero hold'); RESULT 131 passed, 2 failed of 133; exit 1. AFTER: RESULT 133 passed, 0 failed of 133; exit 0. Build 0/0; census 0 findings. |
| F-009 | S2 | scoring | session_baseline_ready is a single flag for three independent baselines, so a z-score can be reported as measured when its own baseline never received samples | New self-test group 'session baselines'. BEFORE (temporary restore of shared-counter readiness): 'session baseline: a single rate sample is not yet a baseline' FAILED; RESULT 122 passed, 1 failed of 123 assertions; selftest exit 1. AFTER: RESULT 123 passed, 0 failed of 123; exit 0. Build 0 errors/0 warnings; census 0 findings; shellcheck clean; ruff/mypy --strict/bandit clean. |
| F-032 | S3 | docs | The gate script's header comment states the wrong assertion count (72; actual 117) | grep -rnE '[0-9]+ (pure-helper )?assertions' README.md CLAUDE.md tools/ returns no match; the gate still reports its total at runtime ('RESULT: 130 passed, 0 failed of 130 assertions'). |
| F-033 | S3 | docs | The wiki Testing page hard-codes the assertion total on the same page that promises it never has to | Wiki commit 'docs: stop hard-coding the self-test assertion total'; Testing-and-Validation.md:11 and Architecture.md:49 reworded. |
| # | Status | Task |
|---|---|---|
| 1 | Done | tools/census.py: automated dead-code / placeholder census (Python 3.14). |
| 2 | Done | tools/selftest-macos.sh + tools/mql5/FXNewsSelfTest.mq5: headless self-test harness. |
| 3 | Done | build-macos.sh: MetaEditor timeout, mktemp -d (leaked temp file), wine exit status, cd failure handling, log-path space guard, iconv partial fallback, header comments (usage, exit codes). |
| 4 | Done | build-macos.sh: opt-in --install flag copying FXNews.ex5 to MQL5/Indicators/FXNews/. |
| 5 | Done | Wiki Project-Tracker page created and kept current. |
| # | Status | Task |
|---|---|---|
| 6 | Done | 4774 CalendarValueHistory returns bool assigned to int count -> out-of-range read on empty array; available must mean "call succeeded", relevant_event_nearby means "event in window"; skip non-DATETIME time_mode events. |
| 7 | Done | 6234 CopyTicks(from,count) returns the oldest ticks -> newest cut during bursts; request last N and filter by from_msc; cap MinCopyTicksForGoodQuality <= MAX_COPY_TICKS in ValidateInputs. |
| 8 | Done | 3393/3553 rolling range box absorbs the breakout bar at trigger-bar rollover -> self-invalidation; freeze the box while an event is live. |
| 9 | Done | 1327 Autotune flips to LIVE (report wiped, alerts may fire); remove; both historical modes stay parked. |
| 10 | Done | 614-624 run-state globals never reset in OnInit (self-test/backtest never re-run after parameter change, stale history, alert windows); add ResetRuntimeState(). |
| 11 | Done | 4919/3941 CONFIRM_BAR_CLOSE cannot confirm on TF > M5 (300 s age caps zero the candidate); age caps must be scaled to the scan timeframe for candidates. |
| 12 | Done | 5174/5207 ActivateSignal on an already-active signal fails IsConfirmedSignal in BAR_CLOSE (candidate_bar_time cleared) -> no strong-upgrade alerts, no history update, flip unreachable; HYBRID hold clause trivially true when candidate_start_time==0. |
| 13 | Done | 5083/5095/3942 hard-coded 300 s override SignalTTLSeconds and make ExpireOldSignals a no-op; derive from SignalTTLSeconds. |
| 14 | Done | 5091 grace period before ending a decayed signal uses DisplayUpdateSeconds; dedicated constant. |
| 15 | Done | 4286 currency-flow directional_edge includes the pair's own move (self-confirmation); leave-one-out strength per pair. |
| 16 | Done | 4639 CalculateBasketAgreement counts same-symbol sibling profiles as peers; exclude same symbol. |
| 17 | Done | 3145/6195 dead-feed detection: quote age from TimeCurrent (frozen when no ticks) and tick gap reset to 0 on scans without a new tick; use TimeTradeServer + TERMINAL_CONNECTED and retain the last inter-arrival gap. |
| 18 | Done | 5725/5836/5872 recent-signal list: force a visible refresh when an entry is inserted (row can be dropped before rendering), define persistence semantics (no removal/re-insert flicker; dwell protects only from eviction), stable newest-first invariant. |
| 19 | Done | 180/5775 list threshold 75 hard-coded vs MinDisplayConfidence/StrongAlertConfidence; new input RecentListMinScore (default 75) validated >= MinDisplayConfidence; documented. |
| 20 | Done | 4006/4072 execution: median_spread fallback = spread (ratio 1.0, gates inert), spread_z=0 and tick_gap=0 when unmeasured -> availability flags, exclude from blend and gates. |
| # | Status | Task |
|---|---|---|
| 21 | Done | 3870/4188 impulse (and breakout) unmeasured but weighted at 0 in the normaliser; add measured flags and gate weights. |
| 22 | Done | 6212-6268 tick_sample_quality_score constants (0.50/0.65/0.25/0.15) multiplied into impulse; tick_quality_available flag, apply multiplier only when measured. |
| 23 | Done | 6405/6420 TickRateZ -1.0 sentinel and TickVolumeRobustZ 0.0 -> available out-params; exclude from blend and from unsupported_impulse_cap. |
| 24 | Done | 3286/3306/4325 atr_m5==0 -> m5_move_atr 0 -> SmoothStep 0.5 neutral constant; has_m5_move/has_m15_move flags; also use closed bars (forming-bar sawtooth). |
| 25 | Done | 6469 ReferenceMid falls back to the oldest snapshot -> understated z, ContinuationScore always "measured"; return unavailable. |
| 26 | Done | 4126/3919 candle metrics with candle_range ~ 0 (fresh bar) -> weak_body_cap on every new bar; treat as unmeasured below 0.05 ATR. |
| 27 | Done | 4267/4282/4351/4632 neutral sentinels 0.50 / 0.65 stored for unavailable basket/calendar; store 0.0. |
| 28 | Done | 4009 SafeDiv(spread, median, 1.0) neutral fallback; explicit guard. |
| 29 | Done | 1862 historical spread==0 imputed as 1.0 pip; count and skip. |
| # | Status | Task |
|---|---|---|
| 30 | Done | 3941 age>300 sets capped=0 without reason -> ApplyScoreCap "expired_event_cap"; 5066 flip test compares capped vs uncapped directions -> compare consistently. |
| 31 | Done | 4325/3926 mtf_reject_cap threshold (m5_context<=0.20) does not correspond to M5RejectAtr; derive the cap from the raw move. |
| 32 | Done | exhaustion/fakeout/conflict penalties applied in blend and as caps (and block); decide one mechanism per penalty, document. |
| 33 | Done | 3958 elite cap hold term vetoes 90+ when technical engine off; gate on engine; flow term unreachable. |
| 34 | Done | 4335 regime.rollover_penalty always 0 (execution gate blocks first); remove field and term. |
| 35 | Done | 4203 acceleration not ATR-normalised; also plain divisions with constants. |
| 36 | Done | 3849 BLOCK_NO_MOVEMENT_DATA misused for "no setup" -> BLOCK_NO_SETUP; 3857 spread-only breakout reuses BLOCK_BAD_SPREAD -> BLOCK_SPREAD_ONLY_BREAKOUT; BlockStageRank updated. |
| 37 | Done | 5155/5773 rounding inconsistency between display gating and printed percentage. |
| 38 | Done | tags/reasons: IMP+/BRK+ gated on engine pass; FLOW? only when engine enabled (FLOW_OFF otherwise); tick tags copied before impulse early-return; "strong impulse" text threshold = g_min_impulse_z; one ENGINE_CONFIRM_THRESHOLD constant; human reason for blocked rows. |
| 39 | Done | 4462 BuildReasonSummary lists disabled engines; exclude. |
| 40 | Done | 6363 SpeedRobustZ duplicates RobustZ with different zero-MAD behaviour; unify with floor parameter; named MAD scale constant; self-test. |
| 41 | Done | 6353/6369 speed z baseline built from per-interval rates but measured over 5/10/30 s windows; per-window baselines. |
| 42 | Done | 3476/6429 forming-bar tick volume biases baseline; time-normalise; rename TickVolumeRobustZ (not a z). |
| 43 | Done | 6318 TickRateFromSnapshots counts snapshots (capped at 1/ScanIntervalSeconds), denominator = observed span; use true tick rate from CopyTicks when available, else seconds_back. |
| # | Status | Task |
|---|---|---|
| 44 | Done | 5116 candidate direction switch applies no failed cooldown to the abandoned direction. |
| 45 | Done | 5077/5212 every ACTIVE termination gets ValidSignalCooldownSeconds; use failed cooldown for early collapse / context failure. |
| 46 | Done | 5084/5096 SignalExpiredByContext evaluated twice; PickBestDirection computed when ignored. |
| 47 | Done | 5191/5315 failed SendOptionalAlert retried every scan for strong signals, dropped for normal ones; backoff via last_alert_sent_time, count attempt. |
| 48 | Done | 214/5296 MAX_ALERTS_PER_MINUTE 12 > terminal limit (10/min, 2/s); sliding window; cap per scan. |
| 49 | Done | 5189/5315 pending_alert_score stale on delayed release; pending_strong_upgrade not downgraded when score drops. |
| 50 | Done | 5252 PlaySound return ignored. |
| 51 | Done | 4954/5033 group membership flaps per scan -> leader gating unstable; bind group id at activation with hysteresis; DominantCurrencyFlow picks larger absolute component (wrong sign semantics), fallback when flow unavailable; drop redundant dominant_currency_flow field. |
| 52 | Done | 4954 CanDispatchAlert unreachable check; 5301 unreachable "ended before alert" branch; 5178 constant local; 4766 alias with stale comment. |
| # | Status | Task |
|---|---|---|
| 53 | Done | 725 TimeframesToScan length cap 64 rejects the PERIOD_ form the parser supports. |
| 54 | Done | 775 MinHoldSecondsForHighScore=0 degrades HYBRID to LIVE_TICK; require >= 1. |
| 55 | Done | 830 rollover start==end silently disables the window; reject or document explicitly. |
| 56 | Done | 823 calendar validation message wrong for the lookahead/cap cases. |
| 57 | Done | 2609 unknown timeframe token silently skipped while a long symbol aborts; make it INIT_PARAMETERS_INCORRECT and list supported tokens. |
| 58 | Done | 2607 literal 9 -> MAX_SCAN_TIMEFRAMES; 183 SESSION_COUNT tied to the enum. |
| 59 | Done | 2920 bare + suffixed symbol both listed: the alias claims the name first and the verbatim one fails forever; dedupe by resolved broker name at parse time. |
| 60 | Done | 2955/2857 identity cache refreshed one scan late after a mid-scan fallback resolution; refresh immediately. |
| 61 | Done | 668/1424 historical modes never retry symbols that failed at init; retry and print statuses before the run. |
| 62 | Done | 2921 retry timer on TimeCurrent (frozen offline) -> TimeLocal; 2923 re-select after Market Watch removal; cache resolution per requested name (avoid rescanning SymbolsTotal x9 every 60 s); 2961 digits<0. |
| 63 | Done | 2728/6624 non-FX symbols accepted although base_index<0 (pips=points, permanent BLOCK_BAD_SPREAD); reject with status "not an FX pair". |
| 64 | Done | 652/2499/2549 ParseSymbols error messages (silent zero returns, dead MAX_PROFILES branch, duplicated cap check). |
| 65 | Done | 660 SELFTEST mode still parses symbols, selects them and allocates buffers; skip. |
| 66 | Done | 147-156 g_* mirrors are pure indirection validated inconsistently; drop mirrors (read inputs) except g_runtime_operating_mode; rename g_range_lookback. |
| 67 | Done | 3090 ClearProfileHistory does not clear session baselines / derived stats; complete it. |
| 68 | Done | 685 OnDeinit: ChartRedraw after cleanup; 649/6586 object prefix: warn on leftover objects at init, GetTickCount cast. |
| # | Status | Task |
|---|---|---|
| 69 | Done | 5455/5466/5359 DiagnosticsText computed up to 3x per scan with 40 ObjectFind each; once per scan; track object count. |
| 70 | Done | 5975 static object properties rewritten every update, ObjectFind twice per row, colour set twice; set on create only; check ObjectSet returns. |
| 71 | Done | 5686/5714 compact tags always truncated and absent from tooltip; add tags to tooltip; document label length assumption. |
| 72 | Done | 5684/5701 session column constant "-" when disabled; build conditionally; 5361/5714 disk_io constant slots removed; scan_avg -> scan_ewma. |
| 73 | Done | 5436 history row tooltip = row text; store reason/tags in SignalHistoryEntry. |
| 74 | Done | 6083 PadRight(symbol,7) vs 10. |
| 75 | Done | 5466 magic row 2 -> DIAGNOSTICS_ROW_INDEX; ObjectDelete of row 0 / diagnostics row every scan -> once. |
| 76 | Done | 5591 selection sort unstable -> tie-break on profile_index; 5420/5434/5473/5970 dead checks. |
| 77 | Done | 6029 text width heuristic -> TextGetSize measurement; dead limit<=3 branch. |
| 78 | Done | no OnChartEvent -> handle CHARTEVENT_CHART_CHANGE to refit rows. |
| 79 | Done | 2232/2478/1168 historical report never drawn on chart (ready line clears the buffer); draw the report, keep the ready line; 2461 report buffer cap truncates the Journal -> bound only the dashboard loop; 2491 header row consistency. |
| 80 | Done | 1151/2427 "running" header never painted; Journal line before the run; abort flag on IsStopped. |
| # | Status | Task |
|---|---|---|
| 81 | Done | 3825-4291 direction-independent evaluation (execution, calendar, session, tick z, basket agreement) done twice per profile; evaluate once per profile per scan. |
| 82 | Done | 3971/4499 reason/tag strings built for every profile every scan; build lazily for displayed/debug rows. |
| 83 | Done | 6232 CopyTicks per symbol per scan even when quote_time_msc unchanged; cache keyed on quote_time_msc; sibling reuse must also check a scan stamp (3358/6296). |
| 84 | Done | 3260/3342 two M1 CopyRates per symbol per scan; copy once, derive both. |
| 85 | Done | 3155 spread/snapshot statistics recomputed when no new sample; guard on new_quote_sample; per-call dynamic arrays -> scratch buffers. |
| 86 | Done | 4118/4689 BreakoutBufferPrice computed 3x per direction. |
| 87 | Done | (unreachable branch removed; basket participation follows the symbol leader, which is the first valid-or-not profile: an invalid leader means the symbol has no fresh data at all) 3321 basket participation only via first profile even if invalid -> first valid profile. |
| 88 | Done | 3555 has_trigger false zeroes outside timers but not reentered_since_*; 3396 stale range fields on failure branch. |
| # | Status | Task |
|---|---|---|
| 89 | Done | Factor the live composite blend + cap ladder into a pure function over component scores used by both live and historical paths. |
| 90 | Done | 1619/1676 historical impulse z and acceleration are per-minute quantities fed into per-second ramps; either compute comparable features or label as proxies with their own thresholds (not MinImpulseZForSignal). |
| 91 | Done | 1523/2003 outcomes ignore spread cost; deduct the bar spread once per outcome. |
| 92 | Done | 1498/1516 stride caps evaluated boundaries, not signals; cap accepted signals; print effective coverage. |
| 93 | Done | 1788/1817/1848/2027 strict minute-continuity rejects gapped windows (H4+ never scored, session bias); aggregate by time, tolerate missing minutes, count rejected boundaries; 1814 ATR previous-close continuity. |
| 94 | Done | 2027/1543 unevaluable outcomes counted as R=0; evaluable flag and unevaluated counter. |
| 95 | Done | 1694/1703/1667/1702 exhaustion, m5/m15 context, hold and flow proxies diverge from live inputs; align where possible, label honestly otherwise. |
| 96 | Done | 1257/1341 candidates vary target/stop so R is not comparable; rank on a common outcome definition, report candidate geometry separately. |
| 97 | Done | 2148/2170 profiles_tested counts zero-scored profiles; 2280 "Recommended effective settings" restricted to equivalent parameters; proxies listed separately. |
| 98 | Done | 1457/2189 report prints input lookback not achieved span; warn when short; 1392 aborted runs print "ABORTED". |
| 99 | Done | 1560 BuildHistoricalSignalScore local index guard; 1571 current_volume unused; 1190 candidate 0 branch unreachable; 1465 ReverseRates unreachable; 2039 redundant guard; 1711 session at close time; 2108 bucket label for min_confidence < 60. |
| 100 | Done | 1511/2412 boundary detection via TimeToStruct per bar per candidate; integer arithmetic; hoist boundary list; cache direction-invariant features across directions and candidates; scratch buffers instead of per-call allocation (1877/1892/1917); rolling median spread. |
| # | Status | Task |
|---|---|---|
| 101 | Done | Unused parameters: UpdateBasketAtr(trigger_rates, copied_trigger), BuildHumanReadableReason(profile), SignalExpiredByContext(now), AddBlockedDebugSignal(now), DashboardSortScore(direction). |
| 102 | Done | Write-only fields: movement_15m_pips, CalendarContext.importance_score/proximity_minutes/relevant_event_nearby, flow.pass, impulse.valid_ticks_used, CompositeSignalScore.direction, dominant_currency_flow. |
| 103 | Done | 3728/3823 double ResetCompositeSignalScore; 3895/3897 redundant assignments; 4282 duplicate assignment; 4565 unreachable tag terms; 4665 unreachable branch; 2869/5346 redundant reset. |
| 104 | Done | SelfTestXxx int returns discarded -> void; 6704 MedianAbsDeviation wrapper over scratch; 6693 MedianOfArray size contract. |
| 105 | Done | SymbolListContains allocations; IntAbs/IntMin/Max3 review (keep if clearer). |
| # | Status | Task |
|---|---|---|
| 106 | Done | SelfTestNear tolerance (0.0001 equals PipSize expectations); relative tolerance. |
| 107 | Done | Remove tautologies (BaselineHorizonMinutes positive, ObjectNamespaceToken non-empty); assert token charset; currency indices via codes. |
| 108 | Done | New group: historical engine (synthetic M1 array with gap: boundary, aggregation, ATR, range box, outcome target/stop/both/neither, buckets, ProfitFactorProxy, ScoreEdge, AutotuneObjective floor, ApplyHistoricalCap, TimeframeMinutes all branches). |
| 109 | Done | New group: signal history (eviction with dwell, insert/update, held score, ordering), FitDashboardText/PadRight/FormatLocalTimestamp, IsRolloverTime, ring indices, shared composite function (task 89), RobustZ/SpeedRobustZ agreement, availability gating. |
| 110 | Done | RunSelfTest prints the total from counters; docs stop hard-coding the number (currently 72, docs say 74). |
| # | Status | Task |
|---|---|---|
| 111 | Done | Configuration.md: MinImpulseZForSignal 1.40, BaselineLookbackSamples 1800, OutcomeHorizonMinutes3 <= 240, engine-at-least-one rule, text length limits, equal-hour semantics, new inputs. |
| 112 | Done | Signal-Logic.md: five -> ten, 94/95 ceilings, post-engine blocks, tick quality wording, updated scoring semantics. |
| 113 | Done | Operations/Changelog/Testing: dwell semantics, refresh dependency, example rows, default-path test step, row layout. |
| 114 | Done | Release-Checklist compile path contradiction; Known-Limitations 1.8 vs 1.4 rescale note; Development-Guide and Testing pages: census tool + harness. |
| 115 | Done | README, CLAUDE.md: tooling, assertion count, workflow. |
| 116 | Done | Changelog entry, version bump (source line 1, #property version, README, Home.md), deployment clone update. |
| 117 | Done | Final full audit pass: census clean, shellcheck clean, build clean, self-test green, wiki tracker updated, push repo and wiki. |
| # | Status | Task |
|---|---|---|
| 118 | Done | MT5 keeps only 63 characters of an OBJ_LABEL text (verified on build 6193 with a 120-character probe): DASHBOARD_MAX_TEXT_CHARS was 82 and the active rows, diagnostics line and report lines were silently cut on the chart. Rows re-composed to fit 63, diagnostics split over two rows, report lines wrapped onto extra labels. |
| 119 | Done | Runtime finding from the harness VALIDATION run: on this broker 94% of M1 bars carry no spread column, so removing the old 1-pip imputation left the execution gate blocking nearly every boundary. The validator now takes the bar spread, else the window median of bars that carry one, else the symbol's current spread, and the report prints the source mix. |
| 120 | Done | tools/selftest-macos.sh gained --validation and --autotune modes (short EURUSD,GBPUSD M5,H1 runs through the terminal); document in the wiki Testing page. |
Append a new numbered row to the most fitting section with status Open, a line reference, the defect in one sentence and the intended fix. Never renumber existing rows; ids are referenced from commit messages and the Changelog.