Skip to content

feat: add NASASTD7009, the NASA-STD-7009B models-and-simulations library - #23

Merged
HuiJun merged 4 commits into
mainfrom
feat/nasa-std-7009
Nov 23, 2026
Merged

HuiJun merged 4 commits into
mainfrom
feat/nasa-std-7009

Conversation

@HuiJun

@HuiJun HuiJun commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds libraries/NASASTD7009.sysml, a non-normative vocabulary for NASA-STD-7009B, Standard for Models and Simulations (2024), in the shape of NPR7123: the Standard's names, numbering and, where it defines a term, its words.

  • Requirements: MSRequirements holds the 43 [M&S n] requirements as requirement def <'M&S n'> MSn :> MSRequirement (doc = statement; id, section, description, area, rationale); MSRecommendations holds the section 4 recommendations (Appendix B).
  • Matrices: @Applicability { applicable; comments; recordLocation }, the RequirementsIdentificationRegister / RecommendationsAdoptionRegister queries and the RequirementsIdentificationMatrix / RecommendationsAdoptionMatrix documents generate Tables 1 and 2; the statement column reads type.documentation, so the text is stated once.
  • Criticality (Appendix D): DecisionConsequence, MSInfluence, CriticalityRating, @CriticalityAssessment; Figure 1 twice, as data on the MSInfluence rows (yellowFrom, redFrom) and as the evaluable calc def CriticalityOf.
  • Credibility (Appendix E): CapabilityFactor (5) and ResultsFactor (6), each literal carrying its title, table, question and level 0–4 evidence; FactorLevel; MSCapabilityAssessment / MSResultsAssessment nesting one factor assessment (factor, level, threshold, evidence) per factor, with registers that tabulate the outcome.
  • Reporting (section 4.3.8): MSResultsReport :> Document, ResultsWarning with the eight occurrences of [M&S 32], @Placard; MSLifeCyclePhase (Appendix F).

engine-contract.json gains the 20 names OpenSysML's internal/check/passes/nasastd7009.go binds; the README table and .meta.json are updated.

Literal names avoid words the pilot grammar reserves (use, verification, …), hence useOrOperation, msVerification, msUse.

Verification

  • scripts/check-engine-contract.py, scripts/check-readme-table.sh and scripts/write-project-meta.py --check pass.
  • libraries/ validates with zero diagnostics under the pilot validator at release 2026-09.1. scripts/validate-libraries.sh itself (pinned to 2026-08) was not run locally; CI runs it.
  • Under OpenSysML the library loads clean, CriticalityOf returns Figure 1 on all 25 cells, and a model's matrices render from it.

Captain opened this PR for Jason
Implemented in session Implement NASA-STD-7009B library like NPR 7123.1
Review with Devin · Open in Devin Desktop


devin-ai-integration Bot and others added 2 commits November 20, 2026 05:07
…terals the pilot reserves

Co-Authored-By: jason.han <hanhuijun@gmail.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot 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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

devin-ai-integration Bot and others added 2 commits November 21, 2026 05:15
Co-Authored-By: jason.han <hanhuijun@gmail.com>
Co-Authored-By: jason.han <hanhuijun@gmail.com>
@HuiJun
HuiJun merged commit 51825b2 into main Nov 23, 2026
1 of 2 checks passed
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.

1 participant