In-game harness: a combat scenario run unattended, input through the game's own seam, values read from the runtime's log (brief 20)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
Research direction
Start with the nevr-game-harness skill, then read the listed scenario runner files, src/runtime/scenario/scenario_protocol.h, src/runtime/patch/dinput_enumerate_rules.h, and docs/testing/smoke-checklist.md. Verify whether offline combat launches and whether desktop mode exposes usable input, then document the chosen input seam and runner approach in an ADR. Done means an unattended combat run reports per-pass values from the runtime log, records stock ground truth, and shows a deliberately wrong expectation failing.
Written by the indexing model from the issue text.
Description
No tool runs a combat test in the game without a person. The scenario harness drives social features only, so no combat behaviour of the port has a test against the game itself. Its tests compare the port with its own reconstruction.
Evidence at release/v6.20.0 367cf7ffe
src/runtime/scenario/scenario_protocol.h: the op set isstate, sixinjectvariants, thefireactions (social,dispatch_event,find_arena,invite_create/invite_resolve),fire_action,invite_answersandability_activate. It has no move, aim, trigger or equipment op.tools/scenario/run_scenario.py,run_all.py,control.pyand 27 YAML scenarios (social) plussmoke.yaml: they launchlaunch-client.shon a game copy under Wine on Xvfb :101 and judge a run from the game's JSONL log.docs/testing/smoke-checklist.md(299 lines): one row per feature with its platform, player action and proving log line. It has no row for the v6.20.0 combat port.src/runtime/lifecycle/boot.cppandsrc/runtime/patch/mode_patches.cpp(PatchEnableOffline): a client can start with-offline -gametype -level.src/runtime/patch/dinput_enumerate_rules.h: in desktop mode the game polls DirectInput pads 054c:0268 and 0810:0001 only.
Not shown
- Whether desktop mode ("No VR") spawns the local player's hands and weapons, and so whether any input in that mode can fire.
- Where the game's per-frame controller state lives (the input seam), on PC.
- Whether
-offline -gametype <combat> -level mpl_combat_dysonstarts a combat match.
Falsifier
A command already runs a combat scenario unattended and reports per-pass values read from the runtime's log.
Work
- A skill,
nevr-game-harness, first: how a scenario is written, run and read; the stock and Cat-build ground-truth runs; the must-fail check; the Wine prefix rules. - An ADR for the harness: the input seam chosen and why, Go for new code (ADR 0044), and whether the Python runner is wrapped or ported, with the reason.
- Milestones, each reported:
- launch and join;
- input driven through the game's own input seam;
- values read from the runtime's structured log, per pass;
- a scenario with a deliberately wrong expected value shown red;
- the stock run recorded as ground truth.
- Andrew's run, unattended: launch, lobby, move to the terminal, raise the hand, fire 40 s, idle 40 s, fire 40 s, N passes. One structured result per run.
- Capture never changes what it measures: no hook on a per-hit or per-frame path to read a number. Values come from log lines the behaviour already writes, or from reads outside those paths.
- The Wine prefix runs as nevr-build. No prefix folder links into a home, and the harness deletes no tree. A run whose record cannot be written fails loudly.
Brief 20 (nevr-pm). Points: integration, with its own budget.
- Dominant language
- C++
- Stars
- 3
- Forks
- 5
- Avg merge
- 4h 37m
- Merged PRs (30d)
- 524
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EchoTools/nevr-runtime
-
bug
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
EchoTools/nevr-runtime#2912 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
EchoTools/nevr-runtime#2910 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
EchoTools/nevr-runtime#2909 ·
Maintainers usually reply within 1 day
-
build: the generated defaults header is written 0600, so a seat outside nevr-build cannot read itOpenbacklog
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
EchoTools/nevr-runtime#2901 · 1 comment ·
Maintainers usually reply within 1 day
-
backlog
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
EchoTools/nevr-runtime#2897 ·
Maintainers usually reply within 1 day
All issues in EchoTools/nevr-runtime
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
category:port-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
bug-unconfirmed
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
libc++
Difficulty 1/5 Under an hour Newbie friendliness 88/100
llvm/llvm-project#246508 ·
Maintainers usually reply within 1 day
-
good first issue help wanted phase:0 priority:P3 type:task
Difficulty 2/5 1-3 hours Newbie friendliness 67/100