LingEx
All module documentation

lingex-explore-inventory-size

LingEx Explore Inventory Size

Source details
Source revision
eeebc524e276247b40edb2a234d894e23b5b5486
Source SHA-256
9a97d57157b8f145230308da26bfbd0565b58522aa938314fed71bed3da0c722

LingEx Explore Inventory Size

Inventory Size is the independently owned LingEx Explore experience for estimating the sizes of language sound inventories.

It uses approved PHOIBLE-derived serving data and active Glottolog identity projection without importing or authoring source data at runtime.

Public surface

Canonical page:

/inventory-size

Canonical API prefix:

/v1/explore/inventory-size

Publication target:

explorer.inventory-size

Inventory Size has no legacy public route alias.

Runtime/scientific contract

A round presents language identity and interactive estimate controls for consonant/vowel inventory size.

The initial browser payload exposes only safe language identity and scale information. Actual inventory counts remain server-side until the one-shot answer is completed.

The module uses the approved PHOIBLE-derived read model and active Glottolog identity projection. It does not inspect source archives or Data Platform authoring/import implementation.

Ownership

This repository owns Inventory Size-specific:

  • PHOIBLE serving-data adapter;
  • round generation;
  • comparison/scoring;
  • page rendering;
  • API handlers;
  • browser assets;
  • catalogue/module contribution; and
  • focused verification.

Data Platform owns PHOIBLE/Glottolog ingestion, approval and canonical source data.

Explore host owns generic round persistence/composition.

Activity Integrity owns generic action-receipt/lifecycle semantics.

Publication owns publication/safety/advertising policy.

Accessibility and safety

Inventory Size's durable UI contract includes labelled native range controls, keyboard-visible focus, live textual estimates/judgements, accessible actual value graphics, status announcements and responsive presentation.

It is classified as interactive exploration and is explicitly excluded from advertising inventory unless the canonical Publication policy is deliberately changed.

Verification

php tests/test-inventory-size.php
php scripts/verify-inventory-size.php
php scripts/verify-release-contract.php
php scripts/verify-extraction-boundary.php
bash scripts/verify-repo-shape.sh
bash scripts/check-architecture.sh
git diff --check