Skip to contents

hubValidations 0.0.1

  • Release stable 0.0.1 version
  • Enforce minimum dependence on latest hubData (0.1.0) & hubAdmin (0.1.0). This allows for successful validation of submissions to hubs with multiple model tasks, where a given model task might contain non relevant task IDs and both required and optional properties have been set to null in tasks.json (#75). See the relevant section in hubDocs documentation for more details.
  • Improve formatting of current time print in validate_submission_time() message by removing decimal seconds and including local time zone.

hubValidations 0.0.0.9008

  • Added new articles on:
    • The structure of <hub_validations> class objects.
    • Validating Pull Requests on Github (for admins).
    • Validating Submissions locally (for teams).
  • Added tables with details of individual checks performed by each high level validate_*() function to documentation.
  • Fixed bug where check that values in value column are non-decreasing as output_type_ids increase for all unique task ID /output type value combinations for cdf and quantile output types was erroneously returning validation errors if the output_type_id column was not ordered. (Thanks @M-7th).

hubValidations 0.0.0.9007

  • validate_pr() now has arguments for controlling modification/deletions check are performed on model output and model metadata files (#65).
    • file_modification_check, which controls whether modification/deletion checks are performed and what is returned if modifications/deletions detected.
    • allow_submit_window_mods, which controls whether modifications/deletions of model output files are allowed within their submission windows.

hubValidations 0.0.0.9006

  • validate_pr() now checks for deletions of previously submitted model metadata files and modifications or deletions of previously submitted model output files, adding an <error/check_error> class object to the function output for each detected modified/deleted file (#43 & #44).

hubValidations 0.0.0.9005

  • Improved handling of numeric output type IDs (including high precision floating points / values with trailing zeros), especially when overall hub output type ID column is character. This previously lead to a number of bugs and false validation failures (#58 & #54) which are addressed in this version.
  • Bug fixes with respect to handling modelling tasks with no required task ID / output type combinations.
  • Improved capture of error messages when check execution error occurs.

hubValidations 0.0.0.9004

This release contains a bug fix for reading in and validating CSV column types correctly. (#54)

hubValidations 0.0.0.9003

This release includes a number of bug fixes: - Deployment of custom/optional functions via validations.yml can now be accessed directly form pkg namespace, addressing bug which required pkg library to be loaded. (#51) - Use all.equal to check that sums of pmf probabilities equal 1. (#52)

hubValidations 0.0.0.9002

This release includes improvements designed after the first round of sandbox testing on setting up the CDC FluSight hub. Improvements include:

  • Export parse_file_name function for parsing model output metadata from a model output file name.
  • Issue more specific and informative messaging when check_tbl_values() check fails.
  • Adding a verbose option to check_for_errors() function which prints the results of all checks in addition to the deafult overall result and subset of failed checks.

hubValidations 0.0.0.9001

  • Release of first draft hubValidations package

hubValidations 0.0.0.9000

  • Added a NEWS.md file to track changes to the package.