Skip to content

chore: address low-risk Copilot AI findings (comments and strings)#556

Merged
turbomam merged 3 commits into
mainfrom
chore/copilot-ai-findings-safe
Jun 26, 2026
Merged

chore: address low-risk Copilot AI findings (comments and strings)#556
turbomam merged 3 commits into
mainfrom
chore/copilot-ai-findings-safe

Conversation

@turbomam

@turbomam turbomam commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Applies the zero-risk subset of the Copilot AI code-quality findings: cosmetic message-string capitalization and a clarifying comment. No behavioral change.

The QC-fixture comment finding moved to the METPO prefix-normalization PR (issue #16), where that file's metpo: -> METPO: is handled together so the comment lands in canonical uppercase form.

The behavioral findings (cross_ontology_search.py, run_sparql_metatest.sh) are deliberately left out for separate review.

…ings)

Cosmetic, non-behavioral changes from the AI code-quality findings:
- metpo.Makefile diff-release: 'ERROR'/'WARN' -> 'Error'/'Warning' in echo
  messages for consistent capitalization.
- metpo-edit.owl: clarify the obsolescence-reason comment that the IAO code
  assignment is tracked in issue #521.
- qc-positive-fixture.ttl: note that metpo:1000000 / metpo:2000000 are
  intentional fixture-only replacement IRIs, not production terms.

Behavioral findings (cross_ontology_search.py, run_sparql_metatest.sh) are
intentionally left for separate review.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 26, 2026 17:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR applies low-risk, non-behavioral cleanups by standardizing user-facing message-string capitalization in the ontology Makefile and adding clarifying comments in ontology/fixture files to document intentional data-modeling/test-fixture choices.

Changes:

  • Standardize diff-release Makefile echo messages from ERROR/WARN to Error/Warning.
  • Clarify in metpo-edit.owl that the correct obsolescence-reason code assignment work is tracked in issue #521.
  • Document in the SPARQL QC positive fixture that metpo:1000000/metpo:2000000 are intentional fixture-only IRIs.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
tests/sparql_qc/qc-positive-fixture.ttl Adds fixture documentation explaining intentional non-production replacement-target IRIs used to trigger a QC violation case.
src/ontology/metpo.Makefile Normalizes diff-release diagnostic message prefixes/capitalization for consistency with other Makefile targets.
src/ontology/metpo-edit.owl Adds a clarifying comment pointing to issue #521 for correct obsolescence-reason code assignment follow-up.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

turbomam and others added 2 commits June 26, 2026 15:00
The fixture explanatory comment belongs with the work that normalizes that
file's metpo: -> METPO: prefix (issue #16), so it is re-added there in the
canonical uppercase form. This PR keeps only the Makefile and OWL findings.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@turbomam turbomam merged commit b7cc8ad into main Jun 26, 2026
14 checks passed
@turbomam turbomam deleted the chore/copilot-ai-findings-safe branch June 26, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants