nmarshall commited on
Commit
1550ce0
·
1 Parent(s): f8ab1ad

xtask: affected validation runner

Browse files
.cargo/config.toml ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ [alias]
2
+ xtask = "run --offline --package xtask --"
Cargo.lock CHANGED
@@ -5,3 +5,7 @@ version = 4
5
  [[package]]
6
  name = "urt-assets"
7
  version = "0.1.0"
 
 
 
 
 
5
  [[package]]
6
  name = "urt-assets"
7
  version = "0.1.0"
8
+
9
+ [[package]]
10
+ name = "xtask"
11
+ version = "0.1.0"
Cargo.toml CHANGED
@@ -1,3 +1,3 @@
1
  [workspace]
2
- members = ["crates/urt-assets"]
3
  resolver = "3"
 
1
  [workspace]
2
+ members = ["crates/urt-assets", "xtask"]
3
  resolver = "3"
docs/README.md CHANGED
@@ -23,6 +23,8 @@ Current assessment: see [progress toward the complete game](PROGRESS.md) for the
23
  12. [QVM/native binary analysis](research/README.md): full static decoding/disassembly, entry/ABI evidence, libraries/DLLs and remaining uncertainties.
24
  13. [Large provisional backlog](PROVISIONAL_TODO.md): expanded remaining work, immediate research priorities, platform feasibility and whole-game completion gates.
25
 
 
 
26
  ## How to use the checklist
27
 
28
  The provisional backlog uses separate `PROV` IDs and does not change canonical completion status. Task prefixes are `RE` (research), `AP` (asset pipeline), `RW` (rewrite), `QA` (validation), `MAP` (map completion), and `FILE` (installation file coverage). IDs are stable references for issues and evidence. Tasks stay unchecked until their deliverables exist and their verification is recorded. A section applies to **every applicable item in the inventory**, rather than only a representative example. Newly discovered features receive new tasks and evidence records.
 
23
  12. [QVM/native binary analysis](research/README.md): full static decoding/disassembly, entry/ABI evidence, libraries/DLLs and remaining uncertainties.
24
  13. [Large provisional backlog](PROVISIONAL_TODO.md): expanded remaining work, immediate research priorities, platform feasibility and whole-game completion gates.
25
 
26
+ 14. [Dependency-aware testing](TESTING.md): Rust cargo xtask commands, focused report/test selection, full validation and registry maintenance.
27
+
28
  ## How to use the checklist
29
 
30
  The provisional backlog uses separate `PROV` IDs and does not change canonical completion status. Task prefixes are `RE` (research), `AP` (asset pipeline), `RW` (rewrite), `QA` (validation), `MAP` (map completion), and `FILE` (installation file coverage). IDs are stable references for issues and evidence. Tasks stay unchecked until their deliverables exist and their verification is recorded. A section applies to **every applicable item in the inventory**, rather than only a representative example. Newly discovered features receive new tasks and evidence records.
docs/RESEARCH_LEDGER.md CHANGED
@@ -1258,3 +1258,8 @@ Complete292545 now composes eligibility, ordinary/special factors, event/impact
1258
 
1259
 
1260
  Batch RE-714–723 closes ten independently checked research tasks in ten separate commits, advancing the Python baseline1300→1341. All ten new reports regenerate byte-identically below2MiB. See the [batch overview](research/QVM_CONTACT_HEALTH_BATCH.md) for findings, actual/captured child boundaries and remaining work. Original assets, Rust code and the shared VM evaluator remain unchanged. RE-713 remains partially open; RE-724 records the next scope.
 
 
 
 
 
 
1258
 
1259
 
1260
  Batch RE-714–723 closes ten independently checked research tasks in ten separate commits, advancing the Python baseline1300→1341. All ten new reports regenerate byte-identically below2MiB. See the [batch overview](research/QVM_CONTACT_HEALTH_BATCH.md) for findings, actual/captured child boundaries and remaining work. Original assets, Rust code and the shared VM evaluator remain unchanged. RE-713 remains partially open; RE-724 records the next scope.
1261
+
1262
+
1263
+ ## 2026-10-21 — Rust dependency-aware validation runner
1264
+
1265
+ Added cargo xtask orchestration for Git changes, transitive Python import/report/oracle dependencies, versioned output ownership and test groups, affected two-pass report regeneration, full-suite fallback and fail-closed freshness errors. The MD3 producer now scopes its recorded Rust tests to urt-assets. See [testing](TESTING.md). Validation: 28 Rust runner regression tests and 10 asset-crate tests pass, alongside all 1,341 Python tests. The focused health group regenerates two reports twice and runs eight tests. The full run also regenerates the 619-file Rust MD3 corpus report twice; all three regenerated reports remain byte-identical to their committed versions. Storage/filter, documentation-link, Rust formatting and whitespace checks pass. Native runtime/platform/game completion scope is unchanged.
docs/TESTING.md ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Dependency-aware validation
2
+
3
+ The Rust `xtask` workspace package selects and runs the existing Python research tests and Rust crate tests. It has no third-party Rust dependencies. Python remains necessary for the existing analyzers/tests and a syntax-only AST reader; selection, Git inspection, scheduling, determinism checks and command execution live in Rust.
4
+
5
+ ## Commands
6
+
7
+ Run from anywhere inside the checkout:
8
+
9
+ ```sh
10
+ # Preview checks for staged, unstaged and untracked changes.
11
+ cargo xtask test-changed --dry-run
12
+
13
+ # Regenerate affected reports and test their consumers.
14
+ cargo xtask test-changed
15
+
16
+ # Include every committed change since a known validated commit, plus local changes.
17
+ cargo xtask test-changed --since <validated-commit>
18
+
19
+ # Explicit component scope, independent of unrelated working-tree changes.
20
+ cargo xtask list-groups
21
+ cargo xtask test-group health
22
+ cargo xtask test-group contact --dry-run
23
+
24
+ # All Python test modules and Rust workspace tests, plus regeneration affected by local changes.
25
+ cargo xtask test-full
26
+ cargo xtask test-full --since <batch-base>
27
+ ```
28
+
29
+ `--path scripts/qvm_health_support.py` adds an explicit changed input to `test-changed` or `test-full`, useful for previews without editing a file. Paths are repository-relative. `--dry-run` prints the selected report producers, test modules, reasons and fallback conditions without executing analyzers/tests/checks. Cargo may still compile the runner.
30
+
31
+ Use focused validation before each task commit and `test-full --since <batch-base>` before pushing a batch. Full native macOS/Linux runtime, rendering and release validation remain separate project gates; this runner does not execute the original game or establish those milestones.
32
+
33
+ Cargo, rustc, Python 3 and Git must be available. Set `RUSTC` if the compiler is outside PATH, and `PYTHON` to override the default `python3` executable. Set up the repository's [storage filters](STORAGE.md) first: every executed validation requires `storage_policy.py check --require-setup`. Asset corpus checks require the local extracted assets. Native analyzers also require their original inputs, pinned reference files and existing native-analysis tools. The runner does not fetch those prerequisites or install dependencies.
34
+
35
+ ## What gets selected
36
+
37
+ The graph follows input → consumer edges through local Python imports, report producers/outputs, report readers and imported test oracles. Changes to a generated report also select its producer, so testing cannot silently accept a hand-edited cached report. Changes under `crates/urt-assets/` select its Rust/Python corpus parity producer and downstream consumers, plus Rust workspace tests.
38
+
39
+ For example, `qvm_health_support.py` currently selects two analyzers, `analyze_qvm_health_gates.py` and `analyze_qvm_health_knockback.py`, and their two test modules. A shared QVM evaluator or broad native parser change can correctly select most of the research suite. Selection is conservative at the Python module level, not individual function level.
40
+
41
+ The graph combines:
42
+
43
+ - Current Python syntax, inspected with `ast` without importing repository modules. This handles imports and literal report reads/writes, including test-to-test helper dependencies.
44
+ - The versioned [registry](../xtask/checks.tsv), which declares report ownership, dynamic path dependencies, reviewed multi-output writers and named groups.
45
+ - Explicit Rust crate-to-corpus validation rules in the runner.
46
+
47
+ Groups currently include `health`, `contact`, `damage`, `md3`, `movement`, `native`, `network` and `storage`. A group is a set of graph roots and includes downstream dependents; it is not an isolated folder or a promise to exclude dependent systems. Imports can make a broad native group reach most research tests.
48
+
49
+ Unknown paths, runner/workspace/toolchain changes, unregistered literal outputs and code changes with no mapped test consumers select all Python test modules and Rust workspace tests. A documentation-only Markdown change runs the storage/link/whitespace checks without code tests. An empty change set likewise runs only these guards.
50
+
51
+ Deleted files and both sides of a rename are included. Staged and unstaged paths are collected separately, so a staged edit followed by an unstaged reversal is still considered changed. `--since` adds a commit-to-HEAD diff; it does not replace local-change detection. Invalid revisions fail immediately.
52
+
53
+ ## Report freshness and execution order
54
+
55
+ Each selected producer executes twice, with its selected producer prerequisites ordered first. The runner reads every registered output after each execution and requires byte-identical results. It compares the two new runs, rather than requiring equality with the old committed report: intentional evidence updates are allowed. Missing outputs, analyzer failures, conflicting ownership, dependency cycles and nondeterministic results stop validation before consumer tests.
56
+
57
+ Imports alone do not require running the imported module's `main()`. Regeneration order follows produced report dependencies, including reads inside imported helpers. Unchanged upstream reports are reused. Each selected producer executes once per pass even when several consumers need it; a producer with several outputs verifies them together.
58
+
59
+ After regeneration:
60
+
61
+ 1. Selected Rust workspace tests run offline when Rust/full validation is required.
62
+ 2. Selected Python modules run through `unittest`, in bounded command-line batches.
63
+ 3. Storage setup/policy, local Markdown links under `docs/`, and staged/unstaged Git whitespace checks run.
64
+
65
+ `test-full` means full test coverage plus affected report regeneration. It does **not** rebuild every historical report on each invocation. Use `--since` to include the whole batch's affected reports. Native multi-output producers may update filtered `assets/analysis/` files; ordinary research producers write their registered reports. Generated files remain available for review and are never automatically staged or committed. On failure, inspect any partially regenerated outputs before retrying.
66
+
67
+ ## Maintaining the registry
68
+
69
+ Registry records are tab-separated, with exactly one `version` record:
70
+
71
+ ```text
72
+ version<TAB>1
73
+ report<TAB>scripts/analyze_example.py<TAB>docs/research/example.json
74
+ edge<TAB>docs/research/example.json<TAB>scripts/test_example.py
75
+ dynamic<TAB>scripts/analyze_legacy_multi_output.py
76
+ group<TAB>example<TAB>scripts/test_example.py
77
+ ```
78
+
79
+ A `report` row declares a single output owner; repeat rows for all outputs of a producer, including JSONL/compressed/derived asset outputs. An `edge` row declares an input and its consumer. A `dynamic` row acknowledges a reviewed writer whose output destinations cannot all be derived from literals; it does not discover outputs automatically. A `group` row adds a path prefix to that group's roots.
80
+
81
+ When adding or changing analysis:
82
+
83
+ - Register every output and every dynamically constructed input path, including paths reached through subprocesses, report metadata or directory scans. Add edges for script dependencies that imports cannot express.
84
+ - Register a matching test consumer, and extend groups where useful.
85
+ - Review legacy formatted-path expansions carefully: native base-image reports are distinct from metadata/dispatch/coverage reports. Overbroad expansions can invent cycles.
86
+ - Run the xtask tests, a focused group and a dry run of affected selection. The Rust tests also check current literal ownership, the full registry DAG and representative health/Rust selections.
87
+
88
+ Unregistered dynamic writers or dynamic imports on an affected producer fail closed, with an instruction to review the registry. A full test fallback alone cannot prove freshness when output ownership is unknown. Syntax-reader failures likewise stop execution. Arbitrary Python runtime I/O cannot be inferred completely; the explicit registry and its review are part of the validation contract.
89
+
90
+ The MD3 report producer runs `cargo test --offline --package urt-assets`, preserving its recorded asset-crate test count independently of xtask's own tests. Broad Rust validation still uses the full workspace.
docs/VALIDATION_AND_MILESTONES.md CHANGED
@@ -2,6 +2,10 @@
2
 
3
  The stages below are dependency gates rather than calendar estimates. One playable slice proves integration; it does not reduce the requested all-content/all-game scope. Use task IDs in the linked TODO documents to form implementation issues once the relevant research evidence exists.
4
 
 
 
 
 
5
  ## Dependency order
6
 
7
  ```mermaid
 
2
 
3
  The stages below are dependency gates rather than calendar estimates. One playable slice proves integration; it does not reduce the requested all-content/all-game scope. Use task IDs in the linked TODO documents to form implementation issues once the relevant research evidence exists.
4
 
5
+ ## Routine validation
6
+
7
+ Use the [Rust cargo xtask runner](TESTING.md) for affected report regeneration and dependency-selected tests before each task commit. Run `cargo xtask test-full --since <batch-base>` before pushing a batch. This replaces repeating the entire Python suite after every small task; platform/runtime milestone checks below remain separate.
8
+
9
  ## Dependency order
10
 
11
  ```mermaid
scripts/analyze_rust_md3.py CHANGED
@@ -7,7 +7,7 @@ from analyze_qvm import write_json
7
 
8
  def main():
9
  env=dict(os.environ)
10
- test=subprocess.run(['cargo','test','--offline','--workspace'],env=env,capture_output=True,text=True,check=True)
11
  tests=sum(int(v) for v in re.findall(r'test result: ok\. (\d+) passed',test.stdout))
12
  subprocess.run(['cargo','build','--offline','--bin','urt-md3'],env=env,capture_output=True,text=True,check=True)
13
  binary=Path('target/debug/urt-md3').resolve();rows=[]
 
7
 
8
  def main():
9
  env=dict(os.environ)
10
+ test=subprocess.run(['cargo','test','--offline','--package','urt-assets'],env=env,capture_output=True,text=True,check=True)
11
  tests=sum(int(v) for v in re.findall(r'test result: ok\. (\d+) passed',test.stdout))
12
  subprocess.run(['cargo','build','--offline','--bin','urt-md3'],env=env,capture_output=True,text=True,check=True)
13
  binary=Path('target/debug/urt-md3').resolve();rows=[]
