You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Planar faces: the point and work budgets of #1768 do not cover an edge's refinement before its ring is counted, or a face with regions #1770
#1768 budgets a planar face's points (10,000 in all its rings, checked as each ring is read) and the work of its boundary search and ring split (250 million units for the face in all). Two ways to a planar face are outside it, found by rvtDevelop's read of #1768:
The point check runs after the ring is built.ring_impl refines each edge of a ring up to EDGE_POINT_BUDGET (100,000) points before face_indexed counts the ring, so a ring of E such edges is allocated and refined first; the budget refuses it afterwards, not before.
A face with regions takes none of the budgets.plane_regions_tile earcuts the face's single ring and each region's ring (triangles_of) with no point cap, and its inside_or_on costs |outline| x |parent| per region outside REGION_WORK (which counts triangle pairs only).
Done when
The refinement of an edge stops, with the same refusal (planar face budget exceeded), once the points a face's rings hold in all pass the points budget, not after the ring is built.
A face with regions is refused past the same points budget before plane_regions_tile earcuts anything, and its region tests are charged to the face's work counter.
Rows for #1770, registered before the run (branch fix/1770-planar-budgets, one commit on maine8a99d03).
The change moves where a planar face's budgets are checked, not what they are: the points an edge may add are what is left of the face's 10,000 when the edge is read (the graph's own points before any is copied, the refinement limited to the rest), the parent's ring and the regions' rings of a face with regions share one such budget, and a region's vertex tests (its vertices times the parent's) are charged to the face's 250 million units of work. The corpus's largest planar face holds 2,308 points, so none of it should reach either.
Fast CI green on the head: cargo fmt, clippy with -D warnings, the two new failure-first tests of the pure helpers (ring_points_with, regions_tile_within) and the existing regions_tile tests unchanged.
No export moves. Unfiltered Measure with the held-out pairs against maine8a99d03: ifc.sha256 of all 126 identical.
No refusal is new. No model's saved_mesh_refusals holds planar face budget exceeded that main's does not, on the models that report diagnostics.
Not timed: no path that runs changes beyond one comparison per edge and one product per region.
If 2 or 3 miss, each face over a budget is listed with its points and its work, and the budget that stopped it is judged against the corpus.
Rows read against Measure 43104964413 (PR #1788's head bd39ef77 against maine8a99d03, unfiltered, with the held-out pairs): rows 1 to 3 hold, 4 was not run.
Fast CI green on the head: held (cargo fmt, clippy with -D warnings, the two new failure-first tests of the pure helpers and the existing regions_tile tests).
No export moves: held. ifc.sha256 of all 126 exports is identical to main's, and no census line of psets_vs_ifc or qtos_vs_ifc differs on any model.
No refusal is new: held. No model's diagnostics.json holds planar face budget exceeded on either side. 101 of the 126 models report diagnostics; the 25 held-out, rac_advanced and BIMcollab models keep counts only, so on those the exports being byte-identical is the evidence.
Not timed: no path that runs changes beyond one comparison per edge and one product per region.
Against the issue's done-when: the refinement of an edge stops, with the same refusal, once the points a face's rings hold pass the budget (ring_impl and refined_plane_edge take what is left of the face's 10,000); a face with regions shares that budget between its parent's ring and its regions' before plane_regions_tile earcuts anything, and its region tests are charged to the face's 250 million units of work; the budgets' values are #1768's and no export moves.
Activity
fix(research): a planar face holding more than 10,000 points, or whos…
DrunkOnJava commentedon Nov 11, 2026
Rows for #1770, registered before the run (branch
fix/1770-planar-budgets, one commit onmaine8a99d03).The change moves where a planar face's budgets are checked, not what they are: the points an edge may add are what is left of the face's 10,000 when the edge is read (the graph's own points before any is copied, the refinement limited to the rest), the parent's ring and the regions' rings of a face with regions share one such budget, and a region's vertex tests (its vertices times the parent's) are charged to the face's 250 million units of work. The corpus's largest planar face holds 2,308 points, so none of it should reach either.
cargo fmt, clippy with-D warnings, the two new failure-first tests of the pure helpers (ring_points_with,regions_tile_within) and the existingregions_tiletests unchanged.maine8a99d03:ifc.sha256of all 126 identical.saved_mesh_refusalsholdsplanar face budget exceededthatmain's does not, on the models that report diagnostics.If 2 or 3 miss, each face over a budget is listed with its points and its work, and the budget that stopped it is judged against the corpus.
DrunkOnJava commentedon Nov 11, 2026
Rows read against Measure 43104964413 (PR #1788's head
bd39ef77againstmaine8a99d03, unfiltered, with the held-out pairs): rows 1 to 3 hold, 4 was not run.cargo fmt, clippy with-D warnings, the two new failure-first tests of the pure helpers and the existingregions_tiletests).ifc.sha256of all 126 exports is identical tomain's, and no census line ofpsets_vs_ifcorqtos_vs_ifcdiffers on any model.diagnostics.jsonholdsplanar face budget exceededon either side. 101 of the 126 models report diagnostics; the 25 held-out,rac_advancedand BIMcollab models keep counts only, so on those the exports being byte-identical is the evidence.Against the issue's done-when: the refinement of an edge stops, with the same refusal, once the points a face's rings hold pass the budget (
ring_implandrefined_plane_edgetake what is left of the face's 10,000); a face with regions shares that budget between its parent's ring and its regions' beforeplane_regions_tileearcuts anything, and its region tests are charged to the face's 250 million units of work; the budgets' values are #1768's and no export moves.fix(research): a planar face's points are counted as each edge of its…