Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

mapping-analysis

БесплатноБез исполняемых скриптовНе проверен

Investigate dismech disease mappings, subtype and grouping alignment, and disagreements between MONDO and external ontologies. Use for Boomer runs…

monarch-initiativeот monarch-initiative★ 77 звёзд на GitHub

Об этом скилле

Analyze mappings in dismech

Determine whether the mapped concepts have the same scope, explain the alternatives, and identify the evidence for a correction. Boomer checks consistency under supplied constraints and priors; it does not establish clinical equivalence or infer gene associations.

Start with the question and saved evidence

Identify the disease entry, subtype, grouping, or cross-source mapping at issue. Read its asserted mapping predicate and intended scope before treating a different target as an error. A disease family, genetic subtype, phenotype, susceptibility, and coding category may have similar names but different scopes.

Use the existing artifacts under analyses/boomer:

Artifact What to inspect
index.tsv, mendelian.tsv Cohort membership, grounding, and saved status
disorders/<slug>/kb.yaml Hard constraints, hypotheses, input priors, and labels
disorders/<slug>/solution.yaml, solution.md, solve.json Chosen assignment, probabilities, timeout status, input hash, and solver revision
disorders/<slug>/proxy-merges.json Annotation evidence and decisions, where generated
remaining-low-confidence/ Distinct alternatives, source context, and residual triage
proxy-merges/ Curated permissions, source catalog, original inputs, and migration manifests
runs/ Attempt records and comparisons, including failed or incomplete searches
groupings/, cross-source/, icd10/ Solver-free membership checks, direct mapping comparisons, and ICD coverage

An index row or an old solution.md is not enough to establish a current result. Check the input hash, solver revision, and completion status together. Separate current completed searches, timeouts, stale results, and results from older solvers when reporting counts or confidence distributions. Compute cohort sizes from the artifacts; historical README totals are not permanent defaults.

Establish source context

Collect canonical labels, definitions, relevant parents and children, mapping qualifiers, and useful gene associations for the entities involved. Include a sibling subtype when it demonstrates that a parent is broader. Cite the checked records and relevant literature; label an unverified candidate as such.

  • Use OAK for ontology labels and hierarchy. The Boomer analysis uses local semantic-sql snapshots, with OAK_DIR selecting their directory. Check their availability before opening adapters that might download missing builds.
  • Keep analysis snapshots separate from conf/oak_config.yaml, which governs automated term validation and may use live OLS sources. Do not silently mix newer labels or hierarchy with older saved inputs.
  • Preserve source URLs, versions or commits, and checksums. The MONDO xref annotation catalog may be newer than the OAK graph; record both provenances.
  • Inspect source qualifiers, not just bare xrefs. A bare xref does not establish equivalence. Use the existing grammar-based qualifier extractor for MONDO.
  • Keep WHO ICD-10 and ICD-10-CM distinct. Check broad/narrow mapping direction from the subject's perspective; do not infer it from labels alone.
  • Do not use a mapping-derived preferred_term as independent lexical support for that same mapping. A bare acronym match also needs an independent signal.

The absence of a hierarchy path is not proof of a contradiction or an ontology gap. Check definitions, mapping precision, source completeness, and scope before proposing a retarget. Grouping descendant checks require the appropriate exact mapping; a broad or narrow mapping does not license the same expectation.

Use Boomer to expose the competing interpretations

Use the solver when alternative mapping assignments interact with constraints. For straightforward source comparisons, the grouping and cross-source audits may suffice. Boomer is loaded from a separate boomer-py source checkout via BOOMER_SRC; it is not a dismech runtime dependency. See the solver provenance notes for the revision used by saved results. Use a clean checkout and record the revision for new runs.

Distinguish these quantities when explaining a result:

Quantity Meaning
Input prior Supplied probability for a mapping before consistency conditioning
True/False assignment Whether one complete solution accepts that hypothesis
Mapping marginal posterior Probability the mapping is true across consistent assignments
Whole-solution posterior Probability of one complete assignment under the model
Confidence P(best) / (P(best) + P(next best)), comparing distinct complete solutions

A confidence of 0.5 means the two best distinct solutions tie. It does not mean each has whole-solution posterior 0.5, or that an accepted mapping has a low input prior. For low confidence, show at least the two best distinct solutions when

Полный SKILL.md на GitHub

Установить mapping-analysis в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл mapping-analysis?

Investigate dismech disease mappings, subtype and grouping alignment, and disagreements between MONDO and external ontologies. Use for Boomer runs, low-confidence or retracted mappings, ICD mapping scope and direction, curated proxy merges, source comparisons, and mapping-correction reports or upstream PRs. For binding a term or repairing a label/cache validation failure, use dismech-terms instead.

Как установить скилл mapping-analysis?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл mapping-analysis запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить mapping-analysis с