Where: scripts/build_explainers.py:38-45 (PROJECT_ANCHORS) and assets/explainers-ui.js:14-22 (projectAnchors) - two parallel maps of audit-folder name -> homepage anchor ID, used to turn a Markdown link like [Tenant Screening/](../Tenant%20Screening/) into a proper ../index.html#project-tenant link when an explainer's page is rendered.
Both maps list COMPAS, AI Fair Recruitment, German Credit Lending, Insurance Denial, Benefits Denial, and Healthcare Readmission - but not Tenant Screening, even though index.html has a real id="project-tenant" anchor for it, exactly like the other six audits.
Real, live consequence: explainers/equal-opportunity.html (line ~273) resolves its [COMPAS/](../COMPAS/) related-project link to ../index.html#project-compas correctly, but the identically-formatted [Tenant Screening/](../Tenant%20Screening/) link two items later stays as a bare, unconverted folder link instead of ../index.html#project-tenant. The same bug affects explainers/fairness-through-unawareness.html, and will silently affect every future explainer that cites the Tenant Screening audit.
Suggested fix: add "Tenant Screening": "project-tenant" to both PROJECT_ANCHORS (Python) and projectAnchors (JS), then make build-explainers to fix the two already-shipped pages. While in there: assets/explainers-ui.js's map also has a dead, misspelled legacy key 'Ai Fair Recrutment Dataset': 'project-hiring' (line 17) worth removing in the same PR - it doesn't match any real folder name and has no Python-side counterpart.
Where:
scripts/build_explainers.py:38-45(PROJECT_ANCHORS) andassets/explainers-ui.js:14-22(projectAnchors) - two parallel maps of audit-folder name -> homepage anchor ID, used to turn a Markdown link like[Tenant Screening/](../Tenant%20Screening/)into a proper../index.html#project-tenantlink when an explainer's page is rendered.Both maps list COMPAS, AI Fair Recruitment, German Credit Lending, Insurance Denial, Benefits Denial, and Healthcare Readmission - but not Tenant Screening, even though
index.htmlhas a realid="project-tenant"anchor for it, exactly like the other six audits.Real, live consequence:
explainers/equal-opportunity.html(line ~273) resolves its[COMPAS/](../COMPAS/)related-project link to../index.html#project-compascorrectly, but the identically-formatted[Tenant Screening/](../Tenant%20Screening/)link two items later stays as a bare, unconverted folder link instead of../index.html#project-tenant. The same bug affectsexplainers/fairness-through-unawareness.html, and will silently affect every future explainer that cites the Tenant Screening audit.Suggested fix: add
"Tenant Screening": "project-tenant"to bothPROJECT_ANCHORS(Python) andprojectAnchors(JS), thenmake build-explainersto fix the two already-shipped pages. While in there:assets/explainers-ui.js's map also has a dead, misspelled legacy key'Ai Fair Recrutment Dataset': 'project-hiring'(line 17) worth removing in the same PR - it doesn't match any real folder name and has no Python-side counterpart.