Skip to content

PR-review sidecar eval: next injection-format experiments #836

Description

@legreffier

Context

Branch experiment/pr-review-sidecar-eval contains the full A/B/C experiment (5 PRs × 4 arms: baseline, sidecar, filler, intent-claims). See RESULTS.md in .exploration/pr-review-eval/.

Key finding: all anchored formats (sidecar, intent-claims) constrain the reviewer's attention to what the author discussed. Filler control disproved token-dilution — mechanism is targeted anchoring on author-framed areas. No single format is a strict win over baseline.

Candidate next experiments

Ordered by cheapness / informativeness:

  • Dual-output — require ## Defects (independent of claims) + ## Intent-vs-diff gaps in one response. Forces both review modes.
  • Sidecar-after-diff — positional test. Reviewer reads diff cold, then reconciles with sidecar.
  • Tool-use / on-demand — reviewer starts with no sidecar, can call entries_search / diary_tags to pull context when needed. No upfront anchor.
  • Per-file filtering by refs — smaller anchoring surface, only inject entries relevant to the file under review.
  • Adversarial framing variant — "find where diff contradicts claims" + "find defects unrelated to any claim" as two explicit passes.
  • Structured table instead of prose — compact entry format to reduce attention competition with diff tokens.

Related

Metadata

Metadata

Assignees

Labels

evalsAgent context evaluation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions