How scoring works
ArchLens adds up points from seven dimensions, 100 in all, and turns the total into a letter grade.
This page is generated from the constants the scorer itself uses, in
app/services/metrics_service.py, so it always matches the code.
Profile
Enterprise app. Same as the library profile, except popularity (stars, forks, contributors) is awarded without checking, since internal apps rarely have public communities.
- given full points without checking, under this profile
- not scored left out of this profile
Where the 100 points come from
Documentation
Can a newcomer understand and legally use it?
| Check | What it looks for | Points |
|---|---|---|
| README |
A file whose name starts with README in the root directory.
|
7 |
| License |
A LICENSE file (or COPYING) in the root directory.
|
4 |
| Contributing guide or docs |
A CONTRIBUTING file, or a documentation folder.
|
4 |
Activity
Is anyone still working on it?
| Check | What it looks for | Points | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Recent commits |
Commits in the last 30 days, read from one page of results (so at most 100 are counted).
|
8 | ||||||||
| Last push |
Days since anything was last pushed to the repository.
|
7 |
Organization
Is the code laid out the way tools and people expect?
| Check | What it looks for | Points |
|---|---|---|
| Test folder |
A dedicated test directory in the root.
|
6 |
| Source folder |
Code kept in a dedicated directory instead of the root.
|
5 |
| Project configuration |
Any dotfile, build file or config file in the root.
|
4 |
Community
Do other people use and contribute to it?
| Check | What it looks for | Points | ||||||
|---|---|---|---|---|---|---|---|---|
| Stars |
Stargazers on GitHub.
|
5 given | ||||||
| Forks |
Forks on GitHub.
|
5 given | ||||||
| Contributors |
People with commits, read from one page of results (at most 100).
|
5 given |
Maintainability
Is there automation, and is the backlog under control?
| Check | What it looks for | Points | ||||||
|---|---|---|---|---|---|---|---|---|
| CI workflows |
At least one GitHub Actions workflow file.
|
7 | ||||||
| Open issues |
Open issues and pull requests, as GitHub counts them.
|
4 | ||||||
| Repository size |
Size on disk as reported by GitHub, including history.
|
4 |
Security
Are the basic safeguards in place?
| Check | What it looks for | Points |
|---|---|---|
| .gitignore |
Keeps local secrets and build output out of the repository.
|
3 |
| Dependency lockfile |
Pinned dependencies make builds reproducible.
|
4 |
| Environment template |
Documents required settings without committing real values.
|
2 |
| Security policy |
A SECURITY file explaining how to report vulnerabilities.
|
3 |
Code quality
Is quality enforced by tools rather than by memory?
| Check | What it looks for | Points |
|---|---|---|
| Linter or formatter config |
Configuration for a linter or formatter.
|
5 |
| Type checker config |
Configuration for a static type checker.
|
4 |
| Pre-commit hooks |
Checks that run automatically before each commit.
|
4 |
Good to know
- File and folder names are matched case-insensitively. Apart from CI workflows, which are read from
.github/workflows, only the repository’s root directory is checked. - Counts read from GitHub list endpoints stop at 100 (one page of results), which is enough for every threshold above.
- A check rewards the presence of a file, not its quality: an empty
SECURITY.mdearns the same points as a thorough one. Treat the score as a checklist, not a verdict. - Each report shows these checks with what was found, under “Dimension scores”. A test runs the real scorer against this page’s numbers.