Skip to content
Merged
Changes from 1 commit
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
50 changes: 50 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,56 @@ sh run.sh make <target>

---

## QC, release-diff, and BioPortal mechanics

### ROBOT report: run the default profile for the true dashboard state

The repo's custom ROBOT report profile can report "No violations" while the
**default** ROBOT profile still flags thousands of findings. Typing
`owl:deprecated` as `^^xsd:boolean` (issue #467) let ROBOT recognize the
Comment thread
Copilot marked this conversation as resolved.
Outdated
deprecated terms and cleared most of them, but to see the true OBO-dashboard
state run `robot report` with the DEFAULT profile, not the custom one.

### Scope: exactly four source-bound databases

METPO harmonizes exactly four source-bound databases, the only `IAO:0000119`
synonym sources in `metpo.owl`: BacDive, BactoTraits, Madin
(`jmadin/bacteria_archaea_traits`), and MetaTraits. kg-microbe is the downstream
consumer. Do not name NMDC or BugSigDB in any METPO description or scope text
(NMDC was removed from `dcterms:description` in PR #532). BugSigDB and MicroTrait
are broader-landscape context, not source-bound.

### Diff targets and the pre-PR release-diff workflow

- `make release_diff` (generated Makefile): a ROBOT diff of the OWL currently
served at `https://w3id.org/metpo/metpo.owl` (GitHub main via w3id) against the
locally built `metpo.owl`, OWL-level. Output: `reports/release-diff.md`.
- `make diff-sheets` (metpo.Makefile): live Google Sheet vs committed TSV at HEAD.
- `make diff-release`: TSV at the last git tag vs HEAD.
Comment thread
turbomam marked this conversation as resolved.
- `make diff-drafts`: saved drafts vs current templates.

Before opening a significant PR, show the OWL-level delta vs main:

sh run.sh make squeaky-clean
sh run.sh make prepare_release # re-fetches the Sheet, rebuilds artifacts
sh run.sh make release_diff # diffs the new build vs current w3id/main
Comment thread
turbomam marked this conversation as resolved.

`squeaky-clean` alone is not enough: `release_diff` needs a locally built
`metpo.owl`, so `prepare_release` must run first.

### BioPortal is pull-based

BioPortal is configured with
`pullLocation: https://raw.githubusercontent.com/berkeleybop/metpo/refs/heads/main/metpo.owl`.
Comment thread
turbomam marked this conversation as resolved.
Outdated
Its poller runs nightly and creates a new submission whenever that content
changes, so a tagged release propagates within about 24 hours with no manual
web-UI re-submission. The default
`data.bioontology.org/ontologies/METPO/latest_submission` response omits
Comment thread
Copilot marked this conversation as resolved.
Outdated
`pullLocation` and similar infrastructure fields; query with `?display=all` to
see the pull config.

---

## Quick Reference

| Task | Command |
Expand Down
Loading