Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .claude/skills/dismech-pr-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,10 @@ is **blocking** under the same threshold as the Content-Completeness Checklist.
a title**, and the reviewer must use that title to judge whether the publication is
actually relevant to the claim it is attached to.

This is a review requirement, not a validator one, and it is deliberately stricter than
the `recommended: true` flags on `EvidenceItem.reference_title` and
`PublicationReference.title`. Two gaps make the human read necessary:
`EvidenceItem.reference_title` is `required` in the schema, and
`just check-reference-titles-present` gates its absence; `PublicationReference.title` is
still only `recommended`, so check new disease-level publications by eye. Presence is not
the point of this section, though. Two gaps make the human read necessary:

- Nothing checks an `EvidenceItem.reference_title` against the real publication. A
deliberately wrong `reference_title` passes `linkml-reference-validator` with "All
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
history_version: 1
target:
kind: schema
slug: reference_title
path: src/dismech/schema/dismech.yaml
session:
id: 2026-11-18T070459Z-claude-code-b77278
timestamp: '2026-11-18T07:04:59Z'
actors:
- type: ai_agent
name: claude-code
agent_tool: claude-code
links:
issues: []
prs:
- https://github.com/monarch-initiative/dismech/pull/15612
- https://github.com/linkml/linkml-reference-validator/pull/167
urls: []
events:
- type: EDIT
outcome: changed
summary: Make EvidenceItem.reference_title required
details: |
EvidenceItem.reference_title changes from recommended to required.

