Commit Graph

5 Commits

Author SHA1 Message Date
CarolinePascal ef81f9a62d Revert "migration: prefer success over errored row when de-duplicating manifest"
This reverts commit d0f5849989.
2026-07-17 21:16:02 +02:00
CarolinePascal d0f5849989 migration: prefer success over errored row when de-duplicating manifest
A dataset can appear multiple times across per-rank/resumed manifests (timed out
once, then succeeded on retry). keep='last' could keep the stale ERROR row and
wrongly flag an already-migrated dataset (e.g. VoicAndrei/so100_kitchen) for
deletion. De-dup now prefers a successful attempt over an errored one.
2026-07-17 21:13:33 +02:00
CarolinePascal 34f9f07c6d migration: add --report to list errored/mislabeled-so/missing together
Non-destructive listing of all three categories in one pass, marking with '*'
which datasets are absent from the destination repo.
2026-07-17 21:07:19 +02:00
CarolinePascal ba6cf118cf migration: add --list-missing to prune_destination.py
Report datasets present in the manifest but absent from the destination repo,
grouped by their migration action (ERROR/skipped/...), to explain the src-vs-dst
count gap. Also de-duplicate manifest rows by root (resumed runs append).
2026-07-17 17:25:59 +02:00
CarolinePascal 84896aa8c8 migration: add prune_destination.py to remove errored / mislabeled-SO datasets
Reads the run manifest(s), selects datasets that errored during migration and/or
were labelled SO but aren't a real 6-DOF SO arm, intersects with what's actually
present in the destination repo, and deletes their folders. Dry-run by default.
2026-07-17 17:16:11 +02:00