Common Ground logo

Common Ground Component Checker

Component assessment for Dutch municipalities

Back to the rating guide

Contribution plan

This site runs our fork of Hugo ter Doest's Common Ground Checker. We want to bring the work back to his repositories. This page proposes how.

There are 83 pull requests from the fork open now. They grew as the work grew. Some build something that a later one changes again, and together they are hard to review. This plan offers the same result in 32 pull requests, 27 for the frontend and 5 for the backend. Each one covers one concern and is written in its final form, with the final names.

We propose to close the open pull requests in favour of this stack, after agreeing it with you. Nothing is closed before that. You decide what you take: drop a pull request, and we adjust the ones after it.

How to read it.The pull requests are numbered in merge order and grouped by topic. Each one says what it adds, how big it roughly is, which ones it builds on and which open pull requests it replaces. The "see it" links open the page on this site where the result shows. Merge with merge commits, not squash, and every pull request applies cleanly once the ones before it are in.

The discussion is in issue #54.

Foundations

Fixes to what the checker already measures, the layout, and the backend fields the rest builds on.

  1. 1. Stop tracking the TypeScript build cache

    Removes tsconfig.tsbuildinfo from git and ignores it. Without this, every later pull request conflicts on that file.

    Repository
    Frontend
    Rough size
    XS, under 50 lines
    Builds on
    Upstream main
    Replaces
    No open pull request
    See it
    No visible change: it removes a build file.
  2. 2. Find files where a component keeps them

    Reads files from the scanned branch, and finds compose files, Dockerfiles, SBOMs and Helm charts in the places projects use. publiccode.yml passes without a country section.

    Repository
    Frontend
    Rough size
    M, 500 to 1,500 lines
    Builds on
    1
    Replaces
    frontend #6, frontend #15, frontend #16, frontend #17, frontend #18, frontend #19, frontend #20
    See it
    Open Zaak · Docker criterion · SBOM criterion
  3. 3. Score the existing checks fairly

    A tool that fails is flagged, not scored as a fail. The API, secure coding and complexity checks count errors, not notices, and leave test code out.

    Repository
    Frontend
    Rough size
    M, 500 to 1,500 lines
    Builds on
    1
    Replaces
    frontend #2, frontend #3, frontend #4, frontend #5, frontend #22, frontend #23, frontend #24, frontend #25, frontend #40, frontend #45, frontend #46, frontend #47, frontend #48, frontend #49
    See it
    Secure coding criterion · OpenAPI criterion · Complexity criterion
  4. 4. Mobile layout and consistent display

    Every page works at 360 pixels wide. Dates and times look the same everywhere, cards show the measured version, and the navigation appears once.

    Repository
    Frontend
    Rough size
    S, 50 to 500 lines
    Builds on
    1
    Replaces
    frontend #41, frontend #43, frontend #44, frontend #69
    Also from branches
    fix/mobile-layout
    See it
    Components on a phone · About on a phone
  5. 5. Backend: scoring configuration and fixes

    Adds the new criteria to the admin scoring list and migrates the category weights. Raises the request body limit and returns the version in the repository list.

    Repository
    Backend
    Rough size
    S, 50 to 500 lines
    Builds on
    Upstream main
    Replaces
    backend #2, backend #3, backend #4, backend #5, backend #13, backend #15, backend #16
    Also from branches
    feat/artifacthub-criterion
    See it
    Backend only: the admin page of a server instance shows it.
  6. 6. Backend: what an analysis and the repository list store

    Stores the checklist version, aspect ratings and issue counts with each analysis. The repository list returns the publiccode.yml details, search, followed repositories and the standards found.

    Repository
    Backend
    Rough size
    M, 500 to 1,500 lines
    Builds on
    5
    Replaces
    backend #6, backend #7, backend #8, backend #12, backend #14
    Also from branches
    feat/checklist-version, feat/landscape-compare
    See it
    Backend only: the frontend pull requests below show the fields.
  7. 7. Backend: scan a branch or tag, on a schedule or on a push

    Scans a chosen branch or tag and stores which ref and commit were scanned. Rescans followed repositories on a schedule, or on a webhook call.

    Repository
    Backend
    Rough size
    M, 500 to 1,500 lines
    Builds on
    6
    Replaces
    backend #9, backend #10, backend #17
    Also from branches
    feat/suitable-needs-stable-and-users
    See it
    Backend only: the scan pull requests below show the result.
  8. 8. Checklist versions and transition periods

    The checklist gets a version, and every analysis records it. A new mandatory criterion can get a date from which it counts; until then a fail is a warning.

    Repository
    Frontend
    Rough size
    M, 500 to 1,500 lines
    Builds on
    3, 6
    Replaces
    No open pull request
    Also from branches
    feat/checklist-version
    See it
    How a component is rated · The checklist and its versions

