Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adjusts our pipeline to now include all the details about the QC process directly in the CSV that runs the website. This will allow use to run the entire website off of the CSV and not rely on externally scraping QC info.
There are also a few minor changes and corrections throughout for both future use and convenience:
covered
, and variables that should, when converted to bools, add up to the numerator and denominator used on the website.defaulted_date
sectionIn order to implement the csv fields into the QC pipeline:
inc_in_num
now should calculate the numerator directlyfirst_submission_qc
cancelled_now
tells you if the results are currently cancelled. Ifresults_due
is true andcancelled_now
is true, the trial should enter theoverdue - cancelled
status on the website (this is accounted for in theinc_in_num
calculation)new_submission_date
gives you this date. However, once a trial moves from having pending results to having full results, then we can revert to just usingresults_submitted_date
as we currently do to calculate days late (if any).