Skip to content

Commit

Permalink
add designated users (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidari authored Nov 12, 2024
1 parent 1119fdb commit 9d7383f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions hub-config/model-metadata-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,13 @@
"ensemble_of_hub_models": {
"description": "Indicator for whether this model is an ensemble of other models submitted to this Hub",
"type": "boolean"
},
"designated_github_users": {
"description": "Team member(s) who would be responsible for submitting forecasts as a pull request to the CovidHub repository. Only the pull request from users specified here can get merged automatically after validation.",
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false,
Expand Down
14 changes: 14 additions & 0 deletions model-metadata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,20 @@ Any information about funding source(s) for the team or members of the team that
team_funding: "National Institutes of General Medical Sciences (R01GM123456). The content is solely the responsibility of the authors and does not necessarily represent the official views of NIGMS."
```

### `designated_github_users`

GitHub user ids of team members who would be responsible for submitting forecasts as a pull request to the CovidHub repository. Only the pull request from users specified here can get merged automatically after validation. Example:
```
designated_github_users: [
"dependabot",
"octocat"
]
```
or
```
designated_github_users: ["dependabot"]
```

# Metadata validation

Optionally, you may validate a model metadata file locally before submitting it to the hub in a pull request. Note that this is not required, since the validations will also run on the pull request, but it is encouraged. To run validations locally, follow these steps:
Expand Down

0 comments on commit 9d7383f

Please sign in to comment.