xtask/Cargo.toml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ [package]
2
+ name = "xtask"
3
+ version = "0.1.0"
4
+ edition = "2024"
5
+ publish = false
xtask/checks.tsv ADDED
@@ -0,0 +1,1145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Dependency registry v1. Tabs separate fields; see docs/TESTING.md.
2
+ # report: producer, output; edge: input, consumer; dynamic: reviewed writer; group: name, prefix.
3
+ dynamic scripts/analyze_event_queues.py
4
+ dynamic scripts/analyze_native.py
5
+ dynamic scripts/analyze_native_coverage.py
6
+ dynamic scripts/analyze_native_dispatch.py
7
+ dynamic scripts/analyze_native_metadata.py
8
+ dynamic scripts/analyze_qvm.py
9
+ dynamic scripts/analyze_vm_abi.py
10
+ edge assets/analysis/native/macos--Quake3-UrT.x86_64.stabs.jsonl.gz scripts/analyze_native_metadata.py
11
+ edge assets/analysis/native/macos--libSDL-1.2.0.dylib.stabs.jsonl.gz scripts/analyze_native_metadata.py
12
+ edge assets/analysis/native/resources/windows--Quake3-UrT.exe/000000.bin scripts/analyze_native_metadata.py
13
+ edge assets/analysis/native/resources/windows--Quake3-UrT.exe/000001.bin scripts/analyze_native_metadata.py
14
+ edge assets/analysis/native/resources/windows--Quake3-UrT.exe/000002.bin scripts/analyze_native_metadata.py
15
+ edge assets/analysis/native/resources/windows--Quake3-UrT.exe/000003.bin scripts/analyze_native_metadata.py
16
+ edge assets/analysis/native/resources/windows--Quake3-UrT.exe/000004.bin scripts/analyze_native_metadata.py
17
+ edge assets/analysis/native/resources/windows--Quake3-UrT.exe/000005.bin scripts/analyze_native_metadata.py
18
+ edge assets/analysis/native/resources/windows--Quake3-UrT.exe/000006.bin scripts/analyze_native_metadata.py
19
+ edge assets/analysis/native/resources/windows--Quake3-UrT.exe/000007.bin scripts/analyze_native_metadata.py
20
+ edge assets/analysis/native/resources/windows--Quake3-UrT.exe/000008.bin scripts/analyze_native_metadata.py
21
+ edge assets/analysis/native/resources/windows--Quake3-UrT.exe/000008.ico scripts/analyze_native_metadata.py
22
+ edge assets/analysis/qvm/cgame.instructions.jsonl.gz scripts/analyze_vm_abi.py
23
+ edge assets/analysis/qvm/qagame.instructions.jsonl.gz scripts/analyze_vm_abi.py
24
+ edge assets/analysis/qvm/ui.instructions.jsonl.gz scripts/analyze_vm_abi.py
25
+ edge docs/research/area-flooding.json scripts/test_area_flooding.py
26
+ edge docs/research/area-queries.json scripts/test_area_queries.py
27
+ edge docs/research/auth-announcements.json scripts/test_auth_announcements.py
28
+ edge docs/research/auth-queries.json scripts/test_auth_queries.py
29
+ edge docs/research/bsp-loading.json scripts/test_bsp_loading.py
30
+ edge docs/research/bsp-planes.json scripts/test_bsp_planes.py
31
+ edge docs/research/bsp-references.json scripts/test_bsp_references.py
32
+ edge docs/research/chat-crosshair.json scripts/test_chat_crosshair.py
33
+ edge docs/research/chat-delivery.json scripts/test_chat_delivery.py
34
+ edge docs/research/chat-expansion.json scripts/test_chat_expansion.py
35
+ edge docs/research/chat-items-time.json scripts/test_chat_items_time.py
36
+ edge docs/research/chat-locations.json scripts/test_chat_locations.py
37
+ edge docs/research/chat-paths.json scripts/test_chat_paths.py
38
+ edge docs/research/client-masks.json scripts/test_client_masks.py
39
+ edge docs/research/collision-composition.json scripts/test_collision_composition.py
40
+ edge docs/research/collision-loop.json scripts/test_collision_loop.py
41
+ edge docs/research/cvar-changes.json scripts/test_cvar_changes.py
42
+ edge docs/research/deferred-auth.json scripts/test_deferred_auth.py
43
+ edge docs/research/engine-control.json scripts/test_engine_control.py
44
+ edge docs/research/event-queues.json scripts/test_event_queues.py
45
+ edge docs/research/frame-timing.json scripts/test_frame_timing.py
46
+ edge docs/research/game-cvars.json scripts/test_game_cvars.py
47
+ edge docs/research/huffman-codebook.json scripts/test_huffman_codebook.py
48
+ edge docs/research/huffman-encoding.json scripts/test_huffman_encoding.py
49
+ edge docs/research/huffman-helpers.json scripts/test_huffman_helpers.py
50
+ edge docs/research/huffman-initialization.json scripts/test_huffman_initialization.py
51
+ edge docs/research/huffman-updates.json scripts/test_huffman_updates.py
52
+ edge docs/research/leaf-metadata.json scripts/test_leaf_metadata.py
53
+ edge docs/research/link-bounds.json scripts/test_link_bounds.py
54
+ edge docs/research/md3-bindings.json scripts/test_md3_bindings.py
55
+ edge docs/research/md3-contract.json scripts/test_md3_contract.py
56
+ edge docs/research/md3-geometry-audit.json scripts/test_md3_geometry_audit.py
57
+ edge docs/research/md3-inventory.json scripts/test_md3_inventory.py
58
+ edge docs/research/md3-original-hierarchy.json scripts/test_md3_original_hierarchy.py
59
+ edge docs/research/md3-original-leaf.json scripts/test_md3_original_leaf.py
60
+ edge docs/research/md3-original-model-hit.json scripts/test_md3_original_model_hit.py
61
+ edge docs/research/md3-vm-bridge.json scripts/test_md3_vm_bridge.py
62
+ edge docs/research/message-bits.json scripts/test_message_bits.py
63
+ edge docs/research/message-byte-codec.json scripts/test_message_byte_codec.py
64
+ edge docs/research/message-delta-key.json scripts/test_message_delta_key.py
65
+ edge docs/research/message-delta.json scripts/test_message_delta.py
66
+ edge docs/research/message-numeric.json scripts/test_message_numeric.py
67
+ edge docs/research/message-strings.json scripts/test_message_strings.py
68
+ edge docs/research/message-usercmd.json scripts/test_message_usercmd.py
69
+ edge docs/research/message-widths.json scripts/test_message_widths.py
70
+ edge docs/research/message-wrappers.json scripts/test_message_wrappers.py
71
+ edge docs/research/native-collision.json scripts/test_native_collision.py
72
+ edge docs/research/native-spatial.json scripts/test_native_spatial.py
73
+ edge docs/research/native/installation-scan.json scripts/analyze_area_flooding.py
74
+ edge docs/research/native/installation-scan.json scripts/analyze_area_queries.py
75
+ edge docs/research/native/installation-scan.json scripts/analyze_auth_announcements.py
76
+ edge docs/research/native/installation-scan.json scripts/analyze_auth_drop.py
77
+ edge docs/research/native/installation-scan.json scripts/analyze_bsp_loading.py
78
+ edge docs/research/native/installation-scan.json scripts/analyze_bsp_planes.py
79
+ edge docs/research/native/installation-scan.json scripts/analyze_bsp_references.py
80
+ edge docs/research/native/installation-scan.json scripts/analyze_chat_paths.py
81
+ edge docs/research/native/installation-scan.json scripts/analyze_client_masks.py
82
+ edge docs/research/native/installation-scan.json scripts/analyze_collision_composition.py
83
+ edge docs/research/native/installation-scan.json scripts/analyze_collision_loop.py
84
+ edge docs/research/native/installation-scan.json scripts/analyze_deferred_auth.py
85
+ edge docs/research/native/installation-scan.json scripts/analyze_engine_control.py
86
+ edge docs/research/native/installation-scan.json scripts/analyze_event_queues.py
87
+ edge docs/research/native/installation-scan.json scripts/analyze_frame_timing.py
88
+ edge docs/research/native/installation-scan.json scripts/analyze_game_cvars.py
89
+ edge docs/research/native/installation-scan.json scripts/analyze_huffman_codebook.py
90
+ edge docs/research/native/installation-scan.json scripts/analyze_huffman_encoding.py
91
+ edge docs/research/native/installation-scan.json scripts/analyze_huffman_helpers.py
92
+ edge docs/research/native/installation-scan.json scripts/analyze_huffman_initialization.py
93
+ edge docs/research/native/installation-scan.json scripts/analyze_huffman_updates.py
94
+ edge docs/research/native/installation-scan.json scripts/analyze_leaf_metadata.py
95
+ edge docs/research/native/installation-scan.json scripts/analyze_link_bounds.py
96
+ edge docs/research/native/installation-scan.json scripts/analyze_message_bits.py
97
+ edge docs/research/native/installation-scan.json scripts/analyze_message_byte_codec.py
98
+ edge docs/research/native/installation-scan.json scripts/analyze_message_delta.py
99
+ edge docs/research/native/installation-scan.json scripts/analyze_message_delta_key.py
100
+ edge docs/research/native/installation-scan.json scripts/analyze_message_numeric.py
101
+ edge docs/research/native/installation-scan.json scripts/analyze_message_strings.py
102
+ edge docs/research/native/installation-scan.json scripts/analyze_message_usercmd.py
103
+ edge docs/research/native/installation-scan.json scripts/analyze_message_widths.py
104
+ edge docs/research/native/installation-scan.json scripts/analyze_message_wrappers.py
105
+ edge docs/research/native/installation-scan.json scripts/analyze_native_collision.py
106
+ edge docs/research/native/installation-scan.json scripts/analyze_native_coverage.py
107
+ edge docs/research/native/installation-scan.json scripts/analyze_native_dispatch.py
108
+ edge docs/research/native/installation-scan.json scripts/analyze_native_metadata.py
109
+ edge docs/research/native/installation-scan.json scripts/analyze_native_spatial.py
110
+ edge docs/research/native/installation-scan.json scripts/analyze_qvm_usercmd.py
111
+ edge docs/research/native/installation-scan.json scripts/analyze_selector_bounds.py
112
+ edge docs/research/native/installation-scan.json scripts/analyze_snapshot_areas.py
113
+ edge docs/research/native/installation-scan.json scripts/analyze_usercmd_acceptance.py
114
+ edge docs/research/native/installation-scan.json scripts/analyze_usercmd_callers.py
115
+ edge docs/research/native/installation-scan.json scripts/analyze_vm_extensions.py
116
+ edge docs/research/native/installation-scan.json scripts/analyze_world_links.py
117
+ edge docs/research/native/library-usage.json scripts/analyze_area_flooding.py
118
+ edge docs/research/native/library-usage.json scripts/analyze_area_queries.py
119
+ edge docs/research/native/library-usage.json scripts/analyze_auth_announcements.py
120
+ edge docs/research/native/library-usage.json scripts/analyze_auth_drop.py
121
+ edge docs/research/native/library-usage.json scripts/analyze_bsp_loading.py
122
+ edge docs/research/native/library-usage.json scripts/analyze_bsp_planes.py
123
+ edge docs/research/native/library-usage.json scripts/analyze_bsp_references.py
124
+ edge docs/research/native/library-usage.json scripts/analyze_chat_paths.py
125
+ edge docs/research/native/library-usage.json scripts/analyze_client_masks.py
126
+ edge docs/research/native/library-usage.json scripts/analyze_collision_composition.py
127
+ edge docs/research/native/library-usage.json scripts/analyze_collision_loop.py
128
+ edge docs/research/native/library-usage.json scripts/analyze_deferred_auth.py
129
+ edge docs/research/native/library-usage.json scripts/analyze_engine_control.py
130
+ edge docs/research/native/library-usage.json scripts/analyze_event_queues.py
131
+ edge docs/research/native/library-usage.json scripts/analyze_frame_timing.py
132
+ edge docs/research/native/library-usage.json scripts/analyze_game_cvars.py
133
+ edge docs/research/native/library-usage.json scripts/analyze_huffman_codebook.py
134
+ edge docs/research/native/library-usage.json scripts/analyze_huffman_encoding.py
135
+ edge docs/research/native/library-usage.json scripts/analyze_huffman_helpers.py
136
+ edge docs/research/native/library-usage.json scripts/analyze_huffman_initialization.py
137
+ edge docs/research/native/library-usage.json scripts/analyze_huffman_updates.py
138
+ edge docs/research/native/library-usage.json scripts/analyze_leaf_metadata.py
139
+ edge docs/research/native/library-usage.json scripts/analyze_link_bounds.py
140
+ edge docs/research/native/library-usage.json scripts/analyze_message_bits.py
141
+ edge docs/research/native/library-usage.json scripts/analyze_message_byte_codec.py
142
+ edge docs/research/native/library-usage.json scripts/analyze_message_delta.py
143
+ edge docs/research/native/library-usage.json scripts/analyze_message_delta_key.py
144
+ edge docs/research/native/library-usage.json scripts/analyze_message_numeric.py
145
+ edge docs/research/native/library-usage.json scripts/analyze_message_strings.py
146
+ edge docs/research/native/library-usage.json scripts/analyze_message_usercmd.py
147
+ edge docs/research/native/library-usage.json scripts/analyze_message_widths.py
148
+ edge docs/research/native/library-usage.json scripts/analyze_message_wrappers.py
149
+ edge docs/research/native/library-usage.json scripts/analyze_native_collision.py
150
+ edge docs/research/native/library-usage.json scripts/analyze_native_coverage.py
151
+ edge docs/research/native/library-usage.json scripts/analyze_native_dispatch.py
152
+ edge docs/research/native/library-usage.json scripts/analyze_native_metadata.py
153
+ edge docs/research/native/library-usage.json scripts/analyze_native_spatial.py
154
+ edge docs/research/native/library-usage.json scripts/analyze_qvm_usercmd.py
155
+ edge docs/research/native/library-usage.json scripts/analyze_selector_bounds.py
156
+ edge docs/research/native/library-usage.json scripts/analyze_snapshot_areas.py
157
+ edge docs/research/native/library-usage.json scripts/analyze_usercmd_acceptance.py
158
+ edge docs/research/native/library-usage.json scripts/analyze_usercmd_callers.py
159
+ edge docs/research/native/library-usage.json scripts/analyze_vm_extensions.py
160
+ edge docs/research/native/library-usage.json scripts/analyze_world_links.py
161
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_area_flooding.py
162
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_area_queries.py
163
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_auth_announcements.py
164
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_auth_drop.py
165
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_bsp_loading.py
166
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_bsp_planes.py
167
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_bsp_references.py
168
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_chat_paths.py
169
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_client_masks.py
170
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_collision_composition.py
171
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_collision_loop.py
172
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_deferred_auth.py
173
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_engine_control.py
174
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_event_queues.py
175
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_frame_timing.py
176
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_game_cvars.py
177
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_huffman_codebook.py
178
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_huffman_encoding.py
179
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_huffman_helpers.py
180
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_huffman_initialization.py
181
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_huffman_updates.py
182
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_leaf_metadata.py
183
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_link_bounds.py
184
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_message_bits.py
185
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_message_byte_codec.py
186
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_message_delta.py
187
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_message_delta_key.py
188
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_message_numeric.py
189
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_message_strings.py
190
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_message_usercmd.py
191
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_message_widths.py
192
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_message_wrappers.py
193
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_native_collision.py
194
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_native_coverage.py
195
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_native_dispatch.py
196
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_native_metadata.py
197
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_native_spatial.py
198
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_qvm_usercmd.py
199
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_selector_bounds.py
200
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_snapshot_areas.py
201
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_usercmd_acceptance.py
202
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_usercmd_callers.py
203
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_vm_extensions.py
204
+ edge docs/research/native/linux--Quake3-UrT-Ded.i386.json scripts/analyze_world_links.py
205
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_area_flooding.py
206
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_area_queries.py
207
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_auth_announcements.py
208
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_auth_drop.py
209
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_bsp_loading.py
210
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_bsp_planes.py
211
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_bsp_references.py
212
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_chat_paths.py
213
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_client_masks.py
214
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_collision_composition.py
215
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_collision_loop.py
216
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_deferred_auth.py
217
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_engine_control.py
218
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_event_queues.py
219
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_frame_timing.py
220
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_game_cvars.py
221
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_huffman_codebook.py
222
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_huffman_encoding.py
223
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_huffman_helpers.py
224
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_huffman_initialization.py
225
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_huffman_updates.py
226
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_leaf_metadata.py
227
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_link_bounds.py
228
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_message_bits.py
229
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_message_byte_codec.py
230
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_message_delta.py
231
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_message_delta_key.py
232
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_message_numeric.py
233
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_message_strings.py
234
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_message_usercmd.py
235
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_message_widths.py
236
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_message_wrappers.py
237
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_native_collision.py
238
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_native_coverage.py
239
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_native_dispatch.py
240
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_native_metadata.py
241
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_native_spatial.py
242
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_qvm_usercmd.py
243
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_selector_bounds.py
244
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_snapshot_areas.py
245
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_usercmd_acceptance.py
246
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_usercmd_callers.py
247
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_vm_extensions.py
248
+ edge docs/research/native/linux--Quake3-UrT-Ded.x86_64.json scripts/analyze_world_links.py
249
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_area_flooding.py
250
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_area_queries.py
251
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_auth_announcements.py
252
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_auth_drop.py
253
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_bsp_loading.py
254
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_bsp_planes.py
255
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_bsp_references.py
256
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_chat_paths.py
257
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_client_masks.py
258
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_collision_composition.py
259
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_collision_loop.py
260
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_deferred_auth.py
261
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_engine_control.py
262
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_event_queues.py
263
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_frame_timing.py
264
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_game_cvars.py
265
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_huffman_codebook.py
266
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_huffman_encoding.py
267
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_huffman_helpers.py
268
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_huffman_initialization.py
269
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_huffman_updates.py
270
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_leaf_metadata.py
271
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_link_bounds.py
272
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_message_bits.py
273
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_message_byte_codec.py
274
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_message_delta.py
275
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_message_delta_key.py
276
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_message_numeric.py
277
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_message_strings.py
278
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_message_usercmd.py
279
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_message_widths.py
280
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_message_wrappers.py
281
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_native_collision.py
282
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_native_coverage.py
283
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_native_dispatch.py
284
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_native_metadata.py
285
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_native_spatial.py
286
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_qvm_usercmd.py
287
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_selector_bounds.py
288
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_snapshot_areas.py
289
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_usercmd_acceptance.py
290
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_usercmd_callers.py
291
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_vm_extensions.py
292
+ edge docs/research/native/linux--Quake3-UrT.i386.json scripts/analyze_world_links.py
293
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_area_flooding.py
294
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_area_queries.py
295
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_auth_announcements.py
296
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_auth_drop.py
297
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_bsp_loading.py
298
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_bsp_planes.py
299
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_bsp_references.py
300
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_chat_paths.py
301
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_client_masks.py
302
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_collision_composition.py
303
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_collision_loop.py
304
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_deferred_auth.py
305
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_engine_control.py
306
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_event_queues.py
307
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_frame_timing.py
308
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_game_cvars.py
309
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_huffman_codebook.py
310
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_huffman_encoding.py
311
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_huffman_helpers.py
312
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_huffman_initialization.py
313
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_huffman_updates.py
314
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_leaf_metadata.py
315
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_link_bounds.py
316
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_message_bits.py
317
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_message_byte_codec.py
318
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_message_delta.py
319
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_message_delta_key.py
320
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_message_numeric.py
321
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_message_strings.py
322
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_message_usercmd.py
323
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_message_widths.py
324
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_message_wrappers.py
325
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_native_collision.py
326
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_native_coverage.py
327
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_native_dispatch.py
328
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_native_metadata.py
329
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_native_spatial.py
330
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_qvm_usercmd.py
331
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_selector_bounds.py
332
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_snapshot_areas.py
333
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_usercmd_acceptance.py
334
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_usercmd_callers.py
335
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_vm_extensions.py
336
+ edge docs/research/native/linux--Quake3-UrT.x86_64.json scripts/analyze_world_links.py
337
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_area_flooding.py
338
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_area_queries.py
339
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_auth_announcements.py
340
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_auth_drop.py
341
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_bsp_loading.py
342
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_bsp_planes.py
343
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_bsp_references.py
344
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_chat_paths.py
345
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_client_masks.py
346
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_collision_composition.py
347
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_collision_loop.py
348
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_deferred_auth.py
349
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_engine_control.py
350
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_event_queues.py
351
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_frame_timing.py
352
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_game_cvars.py
353
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_huffman_codebook.py
354
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_huffman_encoding.py
355
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_huffman_helpers.py
356
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_huffman_initialization.py
357
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_huffman_updates.py
358
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_leaf_metadata.py
359
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_link_bounds.py
360
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_message_bits.py
361
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_message_byte_codec.py
362
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_message_delta.py
363
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_message_delta_key.py
364
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_message_numeric.py
365
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_message_strings.py
366
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_message_usercmd.py
367
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_message_widths.py
368
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_message_wrappers.py
369
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_native_collision.py
370
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_native_coverage.py
371
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_native_dispatch.py
372
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_native_metadata.py
373
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_native_spatial.py
374
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_qvm_usercmd.py
375
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_selector_bounds.py
376
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_snapshot_areas.py
377
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_usercmd_acceptance.py
378
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_usercmd_callers.py
379
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_vm_extensions.py
380
+ edge docs/research/native/macos--Quake3-UrT.x86_64.json scripts/analyze_world_links.py
381
+ edge docs/research/native/macos--Quake3-UrT.x86_64.metadata.json scripts/test_native_metadata.py
382
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.coverage.json scripts/test_native_followup.py
383
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_area_flooding.py
384
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_area_queries.py
385
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_auth_announcements.py
386
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_auth_drop.py
387
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_bsp_loading.py
388
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_bsp_planes.py
389
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_bsp_references.py
390
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_chat_paths.py
391
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_client_masks.py
392
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_collision_composition.py
393
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_collision_loop.py
394
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_deferred_auth.py
395
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_engine_control.py
396
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_event_queues.py
397
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_frame_timing.py
398
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_game_cvars.py
399
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_huffman_codebook.py
400
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_huffman_encoding.py
401
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_huffman_helpers.py
402
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_huffman_initialization.py
403
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_huffman_updates.py
404
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_leaf_metadata.py
405
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_link_bounds.py
406
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_message_bits.py
407
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_message_byte_codec.py
408
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_message_delta.py
409
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_message_delta_key.py
410
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_message_numeric.py
411
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_message_strings.py
412
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_message_usercmd.py
413
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_message_widths.py
414
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_message_wrappers.py
415
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_native_collision.py
416
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_native_coverage.py
417
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_native_dispatch.py
418
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_native_metadata.py
419
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_native_spatial.py
420
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_qvm_usercmd.py
421
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_selector_bounds.py
422
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_snapshot_areas.py
423
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_usercmd_acceptance.py
424
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_usercmd_callers.py
425
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_vm_extensions.py
426
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.json scripts/analyze_world_links.py
427
+ edge docs/research/native/macos--libSDL-1.2.0.dylib.metadata.json scripts/test_native_metadata.py
428
+ edge docs/research/native/summary.json scripts/analyze_area_flooding.py
429
+ edge docs/research/native/summary.json scripts/analyze_area_queries.py
430
+ edge docs/research/native/summary.json scripts/analyze_auth_announcements.py
431
+ edge docs/research/native/summary.json scripts/analyze_auth_drop.py
432
+ edge docs/research/native/summary.json scripts/analyze_bsp_loading.py
433
+ edge docs/research/native/summary.json scripts/analyze_bsp_planes.py
434
+ edge docs/research/native/summary.json scripts/analyze_bsp_references.py
435
+ edge docs/research/native/summary.json scripts/analyze_chat_paths.py
436
+ edge docs/research/native/summary.json scripts/analyze_client_masks.py
437
+ edge docs/research/native/summary.json scripts/analyze_collision_composition.py
438
+ edge docs/research/native/summary.json scripts/analyze_collision_loop.py
439
+ edge docs/research/native/summary.json scripts/analyze_deferred_auth.py
440
+ edge docs/research/native/summary.json scripts/analyze_engine_control.py
441
+ edge docs/research/native/summary.json scripts/analyze_event_queues.py
442
+ edge docs/research/native/summary.json scripts/analyze_frame_timing.py
443
+ edge docs/research/native/summary.json scripts/analyze_game_cvars.py
444
+ edge docs/research/native/summary.json scripts/analyze_huffman_codebook.py
445
+ edge docs/research/native/summary.json scripts/analyze_huffman_encoding.py
446
+ edge docs/research/native/summary.json scripts/analyze_huffman_helpers.py
447
+ edge docs/research/native/summary.json scripts/analyze_huffman_initialization.py
448
+ edge docs/research/native/summary.json scripts/analyze_huffman_updates.py
449
+ edge docs/research/native/summary.json scripts/analyze_leaf_metadata.py
450
+ edge docs/research/native/summary.json scripts/analyze_link_bounds.py
451
+ edge docs/research/native/summary.json scripts/analyze_message_bits.py
452
+ edge docs/research/native/summary.json scripts/analyze_message_byte_codec.py
453
+ edge docs/research/native/summary.json scripts/analyze_message_delta.py
454
+ edge docs/research/native/summary.json scripts/analyze_message_delta_key.py
455
+ edge docs/research/native/summary.json scripts/analyze_message_numeric.py
456
+ edge docs/research/native/summary.json scripts/analyze_message_strings.py
457
+ edge docs/research/native/summary.json scripts/analyze_message_usercmd.py
458
+ edge docs/research/native/summary.json scripts/analyze_message_widths.py
459
+ edge docs/research/native/summary.json scripts/analyze_message_wrappers.py
460
+ edge docs/research/native/summary.json scripts/analyze_native_collision.py
461
+ edge docs/research/native/summary.json scripts/analyze_native_coverage.py
462
+ edge docs/research/native/summary.json scripts/analyze_native_dispatch.py
463
+ edge docs/research/native/summary.json scripts/analyze_native_metadata.py
464
+ edge docs/research/native/summary.json scripts/analyze_native_spatial.py
465
+ edge docs/research/native/summary.json scripts/analyze_qvm_usercmd.py
466
+ edge docs/research/native/summary.json scripts/analyze_selector_bounds.py
467
+ edge docs/research/native/summary.json scripts/analyze_snapshot_areas.py
468
+ edge docs/research/native/summary.json scripts/analyze_usercmd_acceptance.py
469
+ edge docs/research/native/summary.json scripts/analyze_usercmd_callers.py
470
+ edge docs/research/native/summary.json scripts/analyze_vm_extensions.py
471
+ edge docs/research/native/summary.json scripts/analyze_world_links.py
472
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_area_flooding.py
473
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_area_queries.py
474
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_auth_announcements.py
475
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_auth_drop.py
476
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_bsp_loading.py
477
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_bsp_planes.py
478
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_bsp_references.py
479
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_chat_paths.py
480
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_client_masks.py
481
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_collision_composition.py
482
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_collision_loop.py
483
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_deferred_auth.py
484
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_engine_control.py
485
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_event_queues.py
486
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_frame_timing.py
487
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_game_cvars.py
488
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_huffman_codebook.py
489
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_huffman_encoding.py
490
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_huffman_helpers.py
491
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_huffman_initialization.py
492
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_huffman_updates.py
493
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_leaf_metadata.py
494
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_link_bounds.py
495
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_message_bits.py
496
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_message_byte_codec.py
497
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_message_delta.py
498
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_message_delta_key.py
499
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_message_numeric.py
500
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_message_strings.py
501
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_message_usercmd.py
502
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_message_widths.py
503
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_message_wrappers.py
504
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_native_collision.py
505
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_native_coverage.py
506
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_native_dispatch.py
507
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_native_metadata.py
508
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_native_spatial.py
509
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_qvm_usercmd.py
510
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_selector_bounds.py
511
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_snapshot_areas.py
512
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_usercmd_acceptance.py
513
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_usercmd_callers.py
514
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_vm_extensions.py
515
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.json scripts/analyze_world_links.py
516
+ edge docs/research/native/windows--Quake3-UrT-Ded.exe.metadata.json scripts/test_native_metadata.py
517
+ edge docs/research/native/windows--Quake3-UrT.exe.coverage.json scripts/test_native_followup.py
518
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_area_flooding.py
519
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_area_queries.py
520
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_auth_announcements.py
521
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_auth_drop.py
522
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_bsp_loading.py
523
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_bsp_planes.py
524
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_bsp_references.py
525
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_chat_paths.py
526
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_client_masks.py
527
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_collision_composition.py
528
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_collision_loop.py
529
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_deferred_auth.py
530
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_engine_control.py
531
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_event_queues.py
532
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_frame_timing.py
533
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_game_cvars.py
534
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_huffman_codebook.py
535
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_huffman_encoding.py
536
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_huffman_helpers.py
537
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_huffman_initialization.py
538
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_huffman_updates.py
539
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_leaf_metadata.py
540
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_link_bounds.py
541
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_message_bits.py
542
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_message_byte_codec.py
543
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_message_delta.py
544
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_message_delta_key.py
545
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_message_numeric.py
546
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_message_strings.py
547
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_message_usercmd.py
548
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_message_widths.py
549
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_message_wrappers.py
550
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_native_collision.py
551
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_native_coverage.py
552
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_native_dispatch.py
553
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_native_metadata.py
554
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_native_spatial.py
555
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_qvm_usercmd.py
556
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_selector_bounds.py
557
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_snapshot_areas.py
558
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_usercmd_acceptance.py
559
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_usercmd_callers.py
560
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_vm_extensions.py
561
+ edge docs/research/native/windows--Quake3-UrT.exe.json scripts/analyze_world_links.py
562
+ edge docs/research/native/windows--Quake3-UrT.exe.metadata.json scripts/test_native_metadata.py
563
+ edge docs/research/qvm-acceleration.json scripts/test_qvm_acceleration.py
564
+ edge docs/research/qvm-action-probe.json scripts/test_qvm_action_probe.py
565
+ edge docs/research/qvm-active-mode.json scripts/test_qvm_active_mode.py
566
+ edge docs/research/qvm-aim-endpoint.json scripts/test_qvm_aim_endpoint.py
567
+ edge docs/research/qvm-aim-extra-offsets.json scripts/test_qvm_aim_extra_offsets.py
568
+ edge docs/research/qvm-aim-trig.json scripts/test_qvm_aim_trig.py
569
+ edge docs/research/qvm-air-mode.json scripts/test_qvm_air_mode.py
570
+ edge docs/research/qvm-allocated-event.json scripts/test_qvm_allocated_event.py
571
+ edge docs/research/qvm-allocated-grenade.json scripts/test_qvm_allocated_grenade.py
572
+ edge docs/research/qvm-animation-contacts.json scripts/test_qvm_animation_contacts.py
573
+ edge docs/research/qvm-animation-tables.json scripts/test_qvm_animation_tables.py
574
+ edge docs/research/qvm-base-fire-gate.json scripts/test_qvm_base_fire_gate.py
575
+ edge docs/research/qvm-basic-trajectory.json scripts/test_qvm_basic_trajectory.py
576
+ edge docs/research/qvm-child-origin.json scripts/test_qvm_child_origin.py
577
+ edge docs/research/qvm-child-transform.json scripts/test_qvm_child_transform.py
578
+ edge docs/research/qvm-clearance-mode.json scripts/test_qvm_clearance_mode.py
579
+ edge docs/research/qvm-combined-ground.json scripts/test_qvm_combined_ground.py
580
+ edge docs/research/qvm-complete-aim.json scripts/test_qvm_complete_aim.py
581
+ edge docs/research/qvm-complete-leaf.json scripts/test_qvm_complete_leaf.py
582
+ edge docs/research/qvm-complete-model-hit.json scripts/test_qvm_complete_model_hit.py
583
+ edge docs/research/qvm-complete-pose.json scripts/test_qvm_complete_pose.py
584
+ edge docs/research/qvm-complete-rewind-selectors.json scripts/test_qvm_complete_rewind_selectors.py
585
+ edge docs/research/qvm-complete-rewind.json scripts/test_qvm_complete_rewind.py
586
+ edge docs/research/qvm-contact-announcement.json scripts/test_qvm_contact_announcement.py
587
+ edge docs/research/qvm-contact-callers.json scripts/test_qvm_contact_callers.py
588
+ edge docs/research/qvm-contact-complete.json scripts/test_qvm_contact_complete.py
589
+ edge docs/research/qvm-contact-dispatch.json scripts/test_qvm_contact_dispatch.py
590
+ edge docs/research/qvm-contact-event-header.json scripts/test_qvm_contact_event_header.py
591
+ edge docs/research/qvm-contact-event-value.json scripts/test_qvm_contact_event_value.py
592
+ edge docs/research/qvm-contact-factor.json scripts/test_qvm_contact_factor.py
593
+ edge docs/research/qvm-contact-feedback.json scripts/test_qvm_contact_feedback.py
594
+ edge docs/research/qvm-contact-gates.json scripts/test_qvm_contact_gates.py
595
+ edge docs/research/qvm-contact-impact.json scripts/test_qvm_contact_impact.py
596
+ edge docs/research/qvm-contact-special.json scripts/test_qvm_contact_special.py
597
+ edge docs/research/qvm-damage-attenuation.json scripts/test_qvm_damage_attenuation.py
598
+ edge docs/research/qvm-damage-attribution.json scripts/test_qvm_damage_attribution.py
599
+ edge docs/research/qvm-damage-clamp.json scripts/test_qvm_damage_clamp.py
600
+ edge docs/research/qvm-damage-complete.json scripts/test_qvm_damage_complete.py
601
+ edge docs/research/qvm-damage-interrupt.json scripts/test_qvm_damage_interrupt.py
602
+ edge docs/research/qvm-damage-location-flags.json scripts/test_qvm_damage_location_flags.py
603
+ edge docs/research/qvm-damage-protection.json scripts/test_qvm_damage_protection.py
604
+ edge docs/research/qvm-damage-range.json scripts/test_qvm_damage_range.py
605
+ edge docs/research/qvm-damage-wounds.json scripts/test_qvm_damage_wounds.py
606
+ edge docs/research/qvm-direction-codec.json scripts/test_qvm_direction_codec.py
607
+ edge docs/research/qvm-entity-allocate.json scripts/test_qvm_entity_allocate.py
608
+ edge docs/research/qvm-entity-free.json scripts/test_qvm_entity_free.py
609
+ edge docs/research/qvm-entity-init.json scripts/test_qvm_entity_init.py
610
+ edge docs/research/qvm-entity-query.json scripts/test_qvm_entity_query.py
611
+ edge docs/research/qvm-entity-reuse.json scripts/test_qvm_entity_reuse.py
612
+ edge docs/research/qvm-event57-trace-chain.json scripts/test_qvm_event57_trace_chain.py
613
+ edge docs/research/qvm-event57-world-return.json scripts/test_qvm_event57_world_return.py
614
+ edge docs/research/qvm-fire-ammo.json scripts/test_qvm_fire_ammo.py
615
+ edge docs/research/qvm-fire-availability.json scripts/test_qvm_fire_availability.py
616
+ edge docs/research/qvm-fire-counter.json scripts/test_qvm_fire_counter.py
617
+ edge docs/research/qvm-fire-delay.json scripts/test_qvm_fire_delay.py
618
+ edge docs/research/qvm-fire-gate.json scripts/test_qvm_fire_gate.py
619
+ edge docs/research/qvm-fire-pose-priority.json scripts/test_qvm_fire_pose_priority.py
620
+ edge docs/research/qvm-fire-pose.json scripts/test_qvm_fire_pose.py
621
+ edge docs/research/qvm-fire-resource.json scripts/test_qvm_fire_resource.py
622
+ edge docs/research/qvm-fire-sequences.json scripts/test_qvm_fire_sequences.py
623
+ edge docs/research/qvm-flagged-mode.json scripts/test_qvm_flagged_mode.py
624
+ edge docs/research/qvm-free-reallocate.json scripts/test_qvm_free_reallocate.py
625
+ edge docs/research/qvm-freeflight.json scripts/test_qvm_freeflight.py
626
+ edge docs/research/qvm-friction.json scripts/test_qvm_friction.py
627
+ edge docs/research/qvm-geometric-hierarchy.json scripts/test_qvm_geometric_hierarchy.py
628
+ edge docs/research/qvm-geometric-rewound-trace.json scripts/test_qvm_geometric_rewound_trace.py
629
+ edge docs/research/qvm-grenade-event-prefix.json scripts/test_qvm_grenade_event_prefix.py
630
+ edge docs/research/qvm-grenade-setup.json scripts/test_qvm_grenade_setup.py
631
+ edge docs/research/qvm-ground-callees.json scripts/test_qvm_ground_callees.py
632
+ edge docs/research/qvm-ground.json scripts/test_qvm_ground.py
633
+ edge docs/research/qvm-health-gates.json scripts/test_qvm_health_gates.py
634
+ edge docs/research/qvm-health-knockback.json scripts/test_qvm_health_knockback.py
635
+ edge docs/research/qvm-history-angle-lerp.json scripts/test_qvm_history_angle_lerp.py
636
+ edge docs/research/qvm-history-append.json scripts/test_qvm_history_append.py
637
+ edge docs/research/qvm-history-callers.json scripts/test_qvm_history_callers.py
638
+ edge docs/research/qvm-history-reset.json scripts/test_qvm_history_reset.py
639
+ edge docs/research/qvm-history-vector-lerp.json scripts/test_qvm_history_vector_lerp.py
640
+ edge docs/research/qvm-hit-geometry.json scripts/test_qvm_hit_geometry.py
641
+ edge docs/research/qvm-hit-publication.json scripts/test_qvm_hit_publication.py
642
+ edge docs/research/qvm-interaction-request.json scripts/test_qvm_interaction_request.py
643
+ edge docs/research/qvm-jump-entry.json scripts/test_qvm_jump_entry.py
644
+ edge docs/research/qvm-landing.json scripts/test_qvm_landing.py
645
+ edge docs/research/qvm-leaf-basis.json scripts/test_qvm_leaf_basis.py
646
+ edge docs/research/qvm-leaf-hit-publish.json scripts/test_qvm_leaf_hit_publish.py
647
+ edge docs/research/qvm-leaf-vertices.json scripts/test_qvm_leaf_vertices.py
648
+ edge docs/research/qvm-locomotion-prefix.json scripts/test_qvm_locomotion_prefix.py
649
+ edge docs/research/qvm-locomotion.json scripts/test_qvm_locomotion.py
650
+ edge docs/research/qvm-lost-action.json scripts/test_qvm_lost_action.py
651
+ edge docs/research/qvm-main-consumers.json scripts/test_qvm_main_consumers.py
652
+ edge docs/research/qvm-main-contact.json scripts/test_qvm_main_contact.py
653
+ edge docs/research/qvm-main-environment.json scripts/test_qvm_main_environment.py
654
+ edge docs/research/qvm-main-posture.json scripts/test_qvm_main_posture.py
655
+ edge docs/research/qvm-main-query.json scripts/test_qvm_main_query.py
656
+ edge docs/research/qvm-model-child-samples.json scripts/test_qvm_model_child_samples.py
657
+ edge docs/research/qvm-model-hierarchy.json scripts/test_qvm_model_hierarchy.py
658
+ edge docs/research/qvm-model-multi-hits.json scripts/test_qvm_model_multi_hits.py
659
+ edge docs/research/qvm-model-ray-prefix.json scripts/test_qvm_model_ray_prefix.py
660
+ edge docs/research/qvm-model-transforms.json scripts/test_qvm_model_transforms.py
661
+ edge docs/research/qvm-move-direction.json scripts/test_qvm_move_direction.py
662
+ edge docs/research/qvm-movement-frame.json scripts/test_qvm_movement_frame.py
663
+ edge docs/research/qvm-movement-loop.json scripts/test_qvm_movement_loop.py
664
+ edge docs/research/qvm-no-target-stats.json scripts/test_qvm_no_target_stats.py
665
+ edge docs/research/qvm-packed-controls.json scripts/test_qvm_packed_controls.py
666
+ edge docs/research/qvm-pellet-endpoint.json scripts/test_qvm_pellet_endpoint.py
667
+ edge docs/research/qvm-pellet-rotation.json scripts/test_qvm_pellet_rotation.py
668
+ edge docs/research/qvm-player-bb-construct.json scripts/test_qvm_player_bb_construct.py
669
+ edge docs/research/qvm-pose-controllers.json scripts/test_qvm_pose_controllers.py
670
+ edge docs/research/qvm-pose-lean.json scripts/test_qvm_pose_lean.py
671
+ edge docs/research/qvm-pose-motion-yaw.json scripts/test_qvm_pose_motion_yaw.py
672
+ edge docs/research/qvm-pose-prefix.json scripts/test_qvm_pose_prefix.py
673
+ edge docs/research/qvm-pose-publication.json scripts/test_qvm_pose_publication.py
674
+ edge docs/research/qvm-posed-model.json scripts/test_qvm_posed_model.py
675
+ edge docs/research/qvm-posture.json scripts/test_qvm_posture.py
676
+ edge docs/research/qvm-produced-history-rewind.json scripts/test_qvm_produced_history_rewind.py
677
+ edge docs/research/qvm-queried-grenade.json scripts/test_qvm_queried_grenade.py
678
+ edge docs/research/qvm-ray-triangle.json scripts/test_qvm_ray_triangle.py
679
+ edge docs/research/qvm-recovery.json scripts/test_qvm_recovery.py
680
+ edge docs/research/qvm-reload-complete.json scripts/test_qvm_reload_complete.py
681
+ edge docs/research/qvm-reload-request.json scripts/test_qvm_reload_request.py
682
+ edge docs/research/qvm-resource.json scripts/test_qvm_resource.py
683
+ edge docs/research/qvm-rewind-history-apply.json scripts/test_qvm_rewind_history_apply.py
684
+ edge docs/research/qvm-rewind-history-select.json scripts/test_qvm_rewind_history_select.py
685
+ edge docs/research/qvm-rewind-restore.json scripts/test_qvm_rewind_restore.py
686
+ edge docs/research/qvm-rewind-selectors.json scripts/test_qvm_rewind_selectors.py
687
+ edge docs/research/qvm-rewind-snapshot.json scripts/test_qvm_rewind_snapshot.py
688
+ edge docs/research/qvm-rewound-trace.json scripts/test_qvm_rewound_trace.py
689
+ edge docs/research/qvm-rotate-point.json scripts/test_qvm_rotate_point.py
690
+ edge docs/research/qvm-server-event-route.json scripts/test_qvm_server_event_route.py
691
+ edge docs/research/qvm-server-fire-basis.json scripts/test_qvm_server_fire_basis.py
692
+ edge docs/research/qvm-server-fire-chain.json scripts/test_qvm_server_fire_chain.py
693
+ edge docs/research/qvm-server-fire-dispatch.json scripts/test_qvm_server_fire_dispatch.py
694
+ edge docs/research/qvm-server-fire-event.json scripts/test_qvm_server_fire_event.py
695
+ edge docs/research/qvm-server-muzzle.json scripts/test_qvm_server_muzzle.py
696
+ edge docs/research/qvm-server-shot-setup.json scripts/test_qvm_server_shot_setup.py
697
+ edge docs/research/qvm-shared-shot-aim.json scripts/test_qvm_shared_shot_aim.py
698
+ edge docs/research/qvm-shared-shot-basis.json scripts/test_qvm_shared_shot_basis.py
699
+ edge docs/research/qvm-shot-frame.json scripts/test_qvm_shot_frame.py
700
+ edge docs/research/qvm-shot-trace-request.json scripts/test_qvm_shot_trace_request.py
701
+ edge docs/research/qvm-slide-loop.json scripts/test_qvm_slide_loop.py
702
+ edge docs/research/qvm-slide-planes.json scripts/test_qvm_slide_planes.py
703
+ edge docs/research/qvm-slide-prefix.json scripts/test_qvm_slide_prefix.py
704
+ edge docs/research/qvm-slide-repeated.json scripts/test_qvm_slide_repeated.py
705
+ edge docs/research/qvm-slide-solver.json scripts/test_qvm_slide_solver.py
706
+ edge docs/research/qvm-special-query.json scripts/test_qvm_special_query.py
707
+ edge docs/research/qvm-spread-parameters.json scripts/test_qvm_spread_parameters.py
708
+ edge docs/research/qvm-spread-sampling.json scripts/test_qvm_spread_sampling.py
709
+ edge docs/research/qvm-spread-speed.json scripts/test_qvm_spread_speed.py
710
+ edge docs/research/qvm-step-collision.json scripts/test_qvm_step_collision.py
711
+ edge docs/research/qvm-step-state.json scripts/test_qvm_step_state.py
712
+ edge docs/research/qvm-string-release.json scripts/test_qvm_string_release.py
713
+ edge docs/research/qvm-surface-category.json scripts/test_qvm_surface_category.py
714
+ edge docs/research/qvm-swim-mode.json scripts/test_qvm_swim_mode.py
715
+ edge docs/research/qvm-swing-controller.json scripts/test_qvm_swing_controller.py
716
+ edge docs/research/qvm-temp-event.json scripts/test_qvm_temp_event.py
717
+ edge docs/research/qvm-think-gates.json scripts/test_qvm_think_gates.py
718
+ edge docs/research/qvm-timers-dispatch.json scripts/test_qvm_timers_dispatch.py
719
+ edge docs/research/qvm-torso-selector.json scripts/test_qvm_torso_selector.py
720
+ edge docs/research/qvm-trace-bounds-restore.json scripts/test_qvm_trace_bounds_restore.py
721
+ edge docs/research/qvm-trace-classify.json scripts/test_qvm_trace_classify.py
722
+ edge docs/research/qvm-trace-finalize.json scripts/test_qvm_trace_finalize.py
723
+ edge docs/research/qvm-trace-relink.json scripts/test_qvm_trace_relink.py
724
+ edge docs/research/qvm-trace-response-chain.json scripts/test_qvm_trace_response_chain.py
725
+ edge docs/research/qvm-trace-retry.json scripts/test_qvm_trace_retry.py
726
+ edge docs/research/qvm-traversal-query.json scripts/test_qvm_traversal_query.py
727
+ edge docs/research/qvm-twenty-pellets.json scripts/test_qvm_twenty_pellets.py
728
+ edge docs/research/qvm-usercmd.json scripts/test_qvm_usercmd.py
729
+ edge docs/research/qvm-vector-angles.json scripts/test_qvm_vector_angles.py
730
+ edge docs/research/qvm-victim-stats.json scripts/test_qvm_victim_stats.py
731
+ edge docs/research/qvm-view-motion.json scripts/test_qvm_view_motion.py
732
+ edge docs/research/qvm-walk-entry.json scripts/test_qvm_walk_entry.py
733
+ edge docs/research/qvm-walk-policy.json scripts/test_qvm_walk_policy.py
734
+ edge docs/research/qvm-walk-wish.json scripts/test_qvm_walk_wish.py
735
+ edge docs/research/qvm-walking-mode.json scripts/test_qvm_walking_mode.py
736
+ edge docs/research/qvm-wall-action.json scripts/test_qvm_wall_action.py
737
+ edge docs/research/qvm-wall-probe.json scripts/test_qvm_wall_probe.py
738
+ edge docs/research/qvm-water-entry.json scripts/test_qvm_water_entry.py
739
+ edge docs/research/qvm-water-events.json scripts/test_qvm_water_events.py
740
+ edge docs/research/qvm-water-route.json scripts/test_qvm_water_route.py
741
+ edge docs/research/qvm-weapon-complete-body.json scripts/test_qvm_weapon_complete_body.py
742
+ edge docs/research/qvm-weapon-complete.json scripts/test_qvm_weapon_complete.py
743
+ edge docs/research/qvm-weapon-guards.json scripts/test_qvm_weapon_guards.py
744
+ edge docs/research/qvm-weapon-lookup.json scripts/test_qvm_weapon_lookup.py
745
+ edge docs/research/qvm-weapon-phases.json scripts/test_qvm_weapon_phases.py
746
+ edge docs/research/qvm-weapon-prefix.json scripts/test_qvm_weapon_prefix.py
747
+ edge docs/research/qvm-weapon-ready.json scripts/test_qvm_weapon_ready.py
748
+ edge docs/research/qvm-weapon-return-chains.json scripts/test_qvm_weapon_return_chains.py
749
+ edge docs/research/qvm-weapon-select.json scripts/test_qvm_weapon_select.py
750
+ edge docs/research/qvm-weapon-selection-caller.json scripts/test_qvm_weapon_selection_caller.py
751
+ edge docs/research/qvm-word-strlen.json scripts/test_qvm_word_strlen.py
752
+ edge docs/research/qvm/cgame.abi-candidates.json scripts/analyze_vm_abi.py
753
+ edge docs/research/qvm/cgame.abi-candidates.json scripts/analyze_vm_extensions.py
754
+ edge docs/research/qvm/cgame.abi-candidates.json scripts/test_binary_analysis.py
755
+ edge docs/research/qvm/cgame.calls.jsonl scripts/analyze_vm_abi.py
756
+ edge docs/research/qvm/cgame.json scripts/analyze_vm_abi.py
757
+ edge docs/research/qvm/cgame.json scripts/analyze_vm_extensions.py
758
+ edge docs/research/qvm/cgame.json scripts/test_binary_analysis.py
759
+ edge docs/research/qvm/qagame.abi-candidates.json scripts/analyze_vm_abi.py
760
+ edge docs/research/qvm/qagame.abi-candidates.json scripts/analyze_vm_extensions.py
761
+ edge docs/research/qvm/qagame.abi-candidates.json scripts/test_binary_analysis.py
762
+ edge docs/research/qvm/qagame.calls.jsonl scripts/analyze_vm_abi.py
763
+ edge docs/research/qvm/qagame.json scripts/analyze_vm_abi.py
764
+ edge docs/research/qvm/qagame.json scripts/analyze_vm_extensions.py
765
+ edge docs/research/qvm/qagame.json scripts/test_binary_analysis.py
766
+ edge docs/research/qvm/summary.json scripts/analyze_vm_abi.py
767
+ edge docs/research/qvm/summary.json scripts/analyze_vm_extensions.py
768
+ edge docs/research/qvm/summary.json scripts/test_binary_analysis.py
769
+ edge docs/research/qvm/ui.abi-candidates.json scripts/analyze_vm_abi.py
770
+ edge docs/research/qvm/ui.abi-candidates.json scripts/analyze_vm_extensions.py
771
+ edge docs/research/qvm/ui.abi-candidates.json scripts/test_binary_analysis.py
772
+ edge docs/research/qvm/ui.calls.jsonl scripts/analyze_vm_abi.py
773
+ edge docs/research/qvm/ui.json scripts/analyze_vm_abi.py
774
+ edge docs/research/qvm/ui.json scripts/analyze_vm_extensions.py
775
+ edge docs/research/qvm/ui.json scripts/test_binary_analysis.py
776
+ edge docs/research/qvm/upstream-validation.json scripts/analyze_vm_abi.py
777
+ edge docs/research/qvm/upstream-validation.json scripts/analyze_vm_extensions.py
778
+ edge docs/research/qvm/upstream-validation.json scripts/test_binary_analysis.py
779
+ edge docs/research/rust-md3.json scripts/test_rust_md3.py
780
+ edge docs/research/selector-bounds.json scripts/test_selector_bounds.py
781
+ edge docs/research/snapshot-areas.json scripts/test_snapshot_areas.py
782
+ edge docs/research/usercmd-acceptance.json scripts/test_usercmd_acceptance.py
783
+ edge docs/research/usercmd-callers.json scripts/test_usercmd_callers.py
784
+ edge docs/research/vm-extensions.json scripts/test_vm_extensions.py
785
+ edge docs/research/world-links.json scripts/test_world_links.py
786
+ edge scripts/storage_policy.py scripts/test_storage_policy.py
787
+ group contact scripts/qvm_contact_support.py
788
+ group contact scripts/test_qvm_contact_
789
+ group damage scripts/qvm_damage_support.py
790
+ group damage scripts/test_qvm_damage_
791
+ group health scripts/qvm_health_support.py
792
+ group health scripts/test_qvm_health_
793
+ group md3 scripts/analyze_rust_md3.py
794
+ group md3 scripts/md3.py
795
+ group md3 scripts/md3_vm.py
796
+ group movement scripts/test_qvm_ground.py
797
+ group movement scripts/test_qvm_slide_
798
+ group movement scripts/test_qvm_walking_
799
+ group native scripts/analyze_native
800
+ group native scripts/test_binary_analysis.py
801
+ group native scripts/test_native
802
+ group network scripts/analyze_huffman_
803
+ group network scripts/analyze_message_
804
+ group network scripts/test_huffman_
805
+ group network scripts/test_message_
806
+ group storage scripts/storage_policy.py
807
+ group storage scripts/test_storage_policy.py
808
+ report scripts/analyze_area_flooding.py docs/research/area-flooding.json
809
+ report scripts/analyze_area_queries.py docs/research/area-queries.json
810
+ report scripts/analyze_auth_announcements.py docs/research/auth-announcements.json
811
+ report scripts/analyze_auth_drop.py docs/research/auth-drop.json
812
+ report scripts/analyze_auth_queries.py docs/research/auth-queries.json
813
+ report scripts/analyze_bsp_loading.py docs/research/bsp-loading.json
814
+ report scripts/analyze_bsp_planes.py docs/research/bsp-planes.json
815
+ report scripts/analyze_bsp_references.py docs/research/bsp-references.json
816
+ report scripts/analyze_chat_crosshair.py docs/research/chat-crosshair.json
817
+ report scripts/analyze_chat_delivery.py docs/research/chat-delivery.json
818
+ report scripts/analyze_chat_expansion.py docs/research/chat-expansion.json
819
+ report scripts/analyze_chat_items_time.py docs/research/chat-items-time.json
820
+ report scripts/analyze_chat_locations.py docs/research/chat-locations.json
821
+ report scripts/analyze_chat_paths.py docs/research/chat-paths.json
822
+ report scripts/analyze_client_masks.py docs/research/client-masks.json
823
+ report scripts/analyze_collision_composition.py docs/research/collision-composition.json
824
+ report scripts/analyze_collision_loop.py docs/research/collision-loop.json
825
+ report scripts/analyze_cvar_changes.py docs/research/cvar-changes.json
826
+ report scripts/analyze_deferred_auth.py docs/research/deferred-auth.json
827
+ report scripts/analyze_engine_control.py docs/research/engine-control.json
828
+ report scripts/analyze_event_queues.py docs/research/event-queues.json
829
+ report scripts/analyze_frame_timing.py docs/research/frame-timing.json
830
+ report scripts/analyze_game_cvars.py docs/research/game-cvars.json
831
+ report scripts/analyze_huffman_codebook.py docs/research/huffman-codebook.json
832
+ report scripts/analyze_huffman_encoding.py docs/research/huffman-encoding.json
833
+ report scripts/analyze_huffman_helpers.py docs/research/huffman-helpers.json
834
+ report scripts/analyze_huffman_initialization.py docs/research/huffman-initialization.json
835
+ report scripts/analyze_huffman_updates.py docs/research/huffman-updates.json
836
+ report scripts/analyze_leaf_metadata.py docs/research/leaf-metadata.json
837
+ report scripts/analyze_link_bounds.py docs/research/link-bounds.json
838
+ report scripts/analyze_md3_bindings.py docs/research/md3-bindings.json
839
+ report scripts/analyze_md3_contract.py docs/research/md3-contract.json
840
+ report scripts/analyze_md3_geometry_audit.py docs/research/md3-geometry-audit.json
841
+ report scripts/analyze_md3_inventory.py docs/research/md3-inventory.json
842
+ report scripts/analyze_md3_original_hierarchy.py docs/research/md3-original-hierarchy.json
843
+ report scripts/analyze_md3_original_leaf.py docs/research/md3-original-leaf.json
844
+ report scripts/analyze_md3_original_model_hit.py docs/research/md3-original-model-hit.json
845
+ report scripts/analyze_md3_vm_bridge.py docs/research/md3-vm-bridge.json
846
+ report scripts/analyze_message_bits.py docs/research/message-bits.json
847
+ report scripts/analyze_message_byte_codec.py docs/research/message-byte-codec.json
848
+ report scripts/analyze_message_delta.py docs/research/message-delta.json
849
+ report scripts/analyze_message_delta_key.py docs/research/message-delta-key.json
850
+ report scripts/analyze_message_numeric.py docs/research/message-numeric.json
851
+ report scripts/analyze_message_strings.py docs/research/message-strings.json
852
+ report scripts/analyze_message_usercmd.py docs/research/message-usercmd.json
853
+ report scripts/analyze_message_widths.py docs/research/message-widths.json
854
+ report scripts/analyze_message_wrappers.py docs/research/message-wrappers.json
855
+ report scripts/analyze_native.py assets/analysis/native/linux--Quake3-UrT-Ded.i386.disassembly.txt.gz
856
+ report scripts/analyze_native.py assets/analysis/native/linux--Quake3-UrT-Ded.i386.headers.txt.gz
857
+ report scripts/analyze_native.py assets/analysis/native/linux--Quake3-UrT-Ded.i386.strings.jsonl.gz
858
+ report scripts/analyze_native.py assets/analysis/native/linux--Quake3-UrT-Ded.x86_64.disassembly.txt.gz
859
+ report scripts/analyze_native.py assets/analysis/native/linux--Quake3-UrT-Ded.x86_64.headers.txt.gz
860
+ report scripts/analyze_native.py assets/analysis/native/linux--Quake3-UrT-Ded.x86_64.strings.jsonl.gz
861
+ report scripts/analyze_native.py assets/analysis/native/linux--Quake3-UrT.i386.disassembly.txt.gz
862
+ report scripts/analyze_native.py assets/analysis/native/linux--Quake3-UrT.i386.headers.txt.gz
863
+ report scripts/analyze_native.py assets/analysis/native/linux--Quake3-UrT.i386.strings.jsonl.gz
864
+ report scripts/analyze_native.py assets/analysis/native/linux--Quake3-UrT.x86_64.disassembly.txt.gz
865
+ report scripts/analyze_native.py assets/analysis/native/linux--Quake3-UrT.x86_64.headers.txt.gz
866
+ report scripts/analyze_native.py assets/analysis/native/linux--Quake3-UrT.x86_64.strings.jsonl.gz
867
+ report scripts/analyze_native.py assets/analysis/native/macos--Quake3-UrT.x86_64.disassembly.txt.gz
868
+ report scripts/analyze_native.py assets/analysis/native/macos--Quake3-UrT.x86_64.headers.txt.gz
869
+ report scripts/analyze_native.py assets/analysis/native/macos--Quake3-UrT.x86_64.strings.jsonl.gz
870
+ report scripts/analyze_native.py assets/analysis/native/macos--libSDL-1.2.0.dylib.disassembly.txt.gz
871
+ report scripts/analyze_native.py assets/analysis/native/macos--libSDL-1.2.0.dylib.headers.txt.gz
872
+ report scripts/analyze_native.py assets/analysis/native/macos--libSDL-1.2.0.dylib.strings.jsonl.gz
873
+ report scripts/analyze_native_metadata.py assets/analysis/native/resources/windows--Quake3-UrT.exe/000000.bin
874
+ report scripts/analyze_native_metadata.py assets/analysis/native/resources/windows--Quake3-UrT.exe/000001.bin
875
+ report scripts/analyze_native_metadata.py assets/analysis/native/resources/windows--Quake3-UrT.exe/000002.bin
876
+ report scripts/analyze_native_metadata.py assets/analysis/native/resources/windows--Quake3-UrT.exe/000003.bin
877
+ report scripts/analyze_native_metadata.py assets/analysis/native/resources/windows--Quake3-UrT.exe/000004.bin
878
+ report scripts/analyze_native_metadata.py assets/analysis/native/resources/windows--Quake3-UrT.exe/000005.bin
879
+ report scripts/analyze_native_metadata.py assets/analysis/native/resources/windows--Quake3-UrT.exe/000006.bin
880
+ report scripts/analyze_native_metadata.py assets/analysis/native/resources/windows--Quake3-UrT.exe/000007.bin
881
+ report scripts/analyze_native_metadata.py assets/analysis/native/resources/windows--Quake3-UrT.exe/000008.bin
882
+ report scripts/analyze_native_metadata.py assets/analysis/native/resources/windows--Quake3-UrT.exe/000008.ico
883
+ report scripts/analyze_native.py assets/analysis/native/windows--Quake3-UrT-Ded.exe.disassembly.txt.gz
884
+ report scripts/analyze_native.py assets/analysis/native/windows--Quake3-UrT-Ded.exe.headers.txt.gz
885
+ report scripts/analyze_native.py assets/analysis/native/windows--Quake3-UrT-Ded.exe.strings.jsonl.gz
886
+ report scripts/analyze_native.py assets/analysis/native/windows--Quake3-UrT.exe.disassembly.txt.gz
887
+ report scripts/analyze_native.py assets/analysis/native/windows--Quake3-UrT.exe.headers.txt.gz
888
+ report scripts/analyze_native.py assets/analysis/native/windows--Quake3-UrT.exe.strings.jsonl.gz
889
+ report scripts/analyze_native.py docs/research/native/installation-scan.json
890
+ report scripts/analyze_native.py docs/research/native/library-usage.json
891
+ report scripts/analyze_native.py docs/research/native/linux--Quake3-UrT-Ded.i386.json
892
+ report scripts/analyze_native.py docs/research/native/linux--Quake3-UrT-Ded.i386.symbols.jsonl
893
+ report scripts/analyze_native.py docs/research/native/linux--Quake3-UrT-Ded.x86_64.json
894
+ report scripts/analyze_native.py docs/research/native/linux--Quake3-UrT-Ded.x86_64.symbols.jsonl
895
+ report scripts/analyze_native.py docs/research/native/linux--Quake3-UrT.i386.json
896
+ report scripts/analyze_native.py docs/research/native/linux--Quake3-UrT.i386.symbols.jsonl
897
+ report scripts/analyze_native.py docs/research/native/linux--Quake3-UrT.x86_64.json
898
+ report scripts/analyze_native.py docs/research/native/linux--Quake3-UrT.x86_64.symbols.jsonl
899
+ report scripts/analyze_native.py docs/research/native/macos--Quake3-UrT.x86_64.json
900
+ report scripts/analyze_native.py docs/research/native/macos--Quake3-UrT.x86_64.symbols.jsonl
901
+ report scripts/analyze_native.py docs/research/native/macos--libSDL-1.2.0.dylib.json
902
+ report scripts/analyze_native.py docs/research/native/macos--libSDL-1.2.0.dylib.symbols.jsonl
903
+ report scripts/analyze_native.py docs/research/native/summary.json
904
+ report scripts/analyze_native.py docs/research/native/windows--Quake3-UrT-Ded.exe.json
905
+ report scripts/analyze_native.py docs/research/native/windows--Quake3-UrT-Ded.exe.symbols.jsonl
906
+ report scripts/analyze_native.py docs/research/native/windows--Quake3-UrT.exe.json
907
+ report scripts/analyze_native.py docs/research/native/windows--Quake3-UrT.exe.symbols.jsonl
908
+ report scripts/analyze_native_collision.py docs/research/native-collision.json
909
+ report scripts/analyze_native_coverage.py docs/research/native/coverage-summary.json
910
+ report scripts/analyze_native_coverage.py docs/research/native/macos--libSDL-1.2.0.dylib.coverage.json
911
+ report scripts/analyze_native_coverage.py docs/research/native/windows--Quake3-UrT.exe.coverage.json
912
+ report scripts/analyze_native_dispatch.py docs/research/native/dispatch-summary.json
913
+ report scripts/analyze_native_dispatch.py docs/research/native/linux--Quake3-UrT-Ded.x86_64.dispatch.json
914
+ report scripts/analyze_native_dispatch.py docs/research/native/linux--Quake3-UrT.x86_64.dispatch.json
915
+ report scripts/analyze_native_metadata.py assets/analysis/native/macos--Quake3-UrT.x86_64.stabs.jsonl.gz
916
+ report scripts/analyze_native_metadata.py assets/analysis/native/macos--libSDL-1.2.0.dylib.stabs.jsonl.gz
917
+ report scripts/analyze_native_metadata.py docs/research/native/macos--Quake3-UrT.x86_64.metadata.json
918
+ report scripts/analyze_native_metadata.py docs/research/native/macos--libSDL-1.2.0.dylib.metadata.json
919
+ report scripts/analyze_native_metadata.py docs/research/native/metadata-summary.json
920
+ report scripts/analyze_native_metadata.py docs/research/native/windows--Quake3-UrT-Ded.exe.metadata.json
921
+ report scripts/analyze_native_metadata.py docs/research/native/windows--Quake3-UrT.exe.metadata.json
922
+ report scripts/analyze_native_spatial.py docs/research/native-spatial.json
923
+ report scripts/analyze_qvm.py assets/analysis/qvm/cgame.edges.jsonl.gz
924
+ report scripts/analyze_qvm.py assets/analysis/qvm/cgame.instructions.jsonl.gz
925
+ report scripts/analyze_qvm.py assets/analysis/qvm/cgame.strings.jsonl.gz
926
+ report scripts/analyze_qvm.py assets/analysis/qvm/qagame.edges.jsonl.gz
927
+ report scripts/analyze_qvm.py assets/analysis/qvm/qagame.instructions.jsonl.gz
928
+ report scripts/analyze_qvm.py assets/analysis/qvm/qagame.strings.jsonl.gz
929
+ report scripts/analyze_qvm.py assets/analysis/qvm/ui.edges.jsonl.gz
930
+ report scripts/analyze_qvm.py assets/analysis/qvm/ui.instructions.jsonl.gz
931
+ report scripts/analyze_qvm.py assets/analysis/qvm/ui.strings.jsonl.gz
932
+ report scripts/analyze_qvm.py docs/research/qvm/cgame.calls.jsonl
933
+ report scripts/analyze_qvm.py docs/research/qvm/cgame.functions.jsonl
934
+ report scripts/analyze_qvm.py docs/research/qvm/cgame.json
935
+ report scripts/analyze_qvm.py docs/research/qvm/cgame.string-references.jsonl
936
+ report scripts/analyze_qvm.py docs/research/qvm/qagame.calls.jsonl
937
+ report scripts/analyze_qvm.py docs/research/qvm/qagame.functions.jsonl
938
+ report scripts/analyze_qvm.py docs/research/qvm/qagame.json
939
+ report scripts/analyze_qvm.py docs/research/qvm/qagame.string-references.jsonl
940
+ report scripts/analyze_qvm.py docs/research/qvm/summary.json
941
+ report scripts/analyze_qvm.py docs/research/qvm/ui.calls.jsonl
942
+ report scripts/analyze_qvm.py docs/research/qvm/ui.functions.jsonl
943
+ report scripts/analyze_qvm.py docs/research/qvm/ui.json
944
+ report scripts/analyze_qvm.py docs/research/qvm/ui.string-references.jsonl
945
+ report scripts/analyze_qvm_acceleration.py docs/research/qvm-acceleration.json
946
+ report scripts/analyze_qvm_action_probe.py docs/research/qvm-action-probe.json
947
+ report scripts/analyze_qvm_active_mode.py docs/research/qvm-active-mode.json
948
+ report scripts/analyze_qvm_aim_endpoint.py docs/research/qvm-aim-endpoint.json
949
+ report scripts/analyze_qvm_aim_extra_offsets.py docs/research/qvm-aim-extra-offsets.json
950
+ report scripts/analyze_qvm_aim_trig.py docs/research/qvm-aim-trig.json
951
+ report scripts/analyze_qvm_air_mode.py docs/research/qvm-air-mode.json
952
+ report scripts/analyze_qvm_allocated_event.py docs/research/qvm-allocated-event.json
953
+ report scripts/analyze_qvm_allocated_grenade.py docs/research/qvm-allocated-grenade.json
954
+ report scripts/analyze_qvm_animation_contacts.py docs/research/qvm-animation-contacts.json
955
+ report scripts/analyze_qvm_animation_tables.py docs/research/qvm-animation-tables.json
956
+ report scripts/analyze_qvm_base_fire_gate.py docs/research/qvm-base-fire-gate.json
957
+ report scripts/analyze_qvm_basic_trajectory.py docs/research/qvm-basic-trajectory.json
958
+ report scripts/analyze_qvm_child_origin.py docs/research/qvm-child-origin.json
959
+ report scripts/analyze_qvm_child_transform.py docs/research/qvm-child-transform.json
960
+ report scripts/analyze_qvm_clearance_mode.py docs/research/qvm-clearance-mode.json
961
+ report scripts/analyze_qvm_combined_ground.py docs/research/qvm-combined-ground.json
962
+ report scripts/analyze_qvm_complete_aim.py docs/research/qvm-complete-aim.json
963
+ report scripts/analyze_qvm_complete_leaf.py docs/research/qvm-complete-leaf.json
964
+ report scripts/analyze_qvm_complete_model_hit.py docs/research/qvm-complete-model-hit.json
965
+ report scripts/analyze_qvm_complete_pose.py docs/research/qvm-complete-pose.json
966
+ report scripts/analyze_qvm_complete_rewind.py docs/research/qvm-complete-rewind.json
967
+ report scripts/analyze_qvm_complete_rewind_selectors.py docs/research/qvm-complete-rewind-selectors.json
968
+ report scripts/analyze_qvm_contact_announcement.py docs/research/qvm-contact-announcement.json
969
+ report scripts/analyze_qvm_contact_callers.py docs/research/qvm-contact-callers.json
970
+ report scripts/analyze_qvm_contact_complete.py docs/research/qvm-contact-complete.json
971
+ report scripts/analyze_qvm_contact_dispatch.py docs/research/qvm-contact-dispatch.json
972
+ report scripts/analyze_qvm_contact_event_header.py docs/research/qvm-contact-event-header.json
973
+ report scripts/analyze_qvm_contact_event_value.py docs/research/qvm-contact-event-value.json
974
+ report scripts/analyze_qvm_contact_factor.py docs/research/qvm-contact-factor.json
975
+ report scripts/analyze_qvm_contact_feedback.py docs/research/qvm-contact-feedback.json
976
+ report scripts/analyze_qvm_contact_gates.py docs/research/qvm-contact-gates.json
977
+ report scripts/analyze_qvm_contact_impact.py docs/research/qvm-contact-impact.json
978
+ report scripts/analyze_qvm_contact_special.py docs/research/qvm-contact-special.json
979
+ report scripts/analyze_qvm_damage_attenuation.py docs/research/qvm-damage-attenuation.json
980
+ report scripts/analyze_qvm_damage_attribution.py docs/research/qvm-damage-attribution.json
981
+ report scripts/analyze_qvm_damage_clamp.py docs/research/qvm-damage-clamp.json
982
+ report scripts/analyze_qvm_damage_complete.py docs/research/qvm-damage-complete.json
983
+ report scripts/analyze_qvm_damage_interrupt.py docs/research/qvm-damage-interrupt.json
984
+ report scripts/analyze_qvm_damage_location_flags.py docs/research/qvm-damage-location-flags.json
985
+ report scripts/analyze_qvm_damage_protection.py docs/research/qvm-damage-protection.json
986
+ report scripts/analyze_qvm_damage_range.py docs/research/qvm-damage-range.json
987
+ report scripts/analyze_qvm_damage_wounds.py docs/research/qvm-damage-wounds.json
988
+ report scripts/analyze_qvm_direction_codec.py docs/research/qvm-direction-codec.json
989
+ report scripts/analyze_qvm_entity_allocate.py docs/research/qvm-entity-allocate.json
990
+ report scripts/analyze_qvm_entity_free.py docs/research/qvm-entity-free.json
991
+ report scripts/analyze_qvm_entity_init.py docs/research/qvm-entity-init.json
992
+ report scripts/analyze_qvm_entity_query.py docs/research/qvm-entity-query.json
993
+ report scripts/analyze_qvm_entity_reuse.py docs/research/qvm-entity-reuse.json
994
+ report scripts/analyze_qvm_event57_trace_chain.py docs/research/qvm-event57-trace-chain.json
995
+ report scripts/analyze_qvm_event57_world_return.py docs/research/qvm-event57-world-return.json
996
+ report scripts/analyze_qvm_fire_ammo.py docs/research/qvm-fire-ammo.json
997
+ report scripts/analyze_qvm_fire_availability.py docs/research/qvm-fire-availability.json
998
+ report scripts/analyze_qvm_fire_counter.py docs/research/qvm-fire-counter.json
999
+ report scripts/analyze_qvm_fire_delay.py docs/research/qvm-fire-delay.json
1000
+ report scripts/analyze_qvm_fire_gate.py docs/research/qvm-fire-gate.json
1001
+ report scripts/analyze_qvm_fire_pose.py docs/research/qvm-fire-pose.json
1002
+ report scripts/analyze_qvm_fire_pose_priority.py docs/research/qvm-fire-pose-priority.json
1003
+ report scripts/analyze_qvm_fire_resource.py docs/research/qvm-fire-resource.json
1004
+ report scripts/analyze_qvm_fire_sequences.py docs/research/qvm-fire-sequences.json
1005
+ report scripts/analyze_qvm_flagged_mode.py docs/research/qvm-flagged-mode.json
1006
+ report scripts/analyze_qvm_free_reallocate.py docs/research/qvm-free-reallocate.json
1007
+ report scripts/analyze_qvm_freeflight.py docs/research/qvm-freeflight.json
1008
+ report scripts/analyze_qvm_friction.py docs/research/qvm-friction.json
1009
+ report scripts/analyze_qvm_geometric_hierarchy.py docs/research/qvm-geometric-hierarchy.json
1010
+ report scripts/analyze_qvm_geometric_rewound_trace.py docs/research/qvm-geometric-rewound-trace.json
1011
+ report scripts/analyze_qvm_grenade_event_prefix.py docs/research/qvm-grenade-event-prefix.json
1012
+ report scripts/analyze_qvm_grenade_setup.py docs/research/qvm-grenade-setup.json
1013
+ report scripts/analyze_qvm_ground.py docs/research/qvm-ground.json
1014
+ report scripts/analyze_qvm_ground_callees.py docs/research/qvm-ground-callees.json
1015
+ report scripts/analyze_qvm_health_gates.py docs/research/qvm-health-gates.json
1016
+ report scripts/analyze_qvm_health_knockback.py docs/research/qvm-health-knockback.json
1017
+ report scripts/analyze_qvm_history_angle_lerp.py docs/research/qvm-history-angle-lerp.json
1018
+ report scripts/analyze_qvm_history_append.py docs/research/qvm-history-append.json
1019
+ report scripts/analyze_qvm_history_callers.py docs/research/qvm-history-callers.json
1020
+ report scripts/analyze_qvm_history_reset.py docs/research/qvm-history-reset.json
1021
+ report scripts/analyze_qvm_history_vector_lerp.py docs/research/qvm-history-vector-lerp.json
1022
+ report scripts/analyze_qvm_hit_geometry.py docs/research/qvm-hit-geometry.json
1023
+ report scripts/analyze_qvm_hit_publication.py docs/research/qvm-hit-publication.json
1024
+ report scripts/analyze_qvm_interaction_request.py docs/research/qvm-interaction-request.json
1025
+ report scripts/analyze_qvm_jump_entry.py docs/research/qvm-jump-entry.json
1026
+ report scripts/analyze_qvm_landing.py docs/research/qvm-landing.json
1027
+ report scripts/analyze_qvm_leaf_basis.py docs/research/qvm-leaf-basis.json
1028
+ report scripts/analyze_qvm_leaf_hit_publish.py docs/research/qvm-leaf-hit-publish.json
1029
+ report scripts/analyze_qvm_leaf_vertices.py docs/research/qvm-leaf-vertices.json
1030
+ report scripts/analyze_qvm_locomotion.py docs/research/qvm-locomotion.json
1031
+ report scripts/analyze_qvm_locomotion_prefix.py docs/research/qvm-locomotion-prefix.json
1032
+ report scripts/analyze_qvm_lost_action.py docs/research/qvm-lost-action.json
1033
+ report scripts/analyze_qvm_main_consumers.py docs/research/qvm-main-consumers.json
1034
+ report scripts/analyze_qvm_main_contact.py docs/research/qvm-main-contact.json
1035
+ report scripts/analyze_qvm_main_environment.py docs/research/qvm-main-environment.json
1036
+ report scripts/analyze_qvm_main_posture.py docs/research/qvm-main-posture.json
1037
+ report scripts/analyze_qvm_main_query.py docs/research/qvm-main-query.json
1038
+ report scripts/analyze_qvm_model_child_samples.py docs/research/qvm-model-child-samples.json
1039
+ report scripts/analyze_qvm_model_hierarchy.py docs/research/qvm-model-hierarchy.json
1040
+ report scripts/analyze_qvm_model_multi_hits.py docs/research/qvm-model-multi-hits.json
1041
+ report scripts/analyze_qvm_model_ray_prefix.py docs/research/qvm-model-ray-prefix.json
1042
+ report scripts/analyze_qvm_model_transforms.py docs/research/qvm-model-transforms.json
1043
+ report scripts/analyze_qvm_move_direction.py docs/research/qvm-move-direction.json
1044
+ report scripts/analyze_qvm_movement_frame.py docs/research/qvm-movement-frame.json
1045
+ report scripts/analyze_qvm_movement_loop.py docs/research/qvm-movement-loop.json
1046
+ report scripts/analyze_qvm_no_target_stats.py docs/research/qvm-no-target-stats.json
1047
+ report scripts/analyze_qvm_packed_controls.py docs/research/qvm-packed-controls.json
1048
+ report scripts/analyze_qvm_pellet_endpoint.py docs/research/qvm-pellet-endpoint.json
1049
+ report scripts/analyze_qvm_pellet_rotation.py docs/research/qvm-pellet-rotation.json
1050
+ report scripts/analyze_qvm_player_bb_construct.py docs/research/qvm-player-bb-construct.json
1051
+ report scripts/analyze_qvm_pose_controllers.py docs/research/qvm-pose-controllers.json
1052
+ report scripts/analyze_qvm_pose_lean.py docs/research/qvm-pose-lean.json
1053
+ report scripts/analyze_qvm_pose_motion_yaw.py docs/research/qvm-pose-motion-yaw.json
1054
+ report scripts/analyze_qvm_pose_prefix.py docs/research/qvm-pose-prefix.json
1055
+ report scripts/analyze_qvm_pose_publication.py docs/research/qvm-pose-publication.json
1056
+ report scripts/analyze_qvm_posed_model.py docs/research/qvm-posed-model.json
1057
+ report scripts/analyze_qvm_posture.py docs/research/qvm-posture.json
1058
+ report scripts/analyze_qvm_produced_history_rewind.py docs/research/qvm-produced-history-rewind.json
1059
+ report scripts/analyze_qvm_queried_grenade.py docs/research/qvm-queried-grenade.json
1060
+ report scripts/analyze_qvm_ray_triangle.py docs/research/qvm-ray-triangle.json
1061
+ report scripts/analyze_qvm_recovery.py docs/research/qvm-recovery.json
1062
+ report scripts/analyze_qvm_reload_complete.py docs/research/qvm-reload-complete.json
1063
+ report scripts/analyze_qvm_reload_request.py docs/research/qvm-reload-request.json
1064
+ report scripts/analyze_qvm_resource.py docs/research/qvm-resource.json
1065
+ report scripts/analyze_qvm_rewind_history_apply.py docs/research/qvm-rewind-history-apply.json
1066
+ report scripts/analyze_qvm_rewind_history_select.py docs/research/qvm-rewind-history-select.json
1067
+ report scripts/analyze_qvm_rewind_restore.py docs/research/qvm-rewind-restore.json
1068
+ report scripts/analyze_qvm_rewind_selectors.py docs/research/qvm-rewind-selectors.json
1069
+ report scripts/analyze_qvm_rewind_snapshot.py docs/research/qvm-rewind-snapshot.json
1070
+ report scripts/analyze_qvm_rewound_trace.py docs/research/qvm-rewound-trace.json
1071
+ report scripts/analyze_qvm_rotate_point.py docs/research/qvm-rotate-point.json
1072
+ report scripts/analyze_qvm_server_event_route.py docs/research/qvm-server-event-route.json
1073
+ report scripts/analyze_qvm_server_fire_basis.py docs/research/qvm-server-fire-basis.json
1074
+ report scripts/analyze_qvm_server_fire_chain.py docs/research/qvm-server-fire-chain.json
1075
+ report scripts/analyze_qvm_server_fire_dispatch.py docs/research/qvm-server-fire-dispatch.json
1076
+ report scripts/analyze_qvm_server_fire_event.py docs/research/qvm-server-fire-event.json
1077
+ report scripts/analyze_qvm_server_muzzle.py docs/research/qvm-server-muzzle.json
1078
+ report scripts/analyze_qvm_server_shot_setup.py docs/research/qvm-server-shot-setup.json
1079
+ report scripts/analyze_qvm_shared_shot_aim.py docs/research/qvm-shared-shot-aim.json
1080
+ report scripts/analyze_qvm_shared_shot_basis.py docs/research/qvm-shared-shot-basis.json
1081
+ report scripts/analyze_qvm_shot_frame.py docs/research/qvm-shot-frame.json
1082
+ report scripts/analyze_qvm_shot_trace_request.py docs/research/qvm-shot-trace-request.json
1083
+ report scripts/analyze_qvm_slide_loop.py docs/research/qvm-slide-loop.json
1084
+ report scripts/analyze_qvm_slide_planes.py docs/research/qvm-slide-planes.json
1085
+ report scripts/analyze_qvm_slide_prefix.py docs/research/qvm-slide-prefix.json
1086
+ report scripts/analyze_qvm_slide_repeated.py docs/research/qvm-slide-repeated.json
1087
+ report scripts/analyze_qvm_slide_solver.py docs/research/qvm-slide-solver.json
1088
+ report scripts/analyze_qvm_special_query.py docs/research/qvm-special-query.json
1089
+ report scripts/analyze_qvm_spread_parameters.py docs/research/qvm-spread-parameters.json
1090
+ report scripts/analyze_qvm_spread_sampling.py docs/research/qvm-spread-sampling.json
1091
+ report scripts/analyze_qvm_spread_speed.py docs/research/qvm-spread-speed.json
1092
+ report scripts/analyze_qvm_step_collision.py docs/research/qvm-step-collision.json
1093
+ report scripts/analyze_qvm_step_state.py docs/research/qvm-step-state.json
1094
+ report scripts/analyze_qvm_string_release.py docs/research/qvm-string-release.json
1095
+ report scripts/analyze_qvm_surface_category.py docs/research/qvm-surface-category.json
1096
+ report scripts/analyze_qvm_swim_mode.py docs/research/qvm-swim-mode.json
1097
+ report scripts/analyze_qvm_swing_controller.py docs/research/qvm-swing-controller.json
1098
+ report scripts/analyze_qvm_temp_event.py docs/research/qvm-temp-event.json
1099
+ report scripts/analyze_qvm_think_gates.py docs/research/qvm-think-gates.json
1100
+ report scripts/analyze_qvm_timers_dispatch.py docs/research/qvm-timers-dispatch.json
1101
+ report scripts/analyze_qvm_torso_selector.py docs/research/qvm-torso-selector.json
1102
+ report scripts/analyze_qvm_trace_bounds_restore.py docs/research/qvm-trace-bounds-restore.json
1103
+ report scripts/analyze_qvm_trace_classify.py docs/research/qvm-trace-classify.json
1104
+ report scripts/analyze_qvm_trace_finalize.py docs/research/qvm-trace-finalize.json
1105
+ report scripts/analyze_qvm_trace_relink.py docs/research/qvm-trace-relink.json
1106
+ report scripts/analyze_qvm_trace_response_chain.py docs/research/qvm-trace-response-chain.json
1107
+ report scripts/analyze_qvm_trace_retry.py docs/research/qvm-trace-retry.json
1108
+ report scripts/analyze_qvm_traversal_query.py docs/research/qvm-traversal-query.json
1109
+ report scripts/analyze_qvm_twenty_pellets.py docs/research/qvm-twenty-pellets.json
1110
+ report scripts/analyze_qvm_usercmd.py docs/research/qvm-usercmd.json
1111
+ report scripts/analyze_qvm_vector_angles.py docs/research/qvm-vector-angles.json
1112
+ report scripts/analyze_qvm_victim_stats.py docs/research/qvm-victim-stats.json
1113
+ report scripts/analyze_qvm_view_motion.py docs/research/qvm-view-motion.json
1114
+ report scripts/analyze_qvm_walk_entry.py docs/research/qvm-walk-entry.json
1115
+ report scripts/analyze_qvm_walk_policy.py docs/research/qvm-walk-policy.json
1116
+ report scripts/analyze_qvm_walk_wish.py docs/research/qvm-walk-wish.json
1117
+ report scripts/analyze_qvm_walking_mode.py docs/research/qvm-walking-mode.json
1118
+ report scripts/analyze_qvm_wall_action.py docs/research/qvm-wall-action.json
1119
+ report scripts/analyze_qvm_wall_probe.py docs/research/qvm-wall-probe.json
1120
+ report scripts/analyze_qvm_water_entry.py docs/research/qvm-water-entry.json
1121
+ report scripts/analyze_qvm_water_events.py docs/research/qvm-water-events.json
1122
+ report scripts/analyze_qvm_water_route.py docs/research/qvm-water-route.json
1123
+ report scripts/analyze_qvm_weapon_complete.py docs/research/qvm-weapon-complete.json
1124
+ report scripts/analyze_qvm_weapon_complete_body.py docs/research/qvm-weapon-complete-body.json
1125
+ report scripts/analyze_qvm_weapon_guards.py docs/research/qvm-weapon-guards.json
1126
+ report scripts/analyze_qvm_weapon_lookup.py docs/research/qvm-weapon-lookup.json
1127
+ report scripts/analyze_qvm_weapon_phases.py docs/research/qvm-weapon-phases.json
1128
+ report scripts/analyze_qvm_weapon_prefix.py docs/research/qvm-weapon-prefix.json
1129
+ report scripts/analyze_qvm_weapon_ready.py docs/research/qvm-weapon-ready.json
1130
+ report scripts/analyze_qvm_weapon_return_chains.py docs/research/qvm-weapon-return-chains.json
1131
+ report scripts/analyze_qvm_weapon_select.py docs/research/qvm-weapon-select.json
1132
+ report scripts/analyze_qvm_weapon_selection_caller.py docs/research/qvm-weapon-selection-caller.json
1133
+ report scripts/analyze_qvm_word_strlen.py docs/research/qvm-word-strlen.json
1134
+ report scripts/analyze_rust_md3.py docs/research/rust-md3.json
1135
+ report scripts/analyze_selector_bounds.py docs/research/selector-bounds.json
1136
+ report scripts/analyze_snapshot_areas.py docs/research/snapshot-areas.json
1137
+ report scripts/analyze_usercmd_acceptance.py docs/research/usercmd-acceptance.json
1138
+ report scripts/analyze_usercmd_callers.py docs/research/usercmd-callers.json
1139
+ report scripts/analyze_vm_abi.py docs/research/qvm/cgame.abi-candidates.json
1140
+ report scripts/analyze_vm_abi.py docs/research/qvm/qagame.abi-candidates.json
1141
+ report scripts/analyze_vm_abi.py docs/research/qvm/ui.abi-candidates.json
1142
+ report scripts/analyze_vm_abi.py docs/research/qvm/upstream-validation.json
1143
+ report scripts/analyze_vm_extensions.py docs/research/vm-extensions.json
1144
+ report scripts/analyze_world_links.py docs/research/world-links.json
1145
+ version 1
xtask/python_graph.py ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Read Python syntax only; Rust owns selection, scheduling and execution.
2
+
3
+ Protocol is tab-separated UTF-8. Never import repository modules. Dynamic file
4
+ and subprocess dependencies must be declared in checks.tsv.
5
+ """
6
+ import ast
7
+ from pathlib import Path
8
+ import sys
9
+
10
+
11
+ def scan(root, extra=()):
12
+ files = sorted((root / 'scripts').glob('*.py'))
13
+ modules = {p.stem: 'scripts/' + p.name for p in files}
14
+ for p in extra:
15
+ if p.startswith('scripts/') and p.endswith('.py'):
16
+ modules[Path(p).stem] = p
17
+ rows = set()
18
+ for path in files:
19
+ name = 'scripts/' + path.name
20
+ rows.add(('node', name))
21
+ tree = ast.parse(path.read_text(), filename=name)
22
+ outputs = set()
23
+ for node in ast.walk(tree):
24
+ if isinstance(node, ast.Import):
25
+ imports = [a.name.split('.')[0] for a in node.names]
26
+ elif isinstance(node, ast.ImportFrom):
27
+ imports = [(node.module or '').split('.')[0]]
28
+ else:
29
+ imports = []
30
+ for module in imports:
31
+ if module in modules:
32
+ rows.add(('edge', modules[module], name))
33
+ if isinstance(node, ast.Call) and isinstance(node.func, ast.Name) and node.func.id in ('write_json', 'write_rows', 'write_gzip') and node.args:
34
+ dest = node.args[0]
35
+ if isinstance(dest, ast.Call) and isinstance(dest.func, ast.Name) and dest.func.id == 'Path' and dest.args and isinstance(dest.args[0], ast.Constant) and isinstance(dest.args[0].value, str):
36
+ outputs.add(dest.args[0].value)
37
+ rows.add(('output', name, dest.args[0].value))
38
+ else:
39
+ rows.add(('dynamic', name))
40
+ if isinstance(node, ast.Call) and ((isinstance(node.func, ast.Name) and node.func.id == '__import__') or (isinstance(node.func, ast.Attribute) and node.func.attr == 'import_module')):
41
+ rows.add(('unsafe', name))
42
+ for node in ast.walk(tree):
43
+ if isinstance(node, ast.Constant) and isinstance(node.value, str):
44
+ value = node.value
45
+ if value.startswith(('docs/', 'assets/', '.cache/')) and '\n' not in value and '\t' not in value and value not in outputs:
46
+ # Direct file literals only. Prefixes/formatted paths belong in the registry.
47
+ if Path(value).suffix:
48
+ rows.add(('edge', value, name))
49
+ return sorted(rows)
50
+
51
+
52
+ if __name__ == '__main__':
53
+ for row in scan(Path.cwd(), sys.argv[1:]):
54
+ print('\t'.join(row))
xtask/src/lib.rs ADDED
@@ -0,0 +1,1066 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //! Dependency-aware validation orchestration. No third-party Rust dependencies.
2
+ use std::collections::{BTreeMap, BTreeSet, VecDeque};
3
+ use std::fs;
4
+ use std::path::{Path, PathBuf};
5
+ use std::process::Command;
6
+
7
+ type Result<T> = std::result::Result<T, String>;
8
+ type Set = BTreeSet<String>;
9
+
10
+ #[derive(Default, Debug)]
11
+ pub struct Graph {
12
+ nodes: Set,
13
+ edges: BTreeMap<String, Set>,
14
+ owners: BTreeMap<String, String>,
15
+ outputs: BTreeMap<String, Set>,
16
+ groups: BTreeMap<String, Vec<String>>,
17
+ dynamic: Set,
18
+ unsafe_nodes: Set,
19
+ warnings: Vec<String>,
20
+ }
21
+
22
+ fn clean_path(s: &str) -> Result<String> {
23
+ if s.is_empty()
24
+ || s.contains(['\t', '\n', '\r', '\0', '\\'])
25
+ || Path::new(s).is_absolute()
26
+ || Path::new(s)
27
+ .components()
28
+ .any(|c| !matches!(c, std::path::Component::Normal(_)))
29
+ {
30
+ return Err(format!("expected a repository-relative path, got {s:?}"));
31
+ }
32
+ Ok(s.to_owned())
33
+ }
34
+ impl Graph {
35
+ fn edge(&mut self, input: &str, consumer: &str) {
36
+ self.nodes.insert(input.into());
37
+ self.nodes.insert(consumer.into());
38
+ self.edges
39
+ .entry(input.into())
40
+ .or_default()
41
+ .insert(consumer.into());
42
+ }
43
+ fn output(&mut self, producer: &str, output: &str) -> Result<()> {
44
+ clean_path(producer)?;
45
+ clean_path(output)?;
46
+ if !producer.starts_with("scripts/analyze_") || !producer.ends_with(".py") {
47
+ return Err(format!("invalid report producer: {producer}"));
48
+ }
49
+ if let Some(old) = self.owners.insert(output.into(), producer.into()) {
50
+ if old != producer {
51
+ return Err(format!(
52
+ "multiple producers for {output}: {old}, {producer}"
53
+ ));
54
+ }
55
+ }
56
+ self.outputs
57
+ .entry(producer.into())
58
+ .or_default()
59
+ .insert(output.into());
60
+ self.edge(producer, output);
61
+ Ok(())
62
+ }
63
+ fn registry(text: &str) -> Result<Self> {
64
+ let mut g = Self::default();
65
+ for (n, line) in text.lines().enumerate() {
66
+ if line.trim().is_empty() || line.starts_with('#') {
67
+ continue;
68
+ }
69
+ let parts: Vec<_> = line.split('\t').collect();
70
+ match parts.as_slice() {
71
+ ["version", "1"] => (),
72
+ ["report", producer, output] => g.output(producer, output)?,
73
+ ["edge", input, consumer] => {
74
+ clean_path(input)?;
75
+ clean_path(consumer)?;
76
+ g.edge(input, consumer);
77
+ }
78
+ ["dynamic", producer] => {
79
+ g.dynamic.insert(clean_path(producer)?);
80
+ }
81
+ ["group", name, prefix] => {
82
+ clean_path(prefix)?;
83
+ g.groups
84
+ .entry((*name).into())
85
+ .or_default()
86
+ .push((*prefix).into());
87
+ }
88
+ _ => return Err(format!("invalid registry line {}: {line}", n + 1)),
89
+ }
90
+ }
91
+ if text.lines().filter(|l| *l == "version\t1").count() != 1 {
92
+ return Err("registry requires exactly one version 1 header".into());
93
+ }
94
+ Ok(g)
95
+ }
96
+ fn scanner(&mut self, text: &str) -> Result<()> {
97
+ for line in text.lines() {
98
+ let parts: Vec<_> = line.split('\t').collect();
99
+ match parts.as_slice() {
100
+ ["node", path] => {
101
+ self.nodes.insert(clean_path(path)?);
102
+ }
103
+ ["edge", input, consumer] => {
104
+ clean_path(input)?;
105
+ clean_path(consumer)?;
106
+ self.edge(input, consumer);
107
+ }
108
+ ["output", producer, output] => {
109
+ if self.owners.get(*output).map(String::as_str) != Some(*producer) {
110
+ self.warnings.push(format!(
111
+ "unregistered output {output} from {producer}; add a report row"
112
+ ));
113
+ self.output(producer, output)?;
114
+ }
115
+ }
116
+ ["dynamic", producer] => {
117
+ if !self.dynamic.contains(*producer) {
118
+ self.warnings.push(format!(
119
+ "unregistered dynamic writer {producer}; review checks.tsv"
120
+ ));
121
+ self.unsafe_nodes.insert((*producer).into());
122
+ }
123
+ }
124
+ ["unsafe", path] => {
125
+ self.unsafe_nodes.insert((*path).into());
126
+ }
127
+ _ => return Err(format!("invalid AST reader record: {line}")),
128
+ }
129
+ }
130
+ // A writer's own output literals are not input dependencies.
131
+ for (output, producer) in &self.owners {
132
+ if let Some(consumers) = self.edges.get_mut(output) {
133
+ consumers.remove(producer);
134
+ }
135
+ }
136
+ Ok(())
137
+ }
138
+ fn closure(&self, roots: &Set) -> BTreeMap<String, String> {
139
+ let mut why: BTreeMap<_, _> = roots
140
+ .iter()
141
+ .map(|p| (p.clone(), "selected input".into()))
142
+ .collect();
143
+ let mut queue: VecDeque<_> = roots.iter().cloned().collect();
144
+ while let Some(p) = queue.pop_front() {
145
+ if let Some(children) = self.edges.get(&p) {
146
+ for child in children {
147
+ if !why.contains_key(child) {
148
+ why.insert(child.clone(), format!("depends on {p}"));
149
+ queue.push_back(child.clone());
150
+ }
151
+ }
152
+ }
153
+ }
154
+ why
155
+ }
156
+ fn producers_in_order(&self, selected: &Set) -> Result<Vec<String>> {
157
+ // Report dependencies can pass through imported helpers. Imports alone
158
+ // never require executing an imported module's main().
159
+ let mut required: BTreeMap<String, Set> =
160
+ selected.iter().map(|p| (p.clone(), Set::new())).collect();
161
+ for producer in selected {
162
+ let mut seen = Set::new();
163
+ let mut todo = VecDeque::new();
164
+ for output in &self.outputs[producer] {
165
+ todo.push_back(output.clone());
166
+ }
167
+ while let Some(node) = todo.pop_front() {
168
+ if !seen.insert(node.clone()) {
169
+ continue;
170
+ }
171
+ if selected.contains(&node) && &node != producer {
172
+ required.get_mut(&node).unwrap().insert(producer.clone());
173
+ continue;
174
+ }
175
+ if let Some(children) = self.edges.get(&node) {
176
+ for child in children {
177
+ // Do not cross other output boundaries when finding direct prerequisites.
178
+ if !self.owners.contains_key(child) {
179
+ todo.push_back(child.clone());
180
+ }
181
+ }
182
+ }
183
+ }
184
+ }
185
+ let mut done = Set::new();
186
+ let mut order = Vec::new();
187
+ while done.len() < selected.len() {
188
+ let next = required
189
+ .iter()
190
+ .find(|(p, deps)| !done.contains(*p) && deps.is_subset(&done))
191
+ .map(|(p, _)| p.clone());
192
+ let Some(next) = next else {
193
+ return Err(format!(
194
+ "report dependency cycle among {:?}",
195
+ selected.difference(&done).collect::<Vec<_>>()
196
+ ));
197
+ };
198
+ done.insert(next.clone());
199
+ order.push(next);
200
+ }
201
+ Ok(order)
202
+ }
203
+ }
204
+
205
+ #[derive(Debug)]
206
+ struct Plan {
207
+ tests: Set,
208
+ producers: Vec<String>,
209
+ reasons: BTreeMap<String, String>,
210
+ fallback: Vec<String>,
211
+ rust: bool,
212
+ }
213
+ fn is_test(s: &str) -> bool {
214
+ s.starts_with("scripts/test_") && s.ends_with(".py")
215
+ }
216
+ fn doc_only(s: &str) -> bool {
217
+ s.starts_with("docs/") && s.ends_with(".md")
218
+ }
219
+ fn plan(g: &Graph, changed: &Set, force_full: bool, root: &Path) -> Result<Plan> {
220
+ let mut roots = changed.clone();
221
+ for p in changed {
222
+ if let Some(owner) = g.owners.get(p) {
223
+ roots.insert(owner.clone());
224
+ }
225
+ if p.starts_with("crates/urt-assets/") {
226
+ roots.insert("scripts/analyze_rust_md3.py".into());
227
+ }
228
+ }
229
+ let reasons = g.closure(&roots);
230
+ let mut fallback = g.warnings.clone();
231
+ for p in changed {
232
+ if p.starts_with("xtask/")
233
+ || p.starts_with(".cargo/")
234
+ || matches!(p.as_str(), "Cargo.toml" | "Cargo.lock")
235
+ {
236
+ fallback.push(format!("runner/toolchain/workspace change: {p}"));
237
+ } else if !g.nodes.contains(p) && !doc_only(p) && !p.starts_with("crates/urt-assets/") {
238
+ fallback.push(format!("unmapped change: {p}"));
239
+ }
240
+ }
241
+ for p in reasons.keys() {
242
+ if g.unsafe_nodes.contains(p) {
243
+ fallback.push(format!(
244
+ "dynamic dependency/writer requires broad checks: {p}"
245
+ ));
246
+ }
247
+ }
248
+ let mut tests: Set = reasons
249
+ .keys()
250
+ .filter(|p| is_test(p) && root.join(p).is_file())
251
+ .cloned()
252
+ .collect();
253
+ let producers: Set = g
254
+ .outputs
255
+ .keys()
256
+ .filter(|p| reasons.contains_key(*p))
257
+ .cloned()
258
+ .collect();
259
+ let code_change = changed.iter().any(|p| !doc_only(p));
260
+ if code_change && tests.is_empty() && !changed.is_empty() {
261
+ fallback.push("no mapped test consumers; use full suite".into());
262
+ }
263
+ if force_full || !fallback.is_empty() {
264
+ tests = g
265
+ .nodes
266
+ .iter()
267
+ .filter(|p| is_test(p) && root.join(p).is_file())
268
+ .cloned()
269
+ .collect();
270
+ }
271
+ // Refuse unreviewed dynamic writers, rather than passing against stale reports.
272
+ for p in &producers {
273
+ if g.unsafe_nodes.contains(p) {
274
+ return Err(format!(
275
+ "cannot safely regenerate {p}; declare/review its dynamic outputs in xtask/checks.tsv (full test fallback alone cannot validate stale reports)"
276
+ ));
277
+ }
278
+ }
279
+ let rust = force_full
280
+ || !fallback.is_empty()
281
+ || changed.iter().any(|p| {
282
+ p.starts_with("crates/")
283
+ || p.starts_with("xtask/")
284
+ || p.starts_with(".cargo/")
285
+ || matches!(p.as_str(), "Cargo.toml" | "Cargo.lock")
286
+ });
287
+ Ok(Plan {
288
+ tests,
289
+ producers: g.producers_in_order(&producers)?,
290
+ reasons,
291
+ fallback,
292
+ rust,
293
+ })
294
+ }
295
+
296
+ #[derive(Clone, Debug, PartialEq, Eq)]
297
+ struct Cmd {
298
+ program: String,
299
+ args: Vec<String>,
300
+ }
301
+ impl Cmd {
302
+ fn new(program: &str, args: impl IntoIterator<Item = impl Into<String>>) -> Self {
303
+ Self {
304
+ program: program.into(),
305
+ args: args.into_iter().map(Into::into).collect(),
306
+ }
307
+ }
308
+ fn display(&self) -> String {
309
+ format!(
310
+ "{} {}",
311
+ self.program,
312
+ self.args
313
+ .iter()
314
+ .map(|s| format!("{s:?}"))
315
+ .collect::<Vec<_>>()
316
+ .join(" ")
317
+ )
318
+ }
319
+ }
320
+ trait Runner {
321
+ fn run(&mut self, cmd: &Cmd) -> Result<()>;
322
+ }
323
+ struct Process {
324
+ root: PathBuf,
325
+ }
326
+ impl Runner for Process {
327
+ fn run(&mut self, c: &Cmd) -> Result<()> {
328
+ println!("+ {}", c.display());
329
+ let status = Command::new(&c.program)
330
+ .args(&c.args)
331
+ .current_dir(&self.root)
332
+ .env("PYTHONPATH", self.root.join("scripts"))
333
+ .status()
334
+ .map_err(|e| format!("{}: {e}", c.program))?;
335
+ if status.success() {
336
+ Ok(())
337
+ } else {
338
+ Err(format!("command failed ({status}): {}", c.display()))
339
+ }
340
+ }
341
+ }
342
+ fn capture(root: &Path, c: &Cmd) -> Result<String> {
343
+ let out = Command::new(&c.program)
344
+ .args(&c.args)
345
+ .current_dir(root)
346
+ .output()
347
+ .map_err(|e| format!("{}: {e}", c.program))?;
348
+ if !out.status.success() {
349
+ return Err(format!(
350
+ "{} failed: {}",
351
+ c.display(),
352
+ String::from_utf8_lossy(&out.stderr)
353
+ ));
354
+ }
355
+ String::from_utf8(out.stdout).map_err(|e| format!("non-UTF-8 command output: {e}"))
356
+ }
357
+ fn nul_paths(text: &str) -> Result<Set> {
358
+ text.split('\0')
359
+ .filter(|s| !s.is_empty())
360
+ .map(clean_path)
361
+ .collect()
362
+ }
363
+ fn changes(root: &Path, since: Option<&str>) -> Result<Set> {
364
+ let mut paths = Set::new();
365
+ for args in [
366
+ vec!["diff", "--name-only", "--no-renames", "-z"],
367
+ vec!["diff", "--cached", "--name-only", "--no-renames", "-z"],
368
+ vec!["ls-files", "--others", "--exclude-standard", "-z"],
369
+ ] {
370
+ paths.extend(nul_paths(&capture(root, &Cmd::new("git", args))?)?);
371
+ }
372
+ if let Some(rev) = since {
373
+ let oid = capture(
374
+ root,
375
+ &Cmd::new(
376
+ "git",
377
+ [
378
+ "rev-parse",
379
+ "--verify",
380
+ "--end-of-options",
381
+ &format!("{rev}^{{commit}}"),
382
+ ],
383
+ ),
384
+ )?;
385
+ paths.extend(nul_paths(&capture(
386
+ root,
387
+ &Cmd::new(
388
+ "git",
389
+ [
390
+ "diff",
391
+ "--name-only",
392
+ "--no-renames",
393
+ "-z",
394
+ oid.trim(),
395
+ "HEAD",
396
+ "--",
397
+ ],
398
+ ),
399
+ )?)?);
400
+ }
401
+ Ok(paths)
402
+ }
403
+ fn snapshots(root: &Path, outputs: &Set) -> Result<BTreeMap<String, Vec<u8>>> {
404
+ outputs
405
+ .iter()
406
+ .map(|p| {
407
+ fs::read(root.join(p))
408
+ .map(|b| (p.clone(), b))
409
+ .map_err(|e| format!("expected generated output {p}: {e}"))
410
+ })
411
+ .collect()
412
+ }
413
+ fn regenerate(
414
+ root: &Path,
415
+ g: &Graph,
416
+ producer: &str,
417
+ python: &str,
418
+ runner: &mut impl Runner,
419
+ ) -> Result<()> {
420
+ let c = Cmd::new(python, [producer]);
421
+ runner.run(&c)?;
422
+ let first = snapshots(root, &g.outputs[producer])?;
423
+ runner.run(&c)?;
424
+ let second = snapshots(root, &g.outputs[producer])?;
425
+ if first != second {
426
+ return Err(format!("nondeterministic report outputs from {producer}"));
427
+ }
428
+ println!("Verified deterministic outputs: {producer}");
429
+ Ok(())
430
+ }
431
+ fn docs_check(root: &Path) -> Result<usize> {
432
+ fn walk(root: &Path, dir: &Path, count: &mut usize) -> Result<()> {
433
+ for entry in fs::read_dir(dir).map_err(|e| e.to_string())? {
434
+ let path = entry.map_err(|e| e.to_string())?.path();
435
+ if path.is_dir() {
436
+ walk(root, &path, count)?;
437
+ } else if path.extension().and_then(|s| s.to_str()) == Some("md") {
438
+ *count += 1;
439
+ let text = fs::read_to_string(&path).map_err(|e| e.to_string())?;
440
+ for part in text.split("](").skip(1) {
441
+ let Some(end) = part.find(')') else {
442
+ continue;
443
+ };
444
+ let target = part[..end]
445
+ .trim()
446
+ .trim_start_matches('<')
447
+ .trim_end_matches('>')
448
+ .split('#')
449
+ .next()
450
+ .unwrap();
451
+ if target.is_empty()
452
+ || target.starts_with('/')
453
+ || target.contains("://")
454
+ || target.starts_with("mailto:")
455
+ {
456
+ continue;
457
+ }
458
+ if !path.parent().unwrap_or(root).join(target).exists() {
459
+ return Err(format!(
460
+ "broken documentation link in {}: {target}",
461
+ path.display()
462
+ ));
463
+ }
464
+ }
465
+ }
466
+ }
467
+ Ok(())
468
+ }
469
+ let mut count = 0;
470
+ walk(root, &root.join("docs"), &mut count)?;
471
+ Ok(count)
472
+ }
473
+ fn execute(root: &Path, g: &Graph, p: &Plan, python: &str, runner: &mut impl Runner) -> Result<()> {
474
+ for producer in &p.producers {
475
+ regenerate(root, g, producer, python, runner)?;
476
+ }
477
+ if p.rust {
478
+ runner.run(&Cmd::new("cargo", ["test", "--offline", "--workspace"]))?;
479
+ }
480
+ // Chunking avoids platform argv limits without rediscovering unrelated tests.
481
+ let modules: Vec<_> = p
482
+ .tests
483
+ .iter()
484
+ .map(|p| {
485
+ p.trim_start_matches("scripts/")
486
+ .trim_end_matches(".py")
487
+ .to_string()
488
+ })
489
+ .collect();
490
+ for chunk in modules.chunks(80) {
491
+ let mut args = vec!["-m".to_string(), "unittest".into()];
492
+ args.extend_from_slice(chunk);
493
+ runner.run(&Cmd::new(python, args))?;
494
+ }
495
+ runner.run(&Cmd::new(
496
+ python,
497
+ ["scripts/storage_policy.py", "check", "--require-setup"],
498
+ ))?;
499
+ println!("Documentation links pass ({} files)", docs_check(root)?);
500
+ runner.run(&Cmd::new("git", ["diff", "--check"]))?;
501
+ runner.run(&Cmd::new("git", ["diff", "--cached", "--check"]))?;
502
+ Ok(())
503
+ }
504
+
505
+ pub fn run(args: Vec<String>) -> Result<()> {
506
+ if args.is_empty() || args.iter().any(|a| matches!(a.as_str(), "--help" | "-h")) {
507
+ println!(
508
+ "cargo xtask test-changed [--since REV] [--path PATH ...] [--dry-run]\ncargo xtask test-group NAME [--dry-run]\ncargo xtask test-full [--since REV] [--dry-run]\ncargo xtask list-groups\nPYTHON overrides python3. Run from anywhere inside the checkout. Reports regenerate twice before tests."
509
+ );
510
+ return Ok(());
511
+ }
512
+ let root = PathBuf::from(
513
+ capture(
514
+ &std::env::current_dir().map_err(|e| e.to_string())?,
515
+ &Cmd::new("git", ["rev-parse", "--show-toplevel"]),
516
+ )?
517
+ .trim(),
518
+ );
519
+ let python = std::env::var("PYTHON").unwrap_or_else(|_| "python3".into());
520
+ let mode = &args[0];
521
+ let mut index = 1;
522
+ let mut group = None;
523
+ let mut since = None;
524
+ let mut dry = false;
525
+ let mut extra = Set::new();
526
+ if mode == "test-group" {
527
+ group = Some(
528
+ args.get(index)
529
+ .ok_or("test-group requires a group name")?
530
+ .clone(),
531
+ );
532
+ index += 1;
533
+ }
534
+ while index < args.len() {
535
+ match args[index].as_str() {
536
+ "--dry-run" => dry = true,
537
+ "--since" => {
538
+ index += 1;
539
+ since = Some(
540
+ args.get(index)
541
+ .ok_or("--since requires a revision")?
542
+ .clone(),
543
+ );
544
+ }
545
+ "--path" => {
546
+ index += 1;
547
+ extra.insert(clean_path(
548
+ args.get(index).ok_or("--path requires a path")?,
549
+ )?);
550
+ }
551
+ other => return Err(format!("unknown option: {other}")),
552
+ }
553
+ index += 1;
554
+ }
555
+ if !matches!(
556
+ mode.as_str(),
557
+ "test-changed" | "test-group" | "test-full" | "list-groups"
558
+ ) {
559
+ return Err(format!("unknown command: {mode}"));
560
+ }
561
+ let mut g = Graph::registry(
562
+ &fs::read_to_string(root.join("xtask/checks.tsv")).map_err(|e| e.to_string())?,
563
+ )?;
564
+ let mut changed = changes(&root, since.as_deref())?;
565
+ changed.extend(extra);
566
+ let mut scan_args = vec!["-I".into(), "xtask/python_graph.py".into()];
567
+ scan_args.extend(changed.iter().cloned());
568
+ g.scanner(&capture(&root, &Cmd::new(&python, scan_args))?)?;
569
+ if mode == "list-groups" {
570
+ for name in g.groups.keys() {
571
+ println!("{name}");
572
+ }
573
+ return Ok(());
574
+ }
575
+ if let Some(group) = group {
576
+ if since.is_some() {
577
+ return Err("--since applies to test-changed/test-full, not test-group".into());
578
+ }
579
+ let prefixes = g
580
+ .groups
581
+ .get(&group)
582
+ .ok_or_else(|| format!("unknown group {group}; use list-groups"))?;
583
+ changed = g
584
+ .nodes
585
+ .iter()
586
+ .filter(|n| prefixes.iter().any(|p| n.starts_with(p)))
587
+ .cloned()
588
+ .collect();
589
+ if changed.is_empty() {
590
+ return Err(format!("empty group {group}"));
591
+ }
592
+ }
593
+ let p = plan(&g, &changed, mode == "test-full", &root)?;
594
+ println!(
595
+ "Inputs: {}. Python test modules: {}. Report producers: {}. Rust workspace tests: {}.",
596
+ changed.len(),
597
+ p.tests.len(),
598
+ p.producers.len(),
599
+ p.rust
600
+ );
601
+ for input in &changed {
602
+ println!("INPUT {input}");
603
+ }
604
+ for why in &p.fallback {
605
+ println!("FULL-SUITE FALLBACK: {why}");
606
+ }
607
+ for producer in &p.producers {
608
+ println!(
609
+ "REGENERATE {producer} (twice): {}",
610
+ p.reasons
611
+ .get(producer)
612
+ .map(String::as_str)
613
+ .unwrap_or("selected")
614
+ );
615
+ }
616
+ for test in &p.tests {
617
+ println!(
618
+ "TEST {test}: {}",
619
+ p.reasons
620
+ .get(test)
621
+ .map(String::as_str)
622
+ .unwrap_or("full suite")
623
+ );
624
+ }
625
+ if dry {
626
+ println!("Dry run: no analyzers, tests or checks executed.");
627
+ return Ok(());
628
+ }
629
+ execute(&root, &g, &p, &python, &mut Process { root: root.clone() })?;
630
+ println!("Validation passed. Review regenerated outputs before committing.");
631
+ Ok(())
632
+ }
633
+
634
+ #[cfg(test)]
635
+ mod tests {
636
+ use super::*;
637
+ use std::sync::atomic::{AtomicU64, Ordering};
638
+ static SERIAL: AtomicU64 = AtomicU64::new(0);
639
+ struct Temp(PathBuf);
640
+ impl Temp {
641
+ fn new() -> Self {
642
+ let p = std::env::temp_dir().join(format!(
643
+ "urt-xtask-{}-{}",
644
+ std::process::id(),
645
+ SERIAL.fetch_add(1, Ordering::SeqCst)
646
+ ));
647
+ fs::create_dir_all(&p).unwrap();
648
+ Self(p)
649
+ }
650
+ fn put(&self, p: &str, text: &str) {
651
+ let target = self.0.join(p);
652
+ fs::create_dir_all(target.parent().unwrap()).unwrap();
653
+ fs::write(target, text).unwrap();
654
+ }
655
+ }
656
+ impl Drop for Temp {
657
+ fn drop(&mut self) {
658
+ let _ = fs::remove_dir_all(&self.0);
659
+ }
660
+ }
661
+ fn set(paths: &[&str]) -> Set {
662
+ paths.iter().map(|s| (*s).into()).collect()
663
+ }
664
+ fn fixture() -> (Temp, Graph) {
665
+ let t = Temp::new();
666
+ for file in [
667
+ "scripts/test_first.py",
668
+ "scripts/test_last.py",
669
+ "scripts/test_other.py",
670
+ ] {
671
+ t.put(file, "");
672
+ }
673
+ let mut g=Graph::registry("version\t1\nreport\tscripts/analyze_first.py\tdocs/first.json\nreport\tscripts/analyze_last.py\tdocs/last.json\ngroup\tfirst\tscripts/analyze_first.py\n").unwrap();
674
+ g.scanner("node\tscripts/helper.py\nnode\tscripts/test_other.py\nedge\tscripts/helper.py\tscripts/analyze_first.py\nedge\tdocs/first.json\tscripts/bridge.py\nedge\tscripts/bridge.py\tscripts/analyze_last.py\nedge\tdocs/first.json\tscripts/test_first.py\nedge\tdocs/last.json\tscripts/test_last.py\n").unwrap();
675
+ (t, g)
676
+ }
677
+ #[test]
678
+ fn transitive_import_report_and_test_selection() {
679
+ let (t, g) = fixture();
680
+ let p = plan(&g, &set(&["scripts/helper.py"]), false, &t.0).unwrap();
681
+ assert_eq!(
682
+ p.tests,
683
+ set(&["scripts/test_first.py", "scripts/test_last.py"])
684
+ );
685
+ assert_eq!(
686
+ p.producers,
687
+ vec!["scripts/analyze_first.py", "scripts/analyze_last.py"]
688
+ );
689
+ assert!(p.fallback.is_empty());
690
+ assert!(!p.rust);
691
+ }
692
+ #[test]
693
+ fn report_change_selects_its_producer() {
694
+ let (t, g) = fixture();
695
+ let p = plan(&g, &set(&["docs/first.json"]), false, &t.0).unwrap();
696
+ assert_eq!(p.producers.len(), 2);
697
+ }
698
+ #[test]
699
+ fn test_change_does_not_regenerate_unaffected_reports() {
700
+ let (t, g) = fixture();
701
+ let p = plan(&g, &set(&["scripts/test_first.py"]), false, &t.0).unwrap();
702
+ assert!(p.producers.is_empty());
703
+ assert_eq!(p.tests, set(&["scripts/test_first.py"]));
704
+ }
705
+ #[test]
706
+ fn shared_test_oracle_selects_consumers() {
707
+ let (t, mut g) = fixture();
708
+ g.edge("scripts/test_first.py", "scripts/test_last.py");
709
+ let p = plan(&g, &set(&["scripts/test_first.py"]), false, &t.0).unwrap();
710
+ assert_eq!(p.tests.len(), 2);
711
+ }
712
+ #[test]
713
+ fn unknown_change_falls_back_to_all_tests_and_rust() {
714
+ let (t, g) = fixture();
715
+ let p = plan(&g, &set(&["surprise.rs"]), false, &t.0).unwrap();
716
+ assert_eq!(p.tests.len(), 3);
717
+ assert!(p.rust);
718
+ assert!(!p.fallback.is_empty());
719
+ }
720
+ #[test]
721
+ fn documentation_only_skips_code_tests() {
722
+ let (t, g) = fixture();
723
+ let p = plan(&g, &set(&["docs/README.md"]), false, &t.0).unwrap();
724
+ assert!(p.tests.is_empty());
725
+ assert!(p.fallback.is_empty());
726
+ assert!(!p.rust);
727
+ }
728
+ #[test]
729
+ fn runner_and_workspace_changes_force_full() {
730
+ let (t, g) = fixture();
731
+ for file in [
732
+ "xtask/src/lib.rs",
733
+ "Cargo.lock",
734
+ "Cargo.toml",
735
+ ".cargo/config.toml",
736
+ ] {
737
+ let p = plan(&g, &set(&[file]), false, &t.0).unwrap();
738
+ assert_eq!(p.tests.len(), 3);
739
+ assert!(p.rust);
740
+ }
741
+ }
742
+ #[test]
743
+ fn full_suite_keeps_affected_regeneration() {
744
+ let (t, g) = fixture();
745
+ let p = plan(&g, &set(&["scripts/helper.py"]), true, &t.0).unwrap();
746
+ assert_eq!(p.tests.len(), 3);
747
+ assert_eq!(p.producers.len(), 2);
748
+ assert!(p.rust);
749
+ }
750
+ #[test]
751
+ fn empty_diff_is_cheap() {
752
+ let (t, g) = fixture();
753
+ let p = plan(&g, &Set::new(), false, &t.0).unwrap();
754
+ assert!(p.tests.is_empty());
755
+ assert!(p.producers.is_empty());
756
+ }
757
+ #[test]
758
+ fn code_without_consumers_is_conservative() {
759
+ let (t, mut g) = fixture();
760
+ g.nodes.insert("scripts/lonely.py".into());
761
+ let p = plan(&g, &set(&["scripts/lonely.py"]), false, &t.0).unwrap();
762
+ assert_eq!(p.tests.len(), 3);
763
+ }
764
+ #[test]
765
+ fn duplicate_report_ownership_is_rejected() {
766
+ assert!(Graph::registry("version\t1\nreport\tscripts/analyze_a.py\tdocs/a.json\nreport\tscripts/analyze_b.py\tdocs/a.json").is_err());
767
+ }
768
+ #[test]
769
+ fn invalid_registry_versions_and_paths_are_rejected() {
770
+ for text in [
771
+ "version\t2",
772
+ "version\t1\nunknown\tx",
773
+ "version\t1\nedge\t../escape\tscripts/a.py",
774
+ ] {
775
+ assert!(Graph::registry(text).is_err());
776
+ }
777
+ }
778
+ #[test]
779
+ fn malformed_ast_records_are_rejected() {
780
+ assert!(Graph::default().scanner("bad\tinput").is_err());
781
+ }
782
+ #[test]
783
+ fn new_literal_output_requires_full_checks_but_can_regenerate() {
784
+ let (t, mut g) = fixture();
785
+ g.scanner("output\tscripts/analyze_new.py\tdocs/new.json")
786
+ .unwrap();
787
+ let p = plan(&g, &set(&["scripts/analyze_new.py"]), false, &t.0).unwrap();
788
+ assert_eq!(p.tests.len(), 3);
789
+ assert_eq!(p.producers, vec!["scripts/analyze_new.py"]);
790
+ }
791
+ #[test]
792
+ fn unknown_dynamic_writer_fails_closed() {
793
+ let (t, mut g) = fixture();
794
+ g.scanner("dynamic\tscripts/analyze_first.py").unwrap();
795
+ assert!(
796
+ plan(&g, &set(&["scripts/helper.py"]), false, &t.0)
797
+ .unwrap_err()
798
+ .contains("cannot safely regenerate")
799
+ );
800
+ }
801
+ #[test]
802
+ fn cycles_are_rejected_instead_of_using_stale_reports() {
803
+ let (t, mut g) = fixture();
804
+ g.edge("docs/last.json", "scripts/analyze_first.py");
805
+ assert!(
806
+ plan(&g, &set(&["scripts/helper.py"]), false, &t.0)
807
+ .unwrap_err()
808
+ .contains("cycle")
809
+ );
810
+ }
811
+ #[test]
812
+ fn import_cycles_alone_do_not_require_main_execution() {
813
+ let (_, mut g) = fixture();
814
+ g.edge("scripts/analyze_last.py", "scripts/analyze_first.py");
815
+ assert!(
816
+ g.producers_in_order(&set(&[
817
+ "scripts/analyze_first.py",
818
+ "scripts/analyze_last.py"
819
+ ]))
820
+ .is_ok()
821
+ );
822
+ }
823
+ #[test]
824
+ fn removed_test_is_not_executed() {
825
+ let (t, g) = fixture();
826
+ fs::remove_file(t.0.join("scripts/test_first.py")).unwrap();
827
+ let p = plan(&g, &set(&["scripts/helper.py"]), false, &t.0).unwrap();
828
+ assert_eq!(p.tests, set(&["scripts/test_last.py"]));
829
+ }
830
+ #[test]
831
+ fn nul_git_records_preserve_spaces() {
832
+ assert_eq!(
833
+ nul_paths("a b.py\0old.py\0").unwrap(),
834
+ set(&["a b.py", "old.py"])
835
+ );
836
+ assert!(nul_paths("../bad\0").is_err());
837
+ }
838
+ struct Fake {
839
+ calls: usize,
840
+ root: PathBuf,
841
+ change: bool,
842
+ fail: bool,
843
+ }
844
+ impl Runner for Fake {
845
+ fn run(&mut self, _: &Cmd) -> Result<()> {
846
+ self.calls += 1;
847
+ if self.fail {
848
+ return Err("child failed".into());
849
+ }
850
+ fs::write(
851
+ self.root.join("docs/first.json"),
852
+ if self.change && self.calls == 2 {
853
+ "changed"
854
+ } else {
855
+ "stable"
856
+ },
857
+ )
858
+ .unwrap();
859
+ Ok(())
860
+ }
861
+ }
862
+ #[test]
863
+ fn regeneration_runs_twice_and_compares_actual_bytes() {
864
+ let (t, g) = fixture();
865
+ t.put("docs/first.json", "old");
866
+ let mut r = Fake {
867
+ calls: 0,
868
+ root: t.0.clone(),
869
+ change: false,
870
+ fail: false,
871
+ };
872
+ regenerate(&t.0, &g, "scripts/analyze_first.py", "python3", &mut r).unwrap();
873
+ assert_eq!(r.calls, 2);
874
+ assert_eq!(
875
+ fs::read_to_string(t.0.join("docs/first.json")).unwrap(),
876
+ "stable"
877
+ );
878
+ }
879
+ #[test]
880
+ fn nondeterministic_reports_stop_validation() {
881
+ let (t, g) = fixture();
882
+ t.put("docs/first.json", "old");
883
+ let mut r = Fake {
884
+ calls: 0,
885
+ root: t.0.clone(),
886
+ change: true,
887
+ fail: false,
888
+ };
889
+ assert!(
890
+ regenerate(&t.0, &g, "scripts/analyze_first.py", "python3", &mut r)
891
+ .unwrap_err()
892
+ .contains("nondeterministic")
893
+ );
894
+ }
895
+ #[test]
896
+ fn failed_analyzer_does_not_continue() {
897
+ let (t, g) = fixture();
898
+ let mut r = Fake {
899
+ calls: 0,
900
+ root: t.0.clone(),
901
+ change: false,
902
+ fail: true,
903
+ };
904
+ assert!(regenerate(&t.0, &g, "scripts/analyze_first.py", "python3", &mut r).is_err());
905
+ assert_eq!(r.calls, 1);
906
+ }
907
+ #[test]
908
+ fn missing_output_is_an_error() {
909
+ let (t, g) = fixture();
910
+ assert!(snapshots(&t.0, &g.outputs["scripts/analyze_first.py"]).is_err());
911
+ }
912
+ #[test]
913
+ fn docs_checks_local_links_and_ignores_external_anchors() {
914
+ let t = Temp::new();
915
+ t.put(
916
+ "docs/README.md",
917
+ "[ok](a.md#heading) [external](https://example.org) [anchor](#here)",
918
+ );
919
+ t.put("docs/a.md", "");
920
+ assert_eq!(docs_check(&t.0).unwrap(), 2);
921
+ t.put("docs/a.md", "[broken](missing.md)");
922
+ assert!(docs_check(&t.0).is_err());
923
+ }
924
+ #[test]
925
+ fn git_changes_include_batch_index_worktree_untracked_and_renames() {
926
+ let t = Temp::new();
927
+ let git = |args: Vec<&str>| capture(&t.0, &Cmd::new("git", args)).unwrap();
928
+ git(vec!["init", "-q"]);
929
+ for p in ["a.py", "b.py", "old.py"] {
930
+ t.put(p, "base");
931
+ }
932
+ git(vec!["add", "."]);
933
+ git(vec![
934
+ "-c",
935
+ "user.name=Test",
936
+ "-c",
937
+ "user.email=test@example.invalid",
938
+ "commit",
939
+ "-qm",
940
+ "base",
941
+ ]);
942
+ let base = git(vec!["rev-parse", "HEAD"]);
943
+ fs::rename(t.0.join("old.py"), t.0.join("new.py")).unwrap();
944
+ git(vec!["add", "-A"]);
945
+ git(vec![
946
+ "-c",
947
+ "user.name=Test",
948
+ "-c",
949
+ "user.email=test@example.invalid",
950
+ "commit",
951
+ "-qm",
952
+ "rename",
953
+ ]);
954
+ t.put("a.py", "staged");
955
+ git(vec!["add", "a.py"]);
956
+ t.put("b.py", "unstaged");
957
+ t.put("with spaces.py", "new");
958
+ assert_eq!(
959
+ changes(&t.0, Some(base.trim())).unwrap(),
960
+ set(&["a.py", "b.py", "old.py", "new.py", "with spaces.py"])
961
+ );
962
+ assert!(changes(&t.0, Some("missing-revision")).is_err());
963
+ }
964
+ #[test]
965
+ fn ast_reader_handles_multiline_alias_and_formatted_output_without_importing() {
966
+ let t = Temp::new();
967
+ t.put(
968
+ "scripts/helper.py",
969
+ "raise RuntimeError('must not execute')",
970
+ );
971
+ t.put(
972
+ "scripts/test_case.py",
973
+ "from helper import (\n x as alias,\n)\nimport helper as h\np='docs/a.json'\n",
974
+ );
975
+ t.put(
976
+ "scripts/analyze_x.py",
977
+ "write_json(Path(f'docs/{label}.json'), {})",
978
+ );
979
+ let scanner = PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("python_graph.py");
980
+ let out = capture(
981
+ &t.0,
982
+ &Cmd::new(
983
+ "python3",
984
+ ["-I".into(), scanner.to_string_lossy().into_owned()],
985
+ ),
986
+ )
987
+ .unwrap();
988
+ assert!(out.contains("edge\tscripts/helper.py\tscripts/test_case.py"));
989
+ assert!(out.contains("edge\tdocs/a.json\tscripts/test_case.py"));
990
+ assert!(out.contains("dynamic\tscripts/analyze_x.py"));
991
+ }
992
+ }
993
+
994
+ #[cfg(test)]
995
+ mod integration_tests {
996
+ use super::*;
997
+ #[test]
998
+ fn current_registry_matches_literal_writers_and_health_selection() {
999
+ let root = Path::new(env!("CARGO_MANIFEST_DIR")).parent().unwrap();
1000
+ let mut g =
1001
+ Graph::registry(&fs::read_to_string(root.join("xtask/checks.tsv")).unwrap()).unwrap();
1002
+ let output = capture(root, &Cmd::new("python3", ["-I", "xtask/python_graph.py"])).unwrap();
1003
+ g.scanner(&output).unwrap();
1004
+ assert!(g.warnings.is_empty(), "{:?}", g.warnings);
1005
+ let health = plan(
1006
+ &g,
1007
+ &["scripts/qvm_health_support.py".into()]
1008
+ .into_iter()
1009
+ .collect(),
1010
+ false,
1011
+ root,
1012
+ )
1013
+ .unwrap();
1014
+ assert_eq!(health.tests.len(), 2);
1015
+ assert_eq!(health.producers.len(), 2);
1016
+ assert!(health.fallback.is_empty());
1017
+ // Validate the entire registry DAG, including multi-output native/QVM writers.
1018
+ g.producers_in_order(&g.outputs.keys().cloned().collect())
1019
+ .unwrap();
1020
+ for producer in g.outputs.keys() {
1021
+ assert!(root.join(producer).is_file(), "missing producer {producer}");
1022
+ }
1023
+ let rust = plan(
1024
+ &g,
1025
+ &["crates/urt-assets/src/lib.rs".into()]
1026
+ .into_iter()
1027
+ .collect(),
1028
+ false,
1029
+ root,
1030
+ )
1031
+ .unwrap();
1032
+ assert!(rust.rust);
1033
+ assert!(
1034
+ rust.producers
1035
+ .contains(&"scripts/analyze_rust_md3.py".into())
1036
+ );
1037
+ assert!(rust.tests.contains("scripts/test_rust_md3.py"));
1038
+ }
1039
+ struct FailTests {
1040
+ commands: Vec<Cmd>,
1041
+ }
1042
+ impl Runner for FailTests {
1043
+ fn run(&mut self, c: &Cmd) -> Result<()> {
1044
+ self.commands.push(c.clone());
1045
+ if c.args.iter().any(|a| a == "unittest") {
1046
+ Err("failed test".into())
1047
+ } else {
1048
+ Ok(())
1049
+ }
1050
+ }
1051
+ }
1052
+ #[test]
1053
+ fn failing_tests_stop_before_storage_and_success_checks() {
1054
+ let g = Graph::default();
1055
+ let p = Plan {
1056
+ tests: ["scripts/test_one.py".into()].into_iter().collect(),
1057
+ producers: vec![],
1058
+ reasons: BTreeMap::new(),
1059
+ fallback: vec![],
1060
+ rust: false,
1061
+ };
1062
+ let mut runner = FailTests { commands: vec![] };
1063
+ assert!(execute(Path::new("."), &g, &p, "python3", &mut runner).is_err());
1064
+ assert_eq!(runner.commands.len(), 1);
1065
+ }
1066
+ }
xtask/src/main.rs ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ fn main() {
2
+ if let Err(error) = xtask::run(std::env::args().skip(1).collect()) {
3
+ eprintln!("xtask: {error}");
4
+ std::process::exit(1);
5
+ }
6
+ }