Criteria and measurements

New criteria and measures. Each one names its tool, its version and its thresholds.

  1. 9. Open Source Health: licences, headers, secrets and Scorecard

    Checks licence consistency, SPDX headers, leaked secrets and the OpenSSF Scorecard, and the test code ratio. Rates them with published thresholds.

    Repository
    Frontend
    Rough size
    L, over 1,500 lines
    Builds on
    3, 8
    Replaces
    frontend #9, frontend #10, frontend #11, frontend #12, frontend #13, frontend #14, frontend #37, frontend #51
    See it
    Open Source Health criterion · Secret scanning criterion · OpenSSF Scorecard criterion
  2. 10. Maintainability estimate on the SIG/TÜV NORD model

    The closest open reproduction of the published SIG/TÜV NORD model v18.1, with duplication measured by Simian. It is not calibrated against real audits, and every page says so.

    Repository
    Frontend
    Rough size
    L, over 1,500 lines
    Builds on
    3, 5
    Replaces
    frontend #8, frontend #58, frontend #62
    See it
    Maintainability in the rating guide · Maintainability criterion
  3. 11. Open track: size, duplication, coupling and its rating

    Measures size, duplication and coupling with open tools and open thresholds, on one definition of the components of a repository. Shown next to the estimate.

    Repository
    Frontend
    Rough size
    L, over 1,500 lines
    Builds on
    10
    Replaces
    frontend #59, frontend #61, frontend #64, frontend #66
    Also from branches
    feat/declared-components
    See it
    Open track criterion · Coupling criterion · Size criterion
  4. 12. publiccode.yml in full, layer and supported standards

    Reads every publiccode.yml field and shows the details on the component page. Checks the declared Common Ground layer and the standards a component supports.

    Repository
    Frontend
    Rough size
    L, over 1,500 lines
    Builds on
    2, 6
    Replaces
    frontend #28, frontend #52, frontend #53, frontend #57
    Also from branches
    feat/publiccode-profile
    See it
    publiccode.yml criterion · Supported standards criterion · Layer criterion
  5. 13. Container images and Artifact Hub

    Finds the container image a repository publishes, and checks its Helm chart and image scan on Artifact Hub. Artifact Hub is the first criterion with a transition period.

    Repository
    Frontend
    Rough size
    L, over 1,500 lines
    Builds on
    2, 8, 5
    Replaces
    frontend #7
    Also from branches
    feat/artifacthub-image-scan
    See it
    Artifact Hub criterion · Container image criterion
  6. 14. Maintenance contract and usage

    Checks the maintenance contract in publiccode.yml. Shows who uses a component and how it spreads, for information only: usage never gives stars.

    Repository
    Frontend
    Rough size
    M, 500 to 1,500 lines
    Builds on
    12, 5
    Replaces
    frontend #55, frontend #65
    See it
    Maintenance contract criterion · Usage criterion
  7. 15. Informative measures: project health, SonarQube and AI readiness

    Adds CHAOSS project health, a SonarQube comparison and AI readiness. They are shown with their own stars and never count in a rating or the verdict.

    Repository
    Frontend
    Rough size
    L, over 1,500 lines
    Builds on
    9, 11
    Replaces
    frontend #60, frontend #63
    Also from branches
    feat/ai-readiness
    See it
    AI readiness in the rating guide · Project health criterion · Components filtered on AI readiness

Rating and levels

