Skip to content

Add configurable run ID generator with datetime encoding #244

Description

@humnabaa

Currently rdsa_utils has add_runlog_entry() which uses auto-incrementing integers for run IDs. We've built a run ID generator for TiG Local that produces human-readable IDs encoding a prefix and datetime: bbxx-yymmdd-hhmm.
Proposal: Add a generic version to rdsa_utils that any pipeline could use:
pythongenerate_run_id(prefix="bb26") # → "bb26-260706-1040"
generate_run_id(prefix="irt01") # → "irt01-260706-1040"
Along with validate_run_id() and parse_run_id() utilities. The functions are self-contained with no pipeline-specific dependencies.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions