Preparing your design workspace

Loading the problem and your latest saved attempt…

Design Cross-Catalog Entity Matching

Design retrieval, learned pair matching and versioned serving that recognize equivalent entities across independent public catalogs.

Problem statement

For this exercise, assume independent skills expose public catalogs of named entities, such as artists and venues. Each entity has a provider-scoped identifier, type, name, aliases, locale, descriptive attributes and ordered source versions.

Design a service that finds equivalent entities across requested catalogs, even when names differ, without treating similarly named but different entities as the same.

A request identifies one current source entity and up to five target catalogs. Return matched, ambiguous, no-match or pending per target catalog, selecting at most one equivalent target for an automatic match and retaining decision lineage.

Providers can upsert or withdraw records, and authorized reviewers can correct pair decisions. Existing reviewed positive and hard-negative pair labels are available for training and independent evaluation.

Report candidate recall, auto-match precision, coverage and abstention by type and locale, target at least 99% held-out auto-match precision, and make low coverage visible; define thresholds and uncertainty handling.

Serving releases pin catalog snapshots, normalization and feature rules, the candidate index, model and decision thresholds. Replayed or older updates must not regress current records.

A match must refer to current eligible source and target versions; changed or withdrawn records cannot be served from a stale cached link and may remain pending until the next ready release. Pair predictions do not authorize transitive global identity merges.

Speech recognition, dialogue routing, personal or private records, catalog generation and global identity merging are outside scope.

For this exercise, current eligibility is evaluated at one final authoritative check recorded in the response. A later provider change may invalidate subsequent use; the response makes no promise of future eligibility. If the check is unavailable, do not return a successful match.

What to build

  1. Providers can idempotently upsert or withdraw public entity records using ordered source versions and inspect the outcome.
  2. Callers can request equivalents for one current source entity in up to five target catalogs and receive explicit versioned decisions.
  3. Operators can train, independently evaluate and release pair-matching models with precision, candidate recall, coverage, abstention and slice results.
  4. Authorized reviewers can correct pair decisions, and operators can reprocess changes or recover releases without returning stale entity versions.

At scale

  • For this exercise, assume 50 catalogs contain ten million active entity records, receive 100 updates per second at peak, and serve 1,000 match requests per second at peak. Target 200 milliseconds p95 for healthy online requests and 30 minutes p95 from accepted update to availability in a new matching release. A changed or withdrawn record remains pending or excluded before that release.
  • For this exercise, an automatic match targets at least 99% precision on independent held-out pair labels; report coverage and candidate recall alongside uncertainty and type/locale slices rather than treating abstention as success.
  • For this exercise, every response pins one matching release and returns only currently eligible source and target versions, even while updates or model rollback are in progress.