Skip to content

fix(#422): screen untracked results in the degeneracy guard - #428

Open
maximinl wants to merge 1 commit into
mainfrom
fix/422-tracked-untracked
Open

maximinl wants to merge 1 commit into
mainfrom
fix/422-tracked-untracked

Conversation

@maximinl

Copy link
Copy Markdown
Collaborator

Summary

Test plan

  • pytest tests/test_degeneracy_guard.py (43 passed)
  • Confirm an unstaged planted results file under experiments/*/results/ is flagged by constant_columns / unexplained before git add

Closes #422

Made with Cursor

git ls-files alone returned empty for unstaged arms, so the #374 guard
could go green until the moment of git add. Union with a filesystem glob
so untracked results and tmp_path fixtures stay visible.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

#374 guard: _tracked() is blind to untracked results files and its own tmp_path self-tests fail on main

1 participant