Skip to content

Feedback for “NanoBench”: does injecting required_files into the prompt undercut the navigation and pathfinding claims? #31

Closed

Description

@will-lamerton

This is the one design question I'd most love to see the whitepaper address head-on, because it sits right at the heart of what NanoBench claims to measure.

The motivation sections (§2, §3) lean heavily on agents failing at finding the right code: "Context Explosion" (reading dozens of irrelevant files), "Architectural Blindness", and the insufficient_context_read failure category. The scoring even reserves a 0.1 tier for "Pathfinding Credit", rewarding an agent for navigating to the correct components.

But the execution invocation (§8) injects the answer:

run "<problem_statement>\n\nKey files to focus on:\n<required_files>"

and §12 confirms this is deliberate: "Expert-metadata injection reduces unnecessary file exploration significantly."

If the agent is told which files to edit, then the locate the right files problem, which is one of the headline failure modes, is largely removed from the task. That creates a tension:

  • insufficient_context_read becomes hard to trigger, because the agent was handed the context map.
  • The 0.1 "Pathfinding Credit" rewards touching files the agent was explicitly pointed at, so it measures compliance more than navigation.

A couple of directions that might resolve it:

  • Ablation: run each task both with and without the required_files hint, and report both. The delta is itself a useful signal about how much navigation ability contributes.
  • Reframe the measurement: if the hint stays, lean into it as "given the right files, can the agent produce a correct architectural fix?" and soften the navigation-focused framing and the pathfinding tier accordingly.

Not a blocker at all, and there may well be a good reason the hint is in the default. Mostly I'd like the document to name the trade-off explicitly so reviewers know which of the two things is being measured.

Activity

  1. RONAK-AI647 commented on Jul 16, 2026

    @RONAK-AI647
    Contributor

    @will-lamerton Thanks for pointing this out !!

    The honest answer: required_files injection was introduced primarily as a cost and reproducibility control, not a benchmark design choice. Without it, agents exhaust token budgets on exploration before attempting a fix. The Torax dry-run proved this — 32 API calls, 215,400 tokens, and the agent still hallucinated. It produces a 0.0 score for the wrong reason (quota exhaustion, not architectural failure).

    But the ablation suggestion touches my heart . I've updated the whitepaper to propose two evaluation modes:

    • Hinted mode (default): required_files injected. Measures pure implementation ability — given the right architecture map, can the agent produce a correct fix? This is where hallucinated_api, wrong_abstraction_layer, and context_window_exceeded remain fully meaningful.
    • Navigation mode (opt-in): no files injected. Measures the full stack — can the agent find AND fix? This is where insufficient_context_read and the 0.1 Pathfinding Credit are actually meaningful signals.

    The delta between the two scores per task becomes its own metric: how much of an agent's failure is navigation vs implementation. That's a genuinely novel signal no existing benchmark surfaces.

    I've pushed a commit updating §8 with this trade-off, reframing the 0.1 tier description, and officially adding the two-mode design to the architecture!

  2. added
    whitepaper:nanobench
    on Aug 29, 2026
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

    whitepaper:nanobench

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions