Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Independent replication wanted: Pilot Implementation on another machine

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
58/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
java, python, shell

Direzione di ricerca

Inizia con toolchain/get-pilot-jar.sh e la relativa intestazione, quindi segui la configurazione documentata di JDK 21 e compila il commit di Pilot fissato. Esegui i comandi svt per il testcase end-feature-redefinition-explicit su una macchina separata, registrando qualsiasi digest e i dettagli della macchina come indicato. L’attività è completata quando viene aperta una PR contenente il diff risultante del ledger senza modificare manualmente i file .ttl.

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

Descrizione

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_DIR the Pilot loads no standard library and still returns verdicts — confidently wrong ones. The adapter refuses in that state now, but unresolved ScalarValues/Parts::Part in captured output is the tell.
  • The fat jar is ~137 MB; the first Maven run downloads a lot of Eclipse p2 metadata.
Lingua principale
Python
Stelle
0
Fork
0
Merge medio
29m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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/sysmlv2-testing

Tutte le issue di Open-MBEE/sysmlv2-testing

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.