Repository navigation
Conversation
The unverified-override warning (public_assumption_warnings) covers every assumed key, but only battery_width had a test. Parametrize the existing case-matches-public test over corner_allowance too, so a non-public response that reports neither value keeps both warnings.
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
Note Review skipped Codemetrics is installed on this repository, but it hasn't been added to your team yet. To enable AI code reviews for this repo, go to your dashboard and add BaseScanning to your team's repositories. |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
[Low impact] This test-only change appears safe to merge.
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
fleet-packet: burst17-bs-review-verify-recon
What changed
Codex and Greptile left ten unresolved review findings on PRs #240 and #242, six of them P1, on files in
verification/hsverify/andrecon/recon/. This branch works each finding to a written disposition against alpha at 969d4e9 and closes the one test gap the audit found:public_assumption_warningsmarks an unreported rule override as unverified for every assumed key, but onlybattery_widthhad a test; the existing test now parametrizes overcorner_allowancetoo. Every real fix was already on alpha, so no production code changes here.Why
Nobody had acted on the ten findings, and some were expected to be stale or wrong. Reading each thread in full and the current code at alpha showed all eight real bugs were fixed by later commits that carry their own regression tests, and two were reviewer misreadings. The disposition table below records the commit or reasoning behind each, so the threads can be resolved from this PR instead of re-derived. Repo access used an existing repo sandbox (
cmp_l3e2i2Fu) with a fresh clone in its own directory, per the fleet fallback order.How it works
1ed45b65:seen_throughnow appliesvol.blockedwith the same stop-short tolerance asseen_byrecon/tests/test_coverage_views.py::test_free_space_rays_respect_fused_obstructions_but_not_the_sample_surface; bite-checkedba158ea1:free_space,wall_frontand_slabstake the fitted ground and offset each vertical sample byground.height_at(...)recon/tests/test_coverage_local_ground.py(3 tests, slope + uphill eave + wall band); bite-checkedrun_start_countreturned pre-end count plus 1 (the endpoint), sorange(count - 1)already sampled every pre-end start;c557e3aexamples confirm.c32ee975made the count explicit (range(count)) without changing the samples and cites both threadsverification/tests/test_sweep_sampling_contract.py(yields, failure at a required pre-end start, charge-per-start); bite-checked[0, 0.4]step 1 samples[0, 0.4], both endpoints includedverification/tests/test_sweep_sampling_contract.py::test_pre_end_count_plus_endpoint_matches_every_yield; bite-checkeda7b3169f+db1e4c2f:public_dimension_problemscompares every reported spot width andbattery.width_ftthreshold withrules.width_ftwhenever the response's policy does not identify a different policyverification/tests/test_policy_admission.py::test_public_policy_width_is_checked_without_case_assumptions,test_matching_public_policy_keeps_loaded_dimensions; bite-checkeddb1e4c2f:reported_rulesoverrides the loaded rules only when the reported fingerprint/private source names a different policy; matching-public responses are validated against the loaded rulesverification/tests/test_policy_admission.py(test_matching_public_policy_keeps_loaded_dimensions,test_missing_policy_cannot_override_loaded_dimensions,test_private_marker_cannot_override_matching_fingerprint); bite-checkeda7b3169f(carried bydaa36a24): the repair block catchesRuntimeError(damaged ZIP encryption flag) andNotImplementedError(unsupported compression) and deletes the cacherecon/tests/test_review_debt.py::test_corrupt_moge_cache_is_recomputed(encrypted-flag and corrupt-compressed params); bite-checked717e6da8+67b10e56:read_bundlemirrors the API's wrapped layout and refuses competing scene.json pathsverification/tests/test_e2e.py::test_bundle_reads_one_wrapped_capture_and_ignores_macos_metadata,test_bundle_accepts_public_api_finder_fixture_shape,test_bundle_rejects_root_and_wrapped_scene_together; bite-checkedba158ea1: the properties check always runs and passesrule_checks=not warnings; identical-input, mirrored, coverage and requests-captured resends stay on, only rule-consuming transforms are withheldverification/tests/test_unreported_rule_properties.py::test_unreported_width_keeps_identical_input_comparison; bite-checkeda7b3169f+db1e4c2f: the warning fires whenever the response used non-public rules, not only when the assumed value differs from the public defaultverification/tests/test_reported_rules.py::test_unreported_override_is_unverified_even_when_case_matches_public— widened in this PR tocorner_allowance; bite-checked before and after wideningBite-checked means: the cited fix's hunk was reverted in a scratch working tree at alpha, the named test failed, and the tree was restored clean. All eight reverts failed their tests as expected.
UI changes
N/A — test-only change, nothing visible.
Verification
Both suites were run twice: first on pristine alpha (
969d4e93, the baseline), then on this branch's head (c542eccc).make testin each suite runsruff check,ruff format --checkandpytest -q. There is no separate typecheck for these suites; ruff is the repository's static check.Test logs
Risk
Low. The only code change is a parametrized test; production behavior is unchanged. The dispositions rest on cited commits and revert experiments that anyone can rerun: reverting any commit in the table should fail the named test.
Checklist
Opened by the maintainer from the Obvious thread's own description, so every review bot reviews it (CodeRabbit skips PRs authored by bots). The work and its commits are by Obvious.
Co-authored-by: obvious-autobuild[bot] <262744130+obvious-autobuild[bot]@users.noreply.github.com>
Summary by CodeRabbit
battery_widthandcorner_allowanceassumptions, including private sources and fingerprints that differ from public rules.