Topics
This topic describes how content is scored.
Content Scoring is in early iterations, to be improved with user feedback and future additions to ansible-lint.
The overall score is a combination of the community score, the quality score and the number of surveys that have been submitted for a role. This number is calculated as the weighted average of the community and quality scores. If there are fewer than three surveys submitted the quality score has a slightly higher weight. If there are three or more surveys submitted the community and quality scores have an identical weight. For more details on this formula see PR #1406.
5.0
yamllint
ansible-lint
and import-time checks5.0
Note
Scoring is only done at import, to re-score please re-import
yamllint
is run with a custom configansible-lint
is run using its default rules, for information on how to fix Ansible Lint issues, see the descriptions in the default rulesLinter issues applied to the Syntax Score are yamllint
and non-metadata ansible-lint
Each linter issue is subtracted from a max score of 5.0
:
1.0
0.5
0.25
0.125
0.075
Linter issues applied to the Syntax Score are metadata ansible-lint
and import-time checks
Each linter issue is subtracted from a max score of 5.0
:
1.0
0.5
0.25
0.125
0.075