Skip to content

bench(lynx): model LepusNG primitive costs - #207

Merged
Huxpro merged 1 commit into
new-lynxfrom
feat/lepus-cost-model
Aug 27, 2026
Merged

Huxpro merged 1 commit into
new-lynxfrom
feat/lepus-cost-model

Conversation

@Huxpro

@Huxpro Huxpro commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a protocol-enforcing M1 harness for LepusNG dispatch, property, allocation, string, and branch primitive deltas on Aries 10
  • freeze an M1-only Q2 prediction before device backtesting, retain byte-exact input hashes, and check in full device samples plus invalid-window records
  • derive the engine-stamped cost model and compiler guide with the M2 gate closed: the 1k program prediction missed by 94.83%, so no M3 row is marked validated

Validation

  • pnpm format:check (targeted Prettier check passed; repo-wide command not run)
  • pnpm typecheck (the changed .mjs files are not included by a TypeScript project)
  • pnpm test (dependency preparation was blocked by host ENOSPC before tests started)
  • targeted tests: node --test benchmarks/lynx-table/stages/lepus-cost/*.test.mjs
  • syntax: node --check for every changed .mjs / .js harness file
  • repository sync: pnpm sync
  • provenance: all 7 derived-report hashes and both frozen M1 hashes match; the M2/M3 gate assertion passes

Risk / follow-ups

  • The protocol-valid 1k Q2 boundary is the real emitted program against an M1-matched crossing surrogate. Parse/eval is unobservable with DevTool disabled and launch wall is deliberately excluded.
  • The 10k observer-instrumented and 30k crossing-surrogate attempts timed out and are recorded as invalid, not spendable. C8 remains calculated-only with no completed device window.
  • Full pnpm test should be rerun on a host with free disk space.

Provenance

  • An agent produced this diff (agent-authored)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant