Independent replication wanted: Pilot Implementation on another machine
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 58/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- testing-qa, tooling
Hướng nghiên cứu
Bắt đầu với toolchain/get-pilot-jar.sh và phần header của nó, sau đó làm theo quy trình thiết lập JDK 21 đã được tài liệu hóa và build commit Pilot đã được cố định. Chạy các lệnh svt cho testcase end-feature-redefinition-explicit trên một máy riêng, ghi lại mọi digest và thông tin chi tiết về máy theo hướng dẫn. Được coi là hoàn tất khi đã mở một PR chứa ledger diff tạo ra mà không chỉnh sửa thủ công các tệp .ttl.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Every pilot-implementation run in this ledger was executed on one machine (macOS 15, arm64). Until someone else runs it, the ledger cannot separate "this is how the Pilot behaves" from "this is how it behaves on that laptop".
This is as much an adapter shakedown as a reproduction. The Pilot adapter is the most bespoke of the three — a small Java shim over SysMLInteractive, driven headlessly — and it has the heaviest setup. If it doesn't work on your machine, that is the finding: please open an issue rather than working around it.
Fair warning that this is the highest-friction of the three implementations. If you want the easy one first, see #1.
What to do
git clone https://github.com/Open-MBEE/sysmlv2-testing.git
cd sysmlv2-testing && uv sync
# JDK 21 SPECIFICALLY -- see the script header for why 26 does not work
export JAVA_HOME=/path/to/jdk-21
PILOT_REPO=/path/to/SysML-v2-Pilot-Implementation \
PILOT_COMMIT=692170b71867353b8f90341e61556f49a5beb0e5 \
toolchain/get-pilot-jar.sh # Maven/Tycho reactor build; not quick
export PILOT_GLUE_CLASSPATH=... # the script prints this line
export SYSML_LIBRARY_DIR=/path/to/SysML-v2-Pilot-Implementation/sysml.library
uv run svt party add --id <your-machine-id> --label "<OS, arch>"
You will be refused on the first run, and that is expected here in a way it isn't elsewhere. The Pilot ships no release artifact — everyone builds their own jar, and Maven builds are not byte-reproducible, so every builder's digest differs. svt run prints yours and the command to add it:
uv run svt version add-artifact-digest --implementation pilot-implementation \
--version 692170b71867353b8f90341e61556f49a5beb0e5 --digest <yours>
Worth being honest that this makes the digest pin weak for the Pilot specifically: the set grows by one per builder and cannot distinguish "the same build" from "a build of the same commit". It still tells you two runs used the same jar, which is not nothing. If you have a better idea, that's a welcome issue in itself.
Then:
uv run svt run --testcase end-feature-redefinition-explicit \
--implementation pilot-implementation \
--version 692170b71867353b8f90341e61556f49a5beb0e5 \
--as <your-machine-id>
Open a PR with the resulting ledger diff. Please don't hand-edit any .ttl — svt is the only writer.
Why this test case
end-feature-redefinition-explicit is where the Pilot is the odd one out. On connection l : Link { end :>> source = a; end :>> target = b; } — the spec's own normative example form — OpenSysML and sysml-toolkit both accept it; the Pilot rejects it with "Must have at least two related elements", so it records failed.
We already checked that isn't a harness artifact: the fixture was fed both as separate indexed resources and as one concatenated compilation unit, with the same verdict either way. But that was checked on one machine, by the person who wrote the adapter. An independent run is the thing that would actually settle it.
What should happen
Agreement writes a svt:Reproduction — not a second TestRun. Disagreement is recorded as its own TestRun with a warning naming what it contradicts, and nothing is retracted. A disagreement here would be a genuinely interesting result.
Known rough edges, so you can tell a bug from a papercut
- JDK 21, not "whatever you have." JDK 26 makes
org.omg.sysml's Xtend compilation fail with ~150,000 errors. This is understood, not flaky; retrying will not help. - Without
SYSML_LIBRARY_DIRthe Pilot loads no standard library and still returns verdicts — confidently wrong ones. The adapter refuses in that state now, but unresolvedScalarValues/Parts::Partin captured output is the tell. - The fat jar is ~137 MB; the first Maven run downloads a lot of Eclipse p2 metadata.
- Ngôn ngữ chính
- Python
- Star
- 0
- Fork
- 0
- Merge trung bình
- 29 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Open-MBEE/sysmlv2-testing
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
Tất cả issue của Open-MBEE/sysmlv2-testing
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
letsencrypt/cp-cps#353 ·
-
Marble Madness II is missingĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
PedestrianDynamics/pyFDS-Evac#394 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
DOI-USGS/pywatershed#421 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
python-pillow/Pillow#10087 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày