Skip to content

[GDPVal] Expose reusable media preparation - #3665

Closed
Kh4L wants to merge 1 commit into
gdpval-develfrom
spanev/gdpval-media-preparation
Closed

Kh4L wants to merge 1 commit into
gdpval-develfrom
spanev/gdpval-media-preparation

Conversation

@Kh4L

@Kh4L Kh4L commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

GDPVal media preparation currently lives inside the optional HSG workflow in #3550. Expose that existing code under resources_servers/gdpval so other launchers can use it without the cluster scripts.

  • Expose media.py unchanged: H.264 video proxies, lossless eligible PCM-to-FLAC conversion, ZIP preparation, preserved originals, and conversion receipts.
  • Expose the Office conversion wrapper and prepared benchmark-input checks into the existing preconvert.py. The input checker accepts parsed dataset rows instead of loading campaign files.
  • Reuse the existing media tests and cover the extracted input checks directly. No conversion settings, judge defaults, scoring rules, or scheduling behavior change.

This PR and #3550 independently target gdpval-devel. #3550 retains its existing local helpers for now, so either PR can merge first. Switching HSG to the shared helpers is deferred until this PR merges. Conversion remains opt-in; this does not automatically enable it in every judge run.

Validation: 76 focused tests passed, including 30 media tests with real FFmpeg conversions and 14 input/preparation checks. Seven existing Office tests skipped because optional format libraries are absent locally. Repository-wide pre-commit passed. Verified the media module is byte-identical to #3550 and the helper bodies are unchanged apart from accepting parsed rows. No new live evaluation was run for this extraction.

Checklist

  • I have read the contributing guidelines.
  • The change is focused; unrelated edits are excluded.
  • Tests added or updated and pass locally; optional-dependency skips noted above.
  • Pre-commit checks pass locally (pre-commit run --all-files).
  • All commits have DCO sign-off (git commit -s).

@copy-pr-bot

copy-pr-bot Bot commented Sep 23, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@Kh4L Kh4L changed the title [GDPVal] Extract reusable media preparation from HSG [GDPVal] Expose reusable media preparation outside HSG Sep 23, 2026
@Kh4L Kh4L changed the title [GDPVal] Expose reusable media preparation outside HSG [GDPVal] Expose reusable media preparation Sep 23, 2026
@Kh4L Kh4L closed this Sep 23, 2026
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.

1 participant