📢 Upcoming Release of v3.0.0 schema: Enabling formal sample output type support #13
Replies: 3 comments 1 reply
-
Thanks @annakrystalli, that's great news. |
Beta Was this translation helpful? Give feedback.
-
Test driving v3 sample output typesMore details on the new sample output type specification can now be found in our hubDocs. The best way to test drive new feautures would be to use the v3.0.0 schema version PR that is queued up and install development versions of packages from development PRs/branches. Note that any branches with [WIP] PRs should be considered experimental, i.e. they have likely not been reviewed, may contain errors or may change.
You can use the ref argument to install from a specific branch of a remote, e.g. remotes::install_github("Infectious-Disease-Modeling-Hubs/hubAdmin", ref = "feature/sample-support")
remotes::install_github("Infectious-Disease-Modeling-Hubs/hubData", ref = "feature/handle-samples")
remotes::install_github("Infectious-Disease-Modeling-Hubs/hubValidations", ref = "feature/handle-samples")
remotes::install_github("Infectious-Disease-Modeling-Hubs/hubUtils", ref = "enhancement/v3-utils") Note about test driving
|
Beta Was this translation helpful? Give feedback.
-
Announcing Important upcoming updates to the hubverseWeek Starting 17th June 2024In the week starting 17th June 2024, we'll be rolling out two important changes that have been in the works for some time now:
TimelineMonday 17th June - Organisation Name change to
|
Beta Was this translation helpful? Give feedback.
-
In the near future we will be releasing schema version v3.0.0 which contains breaking changes affecting a number of packages across the hubverse.
These changes will only break functionality in existing hubs that collect forecasts using the sample output type.
Support for sample output types in
tasks.json
The most important breaking change involves changes to the specification of sample output types (See Sample Output Type Specification Doc for more details).
We are adding more formal support for sample output types. The main difference to previous schema and handling throughout the hubverse is that, instead of configuring samples in the same manner that is used with other output types, via an
output_type_id
object containing vectors ofrequired
andoptional
values, the sampling regime is defined via anoutput_type_id_params
object instead., e.g.:Implications for hubverse packages
The main area where the breaking change in the schema will cause breaking changes in package functionality is in creating sample output type objects in
hubAdmin
.Back-compatible updates will enable support for v3.0.0 sample specifications when:
tasks.json
config files inhubAdmin
.hubData
.hubData
.hubValidations
.To access the updated functionality you will need to install the latest versions of packages once released.
In time, additional new functionality for supporting and working with sample output types will be added to
hubData
,hubVis
,hubEnsembles
andhubEvals
as well.These changes only affect hubs that are collecting sample output types. If a hub is collecting samples and using a
tasks.json
config with a schema_version earlier thanv3.0.0
, breaking functionality will error and advise users to upgrade their config to conform to versionv3.0.0
.Introduction of
repository
object inadmin.json
Another breaking change introduced in schema version
v3.0.0
is that therepository_url
andrepository_host
properties inadmin.json
have been deprecated in favour of a singlerepository
object with separatehost
,owner
andname
properties.This change is aimed at making cloud hosting easier to configure. It does not affect any package functionality but it does mean that switching to using
v3.0.0
schema, e.g. in order to use the new sample output type config, will also require updating youradmin.json
config file to conform to the newrepository
specification.Release plan & Further updates
We are planning on rolling out the changes in the schema and hubverse packages at the same time. While an exact release schedule is not known yet, it will likely be in the next 3-4 weeks.
In the meantime, you can follow this announcement for further updates and follow progress/test out functionality in associated PRs in the relevant repos/packages.
Beta Was this translation helpful? Give feedback.
All reactions