How criteria add up to stars, when a component is suitable for Common Ground, and how maintenance is followed.

  1. 16. Aspect ratings, errors and warnings

    Groups criteria into aspects with their own stars, as the SIG models do. Every result lists its errors and warnings in one block.

    Repository
    Frontend
    Rough size
    L, over 1,500 lines
    Builds on
    9, 10, 11, 6
    Replaces
    frontend #33, frontend #35
    See it
    Security aspects · Open Zaak
  2. 17. Suitable for Common Ground

    The verdict: every mandatory item, 3 stars overall, a maintenance contract, 4 stars maintainability, a stable release and 1 user. We propose 2 users for checklist 2027.1, with a transition period.

    Repository
    Frontend
    Rough size
    M, 500 to 1,500 lines
    Builds on
    16, 14, 8
    Replaces
    frontend #56
    Also from branches
    feat/suitable-needs-stable-and-users, feat/two-users-proposal
    See it
    The levels on About · Suitable components · The path to Common Ground
  3. 18. Backend: users, usage counts and Common Ground status

    Stores the users declared per scan and the usage counts, and returns the Common Ground status of each repository. Maintained comes from a VNG decision in the component list.

    Repository
    Backend
    Rough size
    M, 500 to 1,500 lines
    Builds on
    6
    Replaces
    No open pull request
    Also from branches
    feat/approved-level, feat/organisation-pages, feat/lifecycle-status, feat/maintained-is-a-decision
    See it
    Backend only: the status and users pull requests show it.
  4. 19. Common Ground status, Maintained and the basisset

    Four states: Listed, Measured, Suitable and Maintained. Maintained is a VNG decision with an SLA that follows it. The basisset page compares versions.

    Repository
    Frontend
    Rough size
    L, over 1,500 lines
    Builds on
    17, 18
    Replaces
    No open pull request
    Also from branches
    feat/lifecycle-status, feat/approved-level, feat/maintained-is-a-decision
    See it
    Levels and lifecycle · Maintained components · The basisset
  5. 20. Backend: the nightly check, drops and fix terms

    Measures followed repositories every night, records drops with a fix term per issue type, and notifies a webhook. Skips what did not change.

    Repository
    Backend
    Rough size
    L, over 1,500 lines
    Builds on
    18, 7
    Replaces
    No open pull request
    Also from branches
    feat/maintenance-drops, feat/incremental-scans, feat/ai-readiness
    See it
    Backend only: the drops pull request shows it.
  6. 21. Drops, fix terms and SLA times

    Shows what dropped in the nightly check and the term to fix it. SLA times per category follow Dutch working days, with KPI targets.

    Repository
    Frontend
    Rough size
    L, over 1,500 lines
    Builds on
    19, 20
    Replaces
    No open pull request
    Also from branches
    feat/maintenance-drops
    See it
    Maintenance and SLA · Open Zaak

Pages and navigation

The pages a visitor uses: components, their ratings, the rating guide, users, providers and functionalities.

  1. 22. One page per component

    A component has one page with its rating, the rating over time and its runs. Each run has its own page.

    Repository
    Frontend
    Rough size
    L, over 1,500 lines
    Builds on
    16, 4
    Replaces
    frontend #30, frontend #36, frontend #39, frontend #42
    See it
    Open Zaak · Open Klant
  2. 23. Components: search, sort and follow

    Search the components, sort them by rating, and follow the ones you care about.

    Repository
    Frontend
    Rough size
    M, 500 to 1,500 lines
    Builds on
    22, 19
    Replaces
    frontend #29, frontend #31, frontend #38
    See it
    Sorted by rating · Search for zaak
  3. 24. Rating guide and a page per criterion

    A guide per category and aspect, and a page per criterion: what it measures, why, where it comes from and how to pass it.

    Repository
    Frontend
    Rough size
    L, over 1,500 lines
    Builds on
    16, 8
    Replaces
    frontend #34
    Also from branches
    feat/criterion-pages
    See it
    Rating guide · All criteria · One criterion
  4. 25. Components as home page, Users and Providers

    Components becomes the home page. Users come from usedBy, providers are the owners of the repositories. Old links to History and Organisations redirect.

    Repository
    Frontend
    Rough size
    L, over 1,500 lines
    Builds on
    23, 18
    Replaces
    No open pull request
    Also from branches
    feat/organisation-pages, feat/restructure-nav, feat/providers-are-owners
    See it
    Users · Providers · Components
  5. 26. Functionalities, filters and compare

    Maps components onto the GEMMA application services. Filter on functionality or standard, and compare two components side by side.

    Repository
    Frontend
    Rough size
    L, over 1,500 lines
    Builds on
    25, 12
    Replaces
    No open pull request
    Also from branches
    feat/landscape-compare
    See it
    Functionalities · One functionality · Compare two components

