Skip to content

Pre-existing datasets in workspace are deleted or moved during node execution #42

@floo-dck

Description

@floo-dck

Short Summary

When running TreeSearch, static assets like datasets (e.g., MovieLens) placed inside the workspace/ directory are permanently deleted or moved after the first node execution.

The Problem

The current logic assumes all files found in the workspace after a run were newly generated by the LLM code:

  1. It collects everything (including pre-existing data folders).
  2. If keep_only_relevant_files is active, it wipes out everything that isn't an image (.png, .jpg).
  3. This deletes the dataset and crashes all subsequent experiment iterations with a FileNotFoundError.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions