Skip to content
context Artifact [2ad107dc23]
Login

Artifact [2ad107dc23]

Artifact 2ad107dc237826c5dace173f9f28945335aaca632d3da7184a00139673070f04:


{
 "name": "shipyard-retrieval-after",
 "title": "Coding sessions: finding the session, after search accepted flag names",
 "section": "Search",
 "order": 41,
 "date": "2026-11-12",
 "good_until": "2027-05-11",
 "commit": "4095a7b2dab0",
 "command": "bench/shipyard.py --data DIR",
 "conditions": {
  "corpus": "32 real agent sessions on a public repository over a simulated three weeks, with 67 questions that the repository and its commit messages do not answer",
  "held out": "30 questions, chosen by a hash of their ids",
  "scoring": "every session holding the answer among the first five returned; no model involved"
 },
 "summary": "Each question is asked twice: once in the session's own terms, once paraphrased with none of its distinctive words. Exact terms favour keyword search; paraphrase is where it is weakest.",
 "metrics": [
  {
   "label": "ctx, session's own terms",
   "value": "28 of 30"
  },
  {
   "label": "grep, session's own terms",
   "value": "26 of 30"
  },
  {
   "label": "ctx, paraphrased",
   "value": "5 of 30"
  },
  {
   "label": "grep, paraphrased",
   "value": "7 of 30"
  },
  {
   "label": "ctx, all questions, own terms and paraphrased",
   "value": "64 and 18 of 67"
  },
  {
   "label": "grep, all questions, own terms and paraphrased",
   "value": "52 and 16 of 67"
  }
 ],
 "baseline": "ranked grep over the same transcript files, and ctx's own result before the change",
 "bar": "a difference counts only if a sign test on the paired held-out questions gives p below 0.05 (set in bench/head-to-head.md before the run)",
 "verdict": "none",
 "meaning": "With the fault fixed, ctx finds the right session for 28 of 30 held-out questions in the session's own terms, against grep's 26. ctx alone was right on 3 and grep alone on 1, which is not a difference by the rule set beforehand, so the two are level on this small corpus. Over all 67 questions it is 64 against 52. The change was chosen using only the questions that are not held out, and the held-out ones were run once. Paraphrased questions did not improve: 5 of 30 for ctx and 7 for grep. That is the limit of keyword search, and it is what tools using embeddings should be tested on."
}