Flagged Runs & Output Routing
Use a task‑level config switch to control how flagged runs write files and whether they propagate to final outputs.Current Behavior (default)
save_raw_to_set/save_epochs_to_setwrite into directories namedFLAGGED_<stage>when the run is flagged.- During
_entrypoint, post‑completion data is saved withflaggedset to the task’s flagged status; final outputs are then skipped if the run is flagged. copy_final_filesignores any post‑completion directories whose names start withFLAGGED, so flagged runs never appear in thefinal_filesfolder.
Make movement optional
Introduce a boolean task configmove_flagged_files (default: True).
- When
True(default): flagged runs are quarantined intoFLAGGED_*directories and do not produce final files. - When
False: flagged runs keep normal directory names and still produce final files. The run remains “flagged” for your tracking, but routing is not altered.
Configure in a task file
Example outcomes
Withmove_flagged_files: True (default):
move_flagged_files: False:
Recommendations
- Leave enabled for production QC to quarantine suspect outputs.
- Consider disabling temporarily during development or controlled analyses where you must collect outputs regardless of flags.
Related
- See Advanced → Task Variables for defining additional task‑specific controls:
/advanced/task-variables