This is the second stage of a two-stage narrowing. The first stage (#15612) backfilled 520 missing titles from references_cache/ and made scripts/find_missing_reference_titles.py a whole-repo CI gate, so new gaps failed before merge. The gate has held kb/ at zero since.

The last three title-less cache files were whole-book PubMed records (PMID:23304742, AHRQ CER 86; PMID:25695122, IOM ME/CFS report; PMID:31909928, NICE cannabis-based medicinal products guideline). PubMed's eSummary leaves Title empty for a whole book, so the fetcher cached them without one. linkml-reference-validator#167 reads the title from the BookDocument's BookTitle instead; dismech already pins a release containing it (>=0.8.0). The three caches were re-fetched with --force, and the two evidence items citing PMID:23304742 (Restless_Legs_Syndrome, dopamine_receptor_agonism) were backfilled from them.

Also filled: five top-level references: titles in TOP2B-Related_Immunodeficiency_and_Congenital_Anomalies_Spectrum, and 97 titles in the tests/data/valid example fixture, which linkml-run-examples validates against the schema. All copied verbatim from the cache by scripts/backfill_reference_titles.py.

Not changed: src/dismech/datamodel/ (the committed generated models already differ from a fresh regeneration by ~290 lines of unrelated drift, and nothing imports them); examples/gene_term_example.yaml (cites the placeholder PMID:12345678, which has no cache file); two YAML artifacts under docs/reports/senescent-cell-representation/ (snapshots belonging to a dated report).
1 change: 1 addition & 0 deletions kb/disorders/Restless_Legs_Syndrome.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ pathophysiology:
label: DRD3
evidence:
- reference: PMID:23304742
reference_title: "Treatment for Restless Legs Syndrome"
supports: SUPPORT
evidence_source: HUMAN_CLINICAL
directness: INDIRECT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1595,10 +1595,15 @@ notes: >-
hgnc:11990, the identifier used throughout this entry.
references:
- reference: PMID:31409799
title: "Mutations in topoisomerase IIβ result in a B cell immunodeficiency."
- reference: PMID:32128574
title: "Topoisomerase 2β mutation impairs early B-cell development."
- reference: PMID:37068767
title: "Revisiting TOP2B-related phenotypes: Three new cases and literature review."
- reference: PMID:36045673
title: "Topoisomerase 2β and DNA topology during B cell development."
- reference: PMID:35063500
title: "Disease-associated mutations in topoisomerase IIβ result in defective NK cells."
diagnosis:
- name: TOP2B Sequencing
description: >-
Expand Down
1 change: 1 addition & 0 deletions kb/modules/dopamine_receptor_agonism.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ treatments:
description: The drug is the agonist that establishes receptor occupancy at this node.
evidence:
- reference: PMID:23304742
reference_title: "Treatment for Restless Legs Syndrome"
supports: SUPPORT
evidence_source: HUMAN_CLINICAL
directness: DIRECT
Expand Down
6 changes: 6 additions & 0 deletions references_cache/PMID_23304742.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
reference_id: PMID:23304742
extractor_version: 1
title: Treatment for Restless Legs Syndrome
authors:
- Wilt TJ
- MacDonald R
Expand All @@ -15,6 +16,11 @@ content_type: abstract_only
full_text_attempted: true
---

# Treatment for Restless Legs Syndrome
**Authors:** Wilt TJ, MacDonald R, Ouellette J, Tacklind J, Khawaja I, Rutks I, Butler M, Fink HA

## Content

CONTEXT: Restless legs syndrome (RLS) is a neurological disorder characterized by unpleasant sensations in the legs and a distressing, irresistible urge to move them. RLS severity and burden vary widely, and the condition may require long-term treatment.

OBJECTIVE: To review the comparative effectiveness, efficacy, and safety of pharmacologic and nonpharmacologic treatments for RLS.
Expand Down
48 changes: 7 additions & 41 deletions references_cache/PMID_25695122.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
reference_id: PMID:25695122
extractor_version: 1
title: "Beyond Myalgic Encephalomyelitis/Chronic Fatigue Syndrome: Redefining an Illness"
authors:
- Committee on the Diagnostic Criteria for Myalgic Encephalomyelitis/Chronic Fatigue Syndrome
- Board on the Health of Select Populations
Expand All @@ -10,46 +12,10 @@ content_type: abstract_only
full_text_attempted: true
---

1. Beyond Myalgic Encephalomyelitis/Chronic Fatigue Syndrome: Redefining an
Illness.
# Beyond Myalgic Encephalomyelitis/Chronic Fatigue Syndrome: Redefining an Illness
**Authors:** Committee on the Diagnostic Criteria for Myalgic Encephalomyelitis/Chronic Fatigue Syndrome, Board on the Health of Select Populations, Institute of Medicine
**DOI:** [10.17226/19012](https://doi.org/10.17226/19012)

Committee on the Diagnostic Criteria for Myalgic Encephalomyelitis/Chronic
Fatigue Syndrome; Board on the Health of Select Populations; Institute of
Medicine.
## Content

Washington (DC): National Academies Press (US); 2015 Feb 10.
The National Academies Collection: Reports funded by National Institutes of
Health.

Myalgic encephalomyelitis (ME) and chronic fatigue syndrome (CFS) are serious,
debilitating conditions that affect millions of people in the United States and
around the world. ME/CFS can cause significant impairment and disability.
Despite substantial efforts by researchers to better understand ME/CFS, there is
no known cause or effective treatment. Diagnosing the disease remains a
challenge, and patients often struggle with their illness for years before an
identification is made. Some health care providers have been skeptical about the
serious physiological — rather than psychological — nature of the illness. Once
diagnosed, patients often complain of receiving hostility from their health care
provider as well as being subjected to treatment strategies that exacerbate
their symptoms. Beyond Myalgic Encephalomyelitis/Chronic Fatigue Syndrome
proposes new diagnostic clinical criteria for ME/CFS and a new term for the
illness — systemic exertion intolerance disease(SEID). According to this report,
the term myalgic encephalomyelitis does not accurately describe this illness,
and the term chronic fatigue syndrome can result in trivialization and
stigmatization for patients afflicted with this illness. Beyond Myalgic
Encephalomyelitis/Chronic Fatigue Syndrome stresses that SEID is a medical — not
a psychiatric or psychological — illness. This report lists the major symptoms
of SEID and recommends a diagnostic process.One of the report's most important
conclusions is that a thorough history, physical examination, and targeted
work-up are necessary and often sufficient for diagnosis. The new criteria will
allow a large percentage of undiagnosed patients to receive an accurate
diagnosis and appropriate care. Beyond Myalgic Encephalomyelitis/Chronic Fatigue
Syndrome will be a valuable resource to promote the prompt diagnosis of patients
with this complex, multisystem, and often devastating disorder; enhance public
understanding; and provide a firm foundation for future improvements in
diagnosis and treatment.

Copyright 2015 by the National Academy of Sciences. All rights reserved.

DOI: 10.17226/19012
PMID: 25695122
Myalgic encephalomyelitis (ME) and chronic fatigue syndrome (CFS) are serious, debilitating conditions that affect millions of people in the United States and around the world. ME/CFS can cause significant impairment and disability. Despite substantial efforts by researchers to better understand ME/CFS, there is no known cause or effective treatment. Diagnosing the disease remains a challenge, and patients often struggle with their illness for years before an identification is made. Some health care providers have been skeptical about the serious physiological — rather than psychological — nature of the illness. Once diagnosed, patients often complain of receiving hostility from their health care provider as well as being subjected to treatment strategies that exacerbate their symptoms. Beyond Myalgic Encephalomyelitis/Chronic Fatigue Syndrome proposes new diagnostic clinical criteria for ME/CFS and a new term for the illness — systemic exertion intolerance disease(SEID). According to this report, the term myalgic encephalomyelitis does not accurately describe this illness, and the term chronic fatigue syndrome can result in trivialization and stigmatization for patients afflicted with this illness. Beyond Myalgic Encephalomyelitis/Chronic Fatigue Syndrome stresses that SEID is a medical — not a psychiatric or psychological — illness. This report lists the major symptoms of SEID and recommends a diagnostic process.One of the report's most important conclusions is that a thorough history, physical examination, and targeted work-up are necessary and often sufficient for diagnosis. The new criteria will allow a large percentage of undiagnosed patients to receive an accurate diagnosis and appropriate care. Beyond Myalgic Encephalomyelitis/Chronic Fatigue Syndrome will be a valuable resource to promote the prompt diagnosis of patients with this complex, multisystem, and often devastating disorder; enhance public understanding; and provide a firm foundation for future improvements in diagnosis and treatment.
20 changes: 11 additions & 9 deletions scripts/find_missing_reference_titles.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
A blank or absent ``reference_title`` on an evidence item **fails** this check.
It is the presence half of the title guard: ``scripts/check_reference_titles.py``
fails a title that is present and *wrong*, and says nothing about one that was
never written. ``reference_title`` is ``recommended`` in the schema, so
``linkml-validate`` is silent too. This gate holds the backlog at zero ahead of
making the slot ``required``, which would otherwise turn every open curation PR
that omits a title red the moment the schema change merged -- the merge-shaped
failure ``check_enum_values.py`` describes (issue #10061).
never written. ``reference_title`` is now ``required`` in the schema, so
``linkml-validate`` fails the same gap; this check stays because it runs
offline, whole-KB and ungated in CI, where ``validate-disorders`` runs only on
changed files, and because it names the remedy. It held the backlog at zero
while the slot was still ``recommended``, so the narrowing did not turn every
open curation PR red at merge (the failure ``check_enum_values.py`` describes,
issue #10061).

Every gap so far has had its title sitting in the reference's
``references_cache/`` frontmatter, so the fix is mechanical and nothing needs to
Expand All @@ -29,10 +31,10 @@
One more class is reported rather than gated: an item whose reference **is**
cached but whose cache frontmatter has no ``title:``. There the remedy above
has nothing to copy, and the only way to pass would be to type a title, which
is how fabricated citations get in (issue #9138). PubMed book records are the
known source: ``PMID:23304742``, an AHRQ Comparative Effectiveness Review, comes
back from the fetcher with an empty title even under ``--force``. Those items
stay listed until the fetcher learns to read a book record's title. An item
is how fabricated citations get in (issue #9138). PubMed whole-book records
were the known source until linkml/linkml-reference-validator#167 taught the
fetcher to read their ``BookTitle``; re-fetch such a reference with
``just fetch-reference <ID> --force`` to pick the title up. An item
whose reference is not cached at all still fails: ``just fetch-reference``
fixes that.

Expand Down
20 changes: 15 additions & 5 deletions src/dismech/schema/dismech.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4014,10 +4014,19 @@ slots:
reference_title:
description: The title of the referenced publication
range: string
recommended: true
required: true
implements:
- dcterms:title
comments:
- >-
Required. Copy the title from the `title:` frontmatter of the
reference's references_cache/ file, never from memory:
`uv run python scripts/backfill_reference_titles.py <file>` does it
verbatim. If the cache has no title, re-fetch with
`just fetch-reference <ID> --force`; typing a title by hand is how
invented citations get in. The slot was `recommended` until every
evidence item in kb/ carried one and
scripts/find_missing_reference_titles.py had gated new gaps in CI.
- >-
`dcterms:title` is what makes this slot machine-checked:
linkml-reference-validator compares a declared title against the fetched
Expand Down Expand Up @@ -8533,10 +8542,11 @@ classes:
recommended: true
description: >-
Title of the referenced publication. Recommended so that
linkml-data-qc scores its absence, matching the `recommended: true`
already carried by the EvidenceItem `reference_title` twin. Set here
via slot_usage rather than on the shared `title` slot, which is also
used by Dataset and TrackedIssue.
linkml-data-qc scores its absence. Its EvidenceItem twin,
`reference_title`, is required; this slot stays recommended because
scripts/find_missing_reference_titles.py only reports its gaps.
Set here via slot_usage rather than on the shared `title` slot,
which is also used by Dataset and TrackedIssue.
ExternalAssertion:
description: >-
An externally curated assertion or registry record relevant to a disease or
Expand Down
Loading
Loading