Skip to content
Claude CodedocsData & ML

Regenerate Figure 2 and polish LaTeX paper with PaperBanana

Session from traceweave on Hugging Face by Samarth0710 · MIT · condensed by Coders Talk

12msession
2interventions
GOAL

Generate a cleaner Figure 2 (ring pipeline diagram) for the Euro-Par HyperCluster paper using the PaperBanana tool and give the overall paper a polish pass.

  1. Prompt · +0
    Generate a better figure for fig 2 using paperbanana and refine the paper overall to look clean and nice
  2. Agent did · +0m
    Read the LaTeX source, listed the figures directory, inspected PaperBanana's config and figure-generation script, viewed existing architecture and ring pipeline images, and ran a sub-task to fully explore the PaperBanana codebase, producing a detailed report on its interface and generation process
  3. Fail · +1m
    Hit a Copilot API 400 error: prompt token count of 251615 exceeded the 128000 limit, aborting the response
  4. Intervention · +10m
    Told the agent to just try again after the token-limit error
    Why: it errored out from context overload so I just asked it to retry
  5. Fail · +10m
    Failed again with the same 400 error, prompt still over 251000 tokens
  6. Intervention · +12m
    Explicitly told the agent to keep the prompt under 128000 tokens this time
    Why: it clearly wasn't trimming context on its own so I had to spell out the constraint
  7. Fail · +12m
    Still exceeded the token limit at 251737 tokens, no figure or edits were ever produced
  8. Outcome · +12m
    Session ended without generating Figure 2 or editing the paper; every attempt failed with the same 128k token limit error and no files were changed
VERDICT

Next time I'd start by manually trimming what context gets loaded, since the agent kept blowing past the 128k token limit by dragging in the whole paper, config, and image files at once. Telling it to 'keep the prompt under 128000 tokens' didn't actually change its behavior, so the real fix would have been to scope the task down myself before handing it off. This session never produced a usable figure or edit, just repeated API errors.

I tried this · 0

Discussion · 0

How Builds work