Skip to content

test: Move results folders inside tests/ subdirectories#696

Merged
ValerianRey merged 4 commits into
mainfrom
worktree-move-results-folders
May 21, 2026
Merged

test: Move results folders inside tests/ subdirectories#696
ValerianRey merged 4 commits into
mainfrom
worktree-move-results-folders

Conversation

@ValerianRey
Copy link
Copy Markdown
Contributor

@ValerianRey ValerianRey commented May 20, 2026

The idea is to do the same thing as with the trajectories: save the results directly in the corresponding folder so that we don't bloat the root of TorchJD.

  • static_plotter now saves to tests/plots/results/ instead of images/ at the repo root
  • Profiler now saves to tests/profiling/results/ instead of traces/ at the repo root
  • Renamed TRACES_DIRPROFILING_RESULTS_DIR and added TESTS_DIR in tests/paths.py
  • Updated .gitignore to match the new locations

🤖 Generated with Claude Code

- static_plotter now saves to tests/plots/results/ instead of images/
- profiler now saves to tests/profiling/results/ instead of traces/
- Rename TRACES_DIR to PROFILING_RESULTS_DIR and add TESTS_DIR in tests/paths.py
- Update .gitignore accordingly

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ValerianRey ValerianRey requested a review from a team as a code owner May 20, 2026 23:05
@ValerianRey ValerianRey added the cc: test Conventional commit type for changes to tests. label May 20, 2026
@github-actions github-actions Bot changed the title refactor(tests): Move results folders inside tests/ subdirectories test: Move results folders inside tests/ subdirectories May 20, 2026
- Add PLOTS_RESULTS_DIR to tests/paths.py and use it in static_plotter
- Move RESULTS_DIR from trajectories/_paths.py to tests/paths.py,
  renamed TRAJECTORIES_RESULTS_DIR, and update all usages

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ValerianRey ValerianRey requested a review from PierreQuinton May 21, 2026 00:29
@ValerianRey ValerianRey enabled auto-merge (squash) May 21, 2026 12:23
@ValerianRey ValerianRey merged commit f93ee7e into main May 21, 2026
15 checks passed
@ValerianRey ValerianRey deleted the worktree-move-results-folders branch May 21, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cc: test Conventional commit type for changes to tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants