HN: SynthWorld โ deterministic synthetic identity graphs with ground truth
Faker generates rows. SynthWorld generates connected identity worlds with adversarial evidence and an answer key.
SynthWorld creates deterministic, safely fictional populations for evaluating privacy, PII-extraction, entity-resolution, relationship-inference, and exposure-analysis systems. Selected benchmark families expose separately serialized product-safe observations; other artifacts are evaluator bundles that retain answer keys for scoring.
SynthWorld began as the ground-truth harness for Idcognito and is deliberately usable as an independent Apache-2.0 Python package. It is not an anonymisation tool and does not transform sensitive real-world data into a safe dataset.
Requirement SynthWorld approach Repeatable evaluation Seeded generation, canonical ordering, frozen fixtures, and checksums Connected identities Personas share planted family, colleague, classmate, neighbour, and social evidence Measurable ambiguity Adversarial identity records include common names, Unicode, twins, maiden names, aliases, and misspellings Controlled oracle exposure Connection and risk provide separate public corpora; extraction currently ships an annotated evaluator bundle Safe fixtures Reserved domains, fictional phones, example addresses, invalid identifiers, and recursive synthetic: true markers Honest scoring Versioned formulas and benchmark integrity metrics make every published claim reproducible A generated row can test whether a field accepts an email address. A SynthWorld benchmark can measure whether a system extracts that address from a document, links several conflicting records to the correct entity, infers only supported relationships, and assigns the expected exposure score.
Core identity world: seeded personas, identity attributes, and evidence-backed relationships. Exposure corpus: breach, broker, search, and social observations, including zero-exposure controls, search collisions, and broker reappearance. Exact-span extraction: an annotated evaluator corpus pairing product-safe page content with evaluator-only occurrence labels. A separately serialized public-only projection is tracked in #13 . Entity resolution: opaque records and adversarial cases with separate entity-membership truth. Relationship inference: public association evidence, reciprocal positive cases, and unilateral negative controls. Risk calibration: provider-neutral breach observations with separately checksummed score, band, and factor truth. The core-world, exposure-corpus, extraction-corpus, connection-benchmark, and risk-benchmark schemas are independently versioned 1.0.0 contracts. See DATA_DICTIONARY.md for field definitions and the strict public/oracle boundary. See GOLDEN_REVIEW.md for the frozen benchmark review record.
SynthWorld currently uses two packaging patterns:
Hacker News
news.ycombinator.com