Skip to content

Restore the DLC-3D display_name (exported provenance) and test the skip-log flush - #149

Merged
mbel-tech merged 2 commits into
mainfrom
fatina-del-codice/beautiful-hypatia-wlxfol
Oct 11, 2026
Merged

mbel-tech merged 2 commits into
mainfrom
fatina-del-codice/beautiful-hypatia-wlxfol

Conversation

@mbel-tech

Copy link
Copy Markdown
Owner

What and why

Follow-up to #145, which was merged before the last review fix landed.

The final whole-branch review of #145 found one Important issue: the DLC-3D reader's display_name was changed from DeepLabCut 3D (triangulated CSV) to DeepLabCut 3-D (triangulated CSV) in a late commit. display_name is exported as source_software (README Software row, manifest.json, PROJECT_SUMMARY.md, the run log), so existing native DLC-3D projects would have re-exported different text. No numbers or hashes changed, but it breaks the "no change to existing exports" constraint of that plan.

This PR:

  • restores the original display_name exactly (error messages keep the "DeepLabCut 3-D" wording) and pins it with a regression test that says why it must not change;
  • corrects the _aggregated_skip_log docstring: parallel workers call _run_one_unit directly and never open the scope, so a parallel run logs per session in the workers and the parent logs nothing for these skips (identical to before, not a regression);
  • adds tests that the aggregated skip tally is flushed when a run raises and when it is cancelled.

Test plan

  • New tests written first (RED recorded by the implementer), then the full suite QT_QPA_PLATFORM=offscreen pytest -q -W error::RuntimeWarning; ruff check . and mypy (CI versions) clean.
  • The branch also merges current main (clean merge); CI runs on the merged head.

Checklist

  • Tests added or updated (written before the fix)
  • ruff check . passes
  • Docs updated if behaviour changed (docstring only)
  • CHANGELOG.md: not needed (restores existing behaviour)
  • Guide screenshots: not applicable

🤖 Generated with Claude Code

https://claude.ai/code/session_01QXpnhJcJvaj5BxqfESMHNp


Generated by Claude Code

…skip-log docs and flush tests

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QXpnhJcJvaj5BxqfESMHNp
@mbel-tech
mbel-tech marked this pull request as ready for review October 11, 2026 10:50
@mbel-tech
mbel-tech merged commit 0d926d6 into main Oct 11, 2026
7 checks passed
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