-
Notifications
You must be signed in to change notification settings - Fork 0
Add QUDT QuantityKinds value set #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Add a value set for physical quantity kinds based on QUDT (Quantities, Units, Dimensions and Types). Includes 47 quantity kinds organized into categories: - SI base quantities (length, mass, time, temperature, etc.) - Derived geometric (area, volume, angle) - Mechanical (velocity, force, energy, power, momentum, etc.) - Material properties (density, viscosity) - Electromagnetic (charge, potential, resistance, etc.) - Thermal (heat capacity, thermal conductivity) - Optical (luminous flux, illuminance) - Radioactivity (activity, absorbed dose) - Information (entropy, data rate) Each quantity kind has: - meaning: mapped to QUDT quantitykind namespace - exact/close mappings to PATO where available - dimensional analysis in annotations 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
I'll analyze this and get back to you. |
There was a problem hiding this comment.
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 adds a comprehensive value set for QUDT (Quantities, Units, Dimensions and Types) quantity kinds, which represent abstract types of physical quantities independent of their units of measurement. The implementation follows the established patterns in the codebase for value set schemas, with proper metadata, QUDT mappings, and PATO mappings where available.
Key Changes
- Added
QuantityKindEnumwith 48 quantity kinds (note: PR description states 47, actual count is 48) covering SI base quantities, geometric, mechanical, material, electromagnetic, thermal, optical, radioactivity, and information domains - Integrated the new schema into the import list in
valuesets.yaml - Generated corresponding Python enum with proper metadata structure
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
src/valuesets/schema/valuesets.yaml |
Added import for units/quantity_kinds and three pediatric oncology schemas |
src/valuesets/schema/units/quantity_kinds.yaml |
New schema defining 48 quantity kinds with QUDT mappings, PATO mappings, and dimensional annotations |
src/valuesets/enums/units/quantity_kinds.py |
Auto-generated Python enum implementation with complete metadata dictionary |
- PediatricOncologyDiagnosisCategory: 30 CCDI CDE 16607972 categories - ICCC3MainGroup (12) and ICCC3Subgroup (47) from SEER/IARC - Neuroblastoma staging: INRGSS, INSS, risk groups, IDRFs - NCIt mappings and WHO classification alignment throughout 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Claude finished @cmungall's task —— View job Code Review Completed ✅I've conducted a comprehensive review of the QUDT QuantityKinds value set implementation. Here are my findings: Review Tasks
✅ Strengths1. Excellent Schema Structure
2. Comprehensive Ontology Mappings
3. Rich Metadata
4. Code Quality
📝 Minor Observations1. Documentation Accuracy
2. QUDT Namespace Consistency
3. Schema Integration
🔍 Technical ValidationDimensional Analysis: All dimensional annotations are mathematically correct:
Mapping Quality:
🛡️ Security & Performance
✅ Best Practices Adherence
🎯 Recommendations
📊 SummaryThis is a high-quality implementation that demonstrates excellent understanding of LinkML schemas, QUDT ontology, and scientific metrology. The code follows all established project conventions and provides comprehensive coverage of fundamental physical quantity kinds. The implementation is ready for production use. Recommendation: ✅ Approve with minor documentation update |

Summary
QuantityKindEnumvalue set based on QUDT (Quantities, Units, Dimensions and Types)meaning:mapped to QUDT quantitykind namespace and PATO mappings where availableDetails
Quantity kinds represent abstract types of physical quantities independent of units. For example, "length" is a quantity kind that can be measured in meters, feet, etc.
Categories included:
Test plan
just site🤖 Generated with Claude Code