PR001 – Variant Linking Accuracy
Overview
Assessment for variant linking accuracy. Validates that product variants (e.g. size, color) are correctly linked and represented in structured data and/or DOM.
Probability that AI systems use this signal: Crawlers and generative AI pipelines consume structured and visible page signals for training and inference. Assessment-specific signals (e.g. schema, canonicals, trust cues) affect how likely a page is indexed and surfaced. The probability that this assessment's signal influences AI behavior is high when the page is in a product or compliance context.
Impact on geo compliance: Passing this assessment supports geo compliance by ensuring machine-readable and visible content meet standards that reduce the risk of wrong locale, pricing, or trust in AI-generated answers. Failing can lead to non-compliant or misleading surfacing.
What We Check
- See implementation: variant detection, linking between schema (e.g. ProductGroup.hasVariant, Product) and visible variant selectors/links; accuracy of variant URLs or identifiers.
- Full logic: `src/domain/assessments/product_relationships/pr001_variant_linking_accuracy.py`.
Pass / Fail and Score
- Status and score from execute(); typically PASSED if score >= threshold (see implementation).
How to Fix When It Fails
- Ensure variant products are linked correctly in schema (hasVariant) and that variant switcher/links point to correct URLs or identifiers.
Common Issues
- Missing or incorrect hasVariant; broken variant links; mismatch between schema variants and DOM variant options.
Dependencies
None.
How to Verify
- Validate ProductGroup/Product variants and variant UI links/URLs.
Additional Resources
- schema.org ProductGroup, hasVariant: https://schema.org/ProductGroup