feat(delphi): Clojure timing probe (Spec C)#2643
Draft
jucor wants to merge 1 commit into
Draft
Conversation
Add scripts/clj_timing_probe.py — a click CLI that runs the Clojure Mode A replay driver (math/dev/replay.clj) at increasing vote-count sizes, records wall-clock seconds + final-blob success per size, fits runtime ~ a + b*N^k (log-log least squares, a estimated from the smallest run as the fixed JVM-startup cost), and recommends the largest N that stays within a wall-clock budget. TDD: tests/replay_harness/test_timing_probe.py mocks the clojure subprocess for all unit tests (CSV truncation, schedule shape, fit recovery on synthetic power-law data, recommendation math, stdout line budget, CLI end-to-end) plus one real-subprocess integration test gated on `clojure` being on PATH and RUN_CLJ_INTEGRATION=1. commit-id:96c1f19e
This was referenced Jul 22, 2026
Draft
Draft
docs(delphi): R1-parity goal docs, journal (2026-07-18 → 07-22 s3), quirks + divergence ledger
#2626
Draft
jucor
marked this pull request as draft
July 22, 2026 00:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add scripts/clj_timing_probe.py — a click CLI that runs the Clojure
Mode A replay driver (math/dev/replay.clj) at increasing vote-count
sizes, records wall-clock seconds + final-blob success per size, fits
runtime ~ a + b*N^k (log-log least squares, a estimated from the
smallest run as the fixed JVM-startup cost), and recommends the
largest N that stays within a wall-clock budget.
TDD: tests/replay_harness/test_timing_probe.py mocks the clojure
subprocess for all unit tests (CSV truncation, schedule shape, fit
recovery on synthetic power-law data, recommendation math, stdout
line budget, CLI end-to-end) plus one real-subprocess integration
test gated on
clojurebeing on PATH and RUN_CLJ_INTEGRATION=1.commit-id:96c1f19e
Stack: