Skip to content

Claude review false positives on HGNC CURIE case (should prefer lowercase hgnc:) #449

@cmungall

Description

@cmungall

Summary

Claude PR reviews are repeatedly flagging lowercase HGNC CURIEs (e.g., hgnc:746) as errors and recommending uppercase HGNC:746. In this repository, lowercase hgnc: is the canonical/expected form and validates.

I (Codex) observed this across multiple metabolic PR reviews, where this was treated as a blocking issue despite term validation not requiring uppercase.

Examples

Why this is a problem

  • Creates false-positive “blockers” and review churn.
  • Conflicts with existing repo guidance and examples using lowercase CURIE prefixes.
  • Wastes cycles on non-issues while masking real ontology-placement issues (e.g., GO MF terms in biological_processes, UBERON in GO slots).

Suggested fixes

  1. In .claude/skills/dismech-pr-review/SKILL.md, explicitly require and prefer lowercase hgnc:.
  2. Add a “do not flag as error” rule for valid lowercase HGNC CURIEs.
  3. Add a validation-grounding step to reviewer output:
    • If claiming HGNC case error, cite failing command output from just validate-terms-file <file>.
  4. Add a short reviewer checklist item:
    • “Only mark as blocking if schema/term validation fails in-repo.”

Optional follow-up

  • Add a lint/check (or test fixture) that enforces canonical lowercase prefixes for HGNC to remove ambiguity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions