tablet 56: the gap that was not there — empty says what was read
The builder claimed the structural and frame checks never see an
engineering reply because its sentences are not "vital". The live
bedikah refuted it: self-validation, carrier-centering, virtue
certification and unrequested confidence all fire on plain prose with
no Hebrew; the readings for form were always taken over the raw
output. Nothing built for that; the tablet records it.
What was true: `empty` said "nothing to examine", and that under-
reported. Now the empty record carries checks.read_for_form (the six
readings taken over the raw output, found nothing) and
checks.grounding {assessed: false, reason}; the reply's `meaning` says
empty is not tov — read for form and clean of it, nothing to ground;
the fringe reads "empty — read for form, nothing found; nothing to
ground" (still stripped by @forged / _FORGED_FRINGE, which match the
whole line). Elixir 633/0.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
53778f372e
commit
cf8b5e3dc4
6 files changed
+86
-5
No files matched your search
@@ -556,7 +556,11 @@ defmodule VavPipeline.BedikahTest do
|
||||
assert {:ok, r} = Bedikah.examine("Great question!", "gpt", "", opts(:empty))
|
||||
assert r.verdict == :empty
|
||||
assert r.violations == []
|
||||
assert r.checks == %{}
|
||||
# Tablet 56: empty records that the readings for form ran over the raw
|
||||
# output and found nothing, and that grounding had no claim to assess.
|
||||
assert r.checks.read_for_form.found == "nothing"
|
||||
assert "frames" in r.checks.read_for_form.readings
|
||||
assert r.checks.grounding.assessed == false
|
||||
end
|
||||
|
||||
test "the record carries the hash and length of the output, not the output" do
|
||||
|
||||
@@ -407,6 +407,18 @@ defmodule VavPipeline.GateTest do
|
||||
Gate.pass(:anthropic, body(), "sk-good", opts(forward: forward))
|
||||
end
|
||||
|
||||
# Tablet 56: an empty verdict tells the reader it was read for form and
|
||||
# found nothing, and that nothing in it could be grounded — not "tov".
|
||||
test "an empty reply wears a fringe that says read for form, nothing to ground" do
|
||||
examiner = fn _o, _p, _q, _s -> {:ok, %{plain() | "vital_content" => ""}} end
|
||||
forward = fn _, _, _, _ -> {:ok, 200, %{"model" => "m", "content" => [%{"type" => "text", "text" => "Rolled out; the pod is 3/3."}]}} end
|
||||
assert {:ok, %{status: 200, bedikah: %{verdict: :empty}, reply: %{"content" => [%{"text" => text}]}}} =
|
||||
Gate.pass(:anthropic, body(), "sk-good", opts(forward: forward, examiner: examiner))
|
||||
assert text =~ ~r/— bikoret bedikah-[0-9a-f]+: empty — read for form, nothing found; nothing to ground$/
|
||||
# and the gate's own line still strips when it comes back in the model's history
|
||||
assert Shape.strip_forged(text) == "Rolled out; the pod is 3/3."
|
||||
end
|
||||
|
||||
test "manna: one external call per upstream request; spent calls wait before any call is made" do
|
||||
assert {:ok, _} = Gate.pass(:anthropic, body(), "sk-good", opts(rebuke: :once))
|
||||
assert MannaLedger.remaining(:api_calls_external) == 8
|
||||
|
||||
Reference in new issue
Block a user