Files
rose-ash/lib/datalog/scoreboard.md
giles a53e47b415
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 22s
datalog: dl-magic-query driver (204/204)
End-to-end magic-sets entry point. Given (db, query-goal):
  - copies the caller's EDB facts (relations not headed by any
    rule) into a fresh internal db
  - adds the magic seed fact
  - adds the rewritten rules
  - saturates and runs the query
  - returns the substitution list

Caller's db is untouched. Equivalent to dl-query for any
fully-stratifiable program; intended as a perf alternative on
goal-shaped queries against large recursive relations.

2 new tests: equivalence to dl-query on chain-3 ancestor, and
non-mutation of the caller's db (rules count unchanged).
2026-05-08 10:00:44 +00:00

421 B

datalog scoreboard

204 / 204 passing (0 failure(s)).

Suite Passed Total Status
tokenize 26 26 ok
parse 18 18 ok
unify 28 28 ok
eval 25 25 ok
builtins 19 19 ok
semi_naive 8 8 ok
negation 10 10 ok
aggregates 18 18 ok
api 14 14 ok
magic 20 20 ok
demo 18 18 ok