Skip to content

Conversation

@ihsaan-ullah
Copy link
Collaborator

@ihsaan-ullah ihsaan-ullah commented Jul 12, 2025

Description

This PR has the following updates

  • In resource submissions tab now submission size is a sum of the actual submission size, prediction, scoring, detailed results size
  • By clicking on submission, the UI now shows details about the file sizes.
  • Datasets API queryset updated to clearly show what is included when datasets and programs filter is used
  • NOTE 1: Submission shown in the resource table are actually datasets and NOT actual submissions.
  • NOTE 2: one dataset(data object) can be used by multiple submissions, so the file size shown is a sum of all the submissions file sizes. Please check the serializer updates to understand this.
  • The serializer used for submissions and datasets is one that is why if dataset type is not SUBMISSION then the irrelevant fields are removed. I tried to add minimum changes to this serializer for nwo. In the future when we want to review APIs, we can design separate APIs for submissions and datasets.

Screenshots

File size submissions tab
Screenshot 2025-07-12 at 5 01 28 PM

File sizes in submission detail
Screenshot 2025-07-12 at 5 01 16 PM

Issues this PR resolves

A checklist for hand testing

  • upload submissions and check that the total size and individual file sizes (prediction, scoring, detailed result) are correct.

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

…vidual file sizes added for submissions, front end modified to show file sizes in details
@ihsaan-ullah ihsaan-ullah linked an issue Jul 12, 2025 that may be closed by this pull request
@Didayolo Didayolo self-assigned this Jul 14, 2025
@Didayolo Didayolo merged commit 9a44d2b into develop Jul 15, 2025
1 check passed
@Didayolo Didayolo deleted the submission_size branch July 15, 2025 11:08
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.

Display total storage used by submissions in resources

3 participants