Dhanji R. Prasanna
1ad74baaa5
Readability refactor: extract mega-functions into focused helpers
Agent: carmack
4 files refactored, net -250 lines, all tests passing (417 + 71).
datalog.rs:
- Extract 7 predicate evaluation helpers from evaluate_predicate_datalog()
(~200-line match → 12-line dispatch table)
- Extract rule_body_for_predicate() from format_datalog_program()
(~75-line match → 2-line call)
invariants.rs:
- Extract 7 per-rule helpers from evaluate_predicate()
(~230-line match → 12-line dispatch table)
envelope.rs:
- Simplify summary construction in verify_envelope()
- Eliminate redundant clone in stamp_envelope()
anthropic.rs:
- Introduce StreamState struct with 6 handler methods
- parse_streaming_response: ~290 lines → ~90 lines
- Max nesting depth reduced from 8 to 4 levels
2026-02-13 16:21:38 +11:00
..
2026-01-30 14:53:04 +11:00
2026-02-13 16:21:38 +11:00
2026-01-27 11:32:45 +11:00
2026-02-13 12:37:09 +11:00
2026-02-11 08:48:07 +11:00
2026-02-10 19:53:11 +11:00
2025-12-22 16:27:35 +11:00
2026-01-27 11:32:45 +11:00
2026-01-15 13:49:29 +05:30