Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 22s
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).
21 lines
775 B
JSON
21 lines
775 B
JSON
{
|
|
"lang": "datalog",
|
|
"total_passed": 204,
|
|
"total_failed": 0,
|
|
"total": 204,
|
|
"suites": [
|
|
{"name":"tokenize","passed":26,"failed":0,"total":26},
|
|
{"name":"parse","passed":18,"failed":0,"total":18},
|
|
{"name":"unify","passed":28,"failed":0,"total":28},
|
|
{"name":"eval","passed":25,"failed":0,"total":25},
|
|
{"name":"builtins","passed":19,"failed":0,"total":19},
|
|
{"name":"semi_naive","passed":8,"failed":0,"total":8},
|
|
{"name":"negation","passed":10,"failed":0,"total":10},
|
|
{"name":"aggregates","passed":18,"failed":0,"total":18},
|
|
{"name":"api","passed":14,"failed":0,"total":14},
|
|
{"name":"magic","passed":20,"failed":0,"total":20},
|
|
{"name":"demo","passed":18,"failed":0,"total":18}
|
|
],
|
|
"generated": "2026-05-08T10:00:29+00:00"
|
|
}
|