[DEFERRED] Use Editor API for assert satisfy once OpenSysML#598 ships

Aperta
#12 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
jupyter-notebook
Ambito
documentation

Direzione di ricerca

After Open-MBEE/OpenSysML#598 ships, inspect the model increment cell in chapters/ch03-measures/01-moe-definition.ipynb and the deferred note D-007. Replace the cumulative-string load with the supported Editor API, then use editor.apply() as the reflection. Done means the notebook authors assert satisfy through the API without the illegal-kind error.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

assert satisfy R by P is loaded via conn.load_from_content() in Ch3/nb01 because the Editor.add_member() authoring API rejects "assert satisfy" as an illegal kind.

Upstream issue

Open-MBEE/OpenSysML#598 — Editor.add_member() does not support 'assert satisfy' (SatisfyRequirementUsage authoring)

Note: this is distinct from the query-path gap (D-001, #1, OpenSysML#590), where model.query() does not return SatisfyRequirementUsage. Two separate gaps exist for this construct.

Affected file

chapters/ch03-measures/01-moe-definition.ipynb — model increment cell

Resolution

When OpenSysML#598 ships: replace the cumulative-string load with editor.add_member(owner, kind="assert satisfy", ...) or the equivalent new helper, then use editor.apply() as the reflection.

See also

  • DEFERRED.md D-007
  • Related: #9 (abstract part def), #10 (attribute :>>), #11 (require constraint), #13 (allocate)
Lingua principale
Jupyter Notebook
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Open-MBEE/toaster

Tutte le issue di Open-MBEE/toaster

Issue simili

Altre issue su Documentation

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.