API JSON: `verify`, flow ends, message ends and a transition's `then` use other metaclasses than the grammar
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 52/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- go
調査の方向性
Start with the sysml -convert api-json <file> entry point and reproduce the four examples with sysml -validate; compare each exported metaclass with the grammar references in the issue. Read rdf-mapping.md:1548 for the existing verify mapping, then verify that the API output matches the listed grammar constructs for verification, flow ends, message events and transition succession.
索引モデルが issue の本文から書いたものです。
説明
sysml -convert api-json <file> on develop (72081f8). Each file below validates cleanly in sysml -validate and in SysIDE 0.10.3.
| Source | Exported | Grammar (SysML-textual-bnf) |
|---|---|---|
verification def T { objective { verify r; } } |
FeatureMembership owning a SatisfyRequirementUsage (sysx:declaredKeyword "verify") |
RequirementVerificationMembership owning a RequirementUsage (:1551-1557) |
flow of Fuel from a.p.fuel to b.p.fuel; |
each end a ReferenceUsage with isEnd |
EndFeatureMembership owning a FlowEnd (:864-869) |
message m from a to b; |
each end a ReferenceUsage under an EndFeatureMembership |
ParameterMembership owning an EventOccurrenceUsage (:823-827) |
transition t first a then b; |
TransitionUsage with source/target set; it owns no Succession |
OwningMembership owning a Succession (TransitionSuccessionMember, :1340-1344) |
The examples, one file each:
package V {
requirement r;
verification def T { objective { verify r; } }
}
package F {
item def Fuel;
port def P { out item fuel : Fuel; }
part a { port p : P; }
part b { port p : ~P; }
flow of Fuel from a.p.fuel to b.p.fuel;
}
package M {
part a;
part b;
occurrence def Talk { message m from a to b; }
}
package T {
state def S {
state a;
state b;
transition t first a then b;
}
}
Why it matters for a consumer of the API form: a verify is read as a satisfaction, which a verification report must keep apart, and code that finds flow ends, message events or a transition's succession by metaclass finds none.
rdf-mapping.md:1548 calls verify a synonym of satisfy. In a requirement body the grammar gives it its own membership (:1551), so it isn't one there.
- 主要言語
- Go
- スター
- 42
- フォーク
- 13
- 平均マージ
- 17時間 10分
- マージ済み PR(30日)
- 777
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Open-MBEE/OpenSysML のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
Open-MBEE/OpenSysML#1309 · コメント 4 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
Open-MBEE/OpenSysML#1212 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
help wanted question
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
Open-MBEE/OpenSysML#987 · コメント 11 件 ·
メンテナーはふだん 1 日以内に返信
Open-MBEE/OpenSysML の issue をすべて見る
似ている issue
-
native
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
prime-radiant-inc/evener#4839 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
521xueweihan/HelloGitHub#4073 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
goharbor/terraform-provider-harbor#655 · コメント 1 件 ·