Tablet 49: the bedikah grounds an output in what it was GIVEN, not in L1 alone
The first grounding check asked whether an output cited Torah verses —
Torah as content. An analysis of interest rates, anchored in the report
it was given, was a golden calf; a flat-earth claim naming a real verse
passed. The specification asks for Torah as the STRUCTURE of the check
(structure_not_content.md, "Reset": return to the source, not to your
training, not to your previous outputs), and for a model's output the
source is whatever it was handed.
Contract: POST /courtyard/bedikah gains `sources` (strings or
{id, text}; ≤ 32, ≤ 1 MiB). Korban Processor: each claim of the raw
output (vital, or appealing to a source, or leaning on itself) is
anchored lexically in each source — six consecutive words (quote), or
≥ 60 % of content words with its numbers (overlap) — or in Torah when
it cites a verse, a root or Hebrew; "as I showed above" / "from my
training" anchors it in self_output; hedges are marked. Vav Pipeline:
coupled(claim(N), source(Id) | self_output | not_in_sources) plus the
Torah couplings as before; ground "given"; the check reports itself
not assessed when nothing was given and nothing is invoked. Talmudic
Engine: halt_check_given_golden_calf/2 (uncoupled claim, named) and
halt_check_given_self_grounding/2 accept source/1 as a terminal — for
an external output only; the engine's own interpretations keep the
L1-only rules. L3: bedikot.sources (id, sha256, length — never text)
and bedikot.claims.
Specs: Tamid §1.1 (contract, anchoring, limits), Vayakhel §3.9,
Architecture §3.5, Broken Tablets tablet 49, KOHEN.md. Ingress body
2m. Doorpost a2ec3842… → 6c8933e7….
Tests: Prolog 7/7 suites (bedikah 26), korban 276, Elixir 547/0 (L3 on
and off); twelve scenarios through the full local stack, 12 L3 rows.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
9d5db797f7
commit
f69cc99a5f
22 files changed
+1051
-110
No files matched your search
@@ -57,6 +57,57 @@ test(low_confidence_with_no_trace_is_ignorance_not_idolatry) :-
|
||||
Status, []),
|
||||
Status == "ok".
|
||||
|
||||
%% --- Check 2, given ground: the output against the sources it was given ---
|
||||
%% (tablet 49: Torah is the structure of the check, not the required
|
||||
%% content of the output.)
|
||||
|
||||
test(given_claim_anchored_in_a_source_is_grounded) :-
|
||||
check('{"action":"halt_check_interpretation","interpretation":{"ref":"bedikah-5","ground":"given","confidence":"high","coupling_trace":["coupled(claim(1), source(report_q3))","coupled(claim(2), source(report_q3))"]}}',
|
||||
Status, []),
|
||||
Status == "ok".
|
||||
|
||||
test(given_claim_anchored_nowhere_is_the_calf_and_names_the_claim) :-
|
||||
check('{"action":"halt_check_interpretation","interpretation":{"ref":"bedikah-6","ground":"given","confidence":"high","coupling_trace":["coupled(claim(1), source(report_q3))","coupled(claim(2), not_in_sources)"]}}',
|
||||
Status, [V]),
|
||||
Status == "halt",
|
||||
sub_string(V, _, _, _, "golden_calf"),
|
||||
sub_string(V, _, _, _, "uncoupled(claim(2))").
|
||||
|
||||
test(given_empty_trace_with_confidence_is_the_calf) :-
|
||||
check('{"action":"halt_check_interpretation","interpretation":{"ref":"bedikah-7","ground":"given","confidence":"high","coupling_trace":[]}}',
|
||||
Status, [V]),
|
||||
Status == "halt",
|
||||
sub_string(V, _, _, _, "golden_calf").
|
||||
|
||||
test(given_claim_anchored_in_its_own_output_is_self_grounding) :-
|
||||
check('{"action":"halt_check_interpretation","interpretation":{"ref":"bedikah-8","ground":"given","confidence":"high","coupling_trace":["coupled(claim(1), source(report_q3))","coupled(claim(2), self_output)"]}}',
|
||||
Status, [V]),
|
||||
Status == "halt",
|
||||
sub_string(V, _, _, _, "self_grounding"),
|
||||
sub_string(V, _, _, _, "self_output").
|
||||
|
||||
test(given_torah_is_one_source_among_the_others) :-
|
||||
check('{"action":"halt_check_interpretation","interpretation":{"ref":"bedikah-9","ground":"given","confidence":"high","coupling_trace":["coupled(reference(devarim_6_5), verse(devarim, 6, 5))","coupled(claim(1), source(notes))"]}}',
|
||||
Status, []),
|
||||
Status == "ok".
|
||||
|
||||
test(given_a_verse_that_is_not_in_l1_is_self_grounding) :-
|
||||
check('{"action":"halt_check_interpretation","interpretation":{"ref":"bedikah-10","ground":"given","confidence":"high","coupling_trace":["coupled(reference(vayikra_99_1), not_in_l1)"]}}',
|
||||
Status, [V]),
|
||||
Status == "halt",
|
||||
sub_string(V, _, _, _, "self_grounding").
|
||||
|
||||
test(given_low_confidence_uncoupled_is_ignorance_not_idolatry) :-
|
||||
check('{"action":"halt_check_interpretation","interpretation":{"ref":"bedikah-11","ground":"given","confidence":"low","coupling_trace":["coupled(claim(1), not_in_sources)"]}}',
|
||||
Status, []),
|
||||
Status == "ok".
|
||||
|
||||
test(engine_rules_unchanged_a_given_source_is_not_an_l1_primitive) :-
|
||||
check('{"action":"halt_check_interpretation","interpretation":{"ref":"bedikah-12","confidence":"high","coupling_trace":["coupled(claim(1), source(report_q3))"]}}',
|
||||
Status, [V]),
|
||||
Status == "halt",
|
||||
sub_string(V, _, _, _, "self_grounding").
|
||||
|
||||
%% --- Check 3: the halt categories ---
|
||||
|
||||
test(deleting_a_user_record_is_shfichut_damim) :-
|
||||
|
||||
Reference in new issue
Block a user