Skip to content

Run the revised derivation contract: batched propose and consolidate #372

Description

@antejavor

Part of #344

Question

Does #353's derivation contract, as revised by #366, cover the corpus from any seed? #366 ran the original contract twice: one propose sample (B) matched the hand-written vocabulary, the other (A) missed a whole domain (no Location, zero answer-bearing edges), and neither proposed a relation into a core value type.

What to build (throwaway, branch only; extend derive.py on prototype/gliner2-constrained-edges)

The revised pipeline:

  1. Batched propose: K (start with 4) disjoint time-stratified batches of whole sessions, each proposed independently.
  2. Consolidate: one LLM call merges the batch proposals into one vocabulary, merging synonyms (Run the derivation contract once and read the vocabulary #366 saw JobRole/Occupation, Device/Possession, Food/Dish) and keeping every distinct concept. Renames are allowed here only.
  3. Propose and consolidate prompts require relations into the core value types for facts stated as values, and forbid modal/tense variants (plans_to_X beside X).
  4. Observe at relation_pair_cap = max_edges_per_type = 4096 (unstructured2graph: gliner2 cuts relation candidates alphabetically by type on ties #371), one turn per window.
  5. Prune and validate unchanged, plus a reporting-only line for a core value type with no relation into it.
  6. Stability = agreement on shared spans plus coverage (spans only one vocabulary types; answer-bearing shape), between two full derivations from different batch seeds.

Acceptance (human reading on the 10 evidence sessions, as in #366)

  • Both seeds reach B's coverage: Location present, MoMA visited recovered.
  • The 25:50 edge lands (personal_best-like relation into Duration).
  • No tense-variant pair in either vocabulary.
  • Report cost: LLM tokens (about K x $0.35 + consolidate + prune) and observe wall clock with the larger schema.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions