navmesh_cell_fit: measure the baseline across all sampled control tiles #2446

Open
github-bot wants to merge 1 commit from github-bot/gh-2446 into main AGit
Owner

@⁠kirigayakazima on GitHub · 2026-11-27 10:17 UTC · original
kirigayakazima:codex/navmesh-control-full-baseline → main · +21 −2 · 2 files · 1 commits · open

Claimed in the coordination issue as: NAVMESH-CONTROL-FULL-BASELINE

What and why

The reported fit count covered every sampled static tile, while its chance baseline only covered the first twenty. Compute the mean over all measurable sampled tiles, weighted by how often each horizontal extent occurs. Cache the expensive per-axis calculations and exclude tiles without a measurable axis from the mean. A regression changes the extent after tile twenty and checks the weighted result, reversed input order and the all-flat case.

Tested

Windows, Python 3.14.7, synthetic fixtures.

  • python -I tests/test_navmesh_cell_fit.py
  • Changed-path game-data scan and git diff --check passed.
  • Shared main baseline: 6,374 translator semantic tests passed across 500 files. The combined five-topic checkout passed 172 focused tests.

GPUs tested: N/A (CPU-only).

AI-assisted: Yes.

Checklist

  • Based on current main and merges cleanly with the tested base.
  • One topic.
  • No game data, keys or decryption.
  • Translator contract table: N/A.
**@⁠kirigayakazima** on GitHub · 2026-11-27 10:17 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/2446) `kirigayakazima:codex/navmesh-control-full-baseline` → `main` · +21 −2 · 2 files · 1 commits · open Claimed in the coordination issue as: [NAVMESH-CONTROL-FULL-BASELINE](https://git.gtahub.st/github/ubiquitarianism--leonida/issues/1608) ### What and why The reported fit count covered every sampled static tile, while its chance baseline only covered the first twenty. Compute the mean over all measurable sampled tiles, weighted by how often each horizontal extent occurs. Cache the expensive per-axis calculations and exclude tiles without a measurable axis from the mean. A regression changes the extent after tile twenty and checks the weighted result, reversed input order and the all-flat case. ### Tested Windows, Python 3.14.7, synthetic fixtures. - `python -I tests/test_navmesh_cell_fit.py` - Changed-path game-data scan and `git diff --check` passed. - Shared main baseline: 6,374 translator semantic tests passed across 500 files. The combined five-topic checkout passed 172 focused tests. GPUs tested: N/A (CPU-only). AI-assisted: Yes. ### Checklist - [x] Based on current main and merges cleanly with the tested base. - [x] One topic. - [x] No game data, keys or decryption. - Translator contract table: N/A.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 10:34:48 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2446/head:github-bot/gh-2446'
git switch 'github-bot/gh-2446'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2446'
git switch 'github-bot/gh-2446'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2446'
git switch 'github-bot/gh-2446'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2446'
git switch 'main'
git merge --squash 'github-bot/gh-2446'
git switch 'main'
git merge --ff-only 'github-bot/gh-2446'
git switch 'main'
git merge 'github-bot/gh-2446'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.