View Paths
ViewPaths
=========Centralized path helpers shared by CSVView and ParquetView.
Responsibilities
Create and cache the container folder per run.
Provide subfolders:
CSV →
<container>/CSV/
Parquet →
<container>/Parquet/
Generate deterministic, timestamp-free filenames that include the executed target token.
Append
"sd<seed>"
to filenames if an explicit CLI seed (--seed
) was provided.
Safety
All directory creation is idempotent: existing folders are reused.
Only invoked at run startup or when writing output.
Functions
Build a CSV filename (without timestamp).
Build a merged CSV filename (without timestamp).
Ensure the CSV subdirectory exists and return its path.
Ensure the Parquet subdirectory exists and return its path.
Ensure the shared container folder for this run exists and cache its path.
Assemble the core parts of a base filename for a given run and target.
Build a Parquet filename (without timestamp).