Skip to content

fix(bootstrap): pre-existing test failures — ternary + cast operator (Wave 47, R-TR-1)#808

Open
gHashTag wants to merge 8 commits into
masterfrom
fix/wave-47/toolchain-reliability
Open

fix(bootstrap): pre-existing test failures — ternary + cast operator (Wave 47, R-TR-1)#808
gHashTag wants to merge 8 commits into
masterfrom
fix/wave-47/toolchain-reliability

Conversation

@gHashTag
Copy link
Copy Markdown
Owner

Closes #807

Wave 47 — R-TR-1: Fix pre-existing test failures

What changed

  • Fixed ternary::tests::test_encode_decode — wrong assertion logic (compared decode result to unrelated array element)
  • Implemented as cast operator in t27c:
    • Added KwAs token + lexer recognition
    • Added parse_expr_cast in expression precedence chain (between multiplicative and unary)
    • Verilog codegen emits proper width casts: 32'(expr), 8'(expr), etc.

Test results

855 pass (up from 853). Both previously-failing tests now green. Zero regressions. 3 remaining JWT failures are pre-existing and unrelated.

claude added 8 commits May 24, 2026 02:34
…-HS-2, Closes #786)

Wave 40 adds IrqHandler callback registry, IrqDrivenDriver with
wait_done_irq, and host-poll-vs-irq CLI that runs both completion
paths against MockMmio and compares write/read counts.

32 new tests (11 inline + 21 integration). Zero regressions.
…loses #789)

Wave 41 adds InferenceEngine with per-layer DMA prefetch -> inference ->
DMA drain cycle, wait_irq_mask generic IRQ wait, and host-inference CLI.

36 new tests (16 inline + 20 integration). Zero regressions.
…loses #791)

Wave 42 adds EngineConfig with cycle/DMA/BRAM/throughput estimation,
LayerEstimate per-layer breakdown, and host-perf CLI that prints
total_cycles, bram_pct, dma_beats, throughput at a given clock freq.

42 new tests (19 inline + 23 integration). Zero regressions.
…#795)

Wave 43 adds --json to host-smoke, host-poll-vs-irq, host-inference,
and host-perf. Emits structured JSON via serde_json when set; default
human-readable output unchanged.

23 new integration tests. Zero regressions.
…format (R-HT-1, Closes #797)

Wave 44 adds Trit enum, pack_word/unpack_word, host-pack and host-unpack
CLI commands. Encoding: 2'b00=-1, 2'b01=0, 2'b10=+1, LSB-first, 27 trits
per 54-bit word. Matches trit_stdlib.rs.

36 new tests (17 inline + 19 integration). Zero regressions.
#799)

Wave 45 adds WeightPattern enum with 6 patterns (all-N/Z/P, alternating,
phi-sequence, seeded-random), host-weight-gen CLI that emits packed
hex words for a given (neurons, chunks) config.

35 new tests (16 inline + 19 integration). Zero regressions.
Wave 46 adds host-e2e CLI that wires weight-gen (W45) + InferenceEngine
(W41) + PerformanceEstimate (W42) into a single end-to-end flow with
--json support. Capstone for the host driver stack.

33 new tests (13 inline + 20 integration). Zero regressions.
This was referenced May 24, 2026
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.

Fix 2 pre-existing test failures on master (R-TR-1)

2 participants