Skip to content

Compact large front-page stats; approve W3C-2002 + OGC-1.0 licenses - #473

Merged
micheldumontier merged 1 commit into
mainfrom
fix/home-axioms-box-and-licenses
Nov 24, 2026
Merged

micheldumontier merged 1 commit into
mainfrom
fix/home-axioms-box-and-licenses

Conversation

@micheldumontier

Copy link
Copy Markdown
Contributor

Three small fixes.

  1. Front-page stat overflow — a large aggregate (e.g. ~116M axioms) overflowed its ~140px tile. Large numbers now render compact (115,676,247 → 115.7M); smaller counts (ontologies, ~1,900) stay exact; the full comma-grouped value is kept on hover (title).

2/3. Approve two standards-body permissive licenses so fresnel and ssn resolve as compliant:

  • W3C Software Notice and License 2002 (SPDX W3C) — fresnel, declared at https://www.w3.org/copyright/software-license-2002/.
  • OGC Software License 1.0 (SPDX OGC-1.0) — ssn, declared at http://www.opengeospatial.org/ogc/Software.
    Added URL + label canonicalization rules and both ids to compliant_licenses, with tests (canonicalization + is_compliant).

Post-deploy data actions (follow-up, not in this PR)

license/license_compliant are stored at ingest, so existing rows need re-evaluation:

  • ssn — license_raw is the OGC URL → re-canonicalizes to OGC-1.0/compliant automatically.
  • fresnel — content declares no license (license_raw null); needs the W3C license asserted via the declared_license overlay.

Tests

68 license-compliance tests pass (incl. the two new URLs → compliant); 18 Home tests pass; tsc clean.

🤖 Generated with Claude Code

1. Home stat tiles: a large aggregate (e.g. ~116M axioms) overflowed its
   ~140px tile; large numbers now render compact (115.7M) while smaller
   counts stay exact, with the full comma-grouped value kept on hover.

2/3. License compliance: recognize and approve two standards-body permissive
   licenses so fresnel and ssn resolve as compliant:
   - W3C Software Notice and License 2002 (SPDX "W3C") — fresnel's declared
     https://www.w3.org/copyright/software-license-2002/
   - OGC Software License 1.0 (SPDX "OGC-1.0") — ssn's declared
     http://www.opengeospatial.org/ogc/Software
   Added URL + label canonicalization rules, both ids to compliant_licenses,
   and tests (canonicalization + is_compliant).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@micheldumontier
micheldumontier merged commit 0347ba9 into main Nov 24, 2026
5 checks passed
@micheldumontier
micheldumontier deleted the fix/home-axioms-box-and-licenses branch November 24, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant