must have named source anchor”. For uncertain items, we could use “previsione” or “stima” but no source. Alternatively, we can leave them without source because they are explicitly uncertain. However, the gate is strict. We might need to add a generic source like “Analisi di settore” but not in research. Better to keep as is, since the research confidence is low. Maybe we can add a source for the “2.3%” claim? That is from the stats line? Actually the stats line has no source. We’ll need to add sources where possible. Let’s check the research notes: facts include many with sources. For the timeline, we have research notes with dates? Not exactly. The timeline_plan in contract has events but no sources. The input timeline card uses 2023, 2024, 2026 with events. We can source the 2023 and 2024 events to AIFA? The research notes have “Pubblicazione Rapporto OsMed AIFA 2023” – we can add anchor to AIFA. For 2024, “Aggiornamento delle raccomandazioni AIFA sul paracetamolo in gravidanza” – also AIFA. For 2026, “Classifica previsionale delle migliori farmacie online” – source Ecommerce Italia? But not in research. We can add a source from the blockquote? The fourth blockquote cites Ecommerce Italia. So we can add that as source.
We’ll need to add source anchors to timeline items and perhaps to card 2 items? Card 2 items are uncertain, so we can add “previsione” but no source. The gate says “No source available → downgrade, move to rumor-list”. But they are already in “Cosa resta incerto”, which is effectively rumor-list. So okay.
Also key facts table: need to add source. The table rows: first row “Farmaci più venduti (2023)” – source AIFA? The second row “Aumento vendite 2023” – source AIFA? Third row “Farmacie online autorizzate” – source Ministero? Not in research. Fourth row “Farmaci consentiti in gravidanza” – source AIFA. Fifth row “Fonte principale” – already says “Rapporto OsMed AIFA 2023”. But we need to wrap that in a link? The gate says “named source anchor” meaning a hyperlink. So we should add links to relevant sources.
We’ll do that.
Gate 4: Fact Lock vs Verified_facts. The verified_facts JSON is empty. So no conflict. Skip.
Gate 5: FAQ Dedup. Need to ensure no FAQ item has >85% lexical overlap with H2/H3 or exact same question. The FAQ items are: “I farmaci generici sono uguali a quelli di marca?”, “Posso acquistare farmaci online senza ricetta?”, “Quali farmaci da banco sono consigliati per il mal di testa?”, “Il paracetamolo è sicuro in allattamento?”, “Come faccio a sapere se una farmacia online è autorizzata?”, “Cosa fare in caso di vomito persistente?”. Compare with H2s: no overlap. H3s: none of these appear as H3. So no dedup needed. Hard min 5, we have 6. OK.
Gate 6: Link Hygiene. Internal links: In the input, there are internal links at the bottom: “Sanità Pubblica Italia – Guida Completa SSN” and “Vaccini Italia – Guida Completa su Prenotazioni e Obblighi”. They have target=”_blank” rel=”noopener nofollow”. Gate says internal (site domain or /): strip target/rel. So we need to remove target and rel from those internal links. Also need to ensure each external URL at most once. Input has many external links to AIFA and Farmacovigilanza, some repeated. We need to deduplicate: each external URL should appear only once. The AIFA URL is used multiple times. We’ll keep only the first occurrence and remove subsequent duplicate links, but keep the text as plain text maybe? Or we can leave the links but gate says “Each external URL at most once.” So we must ensure that no two tags have the same href. We’ll need to remove duplicates and convert subsequent occurrences to plain text or use a different anchor text? The gate says “at most once”, so we should delete the duplicate links, leaving the text without a link. But the gate also says “External: ensure target=”_blank” rel=”noopener nofollow”.” So for the first occurrence we set that. For later occurrences, we remove the link entirely.
Also need to ensure max 3 per domain. AIFA appears many times. We’ll keep only first 3? But gate says “Max 3 per domain.” So we must limit external links to the same domain to at most 3. The input has many AIFA links. We’ll reduce to 3 AIFA links, and 3 Farmacovigilanza? Actually Farmacovigilanza also appears multiple times. We’ll keep first 3 for each domain. We’ll also need to ensure diversity.
We’ll scan all external tags and keep only the first three from AIFA, first three from Farmacovigilanza, and any others (Ecommerce Italia) once.
Gate 7: JSON-LD. Keep exactly two
Informazioni sull'autore
Giorgio Marco Romano Ferrari
Pubblichiamo ogni giorno contenuti basati sui fatti con revisione editoriale continua.