Correct a fact a scan detected
A scan records facts about each repository, such as its languages. Rules use these facts to decide where they apply, so a wrong fact can make a rule check a repository it shouldn't, or skip one it should. Confirm the facts that are right and correct the ones that are wrong.
Who can do this: anyone with the permission to edit compliance on the project. Others see the facts but no ⋯ beside them.
Correct a fact
- In the sidebar, select Compliance. On the Repos tab, select the project's name to open its page.
- On the Overview tab, scroll to Facts (N). One line sums them up, with how many are unconfirmed.
- Select that line to unfold the list.
- Find the wrong fact. Select ⋯ at the end of its row, then Correct.
- In Value, type the right value, then select Save. Cancel leaves the fact as it was.
- Check the row: it shows your value with ✓.
A corrected or confirmed fact is no longer overwritten by later scans. To score the repository with it, select Rescan at the top of the page.
Confirm a fact
When a fact is right, select ⋯ on its row, then Confirm. It shows ✓ and stops counting as unconfirmed.
On a project with several repositories, the section reads Facts · and the name of the first one, and its facts are that repository's.
How scans and rules use facts is in How compliance works. The repo page's sections are in the Repository compliance reference. To score a repository again, see Run a compliance scan.