Commit Graph

2 Commits

Author SHA1 Message Date
Fabian Wagner 0e72c3dc38 A golden vectors: a conformance corpus dumped from the TS implementation
The Laravel backend has to re-run puzzle checks and count transistors
server-side, so its PHP port of compile, the simulator, analyze and the
puzzle scoring must agree with the TypeScript bit for bit.

tests/fixtures/golden.json holds what the TS computes today: 20 circuits
with their netlist shape, nand and transistor counts and truth tables,
324 scored runs with their exact pass/fail and message, six generated
weekly puzzles, and the seeded RNG sequences behind them. Four circuits
score as failures because they have no input or output pins; that is the
real behaviour and belongs in the corpus.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-11-11 17:51:18 +01:00
Fabian @ Blax Software 5e17826ba5 A settings for every part, overlap-free wiring with crossing styles, accounts with sync
- Clicking anything opens its settings: swap parts in place (wires stay on
  matching pins), clock frequency per clock, keyboard keys for switches and
  buttons, lamp/display colours, note sizes, component names on the canvas,
  position, unlink all wires, unpack a component, make an independent copy.
- Wires of different signals never share a line: auto routes pick free
  columns or detours, remaining clashes go on separate lanes. Crossings drawn
  as bow, triangle, bridge, gap or plain.
- Accounts (email + scrypt password, httpOnly session) with two-way project
  sync and conflict copies; per-account limits; cross-site writes refused.
- Compatibility suite: a project and both browser-storage layouts from
  release a241adc must load and compute identically.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-20 13:09:37 +02:00