Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Heuristic:2akouwu Reverify Anti Gaming Filters

From Leeroopedia
Knowledge Sources
Domains Verification, Security, LLMs
Last Updated 2026-10-24 12:00 GMT

Overview

Four filters (trivial, duplicate, echo, known) that zero the weight of claims a model uses to game the verifier: restating facts, repeating claims, parroting tool output, or re-asserting ledger entries.

Description

The anti-gaming filters prevent a model from inflating its score by asserting low-effort or recycled claims. Each filter targets a specific gaming strategy:

  • Trivial: A claim derivable from the fact sheet the model was shown (e.g., "the file starts with MZ") scores zero — it says nothing new.
  • Duplicate: The same claim (by kind + params) submitted twice in one round scores zero for the second occurrence.
  • Echo: A claim that copies the tool's previously observed value back as an "expected" value scores zero — it is parroting, not reasoning.
  • Known: A claim already in the ledger (established in a prior round) scores zero — restating established facts adds no information.

These filters ensure `grounded` means the verified set actually says something informative, not just trivia.

Usage

Apply this heuristic when evaluating whether a model's verified claims are genuinely informative. The filters are applied automatically in `summarize()` after every verification round. Use when designing new claim kinds or scoring metrics to ensure they cannot be gamed.

The Insight (Rule of Thumb)

  • Action: Set `weight = 0.0` for any claim that is trivial (derivable from shown facts), duplicate (same kind+params in this round), echoed (parrots prior tool output), or known (already in the ledger).
  • Value: `grounded = trustworthy AND informative` — a set is grounded only when all claims are verified/refuted with zero inconclusive AND the total information weight meets `min_information` (default 1.0).
  • Trade-off: Some genuinely informative claims may be penalized if they happen to match a fact already in the sheet. The model is incentivized to find new information.
  • Compatibility: Applied uniformly to all claim kinds after verification.

Reasoning

"All claims verified" is trivially achievable by asserting obvious facts: the file starts with `MZ`, `.text` exists, etc. Without anti-gaming filters, a model could reach `grounded` without doing any real reconstruction. The FActScore refinement (Jiang et al., 2024) inspires this: credit only claims that are factual, informative, and non-repetitive. The echo filter specifically targets the model copying tool output back as assertions — a subtle form of gaming where the model pretends to have predicted a value it was actually told.

Code Evidence

Filter application in `summarize` from `verifier.py:1195-1204`:

seen = set()
for r in results:
    key = claim_key(r["kind"], r.get("params", {}))
    r["duplicate"] = key in seen
    seen.add(key)
    r["trivial"] = derivable_from_facts(r, facts)
    if r["verdict"] in (OBSERVED, INVALIDATED) or r["duplicate"] or r["trivial"] or r.get("echoed") or r.get("known"):
        r["weight"] = 0.0
    else:
        r["weight"] = round(base_weight(r), 3)

Echo detection in the agent loop from `agent.py:473-476`:

k = _echo_key(r)
if k and k in prev_actual and _is_echo(r["kind"], _expected_repr(r), prev_actual[k]):
    r["echoed"] = True
    echoed += 1

Known detection from `agent.py:477-479`:

if r["verdict"] == VERIFIED and claim_key(r["kind"], r.get("params", {})) in known_keys:
    r["known"] = True
    known += 1

Grounded definition from `verifier.py:1233`:

"grounded": trustworthy and informative,

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment