Release 11.0.1 (full): 0 wrong on the 600-question reference. Every reply passes the exit law: a relation in any wording, a choice named once, a second reading of every date and number, no substituted answers (part 3)
Browse filesHead oracle_release_runtime_w575. Root ebda97495a9d0802447f29249d3d930571afda0dab1568a4fb01716fc84bf10d. Supersedes 11.0 (5985f38d66bc). Reference 600: 263 right, 0 wrong (11.0: 260 right, 21 wrong), no right lost. Gate 5,128: 14 wrong fixed, 0 right lost, 0 new wrong. Solana anchor: pending Ben's signature. Full changelog: CHANGELOG_1101.md.
258 unmodified lines25926026126226326442 unmodified lines3073083093103113123 unmodified lines316317318319320321322258 unmodified linesreturn False, 0.0, viareturn ok, cov, viadef _k575_held(self, t):"""the flash's reading of t below its threshold, or None. Run only when this turn's flash stopped at the threshold."""cov = getattr((getattr(self, "_organs", None) or {}).get("facts"), "coverage", None)42 unmodified linesfrom handoff101 import answer_ofimport answer_formsaid = answer_of(r)if not answer_form.fits(text, str(r.get("response", "")) if answer_form.asked(text) == "yes_no" else said):# the law at the exit, for every organ: an answer that isn't the kind the question asks for is not said; it becomes a hole# naming what was asked (gate 16a: 0 of 1,808 valid answers refused, 2 false yes caught)3 unmodified linesout = {k: v for k, v in r.items() if k != "why"}out.update(status="declined", path="receive>form_refused>" + str(r.get("path", "")), hole=st["hole"],response="I found an answer, but it isn't %s, which is what you asked for, so I won't give it. If you know it, tell me and I'll keep it as your claim."% {"date": "a date", "number": "a number", "yes_no": "a yes or no", "relation": "a relation between the two"}[want])return outst.update(hole=None, last={"question": str(text), "answer": said, "path": str(r.get("path"))})return r258 unmodified lines25926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131242 unmodified lines3553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853 unmodified lines389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418258 unmodified linesreturn False, 0.0, viareturn ok, cov, viadef _k575_second(self, t, r, said):"""the store reader's own reading of t, checked against a date or number another route said. None when the reader has no readingthat holds, the reply is the reader's, or what was said is neither a date nor a number. verdict: AGREES, MORE_PRECISE or CONTRADICTED"""import re as _refrom handoff101 import compare, date_ofpath = str(r.get("path", ""))if path.startswith(("organ:reader90", "reading:", "receive>")) or not said:return Noneimport answer_forms = str(said)lead = _re.match(r"\s*(-?[\d,]*\d(\.\d+)?)", s)if date_of(s, record=True) is None and not _re.fullmatch(r"\s*-?[\d,]+(\.\d+)?\s*", s):if not (lead and answer_form.asked(t) == "number"):return Nones = lead.group(1) # "4. Alicia Silverstone ..." answers a how-many with 4cov = getattr((getattr(self, "_organs", None) or {}).get("facts"), "coverage", None)if cov is None:return Nonebefore = dict(cov.why)cov.threshold = lambda: float("-inf")try:g = cov.flash_answer(t)except Exception: # noqa: BLE001 - a failure here costs the turn nothingreturn Nonefinally:del cov.thresholdif not g or g.get("status") != "answered" or g["show"]["score"] <= 0 or not self._reading_holds(t, g["show"]["program"]):moved = {k for k, v in cov.why.items() if v != before.get(k, 0)}resp = str(r.get("response", ""))own_record = "relation store" in resp or "knowledge base" in resp or "Checked" in respif moved and not moved & {"no part lit"} and not own_record:# the store reader knows what the question is about but has no reading that holds: the other route's value has nothing# to be checked against, so it isn't stated (11-05)return {"verdict": "UNCHECKED", "answer": None, "steps": [], "score": 0.0, "stopped": sorted(moved)}return Nonea = str(g["answer"])v, _note = compare(s, a)if v == "CONTRADICTED":verdict = "CONTRADICTED"elif v == "CANNOT CHECK" and date_of(a, record=True) is not None:verdict = "MORE_PRECISE"elif v == "CONFIRMED":verdict = "AGREES"else:return Nonesteps = [x.split(" -> ")[0] for x in self._organs["facts"].explain(g["show"]["program"])]return {"verdict": verdict, "answer": a, "steps": steps, "score": g["show"]["score"]}def _k575_held(self, t):"""the flash's reading of t below its threshold, or None. Run only when this turn's flash stopped at the threshold."""cov = getattr((getattr(self, "_organs", None) or {}).get("facts"), "coverage", None)42 unmodified linesfrom handoff101 import answer_ofimport answer_formsaid = answer_of(r)second = self._k575_second(str(text), r, said)if second is not None and second["verdict"] == "CONTRADICTED":# two readings of one question disagree: neither is stated (11-05, the panel's second reading)st["last"] = {"question": str(text), "answer": second["answer"], "path": "organ:reader90>second_reading"}self._k575_log("held", {"session": str(session_id), "question": str(text), "second_reading": second, "path": str(r.get("path", "")), "said": str(said)[:200]})out = {k: v for k, v in r.items() if k != "why"}out.update(status="held_back", path="receive>second_reading_disagrees>" + str(r.get("path", "")),provenance=dict(out.get("provenance") or {}, second_reading=second),response="Two of my readings disagree, so I won't state either. %s: %s. The knowledge base, step by step: %s, gives %s. If you know which is right, tell me."% (str(r.get("path", "")).split(">")[0], str(said)[:160], "; ".join(second["steps"]), second["answer"]))return outif second is not None and second["verdict"] == "UNCHECKED":st["hole"] = {"question": str(text), "kind": "unchecked"}self._k575_log("held", {"session": str(session_id), "question": str(text), "second_reading": second, "path": str(r.get("path", "")), "said": str(said)[:200]})out = {k: v for k, v in r.items() if k != "why"}out.update(status="held_back", path="receive>second_reading_none>" + str(r.get("path", "")),provenance=dict(out.get("provenance") or {}, second_reading=second), hole=st["hole"],response="I have a reading I can't check, so I won't state it. %s: %s. My knowledge base knows what you're asking about but has no reading of it that holds (%s). If you know the answer, tell me."% (str(r.get("path", "")).split(">")[0], str(said)[:160], ", ".join(second["stopped"])))return outif second is not None and second["verdict"] == "MORE_PRECISE":r = dict(r, path=str(r.get("path", "")) + ">second_reading",provenance=dict(r.get("provenance") or {}, second_reading=second),response="%s. Two readings agree: %s; the knowledge base, step by step: %s." % (second["answer"], str(r.get("response", "")).strip().rstrip("."), "; ".join(second["steps"])))said = second["answer"]if not answer_form.fits(text, str(r.get("response", "")) if answer_form.asked(text) == "yes_no" else said):# the law at the exit, for every organ: an answer that isn't the kind the question asks for is not said; it becomes a hole# naming what was asked (gate 16a: 0 of 1,808 valid answers refused, 2 false yes caught)3 unmodified linesout = {k: v for k, v in r.items() if k != "why"}out.update(status="declined", path="receive>form_refused>" + str(r.get("path", "")), hole=st["hole"],response="I found an answer, but it isn't %s, which is what you asked for, so I won't give it. If you know it, tell me and I'll keep it as your claim."% {"date": "a date", "number": "a number", "yes_no": "a yes or no", "relation": "a relation between the two", "choice": "one of the two you named"}[want])return outimport re as _refrom handoff101 import date_of as _date_of_said = str(said or "").strip()import answer_form as _af_value = bool(_af.DATE.search(_said)) or bool(_re.match(r"-?[\d,]*\d(\.\d+)?", _said))_agreed = second is not None and second["verdict"] in ("AGREES", "MORE_PRECISE")if _af.asked(text) in ("date", "number") and not _agreed and ("verified:weak" in str(r.get("path", "")) or (_value and "Reached through" in str(r.get("response", "")))):# the reply's own receipt says its value isn't about this question: its check was weak, or it came from another subject's page (11-05)st["hole"] = {"question": str(text), "kind": "own_receipt"}self._k575_log("held", {"session": str(session_id), "question": str(text), "own_receipt": True, "path": str(r.get("path", "")), "said": str(said)[:200]})out = {k: v for k, v in r.items() if k != "why"}out.update(status="held_back", path="receive>own_receipt_held>" + str(r.get("path", "")), hole=st["hole"],response="I have a value, %s, but my own receipt says it isn't about what you asked: %s. So I won't state it. If you know the answer, tell me."% (_said[:80], "its check was weak" if "verified:weak" in str(r.get("path", "")) else "it came from a page about another subject"))return outif "substitution_disclosed" in str(r.get("path", "")) or str(r.get("response", "")).lstrip().startswith(("I have no admitted entry", "I have no admitted record")):# a reply that says it answers a related term answered a different question, by its own words (11-05)st["hole"] = {"question": str(text), "kind": "substitution"}self._k575_log("holes", {"session": str(session_id), "question": str(text), "kind": "substitution", "path": str(r.get("path", "")), "refused": str(said)[:200]})out = {k: v for k, v in r.items() if k != "why"}out.update(status="declined", path="receive>substitution_refused>" + str(r.get("path", "")), hole=st["hole"],response="I have no entry for what you asked, only for a related term, so I won't answer with that. If you know it, tell me and I'll keep it as your claim.")return outst.update(hole=None, last={"question": str(text), "answer": said, "path": str(r.get("path"))})return r
root/fable-content/oracle-m-series-2026-08-15/self_loop/admitted/oracle_release_runtime_w575.py+97-1