Skip to content

ToggleSpecialistMethod: name output CSVs by kind and write time only - #147

Merged
aclerc merged 1 commit into
v1from
shorter-toggle-specialist-paths
Oct 13, 2026
Merged

aclerc merged 1 commit into
v1from
shorter-toggle-specialist-paths

Conversation

@aclerc

@aclerc aclerc commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

The per-run folder toggle_specialist_<test>_<start>_<end>/ already carries the run name, so repeating it in every file name and adding microseconds to the timestamp only lengthens paths: a reference-subsets CSV ran to 88 characters on its own, and a nested study tree tripped tools with a 260-character path limit. Files are now <kind>_<YYYYmmdd_HHMMSS>.csv (results_20261012_153009.csv, uncertainty_..., by_power_bin_..., data_stats_..., selection_..., reference_subsets_...).

Nothing in the repo reads these files back by their old names; the four test globs are updated. naive_ratio.py keeps its own <run_name>_<kind>_<ts> naming, untouched here.

🤖 Generated with Claude Code

The per-run folder already carries the run name, so repeating it in every file name and
adding microseconds only lengthens paths: a reference-subsets CSV ran to 88 characters on its
own and tripped tools with a path limit. Files are now <kind>_<YYYYmmdd_HHMMSS>.csv.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Second-resolution filenames can collide and silently overwrite diagnostics from rapid or concurrent runs.

1 open finding
What changed in this PR

Simplifies ToggleSpecialist CSV filenames to reduce nested path lengths.

Changes:

  • Removes redundant run names from CSV filenames.
  • Uses second-resolution timestamps.
  • Updates test globs for the new naming scheme.
File Description
benchmarking/​baselines/​toggle_specialist.py Simplifies output CSV names and documentation.
tests/​benchmarking/​baselines/​test_toggle_specialist.py Updates output-file matching patterns.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread benchmarking/baselines/toggle_specialist.py
@aclerc
aclerc merged commit eaf2cd6 into v1 Oct 13, 2026
5 checks passed
@aclerc
aclerc deleted the shorter-toggle-specialist-paths branch October 13, 2026 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants