Skip to content

Add bulk download of prediction and scoring results + cleaning - #2576

Merged
ObadaS merged 2 commits into
developfrom
submissions_bulk_download
Oct 1, 2026
Merged

ObadaS merged 2 commits into
developfrom
submissions_bulk_download

Conversation

@ihsaan-ullah

@ihsaan-ullah ihsaan-ullah commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

Description

  • Add download_many_prediction_results and download_many_scoring_results endpoints
  • Rename download_many to download_many_submissions
  • Share auth, validation and permission checks in _download_many_files
  • Only include results of finished submissions, skipping missing or hidden files
  • Prefix downloaded file names with sub_, pred_res_ or sco_res_
  • Remove unreachable results loop code
  • Add prediction/scoring result options to the bulk action dropdown
  • simplified the permission logic

Screenshot

Screenshot 2026-09-28 at 1 04 27 PM

Issues this PR resolves

A checklist for hand testing

  • Check that you can bulk download submissions, prediction results and scoring results
  • Check that prediction result and scoring result only have files for FINISHED submissions

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

@ihsaan-ullah ihsaan-ullah linked an issue Sep 28, 2026 that may be closed by this pull request
@ObadaS
ObadaS force-pushed the submissions_bulk_download branch from 7c79deb to 377dafd Compare October 1, 2026 09:43
- Add download_many_prediction_results and download_many_scoring_results endpoints
- Rename download_many to download_many_submissions
- Share auth, validation and permission checks in _download_many_files
- Only include results of finished submissions, skipping missing or hidden files
- Prefix downloaded file names with sub_, pred_res or sco_res_
- Remove unreachable results loop
- Add prediction/scoring result options to the bulk action dropdown
@ObadaS
ObadaS force-pushed the submissions_bulk_download branch from 377dafd to 9a0ca37 Compare October 1, 2026 13:14
@ObadaS
ObadaS merged commit 9a622ea into develop Oct 1, 2026
1 check passed
@ObadaS
ObadaS deleted the submissions_bulk_download branch October 1, 2026 13:27
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.

Bulk download results/submissions: dead code in submissions.py

2 participants