Measure knowledge-factory outcomes on held-out tasks

Open
#1,459 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

This is a roadmap-level evaluation proposal that depends on the runnable workflow from #1185 and revision receipts from #1149, with completeness checks from #1436. Start by reading docs/benchmarks/methodology.md and the workflow fixture discussed in #1185 to understand the existing Loom path and benchmark tooling. Done means publishing a reproducible per-case evaluation with frozen development/held-out cases, matched runs, calibrated rubric, and the listed metrics and reproduction steps; expect design work rather than a scoped code change.

Written by the indexing model from the issue text.

Description

enhancement help wanted up-for-grabs
Component

Knowledge (documents)

Use case

The workflow fixture in #1185 shows that a reviewed correction reaches a later agent. A team also needs to know whether that correction improves complete task outcomes and what it costs to capture, maintain and serve the knowledge.

Describe the solution you'd like

Publish a reproducible evaluation after #1185 supplies the runnable workflow and #1149 supplies revision-specific evidence. Use an external runner and existing benchmark tooling.

  • Freeze development and held-out cases by task and source family. Label every required evidence item and the expected action or abstention. Cover an outdated instruction, a two-source answer, a scope-dependent dispute and access revoked between runs.
  • Run paired fresh-agent tasks against raw-source retrieval, the existing Loom path and the same path with one specified change. For revision comparisons, pin the old and reviewed revisions in separate runs. Use the same input data, authorized scope, agent, reader, grader and work budgets for matched cases.
  • Calibrate the rubric on complete paraphrases, missing required parts and correct abstentions. Count evidence returned, client-reported reliance and independently scored outcomes separately. Reuse the completeness checks tracked in #1436 where applicable.
  • Report required-evidence recall, complete task success, correct abstention, p95 latency and amortized cost per successful task. Record configuration, source revisions, case counts, uncertainty and whether capture, extraction, curation, refresh and serving costs were measured.
  • Publish per-case outputs and reproduction steps for shareable fixtures. Report integration checks and measured task results separately. Any paid run requires an explicit request.
Describe alternatives you've considered

The deterministic fixture checks the lifecycle contract. Stored run grades show observed outcomes. A matched evaluation checks how a selected change affects the same tasks under declared conditions.

Where the need comes from

An AI tool suggested this feature

Additional context

Part of the knowledge-factory roadmap in #1232. Reuse the workflow and revision receipts from #1185 and #1149. Benchmark methodology

Dominant language
Python
Stars
221
Forks
35
Avg merge
14h 21m
Merged PRs (30d)
873

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ClickHouse/loom

All issues in ClickHouse/loom

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.