Model card linting infrastructure
Closed this issue · 0 comments
vstirbu commented
Overview
The action needs to be able to handle to model card documents in different domains. We should assume the certain properties will not be present in all cases.
Approach
We should use a configurable mechanism that is able to process any model card document using an input rules configuration.
Spectral is a library developed and maintained by Stoplight that provides an engine for linting YAML and JSON documents. We can start using it for our purposes.
Other info
- Spectral provides a GitHub action that can be used as inspiration for how to report problems: https://github.com/stoplightio/spectral-action