Skip to content

csv_mode embeds local filesystem paths from the URLS column verbatim in prompts #199

Description

@lfnothias

In sources/benchmark_evaluation/csv_mode.py, _generate_task_default interpolates the URLS column verbatim into the agent prompt ("Url to paper: {url}"). The column is treated as opaque text, so when a benchmark CSV references files on disk rather than web URLs, machine-specific absolute paths are embedded in every prompt and preserved in the run records. Such records neither replay nor compare across machines, and the prompts disclose the local directory layout.

The repository already exhibits the case: all 25 rows of datasets/asb_metabo_v1.csv carry absolute paths of the form /Users/<user>/git/... in the URLS column.

Rewriting local paths to a workspace-relative form at load time — or copying the referenced file into the task workspace and recording the original location separately — would keep prompts and run records portable across machines.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions