Include the current addon, terrain integrations, tools, regression tests and recorded development evidence.
51 lines
2.7 KiB
JSON
51 lines
2.7 KiB
JSON
{
|
|
"scope": "Scratch-only pair geometry; parent registers new test and integrates dispatcher/service.",
|
|
"api": "static bool SelectPair(ERR_HQBelief belief, float now, array<vector> reserved, out vector first, out vector second)",
|
|
"singleton_bodies_unchanged": true,
|
|
"geometry": "One real polyline,40..60m horizontal arc span; retain segment heights/headings; longitudinal placement extends forward, transverse centers. Both ahead300..900m/cosine0.8, within100m seed, at least40m apart and80m from unrelated reservations. Outputs zero on any failure.",
|
|
"bounds": "One query;128roads/4096accepted segments;1024points perroad; finite scan plus2geometry passes. Later overbudget rejects earlier candidate.",
|
|
"native_checks": "Both road-ground heights differ<=2m; both outside settlements and Clear footprints; no output publication until both pass.",
|
|
"tests": {
|
|
"existing": "existing-green.log PASS with no adapter changes",
|
|
"new": "pair-green.log PASS actual methods with native boundary doubles",
|
|
"mutations": {
|
|
"spacing-removed": {
|
|
"exit": 1,
|
|
"runtime_assertion_failure": true
|
|
},
|
|
"pair-second-clear-checks-first": {
|
|
"exit": 1,
|
|
"runtime_assertion_failure": true
|
|
},
|
|
"pair-budget-removed": {
|
|
"exit": 1,
|
|
"runtime_assertion_failure": true
|
|
},
|
|
"pair-chord-instead-of-arc": {
|
|
"exit": 1,
|
|
"runtime_assertion_failure": true
|
|
}
|
|
},
|
|
"apply_check": true,
|
|
"initial_mutation_note": "Deleting second Clear caused unused heading compilefailure; retained log. Final mutation checks first point twice and fails at runtime."
|
|
},
|
|
"baseline": {
|
|
"working_sha256": "c239aaad0ac556744f76b94286c6f204be51b51acdf44e788ca794c2ae967eae",
|
|
"index_present": false
|
|
},
|
|
"proposed": {
|
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQMountedIntercept.c": "a37edcf66e43945f331db47fe81cb2e0e767a7aaf8115244dcf9e6295932be98",
|
|
"tests/test_hq_mounted_intercept_pair.py": "a8d758b1ff20bb6d1a95a9ff1d38f687e43c819c279f5ea9692e84f766dc4fb9"
|
|
},
|
|
"patch_sha256": "184363078545edc1fc505dfaf90e51631cb476143f96ade3dc0ef269d91d99b6",
|
|
"command": "ERR_MOUNTED_INTERCEPT_SOURCE=/tmp/erri-pair-geometry-0054/addons/core/Scripts/Game/ERR/10_AI/ERR_HQMountedIntercept.c PYTHONPATH=/home/jakub/devel/escapistsrereintroduced/tests python3 /tmp/erri-pair-geometry-0054/tests/test_hq_mounted_intercept_pair.py",
|
|
"limits": [
|
|
"No native compilation/driving/physical checkpoint proof.",
|
|
"Terrain/settlement/clearance doubled; water/collision tests delegation and output atomicity, not native implementation.",
|
|
"Conservative selection, not exhaustive placement search; singleton fallback costs second query."
|
|
],
|
|
"target_writes": false,
|
|
"original_writes": false,
|
|
"native": false
|
|
}
|