speckl/examples
Scott Scoble 35583630cb fix: SQL optimizer runtime — predicate pushdown, FROM/JOIN dedup, cost model
- Predicate pushdown now splits AND predicates and pushes each to
  the correct side of the join (left table vs right table)
- FROM clause no longer duplicates tables that appear in JOINs
- Constant folding no longer mangles date literals (skips strings)
- Cost model: hash join uses build/probe costs, nested_loop uses
  per-row probe cost instead of cartesian product
- Physical operator selection defaults to hash join for medium+ tables
- Two-pass SQL generation: collect join tables first, then emit FROM
- Demo shows 86% cost reduction on users/orders query, 25% on
  departments/employees query from ekeric13/sql-query-optimization-guide
2026-05-13 18:06:30 -07:00
..
.gitkeep Initial commit: Speckl project scaffold 2026-04-28 01:20:22 -07:00
AccessControl.speck Add SpeckDL examples with Dark Provenance primitives 2026-04-29 14:44:00 -07:00
AccountLedger.speck fix: add dist-check guard + List<T> type parsing + state machine examples 2026-05-05 03:11:53 -07:00
DrugDosageCalculator.speck Add SpeckDL examples with Dark Provenance primitives 2026-04-29 14:44:00 -07:00
KafkaKRaft.speck feat(z3): zero-error SMT-LIB2 output + BMC verify blocks for KRaft 2026-05-09 23:07:56 -07:00
OAuth2AuthorizationCode.speck feat: OAuth 2.0 authorization code flow with PKCE spec 2026-05-09 21:51:51 -07:00
Paxos.speck refactor: remove WAT/WASM generator (superseded by IR→Rust→WASM path) 2026-05-09 22:03:20 -07:00
PaymentService.speck Add SpeckDL examples with Dark Provenance primitives 2026-04-29 14:44:00 -07:00
PreconditionTest.speck refactor: remove WAT/WASM generator (superseded by IR→Rust→WASM path) 2026-05-09 22:03:20 -07:00
Raft.speck refactor: remove WAT/WASM generator (superseded by IR→Rust→WASM path) 2026-05-09 22:03:20 -07:00
RetryHandler.speck Add SpeckDL examples with Dark Provenance primitives 2026-04-29 14:44:00 -07:00
SQLitePager.speck fix(z3): robust = conversion + SQLite pager spec (DB.2) 2026-05-10 01:02:00 -07:00
SQLiteWAL.speck TS generator: fix #12 (5 expression patterns) + #11 (opaque record types) 2026-05-11 10:16:15 -07:00
SQLOptimizer-runtime.ts fix: SQL optimizer runtime — predicate pushdown, FROM/JOIN dedup, cost model 2026-05-13 18:06:30 -07:00
SQLOptimizer.speckdl feat: add SQL query optimizer with functional runtime 2026-05-13 17:00:46 -07:00
TemperatureMonitor.speck Add SpeckDL examples with Dark Provenance primitives 2026-04-29 14:44:00 -07:00
TigerBeetleLedger.speck fix: add dist-check guard + List<T> type parsing + state machine examples 2026-05-05 03:11:53 -07:00
ToggleSwitch.speck fix: add dist-check guard + List<T> type parsing + state machine examples 2026-05-05 03:11:53 -07:00
TwoPhaseCommit.speck fix: add dist-check guard + List<T> type parsing + state machine examples 2026-05-05 03:11:53 -07:00