Skip to content

shakedown: wave 8: in-store verification toolkit (--store, compare-reports, STREAM triad, opt-in --llama)#5

Merged
ugglr merged 2 commits into
mainfrom
wave-8-store-mode
Jun 2, 2026
Merged

shakedown: wave 8: in-store verification toolkit (--store, compare-reports, STREAM triad, opt-in --llama)#5
ugglr merged 2 commits into
mainfrom
wave-8-store-mode

Conversation

@ugglr

@ugglr ugglr commented Jun 2, 2026

Copy link
Copy Markdown
Owner

The in-store toolkit for verifying a new unit, plus the open-source-test integration.

New

  • --store thorough profile: turns on --noaccel + --gpu with a longer warmup and more iterations, so an intermittent batch defect has more chances to surface.
  • compare-reports.sh REFERENCE.json UNIT.json: side-by-side diff that flags where a unit trails a known-good sibling. With the absolute thresholds still uncalibrated, this unit-to-unit comparison is the most trustworthy in-store signal.
  • Phase 12 STREAM triad: a vendored single-file stream-triad.c (real copy / scale / add / triad), compiled at runtime with clang, no network. Falls back to the pure-Python memmove proxy when clang is absent. Closes the copy-only-proxy gap; details.method records which ran.
  • Phase 14 --llama (opt-in): clones + builds llama.cpp at a pinned ref and runs llama-bench, a combined CPU+GPU+memory AI load (the workload class the M5 defect was reported on). Off by default; reaches the network and runs third-party code (disclosed in SECURITY.md); skips cleanly without git / cmake / network / model; optional LLAMA_MODEL_SHA256 integrity check.
  • Benchmark Reference (Verification/Benchmark Reference.md): install-this / run-this / expected-score guide with sourced, adversarially-verified Cinebench R24 + Geekbench 6 baselines per generation (M1-M5 families + Intel 2019), the in-store and hotel protocols, the Hong Kong return constraint, and live-lookup links (Geekbench Browser, mianibench.com crowd distributions). Corrected the stale M5 Max baseline (~25-28k to ~29,000-29,400 GB6 multi-core).

Open-source-test design

Two patterns, picked to keep the default run honest: vendor a single-file source compiled at runtime with a pure fallback (the STREAM triad, no network), and a strictly opt-in phase that may use the network or third-party code (--llama), off by default and disclosed in SECURITY.md. The default ./run stays pure bash + Python stdlib and offline.

Schema + CI

Schema 1.3 (Phase 12 triad fields + method; new 14_llama_bench key, a skipped placeholder by default). CI REQUIRED_PHASES updated. Backward compatible.

Verification

Validated on an Intel MacBook Pro 16 (2019). The STREAM triad runs and produces real numbers here; the default and all-flags paths both produce schema-1.3 reports with all 16 phases. The --gpu and --llama happy paths run on a Metal / cmake-capable machine; their skip paths are verified here. Adversarial review came back clean on correctness, bash portability, and voice; the one minor finding (model-download integrity) is fixed.

ugglr added 2 commits June 2, 2026 19:25
…ase 12), opt-in --llama (phase 14)

--store turns on --noaccel + --gpu with a longer warmup and more iterations for verifying a new unit. compare-reports.sh diffs a unit against a known-good sibling (the calibration-free signal). Phase 12 now prefers a vendored STREAM triad (stream-triad.c, compiled at runtime with clang, no network) and falls back to the memmove proxy. Opt-in Phase 14 (--llama) clones+builds llama.cpp and runs llama-bench (combined CPU+GPU+memory load); off by default, skips cleanly without git/cmake/network/model, optional LLAMA_MODEL_SHA256 integrity check. lint.yml REQUIRED_PHASES adds 14_llama_bench.
…res, docs

Verification/Benchmark Reference.md: sourced Cinebench/Geekbench baselines per generation, in-store + hotel protocol, HK return constraint, mianibench + Geekbench live-lookup. Schema 1.3 (phase 12 triad fields/method, phase 14_llama_bench). SECURITY.md discloses the default-run pure/offline property plus the two opt-in exceptions (--gpu compile, --llama network/clone/build) and the model-download integrity caveat. Corrected the stale M5 Max baseline (~25-28k to ~29,000-29,400 GB6 multi). README/Runbook/CONTRIBUTING/CHANGELOG wiring.
@ugglr
ugglr merged commit 3ef673a into main Jun 2, 2026
1 check passed
@ugglr
ugglr deleted the wave-8-store-mode branch June 2, 2026 17:35
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