Static mode and scans

Running the checker without a server, scanning a chosen branch, and scanning only what changed.

  1. 27. Scan a branch or tag, and scan locally

    Choose the branch or tag to scan; the run page shows the ref and commit. A command scans a repository on your own machine.

    Repository
    Frontend
    Rough size
    M, 500 to 1,500 lines
    Builds on
    7, 2
    Replaces
    frontend #50, frontend #68
    See it
    Run it yourself · Open Zaak
  2. 28. The checker as a static site

    One data source for server and static mode. The component list is a config file with a schema and a pull request check. The static export needs no server.

    Repository
    Frontend
    Rough size
    L, over 1,500 lines
    Builds on
    23, 27
    Replaces
    No open pull request
    Also from branches
    feat/static-site
    See it
    Run without a server · Add a component
  3. 29. Nightly scan and publish

    A nightly workflow scans the component list and publishes the site. It waits for the rate limit instead of failing, and a script scans locally and publishes.

    Repository
    Frontend
    Rough size
    M, 500 to 1,500 lines
    Builds on
    28, 21
    Replaces
    No open pull request
    Also from branches
    fix/nightly-and-small-bugs
    See it
    Run without a server · Components
  4. 30. Incremental scans

    When the code did not change, the checker measures again only what depends on the outside world. On OpenRegister a repeat scan went from 112.5 to 25.5 seconds.

    Repository
    Frontend
    Rough size
    L, over 1,500 lines
    Builds on
    29, 20
    Replaces
    No open pull request
    Also from branches
    feat/incremental-scans
    See it
    OpenRegister

Governance texts

The pages that explain the setup: the tools, publiccode.yml, the path to Common Ground and About.

  1. 31. Tools and models, and the publiccode.yml profile

    Names the tool behind every measure and where the checker deviates from the SIG model. Explains how to fill publiccode.yml so the checker can read it.

    Repository
    Frontend
    Rough size
    L, over 1,500 lines
    Builds on
    24, 12
    Replaces
    frontend #21, frontend #67
    Also from branches
    feat/publiccode-profile
    See it
    Tools and models · The publiccode.yml profile
  2. 32. The path to Common Ground and the About page

    Explains how a component becomes a Common Ground component. About says where the criteria come from, with the measuring stick and a diagram of the sources.

    Repository
    Frontend
    Rough size
    L, over 1,500 lines
    Builds on
    31, 19, 26
    Replaces
    frontend #70, frontend #71
    Also from branches
    docs/meetlat, docs/about-rewrite
    See it
    The path to Common Ground · Where the criteria come from · The measuring stick

Not carried over

  • frontend #32: The rename of Software Quality to Maintainability was dropped on 20 November.
  • backend #11: The backend half of the same rename.

What stays on our fork

  • Our own apps are scanned on their development branch, because that is where Conduction works.
  • OpenRegister is scanned on main, because it moved to developing on main.
  • The components of Digitaal GemeenGoed are in our component list.
  • The OpenProject repositories are in our component list.

These are entries in the component list and the branch to scan. They say what we want to measure, not how the checker works. The component list in the stack starts with the basisset and the components of the ALV papers. Anyone can add more with a pull request to that list.

Open questions for Hugo

  1. Is this the right cut? We can make the pull requests smaller or combine some.
  2. Do you want the stack in waves, for example the foundations and criteria first, or all at once in this order?
  3. Can you merge with merge commits instead of squashing? Then each pull request applies cleanly once the ones before it are in.
  4. Are there parts you do not want in your checker, such as the static site or the informative measures?
  5. Do you agree to propose 2 users for Suitable in checklist 2027.1, with 1 user until then?
  6. Should the component list start with the basisset and the ALV components only?

Answer in issue #54, and we recut the stack to match.