Summary
- Models must be transparent.
- Models should adopt organizational and interface recommendations for community and interoperability.
Introduction
Open-source modeling ensures that model results are reproducible, that experts around the world can collaborate to make models better, and that users can explore the parameter space for themselves. These outcomes systematically improve public policy decisionmaking.
We have developed the criteria in this document to facilitate the growth of an open source public policy modeling ecosystem.
Mandatory Criteria for Transparency and Quality
Models must meet the following requirements for acceptance into the catalog:
- Release under an OSI-approved open source license or the Creative Commons Public Domain Dedication (CC0).
- Make data publicly available, unless release is restricted by a third party.
- For any data that should not be disclosed, provide:
- A complete descriptive list of all data variables;
- Descriptive statistics for all data variables for such data (including averages, standard deviations, number of observations, and correlations to other variables), to the extent that the descriptive statistics do not violate the rule against disclosure;
- Contact information for the individual or entity who has unrestricted access to the data.
- Include unit tests and ensure that they sources code passes the tests.
- For at least one test, generate key outputs from source materials; the test must be run with every new version, and the outputs of the test must be checked into the repository.
- Report names and contact information for at least one maintainer.
- Have a suggested citation.
- Have a project overview.
- Have installation instructions.
- Version control in GitHub.
- Adopt a consistent versioning scheme.
- Include a
PSL_catalog.json
configuration file in the project's repository for cataloging these criteria. Specific instructions for creating this file can be found in the Catalog-Builder Documentation.
Recommended Community Criteria
We also encourage, but do not require, projects to adopt the following practices:
- Report code coverage.
- Use semantic versioning.
- Display a public roadmap.
- Display contributor documentation and guidelines.
- Hold regular office hours, webinars, or standing meetings.
- List technical contributors.
- List funders.
- List user citations and case studies.
- Include subject matter repository topics.
- Include a disclaimer.
- Track issues publicly (e.g. on GitHub).
- Show a changelog.
- Be written in an open source language.
- Add a "psl-cataloged" tag to the About section of the project's GitHub repository.
- Follow a standard contributor workflow, such as GitHub flow.
- Include continuous integration tests to ensure that tests are passing for proposed changes in pull requests and to document publicly that all unit tests are passing.
- Adopt a consistent code formatting scheme, perhaps through an automated code formatter like Black.
Optional Additional Practices
Projects may also consider the following:
- Have a Stack Overflow channel.
- Include a "News" translation of the changelog for users.
- Include criteria for participating in cross-model PSL initiatives.
- Include a link to a webapp version.
- Include a list of consultants.