feat(tools): the PCVR debug-run reader takes the log's own window lines when there are no step marks
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
The issue says the Go reader lives in the test seat's scratch, not this repository, and mentions ADR 0044 as context for where it might belong. Start by locating the reader and its existing step-marks mode, then inspect the fixture and tests for log windows and shot lines. Done means the reader reports log-derived windows with per-window shot counts when marks are absent, still refuses logs with neither input, and preserves the existing mode.
Written by the indexing model from the issue text.
Description
The reader for a PCVR debug run's log builds its windows only from step marks, so a run with no marks (the tester ran the page's commands by hand) is refused and its log is read with one-off scripts.
Evidence at 80e8ec993
- A weapon run of a PC client with a headset produced a main log of 7,541 rows and no step-mark file. The reader's own entry point refused it:
REFUSED: empty log (7541 rows) or no step marks (0). - The same log holds the game's own window lines, one set every 10 seconds:
mc window,script slot window,script activityandpose reader window(20 windows), and sixshot firedlines with their times. Three throwawayjqprograms turned them into a per-window table (all-slot call rate, hand-reader calls, the busiest scripts and their slots, shots per window) and found, in the six windows that hold a shot, a raised slot call rate and two scripts that enter the busiest list only there. - The reader (a Go tool kept in the test seat's scratch, not in this tree) takes
<main-log.jsonl> <steps-marks.txt|debug-start.txt>and refuses when it finds no marks.
Not shown
- That every observer build writes the same window lines (the lines read here are the ones the PC scenario observers of this release write).
- Whether the tool should live in
tools/as a Go command (ADR 0044) before it grows this mode.
Falsifier
A run of the reader on a log with window lines and no marks that prints the per-window table and says in its first line that the windows are the log's own, with the shots as markers, shows the issue is fixed; a log with neither marks nor window lines is still refused, naming both.
Work (tests first)
- A test on a fixture log with window lines and shot lines and no marks: the table has one row per window, a shot count per window, and the first line says "windows from the log's own lines".
- A test that a log with neither is refused with a line that names both missing inputs.
- Port the three
jqprograms' columns into the reader; keep the step-marks mode as it is.
Related: #2875 (the in-game harness the runs belong to).
- 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