Test what the agent receives, not only what it answers.
A long context window does not by itself show that a model can find and apply every relevant detail. In a 2024 study, researchers found that several evaluated models performed worse on some long-context tasks when the relevant passage appeared in the middle rather than near an edge. The result describes the models and tests in that paper; current systems and real workflows need their own evaluation. For the mechanics of tokenization and context limits, read the guide to tokens and context windows ↗.
Build a small test set from real decisions and vary the conditions around them:
PositionMove the key evidence earlier, later, and into the middle of a long input.
FreshnessInclude an outdated source beside the current one and check which the system uses.
ConflictPresent two sources that disagree and verify that the conflict is surfaced.
AbsenceRemove the needed evidence and check whether the system asks, searches, or abstains.
HistoryExtend the task across turns and verify that decisions and constraints survive a handoff.
PermissionsMake an otherwise relevant source unavailable and check that access rules still hold.
Track task success, evidence quality, incorrect or unsupported claims, tool choices, review effort, context size, latency, and cost. The right measures depend on the task. A good answer on one short example does not establish dependable performance across longer runs.
For a focused test plan across context lengths, evidence positions, languages, and missing information, see how to evaluate a long context window ↗.
Build a repeatable agent evaluation ↗