Skip to content

Site code - #9

Merged
mjthatch merged 7 commits into
mainfrom
site-code
Nov 13, 2026
Merged

mjthatch merged 7 commits into
mainfrom
site-code

Conversation

@mjthatch

Copy link
Copy Markdown
Collaborator

No description provided.

mjthatch and others added 7 commits November 12, 2026 16:10
The pages load js/index.js, js/stateless.js and js/stateful.js; the tests and
synth_generated.py run those files instead of cutting the HTML at comment
markers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QabhpThuWQEq1AZRZo24vm
formulas.js becomes js/model.js and takes the explorer's security code. The
explorer drops its copy of the cost model and calls slhMetrics; its Schnorr
reference and baseline tuple are the model's SCHNORR and SLH.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QabhpThuWQEq1AZRZo24vm
The explorer and the stateful page shared copies of the slider mapping, the
slider and number-input binding, the address-bar code, the share button, the
CSV download and the data.json loader; js/ui.js now holds one of each. Both
pages rank with the model's weightedDistance. The stateful page's entry points
are named like the explorer's: setup, writeHash, applyHash.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QabhpThuWQEq1AZRZo24vm
renderControls added a click listener to the reset button on every call, and
a reset calls renderControls, so each reset doubled the work of the next one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QabhpThuWQEq1AZRZo24vm
The pool comes only from data.json. Without it the page says so and your own
candidate still works. test_site_index becomes test_site_explorer and keeps
the metric checks; the pool count is still checked against data.json.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QabhpThuWQEq1AZRZo24vm
The pages keep only markup: their <style> blocks move into style.css, and the
fixed inline styles become classes. Rules the pages shared appear once; a rule
that would reach another page is scoped by the body class of its page
(page-index, page-stateful). Rules that matched nothing are gone. Every element
has the same computed style as before, at four widths and on hover and focus.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QabhpThuWQEq1AZRZo24vm
docs/model.md derives the hash-call counts, WOTS, SLH-DSA, the FORS security
sum, XMSS, XMSS-MT and UXMSS, and the distance; the scripts point to its
sections. Each script starts with what it does. Only comments and whitespace
change in the scripts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QabhpThuWQEq1AZRZo24vm
@mjthatch
mjthatch merged commit f852927 into main Nov 13, 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