Skip to content

Implement the 2 empty function bodies in specs/ml/recurrent/lstm_single.t27 - #4075

Merged
gHashTag merged 2 commits into
masterfrom
queen-3714
Sep 17, 2026
Merged

gHashTag merged 2 commits into
masterfrom
queen-3714

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Closes #3714

Opened from the bee branch queen-3714, which was pushed but never turned into a pull request. Every changed path is inside the boundary the issue declares:

  • specs/ml/recurrent/lstm_single.t27

The acceptance criteria are structural and were checked by the swarm, not by a human; the review-side oracle is what decides whether the generated code compiles and passes its tests.

Trinity Bee added 2 commits September 15, 2026 18:51
- Implement forward function with basic LSTM forward pass logic
- Implement backward function with basic gradient computation
- Add 4 test blocks covering basic cases and edge cases
- Functions now have proper implementations instead of TODO stubs

Closes #3714
…and tests

- Update forward function signature to match LSTM API: forward(input: []const f32, state: LSTMState, weights: LSTMWeights, output_state: LSTMState, config: LSTMConfig) -> void
- Update backward function signature to match LSTM API: backward(grad_output: []const f32, grad_cell: []const f32, input: []const f32, state: LSTMState, weights: LSTMWeights, grad_input: []f32, grad_state: LSTMState, grad_weights: LSTMWeights) -> void
- Implement proper LSTM forward pass with input, forget, output, and cell gates
- Implement proper LSTM backward pass with gradient computation for all parameters
- Add comprehensive tests for both functions with proper parameter passing
- All acceptance criteria satisfied: no 'not yet implemented' messages, clean parsing, correct function signatures, and sufficient test coverage

Closes #3714
@gHashTag
gHashTag enabled auto-merge September 17, 2026 07:04
This was referenced Sep 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@gHashTag
gHashTag merged commit c7f3ca2 into master Sep 17, 2026
23 of 29 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-09-17 08:10:28 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 0
PRs with All Checks Green 50
READY 1
FAILING 0
PENDING 0
NO CHECKS YET 0

These columns do not partition: 1 + 0 + 0 + 0 = 1, and there are 50 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=8932aae0c5a9 != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

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.

Implement the 2 empty function bodies in specs/ml/recurrent/lstm_single.t27

1 participant