Skip to content

test(d-miner): D-MINER.1 per-worker isolation + all-offline honesty KAT - #598

Merged
frstrtr merged 1 commit into
dashboard/d-miner1-rollup-selftest-katfrom
dashboard/d-miner1-presence-isolation-kat
Jun 28, 2026
Merged

test(d-miner): D-MINER.1 per-worker isolation + all-offline honesty KAT#598
frstrtr merged 1 commit into
dashboard/d-miner1-rollup-selftest-katfrom
dashboard/d-miner1-presence-isolation-kat

Conversation

@frstrtr

@frstrtr frstrtr commented Jun 28, 2026

Copy link
Copy Markdown
Owner

Stacks on #588. Extends the D-MINER.1 rollup selftest with two honesty-critical properties:

  • Per-worker isolation (same UTC day): two workers with different online/stale profiles produce independent daily rows — one miner's downtime/stale never bleeds into another's report.
  • All-offline worker: live==0 throughout yields hours_online=0 and avg_hashrate=0 (no phantom presence), the worker is not dropped, and stale=100 when only dead work was reported.

SAFE-ADDITIVE (test-only, rig-free, in-memory, fixed-epoch). Selftest 25/25 green locally. Merge after #588.

Extends the rollup selftest KAT with two honesty-critical properties the
existing checks did not pin:

7) Per-worker isolation in the SAME UTC day: two workers with different
   online/stale profiles produce independent daily rows. One miner's
   downtime or stale work must never bleed into another's uptime report.

8) All-offline worker: a worker reporting only live==0 (even while still
   emitting dead_hashrate) yields hours_online=0 and avg_hashrate=0 (no
   phantom presence), is NOT dropped from the report, and reads stale=100
   when all its reported work was dead.

SAFE-ADDITIVE (test-only, rig-free, in-memory, fixed-epoch). 25/25 pass.
Stacks on the D-MINER.1 rollup KAT branch.
@frstrtr
frstrtr merged commit cad6030 into dashboard/d-miner1-rollup-selftest-kat Jun 28, 2026
1 check 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