You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Seeding fix 1/4: synthetic fixture + relational-intent demotion from the per-term guarantee (C1) #40
#37 — implements change C1 of the consolidated spec (the /to-spec comment). Follow the spec's Implementation/Testing Decisions; this ticket adds the shared fixture all later slices reuse.
What to build
Asking "callers of ChargeCustomerService"-style questions on a corpus with a relational-word decoy no longer seeds the decoy: the relational-intent term loses its unconditional per-term seat (while still scoring and competing on merit), so all ground-truth callers render within the default budget with no junk seed. Queries made only of relational words keep their guarantee (all-relational fallback), and a corpus-legit symbol literally named calls still wins seeds on exact-match merit.
Includes building the synthetic fixture from the spec's Testing Decisions (service class, three known callers, camelCase verb-prefix decoy with a busy test-method neighborhood, generic-noun hub class, doc file prefix-matching "code") as a reusable helper for tickets 2–4. The _RELATIONAL_INTENT_TERMS vocabulary definition is in the spec (prototype-derived).
Acceptance criteria
Red-first: fixture tests for the who-calls and callers-of phrasings fail on current v8 (decoy seeded), pass after C1
"callers of " end-to-end (query-pipeline text seam): all 3 fixture callers rendered, decoy absent from Start: header
"Who calls ?" seed-level: decoy absent from seeds (full rendering is ticket 3's criterion)
All-relational query (e.g. just "calls") still receives its per-term guarantee
A fixture node literally labelled calls with an exact match still gets seeded on merit
Scorer and picker signatures/semantics unchanged for existing callers; demotion wired only from the query pipeline
Every existing seeding sentinel green with zero baseline edits (gap window, starvation recovery, coverage scaling, label dedup, non-English, legacy-equality property tests, benchmark equality gate)
Implemented on feat/seeding-fix-37 @ 87a7398 (feat(serve): demote relational-intent terms from the seed guarantee (#40)).
All acceptance boxes green:
Red-first: the who-calls and callers-of fixture tests fail at ff970bb (decoy in Start: seeds) and pass after C1 — red state independently reproduced by an adversarial reviewer from a clean git archive of ff970bb.
All-relational query keeps its guarantee — mutation-checked (removing the fallback fails exactly that test).
Corpus-legit calls symbol still seeded on exact-match merit.
Scorer/picker signatures and semantics untouched; demotion has exactly one call site, inside _query_graph_text between scoring and picking; _RELATIONAL_INTENT_TERMS verified set-equal to the spec's expression (50 words).
Sentinels: tests/test_serve.py 129 passed with zero edits; benchmark equality gate passes (ranked=772 seeds=3 both arms); full suite green except 4 pre-existing unrelated test_ollama_retry_cap.py env failures (missing openai, reproduced at ff970bb).
Shared fixture for #41–#43 landed as tests/seeding_fixtures.py (undirected _src/_tgt graph matching how graphify query loads). Changelog + version bump deliberately deferred to #43 per its acceptance boxes.
Activity
filipechagas commentedon Aug 6, 2026
Implemented on
feat/seeding-fix-37@ 87a7398 (feat(serve): demote relational-intent terms from the seed guarantee (#40)).All acceptance boxes green:
ff970bb(decoy inStart:seeds) and pass after C1 — red state independently reproduced by an adversarial reviewer from a cleangit archiveofff970bb.Start:is['ChargeCustomerService']only (full rendering is Seeding fix 3/4: heuristic-context-filter starvation fallback (C3) — "Who calls X?" reaches the callers #42/C3, as scoped).callssymbol still seeded on exact-match merit._query_graph_textbetween scoring and picking;_RELATIONAL_INTENT_TERMSverified set-equal to the spec's expression (50 words).tests/test_serve.py129 passed with zero edits; benchmark equality gate passes (ranked=772 seeds=3both arms); full suite green except 4 pre-existing unrelatedtest_ollama_retry_cap.pyenv failures (missingopenai, reproduced atff970bb).Shared fixture for #41–#43 landed as
tests/seeding_fixtures.py(undirected_src/_tgtgraph matching howgraphify queryloads). Changelog + version bump deliberately deferred to #43 per its acceptance boxes.chore: bump to 0.9.36; changelog for the query seeding fix (#40/#41/#42/