From e99c8ea9389210db5938abcd0a6bd8f7c797e21d Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Mon, 28 Sep 2026 19:11:57 +0200 Subject: [PATCH 01/27] red: increment 16b-1/2 (terrain polygons: GeoJSON, GeoPackage and GML features) Five suites (217 tests), support modules, the committed CORINE extract over the benchmark tile (tests/fixtures/corine/clc2018_7908_3.gpkg, 320 kB, EPSG:3035, cut by extract.py from Ola's GeoPackage) and a NOTICE covering it and the legacy GML (origin 8e30af4). test_features.py gains land_cover (7) and water (8); test_refine_golden.py takes the domain chains from chains.start_chains (R2's move). Pins in the increment file. Co-Authored-By: Claude Opus 5.5 --- docs/increments/16b-terrain-polygons.md | 54 ++ tests/fixtures/corine/NOTICE | 55 ++ tests/fixtures/corine/clc2018_7908_3.gpkg | Bin 0 -> 327680 bytes tests/fixtures/corine/extract.py | 164 ++++++ tests/python/feature_fixtures.py | 261 +++++++++ tests/python/gpkg_fixtures.py | 266 +++++++++ tests/python/test_cli_mesh_features.py | 619 ++++++++++++++++++++ tests/python/test_feature_chains_bits.py | 419 ++++++++++++++ tests/python/test_feature_input.py | 675 ++++++++++++++++++++++ tests/python/test_features.py | 14 +- tests/python/test_io_geopackage.py | 513 ++++++++++++++++ tests/python/test_io_gml.py | 338 +++++++++++ tests/python/test_refine_golden.py | 13 +- 13 files changed, 3384 insertions(+), 7 deletions(-) create mode 100644 tests/fixtures/corine/NOTICE create mode 100644 tests/fixtures/corine/clc2018_7908_3.gpkg create mode 100644 tests/fixtures/corine/extract.py create mode 100644 tests/python/feature_fixtures.py create mode 100644 tests/python/gpkg_fixtures.py create mode 100644 tests/python/test_cli_mesh_features.py create mode 100644 tests/python/test_feature_chains_bits.py create mode 100644 tests/python/test_feature_input.py create mode 100644 tests/python/test_io_geopackage.py create mode 100644 tests/python/test_io_gml.py diff --git a/docs/increments/16b-terrain-polygons.md b/docs/increments/16b-terrain-polygons.md index 7324457b..a6219a0f 100644 --- a/docs/increments/16b-terrain-polygons.md +++ b/docs/increments/16b-terrain-polygons.md @@ -854,6 +854,60 @@ If 16b-2 grows past the ceiling in review, the seam is `feature_input.py` plus `io/geopackage.py` (testable from Python with no CLI) first, `chains.py` and `cli.py` second. +#### Pinned by the red suite (16b-1/2) + +`@tester` chose the following in the red step; each suite's docstring states +its part in full. Suites: `tests/python/test_io_geopackage.py`, +`test_io_gml.py`, `test_feature_input.py`, `test_feature_chains_bits.py` +(invariant-critical), `test_cli_mesh_features.py`; support in +`gpkg_fixtures.py` and `feature_fixtures.py`. + +- `io.repository.open_geopackage(path) -> sqlite3.Connection`, read-only; the + only `sqlite3.connect` under `src_python/`. +- `io.geopackage`: `GeoPackageError(ValueError)`; `layer_info(conn, table)` + (`None`: the only features table) `-> GpkgLayer` (frozen: `table`, `column`, + `pk`, `srs_id`, `crs`, `rtree` or `None`); `decode_geometry(blob) -> + (srs_id, geometry)` (`None` or empty for the empty flag); + `query_features(conn, layer, box, attribute)` yielding `fid`, `geometry`, + `value`, ascending by primary key; `box` is `(minx, miny, maxx, maxy)`. + A missing attribute column is refused naming it (SQLite would otherwise read + a double-quoted unknown column as a string literal). +- `io.gml` (Q6): `GmlError(ValueError)`; `read_gml(stream, attribute) -> + GmlDocument(crs, features, complete)`. **The legacy file is not well-formed + XML** (a `` missing at line 1097, the root never + closed; the legacy reader used `lxml` with `recover=True`). The suite pins: + every complete feature is read, `complete` is `False` for an unclosed end, + and a document ending inside a feature or with a syntax error is refused. + **Open for Ola:** accept this tolerance, or repair the fixture (two closing + tags, a 30 MB blob rewritten) and keep the reader strict. +- `feature_input`: `ClassMap`; `CLASS_MAPS` with `property`, `corine`, + `corine-water`, `clc18_kode` (`corine` keyed on the GML's attribute); + `FeatureSource(path, class_map, layer=None, crs=None)`; + `FeatureRequest(sources, vocabulary=DEFAULT_VOCABULARY)`; + `FeatureError(ValueError)`; `open_features(request, domain, dem_crs) -> + FeatureSet(features, outside, empty)`; `TerrainFeature(fid, mask, lines)`. + GeoJSON `fid` is the `id` member, else the position; `.gml` is a third + suffix. +- `chains.start_chains(domain, features, vocabulary) -> StartChains(vertices, + chains)`, chains `(indices, role, mask)` with string roles; a closed line + repeats its first index. `test_refine_golden.py` now takes the domain chains + from here (the move from `cli._domain_chains`, R2). +- CLI: the four flags; fields `features` (`[:], map , + features ( dropped outside), chains, vertices`), + `features_crs`, `features_transform`, `features_notice` (absent without a + notice), `edge_vocabulary` (`; 0 river, ..., 8 water`, on every + `.vtk`); stderr ` input vertices`, ` noded vertices`; `--stats` rows + `features read`, `features clip`. +- I4 is tested after the noder (same noded edges and masks as the test's own + no-pre-clip pipeline), not as identical engine input: GEOS may split a ring + piece at the ring's own start, which changes the chains but not the graph. + +**Open design points found in the red step:** R5's 100 m region buffer is in +the source CRS, which for EPSG:4326 (the legacy GML, Ola's own case) is not +metres; `.vtk` already carries `feature_vocabulary` (fingerprint) and +`feature_bits`/`feature_names`, so R10's "no writer has implemented yet" is +not so and `edge_vocabulary` partly duplicates them. + ## Tests for `@tester` **Invariant-critical (mutation testing required): two suites.** diff --git a/tests/fixtures/corine/NOTICE b/tests/fixtures/corine/NOTICE new file mode 100644 index 00000000..8e6cb300 --- /dev/null +++ b/tests/fixtures/corine/NOTICE @@ -0,0 +1,55 @@ +CORINE Land Cover test data in this directory +============================================= + +Both files below are derived from CORINE Land Cover 2018 (CLC2018), produced by +the Copernicus Land Monitoring Service and distributed by the European +Environment Agency (EEA). + + (c) European Union, Copernicus Land Monitoring Service 2018, + European Environment Agency (EEA). + +Produced with funding by the European Union. Access to the data is free, full +and open under Regulation (EU) No 1159/2013 (the Copernicus data policy; the +governing act is now Regulation (EU) 2021/696). Its conditions, per the EEA's +catalogue record for CLC2018 vector v2020_20u1 +(sdi.eea.europa.eu/catalogue/copernicus/api/records/71c95a07-e296-44fc-b22b-415f42acfdf0): +inform the public of the source; state clearly where the data were adapted or +modified; do not suggest that the European Union endorses this use. Both files +below are modified, as each entry says. Neither the European Union nor the EEA +endorses this project or its use of the data. + + +1. clc2018_7908_3.gpkg (increment 16b, 2026-09-28) +-------------------------------------------------- + +Source: CORINE Land Cover 2018, vector, version v2020_20u1 (the GeoPackage +U2018_CLC2018_V2020_20u1.gpkg, layer U2018_CLC2018_V2020_20u1, EPSG:3035). + +Modified: selected and clipped. The features whose R-tree box meets the +EPSG:3035 image of the committed benchmark tile's node rectangle +(dem_archive/7908_3_10m_z33.tif, EPSG:25833) are kept, each clipped in +EPSG:3035 to that image buffered by 1 km, and re-encoded as a small GeoPackage +with the source's table, columns, spatial reference row and R-tree index. The +coordinates are not reprojected; the tests reproject them. Written by +extract.py in this directory, which is reproducible from the source file. + + +2. 0000_4326_corine2018_4e6064_GML.gml and .xsd (legacy test data) +-------------------------------------------------------------------- + +Origin: added to this repository on 2020-03-12 in commit 8e30af4, "Adding data +for small test", together with dem_archive/7908_3_10m_z33.tif (the benchmark +tile), as the legacy `ingoya_test` pair (legacy/tests/test_gml_repository.py). +It came in with no attribution; this notice supplies it (Ola's ruling on +increment 16b's Q6, 2026-09-28). + +Content: 200 CORINE Land Cover 2018 polygons over northern Norway in EPSG:4326, +in a Norwegian redistribution's schema (attributes clc18_kode and sl_sdeid), +written by OGR as GML 2 (gml:coordinates). + +Modified (before it reached this repository): selected, reprojected to +EPSG:4326 and re-encoded as GML. The file is also not well-formed XML: a + is missing after feature sql_statement.40965 (line 1097) +and the document ends without closing its root element. It is kept exactly as +committed in 2020; the reader in src_python/tin_engine/io/gml.py reads every +complete feature and reports the document as incomplete. diff --git a/tests/fixtures/corine/clc2018_7908_3.gpkg b/tests/fixtures/corine/clc2018_7908_3.gpkg new file mode 100644 index 0000000000000000000000000000000000000000..a5e46041fc997da3dd8a7142c4562f93c2c1c285 GIT binary patch literal 327680 zcmeFa34D&%+V7u;A%Z++T1w1QkRawDh;W;N#7qPcF~krvRiWltVyrnaRMk*b+L~vI zQnYF+MGaL$&13)HU)B><`|W=Bd(Qcv_v~|SpS^oO-+Qfft?T-&Ypv&=o;%H&G>GaK z;nk&A-=5+9yvn*{ba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GIr<$NZWMEbu`BIwjKO{xJ5waDzD}4>LS*G)z96$HTH`1dP44X2R%cHP-OO*|6-<@5(r)twG`F zx*SHI!z$Vt=Mw;9=imEbyZKA-U^esz1JfhCQA!x>J)*z?(v`zzXAZkYBEYZ!eK zZ^OhR`n!?muHQ*u_i^<{PYwNzO6tlj6HIsm>%-X7PHSf13;LY|^W#-182^5+2@{vw zRbb=}E)U~JoSuUUl3?uFDS3*6{suI5`;~^# z|2PsRUct7oKA$3B)o(SJx@mvWj2}|hw4d1pYhF}^iC?v4rvD|$LvFP4#rVv{VdC{s z?bz8fJFL3w4`avfe~A})3-4?A^;ej9jZXiYmsLKP_JUn$M_-minB#;Ru>8$TO6i59| z6@M-{!>YRk7`<&=Va|8advE++w|FZIr;FNXtOY3|fbzz$F*v2qTqwN>5pe<{ujBVlLn|j_U z4QI>u$h{r>&r6?P`QY*Mte&@ryZLRrpz;4L&!JXrr!EaH->THezGc@wwQAR^Q>TGL zP8pCrj|Kn#^}k;c_!WU)5%?8>UlI5ffnO2$6@mYU5tzN(ZdSn8KG`h%@8-*IVQJU8 zvqgscIk-pE9V#o$EYfaSb=%q`7ytfi%`f-G30qvv^LRnl0PFh!t!d^ydRGmY=bgO! zV2+y_!`z2ko`$(^9ytc4U!>M(bNIY0gm%($qlF!$q)?!lOUAO=QXqSnlF|32^&%zghot*PgJ{pL5A z??ujO4LKVK90ED!_UUjDk5{s08y|TmdV8<6+{QZ8MCV zb$&2*=J^{YKDo4q4Ej37n)V;sbB2CbpTpQWArQt6tG6(AdTI|G*`I|+9(@lH409Zm z4_4lG!PwQfGA#S{!`QQ#&1=+NPkRXAXWz~+b#Ui2thjZ9(POJUic}~4%=j~xVD#Ax zg~?Z@SeUpESPNtK{y3OATNrFO_Y;`>$L@jAdock5@R(#hItZw>0U)0n> literal 0 HcmV?d00001 diff --git a/tests/fixtures/corine/extract.py b/tests/fixtures/corine/extract.py new file mode 100644 index 00000000..66da48d1 --- /dev/null +++ b/tests/fixtures/corine/extract.py @@ -0,0 +1,164 @@ +"""Cut increment 16b's CORINE extract out of Ola's CORINE 2018 GeoPackage. + + python tests/fixtures/corine/extract.py \ + ../rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg + +Test support, not production code (`docs/increments/16b-terrain-polygons.md`, +"Test data"), as `tests/fixtures/dtm10/extract.py` is. Writes +`clc2018_7908_3.gpkg` next to this file: the features of the Europe layer +`U2018_CLC2018_V2020_20u1` whose R-tree box meets the committed benchmark +tile's (`tests/fixtures/dem_archive/7908_3_10m_z33.tif`) image in EPSG:3035, +each clipped in EPSG:3035 to that image buffered by 1 km, so the partition is +exact over the tile and every artificial edge the clip makes lies at least 1 km +outside it. + +The output keeps the source's layout: the table name, its columns (`OBJECTID` +the primary key, `Shape`, `Code_18`, `Remark`, `Area_Ha`, `ID`), the SRS row +for 3035, an R-tree `rtree_U2018_CLC2018_V2020_20u1_Shape` listed in +`gpkg_extensions`, `application_id` GPKG and `user_version` 10200, and blobs in +the source's header layout: flags `0x01` (little-endian, no envelope, not +empty), then little-endian WKB. A clipped geometry is written as a +`MULTIPOLYGON`, like every source row. Rows are written in `OBJECTID` order. + +Written GDAL-free with `sqlite3`, `shapely` and `pyproj`. See `NOTICE` for the +attribution the data needs. +""" + +from __future__ import annotations + +import sqlite3 +import struct +import sys +from contextlib import closing +from pathlib import Path + +import numpy as np +import shapely +from pyproj import Transformer +from shapely.geometry import MultiPolygon, Polygon, box + +HERE = Path(__file__).resolve().parent +OUT = HERE / "clc2018_7908_3.gpkg" +TABLE = "U2018_CLC2018_V2020_20u1" +RTREE = f"rtree_{TABLE}_Shape" +SRS = 3035 +# The benchmark tile's node rectangle (7908_3_10m_z33.tif: x_min 799 750, +# y_max 7 950 250, 5051 x 5051 nodes at 10 m), EPSG:25833. +TILE = (799_750.0, 7_899_750.0, 850_250.0, 7_950_250.0) +BUFFER = 1_000.0 + + +def tile_image() -> Polygon: + """The tile's rectangle in EPSG:3035, its edges densified to 100 m first, + buffered by 1 km.""" + ring = np.asarray(shapely.segmentize(box(*TILE), 100.0).exterior.coords) + to_3035 = Transformer.from_crs(25833, SRS, always_xy=True) + x, y = to_3035.transform(ring[:, 0], ring[:, 1]) + return Polygon(np.column_stack([x, y])).buffer(BUFFER) + + +def decode(blob: bytes) -> shapely.Geometry: + """The source's own header layout (M1): 8 bytes, no envelope.""" + assert blob[:2] == b"GP" and blob[3] == 0x01, blob[:8] + return shapely.from_wkb(blob[8:]) + + +def encode(geometry: MultiPolygon) -> bytes: + return ( + b"GP" + bytes([0, 0x01]) + struct.pack(" MultiPolygon | None: + parts = [g for g in shapely.get_parts(geometry) if isinstance(g, Polygon) and not g.is_empty] + return MultiPolygon(parts) if parts else None + + +def create(con: sqlite3.Connection, srs_row: tuple[object, ...]) -> None: + con.executescript( + f""" + PRAGMA application_id = 1196444487; + PRAGMA user_version = 10200; + CREATE TABLE gpkg_spatial_ref_sys (srs_name TEXT NOT NULL, srs_id INTEGER PRIMARY KEY, + organization TEXT NOT NULL, organization_coordsys_id INTEGER NOT NULL, + definition TEXT NOT NULL, description TEXT); + CREATE TABLE gpkg_contents (table_name TEXT NOT NULL PRIMARY KEY, data_type TEXT NOT NULL, + identifier TEXT UNIQUE, description TEXT DEFAULT '', + last_change DATETIME NOT NULL DEFAULT '2026-09-28T00:00:00.000Z', + min_x DOUBLE, min_y DOUBLE, max_x DOUBLE, max_y DOUBLE, srs_id INTEGER); + CREATE TABLE gpkg_geometry_columns (table_name TEXT NOT NULL, column_name TEXT NOT NULL, + geometry_type_name TEXT NOT NULL, srs_id INTEGER NOT NULL, z TINYINT NOT NULL, + m TINYINT NOT NULL, CONSTRAINT pk_geom_cols PRIMARY KEY (table_name, column_name)); + CREATE TABLE gpkg_extensions (table_name TEXT, column_name TEXT, + extension_name TEXT NOT NULL, definition TEXT NOT NULL, scope TEXT NOT NULL, + CONSTRAINT ge_tce UNIQUE (table_name, column_name, extension_name)); + CREATE TABLE {TABLE} (OBJECTID INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + Shape MULTIPOLYGON, Code_18 TEXT(3), Remark TEXT(20), Area_Ha DOUBLE, ID TEXT(18)); + CREATE VIRTUAL TABLE {RTREE} USING rtree(id, minx, maxx, miny, maxy); + """ + ) + con.executemany( + "INSERT INTO gpkg_spatial_ref_sys VALUES (?,?,?,?,?,?)", + [ + ("Undefined Cartesian", -1, "NONE", -1, "undefined", None), + ("Undefined Geographic", 0, "NONE", 0, "undefined", None), + srs_row, + ], + ) + con.execute( + "INSERT INTO gpkg_contents (table_name, data_type, identifier, srs_id) " + "VALUES (?, 'features', ?, ?)", + (TABLE, TABLE, SRS), + ) + con.execute( + "INSERT INTO gpkg_geometry_columns VALUES (?, 'Shape', 'MULTIPOLYGON', ?, 0, 0)", + (TABLE, SRS), + ) + con.execute( + "INSERT INTO gpkg_extensions VALUES (?, 'Shape', 'gpkg_rtree_index', " + "'F.3 RTree Spatial Index', 'write-only')", + (TABLE,), + ) + + +def main(source: Path) -> None: + image = tile_image() + minx, miny, maxx, maxy = image.bounds + with closing(sqlite3.connect(source.resolve().as_uri() + "?mode=ro", uri=True)) as src: + srs_row = src.execute( + "SELECT * FROM gpkg_spatial_ref_sys WHERE srs_id = ?", (SRS,) + ).fetchone() + rows = src.execute( + f"SELECT t.OBJECTID, t.Shape, t.Code_18, t.Remark, t.Area_Ha, t.ID FROM {TABLE} t " + f"JOIN {RTREE} r ON r.id = t.OBJECTID " + "WHERE r.maxx >= ? AND r.minx <= ? AND r.maxy >= ? AND r.miny <= ? " + "ORDER BY t.OBJECTID", + (minx, maxx, miny, maxy), + ).fetchall() + kept = [] + for objectid, blob, code, remark, area, ident in rows: + clipped = as_multipolygon(shapely.intersection(decode(blob), image)) + if clipped is not None: + kept.append((objectid, clipped, code, remark, area, ident)) + OUT.unlink(missing_ok=True) + with closing(sqlite3.connect(OUT)) as con: + create(con, srs_row) + for objectid, geometry, code, remark, area, ident in kept: + con.execute( + f"INSERT INTO {TABLE} VALUES (?,?,?,?,?,?)", + (objectid, encode(geometry), code, remark, area, ident), + ) + gx0, gy0, gx1, gy1 = geometry.bounds + con.execute(f"INSERT INTO {RTREE} VALUES (?,?,?,?,?)", (objectid, gx0, gx1, gy0, gy1)) + con.commit() + con.execute("VACUUM") + vertices = sum(len(shapely.get_coordinates(g)) for _, g, *_ in kept) + classes = sorted({code for _, _, code, *_ in kept}) + print( + f"{OUT.name}: {len(kept)} of {len(rows)} candidates, {vertices} vertices, " + f"classes {' '.join(classes)}, {OUT.stat().st_size} bytes" + ) + + +if __name__ == "__main__": + main(Path(sys.argv[1])) diff --git a/tests/python/feature_fixtures.py b/tests/python/feature_fixtures.py new file mode 100644 index 00000000..822484a0 --- /dev/null +++ b/tests/python/feature_fixtures.py @@ -0,0 +1,261 @@ +"""Test support for increment 16b: feature documents, domains, and the bit oracle. + +`docs/increments/16b-terrain-polygons.md`. The oracle here is built from the +input features and the class map, never from the producer's records (05b, +"Guarantee 15's oracle"): a noded constraint edge's expected mask is the union +of the masks of every feature whose boundary, as given in the source and +moved by pyproj directly, lies along that edge, within the noder's snap. + +`tin_engine.feature_input` and `tin_engine.chains` are imported lazily, so a +suite importing this module still collects before they exist. +""" + +from __future__ import annotations + +import importlib +import json +import sqlite3 +from collections.abc import Callable, Iterable, Mapping, Sequence +from contextlib import closing +from dataclasses import dataclass +from pathlib import Path +from types import ModuleType +from typing import Any + +import numpy as np +import shapely +from pyproj import Transformer +from shapely.geometry import LineString, Polygon, mapping +from shapely.geometry.base import BaseGeometry +from shapely.geometry.polygon import orient + +from tin_engine.domain import DomainPolygon +from tin_engine.features import DEFAULT_VOCABULARY + +UTM33 = "EPSG:25833" +SNAP = 1e-3 # cli.DEFAULT_SNAP_SPACING: the noder's grid, in the DEM's CRS +#: I2's bound: a crossing point lies within this of the domain's boundary. +CROSSING = 1e-6 +#: Where the synthetic partitions sit: UTM-shaped, off every round number. +X0, Y0 = 500_000.3, 6_600_000.7 + +Ring = Sequence[tuple[float, float]] + + +def feature_input() -> ModuleType: + return importlib.import_module("tin_engine.feature_input") + + +def chains_module() -> ModuleType: + return importlib.import_module("tin_engine.chains") + + +def at(x: float, y: float) -> tuple[float, float]: + return (X0 + x, Y0 + y) + + +def square(x0: float, y0: float, x1: float, y1: float) -> Polygon: + return Polygon([at(x0, y0), at(x1, y0), at(x1, y1), at(x0, y1)]) + + +def domain_of(polygon: Polygon, crs: str = UTM33) -> DomainPolygon: + return DomainPolygon(polygon=orient(polygon, sign=1.0), crs=crs) + + +@dataclass(frozen=True) +class Feat: + """One GeoJSON feature: its id, geometry and properties.""" + + fid: Any + geometry: BaseGeometry | dict[str, Any] | None + properties: Mapping[str, Any] + + +def write_geojson(path: Path, features: Iterable[Feat], crs: str | None = UTM33) -> Path: + """A `FeatureCollection`; `crs` is its `crs` member (None: none, RFC 7946).""" + out: list[dict[str, Any]] = [] + for f in features: + geometry = f.geometry + if isinstance(geometry, BaseGeometry): + geometry = mapping(geometry) + doc: dict[str, Any] = { + "type": "Feature", + "geometry": geometry, + "properties": dict(f.properties), + } + if f.fid is not None: + doc["id"] = f.fid + out.append(doc) + collection: dict[str, Any] = {"type": "FeatureCollection", "features": out} + if crs is not None: + collection["crs"] = {"type": "name", "properties": {"name": crs}} + path.write_text(json.dumps(collection)) + return path + + +def source(path: Path, map_name: str = "property", **kwargs: Any) -> Any: + fi = feature_input() + return fi.FeatureSource(path=path, class_map=fi.CLASS_MAPS[map_name], **kwargs) + + +def open_one( + path: Path, domain: DomainPolygon, map_name: str = "property", dem_crs: str = UTM33, **kw: Any +) -> Any: + """`open_features` on one source.""" + fi = feature_input() + request = fi.FeatureRequest(sources=(source(path, map_name, **kw),)) + return fi.open_features(request, domain, dem_crs) + + +# ----------------------------------------------------------------- the engine + + +@dataclass(frozen=True) +class Noded: + """The noded constraint graph: each undirected edge as its two node + coordinates, sorted, and its mask; and which edges came from `Outer`/`Hole`.""" + + masks: dict[tuple[tuple[float, float], tuple[float, float]], int] + boundary: set[tuple[tuple[float, float], tuple[float, float]]] + status: str + + +def start(domain: DomainPolygon, features: Sequence[Any]) -> Any: + return chains_module().start_chains(domain, features, DEFAULT_VOCABULARY) + + +def run_engine(started: Any) -> Noded: + """`StartChains` through `cli._engine` (`build_pslg` -> `node` -> + `triangulate`) at the CLI's snap; the graph as coordinates.""" + import tin_engine.cli as cli + + chains = [ + ([int(i) for i in indices], cli.ROLES[role], int(mask)) + for indices, role, mask in started.chains + ] + run = cli._engine(np.asarray(started.vertices, dtype=np.float64), chains, True, SNAP) + assert run.noded is not None and run.mesh is not None, f"{run.status}: {run.message}" + xy = np.asarray(run.noded.vertices) + + def key(a: int, b: int) -> tuple[tuple[float, float], tuple[float, float]]: + p, q = (float(xy[a, 0]), float(xy[a, 1])), (float(xy[b, 0]), float(xy[b, 1])) + return (p, q) if p <= q else (q, p) + + masks = {key(a, b): m for (a, b), m in cli._chain_masks(run.noded).items()} + boundary: set[tuple[tuple[float, float], tuple[float, float]]] = set() + for c, chain in enumerate(run.noded.chains): + if chain.role in cli.CORE_CLOSED_ROLES: + walk = [int(i) for i in run.noded.indices_of(c)] + boundary |= {key(walk[k], walk[(k + 1) % len(walk)]) for k in range(len(walk))} + return Noded(masks=masks, boundary=boundary, status=run.status) + + +# ----------------------------------------------------------------- the oracle + + +def boundary_lines(geometry: BaseGeometry) -> list[LineString]: + """Every ring of every polygon, and every line, as a line: the linework a + feature contributes before any clip.""" + lines: list[LineString] = [] + for part in shapely.get_parts(geometry): + if isinstance(part, Polygon): + lines += [LineString(r.coords) for r in (part.exterior, *part.interiors)] + elif isinstance(part, LineString): + lines.append(part) + return lines + + +def moved(geometry: BaseGeometry, src: str, dst: str = UTM33) -> BaseGeometry: + """`geometry` from `src` to `dst` vertex by vertex, by pyproj directly.""" + if src == dst: + return geometry + t = Transformer.from_crs(src, dst, always_xy=True) + + def apply(xy: np.ndarray) -> np.ndarray: + x, y = t.transform(xy[:, 0], xy[:, 1]) + return np.column_stack([x, y]) + + return shapely.transform(geometry, apply) + + +@dataclass(frozen=True) +class Truth: + """A feature as the oracle sees it: its linework in the DEM's CRS, and the + mask its class map gives it.""" + + lines: BaseGeometry + mask: int + + +def truths(features: Iterable[tuple[BaseGeometry, int]], src: str = UTM33) -> list[Truth]: + return [ + Truth(shapely.MultiLineString(boundary_lines(moved(g, src))), mask) + for g, mask in features + if mask is not None + ] + + +def expected_masks(noded: Noded, truth: Sequence[Truth], near: float = SNAP) -> dict[Any, int]: + """I1's oracle: for each noded edge, the union of the masks of every + feature whose linework lies along it (both ends and the midpoint within + `near`, the snap). Built from the features, never from the noder.""" + tree = shapely.STRtree([t.lines for t in truth]) + out: dict[Any, int] = {} + for edge in noded.masks: + (ax, ay), (bx, by) = edge + probe = [ + shapely.Point(ax, ay), + shapely.Point(bx, by), + shapely.Point((ax + bx) / 2, (ay + by) / 2), + ] + mask = 0 + for i in tree.query(LineString(edge).buffer(near)): + lines = truth[int(i)].lines + if all(lines.distance(p) <= near for p in probe): + mask |= truth[int(i)].mask + out[edge] = mask + return out + + +def mismatches(noded: Noded, expected: Mapping[Any, int]) -> list[tuple[Any, int, int]]: + return [(e, m, expected[e]) for e, m in noded.masks.items() if m != expected[e]] + + +# ---------------------------------------------------------- the committed extract + + +def extract_features(path: Path, table: str) -> list[tuple[int, BaseGeometry, str]]: + """The committed extract's rows, `(OBJECTID, geometry, Code_18)`, read + with sqlite3 and shapely only: its blobs have the 8-byte header of flags + `0x01` (no envelope), which `extract.py` writes.""" + with closing(sqlite3.connect(path.resolve().as_uri() + "?mode=ro", uri=True)) as con: + rows = con.execute( + f"SELECT OBJECTID, Shape, Code_18 FROM {table} ORDER BY OBJECTID" + ).fetchall() + for _, data, _ in rows: + assert data[:2] == b"GP" and data[3] == 0x01 + return [(pk, shapely.from_wkb(data[8:]), code) for pk, data, code in rows] + + +def corine_mask(code: str) -> int: + """R4's `corine` map, written here from the design's text.""" + water = code in {"511", "512", "521", "522", "523"} + return DEFAULT_VOCABULARY.mask("land_cover", *(("water",) if water else ())) + + +def all_vertices(lines: Iterable[LineString]) -> np.ndarray: + return ( + np.concatenate([np.asarray(line.coords) for line in lines]) if lines else np.zeros((0, 2)) + ) + + +def within(polygon: Polygon, xy: np.ndarray) -> np.ndarray: + """Distance of each point to `polygon` (0 inside or on it).""" + return np.asarray(shapely.distance(polygon, shapely.points(xy))) + + +def on_boundary(polygon: Polygon, xy: np.ndarray) -> np.ndarray: + return np.asarray(shapely.distance(polygon.boundary, shapely.points(xy))) + + +Check = Callable[[Any], None] diff --git a/tests/python/gpkg_fixtures.py b/tests/python/gpkg_fixtures.py new file mode 100644 index 00000000..b5cac283 --- /dev/null +++ b/tests/python/gpkg_fixtures.py @@ -0,0 +1,266 @@ +"""Test support for increment 16b: minimal GeoPackages and geometry blobs. + +`docs/increments/16b-terrain-polygons.md`, "Tests for @tester": "a test helper +writes a minimal GeoPackage (the four `gpkg_*` tables, one feature table, its +R-tree) with `sqlite3` to `tmp_path`, so the reader opens a real file". Nothing +here imports `tin_engine`; the blobs are built from OGC 12-128r18 section +2.1.3 as the design states it (R3), never from the reader under test. + +Also the committed CORINE extract and Ola's local data, by path. +""" + +from __future__ import annotations + +import sqlite3 +import struct +from collections.abc import Iterable, Sequence +from contextlib import closing +from dataclasses import dataclass, field +from pathlib import Path + +import pytest +import shapely +from pyproj import CRS + +FIXTURES = Path(__file__).resolve().parents[1] / "fixtures" +CORINE_DIR = FIXTURES / "corine" +#: The committed extract: CORINE 2018 over the benchmark tile, EPSG:3035, +#: written by `tests/fixtures/corine/extract.py` from Ola's GeoPackage. +EXTRACT = CORINE_DIR / "clc2018_7908_3.gpkg" +EXTRACT_TABLE = "U2018_CLC2018_V2020_20u1" +#: The legacy GML, kept by Ola's Q6 (b): 200 CORINE polygons, EPSG:4326, GML2. +LEGACY_GML = CORINE_DIR / "0000_4326_corine2018_4e6064_GML.gml" + +#: Ola's local data (never in CI). Tests using them skip when absent. +RASPUTIN_DATA = Path(__file__).resolve().parents[3] / "rasputin_data" +DTM10 = RASPUTIN_DATA / "DTM10_UTM33_20260925" +OLA_EUROPE = ( + RASPUTIN_DATA + / "corine_sql" + / "u2018_clc2018_v2020_20u1_geoPackage" + / "DATA" + / "U2018_CLC2018_V2020_20u1.gpkg" +) +OLA_NORWAY = RASPUTIN_DATA / "corine2018_dtm10_utm33.gpkg" + +GPKG_APPLICATION_ID = 0x47504B47 # "GPKG" + +# Envelope code -> number of doubles in the header (R3). +ENVELOPE_DOUBLES = {0: 0, 1: 4, 2: 6, 3: 6, 4: 8} + + +def _rtree_available() -> bool: + with closing(sqlite3.connect(":memory:")) as con: + try: + con.execute("CREATE VIRTUAL TABLE t USING rtree(id, minx, maxx, miny, maxy)") + except sqlite3.OperationalError: + return False + return True + + +#: R3: SQLite's R-tree module is compiled into the venv's Python; CI's Linux +#: Python is unverified. The suite detects it and says so rather than failing +#: on a missing module that is not the reader's fault. +HAS_RTREE = _rtree_available() +needs_rtree = pytest.mark.skipif(not HAS_RTREE, reason="this SQLite has no R-tree module") + + +def blob( + geometry: shapely.Geometry | None, + srs_id: int, + *, + envelope: int = 0, + big_endian: bool = False, + empty: bool = False, + extended: bool = False, + magic: bytes = b"GP", + version: int = 0, + wkb_big_endian: bool = False, +) -> bytes: + """A GeoPackage geometry blob: `GP`, version, flags, srs_id, envelope, WKB. + + Flags: bit 0 the header's byte order (1 little-endian), bits 1-3 the + envelope code, bit 4 empty, bit 5 extended type. An envelope code outside + 0-4 writes no envelope bytes: the reader must refuse the code itself. + """ + flags = (0 if big_endian else 1) | (envelope << 1) | (int(empty) << 4) | (int(extended) << 5) + order = ">" if big_endian else "<" + head = magic + bytes([version, flags]) + struct.pack(f"{order}i", srs_id) + doubles = ENVELOPE_DOUBLES.get(envelope, 0) + if doubles and geometry is not None and not geometry.is_empty: + minx, miny, maxx, maxy = geometry.bounds + values = [minx, maxx, miny, maxy, 0.0, 0.0, 0.0, 0.0][:doubles] + else: + values = [0.0] * doubles + head += struct.pack(f"{order}{doubles}d", *values) + if geometry is None: + geometry = shapely.from_wkt("POLYGON EMPTY") + return head + shapely.to_wkb(geometry, byte_order=0 if wkb_big_endian else 1) + + +@dataclass +class Row: + """One feature row: its primary key, geometry (or a raw blob) and columns.""" + + pk: int + geometry: shapely.Geometry | None + values: dict[str, object] = field(default_factory=dict) + raw: bytes | None = None + + +@dataclass +class Layer: + """One feature table and how it is described.""" + + table: str + srs_id: int + rows: Sequence[Row] + columns: Sequence[str] = ("Code_18",) + column: str = "Shape" + pk: str = "OBJECTID" + rtree: bool = True + data_type: str = "features" + #: The R-tree's rows are inserted in this order of primary keys (default: + #: reverse), so a query driven from the R-tree does not meet the table's + #: rowid order by accident. + rtree_order: Sequence[int] | None = None + #: Table rows are inserted in this order of primary keys (default: as given). + insert_order: Sequence[int] | None = None + + +@dataclass +class Srs: + srs_id: int + organization: str = "EPSG" + code: int | None = None + definition: str | None = None + + +def write_gpkg( + path: Path, + layers: Iterable[Layer], + *, + srs: Iterable[Srs] = (), + application_id: int = GPKG_APPLICATION_ID, + user_version: int = 10200, +) -> Path: + """Write a minimal GeoPackage to ``path`` and return it. + + Every layer's ``srs_id`` gets an ``EPSG`` row unless ``srs`` describes it. + """ + layers = list(layers) + described = {s.srs_id: s for s in srs} + for layer in layers: + described.setdefault(layer.srs_id, Srs(layer.srs_id)) + path.unlink(missing_ok=True) + with closing(sqlite3.connect(path)) as con: + con.executescript( + f""" + PRAGMA application_id = {application_id}; + PRAGMA user_version = {user_version}; + CREATE TABLE gpkg_spatial_ref_sys (srs_name TEXT NOT NULL, + srs_id INTEGER PRIMARY KEY, organization TEXT NOT NULL, + organization_coordsys_id INTEGER NOT NULL, definition TEXT NOT NULL, + description TEXT); + CREATE TABLE gpkg_contents (table_name TEXT NOT NULL PRIMARY KEY, + data_type TEXT NOT NULL, identifier TEXT UNIQUE, description TEXT DEFAULT '', + last_change DATETIME NOT NULL DEFAULT '2026-09-28T00:00:00.000Z', + min_x DOUBLE, min_y DOUBLE, max_x DOUBLE, max_y DOUBLE, srs_id INTEGER); + CREATE TABLE gpkg_geometry_columns (table_name TEXT NOT NULL, + column_name TEXT NOT NULL, geometry_type_name TEXT NOT NULL, + srs_id INTEGER NOT NULL, z TINYINT NOT NULL, m TINYINT NOT NULL, + CONSTRAINT pk_geom_cols PRIMARY KEY (table_name, column_name)); + CREATE TABLE gpkg_extensions (table_name TEXT, column_name TEXT, + extension_name TEXT NOT NULL, definition TEXT NOT NULL, scope TEXT NOT NULL, + CONSTRAINT ge_tce UNIQUE (table_name, column_name, extension_name)); + """ + ) + for s in described.values(): + code = s.srs_id if s.code is None else s.code + definition = s.definition + if definition is None: + definition = ( + CRS.from_epsg(code).to_wkt() if s.organization.upper() == "EPSG" else "" + ) + con.execute( + "INSERT INTO gpkg_spatial_ref_sys VALUES (?,?,?,?,?,?)", + (f"srs {s.srs_id}", s.srs_id, s.organization, code, definition, None), + ) + for layer in layers: + _write_layer(con, layer) + con.commit() + return path + + +def _write_layer(con: sqlite3.Connection, layer: Layer) -> None: + columns = "".join(f", {c}" for c in layer.columns) + con.execute( + f"CREATE TABLE {layer.table} ({layer.pk} INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, " + f"{layer.column} GEOMETRY{columns})" + ) + con.execute( + "INSERT INTO gpkg_contents (table_name, data_type, identifier, srs_id) VALUES (?,?,?,?)", + (layer.table, layer.data_type, layer.table, layer.srs_id), + ) + if layer.data_type == "features": + con.execute( + "INSERT INTO gpkg_geometry_columns VALUES (?, ?, 'GEOMETRY', ?, 0, 0)", + (layer.table, layer.column, layer.srs_id), + ) + by_pk = {row.pk: row for row in layer.rows} + order = list(layer.insert_order) if layer.insert_order is not None else list(by_pk) + marks = ",".join("?" * (len(layer.columns) + 2)) + for pk in order: + row = by_pk[pk] + data = row.raw if row.raw is not None else blob(row.geometry, layer.srs_id) + values = [row.values.get(c) for c in layer.columns] + con.execute(f"INSERT INTO {layer.table} VALUES ({marks})", (pk, data, *values)) + if not layer.rtree or not HAS_RTREE: + return + name = f"rtree_{layer.table}_{layer.column}" + con.execute(f"CREATE VIRTUAL TABLE {name} USING rtree(id, minx, maxx, miny, maxy)") + con.execute( + "INSERT INTO gpkg_extensions VALUES (?, ?, 'gpkg_rtree_index', " + "'http://www.geopackage.org/spec120/#extension_rtree', 'write-only')", + (layer.table, layer.column), + ) + rtree_order = ( + list(layer.rtree_order) if layer.rtree_order is not None else sorted(by_pk, reverse=True) + ) + for pk in rtree_order: + geometry = by_pk[pk].geometry + if geometry is None or geometry.is_empty: + continue + minx, miny, maxx, maxy = geometry.bounds + con.execute(f"INSERT INTO {name} VALUES (?,?,?,?,?)", (pk, minx, maxx, miny, maxy)) + + +def copy_reversed(source: Path, target: Path, table: str = EXTRACT_TABLE) -> Path: + """``source`` (a GeoPackage in the committed extract's layout: flags + ``0x01``, no envelope) rewritten with its feature rows and its R-tree rows + inserted in reverse primary-key order: I3's shuffled GeoPackage.""" + columns = ("Code_18", "Remark", "Area_Ha", "ID") + with closing(sqlite3.connect(source.resolve().as_uri() + "?mode=ro", uri=True)) as src: + (srs_id,) = src.execute( + "SELECT srs_id FROM gpkg_geometry_columns WHERE table_name = ?", (table,) + ).fetchone() + (definition,) = src.execute( + "SELECT definition FROM gpkg_spatial_ref_sys WHERE srs_id = ?", (srs_id,) + ).fetchone() + fetched = src.execute( + f"SELECT OBJECTID, Shape, {', '.join(columns)} FROM {table} ORDER BY OBJECTID" + ).fetchall() + rows = [ + Row(pk, shapely.from_wkb(data[8:]), dict(zip(columns, rest, strict=True)), raw=data) + for pk, data, *rest in fetched + ] + pks = [row.pk for row in rows] + layer = Layer( + table, + srs_id, + rows, + columns=columns, + insert_order=pks[::-1], + rtree_order=pks[::-1], + ) + return write_gpkg(target, [layer], srs=[Srs(srs_id, definition=definition)]) diff --git a/tests/python/test_cli_mesh_features.py b/tests/python/test_cli_mesh_features.py new file mode 100644 index 00000000..3a5af7f1 --- /dev/null +++ b/tests/python/test_cli_mesh_features.py @@ -0,0 +1,619 @@ +"""`rasputin mesh --dem ... --domain ... --features PATH`: increment 16b-2. + +`docs/increments/16b-terrain-polygons.md` R1 (the flags), R10 (what the file +records), "Tests for @tester" (CLI; increment 8's three rows end to end; I3 on +the extract; I7 on the extract) and "Acceptance" (the quarter circle on the +committed tile with the committed extract), with Ola's Q6 (b) (the legacy GML). + +Pinned by this suite (see "Pinned by the red suite (16b-1/2)"): + +- Flags `--features PATH`, `--features-crs TEXT`, `--features-layer NAME`, + `--features-map NAME` (default `property`). Each of the last three without + `--features` is a usage error naming itself; `--features` without + `--domain` is a usage error naming `--features`; so is any `FeatureError`, + and no file is written. +- `.vtk` field `features`: `[:], map , features + ( dropped outside), chains, vertices`, where `n` is + `len(FeatureSet.features)`, `k` is `FeatureSet.outside`, `c` the number of + feature chains and `v` the number of feature vertices `start_chains` hands + the engine (its vertices less the domain's). The layer is written for a + GeoPackage only. The same text as a `.ply` comment `features `. +- `features_crs` (`crs_label` of the source's CRS) and `features_transform` + (`none` for the DEM's own CRS, else `transform_description(source, dem)`), + as 15b's `domain_crs` and `domain_transform`. +- `features_notice`: the map's notice; absent when the map has none. +- `edge_vocabulary`: `; 0 river, 1 road, ..., 8 water`, on + every `.vtk` this command writes. +- The elevation sentence says `start domain boundary and features, vertex z + bilinear` with features. +- stderr says ` input vertices` and ` noded vertices`; `--stats` has + phase rows `features read` and `features clip`. + +HOW THIS FILE GOES RED: the flags do not exist, so every run exits 2 with +"No such option", which every usage test excludes; the runs fail on their +exit code. `test_the_extract_is_small_and_attributed` checks committed data +and passes before 16b. +""" + +from __future__ import annotations + +import re +from pathlib import Path +from typing import Any + +import numpy as np +import pytest +import shapely +from shapely.geometry import LineString, Polygon + +import feature_fixtures as ff +from feature_fixtures import Feat, domain_of, write_geojson +from geotiff_fixtures import KARTVERKET, TIE_X, TIE_Y, micro_tiff, needs_codecs +from gpkg_fixtures import ( + DTM10, + EXTRACT, + LEGACY_GML, + OLA_EUROPE, + OLA_NORWAY, + copy_reversed, + needs_rtree, +) +from plyread import read_ply +from test_cli_mesh_dem import USAGE, invoke, write_tiff +from test_cli_mesh_domain import COLS, ROWS, SQUARE, geojson, quarter_circle +from test_cli_mesh_refine import NUMBER, field, sentence +from tin_engine.crs import transform_description +from tin_engine.features import DEFAULT_VOCABULARY +from tin_engine.io.geotiff import decode_dem +from vtkread import VtkFile, lines_as_array, polygons_as_array, read_vtk + +V = DEFAULT_VOCABULARY +SNAP = 1e-3 +FEATURES_FIELD = re.compile( + r"(?P[^,:]+)(?::(?P[^,]+))?, map (?P[a-z0-9-_]+), (?P\d+) features " + r"\((?P\d+) dropped outside\), (?P\d+) chains, (?P\d+) vertices" +) + + +def rel(x: float, y: float) -> tuple[float, float]: + return (TIE_X + x, TIE_Y + y) + + +# In micro_tiff's grid (x 500 000 .. 500 200, y 6 599 920 .. 6 600 000), inside +# `SQUARE` (no hole): increment 8's three gallery rows, as features. +FOREST = Polygon([rel(30.3, -60.1), rel(60.7, -60.3), rel(60.9, -20.2), rel(30.1, -20.4)]) +ROAD_INTO_FOREST = LineString([rel(20.2, -40.3), rel(45.1, -40.3)]) +LAKE = Polygon([rel(120.3, -60.2), rel(170.1, -60.4), rel(170.3, -20.1), rel(120.1, -20.3)]) +BRIDGE = LineString([rel(100.2, -40.7), rel(180.4, -40.7)]) +WALL = LineString([rel(150.3, -15.1), rel(250.2, -15.1)]) +GALLERY = [ + Feat("forest", FOREST, {"property": "land_cover"}), + Feat("road", ROAD_INTO_FOREST, {"property": "road"}), + Feat("lake", LAKE, {"property": "water"}), + Feat("bridge", BRIDGE, {"property": "road"}), + Feat("wall", WALL, {"property": "wall"}), +] + + +@pytest.fixture +def bumpy(tmp_path: Path) -> Path: + array = np.random.default_rng(16).uniform(0.0, 50.0, (ROWS, COLS)).astype(np.float32) + return write_tiff(tmp_path / "bumpy.tif", micro_tiff(array)) + + +@pytest.fixture +def plain_square(tmp_path: Path) -> Path: + return geojson(tmp_path / "square.geojson", SQUARE) + + +@pytest.fixture +def gallery(tmp_path: Path) -> Path: + return write_geojson(tmp_path / "gallery.geojson", GALLERY) + + +def mesh( + tmp_path: Path, tif: Path, domain: Path, *extra: str, out: str = "x.vtk", tolerance: str = "1" +) -> tuple[int, str, Path]: + target = tmp_path / out + code, output = invoke( + "--dem", + str(tif), + "--domain", + str(domain), + "--tolerance", + tolerance, + "--out", + str(target), + *extra, + ) + return code, output, target + + +def meshed( + tmp_path: Path, tif: Path, domain: Path, *extra: str, tolerance: str = "1" +) -> tuple[VtkFile, str]: + code, output, target = mesh(tmp_path, tif, domain, *extra, tolerance=tolerance) + assert code == 0, output + return read_vtk(target.read_bytes()), output + + +def text_field(vtk: VtkFile, name: str) -> str: + (value,) = vtk.field_data[name].values + return str(value) + + +def edges(vtk: VtkFile) -> tuple[np.ndarray, np.ndarray]: + """The constraint edges as `(E, 2, 2)` xy, and their masks.""" + lines = lines_as_array(vtk) + masks = np.asarray(vtk.cell_array("feature_mask").values)[: len(lines)] + return vtk.points[lines][:, :, :2], masks.astype(int) + + +def edges_at(vtk: VtkFile, point: tuple[float, float], near: float = SNAP) -> list[int]: + xy, masks = edges(vtk) + d = np.hypot(xy[..., 0] - point[0], xy[..., 1] - point[1]).min(axis=1) + return sorted(int(m) for m in masks[d <= near]) + + +def vocabulary_listing() -> str: + return ", ".join(f"{p.bit} {p.name}" for p in sorted(V.properties, key=lambda p: p.bit)) + + +# ------------------------------------------------------------------ usage + + +class TestUsage: + def test_features_without_a_domain_is_refused( + self, tmp_path: Path, bumpy: Path, gallery: Path + ) -> None: + code, output = invoke( + "--dem", str(bumpy), "--features", str(gallery), "--out", str(tmp_path / "x.vtk") + ) + assert code == USAGE and "--features" in output, output + assert "No such option" not in output + assert not (tmp_path / "x.vtk").exists() + + @pytest.mark.parametrize( + ("flag", "value"), + [("--features-crs", "EPSG:25833"), ("--features-layer", "x"), ("--features-map", "corine")], + ) + def test_a_features_option_without_features_is_refused( + self, tmp_path: Path, bumpy: Path, plain_square: Path, flag: str, value: str + ) -> None: + code, output, target = mesh(tmp_path, bumpy, plain_square, flag, value) + assert code == USAGE and flag in output and "No such option" not in output, output + assert not target.exists() + + def test_a_gallery_fixture_with_features_is_refused( + self, tmp_path: Path, gallery: Path + ) -> None: + code, output = invoke( + "river", "--flat", "--features", str(gallery), "--out", str(tmp_path / "x.vtk") + ) + assert code == USAGE and "--features" in output and "No such option" not in output, output + + def test_an_unknown_suffix_is_refused_naming_it( + self, tmp_path: Path, bumpy: Path, plain_square: Path + ) -> None: + shp = tmp_path / "roads.shp" + shp.write_bytes(b"") + code, output, target = mesh(tmp_path, bumpy, plain_square, "--features", str(shp)) + assert code == USAGE and ".shp" in output and "No such option" not in output, output + assert not target.exists() + + def test_a_layer_for_geojson_is_refused( + self, tmp_path: Path, bumpy: Path, plain_square: Path, gallery: Path + ) -> None: + code, output, _ = mesh( + tmp_path, bumpy, plain_square, "--features", str(gallery), "--features-layer", "x" + ) + assert code == USAGE and "--features-layer" in output and "No such option" not in output, ( + output + ) + + def test_an_unknown_map_is_refused_naming_it( + self, tmp_path: Path, bumpy: Path, plain_square: Path, gallery: Path + ) -> None: + code, output, _ = mesh( + tmp_path, bumpy, plain_square, "--features", str(gallery), "--features-map", "nosuch" + ) + assert code == USAGE and "nosuch" in output and "No such option" not in output, output + + def test_a_feature_refusal_is_a_usage_error_naming_the_feature( + self, tmp_path: Path, bumpy: Path, plain_square: Path + ) -> None: + path = write_geojson( + tmp_path / "bad.geojson", [Feat("f-99", FOREST, {"property": "glacier"})] + ) + code, output, target = mesh(tmp_path, bumpy, plain_square, "--features", str(path)) + assert code == USAGE and "f-99" in output and "--features" in output, output + assert not target.exists() + + def test_a_disagreeing_features_crs_is_refused( + self, tmp_path: Path, bumpy: Path, plain_square: Path, gallery: Path + ) -> None: + code, output, target = mesh( + tmp_path, bumpy, plain_square, "--features", str(gallery), "--features-crs", "EPSG:3035" + ) + assert code == USAGE and "No such option" not in output, output + assert not target.exists() + + +# ------------------------------------------------------------ the record + + +class TestRecord: + def test_the_fields( + self, tmp_path: Path, bumpy: Path, plain_square: Path, gallery: Path + ) -> None: + vtk, _ = meshed(tmp_path, bumpy, plain_square, "--features", str(gallery)) + match = FEATURES_FIELD.fullmatch(text_field(vtk, "features")) + assert match, text_field(vtk, "features") + assert match["name"] == "gallery.geojson" and match["layer"] is None + assert match["map"] == "property" + domain = domain_of(Polygon(SQUARE)) + fs = ff.open_one(gallery, domain) + started = ff.start(domain, fs.features) + chains = [c for c in started.chains if c[1] == "breakline"] + assert (int(match["n"]), int(match["k"])) == (len(fs.features), fs.outside) == (5, 0) + assert int(match["c"]) == len(chains) + assert int(match["v"]) == len(started.vertices) - len(SQUARE) + assert text_field(vtk, "features_crs") == "EPSG:25833" + assert text_field(vtk, "features_transform").lower() == "none" + assert "features_notice" not in vtk.field_data + + def test_the_elevation_sentence( + self, tmp_path: Path, bumpy: Path, plain_square: Path, gallery: Path + ) -> None: + vtk, _ = meshed(tmp_path, bumpy, plain_square, "--features", str(gallery)) + text = sentence(vtk) + assert "start domain boundary and features, vertex z bilinear" in text + assert field(text, rf"achieved max error {NUMBER} m") <= 1.0 + + def test_the_edge_vocabulary( + self, tmp_path: Path, bumpy: Path, plain_square: Path, gallery: Path + ) -> None: + vtk, _ = meshed(tmp_path, bumpy, plain_square, "--features", str(gallery)) + value = text_field(vtk, "edge_vocabulary") + assert V.fingerprint() in value + assert vocabulary_listing() in value + assert "7 land_cover, 8 water" in value + + @pytest.mark.parametrize("kind", ["domain", "stride", "fixture"]) + def test_the_edge_vocabulary_without_features( + self, tmp_path: Path, bumpy: Path, plain_square: Path, kind: str + ) -> None: + target = tmp_path / "x.vtk" + args = { + "domain": ["--dem", str(bumpy), "--domain", str(plain_square), "--tolerance", "1"], + "stride": ["--dem", str(bumpy)], + "fixture": ["river", "--flat"], + }[kind] + code, output = invoke(*args, "--out", str(target)) + assert code == 0, output + vtk = read_vtk(target.read_bytes()) + assert V.fingerprint() in text_field(vtk, "edge_vocabulary") + assert "features" not in vtk.field_data + + def test_a_reprojected_source(self, tmp_path: Path, bumpy: Path, plain_square: Path) -> None: + lonlat = [ + Feat(f.fid, ff.moved(f.geometry, "EPSG:25833", "EPSG:4326"), f.properties) # type: ignore[arg-type] + for f in GALLERY + ] + path = write_geojson(tmp_path / "wgs.geojson", lonlat, crs=None) + vtk, _ = meshed(tmp_path, bumpy, plain_square, "--features", str(path)) + assert text_field(vtk, "features_crs") == "EPSG:4326" + assert text_field(vtk, "features_transform") == transform_description( + "EPSG:4326", "EPSG:25833" + ) + + def test_the_corine_notice(self, tmp_path: Path, bumpy: Path, plain_square: Path) -> None: + path = write_geojson(tmp_path / "c.geojson", [Feat(1, FOREST, {"Code_18": "311"})]) + vtk, _ = meshed( + tmp_path, bumpy, plain_square, "--features", str(path), "--features-map", "corine" + ) + assert "Copernicus Land Monitoring Service" in text_field(vtk, "features_notice") + assert FEATURES_FIELD.fullmatch(text_field(vtk, "features"))["map"] == "corine" # type: ignore[index] + + def test_the_ply_comment( + self, tmp_path: Path, bumpy: Path, plain_square: Path, gallery: Path + ) -> None: + code, output, target = mesh( + tmp_path, bumpy, plain_square, "--features", str(gallery), out="x.ply" + ) + assert code == 0, output + header, _ = read_ply(target.read_bytes()) + texts = [c.removeprefix("features ") for c in header.comments if c.startswith("features ")] + assert len(texts) == 1 and FEATURES_FIELD.fullmatch(texts[0]), header.comments + + def test_stderr_and_stats( + self, tmp_path: Path, bumpy: Path, plain_square: Path, gallery: Path + ) -> None: + _, output = meshed( + tmp_path, bumpy, plain_square, "--features", str(gallery), "--stats", "-" + ) + assert re.search(r"\b\d+ input vertices\b", output), output + assert re.search(r"\b\d+ noded vertices\b", output), output + assert re.search(r"^\|\s*features read\s*\|", output, re.MULTILINE), output + assert re.search(r"^\|\s*features clip\s*\|", output, re.MULTILINE), output + + +# ------------------------------------------------- increment 8's rows, end to end + + +class TestGalleryRows: + """R6: `road-enters-forest`, `wall-leaves-domain` and `bridge-over-lake` + as GeoJSON over a synthetic DEM, through the whole command.""" + + @pytest.fixture + def vtk(self, tmp_path: Path, bumpy: Path, plain_square: Path, gallery: Path) -> VtkFile: + return meshed(tmp_path, bumpy, plain_square, "--features", str(gallery))[0] + + def test_the_road_ends_inside_the_forest(self, vtk: VtkFile) -> None: + west = LineString(FOREST.exterior.coords[3:5]) + cross = shapely.intersection(west, ROAD_INTO_FOREST) + assert edges_at(vtk, (cross.x, cross.y)) == sorted( + [V.mask("land_cover"), V.mask("land_cover"), V.mask("road"), V.mask("road")] + ) + assert edges_at(vtk, ROAD_INTO_FOREST.coords[-1]) == [V.mask("road")] + + def test_the_bridge_is_split_at_both_shores(self, vtk: VtkFile) -> None: + shore = LineString(LAKE.exterior.coords) + for point in shapely.get_parts(shapely.intersection(shore, BRIDGE)): + assert edges_at(vtk, (point.x, point.y)) == sorted( + [V.mask("water"), V.mask("water"), V.mask("road"), V.mask("road")] + ) + + def test_the_wall_stops_at_the_domain_boundary(self, vtk: VtkFile) -> None: + xy, masks = edges(vtk) + wall = xy[masks & V.mask("wall") != 0] + assert len(wall) + domain = Polygon(SQUARE) + points = wall.reshape(-1, 2) + assert np.asarray(shapely.distance(domain, shapely.points(points))).max() <= SNAP + assert np.asarray(shapely.distance(domain, shapely.points(vtk.points[:, :2]))).max() <= SNAP + end = shapely.intersection(Polygon(SQUARE).exterior, WALL) + assert edges_at(vtk, (end.x, end.y)) == sorted([0, 0, V.mask("wall")]) + + def test_the_boundary_carries_no_feature_bit(self, vtk: VtkFile) -> None: + xy, masks = edges(vtk) + boundary = Polygon(SQUARE).exterior + mids = (xy[:, 0] + xy[:, 1]) / 2 + on = np.asarray(shapely.distance(boundary, shapely.points(mids))) <= SNAP + assert on.any() and set(masks[on].tolist()) == {0} + + def test_both_oracles_hold(self, tmp_path: Path, bumpy: Path, vtk: VtkFile) -> None: + """Section D's two oracles on the refined output with features: the + constrained-Delaunay property and the tolerance, from the output.""" + with bumpy.open("rb") as stream: + tile = decode_dem(stream) + constrained = {tuple(sorted(map(int, e))) for e in lines_as_array(vtk)} + triangles = polygons_as_array(vtk) + assert _delaunay_violations(vtk.points[:, :2], triangles, constrained) == [] + assert _max_error(tile, vtk.points, triangles, Polygon(SQUARE)) <= 1.0 + 1e-9 + + +def _incircle(a: Any, b: Any, c: Any, d: Any) -> int: + """The sign of the incircle determinant, exactly (Fractions of doubles).""" + from fractions import Fraction + + rows = [] + for p in (a, b, c): + dx, dy = ( + Fraction(float(p[0])) - Fraction(float(d[0])), + Fraction(float(p[1])) - Fraction(float(d[1])), + ) + rows.append((dx, dy, dx * dx + dy * dy)) + (a1, a2, a3), (b1, b2, b3), (c1, c2, c3) = rows + det = a1 * (b2 * c3 - b3 * c2) - a2 * (b1 * c3 - b3 * c1) + a3 * (b1 * c2 - b2 * c1) + return (det > 0) - (det < 0) + + +def _orient(a: Any, b: Any, c: Any) -> int: + from fractions import Fraction + + det = (Fraction(float(b[0])) - Fraction(float(a[0]))) * ( + Fraction(float(c[1])) - Fraction(float(a[1])) + ) - (Fraction(float(b[1])) - Fraction(float(a[1]))) * ( + Fraction(float(c[0])) - Fraction(float(a[0])) + ) + return (det > 0) - (det < 0) + + +def _delaunay_violations( + xy: np.ndarray, triangles: np.ndarray, constrained: set[tuple[int, ...]] +) -> list[Any]: + """Every interior non-constraint edge whose opposite apex lies strictly + inside the other triangle's circumcircle, decided exactly in the file's + frame (world coordinates as written).""" + opposite: dict[tuple[int, int], list[tuple[int, int]]] = {} + for t, tri in enumerate(triangles): + for e in range(3): + a, b, c = int(tri[e]), int(tri[(e + 1) % 3]), int(tri[(e + 2) % 3]) + opposite.setdefault((min(a, b), max(a, b)), []).append((t, c)) + bad = [] + for edge, sides in opposite.items(): + if len(sides) != 2 or edge in constrained: + continue + (t, _), (_, apex) = sides + a, b, c = (xy[int(i)] for i in triangles[t]) + if _orient(a, b, c) < 0: + a, b = b, a + if _incircle(a, b, c, xy[apex]) > 0: + bad.append((edge, apex)) + return bad + + +def _max_error(tile: Any, points: np.ndarray, triangles: np.ndarray, domain: Polygon) -> float: + """The largest |plane - DEM| over valid DEM nodes inside the domain, each + in the triangle containing it, recomputed from the output.""" + m = tile.meta + rows, cols = np.indices((m.rows, m.cols)) + x = m.x_min + cols.ravel() * m.delta_x + y = m.y_max - rows.ravel() * m.delta_y + z = tile.array.astype(np.float64).ravel() + inside = np.asarray(shapely.contains_xy(domain, x, y)) + polys = [Polygon(points[t, :2]) for t in triangles] + tree = shapely.STRtree(polys) + worst = 0.0 + for px, py, pz in zip(x[inside], y[inside], z[inside], strict=True): + hits = [ + int(i) + for i in tree.query(shapely.Point(px, py)) + if polys[int(i)].covers(shapely.Point(px, py)) + ] + assert hits, (px, py) + p0, p1, p2 = points[triangles[hits[0]]] + det = (p1[0] - p0[0]) * (p2[1] - p0[1]) - (p2[0] - p0[0]) * (p1[1] - p0[1]) + l1 = ((px - p0[0]) * (p2[1] - p0[1]) - (p2[0] - p0[0]) * (py - p0[1])) / det + l2 = ((p1[0] - p0[0]) * (py - p0[1]) - (px - p0[0]) * (p1[1] - p0[1])) / det + plane = p0[2] + l1 * (p1[2] - p0[2]) + l2 * (p2[2] - p0[2]) + worst = max(worst, abs(plane - pz)) + return worst + + +# --------------------------------------------------------- the committed data + + +class TestCommittedExtract: + """Acceptance 16b-1/2 in CI: the quarter circle on the committed tile with + the committed extract, `--features-map corine`, at 10 m (M5's reference: + about 54 840 triangles). I7: the tolerance holds, every node covered.""" + + @pytest.fixture(scope="class") + def run(self, tmp_path_factory: pytest.TempPathFactory) -> tuple[VtkFile, str, Path]: + tmp = tmp_path_factory.mktemp("extract") + domain = geojson(tmp / "quarter.geojson", quarter_circle()) + code, output, target = mesh( + tmp, + KARTVERKET, + domain, + "--features", + str(EXTRACT), + "--features-map", + "corine", + tolerance="10", + ) + assert code == 0, output + return read_vtk(target.read_bytes()), output, target + + @needs_codecs + def test_i7_the_tolerance_holds(self, run: Any) -> None: + vtk, _, _ = run + text = sentence(vtk) + assert field(text, rf"achieved max error {NUMBER} m") <= 10.0 + assert re.search(r"\b0 valid DEM nodes not covered\b", text), text + + @needs_codecs + def test_the_fields(self, run: Any) -> None: + vtk, _, _ = run + match = FEATURES_FIELD.fullmatch(text_field(vtk, "features")) + assert match, text_field(vtk, "features") + assert match["name"] == EXTRACT.name and match["layer"] == "U2018_CLC2018_V2020_20u1" + assert match["map"] == "corine" and int(match["n"]) > 0 + assert text_field(vtk, "features_crs") == "EPSG:3035" + assert text_field(vtk, "features_transform") == transform_description( + "EPSG:3035", "EPSG:25833" + ) + assert "Copernicus Land Monitoring Service" in text_field(vtk, "features_notice") + + @needs_codecs + def test_land_cover_everywhere_and_water_on_the_coast(self, run: Any) -> None: + vtk, _, _ = run + _, masks = edges(vtk) + found = set(masks.tolist()) + assert {V.mask("land_cover"), V.mask("land_cover", "water")} <= found + assert found <= {0, V.mask("land_cover"), V.mask("land_cover", "water")} + + @needs_codecs + @needs_rtree + def test_i3_rows_in_reverse_order_give_the_same_file(self, run: Any, tmp_path: Path) -> None: + """The extract rewritten with its rows and R-tree inserted in reverse + key order, under the same file name, gives a bit-identical `.vtk`.""" + _, _, first = run + (tmp_path / "r").mkdir() + reversed_path = copy_reversed(EXTRACT, tmp_path / "r" / EXTRACT.name) + domain = geojson(tmp_path / "quarter.geojson", quarter_circle()) + code, output, target = mesh( + tmp_path, + KARTVERKET, + domain, + "--features", + str(reversed_path), + "--features-map", + "corine", + out="again.vtk", + tolerance="10", + ) + assert code == 0, output + assert target.read_bytes() == first.read_bytes() + + @needs_codecs + def test_the_legacy_gml(self, tmp_path: Path) -> None: + """Q6 (b): the legacy GML (EPSG:4326) with `clc18_kode`, same domain.""" + domain = geojson(tmp_path / "quarter.geojson", quarter_circle()) + vtk, _ = meshed( + tmp_path, + KARTVERKET, + domain, + "--features", + str(LEGACY_GML), + "--features-map", + "clc18_kode", + tolerance="10", + ) + assert text_field(vtk, "features_crs") == "EPSG:4326" + match = FEATURES_FIELD.fullmatch(text_field(vtk, "features")) + assert match and match["name"] == LEGACY_GML.name and match["layer"] is None + assert field(sentence(vtk), rf"achieved max error {NUMBER} m") <= 10.0 + assert V.mask("land_cover", "water") in set(edges(vtk)[1].tolist()) + + +# ------------------------------------------------------------ Ola's local data + + +needs_ola = pytest.mark.skipif( + not (DTM10.is_dir() and (OLA_NORWAY.exists() or OLA_EUROPE.exists())), + reason="Ola's rasputin_data (DTM10_UTM33_20260925 and a CORINE GeoPackage) is not here", +) + + +@needs_ola +@needs_codecs +@pytest.mark.parametrize( + ("gpkg", "layer"), + [(OLA_NORWAY, "corine2018"), (OLA_EUROPE, "U2018_CLC2018_V2020_20u1")], + ids=["norway-25833", "europe-3035"], +) +def test_olas_geopackages_over_the_dtm10_archive(tmp_path: Path, gpkg: Path, layer: str) -> None: + """Local only: the quarter circle over the archive's tiles with Ola's + GeoPackages (the Norwegian one has two feature layers, so the layer is + required; its column is `code_18`, which SQLite matches case-blind).""" + if not gpkg.exists(): + pytest.skip(f"{gpkg.name} is not here") + domain = geojson(tmp_path / "quarter.geojson", quarter_circle()) + vtk, _ = meshed( + tmp_path, + DTM10, + domain, + "--features", + str(gpkg), + "--features-layer", + layer, + "--features-map", + "corine", + tolerance="10", + ) + match = FEATURES_FIELD.fullmatch(text_field(vtk, "features")) + assert match and match["layer"] == layer and int(match["n"]) > 0 + assert field(sentence(vtk), rf"achieved max error {NUMBER} m") <= 10.0 + assert V.mask("land_cover", "water") in set(edges(vtk)[1].tolist()) + + +def test_the_extract_is_small_and_attributed() -> None: + """ "Test data": a few hundred kB, with a NOTICE naming the source.""" + assert EXTRACT.stat().st_size < 1_000_000 + notice = (EXTRACT.parent / "NOTICE").read_text(encoding="utf-8") + assert "Copernicus Land Monitoring Service" in notice + assert "European Environment Agency" in notice + assert "8e30af4" in notice and LEGACY_GML.name in notice diff --git a/tests/python/test_feature_chains_bits.py b/tests/python/test_feature_chains_bits.py new file mode 100644 index 00000000..4d92e16b --- /dev/null +++ b/tests/python/test_feature_chains_bits.py @@ -0,0 +1,419 @@ +"""Feature chains and their bits: increment 16b's invariant-critical Python suite. + +`docs/increments/16b-terrain-polygons.md`, "Tests for @tester": I1 (bits from +the input), I2 (the clip keeps input vertices exact) and I5 (ring shape), with +the oracle built from the input features and the class map, on synthetic +partitions and on the committed CORINE extract, through the real `_engine` +(`build_pslg` -> `node` -> `triangulate`). The oracle is +`feature_fixtures.expected_masks`: for every noded constraint edge, the union +of the map masks of every feature whose **source** boundary, moved by pyproj +directly, lies along it within the snap. It never reads the clip's output, the +chains, or the noder's provenance. + +**Mutation testing is required here** (README, "Cost constraints"). Mutants +killed against a scratch implementation that is not committed, each named at +the test that kills it (`MUTANT n`): + +1. area clipping instead of line clipping (the domain boundary gets bits); +2. a doubled shared edge keeping only one side's bit (a Python-side merge + that keeps the first chain's mask, "no union"); +3. a wrong class-map entry (`corine`'s `52x` treated as land only; `511` + missing); +4. read order not by primary key (the `ORDER BY` dropped); +5. a clipped ring closed by repeating its first index; +6. holes' rings dropped. + +Pinned by this suite (with `test_feature_input.py`; see "Pinned by the red +suite (16b-1/2)"): + +- `chains.start_chains(domain, features, vocabulary) -> StartChains`, with + `features` an iterable of `feature_input.TerrainFeature`. `StartChains` has + `vertices` (`(N, 2)` float64, the DEM's CRS) and `chains`, a sequence of + `(indices, role, mask)` with `role` one of the strings `"outer"`, `"hole"`, + `"breakline"`: the domain's exterior first, then its holes (mask 0), then + every feature's lines in feature order. +- A closed feature line (an unclipped ring) is a breakline whose last index + repeats its first; an open one's does not. +- `TerrainFeature` has `fid`, `mask` and `lines` (shapely `LineString`s in the + DEM's CRS, clipped). + +HOW THIS FILE GOES RED: `tin_engine.feature_input` and `tin_engine.chains` are +imported lazily (`feature_fixtures`), so each test fails on its own. +""" + +from __future__ import annotations + +from pathlib import Path +from typing import Any + +import numpy as np +import pytest +import shapely +from shapely.geometry import LineString, Polygon + +from feature_fixtures import ( + CROSSING, + UTM33, + Feat, + Noded, + all_vertices, + at, + corine_mask, + domain_of, + expected_masks, + extract_features, + mismatches, + moved, + on_boundary, + open_one, + run_engine, + square, + start, + truths, + within, + write_geojson, +) +from gpkg_fixtures import EXTRACT, EXTRACT_TABLE, copy_reversed, needs_rtree +from test_cli_mesh_domain import quarter_circle +from tin_engine.domain import DomainPolygon +from tin_engine.features import DEFAULT_VOCABULARY + +V = DEFAULT_VOCABULARY +LAAEA = "EPSG:3035" + +# ----------------------------------------------------------- the partitions + +#: 2 x 2 squares of 100 m, one property each, so every shared edge is two +#: different bits and a union is visible. +GRID = { + "sw": (square(0, 0, 100, 100), "road"), + "se": (square(100, 0, 200, 100), "river"), + "ne": (square(100, 100, 200, 200), "wall"), + "nw": (square(0, 100, 100, 200), "ditch"), +} + + +def grid_features() -> list[Feat]: + return [Feat(name, poly, {"property": prop}) for name, (poly, prop) in GRID.items()] + + +def grid_truth() -> list[Any]: + return truths((poly, V.mask(prop)) for poly, prop in GRID.values()) + + +#: Contains the grid: every ring enters whole. +AROUND = domain_of(square(-50, -50, 250, 250)) +#: Cuts the grid: its west side lies on the grid's west edge from y 0 to 200 +#: (a feature edge along the boundary), its east side at x 150 slices the two +#: eastern squares, and a hole round the grid's centre cuts all four. +CUTTING = domain_of( + Polygon( + [at(0, -50), at(150, -50), at(150, 250), at(0, 250)], + [[at(80, 80), at(80, 120), at(120, 120), at(120, 80)]], + ) +) + +#: A square with a hole, and a second polygon filling the hole. +ISLAND_OUTER = Polygon( + square(0, 0, 200, 200).exterior.coords, [square(60, 60, 140, 140).exterior.coords] +) +ISLAND_INNER = square(60, 60, 140, 140) + +#: A lake, and a river ending on its shore at a T (mid-edge, not at a vertex). +LAKE = square(50, 50, 150, 150) +RIVER = LineString([at(0, 100.25), at(30, 97.5), at(50, 100.25)]) + + +def mesh_of(tmp_path: Path, features: list[Feat], domain: DomainPolygon) -> tuple[Any, Any, Noded]: + fs = open_one(write_geojson(tmp_path / "f.geojson", features), domain) + started = start(domain, fs.features) + return fs, started, run_engine(started) + + +def chain_roles(started: Any) -> list[str]: + return [role for _, role, _ in started.chains] + + +def feature_chains(started: Any) -> list[tuple[list[int], str, int]]: + return [(list(map(int, i)), r, int(m)) for i, r, m in started.chains if r == "breakline"] + + +# ------------------------------------------------------------------- I1 + + +class TestI1BitsFromTheInput: + """Every noded constraint edge's mask is exactly the union of the masks of + the features whose linework lies along it; 0 where none does.""" + + @pytest.mark.parametrize("domain", [AROUND, CUTTING], ids=["around", "cutting"]) + def test_the_grid(self, tmp_path: Path, domain: DomainPolygon) -> None: + """MUTANT 1 (the cutting domain's x = 150 side and hole get bits under + an area clip), MUTANT 2 (a shared edge keeps one side's bit).""" + _, _, noded = mesh_of(tmp_path, grid_features(), domain) + expected = expected_masks(noded, grid_truth()) + assert mismatches(noded, expected) == [] + + def test_a_shared_edge_carries_both_sides(self, tmp_path: Path) -> None: + """MUTANT 2, stated directly: the edge between `sw` (road) and `se` + (river), x = 100 from y = 0 to 100, carries road | river.""" + _, _, noded = mesh_of(tmp_path, grid_features(), AROUND) + shared = [ + m + for ((ax, ay), (bx, by)), m in noded.masks.items() + if ax == bx and abs(ax - at(100, 0)[0]) < 1e-3 and min(ay, by) < at(0, 100)[1] - 1 + ] + assert shared, "no edge on the shared side was found" + assert set(shared) == {V.mask("road", "river")} + + def test_no_boundary_edge_carries_a_bit_where_no_feature_edge_lies( + self, tmp_path: Path + ) -> None: + """MUTANT 1, stated directly (the design's "direct assertion"): the + cutting domain's east side (x = 150) and its hole cross features but + lie along none, so every `Outer` and `Hole` edge there has mask 0.""" + _, _, noded = mesh_of(tmp_path, grid_features(), CUTTING) + east, hole = at(150, 0)[0], shapely.box(*at(80, 80), *at(120, 120)).boundary + crossing_only = [ + (e, noded.masks[e]) + for e in noded.boundary + if (abs(e[0][0] - east) < 1e-3 and abs(e[1][0] - east) < 1e-3) + or LineString(e).distance(hole) < 1e-3 + ] + assert crossing_only, "found no boundary edge to check" + assert [(e, m) for e, m in crossing_only if m != 0] == [] + + def test_a_feature_edge_along_the_boundary_gives_it_its_bits(self, tmp_path: Path) -> None: + """R6: a piece lying along the domain boundary is kept, and the noder's + union gives that boundary edge the feature's bits.""" + _, _, noded = mesh_of(tmp_path, grid_features(), CUTTING) + west = at(0, 0)[0] + along = { + e: noded.masks[e] + for e in noded.boundary + if abs(e[0][0] - west) < 1e-3 and abs(e[1][0] - west) < 1e-3 + } + y = lambda e: (e[0][1] + e[1][1]) / 2 # noqa: E731 + assert {m for e, m in along.items() if at(0, 0)[1] < y(e) < at(0, 100)[1]} == { + V.mask("road") + } + assert {m for e, m in along.items() if at(0, 100)[1] < y(e) < at(0, 200)[1]} == { + V.mask("ditch") + } + assert {m for e, m in along.items() if y(e) < at(0, 0)[1] or y(e) > at(0, 200)[1]} == {0} + + def test_a_hole_ring_shared_with_the_polygon_filling_it(self, tmp_path: Path) -> None: + """MUTANT 6: the outer polygon's hole ring carries its bit too, so the + hole's edges are land_cover | water, not water alone.""" + features = [ + Feat("outer", ISLAND_OUTER, {"property": "land_cover"}), + Feat("inner", ISLAND_INNER, {"property": "water"}), + ] + _, started, noded = mesh_of(tmp_path, features, AROUND) + truth = truths([(ISLAND_OUTER, V.mask("land_cover")), (ISLAND_INNER, V.mask("water"))]) + assert mismatches(noded, expected_masks(noded, truth)) == [] + assert V.mask("land_cover", "water") in set(noded.masks.values()) + assert len(feature_chains(started)) == 3 # exterior, hole, the inner polygon + + def test_a_river_ending_on_the_lake_shore(self, tmp_path: Path) -> None: + """A T-junction the noder resolves: the shore splits at the river's end + and keeps `water` on both halves; the river's edges are `river` only.""" + features = [ + Feat("lake", LAKE, {"property": "water"}), + Feat("river", RIVER, {"property": "river"}), + ] + _, _, noded = mesh_of(tmp_path, features, AROUND) + truth = truths([(LAKE, V.mask("water")), (RIVER, V.mask("river"))]) + assert mismatches(noded, expected_masks(noded, truth)) == [] + end = shapely.Point(RIVER.coords[-1]) + at_end = [ + m + for e, m in noded.masks.items() + if min(shapely.Point(p).distance(end) for p in e) < 1e-3 + ] + assert sorted(at_end) == sorted([V.mask("water"), V.mask("water"), V.mask("river")]) + + +# ------------------------------------------------------------------- I2 + + +class TestI2InputVerticesExact: + def test_every_vertex_is_a_source_vertex_or_a_crossing(self, tmp_path: Path) -> None: + """I2 on the cutting domain: bit for bit a source vertex, or within + 1e-6 m of the domain's boundary; never outside its closure.""" + fs, _, _ = mesh_of(tmp_path, grid_features(), CUTTING) + xy = all_vertices([line for f in fs.features for line in f.lines]) + source = {p for poly, _ in GRID.values() for p in poly.exterior.coords} + polygon = CUTTING.polygon + for x, y in xy: + if (x, y) not in source: + assert on_boundary(polygon, np.array([[x, y]]))[0] <= CROSSING, (x, y) + assert within(polygon, xy).max() <= CROSSING + + def test_reprojected_vertices_are_pyprojs_bit_for_bit(self, tmp_path: Path) -> None: + """The grid given in EPSG:4326: every vertex that is not a crossing is + pyproj's `always_xy` image of a source vertex, exactly.""" + utm = {name: (poly, prop) for name, (poly, prop) in GRID.items()} + lonlat = [ + Feat(name, moved(poly, UTM33, "EPSG:4326"), {"property": prop}) + for name, (poly, prop) in utm.items() + ] + path = write_geojson(tmp_path / "f.geojson", lonlat, crs=None) + fs = open_one(path, CUTTING) + images = { + p + for f in lonlat + for p in moved(f.geometry, "EPSG:4326", UTM33).exterior.coords # type: ignore[arg-type,union-attr] + } + xy = all_vertices([line for f in fs.features for line in f.lines]) + off = [(x, y) for x, y in xy if (x, y) not in images] + assert len(off) < len(xy) + assert on_boundary(CUTTING.polygon, np.array(off)).max() <= CROSSING + + +# ------------------------------------------------------------------- I5 + + +class TestI5RingShape: + def test_domain_first_then_features_and_no_feature_is_outer_or_hole( + self, tmp_path: Path + ) -> None: + _, started, _ = mesh_of(tmp_path, grid_features(), CUTTING) + roles = chain_roles(started) + assert roles[:2] == ["outer", "hole"] + assert set(roles[2:]) == {"breakline"} + assert [int(m) for _, _, m in started.chains[:2]] == [0, 0] + + def test_an_unclipped_ring_is_one_closed_breakline(self, tmp_path: Path) -> None: + """Every grid ring inside `AROUND`: one breakline each, its last index + its first, and its vertices the ring's.""" + fs, started, _ = mesh_of(tmp_path, grid_features(), AROUND) + closed = feature_chains(started) + assert len(closed) == 4 + xy = np.asarray(started.vertices) + for (indices, _, mask), (poly, prop) in zip(closed, GRID.values(), strict=True): + assert indices[0] == indices[-1] and len(set(indices)) == len(indices) - 1 + assert {tuple(xy[i]) for i in indices} == set(poly.exterior.coords) + assert mask == V.mask(prop) + assert [f.mask for f in fs.features] == [V.mask(p) for _, p in GRID.values()] + + def test_a_clipped_ring_is_open_breaklines(self, tmp_path: Path) -> None: + """MUTANT 5: under `CUTTING` every ring is cut, so no feature chain may + repeat its first index. A piece ends on the domain boundary or at a + source vertex (where GEOS split it at the ring's own start).""" + _, started, _ = mesh_of(tmp_path, grid_features(), CUTTING) + xy = np.asarray(started.vertices) + pieces = feature_chains(started) + corners = {p for poly, _ in GRID.values() for p in poly.exterior.coords} + assert pieces + for indices, _, _ in pieces: + assert indices[0] != indices[-1] + for end in (tuple(xy[indices[0]]), tuple(xy[indices[-1]])): + assert ( + end in corners or on_boundary(CUTTING.polygon, np.array([end]))[0] <= CROSSING + ) + + def test_a_line_is_an_open_breakline(self, tmp_path: Path) -> None: + _, started, _ = mesh_of(tmp_path, [Feat("r", RIVER, {"property": "river"})], AROUND) + ((indices, _, mask),) = feature_chains(started) + assert indices[0] != indices[-1] and len(indices) == 3 + assert mask == V.mask("river") + + def test_the_domain_half_is_the_domains_rings(self) -> None: + """No features: the domain alone, as `cli._domain_chains` gave it + before 16b (`chains.py` takes it over, R2).""" + started = start(CUTTING, ()) + assert chain_roles(started) == ["outer", "hole"] + xy = np.asarray(started.vertices) + rings = [CUTTING.polygon.exterior, *CUTTING.polygon.interiors] + for (indices, _, _), ring in zip(started.chains, rings, strict=True): + assert [tuple(xy[int(i)]) for i in indices] == list(ring.coords)[:-1] + + +# ------------------------------------------------------------ order (R3, R7) + + +class TestReadOrder: + @needs_rtree + def test_the_extract_in_reverse_row_order_gives_the_same_chains(self, tmp_path: Path) -> None: + """MUTANT 4: I3 at the chains. The extract rewritten with its rows and + R-tree entries inserted in reverse primary-key order gives the same + `StartChains`, bit for bit, because rows are read `ORDER BY` the key.""" + domain = domain_of(Polygon(quarter_circle())) + reversed_path = copy_reversed(EXTRACT, tmp_path / "reversed.gpkg") + a = open_one(EXTRACT, domain, "corine") + b = open_one(reversed_path, domain, "corine") + assert [f.fid for f in b.features] == [f.fid for f in a.features] + assert [f.fid for f in a.features] == sorted(f.fid for f in a.features) + sa, sb = start(domain, a.features), start(domain, b.features) + assert np.array_equal(np.asarray(sa.vertices), np.asarray(sb.vertices)) + assert [(list(map(int, i)), r, int(m)) for i, r, m in sa.chains] == [ + (list(map(int, i)), r, int(m)) for i, r, m in sb.chains + ] + + +# ------------------------------------------------------------ the extract + + +class TestCommittedExtract: + """CORINE over the benchmark tile (EPSG:3035), the quarter circle + (EPSG:25833), the `corine` map, through the real engine.""" + + @pytest.fixture(scope="class") + def run(self) -> tuple[Any, Any, Noded, DomainPolygon]: + domain = domain_of(Polygon(quarter_circle())) + fs = open_one(EXTRACT, domain, "corine") + started = start(domain, fs.features) + return fs, started, run_engine(started), domain + + def test_i1_every_edge_carries_exactly_its_features_bits(self, run: Any) -> None: + """MUTANTS 1, 2 and 3 on real data. Coastal edges are sea (`523`) on + one side and land on the other: land_cover | water.""" + _, _, noded, _ = run + rows = extract_features(EXTRACT, EXTRACT_TABLE) + truth = truths([(g, corine_mask(code)) for _, g, code in rows], src=LAAEA) + assert mismatches(noded, expected_masks(noded, truth)) == [] + + def test_the_bits_that_occur(self, run: Any) -> None: + """Every feature edge carries `land_cover`; the coast and the rivers + carry `water` as well; the domain boundary away from features, none.""" + _, _, noded, _ = run + found = set(noded.masks.values()) + assert V.mask("land_cover") in found + assert V.mask("land_cover", "water") in found + assert found <= {0, V.mask("land_cover"), V.mask("land_cover", "water")} + assert 0 in {noded.masks[e] for e in noded.boundary} + + def test_the_masks_are_the_corine_maps(self, run: Any) -> None: + """MUTANT 3, per feature: each `TerrainFeature.mask` is R4's for its + row's `Code_18`, read from the file independently.""" + fs, _, _, _ = run + codes = {pk: code for pk, _, code in extract_features(EXTRACT, EXTRACT_TABLE)} + assert [f.mask for f in fs.features] == [corine_mask(codes[f.fid]) for f in fs.features] + assert {codes[f.fid] for f in fs.features} >= {"512", "523"} + + def test_i2_vertices_are_reprojected_source_vertices_or_crossings(self, run: Any) -> None: + fs, _, _, domain = run + rows = extract_features(EXTRACT, EXTRACT_TABLE) + images = { + p + for _, g, _ in rows + for line in shapely.get_parts(moved(g, LAAEA).boundary) + for p in line.coords + } + xy = all_vertices([line for f in fs.features for line in f.lines]) + off = np.array([(x, y) for x, y in xy if (x, y) not in images]) + assert len(off) < len(xy) / 10 + assert on_boundary(domain.polygon, off).max() <= CROSSING + assert within(domain.polygon, xy).max() <= CROSSING + + def test_i5_the_extracts_chains(self, run: Any) -> None: + """A chain is closed exactly when it never reaches the domain boundary + (an unclipped ring); every piece that does is open.""" + _, started, noded, domain = run + roles = chain_roles(started) + assert roles[0] == "outer" and set(roles[1:]) == {"breakline"} + xy = np.asarray(started.vertices) + for indices, _, _ in feature_chains(started): + touches = on_boundary(domain.polygon, xy[indices]).min() <= CROSSING + assert (indices[0] == indices[-1]) == (not touches) + assert noded.status == "Ok" diff --git a/tests/python/test_feature_input.py b/tests/python/test_feature_input.py new file mode 100644 index 00000000..adff94c4 --- /dev/null +++ b/tests/python/test_feature_input.py @@ -0,0 +1,675 @@ +"""`tin_engine.feature_input`: sources, class maps, CRS, region and clip (16b-1). + +`docs/increments/16b-terrain-polygons.md` R1, R4-R7, "Degeneracy policy" and +"Tests for @tester" (class maps, CRS, region and pre-clip, clip degeneracies), +with Ola's Q6 (b) (the legacy GML, read with the `clc18_kode` map). + +Pinned by this suite (see "Pinned by the red suite (16b-1/2)"): + +- `ClassMap(name, attribute, classes, otherwise, notice)`, frozen, extra + fields forbidden. `CLASS_MAPS` maps `property`, `corine`, `corine-water` + and `clc18_kode` to the built-in maps. `clc18_kode` is `corine` keyed on + the Norwegian GML's attribute. Every CORINE map's `notice` names the + Copernicus Land Monitoring Service and says the data were modified; + `property`'s is empty. +- `FeatureSource(path, class_map, layer=None, crs=None)` and + `FeatureRequest(sources, vocabulary=DEFAULT_VOCABULARY)`, frozen. +- `open_features(request, domain, dem_crs) -> FeatureSet`, `domain` already in + the DEM's CRS. `FeatureSet.features` is a tuple of `TerrainFeature` (`fid`, + `mask`, `lines`) in source order; `FeatureSet.outside` counts features read + and then wholly clipped away; `FeatureSet.empty` counts empty geometries + skipped. +- A GeoJSON feature's `fid` is its `id` member, else its position in the file + (from 0). A GeoPackage row's is its primary key; a GML feature's its `fid` + attribute. +- By suffix: `.geojson` and `.json`, `.gpkg`, `.gml`; anything else refused. +- `FeatureError`, a `ValueError`, for every refusal; it names the file, and + for a feature its `fid`. +- The lines of a polygon feature: its exterior's pieces, then each hole's, part + by part for a `MultiPolygon`. + +HOW THIS FILE GOES RED: `tin_engine.feature_input` is imported lazily. +""" + +from __future__ import annotations + +import sqlite3 +from pathlib import Path +from types import ModuleType +from typing import Any + +import numpy as np +import pytest +import shapely +from pyproj import CRS +from shapely.geometry import ( + GeometryCollection, + LineString, + MultiLineString, + MultiPoint, + MultiPolygon, + Point, + Polygon, +) + +import feature_fixtures as ff +from feature_fixtures import ( + CROSSING, + UTM33, + Feat, + all_vertices, + at, + domain_of, + moved, + on_boundary, + open_one, + square, + within, + write_geojson, +) +from gpkg_fixtures import EXTRACT, LEGACY_GML, Layer, Row, needs_rtree, write_gpkg +from test_cli_mesh_domain import quarter_circle +from test_io_gml import document, member +from tin_engine.features import DEFAULT_VOCABULARY, EdgeProperty, EdgeVocabulary + +V = DEFAULT_VOCABULARY +LAEA = "EPSG:3035" +WATER_CODES = ("511", "512", "521", "522", "523") +BOX = domain_of(square(0, 0, 300, 300)) +INNER = square(100, 100, 200, 200) + + +@pytest.fixture(scope="module") +def fi() -> ModuleType: + return ff.feature_input() + + +def one(tmp_path: Path, geometry: Any, props: dict[str, Any] | None = None, **kw: Any) -> Any: + path = write_geojson( + tmp_path / "f.geojson", [Feat("a", geometry, props or {"property": "road"})] + ) + return open_one(path, kw.pop("domain", BOX), kw.pop("map_name", "property"), **kw) + + +def lines_of(fs: Any) -> list[LineString]: + return [line for f in fs.features for line in f.lines] + + +# --------------------------------------------------------------- class maps + + +class TestClassMaps: + def test_the_built_in_maps(self, fi: ModuleType) -> None: + assert set(fi.CLASS_MAPS) == {"property", "corine", "corine-water", "clc18_kode"} + assert {name: m.attribute for name, m in fi.CLASS_MAPS.items()} == { + "property": "property", + "corine": "Code_18", + "corine-water": "Code_18", + "clc18_kode": "clc18_kode", + } + assert all(m.name == name for name, m in fi.CLASS_MAPS.items()) + + def test_the_corine_maps_carry_the_attribution(self, fi: ModuleType) -> None: + """R10 and "Test data": a mesh built from CORINE says so, and says the + data were modified.""" + for name in ("corine", "corine-water", "clc18_kode"): + notice = fi.CLASS_MAPS[name].notice + assert "Copernicus Land Monitoring Service" in notice, name + assert "modified" in notice.lower(), name + assert fi.CLASS_MAPS["property"].notice == "" + + def test_a_class_map_is_frozen_and_strict(self, fi: ModuleType) -> None: + corine = fi.CLASS_MAPS["corine"] + with pytest.raises((TypeError, ValueError)): + corine.attribute = "other" + with pytest.raises(ValueError): + fi.ClassMap(name="x", attribute="a", classes={}, colour="red") + + def test_property_one_name(self, tmp_path: Path) -> None: + fs = one(tmp_path, INNER, {"property": "road"}) + assert [f.mask for f in fs.features] == [V.mask("road")] + + def test_property_a_list_of_names_is_their_union(self, tmp_path: Path) -> None: + fs = one(tmp_path, INNER, {"property": ["road", "water"]}) + assert [f.mask for f in fs.features] == [V.mask("road", "water")] + + def test_property_every_vocabulary_name_including_the_new_bits(self, tmp_path: Path) -> None: + for prop in V.properties: + fs = one(tmp_path, INNER, {"property": prop.name}) + assert [f.mask for f in fs.features] == [1 << prop.bit], prop.name + + def test_property_an_unknown_name_is_refused_naming_feature_and_value( + self, tmp_path: Path, fi: ModuleType + ) -> None: + path = write_geojson(tmp_path / "f.geojson", [Feat("f-17", INNER, {"property": "glacier"})]) + with pytest.raises(fi.FeatureError) as caught: + open_one(path, BOX) + assert "f-17" in str(caught.value) and "glacier" in str(caught.value) + + def test_property_missing_is_refused_naming_the_feature( + self, tmp_path: Path, fi: ModuleType + ) -> None: + path = write_geojson(tmp_path / "f.geojson", [Feat("f-18", INNER, {"name": "x"})]) + with pytest.raises(fi.FeatureError, match="f-18"): + open_one(path, BOX) + + @pytest.mark.parametrize("code", WATER_CODES) + def test_corine_water_codes_are_land_cover_and_water(self, tmp_path: Path, code: str) -> None: + """MUTANT 3 (in `test_feature_chains_bits`), unit by unit.""" + fs = one(tmp_path, INNER, {"Code_18": code}, map_name="corine") + assert [f.mask for f in fs.features] == [V.mask("land_cover", "water")] + + @pytest.mark.parametrize("code", ["111", "311", "412", "423", "999", "5", "51", "513", "530"]) + def test_corine_every_other_code_is_land_cover(self, tmp_path: Path, code: str) -> None: + """`otherwise = ("land_cover",)`: an unlisted code, a malformed one + and the 5xx codes the nomenclature does not have included.""" + fs = one(tmp_path, INNER, {"Code_18": code}, map_name="corine") + assert [f.mask for f in fs.features] == [V.mask("land_cover")] + + @pytest.mark.parametrize("code", WATER_CODES) + def test_corine_water_keeps_water_only(self, tmp_path: Path, code: str) -> None: + fs = one(tmp_path, INNER, {"Code_18": code}, map_name="corine-water") + assert [f.mask for f in fs.features] == [V.mask("water")] + + def test_corine_water_drops_land(self, tmp_path: Path) -> None: + features = [ + Feat(1, INNER, {"Code_18": "311"}), + Feat(2, square(10, 10, 50, 50), {"Code_18": "512"}), + ] + path = write_geojson(tmp_path / "f.geojson", features) + fs = open_one(path, BOX, "corine-water") + assert [f.fid for f in fs.features] == [2] + + @pytest.mark.parametrize( + ("code", "names"), [("512", ("land_cover", "water")), ("322", ("land_cover",))] + ) + def test_clc18_kode(self, tmp_path: Path, code: str, names: tuple[str, ...]) -> None: + fs = one(tmp_path, INNER, {"clc18_kode": code}, map_name="clc18_kode") + assert [f.mask for f in fs.features] == [V.mask(*names)] + + def test_a_map_naming_a_name_the_vocabulary_lacks_is_refused_at_the_start( + self, tmp_path: Path, fi: ModuleType + ) -> None: + """R4: checked when the run starts, even with no feature to map.""" + bad = fi.ClassMap( + name="bad", attribute="kind", classes={"x": ("glacier",)}, otherwise="drop" + ) + path = write_geojson(tmp_path / "f.geojson", []) + request = fi.FeatureRequest(sources=(fi.FeatureSource(path=path, class_map=bad),)) + with pytest.raises(fi.FeatureError, match="glacier"): + fi.open_features(request, BOX, UTM33) + + def test_an_otherwise_name_the_vocabulary_lacks_is_refused_too( + self, tmp_path: Path, fi: ModuleType + ) -> None: + bad = fi.ClassMap(name="bad", attribute="kind", classes={}, otherwise=("glacier",)) + path = write_geojson(tmp_path / "f.geojson", []) + request = fi.FeatureRequest(sources=(fi.FeatureSource(path=path, class_map=bad),)) + with pytest.raises(fi.FeatureError, match="glacier"): + fi.open_features(request, BOX, UTM33) + + def test_the_request_vocabulary_is_the_one_masks_come_from( + self, tmp_path: Path, fi: ModuleType + ) -> None: + mine = EdgeVocabulary(properties=(EdgeProperty(name="road", bit=9),)) + path = write_geojson(tmp_path / "f.geojson", [Feat("a", INNER, {"property": "road"})]) + own_map = fi.ClassMap(name="mine", attribute="property", classes={"road": ("road",)}) + request = fi.FeatureRequest( + sources=(fi.FeatureSource(path=path, class_map=own_map),), vocabulary=mine + ) + fs = fi.open_features(request, BOX, UTM33) + assert [f.mask for f in fs.features] == [1 << 9] + + +# ---------------------------------------------------------------- sources + + +class TestSources: + def test_geojson_order_and_ids(self, tmp_path: Path) -> None: + features = [ + Feat("z", square(10, 10, 20, 20), {"property": "road"}), + Feat(None, square(30, 10, 40, 20), {"property": "road"}), + Feat(7, square(50, 10, 60, 20), {"property": "road"}), + ] + fs = open_one(write_geojson(tmp_path / "f.geojson", features), BOX) + assert [f.fid for f in fs.features] == ["z", 1, 7] + + def test_json_suffix_is_geojson(self, tmp_path: Path) -> None: + path = write_geojson(tmp_path / "f.json", [Feat("a", INNER, {"property": "road"})]) + assert len(open_one(path, BOX).features) == 1 + + def test_an_unknown_suffix_is_refused_naming_it(self, tmp_path: Path, fi: ModuleType) -> None: + path = tmp_path / "f.shp" + path.write_bytes(b"") + with pytest.raises(fi.FeatureError, match=r"\.shp"): + open_one(path, BOX) + + def test_a_layer_on_geojson_is_refused(self, tmp_path: Path, fi: ModuleType) -> None: + path = write_geojson(tmp_path / "f.geojson", []) + with pytest.raises(fi.FeatureError): + open_one(path, BOX, layer="x") + + def test_unparseable_geojson_is_refused_naming_the_file( + self, tmp_path: Path, fi: ModuleType + ) -> None: + path = tmp_path / "broken.geojson" + path.write_text('{"type": "FeatureCollection", "features": [') + with pytest.raises(fi.FeatureError, match=r"broken\.geojson"): + open_one(path, BOX) + + def test_a_missing_file_is_refused_naming_it(self, tmp_path: Path, fi: ModuleType) -> None: + for name in ("absent.geojson", "absent.gpkg", "absent.gml"): + with pytest.raises(fi.FeatureError, match=name.replace(".", r"\.")): + open_one(tmp_path / name, BOX) + + def test_the_error_is_a_value_error(self, fi: ModuleType) -> None: + assert issubclass(fi.FeatureError, ValueError) + + @needs_rtree + def test_geopackage_rows_in_key_order_with_their_values(self, tmp_path: Path) -> None: + polys = {9: square(10, 10, 20, 20), 2: square(30, 10, 40, 20), 5: square(50, 10, 60, 20)} + rows = [Row(pk, g, {"Code_18": "512" if pk == 5 else "311"}) for pk, g in polys.items()] + path = write_gpkg(tmp_path / "f.gpkg", [Layer("clc", 25833, rows)]) + fs = open_one(path, BOX, "corine") + assert [f.fid for f in fs.features] == [2, 5, 9] + assert [f.mask for f in fs.features] == [ + V.mask("land_cover"), + V.mask("land_cover", "water"), + V.mask("land_cover"), + ] + + def test_geopackage_several_layers_need_one_named(self, tmp_path: Path, fi: ModuleType) -> None: + rows = [Row(1, INNER, {"Code_18": "311"})] + path = write_gpkg( + tmp_path / "f.gpkg", + [Layer("a", 25833, rows, rtree=False), Layer("b", 25833, rows, rtree=False)], + ) + with pytest.raises(fi.FeatureError, match=r"f\.gpkg"): + open_one(path, BOX, "corine") + assert len(open_one(path, BOX, "corine", layer="b").features) == 1 + + def test_geopackage_a_missing_attribute_column_is_refused( + self, tmp_path: Path, fi: ModuleType + ) -> None: + path = write_gpkg( + tmp_path / "f.gpkg", [Layer("a", 25833, [Row(1, INNER)], columns=("kind",))] + ) + with pytest.raises(fi.FeatureError, match="Code_18"): + open_one(path, BOX, "corine") + + def test_geopackage_refusals_become_feature_errors_naming_the_file( + self, tmp_path: Path, fi: ModuleType + ) -> None: + path = write_gpkg( + tmp_path / "f.gpkg", [Layer("a", 25833, [Row(1, INNER)])], application_id=1 + ) + with pytest.raises(fi.FeatureError, match=r"f\.gpkg"): + open_one(path, BOX, "corine") + + def test_a_file_that_is_not_sqlite_is_refused(self, tmp_path: Path, fi: ModuleType) -> None: + path = tmp_path / "f.gpkg" + path.write_bytes(b"this is not a database" * 100) + with pytest.raises(fi.FeatureError, match=r"f\.gpkg"): + open_one(path, BOX, "corine") + + def test_the_geopackage_is_left_unchanged(self, tmp_path: Path) -> None: + path = write_gpkg( + tmp_path / "f.gpkg", [Layer("a", 25833, [Row(1, INNER, {"Code_18": "311"})])] + ) + before = path.read_bytes() + open_one(path, BOX, "corine") + assert path.read_bytes() == before + with sqlite3.connect(path) as con: + assert con.execute("PRAGMA integrity_check").fetchone()[0] == "ok" + + def test_gml_with_the_clc18_kode_map(self, tmp_path: Path) -> None: + lonlat = moved(INNER, UTM33, "EPSG:4326") + path = tmp_path / "f.gml" + path.write_bytes(document(member("sql_statement.1", lonlat, "512")).getvalue()) + fs = open_one(path, BOX, "clc18_kode") + assert [f.fid for f in fs.features] == ["sql_statement.1"] + assert [f.mask for f in fs.features] == [V.mask("land_cover", "water")] + + def test_gml_without_a_crs_needs_one_given(self, tmp_path: Path, fi: ModuleType) -> None: + path = tmp_path / "f.gml" + path.write_bytes(document(member("s.1", INNER, "311", srs=None)).getvalue()) + with pytest.raises(fi.FeatureError, match=r"f\.gml"): + open_one(path, BOX, "clc18_kode") + assert len(open_one(path, BOX, "clc18_kode", crs=UTM33).features) == 1 + + def test_gml_refusals_become_feature_errors_naming_the_file( + self, tmp_path: Path, fi: ModuleType + ) -> None: + path = tmp_path / "f.gml" + path.write_bytes(b" None: + """Q6 (b): the committed legacy file, through the `clc18_kode` map, + clipped to the quarter circle. Every feature's bits are `corine`'s for + its code, and the sea polygon (`sql_statement.11029`, 523) is among + them.""" + domain = domain_of(Polygon(quarter_circle())) + fs = open_one(LEGACY_GML, domain, "clc18_kode") + fids = {f.fid for f in fs.features} + assert "sql_statement.11029" in fids + assert len(fs.features) >= 10 + assert {f.mask for f in fs.features} == { + V.mask("land_cover"), + V.mask("land_cover", "water"), + } + assert within(domain.polygon, all_vertices(lines_of(fs))).max() <= CROSSING + + +# ---------------------------------------------------------------- geometry + + +class TestGeometry: + @pytest.mark.parametrize( + "geometry", + [ + pytest.param(Point(*at(150, 150)), id="point"), + pytest.param(MultiPoint([at(150, 150), at(160, 160)]), id="multipoint"), + pytest.param(GeometryCollection([INNER]), id="geometrycollection"), + ], + ) + def test_loose_points_and_collections_are_refused_naming_the_feature( + self, tmp_path: Path, fi: ModuleType, geometry: Any + ) -> None: + path = write_geojson(tmp_path / "f.geojson", [Feat("pt-3", geometry, {"property": "road"})]) + with pytest.raises(fi.FeatureError, match="pt-3"): + open_one(path, BOX) + + def test_a_point_in_gml_is_refused_too(self, tmp_path: Path, fi: ModuleType) -> None: + path = tmp_path / "f.gml" + path.write_bytes(document(member("s.9", Point(15.0, 59.5), "311")).getvalue()) + with pytest.raises(fi.FeatureError, match=r"s\.9"): + open_one(path, BOX, "clc18_kode") + + def test_z_is_dropped(self, tmp_path: Path) -> None: + ring = [ + (*at(100, 100), 5.0), + (*at(200, 100), 6.0), + (*at(200, 200), 7.0), + (*at(100, 100), 5.0), + ] + fs = one(tmp_path, Polygon(ring)) + (line,) = lines_of(fs) + assert not line.has_z + assert set(line.coords) == {p[:2] for p in ring} + + @pytest.mark.parametrize( + "geometry", + [ + pytest.param({"type": "Polygon", "coordinates": []}, id="empty-polygon"), + pytest.param({"type": "LineString", "coordinates": []}, id="empty-line"), + pytest.param(None, id="null"), + ], + ) + def test_an_empty_geometry_is_skipped_and_counted(self, tmp_path: Path, geometry: Any) -> None: + features = [ + Feat("e", geometry, {"property": "road"}), + Feat("f", INNER, {"property": "road"}), + ] + fs = open_one(write_geojson(tmp_path / "f.geojson", features), BOX) + assert [f.fid for f in fs.features] == ["f"] + assert fs.empty == 1 + + def test_an_empty_flag_row_is_skipped_and_counted(self, tmp_path: Path) -> None: + from gpkg_fixtures import blob + + rows = [ + Row(1, INNER, {"Code_18": "311"}), + Row(2, None, {"Code_18": "311"}, raw=blob(None, 25833, empty=True)), + ] + fs = open_one( + write_gpkg(tmp_path / "f.gpkg", [Layer("a", 25833, rows, rtree=False)]), BOX, "corine" + ) + assert [f.fid for f in fs.features] == [1] + assert fs.empty == 1 + + def test_a_self_intersecting_ring_is_linework_not_refused(self, tmp_path: Path) -> None: + """R1: feature polygons are not validated. Its source vertices are all + kept and its length is unchanged; a vertex GEOS may add at the + self-crossing (150, 150) is not pinned either way.""" + bowtie = Polygon([at(100, 100), at(200, 200), at(200, 100), at(100, 200)]) + assert not bowtie.is_valid + fs = one(tmp_path, bowtie) + assert len(fs.features) == 1 + got = {tuple(p) for p in all_vertices(lines_of(fs))} + assert got - set(bowtie.exterior.coords) <= {at(150, 150)} + assert got >= set(bowtie.exterior.coords) + assert sum(line.length for line in lines_of(fs)) == pytest.approx(bowtie.length, abs=1e-6) + + +# ------------------------------------------------------------------- CRS + + +class TestCrs: + def test_geojson_without_a_crs_member_is_wgs84(self, tmp_path: Path) -> None: + lonlat = moved(INNER, UTM33, "EPSG:4326") + path = write_geojson( + tmp_path / "f.geojson", [Feat("a", lonlat, {"property": "road"})], crs=None + ) + (line,) = lines_of(open_one(path, BOX)) + assert set(line.coords) == set(moved(lonlat, "EPSG:4326", UTM33).exterior.coords) + + def test_geojson_in_the_dems_crs_is_not_moved(self, tmp_path: Path) -> None: + (line,) = lines_of(one(tmp_path, INNER)) + assert set(line.coords) == set(INNER.exterior.coords) + + def test_a_given_crs_agreeing_with_the_files_is_accepted(self, tmp_path: Path) -> None: + path = write_geojson(tmp_path / "f.geojson", [Feat("a", INNER, {"property": "road"})]) + assert len(open_one(path, BOX, crs="EPSG:25833").features) == 1 + assert len(open_one(path, BOX, crs=CRS.from_epsg(25833).to_wkt()).features) == 1 + + def test_a_given_crs_disagreeing_with_the_files_is_refused( + self, tmp_path: Path, fi: ModuleType + ) -> None: + path = write_geojson(tmp_path / "f.geojson", [Feat("a", INNER, {"property": "road"})]) + with pytest.raises(fi.FeatureError, match=r"f\.geojson"): + open_one(path, BOX, crs="EPSG:3035") + + def test_a_given_crs_disagreeing_with_rfc_7946_is_refused( + self, tmp_path: Path, fi: ModuleType + ) -> None: + """domain.py's rule exactly: no `crs` member means EPSG:4326.""" + path = write_geojson( + tmp_path / "f.geojson", [Feat("a", INNER, {"property": "road"})], crs=None + ) + with pytest.raises(fi.FeatureError): + open_one(path, BOX, crs="EPSG:25833") + + def test_an_unreadable_crs_is_refused(self, tmp_path: Path, fi: ModuleType) -> None: + path = write_geojson( + tmp_path / "f.geojson", [Feat("a", INNER, {"property": "road"})], crs="EPSG:0" + ) + with pytest.raises(fi.FeatureError): + open_one(path, BOX) + + def test_a_geopackage_in_3035(self, tmp_path: Path) -> None: + laea = moved(INNER, UTM33, "EPSG:3035") + path = write_gpkg( + tmp_path / "f.gpkg", [Layer("a", 3035, [Row(1, laea, {"Code_18": "311"})])] + ) + (line,) = lines_of(open_one(path, BOX, "corine")) + assert set(line.coords) == set(moved(laea, "EPSG:3035", UTM33).exterior.coords) + + def test_a_geopackage_given_another_crs_is_refused( + self, tmp_path: Path, fi: ModuleType + ) -> None: + path = write_gpkg( + tmp_path / "f.gpkg", [Layer("a", 3035, [Row(1, INNER, {"Code_18": "311"})])] + ) + with pytest.raises(fi.FeatureError): + open_one(path, BOX, "corine", crs="EPSG:25833") + + def test_a_vertex_with_no_image_is_refused_naming_the_feature( + self, tmp_path: Path, fi: ModuleType, monkeypatch: pytest.MonkeyPatch + ) -> None: + """R5. Forced: the transform into the DEM's CRS gives `inf` for one + vertex of feature `lost`, as pyproj does for a point it cannot map.""" + import tin_engine.crs as crs_module + + real = crs_module.reprojector + laea = moved(Polygon([at(100, 100), at(200, 100), at(150, 150), at(100, 200)]), UTM33, LAEA) + marker = laea.exterior.coords[2] # in the source CRS + + def fake(src: Any, dst: Any) -> Any: + move = real(src, dst) + if CRS.from_user_input(dst) != CRS.from_user_input(UTM33): + return move + + def apply(xy: Any) -> np.ndarray: + out = move(xy) + points = np.asarray(xy, dtype=np.float64).reshape(-1, 2) + out[np.all(np.isclose(points, marker, rtol=0, atol=1e-6), axis=1)] = np.inf + return out + + return apply + + monkeypatch.setattr(crs_module, "reprojector", fake) + monkeypatch.setattr(fi, "reprojector", fake, raising=False) + path = write_geojson( + tmp_path / "f.geojson", [Feat("lost", laea, {"property": "road"})], crs=LAEA + ) + with pytest.raises(fi.FeatureError, match="lost"): + open_one(path, BOX) + + +# --------------------------------------------------------- region and clip + + +class TestClip: + def test_a_ring_wholly_inside_is_one_closed_line(self, tmp_path: Path) -> None: + (line,) = lines_of(one(tmp_path, INNER)) + assert line.coords[0] == line.coords[-1] + assert set(line.coords) == set(INNER.exterior.coords) + + def test_a_polygon_gives_its_exterior_then_its_holes(self, tmp_path: Path) -> None: + hole = square(130, 130, 170, 170) + poly = Polygon(INNER.exterior.coords, [hole.exterior.coords]) + lines = lines_of(one(tmp_path, poly)) + assert [set(line.coords) for line in lines] == [ + set(INNER.exterior.coords), + set(hole.exterior.coords), + ] + + def test_a_multipolygon_gives_its_parts_in_order(self, tmp_path: Path) -> None: + a, b = square(200, 200, 250, 250), square(20, 20, 60, 60) + lines = lines_of(one(tmp_path, MultiPolygon([a, b]))) + assert [set(line.coords) for line in lines] == [ + set(a.exterior.coords), + set(b.exterior.coords), + ] + + def test_a_multilinestring_gives_its_parts(self, tmp_path: Path) -> None: + a = LineString([at(10, 10), at(90, 90)]) + b = LineString([at(10, 290), at(90, 210)]) + lines = lines_of(one(tmp_path, MultiLineString([a, b]))) + assert [list(line.coords) for line in lines] == [list(a.coords), list(b.coords)] + + def test_a_ring_crossing_the_boundary_is_open_pieces(self, tmp_path: Path) -> None: + """R6: the part outside is dropped, and no edge is added along the + boundary. The pieces' length is the ring's length inside the domain, + and each piece ends on the boundary or at a source vertex (GEOS may + split a piece at the ring's own start, which the noder rejoins).""" + crossing = square(250, 100, 350, 200) + lines = lines_of(one(tmp_path, crossing)) + assert lines and all(line.coords[0] != line.coords[-1] for line in lines) + ends = [p for line in lines for p in (line.coords[0], line.coords[-1])] + loose = [p for p in ends if p not in set(crossing.exterior.coords)] + assert loose and on_boundary(BOX.polygon, np.array(loose)).max() <= CROSSING + inside = shapely.intersection(LineString(crossing.exterior.coords), BOX.polygon).length + assert sum(line.length for line in lines) == pytest.approx(inside, abs=1e-6) + assert sum(line.length for line in lines) == pytest.approx(250.0, abs=1e-6) + + def test_a_line_leaving_the_domain_loses_its_exterior_part(self, tmp_path: Path) -> None: + """Increment 8's `wall-leaves-domain`, before the engine.""" + wall = LineString([at(150, 150), at(700, 150)]) + (line,) = lines_of(one(tmp_path, wall, {"property": "wall"})) + assert line.coords[0] == at(150, 150) + assert line.coords[-1] == pytest.approx(at(300, 150), abs=CROSSING) + assert within(BOX.polygon, np.asarray(line.coords)).max() <= CROSSING + + def test_a_ring_touching_the_boundary_at_one_point_keeps_no_point_piece( + self, tmp_path: Path + ) -> None: + diamond = Polygon([at(300, 150), at(250, 200), at(200, 150), at(250, 100)]) + lines = lines_of(one(tmp_path, diamond)) + assert all(isinstance(line, LineString) and len(line.coords) >= 2 for line in lines) + assert sum(line.length for line in lines) == pytest.approx(diamond.length, abs=1e-6) + + def test_a_ring_outside_touching_at_one_point_is_dropped_and_counted( + self, tmp_path: Path + ) -> None: + """The degenerate point piece is all that is left: no line survives.""" + outside = Polygon([at(300, 150), at(350, 200), at(400, 150), at(350, 100)]) + fs = one(tmp_path, outside) + assert fs.features == () and fs.outside == 1 + + def test_a_feature_edge_along_the_boundary_is_kept(self, tmp_path: Path) -> None: + along = square(200, 0, 300, 100) # its south and east edges are the domain's + lines = lines_of(one(tmp_path, along)) + total = sum(line.length for line in lines) + assert total == pytest.approx(along.length, abs=1e-6) + + def test_a_feature_in_a_domain_hole_is_dropped_and_counted(self, tmp_path: Path) -> None: + holed = domain_of(Polygon(square(0, 0, 300, 300).exterior.coords, [INNER.exterior.coords])) + fs = one(tmp_path, square(120, 120, 180, 180), domain=holed) + assert fs.features == () and fs.outside == 1 + + def test_a_feature_just_outside_is_dropped_and_counted(self, tmp_path: Path) -> None: + fs = one(tmp_path, square(320, 100, 360, 200)) + assert fs.features == () and fs.outside == 1 + + def test_a_feature_far_away_is_not_a_feature(self, tmp_path: Path) -> None: + fs = one(tmp_path, square(50_000, 50_000, 50_100, 50_100)) + assert fs.features == () + + def test_no_feature_left_is_legitimate(self, tmp_path: Path) -> None: + fs = open_one(write_geojson(tmp_path / "f.geojson", []), BOX) + assert fs.features == () and fs.outside == 0 and fs.empty == 0 + + def test_a_domain_hole_cuts_rings_as_lines(self, tmp_path: Path) -> None: + holed = domain_of(Polygon(square(0, 0, 300, 300).exterior.coords, [INNER.exterior.coords])) + crossing = square(150, 150, 250, 250) + lines = lines_of(one(tmp_path, crossing, domain=holed)) + assert lines and all(line.coords[0] != line.coords[-1] for line in lines) + assert sum(line.length for line in lines) == pytest.approx(300.0, abs=1e-6) + assert within(holed.polygon, all_vertices(lines)).max() <= CROSSING + + +# -------------------------------------------------------- the pre-clip (I4) + + +class TestPreClip: + def test_i4_the_extract_gives_the_same_noded_graph_as_no_pre_clip(self) -> None: + """I4 on the extract, relationally: `open_features` + `start_chains` + through the engine give the same noded constraint edges, with the same + masks, as this test's own pipeline with no region and no pre-clip + (every row read whole, moved by pyproj, clipped as lines, the `corine` + map written from the design), handed to `start_chains` as + `TerrainFeature(fid=, mask=, lines=)`. Compared after the noder, where input + order and piece splitting no longer matter.""" + domain = domain_of(Polygon(quarter_circle())) + fs = open_one(EXTRACT, domain, "corine") + produced = ff.run_engine(ff.start(domain, fs.features)) + + rows = ff.extract_features(EXTRACT, "U2018_CLC2018_V2020_20u1") + fi = ff.feature_input() + oracle_features = [] + for pk, geometry, code in rows: + lines = tuple( + part + for line in ff.boundary_lines(moved(geometry, LAEA)) + for part in shapely.get_parts(shapely.intersection(line, domain.polygon)) + if isinstance(part, LineString) and part.length > 0 + ) + if lines: + oracle_features.append( + fi.TerrainFeature(fid=pk, mask=ff.corine_mask(code), lines=lines) + ) + expected = ff.run_engine(ff.start(domain, oracle_features)) + assert produced.masks == expected.masks diff --git a/tests/python/test_features.py b/tests/python/test_features.py index e7733db1..d543d5d7 100644 --- a/tests/python/test_features.py +++ b/tests/python/test_features.py @@ -75,9 +75,11 @@ REPO_ROOT = Path(__file__).resolve().parents[2] FEATURES_SOURCE = REPO_ROOT / "src_python" / "tin_engine" / "features.py" -# The seven linear features `DEFAULT_VOCABULARY` ships with, in bit order. The -# tuple is written out rather than derived from the constant, because a test -# that derives its expectation from the thing under test asserts nothing. +# The features `DEFAULT_VOCABULARY` ships with, in bit order: the seven linear +# ones of increment 7, then increment 16b's `land_cover` (7) and `water` (8) +# (16b Q3, ruled by Ola 2026-09-28). The tuple is written out rather than +# derived from the constant, because a test that derives its expectation from +# the thing under test asserts nothing. DEFAULT_ROWS = ( ("river", 0), ("road", 1), @@ -86,6 +88,8 @@ ("contour", 4), ("wall", 5), ("ditch", 6), + ("land_cover", 7), + ("water", 8), ) @@ -532,7 +536,7 @@ def test_fingerprint_is_stable_across_processes() -> None: # --------------------------------------------------------------------------- -def test_the_default_vocabulary_is_the_seven_linear_features_in_bit_order() -> None: +def test_the_default_vocabulary_is_its_nine_features_in_bit_order() -> None: assert tuple((p.name, p.bit) for p in DEFAULT_VOCABULARY.properties) == DEFAULT_ROWS @@ -556,7 +560,7 @@ def test_the_default_vocabulary_round_trips_its_own_full_mask() -> None: every = tuple(name for name, _ in DEFAULT_ROWS) full = DEFAULT_VOCABULARY.mask(*every) - assert full == 0b111_1111 + assert full == 0b1_1111_1111 assert DEFAULT_VOCABULARY.names(full) == every diff --git a/tests/python/test_io_geopackage.py b/tests/python/test_io_geopackage.py new file mode 100644 index 00000000..6fe8f7c2 --- /dev/null +++ b/tests/python/test_io_geopackage.py @@ -0,0 +1,513 @@ +"""`tin_engine.io.geopackage` and `io.repository.open_geopackage` (increment 16b-1). + +`docs/increments/16b-terrain-polygons.md` R2, R3 and "Tests for @tester" +(GeoPackage decoding, layer resolution). Every GeoPackage here is a real file +written to `tmp_path` by `gpkg_fixtures.write_gpkg`; every blob is built from +OGC 12-128's header layout by `gpkg_fixtures.blob`, never by the reader. + +Pinned by this suite (see "Pinned by the red suite (16b-1/2)"): + +- `io.repository.open_geopackage(path) -> sqlite3.Connection`, read-only: a + write through it fails, and a missing file is not created. +- `io.geopackage.GeoPackageError`, a `ValueError`: every refusal below. +- `layer_info(conn, table) -> GpkgLayer`, `table=None` meaning "the only + features table". `GpkgLayer` is frozen, with `table`, `column` (the + geometry column), `pk` (the primary-key column), `srs_id`, `crs` (text + `crs.parse_crs` reads) and `rtree` (the R-tree table's name, or `None`). +- `decode_geometry(blob) -> (srs_id, geometry)`; `geometry` is `None` (or + empty) for a blob with the empty flag. +- `query_features(conn, layer, box, attribute)` yields objects with `fid` + (the primary key), `geometry` and `value` (the `attribute` column), in + ascending primary-key order whatever order the rows or the R-tree hold. + `box` is `(minx, miny, maxx, maxy)` in the layer's CRS, closed. +- Refusals of a row name the layer's table and the row's primary key. + +HOW THIS FILE GOES RED: the modules are imported inside fixtures, so each test +fails on its own with `ModuleNotFoundError` or `AttributeError`, and collection +is unaffected. +""" + +from __future__ import annotations + +import ast +import importlib +import sqlite3 +from pathlib import Path +from types import ModuleType +from typing import Any + +import pytest +import shapely +from pyproj import CRS +from shapely.geometry import LineString, MultiPolygon, Polygon, box + +from gpkg_fixtures import ( + HAS_RTREE, + Layer, + Row, + Srs, + blob, + needs_rtree, + write_gpkg, +) + +SRC = Path(__file__).resolve().parents[2] / "src_python" / "tin_engine" +SQUARE = box(0.0, 0.0, 10.0, 10.0) +LAEA = 3035 + + +@pytest.fixture(scope="module") +def gpkg() -> ModuleType: + return importlib.import_module("tin_engine.io.geopackage") + + +@pytest.fixture(scope="module") +def open_geopackage() -> Any: + return importlib.import_module("tin_engine.io.repository").open_geopackage + + +def squares(*pks: int, spacing: float = 100.0) -> list[Row]: + """One 10 m square per key, `spacing` apart in x, `Code_18` = `1`.""" + return [ + Row(pk, box(k * spacing, 0.0, k * spacing + 10.0, 10.0), {"Code_18": f"1{pk:02d}"}) + for k, pk in enumerate(pks) + ] + + +def one_layer(tmp_path: Path, rows: list[Row], **kwargs: Any) -> Path: + return write_gpkg(tmp_path / "f.gpkg", [Layer("clc", LAEA, rows, **kwargs)]) + + +def read_all( + gpkg: ModuleType, + open_geopackage: Any, + path: Path, + table: str | None = None, + bounds: tuple[float, float, float, float] | None = None, +) -> list[Any]: + conn = open_geopackage(path) + try: + layer = gpkg.layer_info(conn, table) + return list(gpkg.query_features(conn, layer, bounds, "Code_18")) + finally: + conn.close() + + +# ------------------------------------------------------------ open_geopackage + + +class TestOpenGeopackage: + def test_it_returns_a_connection_that_reads(self, tmp_path: Path, open_geopackage: Any) -> None: + path = one_layer(tmp_path, squares(1)) + conn = open_geopackage(path) + try: + assert isinstance(conn, sqlite3.Connection) + assert conn.execute("PRAGMA application_id").fetchone()[0] == 0x47504B47 + finally: + conn.close() + + def test_it_is_read_only(self, tmp_path: Path, open_geopackage: Any) -> None: + """R3: read-only, which also keeps the SpatiaLite triggers from firing.""" + path = one_layer(tmp_path, squares(1)) + before = path.read_bytes() + conn = open_geopackage(path) + try: + with pytest.raises(sqlite3.OperationalError, match="readonly"): + conn.execute("DELETE FROM clc") + finally: + conn.close() + assert path.read_bytes() == before + + def test_a_missing_file_is_refused_and_not_created( + self, tmp_path: Path, open_geopackage: Any + ) -> None: + missing = tmp_path / "missing.gpkg" + with pytest.raises((sqlite3.OperationalError, OSError, ValueError)): + open_geopackage(missing).execute("SELECT 1").fetchone() + assert not missing.exists() + + def test_a_path_with_uri_characters_opens_the_named_file( + self, tmp_path: Path, open_geopackage: Any + ) -> None: + """`path.resolve().as_uri()`: a `?` or `#` or space in the name is the + file's, not a URI query.""" + directory = tmp_path / "a dir#1" + directory.mkdir() + path = write_gpkg(directory / "x?y.gpkg", [Layer("clc", LAEA, squares(1))]) + conn = open_geopackage(path) + try: + assert conn.execute("SELECT COUNT(*) FROM clc").fetchone()[0] == 1 + finally: + conn.close() + + +# ----------------------------------------------------------- decode_geometry + + +class TestDecodeGeometry: + """R3's header, every branch.""" + + @pytest.mark.parametrize("envelope", [0, 1, 2, 3, 4]) + @pytest.mark.parametrize("big_endian", [False, True]) + def test_every_envelope_code_in_either_byte_order( + self, gpkg: ModuleType, envelope: int, big_endian: bool + ) -> None: + shape = Polygon([(0.5, 0.25), (7.0, 0.5), (3.0, 9.0)], [[(2, 2), (4, 2), (3, 4)]]) + srs_id, geometry = gpkg.decode_geometry( + blob(shape, 25833, envelope=envelope, big_endian=big_endian) + ) + assert srs_id == 25833 + assert shapely.equals_exact(geometry, shape, tolerance=0.0) + + def test_big_endian_wkb_after_a_little_endian_header(self, gpkg: ModuleType) -> None: + shape = MultiPolygon([SQUARE, box(20, 20, 30, 30)]) + _, geometry = gpkg.decode_geometry(blob(shape, LAEA, wkb_big_endian=True)) + assert shapely.equals_exact(geometry, shape, tolerance=0.0) + + def test_coordinates_come_out_bit_for_bit(self, gpkg: ModuleType) -> None: + shape = LineString([(4_321_987.123456789, 5_432_109.987654321), (0.1, 0.2)]) + _, geometry = gpkg.decode_geometry(blob(shape, LAEA, envelope=1)) + assert list(geometry.coords) == list(shape.coords) + + def test_the_empty_flag_gives_no_geometry(self, gpkg: ModuleType) -> None: + srs_id, geometry = gpkg.decode_geometry(blob(None, LAEA, empty=True)) + assert srs_id == LAEA + assert geometry is None or geometry.is_empty + + @pytest.mark.parametrize( + "kwargs", + [ + pytest.param({"extended": True}, id="extended-type"), + pytest.param({"magic": b"GQ"}, id="bad-magic"), + pytest.param({"version": 1}, id="version-1"), + pytest.param({"envelope": 5}, id="envelope-5"), + pytest.param({"envelope": 6}, id="envelope-6"), + pytest.param({"envelope": 7}, id="envelope-7"), + ], + ) + def test_a_header_it_cannot_read_is_refused( + self, gpkg: ModuleType, kwargs: dict[str, Any] + ) -> None: + with pytest.raises(gpkg.GeoPackageError): + gpkg.decode_geometry(blob(SQUARE, LAEA, **kwargs)) + + @pytest.mark.parametrize("length", [0, 1, 4, 7]) + def test_a_blob_shorter_than_the_header_is_refused(self, gpkg: ModuleType, length: int) -> None: + with pytest.raises(gpkg.GeoPackageError): + gpkg.decode_geometry(blob(SQUARE, LAEA)[:length]) + + def test_an_envelope_longer_than_the_blob_is_refused(self, gpkg: ModuleType) -> None: + with pytest.raises(gpkg.GeoPackageError): + gpkg.decode_geometry(blob(SQUARE, LAEA, envelope=4)[:40]) + + def test_corrupt_wkb_is_refused_as_a_geopackage_error(self, gpkg: ModuleType) -> None: + with pytest.raises(gpkg.GeoPackageError): + gpkg.decode_geometry(blob(SQUARE, LAEA)[:-5]) + + def test_the_error_is_a_value_error(self, gpkg: ModuleType) -> None: + assert issubclass(gpkg.GeoPackageError, ValueError) + + +# ---------------------------------------------------------------- layer_info + + +class TestLayerInfo: + def test_the_only_features_table_is_the_default( + self, tmp_path: Path, gpkg: ModuleType, open_geopackage: Any + ) -> None: + path = one_layer(tmp_path, squares(1, 2)) + conn = open_geopackage(path) + try: + layer = gpkg.layer_info(conn, None) + finally: + conn.close() + assert (layer.table, layer.column, layer.pk, layer.srs_id) == ( + "clc", + "Shape", + "OBJECTID", + LAEA, + ) + assert CRS.from_user_input(layer.crs) == CRS.from_epsg(LAEA) + assert layer.rtree == ("rtree_clc_Shape" if HAS_RTREE else None) + + def test_the_layer_is_frozen( + self, tmp_path: Path, gpkg: ModuleType, open_geopackage: Any + ) -> None: + conn = open_geopackage(one_layer(tmp_path, squares(1))) + try: + layer = gpkg.layer_info(conn, "clc") + finally: + conn.close() + with pytest.raises((TypeError, ValueError, AttributeError)): + layer.table = "other" + + def test_several_tables_need_a_name_and_the_refusal_lists_them( + self, tmp_path: Path, gpkg: ModuleType, open_geopackage: Any + ) -> None: + path = write_gpkg( + tmp_path / "f.gpkg", + [Layer("europe", LAEA, squares(1)), Layer("reunion", 2975, squares(2))], + ) + conn = open_geopackage(path) + try: + with pytest.raises(gpkg.GeoPackageError) as caught: + gpkg.layer_info(conn, None) + assert "europe" in str(caught.value) and "reunion" in str(caught.value) + assert gpkg.layer_info(conn, "reunion").srs_id == 2975 + finally: + conn.close() + + def test_an_unknown_name_is_refused_naming_it( + self, tmp_path: Path, gpkg: ModuleType, open_geopackage: Any + ) -> None: + conn = open_geopackage(one_layer(tmp_path, squares(1))) + try: + with pytest.raises(gpkg.GeoPackageError, match="nosuch"): + gpkg.layer_info(conn, "nosuch") + finally: + conn.close() + + def test_a_table_that_is_not_features_is_refused( + self, tmp_path: Path, gpkg: ModuleType, open_geopackage: Any + ) -> None: + path = write_gpkg( + tmp_path / "f.gpkg", + [Layer("clc", LAEA, squares(1)), Layer("pixels", LAEA, [], data_type="tiles")], + ) + conn = open_geopackage(path) + try: + with pytest.raises(gpkg.GeoPackageError, match="pixels"): + gpkg.layer_info(conn, "pixels") + assert gpkg.layer_info(conn, None).table == "clc" # tiles are not candidates + finally: + conn.close() + + def test_a_non_epsg_organization_takes_the_definition_wkt( + self, tmp_path: Path, gpkg: ModuleType, open_geopackage: Any + ) -> None: + wkt = CRS.from_epsg(25833).to_wkt() + path = write_gpkg( + tmp_path / "f.gpkg", + [Layer("clc", 990001, squares(1))], + srs=[Srs(990001, organization="rasputin", code=1, definition=wkt)], + ) + conn = open_geopackage(path) + try: + layer = gpkg.layer_info(conn, None) + finally: + conn.close() + assert CRS.from_user_input(layer.crs) == CRS.from_epsg(25833) + + def test_the_epsg_organization_is_case_insensitive( + self, tmp_path: Path, gpkg: ModuleType, open_geopackage: Any + ) -> None: + path = write_gpkg( + tmp_path / "f.gpkg", + [Layer("clc", 25833, squares(1))], + srs=[Srs(25833, organization="epsg", definition="undefined")], + ) + conn = open_geopackage(path) + try: + layer = gpkg.layer_info(conn, None) + finally: + conn.close() + assert CRS.from_user_input(layer.crs) == CRS.from_epsg(25833) + + def test_a_file_that_is_not_a_geopackage_is_refused( + self, tmp_path: Path, gpkg: ModuleType, open_geopackage: Any + ) -> None: + path = write_gpkg(tmp_path / "f.gpkg", [Layer("clc", LAEA, squares(1))], application_id=0) + conn = open_geopackage(path) + try: + with pytest.raises(gpkg.GeoPackageError): + gpkg.layer_info(conn, None) + finally: + conn.close() + + def test_no_rtree_is_reported_as_none( + self, tmp_path: Path, gpkg: ModuleType, open_geopackage: Any + ) -> None: + conn = open_geopackage(one_layer(tmp_path, squares(1), rtree=False)) + try: + assert gpkg.layer_info(conn, None).rtree is None + finally: + conn.close() + + +# ------------------------------------------------------------ query_features + + +class TestQueryFeatures: + @needs_rtree + def test_rows_come_in_primary_key_order_whatever_the_rtree_holds( + self, tmp_path: Path, gpkg: ModuleType, open_geopackage: Any + ) -> None: + """R3: `ORDER BY `. The table's rows are inserted out of key order + and the R-tree's in reverse, so neither rowid nor R-tree order is it.""" + rows = squares(5, 3, 9, 1, 7) + path = one_layer(tmp_path, rows, insert_order=[9, 1, 5, 7, 3], rtree_order=[7, 3, 5, 1, 9]) + got = read_all(gpkg, open_geopackage, path, bounds=(-1.0, -1.0, 1000.0, 20.0)) + assert [f.fid for f in got] == [1, 3, 5, 7, 9] + assert [f.value for f in got] == ["101", "103", "105", "107", "109"] + + def test_without_an_rtree_rows_also_come_in_primary_key_order( + self, tmp_path: Path, gpkg: ModuleType, open_geopackage: Any + ) -> None: + path = one_layer(tmp_path, squares(5, 3, 9), rtree=False, insert_order=[9, 3, 5]) + got = read_all(gpkg, open_geopackage, path, bounds=(-1.0, -1.0, 1000.0, 20.0)) + assert [f.fid for f in got] == [3, 5, 9] + + def test_the_geometry_is_the_rows( + self, tmp_path: Path, gpkg: ModuleType, open_geopackage: Any + ) -> None: + rows = squares(1, 2) + got = read_all(gpkg, open_geopackage, one_layer(tmp_path, rows)) + for feature, row in zip(got, rows, strict=True): + assert shapely.equals_exact(feature.geometry, row.geometry, tolerance=0.0) + + @pytest.mark.parametrize("rtree", [pytest.param(True, marks=needs_rtree), False]) + def test_the_box_keeps_every_row_meeting_it_closed( + self, tmp_path: Path, gpkg: ModuleType, open_geopackage: Any, rtree: bool + ) -> None: + """Squares at x 0-10, 100-110, 200-210, 300-310. A box whose min x is + exactly 110 meets the second square's edge: closed, so it is kept. + Through the R-tree the far squares do not come back (its bounds are + rounded outward, by far less than 90 m); without one the table is + scanned (R3), and a candidate superset is all a query promises.""" + path = one_layer(tmp_path, squares(1, 2, 3, 4), rtree=rtree) + got = read_all(gpkg, open_geopackage, path, bounds=(110.0, 2.0, 205.0, 3.0)) + fids = [f.fid for f in got] + assert 2 in fids and 3 in fids + if rtree: + assert 1 not in fids and 4 not in fids + + def test_no_box_reads_every_row( + self, tmp_path: Path, gpkg: ModuleType, open_geopackage: Any + ) -> None: + got = read_all(gpkg, open_geopackage, one_layer(tmp_path, squares(1, 2, 3))) + assert [f.fid for f in got] == [1, 2, 3] + + def test_an_empty_flag_row_is_yielded_empty( + self, tmp_path: Path, gpkg: ModuleType, open_geopackage: Any + ) -> None: + """R1: skipped and counted, which is the caller's; the reader must not + drop it silently or refuse it.""" + rows = [*squares(1), Row(2, None, {"Code_18": "311"}, raw=blob(None, LAEA, empty=True))] + got = read_all(gpkg, open_geopackage, one_layer(tmp_path, rows, rtree=False)) + assert [f.fid for f in got] == [1, 2] + assert got[1].geometry is None or got[1].geometry.is_empty + + def test_a_row_in_another_srs_is_refused_naming_the_table_and_key( + self, tmp_path: Path, gpkg: ModuleType, open_geopackage: Any + ) -> None: + rows = [*squares(1), Row(4242, SQUARE, {"Code_18": "311"}, raw=blob(SQUARE, 4326))] + path = one_layer(tmp_path, rows) + with pytest.raises(gpkg.GeoPackageError) as caught: + read_all(gpkg, open_geopackage, path) + assert "4242" in str(caught.value) and "clc" in str(caught.value) + + def test_a_row_with_a_bad_header_is_refused_naming_its_key( + self, tmp_path: Path, gpkg: ModuleType, open_geopackage: Any + ) -> None: + rows = [ + *squares(1), + Row(777, SQUARE, {"Code_18": "311"}, raw=blob(SQUARE, LAEA, envelope=5)), + ] + with pytest.raises(gpkg.GeoPackageError, match="777"): + read_all(gpkg, open_geopackage, one_layer(tmp_path, rows, rtree=False)) + + def test_a_missing_attribute_column_is_refused_naming_it( + self, tmp_path: Path, gpkg: ModuleType, open_geopackage: Any + ) -> None: + conn = open_geopackage(one_layer(tmp_path, squares(1))) + try: + layer = gpkg.layer_info(conn, None) + with pytest.raises(gpkg.GeoPackageError, match="Nope_18"): + list(gpkg.query_features(conn, layer, None, "Nope_18")) + finally: + conn.close() + + @needs_rtree + def test_sqlite_without_the_rtree_module_is_refused_naming_the_cause( + self, tmp_path: Path, gpkg: ModuleType, open_geopackage: Any + ) -> None: + """R3: `no such module: rtree` becomes a refusal naming the cause, never + a silent full scan. Simulated: a connection whose every statement that + touches the R-tree fails as SQLite without the module fails.""" + conn = open_geopackage(one_layer(tmp_path, squares(1, 2))) + try: + layer = gpkg.layer_info(conn, None) + with pytest.raises(gpkg.GeoPackageError, match=r"(?i)r-?tree"): + list(gpkg.query_features(_NoRtree(conn), layer, (0.0, 0.0, 5.0, 5.0), "Code_18")) + finally: + conn.close() + + +class _NoRtree: + """A connection whose R-tree does not exist as a module.""" + + def __init__(self, conn: sqlite3.Connection) -> None: + self._conn = conn + + def _check(self, sql: str) -> None: + if "rtree_" in sql: + raise sqlite3.OperationalError("no such module: rtree") + + def execute(self, sql: str, *args: Any) -> sqlite3.Cursor: + self._check(sql) + return self._conn.execute(sql, *args) + + def cursor(self) -> _NoRtree: + return self + + def __getattr__(self, name: str) -> Any: + return getattr(self._conn, name) + + +# ------------------------------------------------------------ the boundaries + + +def _calls(path: Path) -> set[str]: + tree = ast.parse(path.read_text()) + names: set[str] = set() + for node in ast.walk(tree): + if isinstance(node, ast.Call): + func = node.func + if isinstance(func, ast.Name): + names.add(func.id) + elif isinstance(func, ast.Attribute): + names.add(func.attr) + return names + + +def _imports(path: Path) -> set[str]: + tree = ast.parse(path.read_text()) + found: set[str] = set() + for node in ast.walk(tree): + if isinstance(node, ast.Import): + found |= {a.name for a in node.names} + elif isinstance(node, ast.ImportFrom): + found.add(("." * node.level) + (node.module or "")) + return found + + +class TestBoundaries: + """R2: `io/repository.py` stays the one module in `io/` that opens files; + the decoder's stream is the open connection.""" + + def test_the_decoder_opens_nothing(self, gpkg: ModuleType) -> None: + path = SRC / "io" / "geopackage.py" + calls = _calls(path) + assert "connect" not in calls and "open" not in calls + assert not any(m.split(".")[-1] == "pathlib" for m in _imports(path)) + + def test_the_decoder_imports_no_core(self, gpkg: ModuleType) -> None: + assert not any("_core" in m for m in _imports(SRC / "io" / "geopackage.py")) + + def test_only_the_repository_connects(self, gpkg: ModuleType) -> None: + connecting = sorted( + str(p.relative_to(SRC)) + for p in SRC.rglob("*.py") + if "connect" in _calls(p) and "sqlite3" in p.read_text() + ) + assert connecting == ["io/repository.py"] diff --git a/tests/python/test_io_gml.py b/tests/python/test_io_gml.py new file mode 100644 index 00000000..351cd3fa --- /dev/null +++ b/tests/python/test_io_gml.py @@ -0,0 +1,338 @@ +"""`tin_engine.io.gml`: the legacy CORINE GML, read with the standard library (16b-1, Q6). + +`docs/increments/16b-terrain-polygons.md`, "Ruled by Ola", Q6 (b): the 30 MB +`tests/fixtures/corine/0000_4326_corine2018_4e6064_GML.gml` stays and 16b +reads it "as a second real fixture: a small GML2 reader (standard-library XML, +no GDAL, about 40 lines) and a class map for `clc18_kode`". + +**What the file actually is (found by this suite's author, 2026-09-28).** OGR +wrote it as GML2 (`gml:coordinates`, `x,y` pairs, EPSG:4326 longitude first), +and it is **not well-formed XML**: `` is missing after +feature `sql_statement.40965` (line 1097), so the remaining 45 members nest +inside that one, and the document ends without closing it or +``. `xml.etree.ElementTree.parse` refuses it ("no +element found: line 1413"); the legacy reader used `lxml` with `recover=True`. +Every one of its 200 features (`ogr:sql_statement`) is itself complete, and +every one is a `Polygon` (counted below from the file, not typed here). + +Pinned by this suite (see "Pinned by the red suite (16b-1/2)"; the tolerance +of an unclosed end is **a choice this suite made, for Ola to confirm**): + +- `read_gml(stream, attribute) -> GmlDocument`, `stream` a binary stream (the + reader opens nothing). `GmlDocument` has `crs` (the geometries' `srsName`, + or `None` when none gives one), `features` and `complete`. +- A feature is an element with a `fid` attribute directly inside a + `gml:featureMember`; its `fid` is that attribute, its `geometry` the shapely + geometry of its one geometry property (`Polygon` with `outerBoundaryIs` and + `innerBoundaryIs`, `MultiPolygon`, `LineString`, `MultiLineString`, + `Point`; a third coordinate is dropped), and its `value` the text of its + child element named `attribute` (`None` when absent). Features in document + order. +- **Every complete feature is read.** A document that ends, after its last + complete feature, with elements still open is read, and `complete` is + `False`; a well-formed one has `complete` `True`. A document that ends + inside a feature, or has a syntax error, is refused with `GmlError` (a + `ValueError`). +- Geometries naming different `srsName`s are refused. + +HOW THIS FILE GOES RED: `tin_engine.io.gml` is imported inside a fixture. +""" + +from __future__ import annotations + +import ast +import importlib +import io +import re +from pathlib import Path +from types import ModuleType +from typing import Any + +import numpy as np +import pytest +import shapely +from pyproj import Transformer +from shapely.geometry import LineString, MultiLineString, MultiPolygon, Point, Polygon, box + +from gpkg_fixtures import LEGACY_GML + +SRC = Path(__file__).resolve().parents[2] / "src_python" / "tin_engine" +#: The benchmark tile's node rectangle, EPSG:25833. +TILE_7908_3 = box(799_750.0, 7_899_750.0, 850_250.0, 7_950_250.0) + +HEAD = ( + '\n' + "\n' + " 00" + "11\n" +) +TAIL = "\n" + + +@pytest.fixture(scope="module") +def gml() -> ModuleType: + return importlib.import_module("tin_engine.io.gml") + + +def coords(points: Any) -> str: + return " ".join(",".join(repr(float(v)) for v in p) for p in points) + + +def ring(tag: str, points: Any) -> str: + return ( + f"{coords(points)}" + f"" + ) + + +def polygon(shape: Polygon, srs: str | None = "EPSG:4326") -> str: + attr = f' srsName="{srs}"' if srs else "" + inner = "".join(ring("innerBoundaryIs", r.coords) for r in shape.interiors) + return ( + f"{ring('outerBoundaryIs', shape.exterior.coords)}{inner}" + ) + + +def geometry_xml(shape: Any, srs: str | None = "EPSG:4326") -> str: + attr = f' srsName="{srs}"' if srs else "" + if isinstance(shape, Polygon): + return polygon(shape, srs) + if isinstance(shape, MultiPolygon): + members = "".join( + f"{polygon(p, None)}" for p in shape.geoms + ) + return f"{members}" + if isinstance(shape, LineString): + body = f"{coords(shape.coords)}" + return f"{body}" + if isinstance(shape, MultiLineString): + members = "".join( + f"{coords(g.coords)}" + "" + for g in shape.geoms + ) + return f"{members}" + assert isinstance(shape, Point) + return f"{coords(shape.coords)}" + + +def member(fid: str, shape: Any, code: str | None = "311", srs: str | None = "EPSG:4326") -> str: + value = f" {code}\n" if code is not None else "" + return ( + " \n" + f' \n' + f" {geometry_xml(shape, srs)}\n" + f"{value}" + " 99\n" + " \n" + " \n" + ) + + +def document(*members: str, tail: str = TAIL) -> io.BytesIO: + return io.BytesIO((HEAD + "".join(members) + tail).encode("utf-8")) + + +LAND = Polygon( + [(21.0, 70.0), (21.5, 70.0), (21.5, 70.2), (21.0, 70.2)], + [[(21.1, 70.05), (21.2, 70.05), (21.2, 70.1), (21.1, 70.1)]], +) +LAKE = Polygon([(22.0, 70.0), (22.1, 70.0), (22.1, 70.1)]) + + +class TestReadGml: + def test_polygons_with_holes_their_fids_and_values(self, gml: ModuleType) -> None: + doc = gml.read_gml( + document(member("f.1", LAND, "311"), member("f.2", LAKE, "512")), "clc18_kode" + ) + assert doc.complete is True + assert doc.crs == "EPSG:4326" + assert [f.fid for f in doc.features] == ["f.1", "f.2"] + assert [f.value for f in doc.features] == ["311", "512"] + assert shapely.equals_exact(doc.features[0].geometry, LAND, tolerance=0.0) + assert len(doc.features[0].geometry.interiors) == 1 + + def test_coordinates_are_x_then_y_bit_for_bit(self, gml: ModuleType) -> None: + """GML2's `gml:coordinates` as OGR writes it: `x,y` pairs, longitude + first even for EPSG:4326. The reader keeps that order and the doubles.""" + shape = Polygon([(21.123456789012345, 70.98765432109876), (21.5, 70.0), (21.0, 70.5)]) + (feature,) = gml.read_gml(document(member("a", shape)), "clc18_kode").features + assert list(feature.geometry.exterior.coords) == list(shape.exterior.coords) + + @pytest.mark.parametrize( + "shape", + [ + pytest.param(MultiPolygon([LAKE, box(23, 70, 23.1, 70.1)]), id="multipolygon"), + pytest.param(LineString([(21, 70), (21.1, 70.1), (21.3, 70.0)]), id="linestring"), + pytest.param( + MultiLineString([[(21, 70), (21.1, 70.1)], [(22, 70), (22.2, 70.1)]]), + id="multilinestring", + ), + pytest.param(Point(21.0, 70.0), id="point"), + ], + ) + def test_every_accepted_geometry_type(self, gml: ModuleType, shape: Any) -> None: + """Points are read, not refused here: refusing input that is not + geometry is `feature_input`'s, which names the feature and the file.""" + (feature,) = gml.read_gml(document(member("a", shape)), "clc18_kode").features + assert shapely.equals_exact(feature.geometry, shape, tolerance=0.0) + + def test_a_third_coordinate_is_dropped(self, gml: ModuleType) -> None: + text = ( + ' ' + '21,70,5 21.1,70.1,6' + "" + "311\n" + ) + (feature,) = gml.read_gml(document(text), "clc18_kode").features + assert not feature.geometry.has_z + assert list(feature.geometry.coords) == [(21.0, 70.0), (21.1, 70.1)] + + def test_a_missing_attribute_is_none(self, gml: ModuleType) -> None: + (feature,) = gml.read_gml(document(member("a", LAKE, None)), "clc18_kode").features + assert feature.value is None + + def test_another_attribute_is_read_by_name(self, gml: ModuleType) -> None: + (feature,) = gml.read_gml(document(member("a", LAKE)), "sl_sdeid").features + assert feature.value == "99" + + def test_no_srs_name_gives_no_crs(self, gml: ModuleType) -> None: + doc = gml.read_gml(document(member("a", LAKE, srs=None)), "clc18_kode") + assert doc.crs is None + + def test_two_srs_names_are_refused(self, gml: ModuleType) -> None: + with pytest.raises(gml.GmlError): + gml.read_gml( + document(member("a", LAKE), member("b", LAKE, srs="EPSG:4258")), "clc18_kode" + ) + + def test_an_empty_collection_reads_as_nothing(self, gml: ModuleType) -> None: + doc = gml.read_gml(document(), "clc18_kode") + assert doc.features == () or list(doc.features) == [] + assert doc.complete is True + + +class TestMalformed: + """The legacy file's two defects, and what stays refused.""" + + def test_an_unclosed_end_after_complete_features_is_read_and_flagged( + self, gml: ModuleType + ) -> None: + doc = gml.read_gml(document(member("a", LAKE), member("b", LAND), tail=""), "clc18_kode") + assert [f.fid for f in doc.features] == ["a", "b"] + assert doc.complete is False + + def test_a_member_left_open_nests_the_rest_and_all_are_read(self, gml: ModuleType) -> None: + """Line 1097's defect: one `` missing, so the next + members nest inside it and the end is unclosed.""" + broken = member("a", LAKE).replace(" \n", "") + doc = gml.read_gml( + document(broken, member("b", LAND), member("c", LAKE), tail=""), "clc18_kode" + ) + assert [f.fid for f in doc.features] == ["a", "b", "c"] + assert doc.complete is False + + def test_a_document_ending_inside_a_feature_is_refused(self, gml: ModuleType) -> None: + text = HEAD + member("a", LAKE) + member("b", LAND)[:200] + with pytest.raises(gml.GmlError): + gml.read_gml(io.BytesIO(text.encode()), "clc18_kode") + + def test_a_syntax_error_is_refused(self, gml: ModuleType) -> None: + text = ( + HEAD + member("a", LAKE).replace("", "") + TAIL + ) + with pytest.raises(gml.GmlError): + gml.read_gml(io.BytesIO(text.encode()), "clc18_kode") + + @pytest.mark.parametrize( + "text", + [ + pytest.param(b"", id="empty"), + pytest.param(b"not xml at all", id="not-xml"), + pytest.param(b'{"type": "FeatureCollection"}', id="json"), + ], + ) + def test_what_is_not_gml_is_refused(self, gml: ModuleType, text: bytes) -> None: + with pytest.raises(gml.GmlError): + gml.read_gml(io.BytesIO(text), "clc18_kode") + + def test_unparseable_coordinates_are_refused_naming_the_feature(self, gml: ModuleType) -> None: + bad = member("f.bad", LAKE).replace("22.1,70.0", "22.1;70.0") + with pytest.raises(gml.GmlError, match=r"f\.bad"): + gml.read_gml(document(bad), "clc18_kode") + + def test_the_error_is_a_value_error(self, gml: ModuleType) -> None: + assert issubclass(gml.GmlError, ValueError) + + +class TestLegacyFixture: + """The committed file, read whole (30 MB; about a second).""" + + @pytest.fixture(scope="class") + def legacy(self, gml: ModuleType) -> Any: + with LEGACY_GML.open("rb") as stream: + return gml.read_gml(stream, "clc18_kode") + + def test_every_feature_in_the_file_is_read(self, legacy: Any) -> None: + text = LEGACY_GML.read_text(encoding="utf-8") + fids = re.findall(r'', text) + assert len(fids) == 200 + assert [f.fid for f in legacy.features] == fids + assert legacy.complete is False + + def test_the_values_are_the_files_clc_codes(self, legacy: Any) -> None: + text = LEGACY_GML.read_text(encoding="utf-8") + codes = re.findall(r"(\d+)", text) + assert [f.value for f in legacy.features] == codes + + def test_the_crs_is_wgs84_and_every_geometry_a_polygon(self, legacy: Any) -> None: + assert legacy.crs == "EPSG:4326" + assert {f.geometry.geom_type for f in legacy.features} == {"Polygon"} + + def test_holes_are_read(self, legacy: Any) -> None: + text = LEGACY_GML.read_text(encoding="utf-8") + assert sum(len(f.geometry.interiors) for f in legacy.features) == text.count( + "" + ) + + def test_forty_two_features_meet_the_benchmark_tile(self, legacy: Any) -> None: + """Longitude first: read the other way round, no feature lands in + Finnmark at all. The count is this file's, measured when the suite was + written (`sql_statement.11029`, the sea polygon, among them).""" + to_utm = Transformer.from_crs("EPSG:4326", "EPSG:25833", always_xy=True) + hits = [ + f.fid + for f in legacy.features + if shapely.transform(f.geometry, lambda xy: _moved(to_utm, xy)).intersects(TILE_7908_3) + ] + assert len(hits) == 42 + assert "sql_statement.11029" in hits + + +def _moved(transformer: Transformer, xy: Any) -> Any: + x, y = transformer.transform(xy[:, 0], xy[:, 1]) + return np.column_stack([x, y]) + + +class TestBoundaries: + def test_the_reader_opens_nothing_and_uses_only_the_standard_library_xml( + self, gml: ModuleType + ) -> None: + path = SRC / "io" / "gml.py" + tree = ast.parse(path.read_text()) + imported: set[str] = set() + called: set[str] = set() + for node in ast.walk(tree): + if isinstance(node, ast.Import): + imported |= {a.name for a in node.names} + elif isinstance(node, ast.ImportFrom): + imported.add(node.module or "") + elif isinstance(node, ast.Call): + f = node.func + called.add(f.id if isinstance(f, ast.Name) else getattr(f, "attr", "")) + assert "open" not in called + assert not any(m.split(".")[0] in {"lxml", "osgeo", "fiona", "pathlib"} for m in imported) + assert any(m.startswith("xml.") for m in imported) diff --git a/tests/python/test_refine_golden.py b/tests/python/test_refine_golden.py index 6136d4a5..ee1fba7f 100644 --- a/tests/python/test_refine_golden.py +++ b/tests/python/test_refine_golden.py @@ -38,8 +38,9 @@ from test_cli_mesh_domain import geojson, quarter_circle from tin_engine import _core from tin_engine._core import ChainRole -from tin_engine.cli import DEFAULT_SNAP_SPACING, _constraint_arrays, _domain_chains, _engine +from tin_engine.cli import DEFAULT_SNAP_SPACING, ROLES, _constraint_arrays, _engine from tin_engine.domain import read_domain +from tin_engine.features import DEFAULT_VOCABULARY from tin_engine.grid_domain import refine_start_stride, subsample from tin_engine.io.geotiff import decode_dem from tin_engine.raster import to_core @@ -74,7 +75,15 @@ def refined( chains = [(ring, ChainRole.Outer, 0)] else: path = geojson(tmp_path / "quarter.geojson", quarter_circle()) - xy, chains, _ = _domain_chains(read_domain(path), path.name) + # 16b R2: the domain half of the chains moved from `cli._domain_chains` + # to `chains.start_chains` (test amendment in 16b-1/2's red step); the + # digest pins that the move changed nothing. Imported here so that + # collection does not depend on the new module. + from tin_engine.chains import start_chains + + started = start_chains(read_domain(path), (), DEFAULT_VOCABULARY) + xy = started.vertices + chains = [([int(i) for i in c], ROLES[role], int(m)) for c, role, m in started.chains] run = _engine(xy, chains, True, DEFAULT_SNAP_SPACING) assert run.mesh is not None and run.noded is not None, run.message edges, masks = _constraint_arrays(run.mesh, run.noded) From d84701f8a7f1354465fc5032d5e1346db488f99a Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Mon, 28 Sep 2026 19:35:56 +0200 Subject: [PATCH 02/27] 16b-1/2 design: Ola's rulings on the red step's five points (strict GML, margin in metres, pre-clip keeps whole edges, I4 on the noded output, R10/R1/R4) Co-Authored-By: Claude Opus 5.5 --- docs/increments/16b-terrain-polygons.md | 204 ++++++++++++++++++++---- 1 file changed, 169 insertions(+), 35 deletions(-) diff --git a/docs/increments/16b-terrain-polygons.md b/docs/increments/16b-terrain-polygons.md index a6219a0f..bfa71b81 100644 --- a/docs/increments/16b-terrain-polygons.md +++ b/docs/increments/16b-terrain-polygons.md @@ -67,6 +67,20 @@ which this increment gives its first real input with interior constraints. - **16b's own extract is vector** (the GeoPackage's `MULTIPOLYGON`), as is the GML; the only raster land cover in view is MapBiomas for the São Francisco basin, which needs a raster-to-polygon step later. +- **2026-09-28, the red step's five points** (listed at the end of "Pinned by + the red suite (16b-1/2)"): + 1. The legacy GML is not well-formed XML. Ola: **"Repear the broken file."** + The GML reader stays strict and the fixture is repaired (R1, "Test data"). + 2. R5's margin is in the source CRS, and the pre-clip splits edges. Ola: + **"yes, let architect write both fixes"**. The margin is built in metres + in the DEM's CRS, and the pre-clip only drops whole edges (R5). + 3. I4 is restated on the noded output (I4). + 4. R10's "no writer has implemented yet" is corrected (R10). + 5. R1 and R4 list the `.gml` suffix and the `clc18_kode` map. + + Ola's words are recorded for points 1 and 2. Points 3 to 5 are corrections + of this text, which the main session's brief passed on as Ola's rulings of + the same day. ## What was measured @@ -372,23 +386,27 @@ style): ### R1. The input, and the flags - **`--features PATH`**, one source, by suffix: `.geojson`/`.json` is a - GeoJSON `FeatureCollection`; `.gpkg` is a GeoPackage. Anything else is - refused naming the suffix. Several sources in one run are the API's + GeoJSON `FeatureCollection`; `.gpkg` is a GeoPackage; `.gml` is OGR-written + GML2 (Q6; added 2026-09-28). Anything else is refused naming the suffix. + The GML reader is strict: a document that is not well-formed XML is + refused, naming the file and the parser's line (Ola, 2026-09-28). Several sources in one run are the API's (`FeatureRequest.sources` is a tuple) and a later CLI change (Q4). - **Only with `--domain`** (and so only with `--tolerance`, 16 R1). Features are clipped to the confining polygon (R6); the stride-grid path has none. Refused otherwise, as a usage error. - **`--features-crs TEXT`**, anything `crs.parse_crs` reads. GeoJSON: the file's `crs` member, else EPSG:4326 (RFC 7946), exactly `domain.py`'s rule. - GeoPackage: the layer's `srs_id` through `gpkg_spatial_ref_sys` (R3). Given + GeoPackage: the layer's `srs_id` through `gpkg_spatial_ref_sys` (R3). GML: + the geometries' `srsName`; different `srsName`s in one file are refused. Given and disagreeing with the file's own (by `pyproj.CRS` equality) is refused, as for `--domain-crs`. - **`--features-layer NAME`**, GeoPackage only: the features table. Required when the file has more than one `features` row in `gpkg_contents` (CORINE has six: Europe and five overseas departments); the only one otherwise. - Refused for GeoJSON. + Refused for GeoJSON and GML. - **`--features-map NAME`**, one of the built-in class maps (R4): `property` - (the default), `corine`, `corine-water`. A map read from a file is Q4. + (the default), `corine`, `corine-water`, `clc18_kode` (added 2026-09-28). A + map read from a file is Q4. - **Accepted geometry**: `Polygon`, `MultiPolygon`, `LineString`, `MultiLineString`. Z and M are dropped (`shapely.force_2d`). A `Point`, `MultiPoint` or `GeometryCollection` is refused naming the feature: input is @@ -406,6 +424,7 @@ style): | module | holds | imports | |---|---|---| | `io/geopackage.py` (new) | `GpkgLayer` (frozen: table, geometry column, `srs_id`, CRS text, R-tree table or `None`); `layer_info(conn, table)`; `decode_geometry(blob) -> BaseGeometry`; `query_features(conn, layer, box, attribute) -> Iterator[RawFeature]` | `sqlite3` (types only), `struct`, shapely, pydantic | +| `io/gml.py` (new, Q6; added 2026-09-28) | `GmlError`, `GmlDocument`; `read_gml(stream, attribute)`, strict (R1) | `xml.etree` (standard library), shapely | | `io/repository.py` | adds `open_geopackage(path) -> sqlite3.Connection`, read-only | as today, plus `sqlite3` | | `tin_engine/feature_input.py` (new) | `ClassMap`, the built-in maps; `FeatureSource`, `FeatureRequest`; `TerrainFeature`, `FeatureSet`; `FeatureError`; `open_features(request, domain, dem_crs) -> FeatureSet` | json, shapely, numpy, pydantic, `crs`, `domain`, `features`, `io.repository`, `io.geopackage` | | `tin_engine/chains.py` (new) | `StartChains`; `start_chains(domain, features, vocabulary)`: 16 R6's table as code. `cli._domain_chains` moves here and is its first half | numpy, shapely, `domain`, `feature_input`, `features` | @@ -487,6 +506,8 @@ class ClassMap(BaseModel): # frozen, extra="forbid" (5 = water bodies; `Legend/CLC_legend.csv`), which the legacy used too. - `corine-water`: the same five codes map to `("water",)`; `otherwise = "drop"`. Only shorelines, river banks and the coast. + - `clc18_kode` (Q6; added 2026-09-28): `corine`'s classes and default, + keyed on attribute `clc18_kode`, the legacy GML's name for the CLC code. - **A shared edge gets the union** of its two features' masks: the noder's existing merge (increment 7, "Union, not priority"). A CORINE edge between a lake and a forest carries `land_cover | water`; so does one between a @@ -500,8 +521,9 @@ class ClassMap(BaseModel): # frozen, extra="forbid" - **Vocabulary additions** (Q3): `land_cover` at bit 7 and `water` at bit 8. `coastline` (bit 3) stays for linear coastline data; CORINE's sea boundary is `water`, because a lagoon or estuary boundary is water too. - The fingerprint changes; no stored artifact carries one yet (R10 is the - first), so nothing is invalidated. + The fingerprint changes. *Corrected 2026-09-28:* `.vtk` and edge `.ply` + files already carry it (R10), so a file written before 16b carries the old + fingerprint; that difference is what the fingerprint is for. ### R5. CRS, and what is read @@ -510,20 +532,69 @@ class ClassMap(BaseModel): # frozen, extra="forbid" one `from_crs` site, `always_xy`. A vertex with no image (`inf`) is refused, naming the feature. `features_crs` and `features_transform` are recorded (R10). -- **The region.** The domain (already in the DEM's CRS) has its boundary - densified to at most 1 km per segment and transformed into the source CRS; - its convex hull, buffered by 100 m, is the region. The GeoPackage query box - is the region's bounds. The 100 m is a safety margin, not a tolerance: - a 1 km chord bends between two conformal or equal-area projections by - orders of magnitude less (15 B7 measured millimetres per kilometre within a - UTM zone), and anything the margin lets in is clipped exactly in R6. -- **The pre-clip.** Each candidate geometry is intersected with the region - in the source CRS before it is reprojected. This bounds the work by the - domain, not by the feature: CORINE's sea polygon is 360 000 vertices (M1), - of which a catchment needs a few thousand; and it keeps vertices far from - the domain out of a transform that may have no image for them. The - pre-clip only removes geometry the exact clip would remove; I4 pins that - it changes nothing inside the domain. +- **The region** (*revised 2026-09-28, Ola's ruling on the red step's point + 2*). The domain, in the DEM's CRS, is buffered by 100 m there, in metres + (the DEM's CRS is projected: 15b R9; a geographic DEM is 15c's). The + buffered boundary is densified to at most 1 km per segment and transformed + into the source CRS. The region is the convex hull of those points, and the + GeoPackage query box is the region's bounds. The first design buffered in + the source CRS, which for an EPSG:4326 source, such as the legacy GML, is + 100 degrees. + The 100 m is a safety margin, not a tolerance. The hull's edges are + straight in the source CRS; the buffered boundary's image bends away from + them by at most the bend of a 1 km chord between the two CRSs. That is + millimetres within a UTM zone (15 B7), and 3-6 cm between EPSG:4326 and + UTM 33 at 60-71° N (measured 2026-09-28 with pyproj: a 1 km east-west or + diagonal chord at 15° E, sampled at 2001 points; north-south chords do not + bend). So the region holds the domain's image with close to 100 m to spare, + and anything the margin lets in is clipped exactly in R6. +- **The pre-clip drops whole edges and never splits one** (*revised + 2026-09-28, the same ruling*). The first design intersected each geometry + with the region. That adds a vertex where an edge crosses the region's + boundary. Features are reprojected vertex by vertex, with edges straight in + the DEM's CRS (above), so a split source edge becomes two DEM-straight + pieces bent at the new vertex, and inside the domain the piece from the new + vertex follows a different line than the unsplit edge would. The shift is + the edge's own bend: zero for a short edge, 3-6 m for a 10 km edge between + EPSG:4326 and UTM 33 (measured as above). The rule instead: + - Each polygon ring is a closed sequence of edges; each line an open one. + An edge is **kept** when the closed segment, straight in the source CRS, + meets the closed region; otherwise it is outside. + - Each maximal run of outside edges is dropped. Kept edges keep their + original vertices; the pre-clip adds no vertex. + - **A ring with no edge dropped stays one closed ring**, with its original + start vertex. **A ring that loses edges becomes open chains**, one per + maximal run of kept edges; the run through the ring's start vertex is one + chain, joined across the start. A line becomes one open chain per run of + kept edges. A feature with no kept edge is dropped and counted outside. + - The exact clip (R6), in the DEM's CRS, does the real cutting on what is + left. + + This bounds the work by the domain, not by the feature: CORINE's sea + polygon is 360 000 vertices (M1), of which a catchment needs a few + thousand. It keeps vertices far from the domain out of the transform, + except the far end of a kept edge, which lies at most one edge length away. +- **Checked against R6 and I5.** A ring the pre-clip opens had an edge outside + the region, and so outside the domain (within the long-edge limit below), + so R6 would have cut it anyway; it + enters R6 as open chains and leaves as open pieces, which is I5's "clipped + ring". A ring wholly inside the domain loses no edge, stays closed, and + enters as one closed `Breakline` (I5). A ring kept closed but crossing the + domain boundary is cut by R6, as before. In every case the in-domain pieces + lie on the same DEM-straight edges, with the same vertices and the same + crossings with the domain boundary, as without the pre-clip; they may start + at a different vertex or be split at an original vertex. That is why I4 is + stated on the noded output. +- **Open for Ola (2026-09-28): the long-edge limit.** The edge test is made in + the source CRS, where the edge is straight; the engine uses the + DEM-straight edge. The two differ by the edge's bend. An edge that misses + the region in the source CRS can reach the domain in the DEM's CRS only if + its bend exceeds the margin: between EPSG:4326 and UTM 33 that is an + east-west or diagonal edge of roughly 40-55 km or more (measured as above: 30 + km bends 31-55 m, 100 km 340-610 m, at 60-71° N). CORINE's edges are far + shorter; a hand-made GeoJSON need not be. Not decided here: accept and + document the limit, or make the edge test also keep edges long enough to + bend past the margin. - **GeoJSON sources** are read whole (`json.loads`, as `domain.py`), then filtered by `intersects(region)` and pre-clipped the same way. Streaming large GeoJSON is not needed at this scale (the 2026-09-27 probe's CORINE @@ -538,7 +609,8 @@ polygon is 16b's ruling"). - **Each polygon ring and each line is clipped as a line**: `shapely.intersection(ring_as_linestring, domain.polygon)` in the DEM's CRS, domain holes included. What is outside the domain is dropped; a feature - wholly outside is dropped and counted. + wholly outside is dropped and counted. A ring the pre-clip opened (R5) + arrives as open chains, and each is clipped the same way (2026-09-28). - **Not an area clip.** `polygon ∩ domain` would give each clipped polygon a stretch of the domain's own boundary as a ring edge, so the domain boundary would carry `land_cover` bits wherever a polygon was cut. Clipping rings as @@ -727,11 +799,20 @@ builds returned `Ok`. M3's attribution holds, and 16b-0 is scoped as designed. - **`features_crs`** and **`features_transform`**, as `domain_crs` and `domain_transform` (15b). - **`edge_vocabulary`**: `DEFAULT_VOCABULARY.fingerprint()` and the names by - bit (`0 river, 1 road, ..., 7 land_cover, 8 water`). This is increment 7's - mechanism 2 ("a field of whatever serialized artifact carries a mesh"), - which no writer has implemented yet: without it the edge masks in the file - cannot be read. Written whenever the file has an edge block, features or - not. + bit (`0 river, 1 road, ..., 7 land_cover, 8 water`). *Corrected + 2026-09-28:* this is increment 7's mechanism 2 ("a field of whatever + serialized artifact carries a mesh"), and the writers already implement it. + Every `.vtk` carries the reserved fields `feature_bits`, `feature_names` + and `feature_vocabulary` (the fingerprint) + (`src_python/tin_engine/io/vtk_legacy.py`, `write_vtk`), and the edge `.ply` + carries `feature_bit ` comments and a `feature_vocabulary + ` comment (`io/ply.py`, `write_ply`, as `cli.py` calls it). + An `edge_vocabulary` field would therefore be a duplicate of what both + formats already record. **Open for Ola, not decided here:** (a) drop + `edge_vocabulary`, since the files already say what their masks mean; or + (b) keep the one-line form as the report's own record (stderr and + `--stats`), not as a file field. The red suite pins it as a `.vtk` field + on every run (`test_cli_mesh_features.py`), which is the duplicate. - **`features_notice`**: the map's `notice`, when it has one. The CORINE maps carry the Copernicus attribution (see "Test data"), because a mesh built from CORINE and shared must say so and say it was modified. @@ -776,8 +857,13 @@ builds returned `Ok`. M3's attribution holds, and 16b-0 is scoped as designed. domain's closure by more than that. - **I3. Determinism.** The same request gives a bit-identical file whatever order SQLite returns candidate rows in. -- **I4. The pre-clip changes nothing inside the domain.** The engine input is - identical with the pre-clip and without it. +- **I4. The pre-clip changes nothing inside the domain** (*restated + 2026-09-28*). The noded constraint edges and their masks are the same with + the pre-clip and without it. The first statement ("the engine input is + identical") cannot hold: GEOS may start a clipped ring piece at a + different vertex, which changes the chains but not the noded graph. Since + the pre-clip keeps whole edges (R5), I4 holds exactly, for an EPSG:4326 + source too, within R5's long-edge limit. - **I5. Ring shape.** A ring wholly inside the domain enters as one closed `Breakline` (first index repeated); a clipped ring as open `Breakline`s; a line as open `Breakline`s. No feature chain is `Outer` or `Hole`. @@ -808,6 +894,8 @@ builds returned `Ok`. M3's attribution holds, and 16b-0 is scoped as designed. | SQLite without the R-tree module | refused, naming the cause (R3) | | a blob with `srs_id` other than the layer's, an extended type, a bad magic or version, envelope code 5-7 | refused, naming the row (R3) | | not a GeoPackage (`application_id`) | refused (R3) | +| a GML document that is not well-formed XML | refused, naming the file and line (R1; 2026-09-28) | +| a source edge crossing the region's boundary | kept whole, original vertices; never split (R5; 2026-09-28) | ## Not in scope @@ -817,7 +905,9 @@ builds returned `Ok`. M3's attribution holds, and 16b-0 is scoped as designed. - Several `--features` in one CLI run, and a class map read from a file (Q4). - Grade separation (increment 8, ruling 1: never). - Python-side deduplication of shared edges (R7; kept in pocket). -- Streaming GeoJSON; reading GML, Shapefile, FlatGeobuf or any other format. +- Streaming GeoJSON; reading Shapefile, FlatGeobuf or any other format. (GML + was here until Q6 brought OGR-written GML2 in; general GML, and recovering + malformed XML, stay out.) - Changing the quality start or feet (20c). ## Sub-increments and LOC @@ -878,8 +968,9 @@ its part in full. Suites: `tests/python/test_io_geopackage.py`, closed; the legacy reader used `lxml` with `recover=True`). The suite pins: every complete feature is read, `complete` is `False` for an unclosed end, and a document ending inside a feature or with a syntax error is refused. - **Open for Ola:** accept this tolerance, or repair the fixture (two closing - tags, a 30 MB blob rewritten) and keep the reader strict. + *Superseded 2026-09-28:* Ola ruled "Repear the broken file." The reader is + strict and the fixture is repaired (R1, "Test data"); see "Consequences for + the red suite" below. - `feature_input`: `ClassMap`; `CLASS_MAPS` with `property`, `corine`, `corine-water`, `clc18_kode` (`corine` keyed on the GML's attribute); `FeatureSource(path, class_map, layer=None, crs=None)`; @@ -906,7 +997,43 @@ its part in full. Suites: `tests/python/test_io_geopackage.py`, the source CRS, which for EPSG:4326 (the legacy GML, Ola's own case) is not metres; `.vtk` already carries `feature_vocabulary` (fingerprint) and `feature_bits`/`feature_names`, so R10's "no writer has implemented yet" is -not so and `edge_vocabulary` partly duplicates them. +not so and `edge_vocabulary` partly duplicates them. *Ruled 2026-09-28*, with +the pre-clip's edge splitting and I4, R1 and R4: see "Ruled by Ola". + +#### Consequences for the red suite (2026-09-28) + +What `@tester` changes to match the rulings. No mutation rounds. + +- **GML, strict.** `test_io_gml.py`: drop `complete` from `GmlDocument` and + the tests that read an unclosed end; a document that is not well-formed + XML, including one with elements left open at the end, is refused with + `GmlError`. The legacy fixture test reads the repaired file: 200 features, + all `Polygon`. +- **The fixture repair**, test support: a script under + `tests/fixtures/corine/` that inserts `` after the + `` closing `sql_statement.40965` (line 1097) and + appends ``, refuses to run on a file that does not + have exactly that defect, and is rerunnable from the 2020 blob + (`8e30af4`). The repaired file is committed. `NOTICE` entry 2 says it was + repaired, by which script, and replaces "kept exactly as committed in + 2020" and the reader's tolerance. +- **Region in metres.** A test that the region of an EPSG:4326 source holds + the domain's image buffered by close to 100 m and not 100 degrees (for + example, its bounds are within about 0.01° of the domain's image). +- **Pre-clip keeps whole edges.** Unit tests on the rule in R5: a ring + wholly inside stays closed with its start vertex; a ring losing one run + becomes one open chain joined across its start; a ring losing two runs + becomes two chains; a line losing its middle becomes two chains; no output + vertex is new. +- **The 4326 long-edge case.** A GeoJSON feature in EPSG:4326 over a UTM 33 + synthetic DEM with one east-west edge of about 10 km that crosses the + region's boundary near its middle, where the bend is largest, and enters + the domain: the in-domain noded edges equal + the no-pre-clip pipeline's (I4), where splitting at the region boundary + would have moved them by metres. The test should fail against a pre-clip + that intersects with the region. +- **I4's existing test stays** on the noded output, as pinned above. +- **`edge_vocabulary`**: unchanged until Ola rules R10's open point. ## Tests for `@tester` @@ -955,8 +1082,9 @@ Everything else is unit, property or integration testing: vocabulary lacks (refused when the run starts). - **CRS**: a GeoJSON in EPSG:4326 over a 25833 synthetic DEM; a GeoPackage in 3035; `--features-crs` agreeing and disagreeing; a vertex with no image. -- **Region and pre-clip**: I4 on the extract (engine input with and without - the pre-clip, compared bit for bit). +- **Region and pre-clip**: I4 on the extract, compared on the noded edges + and masks (restated 2026-09-28), plus the cases in "Consequences for the + red suite". - **Clip degeneracies** from the table above, one fixture each. - **Determinism**, I3: the extract's rows returned in a shuffled order (a second GeoPackage written with rows inserted in reverse) gives a @@ -1018,6 +1146,12 @@ Everything else is unit, property or integration testing: (`legacy/tests/test_gml_repository.py:18`). 16b's PR adds the same attribution for it, or removes it if Ola prefers (Q6), per the rule that a documentation defect found in an increment is fixed in its PR. +- **The GML fixture is repaired** (Ola, 2026-09-28: "Repear the broken + file."). It lacks a `` after feature + `sql_statement.40965` (line 1097) and the closing root tag. The two tags are + added by a script in `tests/fixtures/corine/`, which is reproducible from the + 2020 blob, and `NOTICE` records the repair and names the script. The file + is then well-formed, and the strict reader (R1) reads it. ## Acceptance From 413e91b6490f162ba32bf61ef9f3e19e176a2d3a Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Mon, 28 Sep 2026 19:36:39 +0200 Subject: [PATCH 03/27] 16b-1/2 design: the ruling attribution made exact (Ola's yes covers points 2 and 3; 4 and 5 are corrections) Co-Authored-By: Claude Opus 5.5 --- docs/increments/16b-terrain-polygons.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/increments/16b-terrain-polygons.md b/docs/increments/16b-terrain-polygons.md index bfa71b81..49230045 100644 --- a/docs/increments/16b-terrain-polygons.md +++ b/docs/increments/16b-terrain-polygons.md @@ -78,9 +78,9 @@ which this increment gives its first real input with interior constraints. 4. R10's "no writer has implemented yet" is corrected (R10). 5. R1 and R4 list the `.gml` suffix and the `clc18_kode` map. - Ola's words are recorded for points 1 and 2. Points 3 to 5 are corrections - of this text, which the main session's brief passed on as Ola's rulings of - the same day. + Ola's words are recorded for points 1 and 2; the second ("yes, let + architect write both fixes") covers points 2 and 3. Points 4 and 5 are + corrections of this text found by the red step, not rulings. ## What was measured From 3990449de435d36334031673301e52fbdd31a63e Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Mon, 28 Sep 2026 19:43:00 +0200 Subject: [PATCH 04/27] 16b-1/2 red: aligned with the amended design (strict GML + repaired fixture, margin in metres, whole-edge pre-clip) test_io_gml.py: the reader is strict (GmlDocument has no `complete`; an unclosed root, a member left open, and both together are refused with GmlError naming the parser's line); the legacy file read is the repaired one, 200 Polygon features; tests of the repair script against the 2020 blob. tests/fixtures/corine/repair_gml.py adds the two missing closing tags (Ola: "Repear the broken file."), runs only on the 2020 file (git blob 97ddc98, 8e30af4), and repaired the committed file; NOTICE entry 2 says so. test_feature_input.py: source_region is the domain plus about 100 m in the DEM's CRS, for 4326, 3035 and 25833 sources; pre_clip keeps whole edges (closed ring kept with its start, one run joined across the start, two runs, a line losing its middle or ends, a corner touch, no vertex added, nothing kept); a 10 km EPSG:4326 east-west edge across the region boundary gives the no-pre-clip noded edges (an intersecting pre-clip moves the domain crossing 3.26 m). The increment file pins the two new names. Co-Authored-By: Claude Opus 5.5 --- docs/increments/16b-terrain-polygons.md | 7 + .../0000_4326_corine2018_4e6064_GML.gml | 2 + tests/fixtures/corine/NOTICE | 15 +- tests/fixtures/corine/repair_gml.py | 88 +++++++ tests/python/test_feature_input.py | 217 +++++++++++++++++- tests/python/test_io_gml.py | 157 ++++++++++--- 6 files changed, 442 insertions(+), 44 deletions(-) create mode 100644 tests/fixtures/corine/repair_gml.py diff --git a/docs/increments/16b-terrain-polygons.md b/docs/increments/16b-terrain-polygons.md index 49230045..16639754 100644 --- a/docs/increments/16b-terrain-polygons.md +++ b/docs/increments/16b-terrain-polygons.md @@ -992,6 +992,13 @@ its part in full. Suites: `tests/python/test_io_geopackage.py`, - I4 is tested after the noder (same noded edges and masks as the test's own no-pre-clip pipeline), not as identical engine input: GEOS may split a ring piece at the ring's own start, which changes the chains but not the graph. +- *Aligned with the rulings, 2026-09-28:* `read_gml(stream, attribute) -> + GmlDocument(crs, features)`, strict, its refusal naming the parser's line; + `feature_input.source_region(domain, dem_crs, source_crs) -> Polygon` in the + source CRS; `feature_input.pre_clip(geometry, region) -> tuple[LineString, + ...]` in the source CRS, a polygon's exterior's chains then each hole's, a + closed ring repeating its first vertex. The fixture repair is + `tests/fixtures/corine/repair_gml.py`. **Open design points found in the red step:** R5's 100 m region buffer is in the source CRS, which for EPSG:4326 (the legacy GML, Ola's own case) is not diff --git a/tests/fixtures/corine/0000_4326_corine2018_4e6064_GML.gml b/tests/fixtures/corine/0000_4326_corine2018_4e6064_GML.gml index 97ddc98c..6b25f85e 100644 --- a/tests/fixtures/corine/0000_4326_corine2018_4e6064_GML.gml +++ b/tests/fixtures/corine/0000_4326_corine2018_4e6064_GML.gml @@ -1095,6 +1095,7 @@ 332 99752 + 26.016936067606984,71.098900702887136 26.016613072276421,71.09845061623686 26.015927362491539,71.098334923056157 26.009025082678622,71.098074276032222 26.006951045772734,71.09806322913083 26.004174309793246,71.098272634883585 26.003471520345006,71.098493017887975 26.000003309472401,71.098698763164791 25.993781045211591,71.098665285370487 25.991027011151434,71.098426279974376 25.989655898272776,71.098194716458835 25.987593594624968,71.097959292209651 25.984851221080326,71.097496041617106 25.98417138396956,71.097268213706414 25.983486172172952,71.09715238872856 25.983163693053452,71.096702267353692 25.98248390438151,71.096474434736535 25.981815916453634,71.09602241889192 25.981136358805955,71.095794473257484 25.980468235422673,71.095342561839203 25.979800331717819,71.094890539272058 25.979144021253546,71.094214355870292 25.979248907304548,71.092197324447667 25.97996356345914,71.091752847448376 25.980332192809687,71.091306514809247 25.981028987849246,71.091198171498391 25.981731703701467,71.09097778057378 25.982434744173819,71.090757453271792 25.983137165349017,71.090537078377608 25.984525223938402,71.090432659352885 25.984893930710911,71.089986209942509 25.985274255949179,71.089315779025767 25.984589048767663,71.089199978843013 25.983909505633733,71.088972152021924 25.982539067062717,71.088740451155019 25.981859564113712,71.088512617466577 25.980483576481713,71.088393015617171 25.980149447902523,71.088166983453689 25.979815665359464,71.087941017855329 25.978439660865217,71.087821313649002 25.977754544188276,71.087705490485007 25.977086983402629,71.087253462139969 25.976401897220001,71.087137633650372 25.975716553362592,71.087021823853149 25.975740016387391,71.086573489466218 25.975054696757233,71.086457677956787 25.973696305789947,71.086001936228556 25.9730171213101,71.085773875278349 25.972332181358787,71.085658121716335 25.972355794772163,71.085209875789829 25.970979832042943,71.085090229147127 25.968918849958957,71.084854631420797 25.968239831924002,71.084626643700943 25.962027795469883,71.08448014955124 25.96165893370436,71.08492653447891 25.961301746435129,71.085148674100921 25.960604793963206,71.085256969837801 25.959908024680011,71.085365154314871 25.959538694831547,71.085811381201168 25.95915763694731,71.086481852964312 25.959842601151333,71.086597739472623 25.961212817004796,71.086829484554926 25.963285649352262,71.086841004154977 25.964678980480706,71.086624629867956 25.970212406457222,71.086543167213151 25.970153690284576,71.087663796685007 25.965310951149878,71.087748995758773 25.964614195335763,71.087857284883057 25.964256730346445,71.088079451300914 25.963554112696947,71.088299674075046 25.962839280247749,71.08874418036612 25.962458488108499,71.089414551094535 25.967289796418335,71.089553400251461 25.968648100994518,71.090009295198968 25.969327576275752,71.090237261947848 25.972080017234287,71.090476674595322 25.973450644116308,71.090708336965676 25.974135576400272,71.090824195861714 25.974422836793345,71.091946716476841 25.975102110478701,71.092174597565119 25.975008483429303,71.093967558502044 25.97429391168416,71.094411999622764 25.973590999482202,71.09463236694819 25.973233718858928,71.094854443452448 25.971845450357154,71.094958963677385 25.970451363231835,71.095175412913804 25.969057056876846,71.095391961346991 25.966971579059813,71.095604577387761 25.966274301371495,71.095712896116837 25.966584619228424,71.096387117238663 25.966918476516646,71.096613196009841 25.968986250538926,71.096736609362338 25.973134041352218,71.096759544686165 25.975899210575193,71.096774633758926 25.976584705411774,71.096890551474772 25.976918614554545,71.097116524748358 25.977586794224894,71.097568535691366 25.978254740479489,71.098020567079288 25.978934272172864,71.098248435378622 25.979567304471541,71.099372876295959 25.98023562667759,71.099824879526935 25.980915243311593,71.100052741973741 25.981249262040411,71.100278708437358 25.984020648782082,71.10018174727827 25.98472363415808,71.099961340940581 25.98818055863735,71.099980123505475 25.989552038963382,71.100211676396242 25.99023772982742,71.100327546339926 25.990203117462784,71.100999963094068 25.990888962570917,71.101115635697752 25.992951635923525,71.101351025707316 25.999854876718068,71.101612302138179 26.004689349235104,71.101750161467919 26.0044117897178,71.100403583716115 26.004111662750201,71.099505241388613 26.006185843432334,71.099516316760173 26.006508889843033,71.099966400525417 26.006809398728841,71.100864717960306 26.007494876365993,71.100980463364522 26.008855103475881,71.101435979101666 26.015067046094813,71.101693064712379 26.015747393541972,71.101920787235827 26.01643330044066,71.10203657066927 26.016411277766252,71.102454635244342 26.019182434254844,71.102387276824203 26.019880561947637,71.102255581502163 26.020247577438965,71.101832368768257 26.020961453995522,71.10138785395408 26.021340864709845,71.100717154909475 26.019963331611194,71.100597952666305 26.018591921314425,71.100366477210457 26.016522919561364,71.100243612567454 26.016902605148871,71.099573097108888 26.016936067606984,71.098900702887136 @@ -1410,3 +1411,4 @@ 99981 + diff --git a/tests/fixtures/corine/NOTICE b/tests/fixtures/corine/NOTICE index 8e6cb300..3c5b1ddf 100644 --- a/tests/fixtures/corine/NOTICE +++ b/tests/fixtures/corine/NOTICE @@ -48,8 +48,13 @@ in a Norwegian redistribution's schema (attributes clc18_kode and sl_sdeid), written by OGR as GML 2 (gml:coordinates). Modified (before it reached this repository): selected, reprojected to -EPSG:4326 and re-encoded as GML. The file is also not well-formed XML: a - is missing after feature sql_statement.40965 (line 1097) -and the document ends without closing its root element. It is kept exactly as -committed in 2020; the reader in src_python/tin_engine/io/gml.py reads every -complete feature and reports the document as incomplete. +EPSG:4326 and re-encoded as GML. + +Modified (in this repository, increment 16b, 2026-09-28): repaired to be +well-formed XML (Ola: "Repear the broken file."). As committed in 2020 the +file lacked a after feature sql_statement.40965 (line +1097) and ended without closing its root element. repair_gml.py in this +directory adds exactly those two closing tags and changes nothing else; it +runs only on the 2020 file (git blob 97ddc98, commit 8e30af4) and is +reproducible from it, as its docstring shows. The reader in +src_python/tin_engine/io/gml.py is strict and reads the repaired file. diff --git a/tests/fixtures/corine/repair_gml.py b/tests/fixtures/corine/repair_gml.py new file mode 100644 index 00000000..cb035540 --- /dev/null +++ b/tests/fixtures/corine/repair_gml.py @@ -0,0 +1,88 @@ +"""Repair the legacy CORINE GML so that it is well-formed XML. + + git show 8e30af4:.circleci/rasputin_data/corine/0000_4326_corine2018_4e6064_GML.gml \ + > /tmp/gml-2020.gml + python tests/fixtures/corine/repair_gml.py /tmp/gml-2020.gml \ + tests/fixtures/corine/0000_4326_corine2018_4e6064_GML.gml + +Test support, not production code (`docs/increments/16b-terrain-polygons.md`, +"Test data": Ola, 2026-09-28, "Repear the broken file."). The file as +committed in 2020 (`8e30af4`) has two defects and no others: + +1. `` is missing after the `` that + closes feature `sql_statement.40965` (line 1097), so the next 45 members + nest inside it; +2. the document ends without ``. + +This script adds exactly those two closing tags and changes nothing else. It +refuses any input other than the 2020 file (checked by its git blob hash, and +then by the defect itself), so running it on the repaired file, or on any +other file, is refused and writes nothing. The output is checked to be +well-formed and to hold 200 feature members before it is written. + +Standard library only. +""" + +from __future__ import annotations + +import hashlib +import sys +import xml.etree.ElementTree as ET +from pathlib import Path + +#: The git blob hash of the file committed in 8e30af4. +BLOB_2020 = "97ddc98c4262b6b817e96cd91a23720b9b94d2a5" +FEATURE = ' \n' +CLOSE_FEATURE = " \n" +OPEN_MEMBER = " \n" +CLOSE_MEMBER = " \n" +CLOSE_ROOT = "\n" +MEMBERS = 200 + + +class RepairError(ValueError): + """The input is not the 2020 file with exactly the known defect.""" + + +def blob_hash(data: bytes) -> str: + return hashlib.sha1(b"blob %d\0" % len(data) + data).hexdigest() + + +def repair(data: bytes) -> bytes: + """The 2020 file's bytes -> the repaired file's bytes.""" + if blob_hash(data) != BLOB_2020: + raise RepairError(f"not the 2020 file: git blob {blob_hash(data)}, expected {BLOB_2020}") + lines = data.decode("utf-8").splitlines(keepends=True) + if lines.count(FEATURE) != 1: + raise RepairError("feature sql_statement.40965 is not in the file exactly once") + at = lines.index(FEATURE) + close = lines.index(CLOSE_FEATURE, at) + if lines[close + 1] != OPEN_MEMBER: + raise RepairError(f"line {close + 2} does not open the next member unclosed") + if lines[-1] != CLOSE_MEMBER or CLOSE_ROOT in lines: + raise RepairError("the document does not end with its root left open") + repaired = "".join([*lines[: close + 1], CLOSE_MEMBER, *lines[close + 1 :], CLOSE_ROOT]) + root = ET.fromstring(repaired.encode("utf-8")) # raises ParseError if not well-formed + members = root.findall("{http://www.opengis.net/gml}featureMember") + if len(members) != MEMBERS: + raise RepairError(f"the repaired document has {len(members)} members, not {MEMBERS}") + return repaired.encode("utf-8") + + +def main(argv: list[str]) -> int: + if len(argv) != 3: + print(__doc__, file=sys.stderr) + return 2 + src, dst = Path(argv[1]), Path(argv[2]) + try: + out = repair(src.read_bytes()) + except RepairError as err: + print(f"{src}: {err}; nothing written", file=sys.stderr) + return 1 + dst.write_bytes(out) + print(f"{dst}: repaired, git blob {blob_hash(out)}") + return 0 + + +if __name__ == "__main__": + sys.exit(main(sys.argv)) diff --git a/tests/python/test_feature_input.py b/tests/python/test_feature_input.py index adff94c4..eeb1661f 100644 --- a/tests/python/test_feature_input.py +++ b/tests/python/test_feature_input.py @@ -41,7 +41,7 @@ import numpy as np import pytest import shapely -from pyproj import CRS +from pyproj import CRS, Transformer from shapely.geometry import ( GeometryCollection, LineString, @@ -673,3 +673,218 @@ def test_i4_the_extract_gives_the_same_noded_graph_as_no_pre_clip(self) -> None: ) expected = ff.run_engine(ff.start(domain, oracle_features)) assert produced.masks == expected.masks + + +# ------------------------------------------------ the region, in metres (R5) + +WGS84 = "EPSG:4326" + + +class TestRegion: + """R5 as revised on 2026-09-28: the domain is buffered by 100 m in the + DEM's CRS, densified, moved into the source CRS, and the region is the + convex hull. Pinned: `source_region(domain, dem_crs, source_crs)`, a + shapely `Polygon` in the source CRS. The first design buffered in the + source CRS, which for EPSG:4326 is 100 degrees.""" + + @pytest.mark.parametrize("source_crs", [WGS84, LAEA, UTM33]) + def test_the_region_is_the_domain_plus_about_100_metres( + self, fi: ModuleType, source_crs: str + ) -> None: + """Moved back into the DEM's CRS, the region holds the domain with + at least 90 m to spare and reaches no more than 150 m from it (a + mitred corner of a 100 m buffer is 141 m out).""" + region = fi.source_region(BOX, UTM33, source_crs) + assert isinstance(region, Polygon) + back = moved(region, source_crs, UTM33) + assert back.contains(BOX.polygon.buffer(90.0)) + assert BOX.polygon.buffer(150.0).contains(back) + + def test_a_wgs84_region_is_hundredths_of_a_degree_not_degrees(self, fi: ModuleType) -> None: + """The case the first design got wrong: at 59.5° N, 100 m is about + 0.0009° of latitude and 0.0018° of longitude.""" + region = fi.source_region(BOX, UTM33, WGS84) + image = moved(BOX.polygon, UTM33, WGS84).bounds + grown = np.subtract(region.bounds, image) * [-1, -1, 1, 1] + assert np.all(grown > 0.0) + assert np.all(grown < 0.01) + + +# ------------------------------------ the pre-clip drops whole edges (R5) + +#: A region in some source CRS; the pre-clip is pure geometry in that CRS. +REGION = Polygon([(0, 0), (10, 0), (10, 10), (0, 10)]) + + +def chains(fi: ModuleType, geometry: Any) -> list[list[tuple[float, float]]]: + return [[(float(x), float(y)) for x, y in c.coords] for c in fi.pre_clip(geometry, REGION)] + + +class TestPreClipKeepsWholeEdges: + """R5 as revised on 2026-09-28. Pinned: `pre_clip(geometry, region)`, a + tuple of `LineString`s in the source CRS: a polygon's exterior's chains, + then each hole's; a closed ring repeats its first vertex. An edge is kept + when the closed segment meets the closed region; each maximal run of + edges that miss it is dropped; no vertex is added.""" + + def test_a_ring_wholly_inside_stays_closed_with_its_start_vertex(self, fi: ModuleType) -> None: + ring = Polygon([(6, 2), (8, 2), (8, 8), (2, 8)]) + assert chains(fi, ring) == [list(ring.exterior.coords)] + + def test_a_ring_poking_out_with_no_edge_wholly_outside_stays_closed( + self, fi: ModuleType + ) -> None: + """Every edge meets the region (the long one only at its corner + (10, 10)), so none is dropped, although two vertices lie outside. The + exact clip in the DEM's CRS cuts it later.""" + ring = Polygon([(5, 5), (15, 5), (5, 15)]) + assert chains(fi, ring) == [list(ring.exterior.coords)] + + def test_a_ring_losing_one_run_is_one_open_chain_joined_across_its_start( + self, fi: ModuleType + ) -> None: + """Edge (20, 5)-(20, 8) misses the region. What is left runs from its + far end, through the ring's start (5, 5), to its near end.""" + ring = Polygon([(5, 5), (8, 5), (20, 5), (20, 8), (8, 8)]) + assert chains(fi, ring) == [[(20, 8), (8, 8), (5, 5), (8, 5), (20, 5)]] + + def test_a_ring_losing_two_runs_is_two_open_chains(self, fi: ModuleType) -> None: + ring = Polygon([(5, 2), (20, 2), (20, 4), (5, 4), (5, 6), (20, 6), (20, 8), (2, 8)]) + got = sorted(chains(fi, ring)) + assert got == sorted( + [ + [(20, 4), (5, 4), (5, 6), (20, 6)], + [(20, 8), (2, 8), (5, 2), (20, 2)], + ] + ) + + def test_a_run_of_several_edges_is_dropped_as_one(self, fi: ModuleType) -> None: + ring = Polygon([(5, 5), (20, 5), (30, 5), (30, 8), (20, 8)]) + assert chains(fi, ring) == [[(20, 8), (5, 5), (20, 5)]] + + def test_a_line_losing_its_middle_is_two_chains(self, fi: ModuleType) -> None: + line = LineString([(1, 5), (8, 5), (20, 5), (20, 7), (8, 7), (2, 7)]) + assert sorted(chains(fi, line)) == sorted( + [[(1, 5), (8, 5), (20, 5)], [(20, 7), (8, 7), (2, 7)]] + ) + + def test_a_line_losing_its_ends_keeps_its_middle(self, fi: ModuleType) -> None: + line = LineString([(-20, 5), (-10, 5), (5, 5), (20, 5), (30, 5)]) + assert chains(fi, line) == [[(-10, 5), (5, 5), (20, 5)]] + + def test_an_edge_touching_the_region_at_one_point_is_kept(self, fi: ModuleType) -> None: + """Closed segment, closed region: an edge through the corner (10, 10) + and nowhere else in the region is kept; the two edges beside it miss.""" + touching = LineString([(20, 20), (15, 5), (5, 15), (-5, 25)]) + assert chains(fi, touching) == [[(15, 5), (5, 15)]] + + def test_a_polygon_whose_exterior_is_dropped_keeps_its_hole_closed( + self, fi: ModuleType + ) -> None: + hole = [(3, 3), (7, 3), (7, 7), (3, 7), (3, 3)] + polygon = Polygon([(-50, -50), (50, -50), (50, 50), (-50, 50)], [hole]) + assert chains(fi, polygon) == [hole] + + def test_parts_in_order_exterior_before_holes(self, fi: ModuleType) -> None: + a = Polygon([(1, 1), (4, 1), (4, 4)], [[(2, 1.5), (3.5, 1.5), (3.5, 3)]]) + b = Polygon([(6, 6), (9, 6), (9, 9)]) + got = chains(fi, MultiPolygon([a, b])) + assert got == [ + list(a.exterior.coords), + list(a.interiors[0].coords), + list(b.exterior.coords), + ] + + @pytest.mark.parametrize( + "geometry", + [ + pytest.param(Polygon([(5, 5), (8, 5), (20, 5), (20, 8), (8, 8)]), id="one-run"), + pytest.param( + Polygon([(5, 2), (20, 2), (20, 4), (5, 4), (5, 6), (20, 6), (20, 8), (2, 8)]), + id="two-runs", + ), + pytest.param(LineString([(1, 5), (8, 5), (20, 5), (20, 7), (8, 7)]), id="line"), + pytest.param(Polygon([(-5, 3), (15, 3.3), (15, 7.1), (-5, 6.9)]), id="crossing"), + pytest.param( + LineString([(-7.3, -2.1), (13.9, 12.7), (25.0, 3.3), (4.4, -9.1)]), + id="slanted", + ), + ], + ) + def test_no_vertex_is_added(self, fi: ModuleType, geometry: Any) -> None: + """Intersecting with the region would add a vertex on its boundary + wherever an edge crosses it; every case here has such crossings.""" + source = {tuple(p) for p in shapely.get_coordinates(geometry).tolist()} + cut = shapely.intersection(shapely.MultiLineString(ff.boundary_lines(geometry)), REGION) + assert {tuple(p) for p in shapely.get_coordinates(cut).tolist()} - source + got = {p for c in chains(fi, geometry) for p in c} + assert got and got <= source + + def test_nothing_kept_is_nothing(self, fi: ModuleType) -> None: + around = Polygon([(-50, -50), (50, -50), (50, 50), (-50, 50)]) + assert fi.pre_clip(around, REGION) == () + + +class TestPreClipThroughOpenFeatures: + def test_a_polygon_around_the_domain_with_no_edge_kept_is_dropped_and_counted( + self, tmp_path: Path + ) -> None: + """It meets the region (it holds it), so it is read; none of its edges + do, so the pre-clip keeps nothing and it counts as outside.""" + fs = one(tmp_path, square(-50_000, -50_000, 50_000, 50_000)) + assert fs.features == () and fs.outside == 1 + + +# ------------------------------- a 10 km WGS84 edge across the region (I4) + +#: A 10 km domain, so that a 10 km edge can cross the region's boundary near +#: its middle, where its bend is largest, and still enter the domain. +WIDE = domain_of(square(0, 0, 10_000, 10_000)) + + +def wgs84_east_west_edge() -> LineString: + """An edge along one parallel, straight in EPSG:4326, from 5.1 km west of + the domain to 4.9 km inside it: about 10 km, its middle near the region's + west boundary (100 m west of the domain).""" + to_wgs84 = Transformer.from_crs(UTM33, WGS84, always_xy=True) + lon_a, lat = to_wgs84.transform(*at(-5_100, 5_000)) + lon_b, _ = to_wgs84.transform(*at(4_900, 5_000)) + return LineString([(lon_a, lat), (lon_b, lat)]) + + +def clipped_in_the_dem(line: LineString) -> tuple[LineString, ...]: + """Moved vertex by vertex into the DEM's CRS, clipped to `WIDE` there.""" + pieces = shapely.get_parts(shapely.intersection(moved(line, WGS84), WIDE.polygon)) + return tuple(p for p in pieces if isinstance(p, LineString) and p.length > 0) + + +class TestLongWgs84Edge: + def test_an_edge_crossing_the_region_boundary_is_not_split_there(self, tmp_path: Path) -> None: + """I4 for an EPSG:4326 source (R5, revised 2026-09-28). The produced + noded edges equal those of this test's own pipeline with no pre-clip: + the whole edge moved vertex by vertex and clipped in the DEM's CRS. + + First, that this can fail: a pre-clip that intersects the edge with + the region (built here with shapely and pyproj as R5 describes it) + splits it on the region's boundary, and its piece in the domain meets + the domain's west side metres away from the unsplit edge's.""" + edge = wgs84_east_west_edge() + (whole,) = clipped_in_the_dem(edge) + region = shapely.convex_hull( + moved(WIDE.polygon.buffer(100.0).segmentize(1_000.0), UTM33, WGS84) + ) + (split,) = clipped_in_the_dem(shapely.intersection(edge, region)) + west = np.array([at(0, 0), at(0, 10_000)]) + hit_whole = shapely.intersection(whole, LineString(west)) + hit_split = shapely.intersection(split, LineString(west)) + assert hit_whole.distance(hit_split) > 1.0 + + path = write_geojson( + tmp_path / "f.geojson", [Feat("edge", edge, {"property": "road"})], crs=None + ) + fs = open_one(path, WIDE) + produced = ff.run_engine(ff.start(WIDE, fs.features)) + fi = ff.feature_input() + oracle = fi.TerrainFeature(fid="edge", mask=V.mask("road"), lines=(whole,)) + expected = ff.run_engine(ff.start(WIDE, [oracle])) + assert produced.masks == expected.masks diff --git a/tests/python/test_io_gml.py b/tests/python/test_io_gml.py index 351cd3fa..e6a31189 100644 --- a/tests/python/test_io_gml.py +++ b/tests/python/test_io_gml.py @@ -5,22 +5,22 @@ reads it "as a second real fixture: a small GML2 reader (standard-library XML, no GDAL, about 40 lines) and a class map for `clc18_kode`". -**What the file actually is (found by this suite's author, 2026-09-28).** OGR -wrote it as GML2 (`gml:coordinates`, `x,y` pairs, EPSG:4326 longitude first), -and it is **not well-formed XML**: `` is missing after -feature `sql_statement.40965` (line 1097), so the remaining 45 members nest -inside that one, and the document ends without closing it or -``. `xml.etree.ElementTree.parse` refuses it ("no -element found: line 1413"); the legacy reader used `lxml` with `recover=True`. -Every one of its 200 features (`ogr:sql_statement`) is itself complete, and -every one is a `Polygon` (counted below from the file, not typed here). - -Pinned by this suite (see "Pinned by the red suite (16b-1/2)"; the tolerance -of an unclosed end is **a choice this suite made, for Ola to confirm**): +**What the file was, and its repair.** OGR wrote it as GML2 +(`gml:coordinates`, `x,y` pairs, EPSG:4326 longitude first). As committed in +2020 (`8e30af4`) it was not well-formed XML: `` was +missing after feature `sql_statement.40965` (line 1097) and the document +ended without closing its root. Ola ruled on 2026-09-28: "Repear the broken +file." `tests/fixtures/corine/repair_gml.py` adds the two closing tags, and the +committed file is its output. Every one of its 200 features +(`ogr:sql_statement`) is a `Polygon` (counted below from the file, not typed +here). + +Pinned by this suite (see "Pinned by the red suite (16b-1/2)" and +"Consequences for the red suite"): - `read_gml(stream, attribute) -> GmlDocument`, `stream` a binary stream (the reader opens nothing). `GmlDocument` has `crs` (the geometries' `srsName`, - or `None` when none gives one), `features` and `complete`. + or `None` when none gives one) and `features`. - A feature is an element with a `fid` attribute directly inside a `gml:featureMember`; its `fid` is that attribute, its `geometry` the shapely geometry of its one geometry property (`Polygon` with `outerBoundaryIs` and @@ -28,11 +28,9 @@ `Point`; a third coordinate is dropped), and its `value` the text of its child element named `attribute` (`None` when absent). Features in document order. -- **Every complete feature is read.** A document that ends, after its last - complete feature, with elements still open is read, and `complete` is - `False`; a well-formed one has `complete` `True`. A document that ends - inside a feature, or has a syntax error, is refused with `GmlError` (a - `ValueError`). +- **The reader is strict** (R1): a document that is not well-formed XML is + refused with `GmlError` (a `ValueError`), including one that ends with + elements still open, even after complete features. - Geometries naming different `srsName`s are refused. HOW THIS FILE GOES RED: `tin_engine.io.gml` is imported inside a fixture. @@ -41,9 +39,13 @@ from __future__ import annotations import ast +import difflib import importlib +import importlib.util import io import re +import subprocess +import xml.etree.ElementTree as ET from pathlib import Path from types import ModuleType from typing import Any @@ -56,7 +58,11 @@ from gpkg_fixtures import LEGACY_GML -SRC = Path(__file__).resolve().parents[2] / "src_python" / "tin_engine" +REPO = Path(__file__).resolve().parents[2] +SRC = REPO / "src_python" / "tin_engine" +REPAIR_SCRIPT = LEGACY_GML.parent / "repair_gml.py" +#: Where the legacy GML lived when it was committed in 2020 (`8e30af4`). +GML_2020_PATH = ".circleci/rasputin_data/corine/0000_4326_corine2018_4e6064_GML.gml" #: The benchmark tile's node rectangle, EPSG:25833. TILE_7908_3 = box(799_750.0, 7_899_750.0, 850_250.0, 7_950_250.0) @@ -148,7 +154,6 @@ def test_polygons_with_holes_their_fids_and_values(self, gml: ModuleType) -> Non doc = gml.read_gml( document(member("f.1", LAND, "311"), member("f.2", LAKE, "512")), "clc18_kode" ) - assert doc.complete is True assert doc.crs == "EPSG:4326" assert [f.fid for f in doc.features] == ["f.1", "f.2"] assert [f.value for f in doc.features] == ["311", "512"] @@ -212,28 +217,43 @@ def test_two_srs_names_are_refused(self, gml: ModuleType) -> None: def test_an_empty_collection_reads_as_nothing(self, gml: ModuleType) -> None: doc = gml.read_gml(document(), "clc18_kode") assert doc.features == () or list(doc.features) == [] - assert doc.complete is True + + def test_a_document_has_no_completeness_flag(self, gml: ModuleType) -> None: + """A strict reader reads a whole document or refuses it, so the first + design's `complete` is gone (Ola, 2026-09-28).""" + doc = gml.read_gml(document(member("a", LAKE)), "clc18_kode") + assert not hasattr(doc, "complete") class TestMalformed: - """The legacy file's two defects, and what stays refused.""" + """The reader is strict: what is not well-formed XML is refused.""" - def test_an_unclosed_end_after_complete_features_is_read_and_flagged( - self, gml: ModuleType - ) -> None: - doc = gml.read_gml(document(member("a", LAKE), member("b", LAND), tail=""), "clc18_kode") - assert [f.fid for f in doc.features] == ["a", "b"] - assert doc.complete is False + def test_a_document_whose_root_is_never_closed_is_refused(self, gml: ModuleType) -> None: + """The 2020 file's second defect, after complete features.""" + with pytest.raises(gml.GmlError): + gml.read_gml(document(member("a", LAKE), member("b", LAND), tail=""), "clc18_kode") - def test_a_member_left_open_nests_the_rest_and_all_are_read(self, gml: ModuleType) -> None: - """Line 1097's defect: one `` missing, so the next - members nest inside it and the end is unclosed.""" + def test_a_member_left_open_is_refused(self, gml: ModuleType) -> None: + """The 2020 file's first defect: one `` missing, + with the root closed. The members after it nest inside it, so the + root's closing tag does not match and the parser stops there.""" broken = member("a", LAKE).replace(" \n", "") - doc = gml.read_gml( - document(broken, member("b", LAND), member("c", LAKE), tail=""), "clc18_kode" - ) - assert [f.fid for f in doc.features] == ["a", "b", "c"] - assert doc.complete is False + with pytest.raises(gml.GmlError): + gml.read_gml(document(broken, member("b", LAND)), "clc18_kode") + + def test_both_defects_together_are_refused(self, gml: ModuleType) -> None: + """The 2020 file exactly, in small.""" + broken = member("a", LAKE).replace(" \n", "") + with pytest.raises(gml.GmlError): + gml.read_gml(document(broken, member("b", LAND), tail=""), "clc18_kode") + + def test_the_refusal_names_the_parsers_line(self, gml: ModuleType) -> None: + """R1: the refusal names the line. Here the head is 6 lines, the + broken member 6 and the next 7, so the root's closing tag, where the + parser stops, is on line 20.""" + broken = member("a", LAKE).replace(" \n", "") + with pytest.raises(gml.GmlError, match=r"\bline 20\b"): + gml.read_gml(document(broken, member("b", LAND)), "clc18_kode") def test_a_document_ending_inside_a_feature_is_refused(self, gml: ModuleType) -> None: text = HEAD + member("a", LAKE) + member("b", LAND)[:200] @@ -269,7 +289,11 @@ def test_the_error_is_a_value_error(self, gml: ModuleType) -> None: class TestLegacyFixture: - """The committed file, read whole (30 MB; about a second).""" + """The committed file, repaired, read whole (30 MB; about a second).""" + + def test_the_committed_file_is_well_formed(self) -> None: + root = ET.parse(LEGACY_GML).getroot() + assert len(root.findall("{http://www.opengis.net/gml}featureMember")) == 200 @pytest.fixture(scope="class") def legacy(self, gml: ModuleType) -> Any: @@ -281,7 +305,6 @@ def test_every_feature_in_the_file_is_read(self, legacy: Any) -> None: fids = re.findall(r'', text) assert len(fids) == 200 assert [f.fid for f in legacy.features] == fids - assert legacy.complete is False def test_the_values_are_the_files_clc_codes(self, legacy: Any) -> None: text = LEGACY_GML.read_text(encoding="utf-8") @@ -290,6 +313,7 @@ def test_the_values_are_the_files_clc_codes(self, legacy: Any) -> None: def test_the_crs_is_wgs84_and_every_geometry_a_polygon(self, legacy: Any) -> None: assert legacy.crs == "EPSG:4326" + assert len(legacy.features) == 200 assert {f.geometry.geom_type for f in legacy.features} == {"Polygon"} def test_holes_are_read(self, legacy: Any) -> None: @@ -312,6 +336,63 @@ def test_forty_two_features_meet_the_benchmark_tile(self, legacy: Any) -> None: assert "sql_statement.11029" in hits +class TestRepairScript: + """`tests/fixtures/corine/repair_gml.py`: the committed file is the 2020 + file repaired, and the script runs on nothing else.""" + + @pytest.fixture(scope="class") + def repair(self) -> ModuleType: + spec = importlib.util.spec_from_file_location("repair_gml", REPAIR_SCRIPT) + assert spec is not None and spec.loader is not None + module = importlib.util.module_from_spec(spec) + spec.loader.exec_module(module) + return module + + @pytest.fixture(scope="class") + def original(self) -> bytes: + """The file as committed in 2020, from git; skipped outside a clone + that has the commit (a shallow CI checkout, a source archive).""" + try: + done = subprocess.run( + ["git", "show", f"8e30af4:{GML_2020_PATH}"], + cwd=REPO, + capture_output=True, + check=True, + ) + except (OSError, subprocess.CalledProcessError): + pytest.skip("commit 8e30af4 is not in this checkout") + return done.stdout + + def test_the_committed_file_is_the_2020_file_repaired( + self, repair: ModuleType, original: bytes + ) -> None: + assert repair.repair(original) == LEGACY_GML.read_bytes() + + def test_the_repair_adds_the_two_closing_tags_and_nothing_else( + self, repair: ModuleType, original: bytes + ) -> None: + before = original.decode().splitlines() + after = repair.repair(original).decode().splitlines() + added = list(difflib.ndiff(before, after)) + assert [d for d in added if d.startswith("- ")] == [] + assert [d for d in added if d.startswith("+ ")] == [ + "+ ", + "+ ", + ] + assert after[1097] == " " + assert "sql_statement.40965" in after[1092] + + def test_the_repaired_file_is_refused(self, repair: ModuleType) -> None: + with pytest.raises(repair.RepairError, match="not the 2020 file"): + repair.repair(LEGACY_GML.read_bytes()) + + def test_a_file_differing_by_one_byte_is_refused( + self, repair: ModuleType, original: bytes + ) -> None: + with pytest.raises(repair.RepairError, match="not the 2020 file"): + repair.repair(original + b"\n") + + def _moved(transformer: Transformer, xy: Any) -> Any: x, y = transformer.transform(xy[:, 0], xy[:, 1]) return np.column_stack([x, y]) From cfc6cdc1cd286485b5bbccd510039c79790d439d Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Mon, 28 Sep 2026 22:15:44 +0200 Subject: [PATCH 05/27] ROADMAP: 16c (per-triangle land-cover labels, ruled as 16b's Q2) and 16d (a record of the input polylines, proposed by Ola) added; 16b-0 shipped with #107 Co-Authored-By: Claude Opus 5.5 --- ROADMAP.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index fcc9eec7..cb39da0a 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -45,7 +45,9 @@ increment that most needs a picture to check against | — | The serial phase: profile refine's serial insert-and-flip phase, then parallelise what the profile blames. Scaling tops out at about 2.0-2.2×. Profiled 2026-09-27: serial part about a third of 1-thread refine, mostly Lawson legalisation; the scan stops near 5× from load imbalance | profiled; designed as increment 21 (Ola's rulings 2026-09-27: L1 determinism, one path, at most 2 % more triangles). **21a shipped with branch `increment21a-quick-wins`'s PR**: dynamic scan blocks, active merge, reused flip stack; mesh bit-identical; on AC refine -10 to -15 % at 8 threads, ceiling 2.1x -> 2.3x (`docs/benchmarks/2026-09-27/21a-acceptance.md`). **21b shipped with branch `increment21b-lattice-incircle`'s PR**: an int64 lattice incircle answers 99.97-100 % of refine's incircle tests; mesh bit-identical; on battery refine -15 % at 8 threads, ceiling 2.3x -> 2.5x (`docs/benchmarks/2026-09-27/21b-acceptance.md`). **21c measured** (`docs/benchmarks/2026-09-27/21c/README.md`): option C costs 6.5-10 % more triangles; A1 about 1 %; A0 is bit-identical (on these two inputs, not proven), and with evaluate-once is modelled at only 7-11 % faster refine at 8 threads and slower at 4. **21d is deferred** (Ola, 2026-09-27: "Review and push 21c, then basin-work"), behind the work in "Order of work" below; domain decomposition parallelises scan and split together | `docs/increments/21-parallel-refine.md`, `docs/benchmarks/2026-09-27/serial-profile/README.md` | | — | Release hardening: measure libc++'s `_LIBCPP_HARDENING_MODE_FAST` (and libstdc++'s assertions on the GCC leg), which bounds-check `std::vector`, `span` and the like in Release, on the 1 m benchmark; switch it on if the cost is small. Today an out-of-range index in shipped code the tests miss is undefined behaviour and crashes Python (Ola, 2026-09-27: "I'm surprised we don't have proper memory control"; CI's ASan/UBSan/TSan cover what the tests reach) | to measure (Ola, 2026-09-27); 21d, which it was placed after, is deferred behind the basin work | none yet | | 15 | A DEM in several tiles, and the domain in its own CRS: 15a Norway, many tiles in one projected CRS (Ola's 254 DTM10 UTM33 tiles; only the selected tiles must share a lattice, since 8 of them sit half a cell off); 15b the domain polygon reprojected into the DEM's CRS; 15c and 15d the São Francisco basin (geographic DEMs meshed in the DEM's own lattice frame, not resampled; window decoding and memory) | **15a shipped with branch `increment15-dem-mosaic`'s PR**: `--dem DIR` or several files, `--bbox`, tiles selected and stitched on one lattice, Q2-Q5 refusals; overlaps that disagree (real DTM10 tiles exported on different dates, up to 52 m) are split down the middle and reported per seam (Ola's Q1 revised, 2026-09-28). The design's acceptance box, 9 tiles and 10,051² nodes, meshes: 11.05 M triangles in 31 s on battery. **15b built with branch `increment15b-domain-crs`'s PR**: `--domain` in its own CRS (e.g. EPSG:4326) over a UTM33 mosaic, reprojected vertex by vertex. Then 16b (Ola, 2026-09-27: Norway first) | `docs/increments/15-dem-mosaic.md` | -| 16b | Interior polygons and polylines as constraints ("terrain polygons": lakes, land cover, roads, rivers): `--features PATH`, a GeoJSON `FeatureCollection`, each feature naming a vocabulary property; closed or open `Breakline`s, crossings noded, off-node vertices with bilinear z. **Its working example is real data** (Ola, 2026-09-27): CORINE Land Cover 2018 over the benchmark tile `7908_3_10m_z33.tif`. The source is Ola's local copy, `rasputin_data/corine_sql/.../U2018_CLC2018_V2020_20u1.gpkg` (8.2 GB, EPSG:3035, a sibling of this repository, which also holds the 254-tile DTM10 archive for gap 6). It reads without GDAL: sqlite3 over its R-tree, the GeoPackage blob header stripped, `shapely.wkb`, then `pyproj` to 25833, so CRS stops in Python as before. Probed 2026-09-27 in 0.2 s: 60 polygons in 8 classes (heath, bare rock, sparse vegetation, bogs, intertidal flats, water, sea, urban), 11 068 vertices clipped to the tile, median segment 54 m against 10 m cells. The EEA's public ArcGIS service (`image.discomap.eea.europa.eu`, `Corine/CLC2018_WM`) returns the same 11 068 clipped vertices and is the route for anyone without the file. What it forces on 16b's design: neighbouring polygons share their boundaries, so each shared edge arrives twice; the polygons run past the domain and must be clipped; the extract is committed as a fixture with the Copernicus attribution. Placed before 20c because 20c may split constraint segments and should be designed and measured on inputs that have interior ones | **designed** (`@architect`, 2026-09-28): two PRs, 16b-0 (the noder's verifier indexed: it is quadratic, 25 s of a 30 s CORINE run) and 16b-1/2 (GeoJSON and GeoPackage features, class maps, clip as linework, the noder merges shared edges); Q1-Q6 ruled by Ola 2026-09-28 (Q6: the legacy CORINE GML stays and is read). **16b-0 shipped with branch `increment16b0-verifier-sweep`'s PR**: the verifier's pair search by sort and sweep, always on; `node` on a 48 km CORINE square 24.8 s → 0.067 s. 16b-1/2 next; before 20c | `docs/increments/16b-terrain-polygons.md`, `docs/increments/16-domain-polygon.md` (R6) | +| 16b | Interior polygons and polylines as constraints ("terrain polygons": lakes, land cover, roads, rivers): `--features PATH`, a GeoJSON `FeatureCollection`, each feature naming a vocabulary property; closed or open `Breakline`s, crossings noded, off-node vertices with bilinear z. **Its working example is real data** (Ola, 2026-09-27): CORINE Land Cover 2018 over the benchmark tile `7908_3_10m_z33.tif`. The source is Ola's local copy, `rasputin_data/corine_sql/.../U2018_CLC2018_V2020_20u1.gpkg` (8.2 GB, EPSG:3035, a sibling of this repository, which also holds the 254-tile DTM10 archive for gap 6). It reads without GDAL: sqlite3 over its R-tree, the GeoPackage blob header stripped, `shapely.wkb`, then `pyproj` to 25833, so CRS stops in Python as before. Probed 2026-09-27 in 0.2 s: 60 polygons in 8 classes (heath, bare rock, sparse vegetation, bogs, intertidal flats, water, sea, urban), 11 068 vertices clipped to the tile, median segment 54 m against 10 m cells. The EEA's public ArcGIS service (`image.discomap.eea.europa.eu`, `Corine/CLC2018_WM`) returns the same 11 068 clipped vertices and is the route for anyone without the file. What it forces on 16b's design: neighbouring polygons share their boundaries, so each shared edge arrives twice; the polygons run past the domain and must be clipped; the extract is committed as a fixture with the Copernicus attribution. Placed before 20c because 20c may split constraint segments and should be designed and measured on inputs that have interior ones | **designed** (`@architect`, 2026-09-28): two PRs, 16b-0 (the noder's verifier indexed: it is quadratic, 25 s of a 30 s CORINE run) and 16b-1/2 (GeoJSON and GeoPackage features, class maps, clip as linework, the noder merges shared edges); Q1-Q6 ruled by Ola 2026-09-28 (Q6: the legacy CORINE GML stays and is read). **16b-0 shipped (#107, merged 2026-09-28)**: the verifier's pair search by sort and sweep, always on; `node` on a 48 km CORINE square 24.8 s → 0.067 s. 16b-1/2 next; before 20c | `docs/increments/16b-terrain-polygons.md`, `docs/increments/16-domain-polygon.md` (R6) | +| 16c | A land-cover label per triangle: which input polygon (CORINE class) each triangle lies in, by a flood fill over the unconstrained edges. The bits on an edge say what kind of line it is; which class lies on each side is 16c's | planned: ruled by Ola 2026-09-28 (16b's Q2) as a separate increment, next after 16b | `docs/increments/16b-terrain-polygons.md` (Q2, R6) | +| 16d | A record of the input polylines in the mesh. Today a constraint edge keeps only its type bits; the source feature, its attributes (a river's name or order, a road's class) and which edges belong to one polyline are lost, and where edges from two features merge only the union of their bits survives. Proposed: a feature table (one row per input feature: source ID and attributes) and, per constraint edge, the list of features it came from (a list, since a merged edge belongs to several). The noder already tracks each piece's input chain; the open part is the output: a per-edge list in `.vtk`/`.ply`, or a side file | proposed by Ola 2026-09-28; to be designed by `@architect` once Ola has said what it is for; after 16b | - | | 20c | Soft quality criterion: a penalty that each Steiner node or constraint split must pay for in angle gained, instead of 20's hard 25°; applied at the start and during DEM refinement; may split constraint segments when that improves the mesh. Ola's rulings on 20's C1-C3 | to design after 16b (`@architect` measures cost against 20 first) | `docs/increments/20-start-quality.md` (Ola's rulings) | | — | Auto-catchment: the watershed upstream of a coordinate, computed from the DEM and handed to `--domain`, so a catchment no longer has to be supplied as a file (Ola, 2026-09-27: "not far into the future"). The textbook route is depression handling (Priority-Flood, Barnes, Lehman and Mulla 2014), D8 flow directions (O'Callaghan and Mark 1984) and accumulation, the pour point snapped to the strongest flow nearby, the upstream cells traced and their outline turned into a polygon; the literature check is `@architect`'s. Open for its design: whether it runs in the C++ core (a 10 m tile is 25 M cells); how a stair-stepped cell outline becomes a domain polygon, which meets input coarsening; and that a real catchment crosses tile edges, so it needs gap 6 (a DEM in several tiles) first. Legacy has nothing on it (`grep -rliE "watershed|flow.?acc|flow.?dir|pour.?point|catchment" legacy` returns no files) | to design; after gap 6, which it needs; placed after 20c, can move ahead of it on Ola's word | none yet | | — | `raster/`: grid-to-world geometry and bilinear sampling | shipped (`7785fea`), **no record** | none — predates the protocol | From 1b60375f8c26876f5a35f0cb15e8f326f81abcc9 Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Mon, 28 Sep 2026 22:28:02 +0200 Subject: [PATCH 06/27] Retrospective agenda: agents taking on each other's work, with hard limits per persona (Ola) Co-Authored-By: Claude Opus 5.5 --- docs/retrospectives/next.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 docs/retrospectives/next.md diff --git a/docs/retrospectives/next.md b/docs/retrospectives/next.md new file mode 100644 index 00000000..f4372d59 --- /dev/null +++ b/docs/retrospectives/next.md @@ -0,0 +1,36 @@ +# Next retrospective: agenda + +When: after auto-catchment is ready to use (Ola, 2026-09-28). Run by +`@orchestrator`. Items are added as they come up; the retrospective itself +gets its own dated file here, and this file is then emptied. + +## Agents taking on each other's work (Ola, 2026-09-28) + +Ola: "One concern I have is that the agents 'leak' responsibilities to one +another." All personas are the same model with different briefs, and each +fills a gap it sees rather than handing it back. Seen on 2026-09-28: + +- `@tester`, in the 16b-1/2 red step, wrote about 560 lines of throwaway + production modules under `src_python/` to check its own tests. +- `@tester` wrote into the design document (its "Pinned by the red suite" + section); the main session also edited it, to correct how Ola's rulings + were attributed. +- `@architect` recorded two text corrections as Ola's rulings, following + the wording of the main session's brief. + +Causes: the boundaries are written in prose, not enforced (`@tester` can +write to `src_python/`); some briefs invite the drift ("show the test fails +against a wrong implementation"); an agent that finishes looks better than +one that hands back. + +To decide: + +1. **Hard limits per persona** (Ola: "add the hard limits to the + retrospective list"). Enforced, not asked: e.g. a hook that refuses + `@tester` writes under `src_python/` and `@developer` edits under + `tests/`, and who may edit `docs/increments/`. Needs Ola's yes, since it + touches `.claude/` hooks or settings. +2. Briefs that state what the agent must not do, and where to hand work + back. +3. `@reviewer` audits who changed which files, and whether each change was + that persona's to make. From 1e67a722c9f130613a8c24bf95ae667872bcf8be Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Mon, 28 Sep 2026 22:31:28 +0200 Subject: [PATCH 07/27] 16b-1/2 design: long edges widen the pre-clip margin; edge_vocabulary dropped (Ola) Ola's two rulings of 2026-09-28, recorded in "Ruled by Ola", R5, R10, I4, the LOC table and the red-suite consequences: - "yes, widen per edge": each edge's pre-clip margin is widened by a bound on how far its source-straight and DEM-straight lines separate. A stated bound for a geographic source over a Transverse Mercator DEM (checked with pyproj), w = 0 for the DEM's own CRS, and for any other pair (EPSG:3035 included) the feature is reprojected first and pre-clipped exactly in the DEM's CRS. The GeoPackage query is widened per row, and the GeoJSON/GML intersects filter is removed. I4 holds with no length limit. - "A table in a run report is output, not data.": no edge_vocabulary field and no report line; the .vtk and .ply vocabulary records already exist. Also fixes the stale Status line (Q1-Q6 are ruled) and the GML feature count in "Found in passing" (200, not 399). Co-Authored-By: Claude Opus 5.5 --- docs/increments/16b-terrain-polygons.md | 201 +++++++++++++++++++----- 1 file changed, 160 insertions(+), 41 deletions(-) diff --git a/docs/increments/16b-terrain-polygons.md b/docs/increments/16b-terrain-polygons.md index 16639754..cecce49f 100644 --- a/docs/increments/16b-terrain-polygons.md +++ b/docs/increments/16b-terrain-polygons.md @@ -1,6 +1,7 @@ # Increment 16b — terrain polygons: interior polygons and polylines as constraints (CORINE over Norway) -Status: **designed, not built.** Questions Q1-Q6 at the end are open. Written +Status: **16b-0 shipped (#107); 16b-1/2 designed, red step written, not +built.** Q1-Q6 at the end were ruled on 2026-09-28 (see "Ruled by Ola"). Written by `@architect` before `@tester`, per `docs/increments/README.md` step 1, on branch `increment16b-terrain-polygons` off the unmerged 15b branch (`increment15b-domain-crs`). Nothing in this design depends on 15c or 15d. @@ -81,6 +82,17 @@ which this increment gives its first real input with interior constraints. Ola's words are recorded for points 1 and 2; the second ("yes, let architect write both fixes") covers points 2 and 3. Points 4 and 5 are corrections of this text found by the red step, not rulings. +- **2026-09-28, long edges and the pre-clip.** The pre-clip tests an edge in + the source CRS, where it is straight, but the engine draws it straight in + the DEM's CRS, so a long edge could miss the region and still enter the + domain. Ola: **"yes, widen per edge"**. Before the pre-clip decides that an + edge misses the region, the margin for that edge is widened by an upper + bound on how far the two straight lines can separate (R5, "Long edges"). + I4 then holds with no length limit. +- **2026-09-28, `edge_vocabulary` is dropped.** Asked whether to print it in + the run report instead, Ola: **"A table in a run report is output, not + data."** The files already carry the vocabulary, so there is no new field + and no report line (R10). ## What was measured @@ -454,7 +466,8 @@ Python stream, so the GeoPackage decoder's stream is the open connection. organization `EPSG`. - **The spatial filter**: when `gpkg_extensions` lists `gpkg_rtree_index` for the layer and `rtree__` exists, the query joins it on the - box (`maxx >= ? AND minx <= ? AND maxy >= ? AND miny <= ?`, closed). SQLite + box (`maxx >= ? AND minx <= ? AND maxy >= ? AND miny <= ?`, closed; + *widened per row for long edges, 2026-09-28: see R5, "Long edges"*). SQLite stores R-tree bounds as 32-bit floats rounded outward, so this is a superset, which is all a candidate query needs. Without an index the table is scanned and the report says so. **Rows are ordered by the primary key** @@ -559,7 +572,9 @@ class ClassMap(BaseModel): # frozen, extra="forbid" EPSG:4326 and UTM 33 (measured as above). The rule instead: - Each polygon ring is a closed sequence of edges; each line an open one. An edge is **kept** when the closed segment, straight in the source CRS, - meets the closed region; otherwise it is outside. + lies within its widening `w(e)` of the closed region (distance + `<= w(e)`; *added 2026-09-28*, see "Long edges" below; `w = 0` is + "meets"); otherwise it is outside. - Each maximal run of outside edges is dropped. Kept edges keep their original vertices; the pre-clip adds no vertex. - **A ring with no edge dropped stays one closed ring**, with its original @@ -573,10 +588,12 @@ class ClassMap(BaseModel): # frozen, extra="forbid" This bounds the work by the domain, not by the feature: CORINE's sea polygon is 360 000 vertices (M1), of which a catchment needs a few thousand. It keeps vertices far from the domain out of the transform, - except the far end of a kept edge, which lies at most one edge length away. + except the far end of a kept edge, which lies at most one edge length away + (*2026-09-28:* for a pair of CRSs with a known bound; any other pair is + transformed first, see "Long edges"). - **Checked against R6 and I5.** A ring the pre-clip opens had an edge outside - the region, and so outside the domain (within the long-edge limit below), - so R6 would have cut it anyway; it + the region by more than its widening, and so its DEM-straight edge lies outside + the domain ("Long edges" below), so R6 would have cut it anyway; it enters R6 as open chains and leaves as open pieces, which is I5's "clipped ring". A ring wholly inside the domain loses no edge, stays closed, and enters as one closed `Breakline` (I5). A ring kept closed but crossing the @@ -585,18 +602,96 @@ class ClassMap(BaseModel): # frozen, extra="forbid" crossings with the domain boundary, as without the pre-clip; they may start at a different vertex or be split at an original vertex. That is why I4 is stated on the noded output. -- **Open for Ola (2026-09-28): the long-edge limit.** The edge test is made in - the source CRS, where the edge is straight; the engine uses the - DEM-straight edge. The two differ by the edge's bend. An edge that misses - the region in the source CRS can reach the domain in the DEM's CRS only if - its bend exceeds the margin: between EPSG:4326 and UTM 33 that is an - east-west or diagonal edge of roughly 40-55 km or more (measured as above: 30 - km bends 31-55 m, 100 km 340-610 m, at 60-71° N). CORINE's edges are far - shorter; a hand-made GeoJSON need not be. Not decided here: accept and - document the limit, or make the edge test also keep edges long enough to - bend past the margin. +- **Long edges** (*ruled 2026-09-28*, Ola: "yes, widen per edge"; this + replaces the open point on "the long-edge limit"). The edge test is made in + the source CRS, where the edge is straight; the engine draws the + DEM-straight edge between the same two vertices. The two lines separate by + the edge's bend: between EPSG:4326 and UTM 33 at 60-71° N, 30 km east-west + or diagonal edges bend 31-55 m and 100 km edges 340-610 m (measured as + above), so without a widening an edge of roughly 40 km or more could miss + the region and still enter the domain. Each edge's margin is therefore + widened by `w(e)`, an upper bound on that separation, chosen by the pair of + CRSs: + - **Source CRS equal to the DEM's** (pyproj equality): `w = 0`. The two + lines are the same line. + - **A geographic source and a Transverse Mercator DEM** (UTM included, + which covers every projected DEM in view). For an edge from + `(λa, φa)` to `(λb, φb)`, in metres in the DEM's CRS: + + ``` + B(e) = 1.25 · ℓ² · (1.09 · tan φ* + tan Δλ*) / (8 · k0 · R_min) + ℓ = k0 · R_max · sqrt(Δφ² + cos²φ_min · Δλ²) / cos Δλ* + ``` + + with `Δφ`, `Δλ` the edge's extent in radians; `φ*` the larger |latitude| + of its two vertices and `φ_min` the smaller (0 if the edge crosses the + equator); `Δλ*` the larger |longitude − λ0| of the two; `λ0` and `k0` the + DEM projection's central meridian and scale factor; `R_min = 6 335 439 m` + and `R_max = 6 399 594 m`, the WGS 84 ellipsoid's smallest and largest + radii of curvature. `ℓ` bounds the length of the edge's image from its + source coordinates alone, so no vertex is transformed to compute it. + **Why it bounds the separation:** a curve of curvature at most `κ` and + length `ℓ` lies within `κ ℓ² / 8` of its chord. On a sphere of radius + `R`, a straight line in longitude and latitude has geodesic curvature + `cos ψ (1 + sin² ψ) tan φ / R`, at most `(4√6/9) tan φ / R ≈ 1.089 tan φ / R` + (`ψ` its angle to the parallel; a parallel has `tan φ / R`), and a + straight line of the Transverse Mercator plane has geodesic curvature at + most `tan Δλ / R` (the gradient of the log of the scale). The image's + plane curvature is at most their sum over the scale, which is at least + `k0`. The spherical derivation is carried to the ellipsoid by `R_min` + and `R_max` and by the factor 1.25, which also covers a Helmert or null + datum step (4326 to ETRS89 is null in PROJ). **Checked** with pyproj, + 4326 → 25833, 2026-09-28: two runs of 20 000 random edges up to 8° long, + within |φ| ≤ 80° and |λ − 15°| ≤ 60°, each sampled at 2 001 points: the + measured separation is at most 0.79 `B(e)` (0.985 without the 1.25). A + 60 km east-west edge at 60, 65 and 70° N separates by 122, 151 and + 194 m, against `B` = 169, 209 and 268 m. **In the source's units**, for + the distance test: + `w(e) = B(e) · (180/π) / (k0 · R_min · cos(φ° + 0.1°))` degrees, where + `φ°` is the largest |latitude| of the edge's vertices and the region's + bounds. A step of `d` metres in the DEM's CRS is at most `d / k0` on the + ellipsoid, and a surface distance `s` moves a point by at most + `s / (R_min cos φ)` radians in longitude and latitude. Checked the same + way on 5 000 random edges up to 6° long: the DEM-straight edge, moved + back into EPSG:4326, stays within 0.69 `w(e)` of the source edge. + **Where it applies:** both vertices within |φ| ≤ 80° and + |λ − λ0| ≤ 60°, and no grid-based step (`hgridshift`, `deformation`) in + PROJ's pipeline between the two CRSs. A feature outside that is treated + as the next case. + - **Any other pair of CRSs** (Ola's GeoPackage, EPSG:3035 over UTM 33, is + one): no bound is claimed. The feature is reprojected first and + pre-clipped in the DEM's CRS, against the domain buffered by 100 m there, + with `w = 0`. That tests the DEM-straight edge itself, so it is exact. It + costs transforming every candidate vertex, not only the kept ones: 0.09 s + for 360 000 points (the sea polygon's size), 3035 → 25833, measured + 2026-09-28. For scale, 3035 → 25833 bends at 58-71° N, 4-31° E are 0.5 m at 10 km, + 4.4 m at 30 km, 49 m at 100 km and 450 m at 300 km (400 random edges + each, measured the same day). + - **Cheap:** one segment-to-region distance per edge, from the edge's two + vertices, and `w(e)` from the same two; no densification. + - **With this, the pre-clip changes nothing inside the domain, for edges + of any length** (I4): an edge the pre-clip drops has a DEM-straight edge + that misses the domain. + - **The candidate filters in front of the pre-clip** must not drop such an + edge either. GeoJSON and GML: the `intersects(region)` filter below is + removed, and every feature goes to the edge test. GeoPackage: a row is + read when its R-tree box, widened on every side by `s · max(1, s / H)`, + meets the region's bounds, where `s` is the box's width plus height and + `H` is 1° for a geographic source and 100 km for a projected one. For a + geographic source this contains every row with an edge the widened test + could keep: `w(e)` in degrees is at most `0.5 · |e| · max(1, |e| / 1°)` + (worst 0.49, computed from the formula over 400 000 random edges in the + region of validity), and `|e| <= s`. For any other pair it is an assumption that + the separation, moved back into the source CRS, is at most + `|e| · max(1, |e| / H)`; the 3035 → 25833 bends above are three orders of + magnitude below it. SQLite cannot index a widening that depends on the + row, so the query scans the R-tree's columns: on Ola's Europe file, for + a 50 km box, 1 006 rows in 0.75-1.3 s, against 693 rows in under 1 ms + for the plain box (measured 2026-09-28). - **GeoJSON sources** are read whole (`json.loads`, as `domain.py`), then - filtered by `intersects(region)` and pre-clipped the same way. Streaming + pre-clipped the same way (*2026-09-28:* no longer filtered by + `intersects(region)` first, which would drop a long edge the widening + keeps; see "Long edges"). GML sources likewise. Streaming large GeoJSON is not needed at this scale (the 2026-09-27 probe's CORINE over `7908_3` as GeoJSON, 88 features in EPSG:25833, is 8 MB) and not designed. @@ -798,21 +893,17 @@ builds returned `Ok`. M3's attribution holds, and 16b-0 is scoped as designed. vertices`. `.vtk` field and `.ply` comment, like `domain`. - **`features_crs`** and **`features_transform`**, as `domain_crs` and `domain_transform` (15b). -- **`edge_vocabulary`**: `DEFAULT_VOCABULARY.fingerprint()` and the names by - bit (`0 river, 1 road, ..., 7 land_cover, 8 water`). *Corrected - 2026-09-28:* this is increment 7's mechanism 2 ("a field of whatever - serialized artifact carries a mesh"), and the writers already implement it. - Every `.vtk` carries the reserved fields `feature_bits`, `feature_names` - and `feature_vocabulary` (the fingerprint) +- **No `edge_vocabulary` field, and no report line** (*ruled 2026-09-28*; + Ola: "A table in a run report is output, not data."). What the masks mean + is increment 7's mechanism 2 ("a field of whatever serialized artifact + carries a mesh"), and the writers already implement it: every `.vtk` + carries the reserved fields `feature_bits`, `feature_names` and + `feature_vocabulary` (the fingerprint) (`src_python/tin_engine/io/vtk_legacy.py`, `write_vtk`), and the edge `.ply` carries `feature_bit ` comments and a `feature_vocabulary ` comment (`io/ply.py`, `write_ply`, as `cli.py` calls it). - An `edge_vocabulary` field would therefore be a duplicate of what both - formats already record. **Open for Ola, not decided here:** (a) drop - `edge_vocabulary`, since the files already say what their masks mean; or - (b) keep the one-line form as the report's own record (stderr and - `--stats`), not as a file field. The red suite pins it as a `.vtk` field - on every run (`test_cli_mesh_features.py`), which is the duplicate. + With 16b's vocabulary these list `land_cover` at bit 7 and `water` at + bit 8 (R4). 16b adds nothing here. - **`features_notice`**: the map's `notice`, when it has one. The CORINE maps carry the Copernicus attribution (see "Test data"), because a mesh built from CORINE and shared must say so and say it was modified. @@ -862,8 +953,9 @@ builds returned `Ok`. M3's attribution holds, and 16b-0 is scoped as designed. the pre-clip and without it. The first statement ("the engine input is identical") cannot hold: GEOS may start a clipped ring piece at a different vertex, which changes the chains but not the noded graph. Since - the pre-clip keeps whole edges (R5), I4 holds exactly, for an EPSG:4326 - source too, within R5's long-edge limit. + the pre-clip keeps whole edges and widens each edge's margin by a bound on + its bend (R5, "Long edges"; 2026-09-28), I4 holds exactly, for an + EPSG:4326 source too, with no limit on edge length. - **I5. Ring shape.** A ring wholly inside the domain enters as one closed `Breakline` (first index repeated); a clipped ring as open `Breakline`s; a line as open `Breakline`s. No feature chain is `Outer` or `Hole`. @@ -922,11 +1014,11 @@ far (+39 %, increment 16) applied. | | | *16b-0 as built (`aa35a38`, CLAUDE.md §2, blank lines excluded): +98 / −21, net 77, over the worst case; the sweep ~50, padded and clamped cell boxes ~12, the 14(a)/(b) loops as callbacks +36 / −21. All three were named in the estimate row: the overrun is in the estimate, not unplanned scope* | | | **16b-1** | `io/geopackage.py` | `GpkgLayer`, `layer_info`, `decode_geometry`, `query_features` | ~70 | | | `io/repository.py`, `io/__init__.py` | `open_geopackage` | ~8 | -| | `feature_input.py` | `ClassMap` and three built-in maps, request and result models, GeoJSON reading, region, pre-clip, reprojection, clip, counts, refusals | ~130 | +| | `feature_input.py` | `ClassMap` and three built-in maps, request and result models, GeoJSON reading, region, pre-clip, reprojection, clip, counts, refusals; the per-edge widening, the query's widening and the reproject-first route (R5, 2026-09-28, ~+20) | ~150 | | | `chains.py` | `start_chains` (the domain half moved from `cli.py`, net ~+25) | ~45 | | | `features.py` | two vocabulary entries | ~2 | -| **16b-2** | `cli.py` | four options and their refusals, the two calls, `features`, `features_crs`, `features_transform`, `features_notice`, `edge_vocabulary`, the sentence, the report; less `_domain_chains` | ~65 | -| | | **16b-1 + 16b-2 total** | **~320 (worst ~445)** | +| **16b-2** | `cli.py` | four options and their refusals, the two calls, `features`, `features_crs`, `features_transform`, `features_notice`, the sentence, the report; less `_domain_chains` (`edge_vocabulary` dropped 2026-09-28, R10) | ~65 | +| | | **16b-1 + 16b-2 total** | **~340 (worst ~475)** | **Two PRs, recommended:** @@ -937,8 +1029,8 @@ far (+39 %, increment 16) applied. 0). About 50 lines. 2. **16b-1 and 16b-2 together.** 16b-1 alone would ship a reader nobody can run; the CLI is what makes the acceptance runnable, the same argument - increment 16 made against splitting. About 320, worst about 445, under - 700. + increment 16 made against splitting. About 340, worst about 475, under + 700 (2026-09-28: was 320 and 445 before R5's long-edge widening). If 16b-2 grows past the ceiling in review, the seam is `feature_input.py` plus `io/geopackage.py` (testable from Python with no CLI) first, `chains.py` @@ -987,7 +1079,7 @@ its part in full. Suites: `tests/python/test_io_geopackage.py`, features ( dropped outside), chains, vertices`), `features_crs`, `features_transform`, `features_notice` (absent without a notice), `edge_vocabulary` (`; 0 river, ..., 8 water`, on every - `.vtk`); stderr ` input vertices`, ` noded vertices`; `--stats` rows + `.vtk`; *dropped 2026-09-28*, R10); stderr ` input vertices`, ` noded vertices`; `--stats` rows `features read`, `features clip`. - I4 is tested after the noder (same noded edges and masks as the test's own no-pre-clip pipeline), not as identical engine input: GEOS may split a ring @@ -1005,7 +1097,9 @@ the source CRS, which for EPSG:4326 (the legacy GML, Ola's own case) is not metres; `.vtk` already carries `feature_vocabulary` (fingerprint) and `feature_bits`/`feature_names`, so R10's "no writer has implemented yet" is not so and `edge_vocabulary` partly duplicates them. *Ruled 2026-09-28*, with -the pre-clip's edge splitting and I4, R1 and R4: see "Ruled by Ola". +the pre-clip's edge splitting and I4, R1 and R4: see "Ruled by Ola". R5's +long-edge limit and `edge_vocabulary`, left open by that revision, were ruled +the same day (R5, "Long edges"; R10). #### Consequences for the red suite (2026-09-28) @@ -1040,7 +1134,30 @@ What `@tester` changes to match the rulings. No mutation rounds. would have moved them by metres. The test should fail against a pre-clip that intersects with the region. - **I4's existing test stays** on the noded output, as pinned above. -- **`edge_vocabulary`**: unchanged until Ola rules R10's open point. +- **`edge_vocabulary`**: *ruled 2026-09-28, dropped (R10).* In + `test_cli_mesh_features.py`, `test_the_edge_vocabulary` is **replaced** by + a test on the existing `.vtk` fields: on a run with `--features`, + `feature_bits` and `feature_names`, paired by position, include + `(7, "land_cover")` and `(8, "water")`, `feature_vocabulary` is + `DEFAULT_VOCABULARY.fingerprint()`, and there is no `edge_vocabulary` + field. `test_the_edge_vocabulary_without_features` (the three runs without + features) is **removed**: those fields are the writer's, already tested + since increment 13 (`test_io_vtk_legacy.py`, `test_cli_mesh_vtk.py`). + The module docstring's `edge_vocabulary` item goes too. +- **Long edges widen the margin** (*2026-09-28*, R5, "Long edges"). One + test: a GeoJSON feature in EPSG:4326 over a UTM 33 synthetic DEM, with one + east-west edge of about 60 km at about 70° N, centred on the zone's + central meridian (15° E), and a domain about 2 km wide centred over the + edge's midpoint whose southern side lies 140 m north of that midpoint in + UTM 33. The edge is then more than 100 m from the domain, so outside the + region (by about 40 m in the source CRS), yet its UTM-straight line runs + 194 m north of the midpoint and crosses the domain (checked with pyproj + and shapely, 2026-09-28). The edge must be kept, and the in-domain noded + edges must equal the no-pre-clip pipeline's (I4). The test fails against + a pre-clip with no widening, which drops the edge. `pre_clip` gains an + optional third argument, `widening`, a function of the edge's two + vertices giving `w(e)` in source units; left out, it is 0, so the pure + geometry tests above stand unchanged. ## Tests for `@tester` @@ -1098,7 +1215,9 @@ Everything else is unit, property or integration testing: bit-identical `.vtk`. - **CLI**: `--features` without `--domain`; an unknown suffix; `--features-layer` on GeoJSON; the four new fields and the notice in `.vtk` - and `.ply`; `edge_vocabulary` present on a run without features too. + and `.ply`; with features, `feature_bits`/`feature_names` list + `land_cover` (7) and `water` (8) (`edge_vocabulary` dropped 2026-09-28, + R10). - **Increment 8's three rows** as GeoJSON over a synthetic DEM, end to end: the road ends inside the forest ring; the wall's exterior half is absent and the mesh has no edge outside the domain; the bridge road is split at @@ -1146,7 +1265,7 @@ Everything else is unit, property or integration testing: SQLite's R-tree module is present locally (3.53.4); CI's Linux Python is not yet checked, so 16b-1's first CI run settles it. - **Found in passing:** `tests/fixtures/corine/0000_4326_corine2018_4e6064_GML.gml` - (30 MB, 399 CORINE features over Norway in EPSG:4326, written by OGR, + (30 MB, 200 CORINE features over Norway in EPSG:4326, written by OGR, committed with the foundation reset `3096ccc`) carries no attribution, and nothing in the tree reads it: `grep -rln corine src_python tests tools` finds only the file itself, and the legacy test reads `$RASPUTIN_DATA_DIR/corine` From 972312ca30bf61deac7988a1a746a5a61e93322f Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Mon, 28 Sep 2026 22:34:08 +0200 Subject: [PATCH 08/27] 16b-1/2 red: long-edge widening; edge_vocabulary dropped For design 1e67a72 (R5 "Long edges", R10): - test_cli_mesh_features.py: test_the_edge_vocabulary replaced by a test on the writer's feature_bits/feature_names (7 land_cover, 8 water) and feature_vocabulary, with no edge_vocabulary field; test_the_edge_vocabulary_without_features and the docstring item removed. - test_feature_input.py: a 60 km EPSG:4326 edge at 70 N over UTM 33, ~40 m outside the region, whose UTM-straight line crosses the domain ~194 m north of its midpoint, is kept and gives the no-pre-clip noded edges (I4); the test shows first that it misses the region. One unit test pins pre_clip(geometry, region, widening) with widening(a, b) per edge and a closed distance test. Co-Authored-By: Claude Opus 5.5 --- tests/python/test_cli_mesh_features.py | 39 ++++------- tests/python/test_feature_input.py | 97 +++++++++++++++++++++++++- 2 files changed, 107 insertions(+), 29 deletions(-) diff --git a/tests/python/test_cli_mesh_features.py b/tests/python/test_cli_mesh_features.py index 3a5af7f1..2c6106ad 100644 --- a/tests/python/test_cli_mesh_features.py +++ b/tests/python/test_cli_mesh_features.py @@ -22,8 +22,6 @@ (`none` for the DEM's own CRS, else `transform_description(source, dem)`), as 15b's `domain_crs` and `domain_transform`. - `features_notice`: the map's notice; absent when the map has none. -- `edge_vocabulary`: `; 0 river, 1 road, ..., 8 water`, on - every `.vtk` this command writes. - The elevation sentence says `start domain boundary and features, vertex z bilinear` with features. - stderr says ` input vertices` and ` noded vertices`; `--stats` has @@ -155,10 +153,6 @@ def edges_at(vtk: VtkFile, point: tuple[float, float], near: float = SNAP) -> li return sorted(int(m) for m in masks[d <= near]) -def vocabulary_listing() -> str: - return ", ".join(f"{p.bit} {p.name}" for p in sorted(V.properties, key=lambda p: p.bit)) - - # ------------------------------------------------------------------ usage @@ -270,30 +264,21 @@ def test_the_elevation_sentence( assert "start domain boundary and features, vertex z bilinear" in text assert field(text, rf"achieved max error {NUMBER} m") <= 1.0 - def test_the_edge_vocabulary( + def test_the_vocabulary_is_the_writers_fields_and_no_edge_vocabulary( self, tmp_path: Path, bumpy: Path, plain_square: Path, gallery: Path ) -> None: + """R10 as ruled on 2026-09-28 ("A table in a run report is output, not + data."): the masks' meaning is the writer's reserved fields, which + with 16b's vocabulary pair bit 7 with `land_cover` and bit 8 with + `water`; there is no `edge_vocabulary` field.""" vtk, _ = meshed(tmp_path, bumpy, plain_square, "--features", str(gallery)) - value = text_field(vtk, "edge_vocabulary") - assert V.fingerprint() in value - assert vocabulary_listing() in value - assert "7 land_cover, 8 water" in value - - @pytest.mark.parametrize("kind", ["domain", "stride", "fixture"]) - def test_the_edge_vocabulary_without_features( - self, tmp_path: Path, bumpy: Path, plain_square: Path, kind: str - ) -> None: - target = tmp_path / "x.vtk" - args = { - "domain": ["--dem", str(bumpy), "--domain", str(plain_square), "--tolerance", "1"], - "stride": ["--dem", str(bumpy)], - "fixture": ["river", "--flat"], - }[kind] - code, output = invoke(*args, "--out", str(target)) - assert code == 0, output - vtk = read_vtk(target.read_bytes()) - assert V.fingerprint() in text_field(vtk, "edge_vocabulary") - assert "features" not in vtk.field_data + bits = [int(b) for b in vtk.field_data["feature_bits"].values] + names = [str(n) for n in vtk.field_data["feature_names"].values] + assert len(bits) == len(names) + pairs = set(zip(bits, names, strict=True)) + assert {(7, "land_cover"), (8, "water")} <= pairs + assert text_field(vtk, "feature_vocabulary") == V.fingerprint() + assert "edge_vocabulary" not in vtk.field_data def test_a_reprojected_source(self, tmp_path: Path, bumpy: Path, plain_square: Path) -> None: lonlat = [ diff --git a/tests/python/test_feature_input.py b/tests/python/test_feature_input.py index eeb1661f..fa16767a 100644 --- a/tests/python/test_feature_input.py +++ b/tests/python/test_feature_input.py @@ -41,7 +41,7 @@ import numpy as np import pytest import shapely -from pyproj import CRS, Transformer +from pyproj import CRS, Geod, Transformer from shapely.geometry import ( GeometryCollection, LineString, @@ -725,7 +725,13 @@ class TestPreClipKeepsWholeEdges: tuple of `LineString`s in the source CRS: a polygon's exterior's chains, then each hole's; a closed ring repeats its first vertex. An edge is kept when the closed segment meets the closed region; each maximal run of - edges that miss it is dropped; no vertex is added.""" + edges that miss it is dropped; no vertex is added. + + Amended 2026-09-28 (R5, "Long edges"): `pre_clip(geometry, region, + widening)`, where `widening(a, b)` takes an edge's two vertices as `(x, + y)` tuples and gives `w(e)` in source units; an edge is kept when its + distance to the region is `<= w(e)`. Left out, `w = 0`, which is the + rule every other test in this class pins.""" def test_a_ring_wholly_inside_stays_closed_with_its_start_vertex(self, fi: ModuleType) -> None: ring = Polygon([(6, 2), (8, 2), (8, 8), (2, 8)]) @@ -824,6 +830,28 @@ def test_nothing_kept_is_nothing(self, fi: ModuleType) -> None: around = Polygon([(-50, -50), (50, -50), (50, 50), (-50, 50)]) assert fi.pre_clip(around, REGION) == () + def test_an_edge_within_its_widening_is_kept_and_one_beyond_it_is_not( + self, fi: ModuleType + ) -> None: + """Edge (12, 5)-(12, 20) lies exactly 2 from the region. It is kept + when its own widening is 2 (the distance test is closed) and dropped + when it is 1.9. The widening is per edge: the edge (12, 20)-(30, 20), + about 10.2 from the region, gets 0, so it is dropped either way and + the kept chain ends at (12, 20).""" + line = LineString([(5, 5), (12, 5), (12, 20), (30, 20)]) + tall = {(12.0, 5.0), (12.0, 20.0)} + + def widening(w: float) -> Any: + def of(a: tuple[float, float], b: tuple[float, float]) -> float: + return w if {tuple(map(float, a)), tuple(map(float, b))} == tall else 0.0 + + return of + + kept = fi.pre_clip(line, REGION, widening(2.0)) + assert [list(c.coords) for c in kept] == [[(5, 5), (12, 5), (12, 20)]] + dropped = fi.pre_clip(line, REGION, widening(1.9)) + assert [list(c.coords) for c in dropped] == [[(5, 5), (12, 5)]] + class TestPreClipThroughOpenFeatures: def test_a_polygon_around_the_domain_with_no_edge_kept_is_dropped_and_counted( @@ -888,3 +916,68 @@ def test_an_edge_crossing_the_region_boundary_is_not_split_there(self, tmp_path: oracle = fi.TerrainFeature(fid="edge", mask=V.mask("road"), lines=(whole,)) expected = ff.run_engine(ff.start(WIDE, [oracle])) assert produced.masks == expected.masks + + +# -------------------- a 60 km WGS84 edge that misses the region (R5, long edges) + +#: The edge's parallel, and its half-width in longitude: about 60 km at 70° N, +#: centred on UTM 33's central meridian, where its bend is largest. +LONG_LAT, LONG_HALF = 70.0, 0.788 + + +def far_north_domain() -> tuple[LineString, Any]: + """The edge in EPSG:4326, and a domain 2 km square in UTM 33 centred over + the edge's midpoint, its southern side 140 m north of that midpoint.""" + edge = LineString([(15.0 - LONG_HALF, LONG_LAT), (15.0 + LONG_HALF, LONG_LAT)]) + mx, my = Transformer.from_crs(WGS84, UTM33, always_xy=True).transform(15.0, LONG_LAT) + west, east, south, north = mx - 1_000, mx + 1_000, my + 140, my + 2_140 + return edge, domain_of(Polygon([(west, south), (east, south), (east, north), (west, north)])) + + +class TestLongEdgeWidening: + def test_an_edge_outside_the_region_whose_dem_straight_line_enters_is_kept( + self, tmp_path: Path + ) -> None: + """R5, "Long edges" (Ola, 2026-09-28: "yes, widen per edge"), and I4 + with no length limit. The edge is about 40 m outside the region in + EPSG:4326, but the engine draws it straight in UTM 33, where the + chord between its two images runs about 194 m north of its midpoint, + through the domain. It is kept, and the produced noded edges equal + those of this test's own pipeline with no pre-clip: the edge moved + vertex by vertex and clipped to the domain in UTM 33. + + First, that this can fail: the edge misses the region (the domain + buffered by 100 m in UTM 33, densified, moved into EPSG:4326, its + convex hull, as R5 builds it), so a pre-clip with no widening drops + it; yet its UTM-straight line crosses the domain.""" + edge, domain = far_north_domain() + assert geodesic_length(edge) == pytest.approx(60_000.0, rel=0.01) + region = shapely.convex_hull( + moved(domain.polygon.buffer(100.0).segmentize(1_000.0), UTM33, WGS84) + ) + assert not edge.intersects(region) + assert edge.distance(region) == pytest.approx(0.00036, abs=0.00005) # about 40 m + dem_straight = moved(edge, WGS84) + (whole,) = ( + p + for p in shapely.get_parts(shapely.intersection(dem_straight, domain.polygon)) + if isinstance(p, LineString) and p.length > 0 + ) + mid_y = Transformer.from_crs(WGS84, UTM33, always_xy=True).transform(15.0, LONG_LAT)[1] + assert whole.coords[0][1] - mid_y == pytest.approx(194.0, abs=2.0) + + path = write_geojson( + tmp_path / "f.geojson", [Feat("edge", edge, {"property": "road"})], crs=None + ) + fs = open_one(path, domain) + assert [f.fid for f in fs.features] == ["edge"] and fs.outside == 0 + produced = ff.run_engine(ff.start(domain, fs.features)) + fi = ff.feature_input() + oracle = fi.TerrainFeature(fid="edge", mask=V.mask("road"), lines=(whole,)) + expected = ff.run_engine(ff.start(domain, [oracle])) + assert produced.masks == expected.masks + + +def geodesic_length(line: LineString) -> float: + lon, lat = zip(*line.coords, strict=True) + return float(Geod(ellps="WGS84").line_length(lon, lat)) From 5079da81b5f968a2c610fc22a2591dbc7613984c Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Mon, 28 Sep 2026 22:49:34 +0200 Subject: [PATCH 09/27] green: 16b-1/2 terrain polygons: GeoPackage/GeoJSON/GML features, whole-edge pre-clip, CLI --features Design: docs/increments/16b-terrain-polygons.md (rulings d84701f, 413e91b, 1e67a72). Red suite: e99c8ea, 3990449, 972312c. No test file touched. - io/geopackage.py: header decode (every envelope code, either byte order, empty and extended flags), layer_info, query_features in primary-key order; with an R-tree, each row's box widened by s*max(1, s/H) (R5, "Long edges"). - io/gml.py: strict GML2 reader over ElementTree; refusals name the line. - io/repository.py: open_geopackage, read-only URI; still the only io module that opens files. - feature_input.py: class maps (property, corine, corine-water, clc18_kode), sources by suffix, region in metres in the DEM's CRS, pre_clip(geometry, region, widening) keeping whole edges, w(e) for a geographic source over a Transverse Mercator DEM, reproject-first with w = 0 for any other pair, line clip to the domain. - chains.py: start_chains; cli._domain_chains moved here. - features.py: land_cover (bit 7) and water (bit 8). - crs.py: transform_definition, to see grid steps in PROJ's pipeline. - cli.py: --features, --features-crs, --features-layer, --features-map; fields features, features_crs, features_transform, features_notice; stderr counts; --stats rows "features read" and "features clip". Three tests stay red, each a test defect reported to the orchestrator: test_a_ring_crossing_the_boundary_is_open_pieces (asserts 200 == 250), test_stderr_and_stats (^-anchored regex over whitespace-collapsed output), test_the_uniform_mesh_is_unchanged (file digest predates Q3's two bits). Co-Authored-By: Claude Opus 5.5 --- src_python/tin_engine/chains.py | 62 ++++ src_python/tin_engine/cli.py | 158 ++++++++-- src_python/tin_engine/crs.py | 5 + src_python/tin_engine/feature_input.py | 394 +++++++++++++++++++++++++ src_python/tin_engine/features.py | 5 +- src_python/tin_engine/io/__init__.py | 4 +- src_python/tin_engine/io/geopackage.py | 173 +++++++++++ src_python/tin_engine/io/gml.py | 109 +++++++ src_python/tin_engine/io/repository.py | 17 +- 9 files changed, 893 insertions(+), 34 deletions(-) create mode 100644 src_python/tin_engine/chains.py create mode 100644 src_python/tin_engine/feature_input.py create mode 100644 src_python/tin_engine/io/geopackage.py create mode 100644 src_python/tin_engine/io/gml.py diff --git a/src_python/tin_engine/chains.py b/src_python/tin_engine/chains.py new file mode 100644 index 00000000..7c5ca527 --- /dev/null +++ b/src_python/tin_engine/chains.py @@ -0,0 +1,62 @@ +"""The start mesh's chains: the domain's rings, then the features' lines (16b R2, R7). + +Increment 16's R6 table as code. The domain's exterior is ``"outer"`` and each +hole ``"hole"``, mask 0 (16 U5; this half moved here from ``cli._domain_chains``); +then every feature line, in feature order, is a ``"breakline"`` with its +feature's mask. A closed line (an unclipped ring) repeats its first index +(increment 8, ruling 2). Shared edges go in twice: the noder merges them and +unions their bits (R7). + +Roles leave as strings; ``cli.py`` maps them onto ``ChainRole``. No ``_core``. +""" + +from __future__ import annotations + +from collections.abc import Iterable +from dataclasses import dataclass + +import numpy as np +import numpy.typing as npt +import shapely + +from tin_engine.domain import DomainPolygon +from tin_engine.feature_input import TerrainFeature +from tin_engine.features import EdgeVocabulary + +Chain = tuple[list[int], str, int] + + +@dataclass(frozen=True, slots=True) +class StartChains: + """``vertices`` ``(N, 2)`` in the DEM's CRS, and ``(indices, role, mask)``.""" + + vertices: npt.NDArray[np.float64] + chains: list[Chain] + + +def start_chains( + domain: DomainPolygon, features: Iterable[TerrainFeature], vocabulary: EdgeVocabulary +) -> StartChains: + """The domain's chains, then each feature's; every mask is checked against + ``vocabulary``, which raises on a bit it does not name.""" + blocks: list[npt.NDArray[np.float64]] = [] + chains: list[Chain] = [] + count = 0 + + def add(xy: npt.NDArray[np.float64], role: str, mask: int, closed: bool) -> None: + nonlocal count + indices = list(range(count, count + len(xy))) + chains.append((indices + indices[:1] if closed else indices, role, mask)) + blocks.append(xy) + count += len(xy) + + for k, ring in enumerate((domain.polygon.exterior, *domain.polygon.interiors)): + add(shapely.get_coordinates(ring)[:-1], "outer" if k == 0 else "hole", 0, False) + for feature in features: + vocabulary.names(feature.mask) + for line in feature.lines: + xy = shapely.get_coordinates(line) + closed = len(xy) > 2 and bool((xy[0] == xy[-1]).all()) + add(xy[:-1] if closed else xy, "breakline", feature.mask, closed) + vertices = np.concatenate(blocks) if blocks else np.zeros((0, 2)) + return StartChains(vertices=vertices.astype(np.float64), chains=chains) diff --git a/src_python/tin_engine/cli.py b/src_python/tin_engine/cli.py index 69b5030e..486620d2 100644 --- a/src_python/tin_engine/cli.py +++ b/src_python/tin_engine/cli.py @@ -68,10 +68,19 @@ sample, triangulate, ) +from tin_engine.chains import start_chains from tin_engine.crs import crs_label, parse_crs, transform_description from tin_engine.dem_input import DemInput, DemRequest, open_dem from tin_engine.domain import DomainError, DomainPolygon, read_domain from tin_engine.elevation import Trimmed, trim +from tin_engine.feature_input import ( + CLASS_MAPS, + FeatureError, + FeatureRequest, + FeatureSet, + FeatureSource, + open_features, +) from tin_engine.features import DEFAULT_VOCABULARY from tin_engine.grid_domain import default_stride, refine_start_stride, subsample from tin_engine.io.models import DemTile, RasterMeta @@ -619,6 +628,30 @@ def mesh( "before, instead of its foot on the segment.", ), ] = False, + features: Annotated[ + Path | None, + typer.Option( + "--features", + help="With --domain, polygons and lines as constraints (.geojson, .json, .gpkg " + "or .gml), clipped to the domain, each edge carrying its class map's bits.", + ), + ] = None, + features_crs: Annotated[ + str | None, + typer.Option("--features-crs", help="The --features file's CRS, anything pyproj reads."), + ] = None, + features_layer: Annotated[ + str | None, + typer.Option("--features-layer", help="The GeoPackage's features table to read."), + ] = None, + features_map: Annotated[ + str | None, + typer.Option( + "--features-map", + help=f"From feature attributes to edge bits: {', '.join(CLASS_MAPS)}. " + "Default: property.", + ), + ] = None, stats: Annotated[ str | None, typer.Option( @@ -672,6 +705,16 @@ def mesh( "give a gallery fixture name or --dem PATH, exactly one of the two", param_hint="--dem", ) + flags = ( + ("--features-crs", features_crs), + ("--features-layer", features_layer), + ("--features-map", features_map), + ) + for flag, value in flags: + if features is None and value is not None: + raise typer.BadParameter("applies only with --features", param_hint=flag) + if features is not None and domain is None: + raise typer.BadParameter("needs --dem, --domain and --tolerance", param_hint="--features") if not dem and (domain is not None or domain_crs is not None): raise typer.BadParameter("applies only with --dem", param_hint="--domain") if not dem and bbox is not None: @@ -735,6 +778,11 @@ def mesh( raise typer.BadParameter(str(exc), param_hint="--domain") from exc opened = _open_dem(dem, bbox, clock, given) label = opened.label + dem_crs = f"EPSG:{opened.tile.meta.epsg}" + found = None + if features is not None and opened.domain is not None: + source = _feature_source(features, features_crs, features_layer, features_map) + found = _open_features(source, opened.domain, dem_crs, clock) dem_run = _dem_mesh( opened.tile, ", ".join(map(str, dem)), @@ -747,6 +795,7 @@ def mesh( domain.name if domain is not None else "", DEFAULT_START_MIN_ANGLE if start_min_angle is None else start_min_angle, not no_constraint_feet, + found, ) surface_mesh = dem_run.trimmed epsg, sentence, described = dem_run.epsg, dem_run.sentence, dem_run.described @@ -769,6 +818,27 @@ def mesh( same = parse_crs(given.crs) == parse_crs(f"EPSG:{epsg}") how = "none" if same else transform_description(given.crs, f"EPSG:{epsg}") fields += [("domain_crs", crs_label(given.crs)), ("domain_transform", how)] + if found is not None and features is not None and dem_run.feature_counts is not None: + chains, feature_vertices = dem_run.feature_counts + layer = f":{found.layers[0]}" if found.layers[0] else "" + text = _ascii( + f"{features.name}{layer}, map {features_map or 'property'}, " + f"{len(found.features)} features ({found.outside} dropped outside), " + f"{chains} chains, {feature_vertices} vertices" + ) + own = found.crs[0] + how = ( + "none" + if parse_crs(own) == parse_crs(dem_crs) + else transform_description(own, dem_crs) + ) + fields += [("features", text), ("features_crs", crs_label(own))] + fields.append(("features_transform", how)) + comments.append(f"features {text}") + notice = CLASS_MAPS[features_map or "property"].notice + if notice: + fields.append(("features_notice", notice)) + comments.append(f"features_notice {notice}") else: assert name is not None if stride is not None: @@ -967,6 +1037,41 @@ def _open_dem( raise typer.BadParameter(_words(exc), param_hint="--dem") from exc +def _feature_source( + path: Path, crs: str | None, layer: str | None, map_name: str | None +) -> FeatureSource: + """R1: the ``--features`` flags as one source; a flag that cannot apply is + a usage error naming it.""" + name = map_name or "property" + if name not in CLASS_MAPS: + raise typer.BadParameter( + f"unknown map {name}; use {', '.join(CLASS_MAPS)}", param_hint="--features-map" + ) + if layer is not None and path.suffix.lower() != ".gpkg": + raise typer.BadParameter("applies to a .gpkg only", param_hint="--features-layer") + return FeatureSource(path=path, class_map=CLASS_MAPS[name], layer=layer, crs=crs) + + +def _open_features( + source: FeatureSource, domain: DomainPolygon, dem_crs: str, clock: PhaseClock +) -> FeatureSet: + """R5-R6 and R10: read and clip, timed as ``features read`` and ``features + clip``; a refusal is a usage error naming the feature.""" + t0 = time.perf_counter() + try: + found = open_features(FeatureRequest(sources=(source,)), domain, dem_crs) + except FeatureError as exc: + raise typer.BadParameter(str(exc), param_hint="--features") from exc + clock.add("features read", time.perf_counter() - t0 - found.clip_seconds) + clock.add("features clip", found.clip_seconds) + typer.echo( + f"{len(found.features)} features read, {found.outside} dropped outside, " + f"{found.empty} empty skipped", + err=True, + ) + return found + + def _ascii(text: str) -> str: """A file field's text with non-ASCII escaped, as `dem_tiles` records names.""" return text.encode("ascii", "backslashreplace").decode("ascii") @@ -994,6 +1099,7 @@ class _DemMesh: start_vertices: int | None start_triangles: int | None refinement: Refinement | None + feature_counts: tuple[int, int] | None = None def _dem_mesh( @@ -1008,6 +1114,7 @@ def _dem_mesh( domain_name: str = "", min_angle: float = 0.0, feet: bool = False, + features: FeatureSet | None = None, ) -> _DemMesh: """Subsample, triangulate, sample or refine, and trim ``tile``. @@ -1015,8 +1122,9 @@ def _dem_mesh( the stride grid. With it, increment 14's R9: the stride grid is the start mesh, refined against the DEM's nodes; with ``domain`` (already in the DEM's CRS, 15b; ``domain_name`` is its file's), increment 16's R3, the - polygon's rings are. ``min_angle`` > 0 improves the start's angles - first (increment 20); ``feet`` inserts constraint feet (increment 20b). + polygon's rings are, and ``features``' lines (16b). ``min_angle`` > 0 + improves the start's angles first (increment 20); ``feet`` inserts + constraint feet (increment 20b). Returns the mesh, the ``elevation`` sentence for the file, the EPSG code, the ``domain`` field (empty without one), and the ``--stats`` inputs; ``clock`` gets R5's phases. @@ -1026,11 +1134,21 @@ def _dem_mesh( meta = tile.meta described = "" domain_vertices = domain_holes = None + feature_counts = None if domain is not None: - xy, chains, described = _domain_chains(domain, domain_name) - domain_vertices, domain_holes = len(xy), len(domain.polygon.interiors) + started = start_chains(domain, features.features if features else (), DEFAULT_VOCABULARY) + chains = [(indices, ROLES[role], mask) for indices, role, mask in started.chains] + rings = (domain.polygon.exterior, *domain.polygon.interiors) + domain_vertices, domain_holes = sum(len(r.coords) - 1 for r in rings), len(rings) - 1 + s = "" if domain_holes == 1 else "s" + described = f"{domain_name}, 1 ring {domain_holes} hole{s}, {domain_vertices} vertices" start = "start domain boundary, boundary z bilinear" - run = _engine(xy, chains, delaunay, spacing, clock) + run = _engine(started.vertices, chains, delaunay, spacing, clock) + if features is not None: + start = "start domain boundary and features, vertex z bilinear" + feature_counts = (len(chains) - len(rings), len(started.vertices) - domain_vertices) + noded = len(run.noded.vertices) if run.noded is not None else 0 + typer.echo(f"{len(started.vertices)} input vertices, {noded} noded vertices", err=True) else: if stride is not None: step = stride @@ -1122,7 +1240,7 @@ def _dem_mesh( if meta.vertical_unit_assumed: sentence += ", vertical unit assumed metres" typer.echo(f"{report}{trimmed.dropped} vertices without data dropped", err=True) - started = refinement is not None + refined = refinement is not None return _DemMesh( trimmed=trimmed, sentence=sentence, @@ -1131,9 +1249,10 @@ def _dem_mesh( meta=meta, domain_vertices=domain_vertices, domain_holes=domain_holes, - start_vertices=len(run.mesh.vertices) if started else None, - start_triangles=len(run.mesh.triangles) if started else None, + start_vertices=len(run.mesh.vertices) if refined else None, + start_triangles=len(run.mesh.triangles) if refined else None, refinement=refinement, + feature_counts=feature_counts, ) @@ -1151,29 +1270,6 @@ def _refine_phases(clock: PhaseClock, seconds: float, out: RefineOutcome) -> Non clock.add("refine: setup + output", max(0.0, seconds - sum(p for _, p in inner))) -def _domain_chains( - domain: DomainPolygon, name: str -) -> tuple[npt.NDArray[np.float64], list[tuple[list[int], ChainRole, int]], str]: - """R3: the outer ring as ``Outer`` and each hole as ``Hole``, mask 0 (U5), - and the ``domain`` field.""" - rings = [domain.polygon.exterior, *domain.polygon.interiors] - points: list[tuple[float, float]] = [] - chains: list[tuple[list[int], ChainRole, int]] = [] - for k, ring in enumerate(rings): - coords = list(ring.coords)[:-1] - chains.append( - ( - list(range(len(points), len(points) + len(coords))), - ChainRole.Outer if k == 0 else ChainRole.Hole, - 0, - ) - ) - points += coords - holes = len(rings) - 1 - described = f"{name}, 1 ring {holes} hole{'' if holes == 1 else 's'}, {len(points)} vertices" - return np.array(points, dtype=np.float64), chains, described - - def _off_node(xy: npt.NDArray[np.float64], meta: RasterMeta) -> int: """How many of ``xy`` are not a DEM node bit for bit, as ``refine`` classifies.""" col = np.round((xy[:, 0] - meta.x_min) / meta.delta_x) diff --git a/src_python/tin_engine/crs.py b/src_python/tin_engine/crs.py index 536a717c..71a83b3a 100644 --- a/src_python/tin_engine/crs.py +++ b/src_python/tin_engine/crs.py @@ -53,6 +53,11 @@ def transform_description(src: str | CRS, dst: str | CRS) -> str: return str(_transformer(src, dst).description) +def transform_definition(src: str | CRS, dst: str | CRS) -> str: + """PROJ's pipeline for `src` to `dst`, to see which steps it takes (16b R5).""" + return str(_transformer(src, dst).definition) + + def crs_label(crs: str | CRS) -> str: """`EPSG:n` when pyproj finds an exact EPSG code (so OGC's CRS84 is not `EPSG:4326`), otherwise ASCII text pyproj parses back to the same CRS.""" diff --git a/src_python/tin_engine/feature_input.py b/src_python/tin_engine/feature_input.py new file mode 100644 index 00000000..9d48be15 --- /dev/null +++ b/src_python/tin_engine/feature_input.py @@ -0,0 +1,394 @@ +"""Terrain features: polygons and lines read, mapped to bits, and clipped (16b-1). + +`docs/increments/16b-terrain-polygons.md` R1, R4-R7. A source is a GeoJSON +``FeatureCollection``, a GeoPackage layer or OGR's GML2, by suffix. Each +feature's attribute goes through a :class:`ClassMap` to vocabulary names and so +to a mask; its rings and lines are pre-clipped to a region around the domain +(R5), moved into the DEM's CRS vertex by vertex, and clipped to the domain as +linework, never as areas (R6). What comes out is frozen data in the DEM's CRS. + +**The pre-clip keeps whole edges** (R5, Ola 2026-09-28): an edge is kept when +it lies within its widening ``w(e)`` of the region, and dropped whole +otherwise, so every kept edge reaches the engine between its own two vertices. +``w(e)`` bounds how far the edge's straight line in the DEM's CRS strays from +its straight line in the source's, so a dropped edge misses the domain (I4). +The bound is claimed only for a geographic source over a Transverse Mercator +DEM; any other pair is moved first and pre-clipped in the DEM's CRS with +``w = 0``, which is exact. + +Blocking (sqlite3, GEOS): an async caller runs :func:`open_features` in +``asyncio.to_thread``. No ``_core``. +""" + +from __future__ import annotations + +import json +import math +import sqlite3 +import time +from collections.abc import Callable, Iterable, Mapping +from contextlib import closing +from pathlib import Path +from typing import Any, Literal + +import numpy as np +import numpy.typing as npt +import shapely +from pydantic import BaseModel, ConfigDict +from pyproj import CRS +from shapely.geometry import LineString, Polygon, shape +from shapely.geometry.base import BaseGeometry + +from tin_engine.crs import parse_crs, reprojector, transform_definition +from tin_engine.domain import GEOJSON_DEFAULT_CRS, DomainPolygon +from tin_engine.features import DEFAULT_VOCABULARY, EdgeVocabulary +from tin_engine.io.geopackage import layer_info, query_features +from tin_engine.io.gml import read_gml +from tin_engine.io.repository import open_geopackage + +GEOJSON_SUFFIXES = (".geojson", ".json") +SUFFIXES = (*GEOJSON_SUFFIXES, ".gpkg", ".gml") +ACCEPTED = frozenset({"Polygon", "MultiPolygon", "LineString", "MultiLineString"}) +#: R5: the region is the domain plus this many metres in the DEM's CRS, its +#: boundary densified to this spacing before it is moved. +MARGIN, DENSIFY = 100.0, 1_000.0 +#: WGS 84's smallest and largest radii of curvature, metres (R5, "Long edges"). +R_MIN, R_MAX = 6_335_439.0, 6_399_594.0 +WATER_CODES = ("511", "512", "521", "522", "523") +CORINE_NOTICE = ( + "Contains modified CORINE Land Cover 2018 data (version 2020_20u1), (c) European Union, " + "Copernicus Land Monitoring Service 2018, European Environment Agency (EEA): clipped and " + "re-encoded, produced with funding by the European Union, not endorsed by the EU" +) + +Widening = Callable[[tuple[float, float], tuple[float, float]], float] + + +class FeatureError(ValueError): + """A source or feature refused, naming the file and, for a feature, its fid.""" + + +class ClassMap(BaseModel): + """An attribute's values to vocabulary names (R4). ``otherwise`` is what an + unlisted value gets: names, ``"drop"`` (no constraint) or ``"refuse"``.""" + + model_config = ConfigDict(frozen=True, extra="forbid") + + name: str + attribute: str + classes: Mapping[str, tuple[str, ...]] + otherwise: Literal["refuse", "drop"] | tuple[str, ...] = "refuse" + notice: str = "" + + +def _corine(name: str, attribute: str) -> ClassMap: + water = dict.fromkeys(WATER_CODES, ("land_cover", "water")) + return ClassMap( + name=name, + attribute=attribute, + classes=water, + otherwise=("land_cover",), + notice=CORINE_NOTICE, + ) + + +CLASS_MAPS: dict[str, ClassMap] = { + "property": ClassMap( + name="property", + attribute="property", + classes={p.name: (p.name,) for p in DEFAULT_VOCABULARY.properties}, + ), + "corine": _corine("corine", "Code_18"), + "corine-water": ClassMap( + name="corine-water", + attribute="Code_18", + classes=dict.fromkeys(WATER_CODES, ("water",)), + otherwise="drop", + notice=CORINE_NOTICE, + ), + "clc18_kode": _corine("clc18_kode", "clc18_kode"), +} + + +class FeatureSource(BaseModel): + model_config = ConfigDict(frozen=True, extra="forbid") + + path: Path + class_map: ClassMap + layer: str | None = None + crs: str | None = None + + +class FeatureRequest(BaseModel): + model_config = ConfigDict(frozen=True, extra="forbid") + + sources: tuple[FeatureSource, ...] + vocabulary: EdgeVocabulary = DEFAULT_VOCABULARY + + +class TerrainFeature(BaseModel): + """One feature: its fid, mask, and clipped lines in the DEM's CRS; a + closed line (first point repeated) is an unclipped ring.""" + + model_config = ConfigDict(frozen=True, arbitrary_types_allowed=True) + + fid: int | str + mask: int + lines: tuple[LineString, ...] + + +class FeatureSet(BaseModel): + """The features in source order; ``outside`` counts those clipped away, + ``empty`` empty geometries skipped. ``crs`` and ``layers`` are per source + (a layer for a GeoPackage only); ``clip_seconds`` is the time spent after + reading, for the ``features clip`` row.""" + + model_config = ConfigDict(frozen=True) + + features: tuple[TerrainFeature, ...] + outside: int = 0 + empty: int = 0 + crs: tuple[str, ...] = () + layers: tuple[str | None, ...] = () + clip_seconds: float = 0.0 + + +def source_region(domain: DomainPolygon, dem_crs: str | CRS, source_crs: str | CRS) -> Polygon: + """R5: the domain, in the DEM's CRS, buffered by 100 m, densified to 1 km, + moved into ``source_crs``; the convex hull of those points.""" + ring = shapely.segmentize(domain.polygon.buffer(MARGIN).exterior, DENSIFY) + xy = shapely.get_coordinates(ring) + if parse_crs(source_crs) != parse_crs(dem_crs): + xy = reprojector(dem_crs, source_crs)(xy) + hull = shapely.convex_hull(shapely.multipoints(xy)) + assert isinstance(hull, Polygon) + return hull + + +def pre_clip( + geometry: BaseGeometry, region: Polygon, widening: Widening | None = None +) -> tuple[LineString, ...]: + """R5: whole edges within ``widening(a, b)`` (0 if None) of ``region``, as + chains of the original vertices: a polygon's exterior's, then each hole's. + A ring with no edge dropped stays closed with its start vertex.""" + shapely.prepare(region) + out: list[LineString] = [] + for part in shapely.get_parts(geometry): + if isinstance(part, Polygon): + rings = [(r, True) for r in (part.exterior, *part.interiors)] + else: + rings = [(part, False)] + for ring, closed in rings: + xy = shapely.get_coordinates(ring) + if len(xy) < 2: + continue + segments = shapely.linestrings(np.stack([xy[:-1], xy[1:]], axis=1)) + keep = np.asarray(shapely.intersects(segments, region)) + if widening is not None: + for k in np.flatnonzero(~keep): + w = widening((xy[k, 0], xy[k, 1]), (xy[k + 1, 0], xy[k + 1, 1])) + keep[k] = shapely.distance(segments[k], region) <= w + out += _runs(xy, keep, closed) + return tuple(out) + + +def _runs( + xy: npt.NDArray[np.float64], keep: npt.NDArray[np.bool_], closed: bool +) -> list[LineString]: + """Each maximal run of kept edges as a chain; a ring's run through its + start vertex is one chain, joined across it.""" + if keep.all(): + return [LineString(xy)] + n = len(keep) + first = int(np.flatnonzero(~keep)[0]) + 1 if closed else 0 + chains: list[LineString] = [] + run: list[int] = [] + for k in [(first + i) % n for i in range(n)] + [-1]: + if k >= 0 and keep[k]: + run.append(k) + elif run: + chains.append(LineString([xy[run[0]], *(xy[j + 1] for j in run)])) + run = [] + return chains + + +def open_features(request: FeatureRequest, domain: DomainPolygon, dem_crs: str | CRS) -> FeatureSet: + """Every source's features, in the DEM's CRS, clipped to ``domain`` (in the + DEM's CRS already). Raises :class:`FeatureError` on any refusal.""" + vocabulary = request.vocabulary + for source in request.sources: + cmap = source.class_map + named = [n for names in cmap.classes.values() for n in names] + try: + vocabulary.mask(*named, *(() if isinstance(cmap.otherwise, str) else cmap.otherwise)) + except ValueError as exc: + raise FeatureError(f"class map {cmap.name}: {exc}") from exc + tally = _Tally(domain, parse_crs(dem_crs), vocabulary) + crss: list[str] = [] + layers: list[str | None] = [] + for source in request.sources: + own, layer = tally.source(source) + crss.append(own) + layers.append(layer) + return FeatureSet( + features=tuple(tally.features), + outside=tally.outside, + empty=tally.empty, + crs=tuple(crss), + layers=tuple(layers), + clip_seconds=tally.seconds, + ) + + +class _Tally: + """What :func:`open_features` accumulates over its sources.""" + + def __init__(self, domain: DomainPolygon, dem: CRS, vocabulary: EdgeVocabulary) -> None: + self.domain, self.dem, self.vocabulary = domain, dem, vocabulary + self.features: list[TerrainFeature] = [] + self.outside = self.empty = 0 + self.seconds = 0.0 + shapely.prepare(domain.polygon) + + def source(self, source: FeatureSource) -> tuple[str, str | None]: + """Read one source and take in its features; its CRS text and layer.""" + path, attribute = source.path, source.class_map.attribute + suffix = path.suffix.lower() + if suffix not in SUFFIXES: + raise FeatureError(f"{path.name}: unknown suffix {suffix or '(none)'}; use {SUFFIXES}") + if source.layer is not None and suffix != ".gpkg": + raise FeatureError(f"{path.name}: a layer applies to a GeoPackage only") + try: + if suffix == ".gpkg": + with closing(open_geopackage(path)) as conn: + layer = layer_info(conn, source.layer) + own = self._own(source, layer.crs) + box = source_region(self.domain, self.dem, own).bounds + scale = 1.0 if parse_crs(own).is_geographic else 100_000.0 + found = query_features(conn, layer, box, attribute, scale) + self._take(source, own, ((r.fid, r.geometry, r.value) for r in found)) + return own, layer.table + if suffix == ".gml": + with path.open("rb") as stream: + doc = read_gml(stream, attribute) + if doc.crs is None and source.crs is None: + raise FeatureError(f"{path.name}: no geometry names its srsName; give its CRS") + own = self._own(source, doc.crs or str(source.crs)) + self._take(source, own, ((f.fid, f.geometry, f.value) for f in doc.features)) + return own, None + doc = json.loads(path.read_text()) + member = doc.get("crs") + own = self._own(source, member["properties"]["name"] if member else GEOJSON_DEFAULT_CRS) + rows = [ + (f.get("id", k), f["geometry"] and shape(f["geometry"]), f["properties"] or {}) + for k, f in enumerate(doc["features"]) + ] + self._take(source, own, ((k, g, p.get(attribute)) for k, g, p in rows)) + return own, None + except FeatureError: + raise + except (OSError, ValueError, KeyError, TypeError, AttributeError, sqlite3.Error) as exc: + raise FeatureError(f"{path.name}: {exc}") from exc + + def _own(self, source: FeatureSource, text: str) -> str: + """The file's CRS text, checked against the one given, if any.""" + if source.crs is not None and parse_crs(source.crs) != parse_crs(text): + raise FeatureError(f"{source.path.name} is in {text} but the given CRS is {source.crs}") + parse_crs(text) + return text + + def _take(self, source: FeatureSource, own: str, rows: Iterable[tuple[Any, Any, Any]]) -> None: + name, cmap = source.path.name, source.class_map + src = parse_crs(own) + move = None if src == self.dem else reprojector(src, self.dem) + bound, region = None, source_region(self.domain, self.dem, self.dem) + if move is not None and src.is_geographic: + steps = transform_definition(src, self.dem) + if "gridshift" not in steps and "deformation" not in steps: + bound = _bound(self.dem, source_region(self.domain, self.dem, src)) + for fid, geometry, value in rows: + t0 = time.perf_counter() + if geometry is None or geometry.is_empty: + self.empty += 1 + continue + geometry = shapely.force_2d(geometry) + if geometry.geom_type not in ACCEPTED: + raise FeatureError( + f"{name}: feature {fid} is a {geometry.geom_type}; input is polygons and lines" + ) + mask = _mask(cmap, self.vocabulary, value, f"{name}: feature {fid}") + if mask is None: + continue + moved = None + if move is not None and bound is not None and bound[1](geometry): + # Pre-clipped where its edges are straight, then moved (R5). + chains = pre_clip(geometry, bound[2], bound[0]) + kept = [shapely.transform(c, move) for c in chains] + else: # moved first, then pre-clipped exactly in the DEM's CRS + moved = shapely.transform(geometry, move) if move is not None else geometry + kept = [moved] + if not all(_finite(g) for g in kept): + raise FeatureError(f"{name}: feature {fid} has a vertex with no image in the DEM") + if moved is not None: + kept = list(pre_clip(moved, region)) + lines = tuple( + piece + for line in kept + for piece in shapely.get_parts(shapely.intersection(line, self.domain.polygon)) + if isinstance(piece, LineString) and piece.length > 0 + ) + if lines: + self.features.append(TerrainFeature(fid=fid, mask=mask, lines=lines)) + else: + self.outside += 1 + self.seconds += time.perf_counter() - t0 + + +def _finite(geometry: BaseGeometry) -> bool: + return bool(np.isfinite(shapely.get_coordinates(geometry)).all()) + + +def _mask(cmap: ClassMap, vocabulary: EdgeVocabulary, value: Any, what: str) -> int | None: + """R4: the mask ``value`` maps to, None for ``drop``; a list is a union.""" + names: list[str] = [] + for item in value if isinstance(value, list) else [value]: + key = None if item is None else str(item) + if key is not None and key in cmap.classes: + names += cmap.classes[key] + elif cmap.otherwise == "drop": + return None + elif cmap.otherwise == "refuse": + raise FeatureError(f"{what}: {cmap.attribute} {item!r} is not in the map {cmap.name}") + else: + names += cmap.otherwise + return vocabulary.mask(*names) + + +def _bound( + dem: CRS, region: Polygon +) -> tuple[Widening, Callable[[BaseGeometry], bool], Polygon] | None: + """R5, "Long edges": for a Transverse Mercator DEM, ``w(e)`` in degrees, the + test of where it applies, and the region in the source CRS; else None.""" + op = dem.coordinate_operation + if op is None or op.method_name != "Transverse Mercator": + return None + params = {p.name: float(p.value) for p in op.params} + lam0, k0 = params["Longitude of natural origin"], params["Scale factor at natural origin"] + top = max(abs(region.bounds[1]), abs(region.bounds[3])) + + def widening(a: tuple[float, float], b: tuple[float, float]) -> float: + (la, pa), (lb, pb) = a, b + star, low = max(abs(pa), abs(pb)), 0.0 if pa * pb < 0 else min(abs(pa), abs(pb)) + far = math.radians(max(abs(la - lam0), abs(lb - lam0))) + dphi, dlam = math.radians(pb - pa), math.radians(lb - la) + ell = k0 * R_MAX * math.hypot(dphi, math.cos(math.radians(low)) * dlam) / math.cos(far) + bend = ( + 1.25 * ell**2 * (1.09 * math.tan(math.radians(star)) + math.tan(far)) / (8 * k0 * R_MIN) + ) + return math.degrees(bend / (k0 * R_MIN * math.cos(math.radians(max(star, top) + 0.1)))) + + def applies(geometry: BaseGeometry) -> bool: + xy = shapely.get_coordinates(geometry) + return bool((np.abs(xy[:, 1]) <= 80).all() and (np.abs(xy[:, 0] - lam0) <= 60).all()) + + return widening, applies, region diff --git a/src_python/tin_engine/features.py b/src_python/tin_engine/features.py index 0ec37e5a..81a51878 100644 --- a/src_python/tin_engine/features.py +++ b/src_python/tin_engine/features.py @@ -14,7 +14,7 @@ ``cli.py``, the composition root, is the only module that imports both this one and ``viz.style``. (It is *not* "the one module that names both a bit and a feature", as this docstring said until increment 7's review round: -:data:`DEFAULT_VOCABULARY` below names seven of each, and ``cli.py`` names no +:data:`DEFAULT_VOCABULARY` below names nine of each, and ``cli.py`` names no bit literal -- it looks one up through ``_BIT_OF[name]``.) The risk this module exists to narrow is a producer and a consumer disagreeing @@ -176,5 +176,8 @@ def fingerprint(self) -> str: EdgeProperty(name="contour", bit=4), EdgeProperty(name="wall", bit=5), EdgeProperty(name="ditch", bit=6), + # Increment 16b (Q3, Ola 2026-09-28): a land-cover boundary, and water. + EdgeProperty(name="land_cover", bit=7), + EdgeProperty(name="water", bit=8), ) ) diff --git a/src_python/tin_engine/io/__init__.py b/src_python/tin_engine/io/__init__.py index e5922d55..243d3533 100644 --- a/src_python/tin_engine/io/__init__.py +++ b/src_python/tin_engine/io/__init__.py @@ -8,7 +8,9 @@ Files are opened in exactly one module, `repository.py`, and only for reading (increment 15a, Ola's Q3 ruling): a DEM in many tiles has to be listed and -read tile by tile, below `cli.py`. Every other module here takes or returns +read tile by tile, below `cli.py`. It also opens a GeoPackage, read-only +(increment 16b R2): SQLite cannot read a Python stream, so the open connection +is `geopackage.py`'s stream. Every other module here takes or returns streams and bytes, so it is testable with no filesystem, and nothing in `io/` writes a file (`06-cdt-viewer.md`, "no file is written below `cli.py`"). """ diff --git a/src_python/tin_engine/io/geopackage.py b/src_python/tin_engine/io/geopackage.py new file mode 100644 index 00000000..2e291ba3 --- /dev/null +++ b/src_python/tin_engine/io/geopackage.py @@ -0,0 +1,173 @@ +"""GeoPackage features, read without GDAL (increment 16b R2, R3). + +`docs/increments/16b-terrain-polygons.md` R3; the blob header is OGC 12-128r18 +section 2.1.3, the R-tree Annex F.3. The decoder's stream is an open +``sqlite3.Connection`` (``io.repository.open_geopackage``): this module opens +nothing, knows no path and no CRS object, and imports no ``_core``. The CRS it +reports is text for ``crs.parse_crs``. + +Rows come in primary-key order, whatever order SQLite or the R-tree holds +them in, because the mesh depends on input order (R7). +""" + +from __future__ import annotations + +import sqlite3 +import struct +from collections.abc import Iterator +from dataclasses import dataclass +from typing import Any + +import shapely +from shapely.geometry.base import BaseGeometry + +#: `PRAGMA application_id` of a GeoPackage: "GPKG". +APPLICATION_ID = 0x47504B47 +#: Envelope code -> bytes after the 8-byte header (R3); 5-7 are refused. +_ENVELOPE_BYTES = {0: 0, 1: 32, 2: 48, 3: 48, 4: 64} + +Box = tuple[float, float, float, float] + + +class GeoPackageError(ValueError): + """A GeoPackage, layer or row this reader refuses, in words.""" + + +@dataclass(frozen=True, slots=True) +class GpkgLayer: + """One features table: its geometry column, primary key, SRS and R-tree.""" + + table: str + column: str + pk: str + srs_id: int + crs: str + rtree: str | None + + +@dataclass(frozen=True, slots=True) +class RawFeature: + """One row: its primary key, geometry (None for the empty flag) and value.""" + + fid: int + geometry: BaseGeometry | None + value: Any + + +def _q(name: str) -> str: + """An SQL identifier, quoted.""" + return '"' + name.replace('"', '""') + '"' + + +def decode_geometry(blob: bytes) -> tuple[int, BaseGeometry | None]: + """A geometry blob's ``srs_id`` and geometry; None for the empty flag.""" + if len(blob) < 8 or blob[:2] != b"GP" or blob[2] != 0: + raise GeoPackageError("not a GeoPackage geometry blob (magic GP, version 0)") + flags = blob[3] + envelope = (flags >> 1) & 0b111 + if envelope not in _ENVELOPE_BYTES: + raise GeoPackageError(f"envelope code {envelope} is not defined") + if flags & 0b10_0000: + raise GeoPackageError("an extended geometry type is not standard WKB") + (srs_id,) = struct.unpack("i", blob[4:8]) + start = 8 + _ENVELOPE_BYTES[envelope] + if len(blob) < start: + raise GeoPackageError(f"the blob ends inside its {start - 8}-byte envelope") + if flags & 0b1_0000: + return srs_id, None + try: + return srs_id, shapely.from_wkb(bytes(blob[start:])) + except (shapely.errors.GEOSException, ValueError) as exc: + raise GeoPackageError(f"unreadable WKB: {exc}") from exc + + +def layer_info(conn: sqlite3.Connection, table: str | None) -> GpkgLayer: + """The layer ``table``, or the file's only features table for None.""" + try: + if conn.execute("PRAGMA application_id").fetchone()[0] != APPLICATION_ID: + raise GeoPackageError("not a GeoPackage (application_id is not GPKG)") + contents = "SELECT table_name, data_type FROM gpkg_contents" + kinds = dict(conn.execute(contents).fetchall()) + if table is None: + found = sorted(t for t, kind in kinds.items() if kind == "features") + if len(found) != 1: + raise GeoPackageError(f"name one layer of the features tables {found}") + table = found[0] + if table not in kinds: + raise GeoPackageError(f"no layer {table!r}; the file has {sorted(kinds)}") + if kinds[table] != "features": + raise GeoPackageError(f"layer {table!r} holds {kinds[table]}, not features") + column, srs_id = conn.execute( + "SELECT column_name, srs_id FROM gpkg_geometry_columns WHERE table_name = ?", (table,) + ).fetchone() + org, code, definition = conn.execute( + "SELECT organization, organization_coordsys_id, definition " + "FROM gpkg_spatial_ref_sys WHERE srs_id = ?", + (srs_id,), + ).fetchone() + info = conn.execute(f"PRAGMA table_info({_q(table)})").fetchall() + pk = next((row[1] for row in info if row[5] == 1), "rowid") + rtree = f"rtree_{table}_{column}" + indexed = ( + conn.execute( + "SELECT 1 FROM gpkg_extensions WHERE table_name = ? AND column_name = ? " + "AND extension_name = 'gpkg_rtree_index'", + (table, column), + ).fetchone() + and conn.execute("SELECT 1 FROM sqlite_master WHERE name = ?", (rtree,)).fetchone() + ) + except (sqlite3.Error, TypeError) as exc: + raise GeoPackageError(f"not a readable GeoPackage: {exc}") from exc + crs = f"EPSG:{code}" if str(org).upper() == "EPSG" else str(definition) + return GpkgLayer( + table=table, column=column, pk=pk, srs_id=srs_id, crs=crs, rtree=rtree if indexed else None + ) + + +def query_features( + conn: sqlite3.Connection, + layer: GpkgLayer, + box: Box | None, + attribute: str, + scale: float = 100_000.0, +) -> Iterator[RawFeature]: + """Every row whose R-tree box, widened by ``s * max(1, s / scale)`` with + ``s`` its width plus height (R5, "Long edges"), meets the closed ``box`` + ``(minx, miny, maxx, maxy)``; every row with no box or no R-tree. A + superset of the rows meeting ``box``, in primary-key order.""" + columns = { + row[1].lower(): row[1] for row in conn.execute(f"PRAGMA table_info({_q(layer.table)})") + } + if attribute.lower() not in columns: + raise GeoPackageError(f"layer {layer.table!r} has no column {attribute!r}") + pk, table = _q(layer.pk), _q(layer.table) + select = ( + f"SELECT t.{pk}, t.{_q(layer.column)}, t.{_q(columns[attribute.lower()])} FROM {table} t" + ) + params: dict[str, float] = {} + if box is not None and layer.rtree is not None: + s = "(r.maxx - r.minx + r.maxy - r.miny)" + w = f"({s} * max(1.0, {s} / :scale))" + select += ( + f" JOIN {_q(layer.rtree)} r ON t.{pk} = r.id WHERE r.maxx + {w} >= :minx" + f" AND r.minx - {w} <= :maxx AND r.maxy + {w} >= :miny AND r.miny - {w} <= :maxy" + ) + params = dict(zip(("minx", "miny", "maxx", "maxy"), box, strict=True), scale=scale) + try: + rows = conn.execute(f"{select} ORDER BY t.{pk}", params) + except sqlite3.OperationalError as exc: + if "rtree" in str(exc).lower(): + raise GeoPackageError( + f"{layer.table}: this SQLite has no R-tree module ({exc})" + ) from exc + raise + for fid, data, value in rows: + try: + srs_id, geometry = (layer.srs_id, None) if data is None else decode_geometry(data) + except GeoPackageError as exc: + raise GeoPackageError(f"layer {layer.table!r} row {fid}: {exc}") from exc + if srs_id != layer.srs_id: + raise GeoPackageError( + f"layer {layer.table!r} row {fid}: srs_id {srs_id}, the layer's is {layer.srs_id}" + ) + yield RawFeature(fid=fid, geometry=geometry, value=value) diff --git a/src_python/tin_engine/io/gml.py b/src_python/tin_engine/io/gml.py new file mode 100644 index 00000000..5c70b36e --- /dev/null +++ b/src_python/tin_engine/io/gml.py @@ -0,0 +1,109 @@ +"""OGR-written GML2 features, read with the standard library (increment 16b, Q6). + +`docs/increments/16b-terrain-polygons.md` R1 and R2. The reader is strict (Ola, +2026-09-28): a document that is not well-formed XML is refused, naming the +parser's line, and nothing is recovered from it. It takes a binary stream and +opens nothing. + +A feature is an element with a ``fid`` attribute directly inside a +``gml:featureMember``. Its geometry is the first GML2 geometry inside it, +coordinates from ``gml:coordinates`` as ``x,y`` pairs (longitude first, as OGR +writes EPSG:4326), a third coordinate dropped. +""" + +from __future__ import annotations + +import xml.etree.ElementTree as ET +from dataclasses import dataclass +from typing import IO, Any + +from shapely.geometry import LineString, MultiLineString, MultiPolygon, Point, Polygon +from shapely.geometry.base import BaseGeometry + +GML = "{http://www.opengis.net/gml}" +_GEOMETRIES = frozenset( + GML + name for name in ("Polygon", "MultiPolygon", "LineString", "MultiLineString", "Point") +) + + +class GmlError(ValueError): + """A GML document or feature this reader refuses.""" + + +@dataclass(frozen=True, slots=True) +class GmlFeature: + fid: str + geometry: BaseGeometry | None + value: str | None + + +@dataclass(frozen=True, slots=True) +class GmlDocument: + """The geometries' one ``srsName`` (None when none gives one), and the + features in document order.""" + + crs: str | None + features: tuple[GmlFeature, ...] + + +def read_gml(stream: IO[bytes], attribute: str) -> GmlDocument: + """Every feature of the document in ``stream``; its ``value`` is the text of + its child element named ``attribute``, None when absent.""" + try: + root = ET.parse(stream).getroot() + except ET.ParseError as exc: + line, _ = exc.position + raise GmlError(f"not well-formed XML at line {line}: {exc}") from exc + features: list[GmlFeature] = [] + names: set[str] = set() + for member in root.iter(GML + "featureMember"): + for element in member: + fid = element.get("fid") + if fid is None: + continue + found = next((e for e in element.iter() if e.tag in _GEOMETRIES), None) + value = next((c.text for c in element if c.tag.rpartition("}")[2] == attribute), None) + try: + geometry = None if found is None else _geometry(found) + except (ValueError, IndexError) as exc: + raise GmlError(f"feature {fid}: unreadable coordinates ({exc})") from exc + if found is not None and found.get("srsName") is not None: + names.add(str(found.get("srsName"))) + features.append(GmlFeature(fid=fid, geometry=geometry, value=value)) + if len(names) > 1: + raise GmlError(f"the geometries name {len(names)} CRSs: {sorted(names)}") + return GmlDocument(crs=names.pop() if names else None, features=tuple(features)) + + +def _coordinates(element: ET.Element) -> list[tuple[float, float]]: + """The first ``gml:coordinates`` inside ``element``, as ``(x, y)`` pairs.""" + node = element.find(f".//{GML}coordinates") + if node is None or node.text is None: + raise ValueError("no gml:coordinates") + points = [] + for pair in node.text.split(): + parts = pair.split(",") + if len(parts) < 2: + raise ValueError(f"{pair!r} is not x,y") + points.append((float(parts[0]), float(parts[1]))) + return points + + +def _polygon(element: ET.Element) -> Polygon: + outer = element.find(f"{GML}outerBoundaryIs") + if outer is None: + raise ValueError("a polygon without gml:outerBoundaryIs") + holes = [_coordinates(r) for r in element.findall(f"{GML}innerBoundaryIs")] + return Polygon(_coordinates(outer), holes) + + +def _geometry(element: ET.Element) -> Any: + kind = element.tag.removeprefix(GML) + if kind == "Polygon": + return _polygon(element) + if kind == "MultiPolygon": + return MultiPolygon([_polygon(p) for p in element.iter(GML + "Polygon")]) + if kind == "MultiLineString": + return MultiLineString([_coordinates(g) for g in element.iter(GML + "LineString")]) + points = _coordinates(element) + return LineString(points) if kind == "LineString" else Point(points[0]) diff --git a/src_python/tin_engine/io/repository.py b/src_python/tin_engine/io/repository.py index ed0d87cb..c044f0f8 100644 --- a/src_python/tin_engine/io/repository.py +++ b/src_python/tin_engine/io/repository.py @@ -5,10 +5,15 @@ only stores: which tiles there are (`footprints`, header-only) and one tile's pixels (`load`). Choosing tiles and stitching them is `tin_engine.mosaic`'s, the same grid arithmetic for any storage. + +Increment 16b (R2, R3) adds :func:`open_geopackage`: SQLite cannot read from a +Python stream, so a GeoPackage's "stream" is a read-only connection opened +here, and `io/geopackage.py` decodes through it. """ from __future__ import annotations +import sqlite3 from collections.abc import Callable, Iterable from pathlib import Path from typing import Any, Protocol @@ -102,4 +107,14 @@ def _read[T](self, name: str, reader: Callable[..., T]) -> T: raise GeoTiffError(f"{path.name}: {exc}") from exc -__all__ = ["DemRepository", "TiffDemRepository", "TileFootprint"] +def open_geopackage(path: Path) -> sqlite3.Connection: + """``path`` as a read-only SQLite connection (16b R3). The caller closes it. + + A URI with ``mode=ro``: a missing file is refused, not created, and the + file's SpatiaLite triggers never fire. ``as_uri`` percent-encodes a ``?``, + ``#`` or space in the name, so they stay the file's. + """ + return sqlite3.connect(Path(path).resolve().as_uri() + "?mode=ro", uri=True) + + +__all__ = ["DemRepository", "TiffDemRepository", "TileFootprint", "open_geopackage"] From 0ccd185ce7716074045f1ccb2dca7d102cac594f Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Mon, 28 Sep 2026 22:53:10 +0200 Subject: [PATCH 10/27] 16b-1/2 tests: three defects found at green fixed - test_a_ring_crossing_the_boundary_is_open_pieces: the literal 250 was wrong; the ring's length inside x <= 300 is 50 + 100 + 50 = 200, which the test's own shapely oracle on the line above already says. - test_stderr_and_stats: invoke() collapses output onto one line, so the MULTILINE ^ anchor could never match; the rows are found by their cell, "| features read |". Checked to fail with the row removed. - test_the_uniform_mesh_is_unchanged: re-recorded. Compared with 972312c's output, only feature_bits, feature_names and feature_vocabulary differ (bits 7 land_cover and 8 water added); points, cells and all other fields are the same. Co-Authored-By: Claude Opus 5.5 --- tests/python/test_cli_mesh_features.py | 6 ++++-- tests/python/test_cli_mesh_refine.py | 7 ++++++- tests/python/test_feature_input.py | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/tests/python/test_cli_mesh_features.py b/tests/python/test_cli_mesh_features.py index 2c6106ad..1df28259 100644 --- a/tests/python/test_cli_mesh_features.py +++ b/tests/python/test_cli_mesh_features.py @@ -319,8 +319,10 @@ def test_stderr_and_stats( ) assert re.search(r"\b\d+ input vertices\b", output), output assert re.search(r"\b\d+ noded vertices\b", output), output - assert re.search(r"^\|\s*features read\s*\|", output, re.MULTILINE), output - assert re.search(r"^\|\s*features clip\s*\|", output, re.MULTILINE), output + # `invoke` collapses the output onto one line (`plain`), so a row is + # found by its cell, `| features read |`, not by a line start. + assert re.search(r"\|\s*features read\s*\|", output), output + assert re.search(r"\|\s*features clip\s*\|", output), output # ------------------------------------------------- increment 8's rows, end to end diff --git a/tests/python/test_cli_mesh_refine.py b/tests/python/test_cli_mesh_refine.py index 738ed78e..d3f9816f 100644 --- a/tests/python/test_cli_mesh_refine.py +++ b/tests/python/test_cli_mesh_refine.py @@ -45,7 +45,12 @@ from tin_engine.io.geotiff import decode_dem from vtkread import VtkFile, read_vtk -INCREMENT_12_LARGER_STRIDE_2 = "c677478e7bc132531d4fb9d799f5a9288658ac1a8a50317c3e78f79d376d09fa" +#: Re-recorded at 16b-1/2 (was c677478e...09fa since increment 12): the file +#: carries the vocabulary fields, and 16b adds bits 7 `land_cover` and 8 +#: `water` (R4; "The fingerprint changes"). Checked against 972312c's output: +#: `feature_bits`, `feature_names` and `feature_vocabulary` are the only +#: fields that differ; points, cells and every other field are the same. +INCREMENT_12_LARGER_STRIDE_2 = "492ee90eb28d0a6a215b9912f77ad0f75492f31da2e09815544e1afbb7fb1df7" NUMBER = r"([0-9.eE+-]+|inf|nan)" diff --git a/tests/python/test_feature_input.py b/tests/python/test_feature_input.py index fa16767a..d0cb87d1 100644 --- a/tests/python/test_feature_input.py +++ b/tests/python/test_feature_input.py @@ -583,7 +583,7 @@ def test_a_ring_crossing_the_boundary_is_open_pieces(self, tmp_path: Path) -> No assert loose and on_boundary(BOX.polygon, np.array(loose)).max() <= CROSSING inside = shapely.intersection(LineString(crossing.exterior.coords), BOX.polygon).length assert sum(line.length for line in lines) == pytest.approx(inside, abs=1e-6) - assert sum(line.length for line in lines) == pytest.approx(250.0, abs=1e-6) + assert sum(line.length for line in lines) == pytest.approx(200.0, abs=1e-6) def test_a_line_leaving_the_domain_loses_its_exterior_part(self, tmp_path: Path) -> None: """Increment 8's `wall-leaves-domain`, before the engine.""" From 3ecc55d7ddee56f2e3cfc9fc087c6fd23a3ebba3 Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Mon, 28 Sep 2026 23:04:41 +0200 Subject: [PATCH 11/27] Retrospective agenda: the first role-boundary audit's findings Co-Authored-By: Claude Opus 5.5 --- docs/retrospectives/next.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/retrospectives/next.md b/docs/retrospectives/next.md index f4372d59..5527bc33 100644 --- a/docs/retrospectives/next.md +++ b/docs/retrospectives/next.md @@ -34,3 +34,9 @@ To decide: back. 3. `@reviewer` audits who changed which files, and whether each change was that persona's to make. + +Found by `@reviewer`'s first role-boundary audit (16b-1/2, 2026-09-28): +`@tester` commits e99c8ea and 3990449 added about 60 lines to the design +document (following the 16b-0 precedent); the main session's 413e91b edited +the design document too. `@developer` and `@architect` stayed in their +areas. From 0e2e98fb05d04eaefef2388f4d2a962cb8f3f353 Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Mon, 28 Sep 2026 23:10:00 +0200 Subject: [PATCH 12/27] 16b-1/2 review fixes (tests): red-step prose past tense; mutant claims from the real-code run; repair test without git history Co-Authored-By: Claude Opus 5.5 --- tests/python/test_cli_mesh_features.py | 10 +++--- tests/python/test_feature_chains_bits.py | 18 +++++++--- tests/python/test_feature_input.py | 8 +++-- tests/python/test_io_geopackage.py | 7 ++-- tests/python/test_io_gml.py | 45 +++++++++++++++--------- tests/python/test_refine_golden.py | 8 ++--- 6 files changed, 61 insertions(+), 35 deletions(-) diff --git a/tests/python/test_cli_mesh_features.py b/tests/python/test_cli_mesh_features.py index 1df28259..d458b657 100644 --- a/tests/python/test_cli_mesh_features.py +++ b/tests/python/test_cli_mesh_features.py @@ -27,10 +27,12 @@ - stderr says ` input vertices` and ` noded vertices`; `--stats` has phase rows `features read` and `features clip`. -HOW THIS FILE GOES RED: the flags do not exist, so every run exits 2 with -"No such option", which every usage test excludes; the runs fail on their -exit code. `test_the_extract_is_small_and_attributed` checks committed data -and passes before 16b. +Committed red at `e99c8ea` (amended at `972312c`): the flags did not exist +yet, so every run exited 2 with "No such option", which every usage test +excludes, and the runs failed on their exit code. +`test_the_extract_is_small_and_attributed` checks committed data and passed +already at red. The flags landed in `5079da8` and the suite has been green +since. """ from __future__ import annotations diff --git a/tests/python/test_feature_chains_bits.py b/tests/python/test_feature_chains_bits.py index 4d92e16b..5e430452 100644 --- a/tests/python/test_feature_chains_bits.py +++ b/tests/python/test_feature_chains_bits.py @@ -10,9 +10,9 @@ directly, lies along it within the snap. It never reads the clip's output, the chains, or the noder's provenance. -**Mutation testing is required here** (README, "Cost constraints"). Mutants -killed against a scratch implementation that is not committed, each named at -the test that kills it (`MUTANT n`): +**Mutation testing is required here** (README, "Cost constraints"). The +mutants below were run against the real code by @reviewer on 2026-09-28, at +`0ccd185`; each is named at the test that is meant to kill it (`MUTANT n`): 1. area clipping instead of line clipping (the domain boundary gets bits); 2. a doubled shared edge keeping only one side's bit (a Python-side merge @@ -23,6 +23,12 @@ 5. a clipped ring closed by repeating its first index; 6. holes' rings dropped. +Result: 1, 2, 4, 5, 6 and the `52x` half of 3 were killed by this suite. The +`511 missing` half of 3 survived this suite (the CORINE extract has no `511` +row) and was killed by `test_feature_input.py::TestClassMaps` +(`test_corine_water_codes_are_land_cover_and_water`, parametrised over the +water codes). + Pinned by this suite (with `test_feature_input.py`; see "Pinned by the red suite (16b-1/2)"): @@ -37,8 +43,10 @@ - `TerrainFeature` has `fid`, `mask` and `lines` (shapely `LineString`s in the DEM's CRS, clipped). -HOW THIS FILE GOES RED: `tin_engine.feature_input` and `tin_engine.chains` are -imported lazily (`feature_fixtures`), so each test fails on its own. +Committed red at `e99c8ea`: `tin_engine.feature_input` and `tin_engine.chains` +did not exist yet, and because `feature_fixtures` imports them lazily each test +failed on its own rather than aborting collection. Both modules landed in +`5079da8` and the suite has been green since. """ from __future__ import annotations diff --git a/tests/python/test_feature_input.py b/tests/python/test_feature_input.py index d0cb87d1..cb6a5a69 100644 --- a/tests/python/test_feature_input.py +++ b/tests/python/test_feature_input.py @@ -28,12 +28,16 @@ - The lines of a polygon feature: its exterior's pieces, then each hole's, part by part for a `MultiPolygon`. -HOW THIS FILE GOES RED: `tin_engine.feature_input` is imported lazily. +Committed red at `e99c8ea` (amended at `3990449` and `972312c`): +`tin_engine.feature_input` did not exist yet, and because it is imported lazily +each test failed on its own. It landed in `5079da8` and the suite has been +green since. """ from __future__ import annotations import sqlite3 +from contextlib import closing from pathlib import Path from types import ModuleType from typing import Any @@ -319,7 +323,7 @@ def test_the_geopackage_is_left_unchanged(self, tmp_path: Path) -> None: before = path.read_bytes() open_one(path, BOX, "corine") assert path.read_bytes() == before - with sqlite3.connect(path) as con: + with closing(sqlite3.connect(path)) as con: assert con.execute("PRAGMA integrity_check").fetchone()[0] == "ok" def test_gml_with_the_clc18_kode_map(self, tmp_path: Path) -> None: diff --git a/tests/python/test_io_geopackage.py b/tests/python/test_io_geopackage.py index 6fe8f7c2..998b9229 100644 --- a/tests/python/test_io_geopackage.py +++ b/tests/python/test_io_geopackage.py @@ -22,9 +22,10 @@ `box` is `(minx, miny, maxx, maxy)` in the layer's CRS, closed. - Refusals of a row name the layer's table and the row's primary key. -HOW THIS FILE GOES RED: the modules are imported inside fixtures, so each test -fails on its own with `ModuleNotFoundError` or `AttributeError`, and collection -is unaffected. +Committed red at `e99c8ea`: the modules under test did not exist yet, and +because they are imported inside fixtures each test failed on its own with +`ModuleNotFoundError` or `AttributeError` while collection was unaffected. They +landed in `5079da8` and the suite has been green since. """ from __future__ import annotations diff --git a/tests/python/test_io_gml.py b/tests/python/test_io_gml.py index e6a31189..111d2f39 100644 --- a/tests/python/test_io_gml.py +++ b/tests/python/test_io_gml.py @@ -33,18 +33,21 @@ elements still open, even after complete features. - Geometries naming different `srsName`s are refused. -HOW THIS FILE GOES RED: `tin_engine.io.gml` is imported inside a fixture. +Committed red at `e99c8ea` (aligned with the amended design at `3990449`): +`tin_engine.io.gml` did not exist yet, and because it is imported inside a +fixture each test failed on its own. It landed in `5079da8` and the suite has +been green since. """ from __future__ import annotations import ast import difflib +import hashlib import importlib import importlib.util import io import re -import subprocess import xml.etree.ElementTree as ET from pathlib import Path from types import ModuleType @@ -61,8 +64,12 @@ REPO = Path(__file__).resolve().parents[2] SRC = REPO / "src_python" / "tin_engine" REPAIR_SCRIPT = LEGACY_GML.parent / "repair_gml.py" -#: Where the legacy GML lived when it was committed in 2020 (`8e30af4`). -GML_2020_PATH = ".circleci/rasputin_data/corine/0000_4326_corine2018_4e6064_GML.gml" +#: The git blob hash of the legacy GML as committed in 2020 (`8e30af4`, at +#: `.circleci/rasputin_data/corine/0000_4326_corine2018_4e6064_GML.gml`); +#: `git rev-parse 8e30af4:` prints it in a full clone. Pinned here, +#: independently of the script's own copy, so that the reconstruction below is +#: checked against the real 2020 bytes without needing git history. +BLOB_2020 = "97ddc98c4262b6b817e96cd91a23720b9b94d2a5" #: The benchmark tile's node rectangle, EPSG:25833. TILE_7908_3 = box(799_750.0, 7_899_750.0, 850_250.0, 7_950_250.0) @@ -350,18 +357,19 @@ def repair(self) -> ModuleType: @pytest.fixture(scope="class") def original(self) -> bytes: - """The file as committed in 2020, from git; skipped outside a clone - that has the commit (a shallow CI checkout, a source archive).""" - try: - done = subprocess.run( - ["git", "show", f"8e30af4:{GML_2020_PATH}"], - cwd=REPO, - capture_output=True, - check=True, - ) - except (OSError, subprocess.CalledProcessError): - pytest.skip("commit 8e30af4 is not in this checkout") - return done.stdout + """The file as committed in 2020, rebuilt from the committed repaired + file by removing the two closing tags the repair added, and checked + against the 2020 blob hash. Self-contained: CI's depth-1 checkout has + no `8e30af4`, and a test that skipped there would test nothing.""" + lines = LEGACY_GML.read_bytes().decode("utf-8").splitlines(keepends=True) + at = lines.index(' \n') + close = lines.index(" \n", at) + assert lines[close + 1] == " \n" + assert lines[-1] == "\n" + del lines[-1], lines[close + 1] + data = "".join(lines).encode("utf-8") + assert _blob_hash(data) == BLOB_2020 + return data def test_the_committed_file_is_the_2020_file_repaired( self, repair: ModuleType, original: bytes @@ -393,6 +401,11 @@ def test_a_file_differing_by_one_byte_is_refused( repair.repair(original + b"\n") +def _blob_hash(data: bytes) -> str: + """Git's blob hash, computed here rather than borrowed from the script.""" + return hashlib.sha1(b"blob %d\0" % len(data) + data).hexdigest() + + def _moved(transformer: Transformer, xy: Any) -> Any: x, y = transformer.transform(xy[:, 0], xy[:, 1]) return np.column_stack([x, y]) diff --git a/tests/python/test_refine_golden.py b/tests/python/test_refine_golden.py index ee1fba7f..4934e37b 100644 --- a/tests/python/test_refine_golden.py +++ b/tests/python/test_refine_golden.py @@ -38,6 +38,7 @@ from test_cli_mesh_domain import geojson, quarter_circle from tin_engine import _core from tin_engine._core import ChainRole +from tin_engine.chains import start_chains from tin_engine.cli import DEFAULT_SNAP_SPACING, ROLES, _constraint_arrays, _engine from tin_engine.domain import read_domain from tin_engine.features import DEFAULT_VOCABULARY @@ -76,11 +77,8 @@ def refined( else: path = geojson(tmp_path / "quarter.geojson", quarter_circle()) # 16b R2: the domain half of the chains moved from `cli._domain_chains` - # to `chains.start_chains` (test amendment in 16b-1/2's red step); the - # digest pins that the move changed nothing. Imported here so that - # collection does not depend on the new module. - from tin_engine.chains import start_chains - + # to `chains.start_chains` (test amendment in 16b-1/2's red step, + # `e99c8ea`); the digest pins that the move changed nothing. started = start_chains(read_domain(path), (), DEFAULT_VOCABULARY) xy = started.vertices chains = [([int(i) for i in c], ROLES[role], int(m)) for c, role, m in started.chains] From a248843ea8e5e99647e491134f04b05a93de00ad Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Mon, 28 Sep 2026 23:13:08 +0200 Subject: [PATCH 13/27] 16b-1/2 red: the full-scan report line and the clipped count (R3, R10) Co-Authored-By: Claude Opus 5.5 --- tests/python/test_cli_mesh_features.py | 91 ++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) diff --git a/tests/python/test_cli_mesh_features.py b/tests/python/test_cli_mesh_features.py index d458b657..d349a166 100644 --- a/tests/python/test_cli_mesh_features.py +++ b/tests/python/test_cli_mesh_features.py @@ -26,6 +26,13 @@ bilinear` with features. - stderr says ` input vertices` and ` noded vertices`; `--stats` has phase rows `features read` and `features clip`. +- stderr's features line gives ` clipped`, the number of features kept + that crossed the domain boundary (R10: "features read, dropped outside, + clipped"); a GeoPackage layer without an R-tree index is read all the same, + and stderr says the table was scanned (R3: "Without an index the table is + scanned and the report says so"). `TestReport`, added red after @reviewer's + review of 16b-1/2 (the commit "16b-1/2 red: the full-scan report line and + the clipped count (R3, R10)"). Committed red at `e99c8ea` (amended at `972312c`): the flags did not exist yet, so every run exited 2 with "No such option", which every usage test @@ -55,8 +62,11 @@ LEGACY_GML, OLA_EUROPE, OLA_NORWAY, + Layer, + Row, copy_reversed, needs_rtree, + write_gpkg, ) from plyread import read_ply from test_cli_mesh_dem import USAGE, invoke, write_tiff @@ -327,6 +337,87 @@ def test_stderr_and_stats( assert re.search(r"\|\s*features clip\s*\|", output), output +# ------------------------------------------------------------ the report (R3, R10) + +# Two features that cross `SQUARE`'s boundary (a polygon over its west side, the +# wall over its east side), one wholly inside, one far outside: 2 clipped. +WEST_EDGE = Polygon([rel(2.1, -50.3), rel(40.2, -50.1), rel(40.4, -30.2), rel(2.3, -30.4)]) +FAR_AWAY = LineString([rel(900.3, -900.1), rel(950.7, -900.2)]) +CROSSINGS = [ + Feat("forest", FOREST, {"property": "land_cover"}), + Feat("west", WEST_EDGE, {"property": "water"}), + Feat("wall", WALL, {"property": "wall"}), + Feat("far", FAR_AWAY, {"property": "road"}), +] +CLIPPED = re.compile(r"\b(\d+) clipped\b") + + +def gpkg_of(path: Path, features: list[Feat], *, rtree: bool) -> Path: + rows = [Row(i + 1, f.geometry, dict(f.properties)) for i, f in enumerate(features)] + return write_gpkg(path, [Layer("t", 25833, rows, columns=("property",), rtree=rtree)]) + + +class TestReport: + def test_stderr_gives_the_clipped_count( + self, tmp_path: Path, bumpy: Path, plain_square: Path + ) -> None: + """R10: "features read, dropped outside, clipped". Of `CROSSINGS`, + `west` and `wall` cross the boundary and are kept, clipped; `far` is + dropped outside and `forest` is untouched.""" + path = write_geojson(tmp_path / "crossings.geojson", CROSSINGS) + _, output = meshed(tmp_path, bumpy, plain_square, "--features", str(path)) + assert re.search(r"\b1 dropped outside\b", output), output + assert [int(n) for n in CLIPPED.findall(output)] == [2], output + + def test_nothing_crossing_is_zero_clipped( + self, tmp_path: Path, bumpy: Path, plain_square: Path + ) -> None: + path = write_geojson(tmp_path / "inside.geojson", CROSSINGS[:1]) + _, output = meshed(tmp_path, bumpy, plain_square, "--features", str(path)) + assert [int(n) for n in CLIPPED.findall(output)] == [0], output + + def test_a_layer_without_an_index_is_scanned_and_reported( + self, tmp_path: Path, bumpy: Path, plain_square: Path + ) -> None: + """R3: "Without an index the table is scanned and the report says so". + The layer is still read: the features field counts the kept three.""" + path = gpkg_of(tmp_path / "f.gpkg", CROSSINGS, rtree=False) + vtk, output = meshed(tmp_path, bumpy, plain_square, "--features", str(path)) + match = FEATURES_FIELD.fullmatch(text_field(vtk, "features")) + assert match is not None and (match["n"], match["k"]) == ("3", "1") + assert re.search(r"scan", output, re.IGNORECASE), output + assert re.search(r"index", output, re.IGNORECASE), output + + @needs_rtree + def test_an_indexed_layer_gives_the_same_file_and_no_scan_line( + self, tmp_path: Path, bumpy: Path, plain_square: Path + ) -> None: + """The control: the same rows behind an R-tree give the same mesh, + and nothing about a scan is said. The `features` field alone may + differ, in `k`: the R-tree query never returns `far`, so it is not + counted as dropped outside, where the scan reads and drops it.""" + files = [] + for rtree in (True, False): + where = tmp_path / str(rtree) + where.mkdir() + path = gpkg_of(where / "f.gpkg", CROSSINGS, rtree=rtree) + code, output, target = mesh(where, bumpy, plain_square, "--features", str(path)) + assert code == 0, output + if rtree: + assert not re.search(r"scan", output, re.IGNORECASE), output + vtk = read_vtk(target.read_bytes()) + match = FEATURES_FIELD.fullmatch(text_field(vtk, "features")) + assert match is not None and match["n"] == "3", text_field(vtk, "features") + files.append( + [ + line + for line in target.read_bytes().splitlines() + if not line.startswith(b"f.gpkg:") + ] + ) + assert files[0] == files[1] + + # ------------------------------------------------- increment 8's rows, end to end From 74e6c3235920aad3801993a3f00355dd308cf85e Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Mon, 28 Sep 2026 23:17:32 +0200 Subject: [PATCH 14/27] 16b-1/2 review fixes (code): the clipped count and the scan report line; review nits - stderr's features line gives " clipped": features kept whose input lines the domain does not cover (R10). A GeoPackage layer read without an R-tree index adds ":
: no R-tree index, table scanned" (R3). - _Tally.source no longer maps TypeError/AttributeError to FeatureError wholesale; only the GeoJSON document's structural access does (plus shapely's errors from shape(), which escaped unwrapped before). - cli.py's precedence comment: nine vocabulary features, not seven. The layer check in cli._feature_source is left: it exists to give the --features-layer hint the CLI test pins, and _Tally's refusal is what the library test pins; folding them is no net saving. Co-Authored-By: Claude Opus 5.5 --- src_python/tin_engine/cli.py | 6 +++-- src_python/tin_engine/feature_input.py | 36 +++++++++++++++++++------- 2 files changed, 30 insertions(+), 12 deletions(-) diff --git a/src_python/tin_engine/cli.py b/src_python/tin_engine/cli.py index 486620d2..2ab28e97 100644 --- a/src_python/tin_engine/cli.py +++ b/src_python/tin_engine/cli.py @@ -132,7 +132,7 @@ #: #: It is the gallery's list and not all of :data:`DEFAULT_VOCABULARY`. The #: legend is derived from it, and a token `svg.py`'s stylesheet has no rule for -#: draws identically to the row above it, so declaring all seven features would +#: draws identically to the row above it, so declaring all nine features would #: put six legend rows on every picture that a reader cannot tell apart -- #: measured by drawing the gallery. It grows when the stylesheet does. #: Grown once, at increment 8: `bridge-over-lake`'s shoreline is an area feature @@ -1066,9 +1066,11 @@ def _open_features( clock.add("features clip", found.clip_seconds) typer.echo( f"{len(found.features)} features read, {found.outside} dropped outside, " - f"{found.empty} empty skipped", + f"{found.clipped} clipped, {found.empty} empty skipped", err=True, ) + for table in found.scanned: + typer.echo(f"{source.path.name}:{table}: no R-tree index, table scanned", err=True) return found diff --git a/src_python/tin_engine/feature_input.py b/src_python/tin_engine/feature_input.py index 9d48be15..c72cc34f 100644 --- a/src_python/tin_engine/feature_input.py +++ b/src_python/tin_engine/feature_input.py @@ -139,7 +139,9 @@ class TerrainFeature(BaseModel): class FeatureSet(BaseModel): """The features in source order; ``outside`` counts those clipped away, - ``empty`` empty geometries skipped. ``crs`` and ``layers`` are per source + ``clipped`` those kept that crossed the domain's boundary, ``empty`` empty + geometries skipped, ``scanned`` the GeoPackage layers read without an + R-tree index (R3). ``crs`` and ``layers`` are per source (a layer for a GeoPackage only); ``clip_seconds`` is the time spent after reading, for the ``features clip`` row.""" @@ -147,7 +149,9 @@ class FeatureSet(BaseModel): features: tuple[TerrainFeature, ...] outside: int = 0 + clipped: int = 0 empty: int = 0 + scanned: tuple[str, ...] = () crs: tuple[str, ...] = () layers: tuple[str | None, ...] = () clip_seconds: float = 0.0 @@ -233,7 +237,9 @@ def open_features(request: FeatureRequest, domain: DomainPolygon, dem_crs: str | return FeatureSet( features=tuple(tally.features), outside=tally.outside, + clipped=tally.clipped, empty=tally.empty, + scanned=tuple(tally.scanned), crs=tuple(crss), layers=tuple(layers), clip_seconds=tally.seconds, @@ -246,7 +252,8 @@ class _Tally: def __init__(self, domain: DomainPolygon, dem: CRS, vocabulary: EdgeVocabulary) -> None: self.domain, self.dem, self.vocabulary = domain, dem, vocabulary self.features: list[TerrainFeature] = [] - self.outside = self.empty = 0 + self.outside = self.clipped = self.empty = 0 + self.scanned: list[str] = [] self.seconds = 0.0 shapely.prepare(domain.polygon) @@ -262,6 +269,8 @@ def source(self, source: FeatureSource) -> tuple[str, str | None]: if suffix == ".gpkg": with closing(open_geopackage(path)) as conn: layer = layer_info(conn, source.layer) + if layer.rtree is None: + self.scanned.append(layer.table) own = self._own(source, layer.crs) box = source_region(self.domain, self.dem, own).bounds scale = 1.0 if parse_crs(own).is_geographic else 100_000.0 @@ -277,17 +286,22 @@ def source(self, source: FeatureSource) -> tuple[str, str | None]: self._take(source, own, ((f.fid, f.geometry, f.value) for f in doc.features)) return own, None doc = json.loads(path.read_text()) - member = doc.get("crs") - own = self._own(source, member["properties"]["name"] if member else GEOJSON_DEFAULT_CRS) - rows = [ - (f.get("id", k), f["geometry"] and shape(f["geometry"]), f["properties"] or {}) - for k, f in enumerate(doc["features"]) - ] - self._take(source, own, ((k, g, p.get(attribute)) for k, g, p in rows)) + try: # a malformed document's structure raises any of these + member = doc.get("crs") + text = member["properties"]["name"] if member else GEOJSON_DEFAULT_CRS + rows = [ + (f.get("id", k), f["geometry"] and shape(f["geometry"]), f["properties"] or {}) + for k, f in enumerate(doc["features"]) + ] + values = [(k, g, p.get(attribute)) for k, g, p in rows] + except (KeyError, TypeError, AttributeError, shapely.errors.ShapelyError) as exc: + raise FeatureError(f"{path.name}: not a GeoJSON FeatureCollection ({exc})") from exc + own = self._own(source, text) + self._take(source, own, values) return own, None except FeatureError: raise - except (OSError, ValueError, KeyError, TypeError, AttributeError, sqlite3.Error) as exc: + except (OSError, ValueError, KeyError, sqlite3.Error) as exc: raise FeatureError(f"{path.name}: {exc}") from exc def _own(self, source: FeatureSource, text: str) -> str: @@ -339,6 +353,8 @@ def _take(self, source: FeatureSource, own: str, rows: Iterable[tuple[Any, Any, ) if lines: self.features.append(TerrainFeature(fid=fid, mask=mask, lines=lines)) + # A dropped edge lies outside, so a pre-clipped chain is not covered. + self.clipped += not all(self.domain.polygon.covers(g) for g in kept) else: self.outside += 1 self.seconds += time.perf_counter() - t0 From 7fd27f61203143acde5ea774e852ac293b1efbf7 Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Mon, 28 Sep 2026 23:21:46 +0200 Subject: [PATCH 15/27] 16b-1/2 review fixes (docs): status, R3/R10 as built, dropped-outside defined, LOC as built, module tree Co-Authored-By: Claude Opus 5.5 --- .../2026-09-28/16b0-acceptance/README.md | 4 ++ docs/increments/16b-terrain-polygons.md | 64 +++++++++++++------ docs/increments/17-mesh-stats.md | 2 +- project_structure.md | 17 ++++- 4 files changed, 66 insertions(+), 21 deletions(-) diff --git a/docs/benchmarks/2026-09-28/16b0-acceptance/README.md b/docs/benchmarks/2026-09-28/16b0-acceptance/README.md index ea81a4d0..c4d17b5c 100644 --- a/docs/benchmarks/2026-09-28/16b0-acceptance/README.md +++ b/docs/benchmarks/2026-09-28/16b0-acceptance/README.md @@ -267,3 +267,7 @@ angle, in degrees; "worst" is the smallest in the mesh, in degrees. repo root: `.venv/bin/python docs/benchmarks/2026-09-28/16b0-acceptance/corine/scripts/drv.py --pkg /build-bench/pkg mesh --side 48 --tol 10 --features A --min-angle 25` (the committed `drv.py` also looks for `clc_*.py` beside itself). +- `clc_mesh.py:62` and `drv.py:120` monkeypatch `cli._domain_chains`, which + 16b-1/2 replaced with `chains.start_chains` (`5079da8`), so `drv.py mesh + --features A` and `clc_mesh.py` reproduce only with `` checked out at + 16b-0's `18be867`. diff --git a/docs/increments/16b-terrain-polygons.md b/docs/increments/16b-terrain-polygons.md index cecce49f..c171d73a 100644 --- a/docs/increments/16b-terrain-polygons.md +++ b/docs/increments/16b-terrain-polygons.md @@ -1,7 +1,7 @@ # Increment 16b — terrain polygons: interior polygons and polylines as constraints (CORINE over Norway) -Status: **16b-0 shipped (#107); 16b-1/2 designed, red step written, not -built.** Q1-Q6 at the end were ruled on 2026-09-28 (see "Ruled by Ola"). Written +Status: **16b-0 shipped (#107); 16b-1/2 built (green `5079da8`), under +review.** Q1-Q6 at the end were ruled on 2026-09-28 (see "Ruled by Ola"). Written by `@architect` before `@tester`, per `docs/increments/README.md` step 1, on branch `increment16b-terrain-polygons` off the unmerged 15b branch (`increment15b-domain-crs`). Nothing in this design depends on 15c or 15d. @@ -356,6 +356,7 @@ cli.py (composition root) flags -> FeatureRequest ├─ feature_input.open_features(request, domain, dem_crs) -> FeatureSet [16b-1] │ per source: │ GeoJSON: read the file (as domain.py does) + │ GML: open the file, io.gml.read_gml(stream, attribute) │ GeoPackage: io.repository.open_geopackage(path) read-only connection │ io.geopackage.layer_info / query_features(conn, layer, box) │ region = domain boundary, densified, in the SOURCE crs, + margin (R5) @@ -377,7 +378,8 @@ Boundaries, each one checkable by an import test (`TestModuleIsolation` style): - **No path below `cli.py` except** `domain.py` and `feature_input.py` (which - read GeoJSON text, as `domain.py` already does), `dem_input.py` (which only + read GeoJSON text, as `domain.py` already does; `feature_input.py` also + opens a `.gml` and hands `io/gml.py` the binary stream), `dem_input.py` (which only builds a repository) and `io/repository.py` (which opens files). The GeoPackage decoder in `io/geopackage.py` takes an open `sqlite3.Connection`, never a path: the connection is its stream. @@ -435,10 +437,10 @@ style): | module | holds | imports | |---|---|---| -| `io/geopackage.py` (new) | `GpkgLayer` (frozen: table, geometry column, `srs_id`, CRS text, R-tree table or `None`); `layer_info(conn, table)`; `decode_geometry(blob) -> BaseGeometry`; `query_features(conn, layer, box, attribute) -> Iterator[RawFeature]` | `sqlite3` (types only), `struct`, shapely, pydantic | +| `io/geopackage.py` (new) | `GeoPackageError`; `GpkgLayer` (frozen dataclass: table, geometry column, primary key, `srs_id`, CRS text, R-tree table or `None`); `RawFeature`; `layer_info(conn, table)`; `decode_geometry(blob) -> (srs_id, BaseGeometry or None)`; `query_features(conn, layer, box, attribute, scale) -> Iterator[RawFeature]` | `sqlite3` (the connection type, and its errors caught and turned into refusals), `struct`, shapely, `dataclasses` | | `io/gml.py` (new, Q6; added 2026-09-28) | `GmlError`, `GmlDocument`; `read_gml(stream, attribute)`, strict (R1) | `xml.etree` (standard library), shapely | | `io/repository.py` | adds `open_geopackage(path) -> sqlite3.Connection`, read-only | as today, plus `sqlite3` | -| `tin_engine/feature_input.py` (new) | `ClassMap`, the built-in maps; `FeatureSource`, `FeatureRequest`; `TerrainFeature`, `FeatureSet`; `FeatureError`; `open_features(request, domain, dem_crs) -> FeatureSet` | json, shapely, numpy, pydantic, `crs`, `domain`, `features`, `io.repository`, `io.geopackage` | +| `tin_engine/feature_input.py` (new) | `ClassMap`, the built-in maps; `FeatureSource`, `FeatureRequest`; `TerrainFeature`, `FeatureSet`; `FeatureError`; `open_features(request, domain, dem_crs) -> FeatureSet` | json, `sqlite3` (errors only), shapely, numpy, pydantic, pyproj, `crs`, `domain`, `features`, `io.repository`, `io.geopackage`, `io.gml` | | `tin_engine/chains.py` (new) | `StartChains`; `start_chains(domain, features, vocabulary)`: 16 R6's table as code. `cli._domain_chains` moves here and is its first half | numpy, shapely, `domain`, `feature_input`, `features` | | `tin_engine/features.py` | two more vocabulary entries (R4, Q3) | unchanged: nothing first-party | | `cli.py` | four options, refusals, one call each to `open_features` and `start_chains`, the fields (R10) | adds `feature_input`, `chains` | @@ -470,9 +472,10 @@ Python stream, so the GeoPackage decoder's stream is the open connection. *widened per row for long edges, 2026-09-28: see R5, "Long edges"*). SQLite stores R-tree bounds as 32-bit floats rounded outward, so this is a superset, which is all a candidate query needs. Without an index the table - is scanned and the report says so. **Rows are ordered by the primary key** - (`ORDER BY `), because an R-tree join returns rows in no stated order - and the mesh depends on input order (R7). + is scanned and stderr says so, one line per such layer: + `:
: no R-tree index, table scanned` (R10). **Rows are + ordered by the primary key** (`ORDER BY `), because an R-tree join + returns rows in no stated order and the mesh depends on input order (R7). - **The blob header** (OGC 12-128, 2.1.3), `decode_geometry`: - bytes 0-1 `GP`, byte 2 version `0`; else refused; - byte 3 flags: bit 0 the header's byte order (for `srs_id` and the @@ -910,8 +913,27 @@ builds returned `Ok`. M3's attribution holds, and 16b-0 is scoped as designed. - **`elevation_source`**'s start clause becomes `start domain boundary and features, vertex z bilinear` when features are given. -- **stderr**: features read, dropped outside, clipped, and input versus - noded vertex counts. `--stats`' phase table gains `features read` and +- **stderr**, after reading: ` features read, dropped outside, + clipped, empty skipped`, then `:
: no R-tree index, table + scanned` for each GeoPackage layer read without an index (R3). After + noding: ` input vertices, noded vertices`. As built at `74e6c32`: + - `` is the features kept, those with some linework inside the domain. + - `` counts the kept features whose linework the domain does not wholly + cover: the pre-clip (R5) dropped an edge, or the exact clip (R6) cut a + line. A kept feature wholly inside the domain is not counted. + - `` counts null and empty geometries, skipped before the class map. + - **``, dropped outside, counts candidates read and then found to have + nothing inside the domain** after the pre-clip and the clip. A candidate + is a feature the source hands over: every feature of a GeoJSON or GML + file, every row of a GeoPackage table scanned whole, but only the rows + the R-tree query returns when there is an index. Features far from the + domain never become candidates when indexed, so **the count depends on + the index**: `@tester` found that the same rows give 0 with an R-tree and + 1 without one. It measures work done on features that turned out not to + matter, not how many features in the source lie outside the domain. + Features the class map drops (R4) are not counted anywhere. The + `features` field's `( dropped outside)` is this same count. +- **`--stats`**: the phase table gains `features read` and `features clip` (`PhaseClock` rows are named by the caller; `stats.py` does not change). @@ -1014,11 +1036,13 @@ far (+39 %, increment 16) applied. | | | *16b-0 as built (`aa35a38`, CLAUDE.md §2, blank lines excluded): +98 / −21, net 77, over the worst case; the sweep ~50, padded and clamped cell boxes ~12, the 14(a)/(b) loops as callbacks +36 / −21. All three were named in the estimate row: the overrun is in the estimate, not unplanned scope* | | | **16b-1** | `io/geopackage.py` | `GpkgLayer`, `layer_info`, `decode_geometry`, `query_features` | ~70 | | | `io/repository.py`, `io/__init__.py` | `open_geopackage` | ~8 | +| | `io/gml.py` | `GmlError`, `GmlDocument`, `read_gml`, strict (Q6, R1; added 2026-09-28, "about 40 lines" in the Q6 ruling, not in the total below) | ~40 | | | `feature_input.py` | `ClassMap` and three built-in maps, request and result models, GeoJSON reading, region, pre-clip, reprojection, clip, counts, refusals; the per-edge widening, the query's widening and the reproject-first route (R5, 2026-09-28, ~+20) | ~150 | | | `chains.py` | `start_chains` (the domain half moved from `cli.py`, net ~+25) | ~45 | | | `features.py` | two vocabulary entries | ~2 | | **16b-2** | `cli.py` | four options and their refusals, the two calls, `features`, `features_crs`, `features_transform`, `features_notice`, the sentence, the report; less `_domain_chains` (`edge_vocabulary` dropped 2026-09-28, R10) | ~65 | | | | **16b-1 + 16b-2 total** | **~340 (worst ~475)** | +| | | *16b-1/2 as built (CLAUDE.md §2 unit, net against `origin/master`'s merge base `14f5fe3`): +627 at `0ccd185` (@reviewer), +15 in `74e6c32` (@developer: `feature_input.py` +13, `cli.py` +2), so **net +642**, over the worst case by 167 and under 700. By file at `74e6c32`: `feature_input.py` +305, `io/geopackage.py` +129, `cli.py` +93, `io/gml.py` +72, `chains.py` +36, `io/repository.py` +3, `crs.py` +2, `features.py` +2, `io/__init__.py` 0. The overrun is mostly `feature_input.py` (about twice its estimate) and `io/gml.py`, which the total did not include* | | **Two PRs, recommended:** @@ -1076,10 +1100,11 @@ its part in full. Suites: `tests/python/test_io_geopackage.py`, repeats its first index. `test_refine_golden.py` now takes the domain chains from here (the move from `cli._domain_chains`, R2). - CLI: the four flags; fields `features` (`[:], map , - features ( dropped outside), chains, vertices`), + features ( dropped outside), chains, vertices`; `` as R10 + defines it), `features_crs`, `features_transform`, `features_notice` (absent without a notice), `edge_vocabulary` (`; 0 river, ..., 8 water`, on every - `.vtk`; *dropped 2026-09-28*, R10); stderr ` input vertices`, ` noded vertices`; `--stats` rows + `.vtk`; *dropped 2026-09-28*, R10); stderr as R10 gives it; `--stats` rows `features read`, `features clip`. - I4 is tested after the noder (same noded edges and masks as the test's own no-pre-clip pipeline), not as identical engine input: GEOS may split a ring @@ -1265,13 +1290,14 @@ Everything else is unit, property or integration testing: SQLite's R-tree module is present locally (3.53.4); CI's Linux Python is not yet checked, so 16b-1's first CI run settles it. - **Found in passing:** `tests/fixtures/corine/0000_4326_corine2018_4e6064_GML.gml` - (30 MB, 200 CORINE features over Norway in EPSG:4326, written by OGR, - committed with the foundation reset `3096ccc`) carries no attribution, and - nothing in the tree reads it: `grep -rln corine src_python tests tools` finds - only the file itself, and the legacy test reads `$RASPUTIN_DATA_DIR/corine` - (`legacy/tests/test_gml_repository.py:18`). 16b's PR adds the - same attribution for it, or removes it if Ola prefers (Q6), per the rule - that a documentation defect found in an increment is fixed in its PR. + (30 MB, 200 CORINE features over Norway in EPSG:4326, written by OGR) was + added in `8e30af4` (2020-03-12, as `.circleci/rasputin_data/corine/`); the + foundation reset `3096ccc` only moved it here. When this design was + written it carried no attribution and nothing outside `legacy/` read it. + Q6 kept it: `tests/fixtures/corine/NOTICE` now carries its attribution and + its repair (next item), and `io/gml.py`'s `read_gml` reads it + (`tests/python/test_io_gml.py`, through `LEGACY_GML` in + `tests/python/gpkg_fixtures.py`). - **The GML fixture is repaired** (Ola, 2026-09-28: "Repear the broken file."). It lacks a `` after feature `sql_statement.40965` (line 1097) and the closing root tag. The two tags are diff --git a/docs/increments/17-mesh-stats.md b/docs/increments/17-mesh-stats.md index 55ddd372..707ad0c0 100644 --- a/docs/increments/17-mesh-stats.md +++ b/docs/increments/17-mesh-stats.md @@ -208,7 +208,7 @@ changes, nanosecond API. Each phase is wall time on the calling thread. | phase | covers exactly | |---|---| | decode | open the GeoTIFF, `decode_dem`, close | -| domain read | `read_domain` and `_domain_chains` | +| domain read | `read_domain` and `_domain_chains` (as built at `4a1d806`; 15b's `0011741` moved the `_domain_chains` call out of this phase, and 16b-1/2's `5079da8` replaced it with `chains.start_chains`, also untimed, so it falls in "other") | | start mesh: build / node / triangulate | the three calls inside `_engine` | | start mesh: constraint edges | `_constraint_arrays` on the start mesh | | sample | `to_core` and `sample` (no-tolerance path only) | diff --git a/project_structure.md b/project_structure.md index bfd29b9c..7f5e37ff 100644 --- a/project_structure.md +++ b/project_structure.md @@ -98,6 +98,14 @@ src_python/tin_engine/ # public Python API (distribution name: rasputin) features.py # EdgeVocabulary: which bit means which feature. # The names C++ refuses to hold. Imports nothing # first-party and never imports _core + feature_input.py # --features: a GeoJSON, GeoPackage layer or GML + # read, mapped to masks by a ClassMap, pre-clipped, + # moved to the DEM's CRS and clipped to the domain + # as linework -> FeatureSet (16b); opens GeoJSON + # and .gml itself; never imports _core + chains.py # start_chains: the domain's rings, then every + # feature line, as (indices, role, mask) (16b); + # never imports _core _core.pyi # type stubs for the compiled extension viz/ # CDT -> SVG renderer; never imports _core __init__.py # re-exports Scene, SvgStyle, build_scene, render_svg @@ -116,8 +124,15 @@ src_python/tin_engine/ # public Python API (distribution name: rasputin) # ParaView; takes no path and opens nothing geotiff.py # TIFF container + GeoKey decoding -> DemTile models.py # Pydantic RasterMeta / DemTile + geopackage.py # GeoPackage layer_info / query_features over an + # open sqlite3.Connection; frozen dataclasses, + # opens nothing, knows no path (16b) + gml.py # read_gml: OGR-written GML2 from a binary stream, + # standard library XML; opens nothing (16b) repository.py # TiffDemRepository: the ONE io/ module that opens - # files ("rb"); lists headers, loads tiles (15a) + # files ("rb"); lists headers, loads tiles (15a); + # open_geopackage: a read-only SQLite + # connection (16b) tests/ cpp/ # C++ tests (Catch2; unit/ and property/) From c2a38988bb32548afaec6c09b3811a537e25ea5d Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Mon, 28 Sep 2026 23:23:43 +0200 Subject: [PATCH 16/27] 16b-1/2 red: the file records data counts only; stderr says kept Co-Authored-By: Claude Opus 5.5 --- tests/python/test_cli_mesh_features.py | 81 ++++++++++++++++++-------- 1 file changed, 56 insertions(+), 25 deletions(-) diff --git a/tests/python/test_cli_mesh_features.py b/tests/python/test_cli_mesh_features.py index d349a166..57fda6ea 100644 --- a/tests/python/test_cli_mesh_features.py +++ b/tests/python/test_cli_mesh_features.py @@ -12,12 +12,16 @@ `--features` is a usage error naming itself; `--features` without `--domain` is a usage error naming `--features`; so is any `FeatureError`, and no file is written. -- `.vtk` field `features`: `[:], map , features - ( dropped outside), chains, vertices`, where `n` is - `len(FeatureSet.features)`, `k` is `FeatureSet.outside`, `c` the number of - feature chains and `v` the number of feature vertices `start_chains` hands - the engine (its vertices less the domain's). The layer is written for a - GeoPackage only. The same text as a `.ply` comment `features `. +- `.vtk` field `features`: `[:], map , features, + chains, vertices`, where `n` is `len(FeatureSet.features)`, `c` the + number of feature chains and `v` the number of feature vertices + `start_chains` hands the engine (its vertices less the domain's). The layer + is written for a GeoPackage only. The same text as a `.ply` comment + `features `. The field records the data used, never how the file was + read: it has no dropped-outside count, which is 0 behind an R-tree and 1 in + a scan for the same rows, so an indexed and an unindexed GeoPackage give the + same field (the principle of Ola's ruling of 2026-09-28, "A table in a run + report is output, not data.", applied by the main session). - `features_crs` (`crs_label` of the source's CRS) and `features_transform` (`none` for the DEM's own CRS, else `transform_description(source, dem)`), as 15b's `domain_crs` and `domain_transform`. @@ -26,14 +30,24 @@ bilinear` with features. - stderr says ` input vertices` and ` noded vertices`; `--stats` has phase rows `features read` and `features clip`. -- stderr's features line gives ` clipped`, the number of features kept - that crossed the domain boundary (R10: "features read, dropped outside, - clipped"); a GeoPackage layer without an R-tree index is read all the same, +- stderr's features line reads ` features kept, dropped outside, + clipped, empty skipped`: `n` counts the features kept (the line said + "read" for that count before), and `c` those kept that crossed the domain + boundary (R10: "features read, dropped outside, clipped"). How the file was + read, including the dropped-outside count, goes to stderr only. The + `--stats` row `features read` is a phase name and keeps its name. A + GeoPackage layer without an R-tree index is read all the same, and stderr says the table was scanned (R3: "Without an index the table is scanned and the report says so"). `TestReport`, added red after @reviewer's review of 16b-1/2 (the commit "16b-1/2 red: the full-scan report line and the clipped count (R3, R10)"). +The field without the dropped-outside count and the stderr line saying +"kept" were committed red as "16b-1/2 red: the file records data counts only; +stderr says kept": the field still carried "( dropped outside)", so every +`FEATURES_FIELD` match failed and the indexed and unindexed files differed, +and stderr still said "features read". + Committed red at `e99c8ea` (amended at `972312c`): the flags did not exist yet, so every run exited 2 with "No such option", which every usage test excludes, and the runs failed on their exit code. @@ -80,8 +94,8 @@ V = DEFAULT_VOCABULARY SNAP = 1e-3 FEATURES_FIELD = re.compile( - r"(?P[^,:]+)(?::(?P[^,]+))?, map (?P[a-z0-9-_]+), (?P\d+) features " - r"\((?P\d+) dropped outside\), (?P\d+) chains, (?P\d+) vertices" + r"(?P[^,:]+)(?::(?P[^,]+))?, map (?P[a-z0-9-_]+), (?P\d+) features, " + r"(?P\d+) chains, (?P\d+) vertices" ) @@ -261,7 +275,8 @@ def test_the_fields( fs = ff.open_one(gallery, domain) started = ff.start(domain, fs.features) chains = [c for c in started.chains if c[1] == "breakline"] - assert (int(match["n"]), int(match["k"])) == (len(fs.features), fs.outside) == (5, 0) + assert "dropped" not in match.string + assert int(match["n"]) == len(fs.features) == 5 assert int(match["c"]) == len(chains) assert int(match["v"]) == len(started.vertices) - len(SQUARE) assert text_field(vtk, "features_crs") == "EPSG:25833" @@ -350,6 +365,10 @@ def test_stderr_and_stats( Feat("far", FAR_AWAY, {"property": "road"}), ] CLIPPED = re.compile(r"\b(\d+) clipped\b") +FEATURES_LINE = re.compile( + r"\b(?P\d+) features kept, (?P\d+) dropped outside, (?P\d+) clipped, " + r"(?P\d+) empty skipped\b" +) def gpkg_of(path: Path, features: list[Feat], *, rtree: bool) -> Path: @@ -369,6 +388,18 @@ def test_stderr_gives_the_clipped_count( assert re.search(r"\b1 dropped outside\b", output), output assert [int(n) for n in CLIPPED.findall(output)] == [2], output + def test_stderr_counts_the_features_kept( + self, tmp_path: Path, bumpy: Path, plain_square: Path + ) -> None: + """The line's first count is the features kept, and says so: of + `CROSSINGS`, three kept, `far` dropped outside, two clipped, none + empty. "features read" named that count wrongly.""" + path = write_geojson(tmp_path / "crossings.geojson", CROSSINGS) + _, output = meshed(tmp_path, bumpy, plain_square, "--features", str(path)) + found = [m.groupdict() for m in FEATURES_LINE.finditer(output)] + assert found == [{"n": "3", "o": "1", "c": "2", "e": "0"}], output + assert not re.search(r"\bfeatures read,", output), output + def test_nothing_crossing_is_zero_clipped( self, tmp_path: Path, bumpy: Path, plain_square: Path ) -> None: @@ -380,11 +411,13 @@ def test_a_layer_without_an_index_is_scanned_and_reported( self, tmp_path: Path, bumpy: Path, plain_square: Path ) -> None: """R3: "Without an index the table is scanned and the report says so". - The layer is still read: the features field counts the kept three.""" + The layer is still read: the features field counts the kept three, + and the scan's dropped `far` is on stderr only.""" path = gpkg_of(tmp_path / "f.gpkg", CROSSINGS, rtree=False) vtk, output = meshed(tmp_path, bumpy, plain_square, "--features", str(path)) match = FEATURES_FIELD.fullmatch(text_field(vtk, "features")) - assert match is not None and (match["n"], match["k"]) == ("3", "1") + assert match is not None and match["n"] == "3", text_field(vtk, "features") + assert re.search(r"\b1 dropped outside\b", output), output assert re.search(r"scan", output, re.IGNORECASE), output assert re.search(r"index", output, re.IGNORECASE), output @@ -392,11 +425,13 @@ def test_a_layer_without_an_index_is_scanned_and_reported( def test_an_indexed_layer_gives_the_same_file_and_no_scan_line( self, tmp_path: Path, bumpy: Path, plain_square: Path ) -> None: - """The control: the same rows behind an R-tree give the same mesh, - and nothing about a scan is said. The `features` field alone may - differ, in `k`: the R-tree query never returns `far`, so it is not - counted as dropped outside, where the scan reads and drops it.""" + """The control: the same rows behind an R-tree give the same file, + byte for byte, `features` field included, and nothing about a scan is + said. The R-tree query never returns `far` where the scan reads and + drops it; that difference is how the file was read, so it stays on + stderr and out of the file.""" files = [] + fields = [] for rtree in (True, False): where = tmp_path / str(rtree) where.mkdir() @@ -408,13 +443,9 @@ def test_an_indexed_layer_gives_the_same_file_and_no_scan_line( vtk = read_vtk(target.read_bytes()) match = FEATURES_FIELD.fullmatch(text_field(vtk, "features")) assert match is not None and match["n"] == "3", text_field(vtk, "features") - files.append( - [ - line - for line in target.read_bytes().splitlines() - if not line.startswith(b"f.gpkg:") - ] - ) + fields.append(text_field(vtk, "features")) + files.append(target.read_bytes()) + assert fields[0] == fields[1] assert files[0] == files[1] From db71cff7bcf69f9f79ae84492217bb4118db6058 Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Mon, 28 Sep 2026 23:25:34 +0200 Subject: [PATCH 17/27] green: the file records data counts only; stderr says kept Co-Authored-By: Claude Opus 5.5 --- src_python/tin_engine/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src_python/tin_engine/cli.py b/src_python/tin_engine/cli.py index 2ab28e97..0dbb0d38 100644 --- a/src_python/tin_engine/cli.py +++ b/src_python/tin_engine/cli.py @@ -823,7 +823,7 @@ def mesh( layer = f":{found.layers[0]}" if found.layers[0] else "" text = _ascii( f"{features.name}{layer}, map {features_map or 'property'}, " - f"{len(found.features)} features ({found.outside} dropped outside), " + f"{len(found.features)} features, " f"{chains} chains, {feature_vertices} vertices" ) own = found.crs[0] @@ -1065,7 +1065,7 @@ def _open_features( clock.add("features read", time.perf_counter() - t0 - found.clip_seconds) clock.add("features clip", found.clip_seconds) typer.echo( - f"{len(found.features)} features read, {found.outside} dropped outside, " + f"{len(found.features)} features kept, {found.outside} dropped outside, " f"{found.clipped} clipped, {found.empty} empty skipped", err=True, ) From 3a9f681a23cd8bfc2d686a1f8f9cf550623657c8 Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Mon, 28 Sep 2026 23:26:14 +0200 Subject: [PATCH 18/27] 16b-1/2 design: the file records data counts only; stderr says kept Co-Authored-By: Claude Opus 5.5 --- docs/increments/16b-terrain-polygons.md | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/docs/increments/16b-terrain-polygons.md b/docs/increments/16b-terrain-polygons.md index c171d73a..705d544b 100644 --- a/docs/increments/16b-terrain-polygons.md +++ b/docs/increments/16b-terrain-polygons.md @@ -892,8 +892,14 @@ builds returned `Ok`. M3's attribution holds, and 16b-0 is scoped as designed. - **`features`**: source file name, layer (GeoPackage), map name, and counts after the clip: e.g. `U2018_CLC2018_V2020_20u1.gpkg:U2018_CLC2018_V2020_20u1, - map corine, 727 features (12 dropped outside), 988 chains, 51 395 - vertices`. `.vtk` field and `.ply` comment, like `domain`. + map corine, 727 features, 988 chains, 51 395 vertices`. `.vtk` field and + `.ply` comment, like `domain`. **The field records only counts of the data + used** (*2026-09-28*, the main session applying Ola's principle from the + `edge_vocabulary` ruling in "Ruled by Ola": "A table in a run report is + output, not data."). It no longer carries `( dropped outside)`, which depends on + whether the GeoPackage has an R-tree index (see stderr below). Indexed and + unindexed runs over the same rows write identical files (tests `c2a3898`, + code `db71cff`). - **`features_crs`** and **`features_transform`**, as `domain_crs` and `domain_transform` (15b). - **No `edge_vocabulary` field, and no report line** (*ruled 2026-09-28*; @@ -913,10 +919,11 @@ builds returned `Ok`. M3's attribution holds, and 16b-0 is scoped as designed. - **`elevation_source`**'s start clause becomes `start domain boundary and features, vertex z bilinear` when features are given. -- **stderr**, after reading: ` features read, dropped outside, +- **stderr**, after reading: ` features kept, dropped outside, clipped, empty skipped`, then `:
: no R-tree index, table scanned` for each GeoPackage layer read without an index (R3). After - noding: ` input vertices, noded vertices`. As built at `74e6c32`: + noding: ` input vertices, noded vertices`. As built at `db71cff` + (before it, ` features read`): - `` is the features kept, those with some linework inside the domain. - `` counts the kept features whose linework the domain does not wholly cover: the pre-clip (R5) dropped an edge, or the exact clip (R6) cut a @@ -931,8 +938,9 @@ builds returned `Ok`. M3's attribution holds, and 16b-0 is scoped as designed. the index**: `@tester` found that the same rows give 0 with an R-tree and 1 without one. It measures work done on features that turned out not to matter, not how many features in the source lie outside the domain. - Features the class map drops (R4) are not counted anywhere. The - `features` field's `( dropped outside)` is this same count. + Features the class map drops (R4) are not counted anywhere. This count + is on stderr only, because it describes the run, not the data (the + `features` field above). - **`--stats`**: the phase table gains `features read` and `features clip` (`PhaseClock` rows are named by the caller; `stats.py` does not change). @@ -1100,8 +1108,8 @@ its part in full. Suites: `tests/python/test_io_geopackage.py`, repeats its first index. `test_refine_golden.py` now takes the domain chains from here (the move from `cli._domain_chains`, R2). - CLI: the four flags; fields `features` (`[:], map , - features ( dropped outside), chains, vertices`; `` as R10 - defines it), + features, chains, vertices`; *2026-09-28, `db71cff`:* no longer + `( dropped outside)`, R10), `features_crs`, `features_transform`, `features_notice` (absent without a notice), `edge_vocabulary` (`; 0 river, ..., 8 water`, on every `.vtk`; *dropped 2026-09-28*, R10); stderr as R10 gives it; `--stats` rows From 54afc273c25a95c5d666f6091a1064a267d4874a Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Mon, 28 Sep 2026 23:26:24 +0200 Subject: [PATCH 19/27] ROADMAP: 16b-1/2 built Co-Authored-By: Claude Opus 5.5 --- ROADMAP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index cb39da0a..12348301 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -45,7 +45,7 @@ increment that most needs a picture to check against | — | The serial phase: profile refine's serial insert-and-flip phase, then parallelise what the profile blames. Scaling tops out at about 2.0-2.2×. Profiled 2026-09-27: serial part about a third of 1-thread refine, mostly Lawson legalisation; the scan stops near 5× from load imbalance | profiled; designed as increment 21 (Ola's rulings 2026-09-27: L1 determinism, one path, at most 2 % more triangles). **21a shipped with branch `increment21a-quick-wins`'s PR**: dynamic scan blocks, active merge, reused flip stack; mesh bit-identical; on AC refine -10 to -15 % at 8 threads, ceiling 2.1x -> 2.3x (`docs/benchmarks/2026-09-27/21a-acceptance.md`). **21b shipped with branch `increment21b-lattice-incircle`'s PR**: an int64 lattice incircle answers 99.97-100 % of refine's incircle tests; mesh bit-identical; on battery refine -15 % at 8 threads, ceiling 2.3x -> 2.5x (`docs/benchmarks/2026-09-27/21b-acceptance.md`). **21c measured** (`docs/benchmarks/2026-09-27/21c/README.md`): option C costs 6.5-10 % more triangles; A1 about 1 %; A0 is bit-identical (on these two inputs, not proven), and with evaluate-once is modelled at only 7-11 % faster refine at 8 threads and slower at 4. **21d is deferred** (Ola, 2026-09-27: "Review and push 21c, then basin-work"), behind the work in "Order of work" below; domain decomposition parallelises scan and split together | `docs/increments/21-parallel-refine.md`, `docs/benchmarks/2026-09-27/serial-profile/README.md` | | — | Release hardening: measure libc++'s `_LIBCPP_HARDENING_MODE_FAST` (and libstdc++'s assertions on the GCC leg), which bounds-check `std::vector`, `span` and the like in Release, on the 1 m benchmark; switch it on if the cost is small. Today an out-of-range index in shipped code the tests miss is undefined behaviour and crashes Python (Ola, 2026-09-27: "I'm surprised we don't have proper memory control"; CI's ASan/UBSan/TSan cover what the tests reach) | to measure (Ola, 2026-09-27); 21d, which it was placed after, is deferred behind the basin work | none yet | | 15 | A DEM in several tiles, and the domain in its own CRS: 15a Norway, many tiles in one projected CRS (Ola's 254 DTM10 UTM33 tiles; only the selected tiles must share a lattice, since 8 of them sit half a cell off); 15b the domain polygon reprojected into the DEM's CRS; 15c and 15d the São Francisco basin (geographic DEMs meshed in the DEM's own lattice frame, not resampled; window decoding and memory) | **15a shipped with branch `increment15-dem-mosaic`'s PR**: `--dem DIR` or several files, `--bbox`, tiles selected and stitched on one lattice, Q2-Q5 refusals; overlaps that disagree (real DTM10 tiles exported on different dates, up to 52 m) are split down the middle and reported per seam (Ola's Q1 revised, 2026-09-28). The design's acceptance box, 9 tiles and 10,051² nodes, meshes: 11.05 M triangles in 31 s on battery. **15b built with branch `increment15b-domain-crs`'s PR**: `--domain` in its own CRS (e.g. EPSG:4326) over a UTM33 mosaic, reprojected vertex by vertex. Then 16b (Ola, 2026-09-27: Norway first) | `docs/increments/15-dem-mosaic.md` | -| 16b | Interior polygons and polylines as constraints ("terrain polygons": lakes, land cover, roads, rivers): `--features PATH`, a GeoJSON `FeatureCollection`, each feature naming a vocabulary property; closed or open `Breakline`s, crossings noded, off-node vertices with bilinear z. **Its working example is real data** (Ola, 2026-09-27): CORINE Land Cover 2018 over the benchmark tile `7908_3_10m_z33.tif`. The source is Ola's local copy, `rasputin_data/corine_sql/.../U2018_CLC2018_V2020_20u1.gpkg` (8.2 GB, EPSG:3035, a sibling of this repository, which also holds the 254-tile DTM10 archive for gap 6). It reads without GDAL: sqlite3 over its R-tree, the GeoPackage blob header stripped, `shapely.wkb`, then `pyproj` to 25833, so CRS stops in Python as before. Probed 2026-09-27 in 0.2 s: 60 polygons in 8 classes (heath, bare rock, sparse vegetation, bogs, intertidal flats, water, sea, urban), 11 068 vertices clipped to the tile, median segment 54 m against 10 m cells. The EEA's public ArcGIS service (`image.discomap.eea.europa.eu`, `Corine/CLC2018_WM`) returns the same 11 068 clipped vertices and is the route for anyone without the file. What it forces on 16b's design: neighbouring polygons share their boundaries, so each shared edge arrives twice; the polygons run past the domain and must be clipped; the extract is committed as a fixture with the Copernicus attribution. Placed before 20c because 20c may split constraint segments and should be designed and measured on inputs that have interior ones | **designed** (`@architect`, 2026-09-28): two PRs, 16b-0 (the noder's verifier indexed: it is quadratic, 25 s of a 30 s CORINE run) and 16b-1/2 (GeoJSON and GeoPackage features, class maps, clip as linework, the noder merges shared edges); Q1-Q6 ruled by Ola 2026-09-28 (Q6: the legacy CORINE GML stays and is read). **16b-0 shipped (#107, merged 2026-09-28)**: the verifier's pair search by sort and sweep, always on; `node` on a 48 km CORINE square 24.8 s → 0.067 s. 16b-1/2 next; before 20c | `docs/increments/16b-terrain-polygons.md`, `docs/increments/16-domain-polygon.md` (R6) | +| 16b | Interior polygons and polylines as constraints ("terrain polygons": lakes, land cover, roads, rivers): `--features PATH`, a GeoJSON `FeatureCollection`, each feature naming a vocabulary property; closed or open `Breakline`s, crossings noded, off-node vertices with bilinear z. **Its working example is real data** (Ola, 2026-09-27): CORINE Land Cover 2018 over the benchmark tile `7908_3_10m_z33.tif`. The source is Ola's local copy, `rasputin_data/corine_sql/.../U2018_CLC2018_V2020_20u1.gpkg` (8.2 GB, EPSG:3035, a sibling of this repository, which also holds the 254-tile DTM10 archive for gap 6). It reads without GDAL: sqlite3 over its R-tree, the GeoPackage blob header stripped, `shapely.wkb`, then `pyproj` to 25833, so CRS stops in Python as before. Probed 2026-09-27 in 0.2 s: 60 polygons in 8 classes (heath, bare rock, sparse vegetation, bogs, intertidal flats, water, sea, urban), 11 068 vertices clipped to the tile, median segment 54 m against 10 m cells. The EEA's public ArcGIS service (`image.discomap.eea.europa.eu`, `Corine/CLC2018_WM`) returns the same 11 068 clipped vertices and is the route for anyone without the file. What it forces on 16b's design: neighbouring polygons share their boundaries, so each shared edge arrives twice; the polygons run past the domain and must be clipped; the extract is committed as a fixture with the Copernicus attribution. Placed before 20c because 20c may split constraint segments and should be designed and measured on inputs that have interior ones | **designed** (`@architect`, 2026-09-28): two PRs, 16b-0 (the noder's verifier indexed: it is quadratic, 25 s of a 30 s CORINE run) and 16b-1/2 (GeoJSON and GeoPackage features, class maps, clip as linework, the noder merges shared edges); Q1-Q6 ruled by Ola 2026-09-28 (Q6: the legacy CORINE GML stays and is read). **16b-0 shipped (#107, merged 2026-09-28)**: the verifier's pair search by sort and sweep, always on; `node` on a 48 km CORINE square 24.8 s → 0.067 s. **16b-1/2 built on branch `increment16b12-features`** (2026-09-28): GeoPackage, GeoJSON and the legacy GML (strict reader, fixture repaired) as `--features`; CORINE class maps; the pre-clip keeps whole edges and widens its margin per edge for long ones; the noder merges shared edges; net +642 production lines. Before 20c | `docs/increments/16b-terrain-polygons.md`, `docs/increments/16-domain-polygon.md` (R6) | | 16c | A land-cover label per triangle: which input polygon (CORINE class) each triangle lies in, by a flood fill over the unconstrained edges. The bits on an edge say what kind of line it is; which class lies on each side is 16c's | planned: ruled by Ola 2026-09-28 (16b's Q2) as a separate increment, next after 16b | `docs/increments/16b-terrain-polygons.md` (Q2, R6) | | 16d | A record of the input polylines in the mesh. Today a constraint edge keeps only its type bits; the source feature, its attributes (a river's name or order, a road's class) and which edges belong to one polyline are lost, and where edges from two features merge only the union of their bits survives. Proposed: a feature table (one row per input feature: source ID and attributes) and, per constraint edge, the list of features it came from (a list, since a merged edge belongs to several). The noder already tracks each piece's input chain; the open part is the output: a per-edge list in `.vtk`/`.ply`, or a side file | proposed by Ola 2026-09-28; to be designed by `@architect` once Ola has said what it is for; after 16b | - | | 20c | Soft quality criterion: a penalty that each Steiner node or constraint split must pay for in angle gained, instead of 20's hard 25°; applied at the start and during DEM refinement; may split constraint segments when that improves the mesh. Ola's rulings on 20's C1-C3 | to design after 16b (`@architect` measures cost against 20 first) | `docs/increments/20-start-quality.md` (Ola's rulings) | From 5f3a52291ef7eebe7092f0b0f0c4da02ec77b879 Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Mon, 28 Sep 2026 23:32:22 +0200 Subject: [PATCH 20/27] Retrospective agenda: second audit's findings Co-Authored-By: Claude Opus 5.5 --- docs/retrospectives/next.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/retrospectives/next.md b/docs/retrospectives/next.md index 5527bc33..f782c1b2 100644 --- a/docs/retrospectives/next.md +++ b/docs/retrospectives/next.md @@ -40,3 +40,10 @@ Found by `@reviewer`'s first role-boundary audit (16b-1/2, 2026-09-28): document (following the 16b-0 precedent); the main session's 413e91b edited the design document too. `@developer` and `@architect` stayed in their areas. + +Second audit (16b-1/2 re-review): `@architect` fixed files outside +`docs/increments/` at `@reviewer`'s request (`project_structure.md`, a +benchmark README, another increment's record). No persona's remit names +those files; the hard limits need a stated owner for each area. Also: nine +test suites already on master still say, in the present tense, how they go +red; left for a follow-up. From 4d3ec3aa82e86aebe8fcee17a6cc1aec87eb173e Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Tue, 29 Sep 2026 00:15:15 +0200 Subject: [PATCH 21/27] 16b-1/2 acceptance: benchmark unchanged, M5 reproduced, Europe read 18 s Battery against battery, branch 5f3a522 against origin/master 14f5fe3. The 1 m benchmark and sweep show no change over four pairs, M5 and the CORINE baseline are reproduced through the real CLI, and both GeoPackage routes give bit-identical meshes on a 4326 catchment. The candidate read from the European GeoPackage takes 17.5-19.9 s against the design's ~1 s: the R-tree join is planned as a full table scan (measured). Reported, not fixed. Evidence in docs/benchmarks/2026-09-28/16b12-acceptance/. Co-Authored-By: Claude Opus 5.5 --- .../benchmarks/2026-09-28/16b12-acceptance.md | 60 + .../16b12-acceptance/16b12-r2/README.md | 79 + .../16b12-acceptance/16b12-r2/raw.tsv | 210 ++ .../16b12-acceptance/16b12-r2/run.json | 2955 ++++++++++++++++ .../16b12-acceptance/16b12-r3/README.md | 90 + .../16b12-acceptance/16b12-r3/raw.tsv | 210 ++ .../16b12-acceptance/16b12-r3/run.json | 2966 +++++++++++++++++ .../16b12-acceptance/16b12-r4/README.md | 79 + .../16b12-acceptance/16b12-r4/raw.tsv | 210 ++ .../16b12-acceptance/16b12-r4/run.json | 2955 ++++++++++++++++ .../16b12-acceptance/16b12/README.md | 79 + .../2026-09-28/16b12-acceptance/16b12/raw.tsv | 210 ++ .../16b12-acceptance/16b12/run.json | 2955 ++++++++++++++++ .../2026-09-28/16b12-acceptance/README.md | 323 ++ .../base-14f5fe3-r2/README.md | 79 + .../16b12-acceptance/base-14f5fe3-r2/raw.tsv | 210 ++ .../16b12-acceptance/base-14f5fe3-r2/run.json | 2955 ++++++++++++++++ .../base-14f5fe3-r3/README.md | 79 + .../16b12-acceptance/base-14f5fe3-r3/raw.tsv | 210 ++ .../16b12-acceptance/base-14f5fe3-r3/run.json | 2955 ++++++++++++++++ .../base-14f5fe3-r4/README.md | 82 + .../16b12-acceptance/base-14f5fe3-r4/raw.tsv | 210 ++ .../16b12-acceptance/base-14f5fe3-r4/run.json | 2958 ++++++++++++++++ .../16b12-acceptance/base-14f5fe3/README.md | 79 + .../16b12-acceptance/base-14f5fe3/raw.tsv | 210 ++ .../16b12-acceptance/base-14f5fe3/run.json | 2955 ++++++++++++++++ .../catchment/catchment_4326.geojson | 221 ++ .../catchment/square48_25833.geojson | 1 + .../16b12-acceptance/logs/aggregate.md | 20 + .../16b12-acceptance/logs/candidates.log | 8 + .../16b12-acceptance/logs/ola-r1.log | 193 ++ .../16b12-acceptance/logs/ola-r23.log | 173 + .../16b12-acceptance/logs/pair4.log | 18 + .../16b12-acceptance/logs/pairs.log | 50 + .../16b12-acceptance/logs/pairs_table.txt | 53 + .../16b12-acceptance/logs/power.log | 5 + .../2026-09-28/16b12-acceptance/logs/qc.log | 169 + .../16b12-acceptance/logs/query_plan.log | 4 + .../16b12-acceptance/logs/route_identity.log | 2 + .../2026-09-28/16b12-acceptance/logs/sq.log | 337 ++ .../16b12-acceptance/scripts/aggregate.py | 48 + .../16b12-acceptance/scripts/candidates.py | 38 + .../16b12-acceptance/scripts/check_vtk.py | 32 + .../scripts/make_catchment.py | 31 + .../16b12-acceptance/scripts/pairs.sh | 16 + .../16b12-acceptance/scripts/pairs_table.py | 31 + .../16b12-acceptance/scripts/query_plan.py | 19 + .../16b12-acceptance/scripts/runs.sh | 51 + .../stats/ola-t1-eu3035-r1.md | 75 + .../stats/ola-t1-eu3035-r2.md | 75 + .../stats/ola-t1-eu3035-r3.md | 75 + .../stats/ola-t1-no25833-r1.md | 75 + .../stats/ola-t1-no25833-r2.md | 75 + .../stats/ola-t1-no25833-r3.md | 75 + .../16b12-acceptance/stats/ola-t1-none-r1.md | 73 + .../16b12-acceptance/stats/ola-t1-none-r2.md | 73 + .../16b12-acceptance/stats/ola-t1-none-r3.md | 73 + .../stats/ola-t10-eu3035-r1.md | 75 + .../stats/ola-t10-eu3035-r2.md | 75 + .../stats/ola-t10-eu3035-r3.md | 75 + .../stats/ola-t10-no25833-r1.md | 75 + .../stats/ola-t10-no25833-r2.md | 75 + .../stats/ola-t10-no25833-r3.md | 75 + .../16b12-acceptance/stats/ola-t10-none-r1.md | 73 + .../16b12-acceptance/stats/ola-t10-none-r2.md | 73 + .../16b12-acceptance/stats/ola-t10-none-r3.md | 73 + .../16b12-acceptance/stats/qc-t1-corine-r1.md | 66 + .../16b12-acceptance/stats/qc-t1-corine-r2.md | 66 + .../16b12-acceptance/stats/qc-t1-corine-r3.md | 66 + .../16b12-acceptance/stats/qc-t1-none-r1.md | 64 + .../16b12-acceptance/stats/qc-t1-none-r2.md | 64 + .../16b12-acceptance/stats/qc-t1-none-r3.md | 64 + .../stats/qc-t10-corine-r1.md | 66 + .../stats/qc-t10-corine-r2.md | 66 + .../stats/qc-t10-corine-r3.md | 66 + .../16b12-acceptance/stats/qc-t10-none-r1.md | 64 + .../16b12-acceptance/stats/qc-t10-none-r2.md | 64 + .../16b12-acceptance/stats/qc-t10-none-r3.md | 64 + .../16b12-acceptance/stats/sq-t1-eu-q0-r1.md | 66 + .../16b12-acceptance/stats/sq-t1-eu-q0-r2.md | 66 + .../16b12-acceptance/stats/sq-t1-eu-q0-r3.md | 66 + .../16b12-acceptance/stats/sq-t1-eu-q25-r1.md | 66 + .../16b12-acceptance/stats/sq-t1-eu-q25-r2.md | 66 + .../16b12-acceptance/stats/sq-t1-eu-q25-r3.md | 66 + .../stats/sq-t1-none-q0-r1.md | 64 + .../stats/sq-t1-none-q0-r2.md | 64 + .../stats/sq-t1-none-q0-r3.md | 64 + .../stats/sq-t1-none-q25-r1.md | 64 + .../stats/sq-t1-none-q25-r2.md | 64 + .../stats/sq-t1-none-q25-r3.md | 64 + .../16b12-acceptance/stats/sq-t10-eu-q0-r1.md | 66 + .../16b12-acceptance/stats/sq-t10-eu-q0-r2.md | 66 + .../16b12-acceptance/stats/sq-t10-eu-q0-r3.md | 66 + .../stats/sq-t10-eu-q25-r1.md | 66 + .../stats/sq-t10-eu-q25-r2.md | 66 + .../stats/sq-t10-eu-q25-r3.md | 66 + .../stats/sq-t10-none-q0-r1.md | 64 + .../stats/sq-t10-none-q0-r2.md | 64 + .../stats/sq-t10-none-q0-r3.md | 64 + .../stats/sq-t10-none-q25-r1.md | 64 + .../stats/sq-t10-none-q25-r2.md | 64 + .../stats/sq-t10-none-q25-r3.md | 64 + 102 files changed, 31561 insertions(+) create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r2/README.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r2/raw.tsv create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r2/run.json create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r3/README.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r3/raw.tsv create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r3/run.json create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r4/README.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r4/raw.tsv create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r4/run.json create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/16b12/README.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/16b12/raw.tsv create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/16b12/run.json create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/README.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r2/README.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r2/raw.tsv create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r2/run.json create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r3/README.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r3/raw.tsv create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r3/run.json create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r4/README.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r4/raw.tsv create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r4/run.json create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3/README.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3/raw.tsv create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3/run.json create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/logs/aggregate.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/logs/candidates.log create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/logs/ola-r1.log create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/logs/ola-r23.log create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/logs/pair4.log create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/logs/pairs.log create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/logs/pairs_table.txt create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/logs/power.log create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/logs/qc.log create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/logs/query_plan.log create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/logs/route_identity.log create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/logs/sq.log create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/scripts/aggregate.py create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/scripts/candidates.py create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/scripts/check_vtk.py create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/scripts/make_catchment.py create mode 100755 docs/benchmarks/2026-09-28/16b12-acceptance/scripts/pairs.sh create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/scripts/pairs_table.py create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/scripts/query_plan.py create mode 100755 docs/benchmarks/2026-09-28/16b12-acceptance/scripts/runs.sh create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-r1.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-r2.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-r3.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-no25833-r1.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-no25833-r2.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-no25833-r3.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-none-r1.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-none-r2.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-none-r3.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-r1.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-r2.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-r3.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-no25833-r1.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-no25833-r2.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-no25833-r3.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-none-r1.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-none-r2.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-none-r3.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-corine-r1.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-corine-r2.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-corine-r3.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-none-r1.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-none-r2.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-none-r3.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-corine-r1.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-corine-r2.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-corine-r3.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-none-r1.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-none-r2.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-none-r3.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q0-r1.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q0-r2.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q0-r3.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-r1.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-r2.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-r3.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q0-r1.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q0-r2.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q0-r3.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q25-r1.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q25-r2.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q25-r3.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q0-r1.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q0-r2.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q0-r3.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q25-r1.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q25-r2.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q25-r3.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q0-r1.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q0-r2.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q0-r3.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q25-r1.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q25-r2.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q25-r3.md diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance.md b/docs/benchmarks/2026-09-28/16b12-acceptance.md new file mode 100644 index 00000000..4fe2a107 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance.md @@ -0,0 +1,60 @@ +# Increment 16b-1/2 acceptance (@perf, 2026-09-28/29): summary + +**Verdict: NOT ACCEPTED as designed, on one measure: the candidate read from +Ola's European GeoPackage.** It takes **17.5-19.9 s**, against the +design's admitted ~1 s (R5). Everything else passes. All runs were on +**battery** and are compared against battery. The branch is `5f3a522`; the +base is `origin/master` `14f5fe3`. Method, tables and raw data are in +`16b12-acceptance/README.md`. + +- **The defect, with its cause measured.** `io/geopackage.py` + `query_features` joins the feature table to the R-tree. SQLite plans that + as a scan of all 2.4 M feature rows, with one R-tree probe per row + (`EXPLAIN QUERY PLAN`: `SCAN t`). The query takes 17.5-18.7 s. The + R-tree scan alone, which is what the design timed, takes 0.71 s. The same + 345 rows fetched by primary key through an `IN` subquery take 0.85 s. On + top of that, `features clip` takes 8.4-8.6 s. It is thought to be the + reprojection of the 14.7 M candidate vertices, not profiled. 13.8 M of + those vertices are in rows that only the widening admits, and all of them + are dropped. With the Norway file (25833), read and clip take 0.9 s and + 1.3 s. Reported, not fixed. +- **The quarter circle (M5), committed extract, `--features-map corine`:** + M5 is reproduced. + - Start vertices: 5 627, as in M5. + - Triangles: 441 855 at 1 m (M5 441 863) and 54 840 at 10 m (equal). + - Tolerance held, with 0 nodes uncovered. + - `vtkPolyDataReader` reads the file with R10's fields. + - 8 242 of 9 345 constraint edges carry `land_cover` and 3 905 carry + `water`. + - `node` 0.013 s, against M5's 0.33 s. +- **Ola's case:** a 287 km² ring in EPSG:4326 on the 4-tile corner of + `6602_1`/`6602_2`/`6603_3`/`6603_4` in DTM10_UTM33_20260925, run with + both GeoPackages. + - **The two routes give bit-identical meshes:** 1 235 226 triangles at + 1 m and 63 020 at 10 m. + - stderr: `87 features kept, 258 (Europe) / 175 (Norway) dropped outside, + 28 clipped, 0 empty skipped`, then `11316 input vertices, 5642 noded + vertices`. There is no scan line. + - At 1 m the whole run takes 30.3 s with the Europe file, 6.3 s with the + Norway file, and 3.4 s without features. +- **The 1 m benchmark and thread sweep:** 4 pairs, no change. + - The `_core` sha256 and both mesh sha256s are identical in all 8 runs. + - Pooled over 42 cells, the change is a median of +0.27 % (range −3.3 % + to +3.4 %), with no cell above +5 %. + - bench.py flagged 12 quarter cells in pair 3. The same build moves up to + +13.6 % between its own runs, and the fourth pair, run as a tie-break, + was ACCEPTED. + - Ceiling 2.5-2.8x, as the base. +- **CORINE baseline, M4's 48 km square, through the real CLI** (Europe file): + - It holds against 16b-0: 6 753 084 triangles at 1 m (16b-0: 6 752 517), + and 480 941 at 10 m (480 961), which is still **3.61x** the + featureless mesh. That is 20c's input. + - `node` is 0.15 s, because the CLI feeds the rings unmerged (16b-0's + layout B: 0.14 s). + - Refine takes 5.9 s at 1 m. Peak RSS is 3.1 GB, which includes writing + the file and `--stats`; 16b-0's scripts did neither. + - Feature input is 26 s of 48 s: the same defect. +- **Also found:** `tools/bench.py:605` fails when `--label` has a `/` and + `--mesh-dir` is given, because the mesh's parent directory is never + created. The workaround was to create it first. +- **Not measured:** a profile of `features clip`, and any AC run. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r2/README.md b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r2/README.md new file mode 100644 index 00000000..566e8338 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r2/README.md @@ -0,0 +1,79 @@ +# Benchmark run `16b12-acceptance/16b12-r2` + +Generated by `tools/bench.py`. + +## Verdict + +- ACCEPTED + +Time threshold: 5.0 %. + +## Method + +- Started 2026-09-28T23:43:01.153728+02:00; tree `5f3a52291ef7eebe7092f0b0f0c4da02ec77b879` (dirty); bench.py blob `77765b181714c31714da476c2335c799c6a84021`. Build: Release, AppleClang 21.0.0.21000101, `-O3 -DNDEBUG`, _core sha256 `190587e7ba0ea96a74a8621767d7d20257c3968126a710db1364e1195afb27d2`. +- Apple M1 Max, 8 P + 2 E cores, 32 GiB, macOS 27.0, Python 3.14.7, numpy 2.5.3. +- Power **battery** (79%), `pmset -g batt` before and after (in run.json). +- DEM `/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif` (sha256 `aabd0cbc28471ce8593e4c278381811bec3fbf4e1194058b3b4888d00c3af575`), tolerance 1.0, extra mesh args ``; domains: `quarter` (/Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-26/quarter.geojson), `tile` (the whole tile). +- One child per sample, `/Users/skavhaug/projects/rasputin/.venv/bin/python /Users/skavhaug/projects/rasputin/tools/bench.py _child --pkg /Users/skavhaug/projects/rasputin/build-bench/pkg --threads -- mesh --dem /Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif --tolerance 1 --out --binary`, repeats interleaved over thread counts; t=0 is the CLI's default, other counts are forced into `refine`. Quality: one `--ascii` run per domain at t=0, kept out of the repository; rerun the child with `--ascii --out PATH` to regenerate it. + +## `quarter` + +| threads | n | median s | min s | max s | +|---:|---:|---:|---:|---:| +| 0 | 5 | 0.1661 | 0.1617 | 0.1678 | +| 1 | 5 | 0.4117 | 0.4048 | 0.4321 | +| 2 | 5 | 0.2673 | 0.2618 | 0.2724 | +| 3 | 5 | 0.2205 | 0.2179 | 0.2261 | +| 4 | 5 | 0.1993 | 0.1978 | 0.1995 | +| 5 | 5 | 0.1854 | 0.1824 | 0.1998 | +| 6 | 5 | 0.1738 | 0.1731 | 0.1996 | +| 7 | 5 | 0.1666 | 0.1659 | 0.1700 | +| 8 | 5 | 0.1620 | 0.1605 | 0.1637 | +| 9 | 5 | 0.1657 | 0.1605 | 0.1746 | +| 10 | 5 | 0.1641 | 0.1629 | 0.1661 | +| 11 | 5 | 0.1645 | 0.1585 | 0.1651 | +| 12 | 5 | 0.1637 | 0.1611 | 0.1772 | +| 13 | 5 | 0.1646 | 0.1586 | 0.1679 | +| 14 | 5 | 0.1648 | 0.1628 | 0.1755 | +| 15 | 5 | 0.1658 | 0.1594 | 0.1703 | +| 16 | 5 | 0.1649 | 0.1603 | 0.1678 | +| 17 | 5 | 0.1650 | 0.1607 | 0.1654 | +| 18 | 5 | 0.1634 | 0.1604 | 0.1645 | +| 19 | 5 | 0.1654 | 0.1641 | 0.1692 | +| 20 | 5 | 0.1653 | 0.1611 | 0.1672 | + +Ceiling: 2.49x at 20 threads over 1, best 2.54x at 8; 2026-09-26: about 2.2x, flat from about 7. + +Quality: worst angle 0.3955 deg, median 45.00, share under 1 deg 0.00003, max degree 18, within tolerance True, Delaunay 0 violations of 641791 edges (80136 decided exactly), mesh sha256 `ccebf96a86c6c5e244e4a0281919de4e866fcfe789b66024a290ac2af33771a1`. + +## `tile` + +| threads | n | median s | min s | max s | +|---:|---:|---:|---:|---:| +| 0 | 5 | 0.1917 | 0.1833 | 0.1924 | +| 1 | 5 | 0.4731 | 0.4649 | 0.5000 | +| 2 | 5 | 0.3069 | 0.3007 | 0.3165 | +| 3 | 5 | 0.2551 | 0.2515 | 0.2794 | +| 4 | 5 | 0.2321 | 0.2262 | 0.2779 | +| 5 | 5 | 0.2116 | 0.2104 | 0.2126 | +| 6 | 5 | 0.2053 | 0.1993 | 0.2127 | +| 7 | 5 | 0.1918 | 0.1911 | 0.2056 | +| 8 | 5 | 0.1913 | 0.1842 | 0.2008 | +| 9 | 5 | 0.1842 | 0.1810 | 0.1870 | +| 10 | 5 | 0.1864 | 0.1834 | 0.1905 | +| 11 | 5 | 0.1919 | 0.1817 | 0.1947 | +| 12 | 5 | 0.1849 | 0.1825 | 0.1908 | +| 13 | 5 | 0.1862 | 0.1823 | 0.2137 | +| 14 | 5 | 0.1863 | 0.1826 | 0.1925 | +| 15 | 5 | 0.1863 | 0.1854 | 0.1923 | +| 16 | 5 | 0.1850 | 0.1845 | 0.1908 | +| 17 | 5 | 0.1881 | 0.1825 | 0.1998 | +| 18 | 5 | 0.1873 | 0.1823 | 0.1945 | +| 19 | 5 | 0.1867 | 0.1823 | 0.1900 | +| 20 | 5 | 0.1857 | 0.1844 | 0.1913 | + +Ceiling: 2.55x at 20 threads over 1, best 2.57x at 9; 2026-09-26: about 2.2x, flat from about 7. + +Quality: worst angle 0.6296 deg, median 45.00, share under 1 deg 0.00000, max degree 74, within tolerance True, Delaunay 0 violations of 692056 edges (94469 decided exactly), mesh sha256 `11741a81adfa17b34a1ea56875ec9e791414d17625eb1c58305e7c0cf10e005c`. + + diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r2/raw.tsv b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r2/raw.tsv new file mode 100644 index 00000000..377e895b --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r2/raw.tsv @@ -0,0 +1,210 @@ +quarter 0 0 0.167805 battery +quarter 1 0 0.423060 battery +quarter 2 0 0.272443 battery +quarter 3 0 0.226103 battery +quarter 4 0 0.199355 battery +quarter 5 0 0.199835 battery +quarter 6 0 0.199573 battery +quarter 7 0 0.166340 battery +quarter 8 0 0.160469 battery +quarter 9 0 0.164666 battery +quarter 10 0 0.166100 battery +quarter 11 0 0.165073 battery +quarter 12 0 0.163707 battery +quarter 13 0 0.164626 battery +quarter 14 0 0.162781 battery +quarter 15 0 0.159368 battery +quarter 16 0 0.164291 battery +quarter 17 0 0.165032 battery +quarter 18 0 0.164508 battery +quarter 19 0 0.169212 battery +quarter 20 0 0.165273 battery +quarter 0 1 0.167004 battery +quarter 1 1 0.432058 battery +quarter 2 1 0.261781 battery +quarter 3 1 0.217933 battery +quarter 4 1 0.199292 battery +quarter 5 1 0.185412 battery +quarter 6 1 0.175389 battery +quarter 7 1 0.166649 battery +quarter 8 1 0.163745 battery +quarter 9 1 0.165742 battery +quarter 10 1 0.165633 battery +quarter 11 1 0.164906 battery +quarter 12 1 0.163922 battery +quarter 13 1 0.163914 battery +quarter 14 1 0.164782 battery +quarter 15 1 0.165817 battery +quarter 16 1 0.166346 battery +quarter 17 1 0.165377 battery +quarter 18 1 0.163360 battery +quarter 19 1 0.164284 battery +quarter 20 1 0.166003 battery +quarter 0 2 0.166060 battery +quarter 1 2 0.404756 battery +quarter 2 2 0.264474 battery +quarter 3 2 0.220451 battery +quarter 4 2 0.199524 battery +quarter 5 2 0.182401 battery +quarter 6 2 0.173145 battery +quarter 7 2 0.165917 battery +quarter 8 2 0.162981 battery +quarter 9 2 0.172839 battery +quarter 10 2 0.162891 battery +quarter 11 2 0.158462 battery +quarter 12 2 0.163341 battery +quarter 13 2 0.158588 battery +quarter 14 2 0.175488 battery +quarter 15 2 0.168588 battery +quarter 16 2 0.167812 battery +quarter 17 2 0.160741 battery +quarter 18 2 0.162328 battery +quarter 19 2 0.164144 battery +quarter 20 2 0.167176 battery +quarter 0 3 0.161674 battery +quarter 1 3 0.406223 battery +quarter 2 3 0.270757 battery +quarter 3 3 0.219233 battery +quarter 4 3 0.198486 battery +quarter 5 3 0.183288 battery +quarter 6 3 0.173784 battery +quarter 7 3 0.167006 battery +quarter 8 3 0.161398 battery +quarter 9 3 0.174556 battery +quarter 10 3 0.164137 battery +quarter 11 3 0.164483 battery +quarter 12 3 0.161080 battery +quarter 13 3 0.165388 battery +quarter 14 3 0.163736 battery +quarter 15 3 0.164708 battery +quarter 16 3 0.160338 battery +quarter 17 3 0.164523 battery +quarter 18 3 0.163385 battery +quarter 19 3 0.165363 battery +quarter 20 3 0.161132 battery +quarter 0 4 0.164260 battery +quarter 1 4 0.411665 battery +quarter 2 4 0.267296 battery +quarter 3 4 0.225996 battery +quarter 4 4 0.197847 battery +quarter 5 4 0.185646 battery +quarter 6 4 0.173508 battery +quarter 7 4 0.169989 battery +quarter 8 4 0.162004 battery +quarter 9 4 0.160491 battery +quarter 10 4 0.163695 battery +quarter 11 4 0.162306 battery +quarter 12 4 0.177217 battery +quarter 13 4 0.167938 battery +quarter 14 4 0.164894 battery +quarter 15 4 0.170312 battery +quarter 16 4 0.164858 battery +quarter 17 4 0.165198 battery +quarter 18 4 0.160427 battery +quarter 19 4 0.168759 battery +quarter 20 4 0.161341 battery +tile 0 0 0.192063 battery +tile 1 0 0.484410 battery +tile 2 0 0.306907 battery +tile 3 0 0.255065 battery +tile 4 0 0.226184 battery +tile 5 0 0.210414 battery +tile 6 0 0.202340 battery +tile 7 0 0.191780 battery +tile 8 0 0.191310 battery +tile 9 0 0.180998 battery +tile 10 0 0.184724 battery +tile 11 0 0.186083 battery +tile 12 0 0.184997 battery +tile 13 0 0.186249 battery +tile 14 0 0.186255 battery +tile 15 0 0.185459 battery +tile 16 0 0.184808 battery +tile 17 0 0.184710 battery +tile 18 0 0.185954 battery +tile 19 0 0.186670 battery +tile 20 0 0.185725 battery +tile 0 1 0.184392 battery +tile 1 1 0.464877 battery +tile 2 1 0.304646 battery +tile 3 1 0.251966 battery +tile 4 1 0.228107 battery +tile 5 1 0.211847 battery +tile 6 1 0.199340 battery +tile 7 1 0.191136 battery +tile 8 1 0.184183 battery +tile 9 1 0.186959 battery +tile 10 1 0.186352 battery +tile 11 1 0.181734 battery +tile 12 1 0.184481 battery +tile 13 1 0.183580 battery +tile 14 1 0.182593 battery +tile 15 1 0.186300 battery +tile 16 1 0.185048 battery +tile 17 1 0.182510 battery +tile 18 1 0.182314 battery +tile 19 1 0.182321 battery +tile 20 1 0.184400 battery +tile 0 2 0.192449 battery +tile 1 2 0.500048 battery +tile 2 2 0.311829 battery +tile 3 2 0.264520 battery +tile 4 2 0.277908 battery +tile 5 2 0.211613 battery +tile 6 2 0.212112 battery +tile 7 2 0.205554 battery +tile 8 2 0.200831 battery +tile 9 2 0.183880 battery +tile 10 2 0.183378 battery +tile 11 2 0.192545 battery +tile 12 2 0.182520 battery +tile 13 2 0.213722 battery +tile 14 2 0.188970 battery +tile 15 2 0.192347 battery +tile 16 2 0.185999 battery +tile 17 2 0.190666 battery +tile 18 2 0.194454 battery +tile 19 2 0.190024 battery +tile 20 2 0.191337 battery +tile 0 3 0.183280 battery +tile 1 3 0.473136 battery +tile 2 3 0.316452 battery +tile 3 3 0.279398 battery +tile 4 3 0.232114 battery +tile 5 3 0.210374 battery +tile 6 3 0.212712 battery +tile 7 3 0.191434 battery +tile 8 3 0.185660 battery +tile 9 3 0.185190 battery +tile 10 3 0.190537 battery +tile 11 3 0.194703 battery +tile 12 3 0.184884 battery +tile 13 3 0.193456 battery +tile 14 3 0.192539 battery +tile 15 3 0.190251 battery +tile 16 3 0.190841 battery +tile 17 3 0.188100 battery +tile 18 3 0.190350 battery +tile 19 3 0.186337 battery +tile 20 3 0.184828 battery +tile 0 4 0.191711 battery +tile 1 4 0.467932 battery +tile 2 4 0.300706 battery +tile 3 4 0.251501 battery +tile 4 4 0.235599 battery +tile 5 4 0.212630 battery +tile 6 4 0.205312 battery +tile 7 4 0.197911 battery +tile 8 4 0.193078 battery +tile 9 4 0.184222 battery +tile 10 4 0.188772 battery +tile 11 4 0.191927 battery +tile 12 4 0.190769 battery +tile 13 4 0.182327 battery +tile 14 4 0.183348 battery +tile 15 4 0.185438 battery +tile 16 4 0.184525 battery +tile 17 4 0.199788 battery +tile 18 4 0.187317 battery +tile 19 4 0.188993 battery +tile 20 4 0.186579 battery diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r2/run.json b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r2/run.json new file mode 100644 index 00000000..24cb6031 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r2/run.json @@ -0,0 +1,2955 @@ +{ + "label": "16b12-acceptance/16b12-r2", + "started": "2026-09-28T23:43:01.153728+02:00", + "tree": { + "commit": "5f3a52291ef7eebe7092f0b0f0c4da02ec77b879", + "dirty": true + }, + "bench_blob": "77765b181714c31714da476c2335c799c6a84021", + "child_argv": [ + "/Users/skavhaug/projects/rasputin/.venv/bin/python", + "/Users/skavhaug/projects/rasputin/tools/bench.py", + "_child", + "--pkg", + "/Users/skavhaug/projects/rasputin/build-bench/pkg", + "--threads", + "", + "--", + "mesh", + "--dem", + "/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif", + "--tolerance", + "1", + "--out", + "", + "--binary" + ], + "build": { + "no_build": false, + "type": "Release", + "cxx_flags_release": "-O3 -DNDEBUG", + "compiler": "AppleClang 21.0.0.21000101", + "so_sha256": "190587e7ba0ea96a74a8621767d7d20257c3968126a710db1364e1195afb27d2" + }, + "machine": { + "cpu_brand": "Apple M1 Max", + "p_cores": 8, + "e_cores": 2, + "memory_bytes": 34359738368, + "macos": "27.0", + "python": "3.14.7", + "numpy": "2.5.3" + }, + "power": { + "state": "battery", + "percent": 79, + "raw": "Now drawing from 'Battery Power'\n -InternalBattery-0 (id=7929955)\t80%; discharging; 3:23 remaining present: true\n--- after ---\nNow drawing from 'Battery Power'\n -InternalBattery-0 (id=7929955)\t79%; discharging; 2:53 remaining present: true\n" + }, + "inputs": { + "dem": "/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif", + "dem_sha256": "aabd0cbc28471ce8593e4c278381811bec3fbf4e1194058b3b4888d00c3af575", + "domains": [ + { + "name": "quarter", + "path": "/Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-26/quarter.geojson", + "sha256": "b7f7bbe96848383c77863ce29ee28c45bce087601a1738ee82ddb4ffb8279d1e" + }, + { + "name": "tile", + "path": null, + "sha256": null + } + ], + "tolerance": 1.0, + "extra_args": [] + }, + "samples": [ + { + "domain": "quarter", + "threads": 0, + "repeat": 0, + "refine_s": 0.16780545806977898, + "app_s": 0.30218550004065037, + "proc_s": 0.9256937499158084, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 0, + "refine_s": 0.4230604999465868, + "app_s": 0.5383080830797553, + "proc_s": 0.803349707974121, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 0, + "refine_s": 0.2724427910288796, + "app_s": 0.391368749900721, + "proc_s": 0.6615788339404389, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 0, + "refine_s": 0.22610337496735156, + "app_s": 0.3419271670281887, + "proc_s": 0.6059841249370947, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 0, + "refine_s": 0.19935462495777756, + "app_s": 0.31810004205908626, + "proc_s": 0.5789592920336872, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 0, + "refine_s": 0.19983533304184675, + "app_s": 0.31510258303023875, + "proc_s": 0.5789392499718815, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 0, + "refine_s": 0.1995725000742823, + "app_s": 0.32255254208575934, + "proc_s": 0.5911797920707613, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 0, + "refine_s": 0.16633970907423645, + "app_s": 0.28995324997231364, + "proc_s": 0.5620617090025917, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 0, + "refine_s": 0.16046887508127838, + "app_s": 0.275650208001025, + "proc_s": 0.5456259170314297, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 0, + "refine_s": 0.1646660000551492, + "app_s": 0.28211437503341585, + "proc_s": 0.5507512909825891, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 0, + "refine_s": 0.1660998750012368, + "app_s": 0.27742912503890693, + "proc_s": 0.549475000007078, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 0, + "refine_s": 0.16507329209707677, + "app_s": 0.2777961250394583, + "proc_s": 0.5356730410130695, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 0, + "refine_s": 0.16370666702277958, + "app_s": 0.27489883406087756, + "proc_s": 0.5439199169632047, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 0, + "refine_s": 0.16462554095778614, + "app_s": 0.2807337499689311, + "proc_s": 0.5442766658961773, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 0, + "refine_s": 0.16278124996460974, + "app_s": 0.2780229999916628, + "proc_s": 0.5435790420742705, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 0, + "refine_s": 0.15936837496701628, + "app_s": 0.27623016689904034, + "proc_s": 0.5361613749992102, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 0, + "refine_s": 0.16429058299399912, + "app_s": 0.2767850839300081, + "proc_s": 0.5393471249844879, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 0, + "refine_s": 0.165032249991782, + "app_s": 0.28667608404066414, + "proc_s": 0.5471116659464315, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 0, + "refine_s": 0.16450845799408853, + "app_s": 0.27818999998271465, + "proc_s": 0.5379620830062777, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 0, + "refine_s": 0.16921224992256612, + "app_s": 0.27608866698574275, + "proc_s": 0.5451384589541703, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 0, + "refine_s": 0.16527270898222923, + "app_s": 0.27380495890975, + "proc_s": 0.5331169589189813, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 1, + "refine_s": 0.1670039159944281, + "app_s": 0.2759810829302296, + "proc_s": 0.5453500839648768, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 1, + "refine_s": 0.43205825006589293, + "app_s": 0.5392150409752503, + "proc_s": 0.8017374589107931, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 1, + "refine_s": 0.26178083405829966, + "app_s": 0.3720270419726148, + "proc_s": 0.6319293329725042, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 1, + "refine_s": 0.21793324989266694, + "app_s": 0.32438687491230667, + "proc_s": 0.5888025410240516, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 1, + "refine_s": 0.19929187500383705, + "app_s": 0.3077314170077443, + "proc_s": 0.5661567500792444, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 1, + "refine_s": 0.1854118750197813, + "app_s": 0.29314912494737655, + "proc_s": 0.5565922500099987, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 1, + "refine_s": 0.17538949998561293, + "app_s": 0.28815545805264264, + "proc_s": 0.5475360420532525, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 1, + "refine_s": 0.1666494159726426, + "app_s": 0.27836975001264364, + "proc_s": 0.5368071659468114, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 1, + "refine_s": 0.1637451669666916, + "app_s": 0.27214450004976243, + "proc_s": 0.5336903750430793, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 1, + "refine_s": 0.16574245796073228, + "app_s": 0.27984612504951656, + "proc_s": 0.5460899169556797, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 1, + "refine_s": 0.16563349997159094, + "app_s": 0.2763308340217918, + "proc_s": 0.545232041971758, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 1, + "refine_s": 0.16490620793774724, + "app_s": 0.27310850005596876, + "proc_s": 0.5393602499971166, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 1, + "refine_s": 0.16392175003420562, + "app_s": 0.27278512495104223, + "proc_s": 0.5369537499500439, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 1, + "refine_s": 0.16391412494704127, + "app_s": 0.27324254205450416, + "proc_s": 0.5363922920078039, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 1, + "refine_s": 0.1647815000033006, + "app_s": 0.2731438340852037, + "proc_s": 0.5397432920290157, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 1, + "refine_s": 0.16581683396361768, + "app_s": 0.2741538330446929, + "proc_s": 0.5372490000445396, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 1, + "refine_s": 0.1663460829295218, + "app_s": 0.27227912505622953, + "proc_s": 0.5321810410823673, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 1, + "refine_s": 0.1653772909194231, + "app_s": 0.2759357920149341, + "proc_s": 0.5389234160538763, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 1, + "refine_s": 0.16335954202804714, + "app_s": 0.27171008300501853, + "proc_s": 0.5374536250019446, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 1, + "refine_s": 0.1642837090184912, + "app_s": 0.27125995804090053, + "proc_s": 0.5295860830228776, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 1, + "refine_s": 0.1660028339829296, + "app_s": 0.2747344169765711, + "proc_s": 0.533113915938884, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 2, + "refine_s": 0.16606045805383474, + "app_s": 0.27584599994588643, + "proc_s": 0.5334135829471052, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 2, + "refine_s": 0.4047558750025928, + "app_s": 0.5122044580057263, + "proc_s": 0.7745265000266954, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 2, + "refine_s": 0.26447425002697855, + "app_s": 0.37216379202436656, + "proc_s": 0.634904499980621, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 2, + "refine_s": 0.22045066696591675, + "app_s": 0.3270834169816226, + "proc_s": 0.5896068329457194, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 2, + "refine_s": 0.19952370901592076, + "app_s": 0.30768766603432596, + "proc_s": 0.5667997089913115, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 2, + "refine_s": 0.18240137491375208, + "app_s": 0.29165737493894994, + "proc_s": 0.5498757500899956, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 2, + "refine_s": 0.1731453329557553, + "app_s": 0.2858467909973115, + "proc_s": 0.5431871250038967, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 2, + "refine_s": 0.16591737500857562, + "app_s": 0.27865300001576543, + "proc_s": 0.5445478750625625, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 2, + "refine_s": 0.16298145800828934, + "app_s": 0.2816538750194013, + "proc_s": 0.5575278749456629, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 2, + "refine_s": 0.17283941607456654, + "app_s": 0.2929778340039775, + "proc_s": 0.5621611670358106, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 2, + "refine_s": 0.1628907920094207, + "app_s": 0.28098908299580216, + "proc_s": 0.5439758331049234, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 2, + "refine_s": 0.15846208308357745, + "app_s": 0.277630666969344, + "proc_s": 0.5372714579571038, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 2, + "refine_s": 0.16334070800803602, + "app_s": 0.28236391698010266, + "proc_s": 0.5428964170860127, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 2, + "refine_s": 0.1585879169870168, + "app_s": 0.27957000001333654, + "proc_s": 0.5453766250284389, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 2, + "refine_s": 0.17548754101153463, + "app_s": 0.29151608305983245, + "proc_s": 0.5604487920645624, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 2, + "refine_s": 0.16858791594859213, + "app_s": 0.28073558304458857, + "proc_s": 0.5523530000355095, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 2, + "refine_s": 0.16781220794655383, + "app_s": 0.2843181249918416, + "proc_s": 0.5813820000039414, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 2, + "refine_s": 0.16074075002688915, + "app_s": 0.26803029200527817, + "proc_s": 0.5263043330051005, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 2, + "refine_s": 0.16232812497764826, + "app_s": 0.27448337501846254, + "proc_s": 0.5364808749873191, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 2, + "refine_s": 0.1641440000385046, + "app_s": 0.28804995806422085, + "proc_s": 0.5517968749627471, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 2, + "refine_s": 0.1671763330232352, + "app_s": 0.28440920810680836, + "proc_s": 0.5524506670190021, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 3, + "refine_s": 0.1616743749473244, + "app_s": 0.2868641250533983, + "proc_s": 0.552747083012946, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 3, + "refine_s": 0.40622291597537696, + "app_s": 0.5239894159603864, + "proc_s": 0.7856176659697667, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 3, + "refine_s": 0.2707568749319762, + "app_s": 0.38083054195158184, + "proc_s": 0.6521572909550741, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 3, + "refine_s": 0.2192328330129385, + "app_s": 0.3283739580074325, + "proc_s": 0.591861707973294, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 3, + "refine_s": 0.19848620891571045, + "app_s": 0.3063593750121072, + "proc_s": 0.5710926250321791, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 3, + "refine_s": 0.18328812497202307, + "app_s": 0.2918096251087263, + "proc_s": 0.5513937920331955, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 3, + "refine_s": 0.17378412501420826, + "app_s": 0.281617208966054, + "proc_s": 0.547490416909568, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 3, + "refine_s": 0.1670064169447869, + "app_s": 0.276362375007011, + "proc_s": 0.5465786249842495, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 3, + "refine_s": 0.1613984169671312, + "app_s": 0.2685739160515368, + "proc_s": 0.5274684160249308, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 3, + "refine_s": 0.17455641692504287, + "app_s": 0.29013866698369384, + "proc_s": 0.5554344169795513, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 3, + "refine_s": 0.1641371250152588, + "app_s": 0.27231837494764477, + "proc_s": 0.5496871250215918, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 3, + "refine_s": 0.1644833330065012, + "app_s": 0.27284045796841383, + "proc_s": 0.5333044589497149, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 3, + "refine_s": 0.161079959012568, + "app_s": 0.2708377920789644, + "proc_s": 0.536342249950394, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 3, + "refine_s": 0.16538799996487796, + "app_s": 0.27327187499031425, + "proc_s": 0.5345711250556633, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 3, + "refine_s": 0.1637359579326585, + "app_s": 0.27190566598437726, + "proc_s": 0.5338601670227945, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 3, + "refine_s": 0.16470841690897942, + "app_s": 0.27705391705967486, + "proc_s": 0.5392297499347478, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 3, + "refine_s": 0.16033837501890957, + "app_s": 0.26957816700451076, + "proc_s": 0.5301078329794109, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 3, + "refine_s": 0.1645227080443874, + "app_s": 0.27237395802512765, + "proc_s": 0.5326137500815094, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 3, + "refine_s": 0.1633852500235662, + "app_s": 0.27404004195705056, + "proc_s": 0.5381746250204742, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 3, + "refine_s": 0.165362749947235, + "app_s": 0.27289945899974555, + "proc_s": 0.5327562500024214, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 3, + "refine_s": 0.16113162494730204, + "app_s": 0.2709981669904664, + "proc_s": 0.5373112499946728, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 4, + "refine_s": 0.16426025005057454, + "app_s": 0.2727752919308841, + "proc_s": 0.5331574579467997, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 4, + "refine_s": 0.41166520793922246, + "app_s": 0.519019249943085, + "proc_s": 0.7829572500195354, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 4, + "refine_s": 0.2672958329785615, + "app_s": 0.37448108301032335, + "proc_s": 0.6372916250256822, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 4, + "refine_s": 0.22599554201588035, + "app_s": 0.333778916974552, + "proc_s": 0.5933008750434965, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 4, + "refine_s": 0.19784708402585238, + "app_s": 0.30489545897580683, + "proc_s": 0.5681598749943078, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 4, + "refine_s": 0.18564562499523163, + "app_s": 0.2967031660955399, + "proc_s": 0.5605805410305038, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 4, + "refine_s": 0.17350833304226398, + "app_s": 0.2831968329846859, + "proc_s": 0.5441327079897746, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 4, + "refine_s": 0.16998887504450977, + "app_s": 0.2765926660504192, + "proc_s": 0.5340123750502244, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 4, + "refine_s": 0.16200358292553574, + "app_s": 0.2779727909946814, + "proc_s": 0.5410495420219377, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 4, + "refine_s": 0.16049075010232627, + "app_s": 0.2716182080330327, + "proc_s": 0.5347000830806792, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 4, + "refine_s": 0.1636952500557527, + "app_s": 0.27384679100941867, + "proc_s": 0.5332124999258667, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 4, + "refine_s": 0.16230554203502834, + "app_s": 0.27030899992678314, + "proc_s": 0.532191832899116, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 4, + "refine_s": 0.1772173329954967, + "app_s": 0.2998836669139564, + "proc_s": 0.5955115419346839, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 4, + "refine_s": 0.1679376249667257, + "app_s": 0.27577829104848206, + "proc_s": 0.5440104169538245, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 4, + "refine_s": 0.16489362495485693, + "app_s": 0.27380133408587426, + "proc_s": 0.5318017079262063, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 4, + "refine_s": 0.17031204199884087, + "app_s": 0.27705941698513925, + "proc_s": 0.5414259160170332, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 4, + "refine_s": 0.16485812503378838, + "app_s": 0.27325391699559987, + "proc_s": 0.5338789159432054, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 4, + "refine_s": 0.16519754205364734, + "app_s": 0.27167675003875047, + "proc_s": 0.5320639170240611, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 4, + "refine_s": 0.16042720805853605, + "app_s": 0.2684870419325307, + "proc_s": 0.526136833941564, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 4, + "refine_s": 0.16875874996185303, + "app_s": 0.28720212494954467, + "proc_s": 0.5479441250208765, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 4, + "refine_s": 0.16134141699876636, + "app_s": 0.2785728749586269, + "proc_s": 0.5364097079727799, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 0, + "refine_s": 0.1920632499968633, + "app_s": 0.34271374996751547, + "proc_s": 0.6425313330255449, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 0, + "refine_s": 0.4844097919994965, + "app_s": 0.6362947090528905, + "proc_s": 0.9296011659316719, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 0, + "refine_s": 0.3069067500764504, + "app_s": 0.4473049169173464, + "proc_s": 0.7197860419983044, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 0, + "refine_s": 0.25506512506399304, + "app_s": 0.38798229198437184, + "proc_s": 0.6527590419864282, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 0, + "refine_s": 0.22618354100268334, + "app_s": 0.3775326249888167, + "proc_s": 0.6477311670314521, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 0, + "refine_s": 0.21041362499818206, + "app_s": 0.3447938329773024, + "proc_s": 0.6031609170604497, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 0, + "refine_s": 0.20234049996361136, + "app_s": 0.3375209999503568, + "proc_s": 0.5956435829866678, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 0, + "refine_s": 0.1917798339854926, + "app_s": 0.32594558398704976, + "proc_s": 0.5847381660714746, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 0, + "refine_s": 0.1913100000238046, + "app_s": 0.32627295795828104, + "proc_s": 0.5862839999608696, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 0, + "refine_s": 0.18099754094146192, + "app_s": 0.31734916695859283, + "proc_s": 0.5795274580596015, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 0, + "refine_s": 0.1847237910842523, + "app_s": 0.32421670807525516, + "proc_s": 0.5888841249980032, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 0, + "refine_s": 0.18608295894227922, + "app_s": 0.32551812496967614, + "proc_s": 0.5918043750571087, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 0, + "refine_s": 0.18499745801091194, + "app_s": 0.3233352079987526, + "proc_s": 0.5847140420228243, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 0, + "refine_s": 0.1862485840683803, + "app_s": 0.3276966669363901, + "proc_s": 0.5902692499803379, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 0, + "refine_s": 0.18625533394515514, + "app_s": 0.3256759160431102, + "proc_s": 0.5843198330840096, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 0, + "refine_s": 0.18545879190787673, + "app_s": 0.32680891605559736, + "proc_s": 0.5847916669445112, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 0, + "refine_s": 0.18480770906899124, + "app_s": 0.3253508750349283, + "proc_s": 0.5873853750526905, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 0, + "refine_s": 0.18470999994315207, + "app_s": 0.3242249999893829, + "proc_s": 0.5835565000306815, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 0, + "refine_s": 0.1859541250159964, + "app_s": 0.3264016250614077, + "proc_s": 0.5922288340516388, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 0, + "refine_s": 0.18667037494014949, + "app_s": 0.3278699159855023, + "proc_s": 0.5896286249626428, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 0, + "refine_s": 0.1857249999884516, + "app_s": 0.32575583294965327, + "proc_s": 0.5881642079912126, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 1, + "refine_s": 0.18439158296678215, + "app_s": 0.32502016704529524, + "proc_s": 0.5879057919373736, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 1, + "refine_s": 0.46487658307887614, + "app_s": 0.6033272920176387, + "proc_s": 0.8659010000992566, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 1, + "refine_s": 0.3046461660414934, + "app_s": 0.4452310419874266, + "proc_s": 0.7099984589731321, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 1, + "refine_s": 0.2519661659607664, + "app_s": 0.3901175420032814, + "proc_s": 0.6473939589923248, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 1, + "refine_s": 0.2281066250288859, + "app_s": 0.36787358298897743, + "proc_s": 0.6265197909669951, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 1, + "refine_s": 0.21184737503062934, + "app_s": 0.3458688750397414, + "proc_s": 0.6112105840584263, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 1, + "refine_s": 0.1993395829340443, + "app_s": 0.33842429204378277, + "proc_s": 0.5989252920262516, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 1, + "refine_s": 0.19113641697913408, + "app_s": 0.3323629590449855, + "proc_s": 0.5935452081030235, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 1, + "refine_s": 0.1841832500649616, + "app_s": 0.3196919159963727, + "proc_s": 0.5782206249423325, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 1, + "refine_s": 0.18695912510156631, + "app_s": 0.32462416600901634, + "proc_s": 0.5869240410393104, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 1, + "refine_s": 0.18635179090779275, + "app_s": 0.319505958002992, + "proc_s": 0.5800534590380266, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 1, + "refine_s": 0.18173441698309034, + "app_s": 0.31790887494571507, + "proc_s": 0.5771763339871541, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 1, + "refine_s": 0.1844807919114828, + "app_s": 0.3237482499098405, + "proc_s": 0.5854052089853212, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 1, + "refine_s": 0.1835797089152038, + "app_s": 0.319080000044778, + "proc_s": 0.5798072080360726, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 1, + "refine_s": 0.18259325006511062, + "app_s": 0.3193793330574408, + "proc_s": 0.580101125058718, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 1, + "refine_s": 0.18629962508566678, + "app_s": 0.3232763749547303, + "proc_s": 0.5878111249767244, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 1, + "refine_s": 0.1850481249857694, + "app_s": 0.32078950002323836, + "proc_s": 0.5793216250604019, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 1, + "refine_s": 0.1825095840031281, + "app_s": 0.3173650000244379, + "proc_s": 0.5795314579736441, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 1, + "refine_s": 0.18231429089792073, + "app_s": 0.316169457975775, + "proc_s": 0.5832575829699636, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 1, + "refine_s": 0.18232083297334611, + "app_s": 0.317663166904822, + "proc_s": 0.5798027919372544, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 1, + "refine_s": 0.18439983297139406, + "app_s": 0.32164987502619624, + "proc_s": 0.5816057079937309, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 2, + "refine_s": 0.19244854198768735, + "app_s": 0.3329232920659706, + "proc_s": 0.5988449170254171, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 2, + "refine_s": 0.5000477079302073, + "app_s": 0.6391826249891892, + "proc_s": 0.91828829201404, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 2, + "refine_s": 0.31182887498289347, + "app_s": 0.4479330410249531, + "proc_s": 0.7119425829732791, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 2, + "refine_s": 0.2645195000804961, + "app_s": 0.414848625077866, + "proc_s": 0.6871705839876086, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 2, + "refine_s": 0.2779079170431942, + "app_s": 0.4210727910976857, + "proc_s": 0.6882483329391107, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 2, + "refine_s": 0.2116134170209989, + "app_s": 0.3526965419296175, + "proc_s": 0.6453553750179708, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 2, + "refine_s": 0.21211220894474536, + "app_s": 0.3535864580189809, + "proc_s": 0.6584907500073314, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 2, + "refine_s": 0.2055538750719279, + "app_s": 0.34550383407622576, + "proc_s": 0.644526791991666, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 2, + "refine_s": 0.20083083305507898, + "app_s": 0.34387445799075067, + "proc_s": 0.6485327919945121, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 2, + "refine_s": 0.18388020806014538, + "app_s": 0.32146145799197257, + "proc_s": 0.6112752910703421, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 2, + "refine_s": 0.18337808398064226, + "app_s": 0.3190807499922812, + "proc_s": 0.5866606249473989, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 2, + "refine_s": 0.19254466600250453, + "app_s": 0.33160008303821087, + "proc_s": 0.5928635839372873, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 2, + "refine_s": 0.18252000003121793, + "app_s": 0.3190051659476012, + "proc_s": 0.585956749971956, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 2, + "refine_s": 0.21372170897666365, + "app_s": 0.35025799996219575, + "proc_s": 0.6270545000443235, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 2, + "refine_s": 0.18897004204336554, + "app_s": 0.33660166698973626, + "proc_s": 0.6166974169900641, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 2, + "refine_s": 0.19234737497754395, + "app_s": 0.3314987909980118, + "proc_s": 0.6049711660016328, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 2, + "refine_s": 0.18599854200147092, + "app_s": 0.3207396250218153, + "proc_s": 0.5864579170010984, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 2, + "refine_s": 0.19066645903512836, + "app_s": 0.33483125001657754, + "proc_s": 0.605972749995999, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 2, + "refine_s": 0.19445387495215982, + "app_s": 0.34901033400092274, + "proc_s": 0.6194774170871824, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 2, + "refine_s": 0.19002350000664592, + "app_s": 0.3374015000881627, + "proc_s": 0.6116696250392124, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 2, + "refine_s": 0.19133699999656528, + "app_s": 0.3421450419118628, + "proc_s": 0.6151521250139922, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 3, + "refine_s": 0.18327987496741116, + "app_s": 0.3344998749671504, + "proc_s": 0.5970253749983385, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 3, + "refine_s": 0.47313645808026195, + "app_s": 0.6077778750332072, + "proc_s": 0.8722478339914232, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 3, + "refine_s": 0.31645216594915837, + "app_s": 0.4550836670678109, + "proc_s": 0.7257748750271276, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 3, + "refine_s": 0.2793982080183923, + "app_s": 0.4201742500299588, + "proc_s": 0.6924325419822708, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 3, + "refine_s": 0.23211391700897366, + "app_s": 0.371243332978338, + "proc_s": 0.6439201249741018, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 3, + "refine_s": 0.21037416602484882, + "app_s": 0.34418350004125386, + "proc_s": 0.6065162080340087, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 3, + "refine_s": 0.2127122919773683, + "app_s": 0.34947862511035055, + "proc_s": 0.6113116249907762, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 3, + "refine_s": 0.19143408304080367, + "app_s": 0.3271927919704467, + "proc_s": 0.5921568750636652, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 3, + "refine_s": 0.18566033302340657, + "app_s": 0.31896533304825425, + "proc_s": 0.5778926670318469, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 3, + "refine_s": 0.1851899999892339, + "app_s": 0.32352087495382875, + "proc_s": 0.5902284580515698, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 3, + "refine_s": 0.19053679099306464, + "app_s": 0.3474777500377968, + "proc_s": 0.6297418340109289, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 3, + "refine_s": 0.19470274995546788, + "app_s": 0.3318627079715952, + "proc_s": 0.5984461669577286, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 3, + "refine_s": 0.18488379195332527, + "app_s": 0.32174233300611377, + "proc_s": 0.5870086658978835, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 3, + "refine_s": 0.19345595804043114, + "app_s": 0.3338352079736069, + "proc_s": 0.5989540000446141, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 3, + "refine_s": 0.1925391670083627, + "app_s": 0.34668874996714294, + "proc_s": 0.6153687500627711, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 3, + "refine_s": 0.1902514590183273, + "app_s": 0.32866558304522187, + "proc_s": 0.5998707090038806, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 3, + "refine_s": 0.1908413339406252, + "app_s": 0.3388233749428764, + "proc_s": 0.6078967910725623, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 3, + "refine_s": 0.18809995893388987, + "app_s": 0.34669662499800324, + "proc_s": 0.6436192500405014, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 3, + "refine_s": 0.19034962495788932, + "app_s": 0.32788474997505546, + "proc_s": 0.5939742090413347, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 3, + "refine_s": 0.18633708299603313, + "app_s": 0.3212844169465825, + "proc_s": 0.5914906669640914, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 3, + "refine_s": 0.18482770794071257, + "app_s": 0.32130341709125787, + "proc_s": 0.5859139589592814, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 4, + "refine_s": 0.19171137502416968, + "app_s": 0.32812783296685666, + "proc_s": 0.5944293750217184, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 4, + "refine_s": 0.46793204196728766, + "app_s": 0.6015849579125643, + "proc_s": 0.8611303750658408, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 4, + "refine_s": 0.30070649995468557, + "app_s": 0.4356026250170544, + "proc_s": 0.6935564170125872, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 4, + "refine_s": 0.2515008340124041, + "app_s": 0.3913052499992773, + "proc_s": 0.6558358329348266, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 4, + "refine_s": 0.23559879197273403, + "app_s": 0.3728875840315595, + "proc_s": 0.6332281669601798, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 4, + "refine_s": 0.2126298330258578, + "app_s": 0.3477479590801522, + "proc_s": 0.6181213340023533, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 4, + "refine_s": 0.2053117499453947, + "app_s": 0.3538435419322923, + "proc_s": 0.6228048329940066, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 4, + "refine_s": 0.1979110420215875, + "app_s": 0.33513666596263647, + "proc_s": 0.5945480420487002, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 4, + "refine_s": 0.1930784999858588, + "app_s": 0.3304807919776067, + "proc_s": 0.5924414169276133, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 4, + "refine_s": 0.18422187492251396, + "app_s": 0.3233779170550406, + "proc_s": 0.5880508340196684, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 4, + "refine_s": 0.1887717080535367, + "app_s": 0.32289595901966095, + "proc_s": 0.5825261659920216, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 4, + "refine_s": 0.19192662497516721, + "app_s": 0.34130924998316914, + "proc_s": 0.6104092920431867, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 4, + "refine_s": 0.19076883303932846, + "app_s": 0.3405842500505969, + "proc_s": 0.6178740410832688, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 4, + "refine_s": 0.1823265829589218, + "app_s": 0.3160756250144914, + "proc_s": 0.575553375063464, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 4, + "refine_s": 0.18334774998947978, + "app_s": 0.3232861669966951, + "proc_s": 0.581653207889758, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 4, + "refine_s": 0.1854376670671627, + "app_s": 0.3255005000391975, + "proc_s": 0.5968101660255343, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 4, + "refine_s": 0.18452499993145466, + "app_s": 0.3164015830261633, + "proc_s": 0.5888616249430925, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 4, + "refine_s": 0.19978770799934864, + "app_s": 0.34401250001974404, + "proc_s": 0.609109790995717, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 4, + "refine_s": 0.18731708405539393, + "app_s": 0.3297368750208989, + "proc_s": 0.5951400410849601, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 4, + "refine_s": 0.18899320799391717, + "app_s": 0.3247161250328645, + "proc_s": 0.5914014590671286, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 4, + "refine_s": 0.18657912500202656, + "app_s": 0.3237135410308838, + "proc_s": 0.5849860419984907, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + } + ], + "stats": [ + { + "domain": "quarter", + "threads": 0, + "n": 5, + "median": 0.16606045805383474, + "min": 0.1616743749473244, + "max": 0.16780545806977898 + }, + { + "domain": "quarter", + "threads": 1, + "n": 5, + "median": 0.41166520793922246, + "min": 0.4047558750025928, + "max": 0.43205825006589293 + }, + { + "domain": "quarter", + "threads": 2, + "n": 5, + "median": 0.2672958329785615, + "min": 0.26178083405829966, + "max": 0.2724427910288796 + }, + { + "domain": "quarter", + "threads": 3, + "n": 5, + "median": 0.22045066696591675, + "min": 0.21793324989266694, + "max": 0.22610337496735156 + }, + { + "domain": "quarter", + "threads": 4, + "n": 5, + "median": 0.19929187500383705, + "min": 0.19784708402585238, + "max": 0.19952370901592076 + }, + { + "domain": "quarter", + "threads": 5, + "n": 5, + "median": 0.1854118750197813, + "min": 0.18240137491375208, + "max": 0.19983533304184675 + }, + { + "domain": "quarter", + "threads": 6, + "n": 5, + "median": 0.17378412501420826, + "min": 0.1731453329557553, + "max": 0.1995725000742823 + }, + { + "domain": "quarter", + "threads": 7, + "n": 5, + "median": 0.1666494159726426, + "min": 0.16591737500857562, + "max": 0.16998887504450977 + }, + { + "domain": "quarter", + "threads": 8, + "n": 5, + "median": 0.16200358292553574, + "min": 0.16046887508127838, + "max": 0.1637451669666916 + }, + { + "domain": "quarter", + "threads": 9, + "n": 5, + "median": 0.16574245796073228, + "min": 0.16049075010232627, + "max": 0.17455641692504287 + }, + { + "domain": "quarter", + "threads": 10, + "n": 5, + "median": 0.1641371250152588, + "min": 0.1628907920094207, + "max": 0.1660998750012368 + }, + { + "domain": "quarter", + "threads": 11, + "n": 5, + "median": 0.1644833330065012, + "min": 0.15846208308357745, + "max": 0.16507329209707677 + }, + { + "domain": "quarter", + "threads": 12, + "n": 5, + "median": 0.16370666702277958, + "min": 0.161079959012568, + "max": 0.1772173329954967 + }, + { + "domain": "quarter", + "threads": 13, + "n": 5, + "median": 0.16462554095778614, + "min": 0.1585879169870168, + "max": 0.1679376249667257 + }, + { + "domain": "quarter", + "threads": 14, + "n": 5, + "median": 0.1647815000033006, + "min": 0.16278124996460974, + "max": 0.17548754101153463 + }, + { + "domain": "quarter", + "threads": 15, + "n": 5, + "median": 0.16581683396361768, + "min": 0.15936837496701628, + "max": 0.17031204199884087 + }, + { + "domain": "quarter", + "threads": 16, + "n": 5, + "median": 0.16485812503378838, + "min": 0.16033837501890957, + "max": 0.16781220794655383 + }, + { + "domain": "quarter", + "threads": 17, + "n": 5, + "median": 0.165032249991782, + "min": 0.16074075002688915, + "max": 0.1653772909194231 + }, + { + "domain": "quarter", + "threads": 18, + "n": 5, + "median": 0.16335954202804714, + "min": 0.16042720805853605, + "max": 0.16450845799408853 + }, + { + "domain": "quarter", + "threads": 19, + "n": 5, + "median": 0.165362749947235, + "min": 0.1641440000385046, + "max": 0.16921224992256612 + }, + { + "domain": "quarter", + "threads": 20, + "n": 5, + "median": 0.16527270898222923, + "min": 0.16113162494730204, + "max": 0.1671763330232352 + }, + { + "domain": "tile", + "threads": 0, + "n": 5, + "median": 0.19171137502416968, + "min": 0.18327987496741116, + "max": 0.19244854198768735 + }, + { + "domain": "tile", + "threads": 1, + "n": 5, + "median": 0.47313645808026195, + "min": 0.46487658307887614, + "max": 0.5000477079302073 + }, + { + "domain": "tile", + "threads": 2, + "n": 5, + "median": 0.3069067500764504, + "min": 0.30070649995468557, + "max": 0.31645216594915837 + }, + { + "domain": "tile", + "threads": 3, + "n": 5, + "median": 0.25506512506399304, + "min": 0.2515008340124041, + "max": 0.2793982080183923 + }, + { + "domain": "tile", + "threads": 4, + "n": 5, + "median": 0.23211391700897366, + "min": 0.22618354100268334, + "max": 0.2779079170431942 + }, + { + "domain": "tile", + "threads": 5, + "n": 5, + "median": 0.2116134170209989, + "min": 0.21037416602484882, + "max": 0.2126298330258578 + }, + { + "domain": "tile", + "threads": 6, + "n": 5, + "median": 0.2053117499453947, + "min": 0.1993395829340443, + "max": 0.2127122919773683 + }, + { + "domain": "tile", + "threads": 7, + "n": 5, + "median": 0.1917798339854926, + "min": 0.19113641697913408, + "max": 0.2055538750719279 + }, + { + "domain": "tile", + "threads": 8, + "n": 5, + "median": 0.1913100000238046, + "min": 0.1841832500649616, + "max": 0.20083083305507898 + }, + { + "domain": "tile", + "threads": 9, + "n": 5, + "median": 0.18422187492251396, + "min": 0.18099754094146192, + "max": 0.18695912510156631 + }, + { + "domain": "tile", + "threads": 10, + "n": 5, + "median": 0.18635179090779275, + "min": 0.18337808398064226, + "max": 0.19053679099306464 + }, + { + "domain": "tile", + "threads": 11, + "n": 5, + "median": 0.19192662497516721, + "min": 0.18173441698309034, + "max": 0.19470274995546788 + }, + { + "domain": "tile", + "threads": 12, + "n": 5, + "median": 0.18488379195332527, + "min": 0.18252000003121793, + "max": 0.19076883303932846 + }, + { + "domain": "tile", + "threads": 13, + "n": 5, + "median": 0.1862485840683803, + "min": 0.1823265829589218, + "max": 0.21372170897666365 + }, + { + "domain": "tile", + "threads": 14, + "n": 5, + "median": 0.18625533394515514, + "min": 0.18259325006511062, + "max": 0.1925391670083627 + }, + { + "domain": "tile", + "threads": 15, + "n": 5, + "median": 0.18629962508566678, + "min": 0.1854376670671627, + "max": 0.19234737497754395 + }, + { + "domain": "tile", + "threads": 16, + "n": 5, + "median": 0.1850481249857694, + "min": 0.18452499993145466, + "max": 0.1908413339406252 + }, + { + "domain": "tile", + "threads": 17, + "n": 5, + "median": 0.18809995893388987, + "min": 0.1825095840031281, + "max": 0.19978770799934864 + }, + { + "domain": "tile", + "threads": 18, + "n": 5, + "median": 0.18731708405539393, + "min": 0.18231429089792073, + "max": 0.19445387495215982 + }, + { + "domain": "tile", + "threads": 19, + "n": 5, + "median": 0.18667037494014949, + "min": 0.18232083297334611, + "max": 0.19002350000664592 + }, + { + "domain": "tile", + "threads": 20, + "n": 5, + "median": 0.1857249999884516, + "min": 0.18439983297139406, + "max": 0.19133699999656528 + } + ], + "quality": { + "quarter": { + "worst_angle": 0.3955267116350698, + "angle_median": 45.0, + "share_under_1": 0.000028023175165862168, + "max_degree": 18, + "within_tolerance": true, + "delaunay_checked": 641791, + "delaunay_ambiguous": 80136, + "delaunay_violations": 0, + "mesh_sha256": "ccebf96a86c6c5e244e4a0281919de4e866fcfe789b66024a290ac2af33771a1" + }, + "tile": { + "worst_angle": 0.6295986084102668, + "angle_median": 45.0, + "share_under_1": 2.1538262723728703e-6, + "max_degree": 74, + "within_tolerance": true, + "delaunay_checked": 692056, + "delaunay_ambiguous": 94469, + "delaunay_violations": 0, + "mesh_sha256": "11741a81adfa17b34a1ea56875ec9e791414d17625eb1c58305e7c0cf10e005c" + } + }, + "accept_quality": false, + "threshold_pct": 5.0, + "verdict": [ + "ACCEPTED" + ] +} diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r3/README.md b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r3/README.md new file mode 100644 index 00000000..945ef747 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r3/README.md @@ -0,0 +1,90 @@ +# Benchmark run `16b12-acceptance/16b12-r3` + +Generated by `tools/bench.py`. + +## Verdict + +- REGRESSION: quarter refine_s[t=0] 0.1634 -> 0.1730 (+5.8 %) +- REGRESSION: quarter refine_s[t=1] 0.4124 -> 0.4676 (+13.4 %) +- REGRESSION: quarter refine_s[t=2] 0.2664 -> 0.2955 (+11.0 %) +- REGRESSION: quarter refine_s[t=3] 0.2207 -> 0.2398 (+8.7 %) +- REGRESSION: quarter refine_s[t=7] 0.1670 -> 0.1775 (+6.3 %) +- REGRESSION: quarter refine_s[t=9] 0.1642 -> 0.1767 (+7.6 %) +- REGRESSION: quarter refine_s[t=10] 0.1660 -> 0.1767 (+6.5 %) +- REGRESSION: quarter refine_s[t=12] 0.1596 -> 0.1704 (+6.8 %) +- REGRESSION: quarter refine_s[t=14] 0.1647 -> 0.1768 (+7.3 %) +- REGRESSION: quarter refine_s[t=15] 0.1645 -> 0.1749 (+6.3 %) +- REGRESSION: quarter refine_s[t=16] 0.1631 -> 0.1716 (+5.2 %) +- REGRESSION: quarter refine_s[t=18] 0.1633 -> 0.1733 (+6.1 %) + +Time threshold: 5.0 %. + +## Method + +- Started 2026-09-28T23:47:28.398510+02:00; tree `5f3a52291ef7eebe7092f0b0f0c4da02ec77b879` (dirty); bench.py blob `77765b181714c31714da476c2335c799c6a84021`. Build: Release, AppleClang 21.0.0.21000101, `-O3 -DNDEBUG`, _core sha256 `190587e7ba0ea96a74a8621767d7d20257c3968126a710db1364e1195afb27d2`. +- Apple M1 Max, 8 P + 2 E cores, 32 GiB, macOS 27.0, Python 3.14.7, numpy 2.5.3. +- Power **battery** (77%), `pmset -g batt` before and after (in run.json). +- DEM `/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif` (sha256 `aabd0cbc28471ce8593e4c278381811bec3fbf4e1194058b3b4888d00c3af575`), tolerance 1.0, extra mesh args ``; domains: `quarter` (/Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-26/quarter.geojson), `tile` (the whole tile). +- One child per sample, `/Users/skavhaug/projects/rasputin/.venv/bin/python /Users/skavhaug/projects/rasputin/tools/bench.py _child --pkg /Users/skavhaug/projects/rasputin/build-bench/pkg --threads -- mesh --dem /Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif --tolerance 1 --out --binary`, repeats interleaved over thread counts; t=0 is the CLI's default, other counts are forced into `refine`. Quality: one `--ascii` run per domain at t=0, kept out of the repository; rerun the child with `--ascii --out PATH` to regenerate it. + +## `quarter` + +| threads | n | median s | min s | max s | +|---:|---:|---:|---:|---:| +| 0 | 5 | 0.1730 | 0.1679 | 0.1861 | +| 1 | 5 | 0.4676 | 0.4426 | 0.4958 | +| 2 | 5 | 0.2955 | 0.2737 | 0.3080 | +| 3 | 5 | 0.2398 | 0.2288 | 0.2435 | +| 4 | 5 | 0.2081 | 0.2020 | 0.2150 | +| 5 | 5 | 0.1922 | 0.1869 | 0.2423 | +| 6 | 5 | 0.1809 | 0.1759 | 0.1878 | +| 7 | 5 | 0.1775 | 0.1697 | 0.1885 | +| 8 | 5 | 0.1666 | 0.1634 | 0.1998 | +| 9 | 5 | 0.1767 | 0.1679 | 0.2327 | +| 10 | 5 | 0.1767 | 0.1683 | 0.1877 | +| 11 | 5 | 0.1660 | 0.1636 | 0.1803 | +| 12 | 5 | 0.1704 | 0.1669 | 0.1858 | +| 13 | 5 | 0.1699 | 0.1602 | 0.2583 | +| 14 | 5 | 0.1768 | 0.1614 | 0.2142 | +| 15 | 5 | 0.1749 | 0.1659 | 0.1819 | +| 16 | 5 | 0.1716 | 0.1668 | 0.2041 | +| 17 | 5 | 0.1696 | 0.1595 | 0.1948 | +| 18 | 5 | 0.1733 | 0.1601 | 0.1802 | +| 19 | 5 | 0.1668 | 0.1605 | 0.1805 | +| 20 | 5 | 0.1688 | 0.1635 | 0.1741 | + +Ceiling: 2.77x at 20 threads over 1, best 2.82x at 11; 2026-09-26: about 2.2x, flat from about 7. + +Quality: worst angle 0.3955 deg, median 45.00, share under 1 deg 0.00003, max degree 18, within tolerance True, Delaunay 0 violations of 641791 edges (80136 decided exactly), mesh sha256 `ccebf96a86c6c5e244e4a0281919de4e866fcfe789b66024a290ac2af33771a1`. + +## `tile` + +| threads | n | median s | min s | max s | +|---:|---:|---:|---:|---:| +| 0 | 5 | 0.1831 | 0.1811 | 0.1871 | +| 1 | 5 | 0.4797 | 0.4706 | 0.5264 | +| 2 | 5 | 0.3192 | 0.3041 | 0.3596 | +| 3 | 5 | 0.2634 | 0.2496 | 0.2744 | +| 4 | 5 | 0.2295 | 0.2269 | 0.2385 | +| 5 | 5 | 0.2140 | 0.2097 | 0.2213 | +| 6 | 5 | 0.2002 | 0.1991 | 0.2018 | +| 7 | 5 | 0.1944 | 0.1895 | 0.2111 | +| 8 | 5 | 0.1861 | 0.1848 | 0.1939 | +| 9 | 5 | 0.1862 | 0.1852 | 0.1879 | +| 10 | 5 | 0.1861 | 0.1834 | 0.1907 | +| 11 | 5 | 0.1854 | 0.1839 | 0.1870 | +| 12 | 5 | 0.1848 | 0.1837 | 0.1893 | +| 13 | 5 | 0.1861 | 0.1823 | 0.1866 | +| 14 | 5 | 0.1862 | 0.1854 | 0.1909 | +| 15 | 5 | 0.1851 | 0.1818 | 0.2045 | +| 16 | 5 | 0.1869 | 0.1859 | 0.1979 | +| 17 | 5 | 0.1856 | 0.1841 | 0.1887 | +| 18 | 5 | 0.1875 | 0.1851 | 0.2005 | +| 19 | 5 | 0.1896 | 0.1833 | 0.1914 | +| 20 | 5 | 0.1874 | 0.1824 | 0.1890 | + +Ceiling: 2.56x at 20 threads over 1, best 2.60x at 12; 2026-09-26: about 2.2x, flat from about 7. + +Quality: worst angle 0.6296 deg, median 45.00, share under 1 deg 0.00000, max degree 74, within tolerance True, Delaunay 0 violations of 692056 edges (94469 decided exactly), mesh sha256 `11741a81adfa17b34a1ea56875ec9e791414d17625eb1c58305e7c0cf10e005c`. + + diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r3/raw.tsv b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r3/raw.tsv new file mode 100644 index 00000000..d2606531 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r3/raw.tsv @@ -0,0 +1,210 @@ +quarter 0 0 0.172950 battery +quarter 1 0 0.483230 battery +quarter 2 0 0.308010 battery +quarter 3 0 0.243491 battery +quarter 4 0 0.208105 battery +quarter 5 0 0.193642 battery +quarter 6 0 0.179969 battery +quarter 7 0 0.188539 battery +quarter 8 0 0.199824 battery +quarter 9 0 0.232708 battery +quarter 10 0 0.187731 battery +quarter 11 0 0.163609 battery +quarter 12 0 0.180670 battery +quarter 13 0 0.183093 battery +quarter 14 0 0.176781 battery +quarter 15 0 0.174507 battery +quarter 16 0 0.171578 battery +quarter 17 0 0.169605 battery +quarter 18 0 0.171832 battery +quarter 19 0 0.180458 battery +quarter 20 0 0.171640 battery +quarter 0 1 0.168279 battery +quarter 1 1 0.459741 battery +quarter 2 1 0.292312 battery +quarter 3 1 0.237297 battery +quarter 4 1 0.207718 battery +quarter 5 1 0.186909 battery +quarter 6 1 0.180856 battery +quarter 7 1 0.174548 battery +quarter 8 1 0.169911 battery +quarter 9 1 0.176705 battery +quarter 10 1 0.168805 battery +quarter 11 1 0.170578 battery +quarter 12 1 0.168223 battery +quarter 13 1 0.169915 battery +quarter 14 1 0.170326 battery +quarter 15 1 0.174860 battery +quarter 16 1 0.170241 battery +quarter 17 1 0.174638 battery +quarter 18 1 0.174360 battery +quarter 19 1 0.174750 battery +quarter 20 1 0.174143 battery +quarter 0 2 0.167921 battery +quarter 1 2 0.467589 battery +quarter 2 2 0.295549 battery +quarter 3 2 0.239828 battery +quarter 4 2 0.214986 battery +quarter 5 2 0.192205 battery +quarter 6 2 0.187799 battery +quarter 7 2 0.177509 battery +quarter 8 2 0.166098 battery +quarter 9 2 0.176839 battery +quarter 10 2 0.176726 battery +quarter 11 2 0.165950 battery +quarter 12 2 0.170433 battery +quarter 13 2 0.168767 battery +quarter 14 2 0.183934 battery +quarter 15 2 0.181920 battery +quarter 16 2 0.204074 battery +quarter 17 2 0.194775 battery +quarter 18 2 0.180231 battery +quarter 19 2 0.166538 battery +quarter 20 2 0.165324 battery +quarter 0 3 0.186067 battery +quarter 1 3 0.495826 battery +quarter 2 3 0.302910 battery +quarter 3 3 0.242416 battery +quarter 4 3 0.209393 battery +quarter 5 3 0.242265 battery +quarter 6 3 0.185769 battery +quarter 7 3 0.183107 battery +quarter 8 3 0.166611 battery +quarter 9 3 0.175521 battery +quarter 10 3 0.183539 battery +quarter 11 3 0.180307 battery +quarter 12 3 0.185779 battery +quarter 13 3 0.258285 battery +quarter 14 3 0.214202 battery +quarter 15 3 0.176043 battery +quarter 16 3 0.174284 battery +quarter 17 3 0.164232 battery +quarter 18 3 0.173287 battery +quarter 19 3 0.166767 battery +quarter 20 3 0.168846 battery +quarter 0 4 0.174691 battery +quarter 1 4 0.442596 battery +quarter 2 4 0.273706 battery +quarter 3 4 0.228822 battery +quarter 4 4 0.202014 battery +quarter 5 4 0.187652 battery +quarter 6 4 0.175900 battery +quarter 7 4 0.169669 battery +quarter 8 4 0.163409 battery +quarter 9 4 0.167895 battery +quarter 10 4 0.168313 battery +quarter 11 4 0.164516 battery +quarter 12 4 0.166935 battery +quarter 13 4 0.160159 battery +quarter 14 4 0.161362 battery +quarter 15 4 0.165852 battery +quarter 16 4 0.166780 battery +quarter 17 4 0.159452 battery +quarter 18 4 0.160084 battery +quarter 19 4 0.160463 battery +quarter 20 4 0.163479 battery +tile 0 0 0.183104 battery +tile 1 0 0.479733 battery +tile 2 0 0.319179 battery +tile 3 0 0.266197 battery +tile 4 0 0.228821 battery +tile 5 0 0.210204 battery +tile 6 0 0.200224 battery +tile 7 0 0.192376 battery +tile 8 0 0.186142 battery +tile 9 0 0.186228 battery +tile 10 0 0.183429 battery +tile 11 0 0.185386 battery +tile 12 0 0.189323 battery +tile 13 0 0.186123 battery +tile 14 0 0.190914 battery +tile 15 0 0.185096 battery +tile 16 0 0.186260 battery +tile 17 0 0.184128 battery +tile 18 0 0.187550 battery +tile 19 0 0.186721 battery +tile 20 0 0.189009 battery +tile 0 1 0.186380 battery +tile 1 1 0.473306 battery +tile 2 1 0.315309 battery +tile 3 1 0.249578 battery +tile 4 1 0.233027 battery +tile 5 1 0.214049 battery +tile 6 1 0.201831 battery +tile 7 1 0.194389 battery +tile 8 1 0.186076 battery +tile 9 1 0.187262 battery +tile 10 1 0.186093 battery +tile 11 1 0.186953 battery +tile 12 1 0.184816 battery +tile 13 1 0.182293 battery +tile 14 1 0.188160 battery +tile 15 1 0.181791 battery +tile 16 1 0.197930 battery +tile 17 1 0.184699 battery +tile 18 1 0.200450 battery +tile 19 1 0.190644 battery +tile 20 1 0.182359 battery +tile 0 2 0.181069 battery +tile 1 2 0.483758 battery +tile 2 2 0.323391 battery +tile 3 2 0.263438 battery +tile 4 2 0.229473 battery +tile 5 2 0.221297 battery +tile 6 2 0.199071 battery +tile 7 2 0.199355 battery +tile 8 2 0.185015 battery +tile 9 2 0.185748 battery +tile 10 2 0.188259 battery +tile 11 2 0.185427 battery +tile 12 2 0.186040 battery +tile 13 2 0.185513 battery +tile 14 2 0.185459 battery +tile 15 2 0.184067 battery +tile 16 2 0.185887 battery +tile 17 2 0.185564 battery +tile 18 2 0.187105 battery +tile 19 2 0.183282 battery +tile 20 2 0.187430 battery +tile 0 3 0.187083 battery +tile 1 3 0.470631 battery +tile 2 3 0.304104 battery +tile 3 3 0.249755 battery +tile 4 3 0.226937 battery +tile 5 3 0.209731 battery +tile 6 3 0.200257 battery +tile 7 3 0.189505 battery +tile 8 3 0.184827 battery +tile 9 3 0.185245 battery +tile 10 3 0.190728 battery +tile 11 3 0.183904 battery +tile 12 3 0.184771 battery +tile 13 3 0.186632 battery +tile 14 3 0.185383 battery +tile 15 3 0.186801 battery +tile 16 3 0.188454 battery +tile 17 3 0.188699 battery +tile 18 3 0.185128 battery +tile 19 3 0.189575 battery +tile 20 3 0.185409 battery +tile 0 4 0.183147 battery +tile 1 4 0.526439 battery +tile 2 4 0.359625 battery +tile 3 4 0.274367 battery +tile 4 4 0.238533 battery +tile 5 4 0.221037 battery +tile 6 4 0.199458 battery +tile 7 4 0.211100 battery +tile 8 4 0.193907 battery +tile 9 4 0.187897 battery +tile 10 4 0.186005 battery +tile 11 4 0.184123 battery +tile 12 4 0.183704 battery +tile 13 4 0.186166 battery +tile 14 4 0.186234 battery +tile 15 4 0.204460 battery +tile 16 4 0.186874 battery +tile 17 4 0.188458 battery +tile 18 4 0.187527 battery +tile 19 4 0.191366 battery +tile 20 4 0.188707 battery diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r3/run.json b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r3/run.json new file mode 100644 index 00000000..755a7349 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r3/run.json @@ -0,0 +1,2966 @@ +{ + "label": "16b12-acceptance/16b12-r3", + "started": "2026-09-28T23:47:28.398510+02:00", + "tree": { + "commit": "5f3a52291ef7eebe7092f0b0f0c4da02ec77b879", + "dirty": true + }, + "bench_blob": "77765b181714c31714da476c2335c799c6a84021", + "child_argv": [ + "/Users/skavhaug/projects/rasputin/.venv/bin/python", + "/Users/skavhaug/projects/rasputin/tools/bench.py", + "_child", + "--pkg", + "/Users/skavhaug/projects/rasputin/build-bench/pkg", + "--threads", + "", + "--", + "mesh", + "--dem", + "/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif", + "--tolerance", + "1", + "--out", + "", + "--binary" + ], + "build": { + "no_build": false, + "type": "Release", + "cxx_flags_release": "-O3 -DNDEBUG", + "compiler": "AppleClang 21.0.0.21000101", + "so_sha256": "190587e7ba0ea96a74a8621767d7d20257c3968126a710db1364e1195afb27d2" + }, + "machine": { + "cpu_brand": "Apple M1 Max", + "p_cores": 8, + "e_cores": 2, + "memory_bytes": 34359738368, + "macos": "27.0", + "python": "3.14.7", + "numpy": "2.5.3" + }, + "power": { + "state": "battery", + "percent": 77, + "raw": "Now drawing from 'Battery Power'\n -InternalBattery-0 (id=7929955)\t78%; discharging; 2:55 remaining present: true\n--- after ---\nNow drawing from 'Battery Power'\n -InternalBattery-0 (id=7929955)\t77%; discharging; 2:42 remaining present: true\n" + }, + "inputs": { + "dem": "/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif", + "dem_sha256": "aabd0cbc28471ce8593e4c278381811bec3fbf4e1194058b3b4888d00c3af575", + "domains": [ + { + "name": "quarter", + "path": "/Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-26/quarter.geojson", + "sha256": "b7f7bbe96848383c77863ce29ee28c45bce087601a1738ee82ddb4ffb8279d1e" + }, + { + "name": "tile", + "path": null, + "sha256": null + } + ], + "tolerance": 1.0, + "extra_args": [] + }, + "samples": [ + { + "domain": "quarter", + "threads": 0, + "repeat": 0, + "refine_s": 0.17295020900201052, + "app_s": 0.30907120800111443, + "proc_s": 0.9880564589984715, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 0, + "refine_s": 0.4832296669483185, + "app_s": 0.6179150419775397, + "proc_s": 0.902316875057295, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 0, + "refine_s": 0.3080095408950001, + "app_s": 0.4257350410334766, + "proc_s": 0.7078072499716654, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 0, + "refine_s": 0.24349104205612093, + "app_s": 0.35893362492788583, + "proc_s": 0.651096332934685, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 0, + "refine_s": 0.20810470799915493, + "app_s": 0.3296180840115994, + "proc_s": 0.62024370895233, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 0, + "refine_s": 0.1936419999692589, + "app_s": 0.30631633300799876, + "proc_s": 0.583965125028044, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 0, + "refine_s": 0.17996870807837695, + "app_s": 0.30497712502256036, + "proc_s": 0.5876346249133348, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 0, + "refine_s": 0.18853900011163205, + "app_s": 0.314417083049193, + "proc_s": 0.6084995419951156, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 0, + "refine_s": 0.19982429197989404, + "app_s": 0.32976862497162074, + "proc_s": 0.6187663750024512, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 0, + "refine_s": 0.23270770790986717, + "app_s": 0.3583252920070663, + "proc_s": 0.6688257090281695, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 0, + "refine_s": 0.1877305000089109, + "app_s": 0.3116196250775829, + "proc_s": 0.6066529171075672, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 0, + "refine_s": 0.1636087920051068, + "app_s": 0.27675512491259724, + "proc_s": 0.5569355830084532, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 0, + "refine_s": 0.18067012494429946, + "app_s": 0.3282704589655623, + "proc_s": 0.6330096250167117, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 0, + "refine_s": 0.1830932080047205, + "app_s": 0.3441935839364305, + "proc_s": 0.6428756249370053, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 0, + "refine_s": 0.1767811250174418, + "app_s": 0.3242057500174269, + "proc_s": 0.6104880420025438, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 0, + "refine_s": 0.17450654099229723, + "app_s": 0.29303454200271517, + "proc_s": 0.5911631250055507, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 0, + "refine_s": 0.1715782079845667, + "app_s": 0.28525141708087176, + "proc_s": 0.5721450420096517, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 0, + "refine_s": 0.16960525000467896, + "app_s": 0.2847699170233682, + "proc_s": 0.5735773330088705, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 0, + "refine_s": 0.17183233401738107, + "app_s": 0.2859402500325814, + "proc_s": 0.5717409169301391, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 0, + "refine_s": 0.18045762495603412, + "app_s": 0.3021226660348475, + "proc_s": 0.6171052920399234, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 0, + "refine_s": 0.17163991602137685, + "app_s": 0.29074333410244435, + "proc_s": 0.5780667499639094, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 1, + "refine_s": 0.1682785829761997, + "app_s": 0.2893295829417184, + "proc_s": 0.5790717500494793, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 1, + "refine_s": 0.4597407910041511, + "app_s": 0.5794059580657631, + "proc_s": 0.8652124579530209, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 1, + "refine_s": 0.29231183300726116, + "app_s": 0.40754658402875066, + "proc_s": 0.6895994589431211, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 1, + "refine_s": 0.23729716707020998, + "app_s": 0.3569455409888178, + "proc_s": 0.6412375420331955, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 1, + "refine_s": 0.2077177909668535, + "app_s": 0.3321799589321017, + "proc_s": 0.6207545410143211, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 1, + "refine_s": 0.18690850003622472, + "app_s": 0.3025143750710413, + "proc_s": 0.5832537499954924, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 1, + "refine_s": 0.18085616698954254, + "app_s": 0.3018282500561327, + "proc_s": 0.5907294590724632, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 1, + "refine_s": 0.17454783397261053, + "app_s": 0.2958515409845859, + "proc_s": 0.5888394580688328, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 1, + "refine_s": 0.1699108750326559, + "app_s": 0.2871880840975791, + "proc_s": 0.5703112920746207, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 1, + "refine_s": 0.17670475004706532, + "app_s": 0.2956075419206172, + "proc_s": 0.5817880840040743, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 1, + "refine_s": 0.16880529199261218, + "app_s": 0.288259582943283, + "proc_s": 0.5670361670199782, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 1, + "refine_s": 0.17057791701518, + "app_s": 0.2903843750245869, + "proc_s": 0.5683274159673601, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 1, + "refine_s": 0.16822262504138052, + "app_s": 0.28507424995768815, + "proc_s": 0.5602269159862772, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 1, + "refine_s": 0.16991529101505876, + "app_s": 0.2825686250580475, + "proc_s": 0.5670501659624279, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 1, + "refine_s": 0.17032641707919538, + "app_s": 0.28904433303978294, + "proc_s": 0.574341208091937, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 1, + "refine_s": 0.1748598749982193, + "app_s": 0.29134812497068197, + "proc_s": 0.5736067920224741, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 1, + "refine_s": 0.17024079198017716, + "app_s": 0.28673487494233996, + "proc_s": 0.575358874979429, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 1, + "refine_s": 0.17463820800185204, + "app_s": 0.29714575002435595, + "proc_s": 0.5911118340445682, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 1, + "refine_s": 0.17436008399818093, + "app_s": 0.2921990000177175, + "proc_s": 0.5835309999529272, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 1, + "refine_s": 0.17474958300590515, + "app_s": 0.2991899580229074, + "proc_s": 0.5898901660693809, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 1, + "refine_s": 0.17414312495384365, + "app_s": 0.29595833306666464, + "proc_s": 0.5828106669941917, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 2, + "refine_s": 0.16792108304798603, + "app_s": 0.28738704207353294, + "proc_s": 0.5741049579810351, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 2, + "refine_s": 0.4675885420292616, + "app_s": 0.5850978329544887, + "proc_s": 0.8721975829685107, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 2, + "refine_s": 0.2955494170309976, + "app_s": 0.41847308294381946, + "proc_s": 0.7106133340857923, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 2, + "refine_s": 0.23982758296187967, + "app_s": 0.36170433403458446, + "proc_s": 0.6458755829371512, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 2, + "refine_s": 0.2149855000898242, + "app_s": 0.33402745809871703, + "proc_s": 0.6237342919921502, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 2, + "refine_s": 0.19220529100857675, + "app_s": 0.32004154194146395, + "proc_s": 0.6053662090562284, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 2, + "refine_s": 0.18779929203446954, + "app_s": 0.31081479194108397, + "proc_s": 0.6043616249226034, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 2, + "refine_s": 0.17750850005540997, + "app_s": 0.3033020419534296, + "proc_s": 0.5966052080038935, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 2, + "refine_s": 0.16609808302018791, + "app_s": 0.2855408750474453, + "proc_s": 0.5824609589762986, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 2, + "refine_s": 0.17683933302760124, + "app_s": 0.30190858291462064, + "proc_s": 0.5844842080259696, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 2, + "refine_s": 0.17672550003044307, + "app_s": 0.3029054580256343, + "proc_s": 0.5976177919656038, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 2, + "refine_s": 0.16595000005327165, + "app_s": 0.2902544590178877, + "proc_s": 0.5751482079504058, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 2, + "refine_s": 0.17043270799331367, + "app_s": 0.2950760420644656, + "proc_s": 0.5797759999986738, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 2, + "refine_s": 0.16876749997027218, + "app_s": 0.2927412079880014, + "proc_s": 0.5784520410234109, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 2, + "refine_s": 0.18393416702747345, + "app_s": 0.32499591703526676, + "proc_s": 0.6128796669654548, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 2, + "refine_s": 0.18191962502896786, + "app_s": 0.3158954589162022, + "proc_s": 0.6072745829587802, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 2, + "refine_s": 0.2040738749783486, + "app_s": 0.34389062505215406, + "proc_s": 0.6425272920168936, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 2, + "refine_s": 0.19477508403360844, + "app_s": 0.32073991699144244, + "proc_s": 0.6229997500777245, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 2, + "refine_s": 0.18023058294784278, + "app_s": 0.31408087501768023, + "proc_s": 0.6237248750403523, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 2, + "refine_s": 0.1665376250166446, + "app_s": 0.28483533405233175, + "proc_s": 0.579787291935645, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 2, + "refine_s": 0.16532425000332296, + "app_s": 0.2842909579630941, + "proc_s": 0.5687199999811128, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 3, + "refine_s": 0.1860668750014156, + "app_s": 0.31129987502936274, + "proc_s": 0.6041805830318481, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 3, + "refine_s": 0.49582579208072275, + "app_s": 0.611533832969144, + "proc_s": 0.8922876659780741, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 3, + "refine_s": 0.302910124999471, + "app_s": 0.42414766596630216, + "proc_s": 0.7136170830344781, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 3, + "refine_s": 0.2424157919595018, + "app_s": 0.36073895799927413, + "proc_s": 0.654660833068192, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 3, + "refine_s": 0.20939333294518292, + "app_s": 0.3291455840226263, + "proc_s": 0.6274544580373913, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 3, + "refine_s": 0.24226495798211545, + "app_s": 0.3730050000594929, + "proc_s": 0.7006019999971613, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 3, + "refine_s": 0.1857690840261057, + "app_s": 0.3089590419549495, + "proc_s": 0.6302674999460578, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 3, + "refine_s": 0.18310691695660353, + "app_s": 0.3056055000051856, + "proc_s": 0.6475112920161337, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 3, + "refine_s": 0.1666108329081908, + "app_s": 0.28041412495076656, + "proc_s": 0.5733072090661153, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 3, + "refine_s": 0.1755208750255406, + "app_s": 0.29274283291306347, + "proc_s": 0.5872811659937724, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 3, + "refine_s": 0.1835390831110999, + "app_s": 0.3021351669449359, + "proc_s": 0.6074682499747723, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 3, + "refine_s": 0.18030683300457895, + "app_s": 0.3010800420306623, + "proc_s": 0.6017701249802485, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 3, + "refine_s": 0.18577945802826434, + "app_s": 0.31043216690886766, + "proc_s": 0.6212528749601915, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 3, + "refine_s": 0.2582847500452772, + "app_s": 0.416494540986605, + "proc_s": 0.7388875840697438, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 3, + "refine_s": 0.21420208306517452, + "app_s": 0.3943085840437561, + "proc_s": 0.7703801660099998, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 3, + "refine_s": 0.1760430419817567, + "app_s": 0.32125383301172405, + "proc_s": 0.6353240830358118, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 3, + "refine_s": 0.17428370798006654, + "app_s": 0.2909477079520002, + "proc_s": 0.5946032500360161, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 3, + "refine_s": 0.16423150000628084, + "app_s": 0.28006504103541374, + "proc_s": 0.5731518330285326, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 3, + "refine_s": 0.1732866249512881, + "app_s": 0.2845671250252053, + "proc_s": 0.5566252920543775, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 3, + "refine_s": 0.16676687507424504, + "app_s": 0.28007645800244063, + "proc_s": 0.5528317500138655, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 3, + "refine_s": 0.16884608403779566, + "app_s": 0.278415041975677, + "proc_s": 0.5617186250165105, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 4, + "refine_s": 0.17469145799987018, + "app_s": 0.28912308299914, + "proc_s": 0.5570318750105798, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 4, + "refine_s": 0.44259558408521116, + "app_s": 0.5539179999614134, + "proc_s": 0.8257640840020031, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 4, + "refine_s": 0.2737061249790713, + "app_s": 0.3846744999755174, + "proc_s": 0.6668917920906097, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 4, + "refine_s": 0.22882208309601992, + "app_s": 0.33911691594403237, + "proc_s": 0.6056905830046162, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 4, + "refine_s": 0.20201400003861636, + "app_s": 0.31078908406198025, + "proc_s": 0.5859637090470642, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 4, + "refine_s": 0.18765249999705702, + "app_s": 0.29550679202657193, + "proc_s": 0.5585704579716548, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 4, + "refine_s": 0.17589958396274596, + "app_s": 0.28485366702079773, + "proc_s": 0.5491377920843661, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 4, + "refine_s": 0.16966929205227643, + "app_s": 0.28103929199278355, + "proc_s": 0.5483004589332268, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 4, + "refine_s": 0.1634088340215385, + "app_s": 0.2730107499519363, + "proc_s": 0.5499077499844134, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 4, + "refine_s": 0.16789479099679738, + "app_s": 0.2784121669828892, + "proc_s": 0.5500988340936601, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 4, + "refine_s": 0.16831287497188896, + "app_s": 0.28569608402904123, + "proc_s": 0.5688600419089198, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 4, + "refine_s": 0.16451604198664427, + "app_s": 0.27263349993154407, + "proc_s": 0.5390119579387829, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 4, + "refine_s": 0.16693475004285574, + "app_s": 0.27621937496587634, + "proc_s": 0.5373418750241399, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 4, + "refine_s": 0.16015904198866338, + "app_s": 0.26794312498532236, + "proc_s": 0.5360178750706837, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 4, + "refine_s": 0.1613622090080753, + "app_s": 0.2696947499644011, + "proc_s": 0.5369521249085665, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 4, + "refine_s": 0.16585175006184727, + "app_s": 0.2788299999665469, + "proc_s": 0.5467580000404269, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 4, + "refine_s": 0.16677983396220952, + "app_s": 0.2770544169470668, + "proc_s": 0.5407562499167398, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 4, + "refine_s": 0.1594517920166254, + "app_s": 0.2697806250071153, + "proc_s": 0.5353491250425577, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 4, + "refine_s": 0.16008437506388873, + "app_s": 0.26916962501127273, + "proc_s": 0.5345446250867099, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 4, + "refine_s": 0.16046341590117663, + "app_s": 0.2676945000421256, + "proc_s": 0.5257677920162678, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 4, + "refine_s": 0.16347925004083663, + "app_s": 0.2765324580250308, + "proc_s": 0.5380799579434097, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 0, + "refine_s": 0.18310412496794015, + "app_s": 0.343375249998644, + "proc_s": 0.6393805829575285, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 0, + "refine_s": 0.4797327920095995, + "app_s": 0.6197807500138879, + "proc_s": 0.8891902499599382, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 0, + "refine_s": 0.31917941593565047, + "app_s": 0.46082091599237174, + "proc_s": 0.7283524159574881, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 0, + "refine_s": 0.26619724999181926, + "app_s": 0.4064980000257492, + "proc_s": 0.6858392079593614, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 0, + "refine_s": 0.22882075002416968, + "app_s": 0.3704210000578314, + "proc_s": 0.6323189589893445, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 0, + "refine_s": 0.21020383306313306, + "app_s": 0.351434167008847, + "proc_s": 0.6135786670492962, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 0, + "refine_s": 0.20022362505551428, + "app_s": 0.3392690409673378, + "proc_s": 0.5977335829520598, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 0, + "refine_s": 0.192375790909864, + "app_s": 0.3311588750220835, + "proc_s": 0.591272082994692, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 0, + "refine_s": 0.18614183308091015, + "app_s": 0.3251413340913132, + "proc_s": 0.588153833989054, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 0, + "refine_s": 0.18622825003694743, + "app_s": 0.3260862500173971, + "proc_s": 0.5920586659340188, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 0, + "refine_s": 0.18342912499792874, + "app_s": 0.32435404194984585, + "proc_s": 0.5933592920191586, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 0, + "refine_s": 0.18538558401633054, + "app_s": 0.32718366698827595, + "proc_s": 0.5916415000101551, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 0, + "refine_s": 0.189322791993618, + "app_s": 0.33000125002581626, + "proc_s": 0.5907240830129012, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 0, + "refine_s": 0.18612270907033235, + "app_s": 0.3235712079331279, + "proc_s": 0.5817132500233129, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 0, + "refine_s": 0.1909137920010835, + "app_s": 0.3308069999329746, + "proc_s": 0.5963210409972817, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 0, + "refine_s": 0.18509579100646079, + "app_s": 0.32288750004954636, + "proc_s": 0.5854108330095187, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 0, + "refine_s": 0.18626049999147654, + "app_s": 0.32217025000136346, + "proc_s": 0.5827941669849679, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 0, + "refine_s": 0.18412783299572766, + "app_s": 0.3179846659768373, + "proc_s": 0.5789543749997392, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 0, + "refine_s": 0.18755049991887063, + "app_s": 0.32065883302129805, + "proc_s": 0.5813923339592293, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 0, + "refine_s": 0.1867211670614779, + "app_s": 0.3232745409477502, + "proc_s": 0.5847251249942929, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 0, + "refine_s": 0.18900925002526492, + "app_s": 0.32664870796725154, + "proc_s": 0.5847492079483345, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 1, + "refine_s": 0.1863800419960171, + "app_s": 0.32064862502738833, + "proc_s": 0.5800126671092585, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 1, + "refine_s": 0.4733058330602944, + "app_s": 0.6090350840240717, + "proc_s": 0.8695818330161273, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 1, + "refine_s": 0.3153092920547351, + "app_s": 0.4491597500164062, + "proc_s": 0.7062929579988122, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 1, + "refine_s": 0.24957783403806388, + "app_s": 0.3846327500650659, + "proc_s": 0.6441885000094771, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 1, + "refine_s": 0.23302687495015562, + "app_s": 0.37431416602339596, + "proc_s": 0.6466026250272989, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 1, + "refine_s": 0.2140487500000745, + "app_s": 0.35073337506037205, + "proc_s": 0.6143751670606434, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 1, + "refine_s": 0.20183079096022993, + "app_s": 0.3414711250225082, + "proc_s": 0.6094856249401346, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 1, + "refine_s": 0.19438850006554276, + "app_s": 0.3315903330221772, + "proc_s": 0.6057642500381917, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 1, + "refine_s": 0.18607624992728233, + "app_s": 0.3250911249779165, + "proc_s": 0.5910579590126872, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 1, + "refine_s": 0.18726187502034009, + "app_s": 0.32321912492625415, + "proc_s": 0.5827482501044869, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 1, + "refine_s": 0.18609279103111476, + "app_s": 0.3211177500197664, + "proc_s": 0.5808378750225529, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 1, + "refine_s": 0.1869528340175748, + "app_s": 0.3310564170824364, + "proc_s": 0.6020790829788893, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 1, + "refine_s": 0.1848158750217408, + "app_s": 0.3238461670698598, + "proc_s": 0.5895341670839116, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 1, + "refine_s": 0.18229320808313787, + "app_s": 0.32129587489180267, + "proc_s": 0.5868640419794247, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 1, + "refine_s": 0.18815979198552668, + "app_s": 0.3391324579715729, + "proc_s": 0.6089436670299619, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 1, + "refine_s": 0.18179112498182803, + "app_s": 0.3178966250270605, + "proc_s": 0.5767673749942333, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 1, + "refine_s": 0.19792974996380508, + "app_s": 0.3493563749361783, + "proc_s": 0.6237924580927938, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 1, + "refine_s": 0.1846991661004722, + "app_s": 0.3245187910506502, + "proc_s": 0.5950340840499848, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 1, + "refine_s": 0.20045041595585644, + "app_s": 0.34209379204548895, + "proc_s": 0.6090375420171767, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 1, + "refine_s": 0.19064379204064608, + "app_s": 0.3330624579684809, + "proc_s": 0.5970170829677954, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 1, + "refine_s": 0.1823588750557974, + "app_s": 0.32459558290429413, + "proc_s": 0.5882243330124766, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 2, + "refine_s": 0.18106937501579523, + "app_s": 0.3206559580285102, + "proc_s": 0.5849461660254747, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 2, + "refine_s": 0.48375841695815325, + "app_s": 0.619451708975248, + "proc_s": 0.8857197089819238, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 2, + "refine_s": 0.32339058397337794, + "app_s": 0.46470866701565683, + "proc_s": 0.7397679999703541, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 2, + "refine_s": 0.2634376249043271, + "app_s": 0.4018904999829829, + "proc_s": 0.6791832919698209, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 2, + "refine_s": 0.22947345802094787, + "app_s": 0.3682805420830846, + "proc_s": 0.6328357079764828, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 2, + "refine_s": 0.22129725001286715, + "app_s": 0.3690382500644773, + "proc_s": 0.6383441670332104, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 2, + "refine_s": 0.1990712919505313, + "app_s": 0.33281862491276115, + "proc_s": 0.5963992499746382, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 2, + "refine_s": 0.1993545419536531, + "app_s": 0.33939924999140203, + "proc_s": 0.6104333749972284, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 2, + "refine_s": 0.18501500005368143, + "app_s": 0.3227307499619201, + "proc_s": 0.5843651669565588, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 2, + "refine_s": 0.18574774998705834, + "app_s": 0.3234001670498401, + "proc_s": 0.5940146250650287, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 2, + "refine_s": 0.18825908296275884, + "app_s": 0.32372700003907084, + "proc_s": 0.5877939999336377, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 2, + "refine_s": 0.1854271669872105, + "app_s": 0.32035295909736305, + "proc_s": 0.5821643749950454, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 2, + "refine_s": 0.18603979202453047, + "app_s": 0.31847604108043015, + "proc_s": 0.5807162909768522, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 2, + "refine_s": 0.18551254202611744, + "app_s": 0.31988508300855756, + "proc_s": 0.58151770895347, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 2, + "refine_s": 0.1854589170543477, + "app_s": 0.32101483293808997, + "proc_s": 0.579640791984275, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 2, + "refine_s": 0.18406720797065645, + "app_s": 0.32037325005512685, + "proc_s": 0.5812011669622734, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 2, + "refine_s": 0.1858873339369893, + "app_s": 0.3190811249660328, + "proc_s": 0.5827422910369933, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 2, + "refine_s": 0.1855636250693351, + "app_s": 0.31958687491714954, + "proc_s": 0.5826047919690609, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 2, + "refine_s": 0.18710487498901784, + "app_s": 0.3214507909724489, + "proc_s": 0.5820299580227584, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 2, + "refine_s": 0.18328233296051621, + "app_s": 0.3182488330639899, + "proc_s": 0.5760457500582561, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 2, + "refine_s": 0.18742991599719971, + "app_s": 0.3219875830691308, + "proc_s": 0.5805772080784664, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 3, + "refine_s": 0.18708345794584602, + "app_s": 0.322089875000529, + "proc_s": 0.5800738749094307, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 3, + "refine_s": 0.47063100000377744, + "app_s": 0.6112663330277428, + "proc_s": 0.8691775830229744, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 3, + "refine_s": 0.3041044590063393, + "app_s": 0.4443510420387611, + "proc_s": 0.7044957499019802, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 3, + "refine_s": 0.24975529196672142, + "app_s": 0.390353791997768, + "proc_s": 0.6489897920982912, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 3, + "refine_s": 0.22693716699723154, + "app_s": 0.3694031669292599, + "proc_s": 0.6341344580287114, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 3, + "refine_s": 0.209731167065911, + "app_s": 0.34816100005991757, + "proc_s": 0.6105859169038013, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 3, + "refine_s": 0.20025745907332748, + "app_s": 0.33933820901438594, + "proc_s": 0.6029583750059828, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 3, + "refine_s": 0.1895045000128448, + "app_s": 0.32783125003334135, + "proc_s": 0.5887549590552226, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 3, + "refine_s": 0.18482691701501608, + "app_s": 0.3251788340276107, + "proc_s": 0.5912782499799505, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 3, + "refine_s": 0.1852445830591023, + "app_s": 0.32264658401254565, + "proc_s": 0.5868408749811351, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 3, + "refine_s": 0.1907281669555232, + "app_s": 0.32846266601700336, + "proc_s": 0.5921516669914126, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 3, + "refine_s": 0.18390429101418704, + "app_s": 0.3226356249069795, + "proc_s": 0.5871400840114802, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 3, + "refine_s": 0.18477104196790606, + "app_s": 0.3239949580747634, + "proc_s": 0.5848650829866529, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 3, + "refine_s": 0.18663175008259714, + "app_s": 0.32465741701889783, + "proc_s": 0.5875752919819206, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 3, + "refine_s": 0.18538345908746123, + "app_s": 0.3211820420110598, + "proc_s": 0.5860700840130448, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 3, + "refine_s": 0.18680054100695997, + "app_s": 0.3218938750214875, + "proc_s": 0.587236583000049, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 3, + "refine_s": 0.18845416698604822, + "app_s": 0.3264715000987053, + "proc_s": 0.5909582499880344, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 3, + "refine_s": 0.1886990419588983, + "app_s": 0.3211651250021532, + "proc_s": 0.5820277919992805, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 3, + "refine_s": 0.18512758298311383, + "app_s": 0.3192693330347538, + "proc_s": 0.5809553749859333, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 3, + "refine_s": 0.18957454210612923, + "app_s": 0.3335735839791596, + "proc_s": 0.5929476250894368, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 3, + "refine_s": 0.18540908303111792, + "app_s": 0.3191733749117702, + "proc_s": 0.5895944589283317, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 4, + "refine_s": 0.18314683402422816, + "app_s": 0.31556962500326335, + "proc_s": 0.5795895420014858, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 4, + "refine_s": 0.5264391249511391, + "app_s": 0.6920185419730842, + "proc_s": 0.9525277919601649, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 4, + "refine_s": 0.35962508397642523, + "app_s": 0.518368290970102, + "proc_s": 0.821899582981132, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 4, + "refine_s": 0.274366750032641, + "app_s": 0.45144808292388916, + "proc_s": 0.7411056669661775, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 4, + "refine_s": 0.23853254201821983, + "app_s": 0.37645175005309284, + "proc_s": 0.6494893339695409, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 4, + "refine_s": 0.22103708307258785, + "app_s": 0.3625984999816865, + "proc_s": 0.6405789169948548, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 4, + "refine_s": 0.19945758301764727, + "app_s": 0.33416083303745836, + "proc_s": 0.6004004999995232, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 4, + "refine_s": 0.21109995793085545, + "app_s": 0.3466101250378415, + "proc_s": 0.6238561250502244, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 4, + "refine_s": 0.19390733307227492, + "app_s": 0.3496937920572236, + "proc_s": 0.6440876249689609, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 4, + "refine_s": 0.18789670907426625, + "app_s": 0.3224453330039978, + "proc_s": 0.5901307091116905, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 4, + "refine_s": 0.1860047080554068, + "app_s": 0.32327250007074326, + "proc_s": 0.5940877080429345, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 4, + "refine_s": 0.18412333307787776, + "app_s": 0.3179275000002235, + "proc_s": 0.5770098749781027, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 4, + "refine_s": 0.18370412499643862, + "app_s": 0.32003708404954523, + "proc_s": 0.5844012500019744, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 4, + "refine_s": 0.18616595899220556, + "app_s": 0.321093124919571, + "proc_s": 0.5831260411068797, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 4, + "refine_s": 0.18623412493616343, + "app_s": 0.327897208975628, + "proc_s": 0.5901141250506043, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 4, + "refine_s": 0.2044595410116017, + "app_s": 0.37642137496732175, + "proc_s": 0.6776289170375094, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 4, + "refine_s": 0.18687375006265938, + "app_s": 0.32142425002530217, + "proc_s": 0.5911897500045598, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 4, + "refine_s": 0.18845833302475512, + "app_s": 0.32259370805695653, + "proc_s": 0.5832862079842016, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 4, + "refine_s": 0.18752662499900907, + "app_s": 0.32268374995328486, + "proc_s": 0.5824947080109268, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 4, + "refine_s": 0.19136633293237537, + "app_s": 0.32269800000358373, + "proc_s": 0.5841729999519885, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 4, + "refine_s": 0.18870708404574543, + "app_s": 0.32399441697634757, + "proc_s": 0.5885156251024455, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + } + ], + "stats": [ + { + "domain": "quarter", + "threads": 0, + "n": 5, + "median": 0.17295020900201052, + "min": 0.16792108304798603, + "max": 0.1860668750014156 + }, + { + "domain": "quarter", + "threads": 1, + "n": 5, + "median": 0.4675885420292616, + "min": 0.44259558408521116, + "max": 0.49582579208072275 + }, + { + "domain": "quarter", + "threads": 2, + "n": 5, + "median": 0.2955494170309976, + "min": 0.2737061249790713, + "max": 0.3080095408950001 + }, + { + "domain": "quarter", + "threads": 3, + "n": 5, + "median": 0.23982758296187967, + "min": 0.22882208309601992, + "max": 0.24349104205612093 + }, + { + "domain": "quarter", + "threads": 4, + "n": 5, + "median": 0.20810470799915493, + "min": 0.20201400003861636, + "max": 0.2149855000898242 + }, + { + "domain": "quarter", + "threads": 5, + "n": 5, + "median": 0.19220529100857675, + "min": 0.18690850003622472, + "max": 0.24226495798211545 + }, + { + "domain": "quarter", + "threads": 6, + "n": 5, + "median": 0.18085616698954254, + "min": 0.17589958396274596, + "max": 0.18779929203446954 + }, + { + "domain": "quarter", + "threads": 7, + "n": 5, + "median": 0.17750850005540997, + "min": 0.16966929205227643, + "max": 0.18853900011163205 + }, + { + "domain": "quarter", + "threads": 8, + "n": 5, + "median": 0.1666108329081908, + "min": 0.1634088340215385, + "max": 0.19982429197989404 + }, + { + "domain": "quarter", + "threads": 9, + "n": 5, + "median": 0.17670475004706532, + "min": 0.16789479099679738, + "max": 0.23270770790986717 + }, + { + "domain": "quarter", + "threads": 10, + "n": 5, + "median": 0.17672550003044307, + "min": 0.16831287497188896, + "max": 0.1877305000089109 + }, + { + "domain": "quarter", + "threads": 11, + "n": 5, + "median": 0.16595000005327165, + "min": 0.1636087920051068, + "max": 0.18030683300457895 + }, + { + "domain": "quarter", + "threads": 12, + "n": 5, + "median": 0.17043270799331367, + "min": 0.16693475004285574, + "max": 0.18577945802826434 + }, + { + "domain": "quarter", + "threads": 13, + "n": 5, + "median": 0.16991529101505876, + "min": 0.16015904198866338, + "max": 0.2582847500452772 + }, + { + "domain": "quarter", + "threads": 14, + "n": 5, + "median": 0.1767811250174418, + "min": 0.1613622090080753, + "max": 0.21420208306517452 + }, + { + "domain": "quarter", + "threads": 15, + "n": 5, + "median": 0.1748598749982193, + "min": 0.16585175006184727, + "max": 0.18191962502896786 + }, + { + "domain": "quarter", + "threads": 16, + "n": 5, + "median": 0.1715782079845667, + "min": 0.16677983396220952, + "max": 0.2040738749783486 + }, + { + "domain": "quarter", + "threads": 17, + "n": 5, + "median": 0.16960525000467896, + "min": 0.1594517920166254, + "max": 0.19477508403360844 + }, + { + "domain": "quarter", + "threads": 18, + "n": 5, + "median": 0.1732866249512881, + "min": 0.16008437506388873, + "max": 0.18023058294784278 + }, + { + "domain": "quarter", + "threads": 19, + "n": 5, + "median": 0.16676687507424504, + "min": 0.16046341590117663, + "max": 0.18045762495603412 + }, + { + "domain": "quarter", + "threads": 20, + "n": 5, + "median": 0.16884608403779566, + "min": 0.16347925004083663, + "max": 0.17414312495384365 + }, + { + "domain": "tile", + "threads": 0, + "n": 5, + "median": 0.18314683402422816, + "min": 0.18106937501579523, + "max": 0.18708345794584602 + }, + { + "domain": "tile", + "threads": 1, + "n": 5, + "median": 0.4797327920095995, + "min": 0.47063100000377744, + "max": 0.5264391249511391 + }, + { + "domain": "tile", + "threads": 2, + "n": 5, + "median": 0.31917941593565047, + "min": 0.3041044590063393, + "max": 0.35962508397642523 + }, + { + "domain": "tile", + "threads": 3, + "n": 5, + "median": 0.2634376249043271, + "min": 0.24957783403806388, + "max": 0.274366750032641 + }, + { + "domain": "tile", + "threads": 4, + "n": 5, + "median": 0.22947345802094787, + "min": 0.22693716699723154, + "max": 0.23853254201821983 + }, + { + "domain": "tile", + "threads": 5, + "n": 5, + "median": 0.2140487500000745, + "min": 0.209731167065911, + "max": 0.22129725001286715 + }, + { + "domain": "tile", + "threads": 6, + "n": 5, + "median": 0.20022362505551428, + "min": 0.1990712919505313, + "max": 0.20183079096022993 + }, + { + "domain": "tile", + "threads": 7, + "n": 5, + "median": 0.19438850006554276, + "min": 0.1895045000128448, + "max": 0.21109995793085545 + }, + { + "domain": "tile", + "threads": 8, + "n": 5, + "median": 0.18607624992728233, + "min": 0.18482691701501608, + "max": 0.19390733307227492 + }, + { + "domain": "tile", + "threads": 9, + "n": 5, + "median": 0.18622825003694743, + "min": 0.1852445830591023, + "max": 0.18789670907426625 + }, + { + "domain": "tile", + "threads": 10, + "n": 5, + "median": 0.18609279103111476, + "min": 0.18342912499792874, + "max": 0.1907281669555232 + }, + { + "domain": "tile", + "threads": 11, + "n": 5, + "median": 0.18538558401633054, + "min": 0.18390429101418704, + "max": 0.1869528340175748 + }, + { + "domain": "tile", + "threads": 12, + "n": 5, + "median": 0.1848158750217408, + "min": 0.18370412499643862, + "max": 0.189322791993618 + }, + { + "domain": "tile", + "threads": 13, + "n": 5, + "median": 0.18612270907033235, + "min": 0.18229320808313787, + "max": 0.18663175008259714 + }, + { + "domain": "tile", + "threads": 14, + "n": 5, + "median": 0.18623412493616343, + "min": 0.18538345908746123, + "max": 0.1909137920010835 + }, + { + "domain": "tile", + "threads": 15, + "n": 5, + "median": 0.18509579100646079, + "min": 0.18179112498182803, + "max": 0.2044595410116017 + }, + { + "domain": "tile", + "threads": 16, + "n": 5, + "median": 0.18687375006265938, + "min": 0.1858873339369893, + "max": 0.19792974996380508 + }, + { + "domain": "tile", + "threads": 17, + "n": 5, + "median": 0.1855636250693351, + "min": 0.18412783299572766, + "max": 0.1886990419588983 + }, + { + "domain": "tile", + "threads": 18, + "n": 5, + "median": 0.18752662499900907, + "min": 0.18512758298311383, + "max": 0.20045041595585644 + }, + { + "domain": "tile", + "threads": 19, + "n": 5, + "median": 0.18957454210612923, + "min": 0.18328233296051621, + "max": 0.19136633293237537 + }, + { + "domain": "tile", + "threads": 20, + "n": 5, + "median": 0.18742991599719971, + "min": 0.1823588750557974, + "max": 0.18900925002526492 + } + ], + "quality": { + "quarter": { + "worst_angle": 0.3955267116350698, + "angle_median": 45.0, + "share_under_1": 0.000028023175165862168, + "max_degree": 18, + "within_tolerance": true, + "delaunay_checked": 641791, + "delaunay_ambiguous": 80136, + "delaunay_violations": 0, + "mesh_sha256": "ccebf96a86c6c5e244e4a0281919de4e866fcfe789b66024a290ac2af33771a1" + }, + "tile": { + "worst_angle": 0.6295986084102668, + "angle_median": 45.0, + "share_under_1": 2.1538262723728703e-6, + "max_degree": 74, + "within_tolerance": true, + "delaunay_checked": 692056, + "delaunay_ambiguous": 94469, + "delaunay_violations": 0, + "mesh_sha256": "11741a81adfa17b34a1ea56875ec9e791414d17625eb1c58305e7c0cf10e005c" + } + }, + "accept_quality": false, + "threshold_pct": 5.0, + "verdict": [ + "REGRESSION: quarter refine_s[t=0] 0.1634 -> 0.1730 (+5.8 %)", + "REGRESSION: quarter refine_s[t=1] 0.4124 -> 0.4676 (+13.4 %)", + "REGRESSION: quarter refine_s[t=2] 0.2664 -> 0.2955 (+11.0 %)", + "REGRESSION: quarter refine_s[t=3] 0.2207 -> 0.2398 (+8.7 %)", + "REGRESSION: quarter refine_s[t=7] 0.1670 -> 0.1775 (+6.3 %)", + "REGRESSION: quarter refine_s[t=9] 0.1642 -> 0.1767 (+7.6 %)", + "REGRESSION: quarter refine_s[t=10] 0.1660 -> 0.1767 (+6.5 %)", + "REGRESSION: quarter refine_s[t=12] 0.1596 -> 0.1704 (+6.8 %)", + "REGRESSION: quarter refine_s[t=14] 0.1647 -> 0.1768 (+7.3 %)", + "REGRESSION: quarter refine_s[t=15] 0.1645 -> 0.1749 (+6.3 %)", + "REGRESSION: quarter refine_s[t=16] 0.1631 -> 0.1716 (+5.2 %)", + "REGRESSION: quarter refine_s[t=18] 0.1633 -> 0.1733 (+6.1 %)" + ] +} diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r4/README.md b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r4/README.md new file mode 100644 index 00000000..6864b35a --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r4/README.md @@ -0,0 +1,79 @@ +# Benchmark run `16b12-acceptance/16b12-r4` + +Generated by `tools/bench.py`. + +## Verdict + +- ACCEPTED + +Time threshold: 5.0 %. + +## Method + +- Started 2026-09-28T23:52:39.413939+02:00; tree `5f3a52291ef7eebe7092f0b0f0c4da02ec77b879` (dirty); bench.py blob `77765b181714c31714da476c2335c799c6a84021`. Build: Release, AppleClang 21.0.0.21000101, `-O3 -DNDEBUG`, _core sha256 `190587e7ba0ea96a74a8621767d7d20257c3968126a710db1364e1195afb27d2`. +- Apple M1 Max, 8 P + 2 E cores, 32 GiB, macOS 27.0, Python 3.14.7, numpy 2.5.3. +- Power **battery** (75%), `pmset -g batt` before and after (in run.json). +- DEM `/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif` (sha256 `aabd0cbc28471ce8593e4c278381811bec3fbf4e1194058b3b4888d00c3af575`), tolerance 1.0, extra mesh args ``; domains: `quarter` (/Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-26/quarter.geojson), `tile` (the whole tile). +- One child per sample, `/Users/skavhaug/projects/rasputin/.venv/bin/python /Users/skavhaug/projects/rasputin/tools/bench.py _child --pkg /Users/skavhaug/projects/rasputin/build-bench/pkg --threads -- mesh --dem /Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif --tolerance 1 --out --binary`, repeats interleaved over thread counts; t=0 is the CLI's default, other counts are forced into `refine`. Quality: one `--ascii` run per domain at t=0, kept out of the repository; rerun the child with `--ascii --out PATH` to regenerate it. + +## `quarter` + +| threads | n | median s | min s | max s | +|---:|---:|---:|---:|---:| +| 0 | 5 | 0.1704 | 0.1659 | 0.2142 | +| 1 | 5 | 0.4451 | 0.4418 | 0.4751 | +| 2 | 5 | 0.2871 | 0.2779 | 0.2980 | +| 3 | 5 | 0.2329 | 0.2295 | 0.2354 | +| 4 | 5 | 0.2066 | 0.2037 | 0.2085 | +| 5 | 5 | 0.1908 | 0.1887 | 0.2223 | +| 6 | 5 | 0.1845 | 0.1753 | 0.2015 | +| 7 | 5 | 0.1702 | 0.1674 | 0.1887 | +| 8 | 5 | 0.1659 | 0.1637 | 0.1725 | +| 9 | 5 | 0.1682 | 0.1677 | 0.1751 | +| 10 | 5 | 0.1655 | 0.1634 | 0.1804 | +| 11 | 5 | 0.1699 | 0.1668 | 0.1739 | +| 12 | 5 | 0.1663 | 0.1652 | 0.1811 | +| 13 | 5 | 0.1677 | 0.1661 | 0.1780 | +| 14 | 5 | 0.1773 | 0.1654 | 0.1795 | +| 15 | 5 | 0.1691 | 0.1663 | 0.1790 | +| 16 | 5 | 0.1694 | 0.1661 | 0.1918 | +| 17 | 5 | 0.1691 | 0.1621 | 0.1776 | +| 18 | 5 | 0.1699 | 0.1649 | 0.1714 | +| 19 | 5 | 0.1702 | 0.1661 | 0.1779 | +| 20 | 5 | 0.1673 | 0.1663 | 0.1913 | + +Ceiling: 2.66x at 20 threads over 1, best 2.69x at 10; 2026-09-26: about 2.2x, flat from about 7. + +Quality: worst angle 0.3955 deg, median 45.00, share under 1 deg 0.00003, max degree 18, within tolerance True, Delaunay 0 violations of 641791 edges (80136 decided exactly), mesh sha256 `ccebf96a86c6c5e244e4a0281919de4e866fcfe789b66024a290ac2af33771a1`. + +## `tile` + +| threads | n | median s | min s | max s | +|---:|---:|---:|---:|---:| +| 0 | 5 | 0.1890 | 0.1851 | 0.1947 | +| 1 | 5 | 0.4946 | 0.4856 | 0.4976 | +| 2 | 5 | 0.3215 | 0.3174 | 0.3366 | +| 3 | 5 | 0.2644 | 0.2625 | 0.2712 | +| 4 | 5 | 0.2368 | 0.2317 | 0.2453 | +| 5 | 5 | 0.2148 | 0.2131 | 0.2268 | +| 6 | 5 | 0.2120 | 0.1987 | 0.2186 | +| 7 | 5 | 0.1947 | 0.1922 | 0.2174 | +| 8 | 5 | 0.1928 | 0.1854 | 0.2224 | +| 9 | 5 | 0.1899 | 0.1863 | 0.1904 | +| 10 | 5 | 0.1894 | 0.1852 | 0.1939 | +| 11 | 5 | 0.1898 | 0.1867 | 0.1912 | +| 12 | 5 | 0.1878 | 0.1852 | 0.1921 | +| 13 | 5 | 0.1886 | 0.1856 | 0.2155 | +| 14 | 5 | 0.1921 | 0.1914 | 0.1942 | +| 15 | 5 | 0.1895 | 0.1875 | 0.1918 | +| 16 | 5 | 0.1904 | 0.1890 | 0.2026 | +| 17 | 5 | 0.1879 | 0.1860 | 0.2085 | +| 18 | 5 | 0.1901 | 0.1875 | 0.1923 | +| 19 | 5 | 0.1893 | 0.1878 | 0.1922 | +| 20 | 5 | 0.1952 | 0.1912 | 0.2066 | + +Ceiling: 2.53x at 20 threads over 1, best 2.63x at 12; 2026-09-26: about 2.2x, flat from about 7. + +Quality: worst angle 0.6296 deg, median 45.00, share under 1 deg 0.00000, max degree 74, within tolerance True, Delaunay 0 violations of 692056 edges (94469 decided exactly), mesh sha256 `11741a81adfa17b34a1ea56875ec9e791414d17625eb1c58305e7c0cf10e005c`. + + diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r4/raw.tsv b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r4/raw.tsv new file mode 100644 index 00000000..f78cd5a5 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r4/raw.tsv @@ -0,0 +1,210 @@ +quarter 0 0 0.167125 battery +quarter 1 0 0.449295 battery +quarter 2 0 0.282756 battery +quarter 3 0 0.229812 battery +quarter 4 0 0.206642 battery +quarter 5 0 0.190425 battery +quarter 6 0 0.178418 battery +quarter 7 0 0.170241 battery +quarter 8 0 0.164818 battery +quarter 9 0 0.167988 battery +quarter 10 0 0.165472 battery +quarter 11 0 0.170140 battery +quarter 12 0 0.165241 battery +quarter 13 0 0.166123 battery +quarter 14 0 0.177325 battery +quarter 15 0 0.168005 battery +quarter 16 0 0.166096 battery +quarter 17 0 0.168115 battery +quarter 18 0 0.171404 battery +quarter 19 0 0.166149 battery +quarter 20 0 0.167260 battery +quarter 0 1 0.165908 battery +quarter 1 1 0.441791 battery +quarter 2 1 0.287064 battery +quarter 3 1 0.233779 battery +quarter 4 1 0.203811 battery +quarter 5 1 0.188677 battery +quarter 6 1 0.175279 battery +quarter 7 1 0.169991 battery +quarter 8 1 0.163677 battery +quarter 9 1 0.168223 battery +quarter 10 1 0.163405 battery +quarter 11 1 0.173852 battery +quarter 12 1 0.166090 battery +quarter 13 1 0.166363 battery +quarter 14 1 0.179389 battery +quarter 15 1 0.169100 battery +quarter 16 1 0.178049 battery +quarter 17 1 0.162081 battery +quarter 18 1 0.164870 battery +quarter 19 1 0.177857 battery +quarter 20 1 0.166503 battery +quarter 0 2 0.214232 battery +quarter 1 2 0.445120 battery +quarter 2 2 0.298008 battery +quarter 3 2 0.232868 battery +quarter 4 2 0.206662 battery +quarter 5 2 0.222266 battery +quarter 6 2 0.191389 battery +quarter 7 2 0.167421 battery +quarter 8 2 0.165896 battery +quarter 9 2 0.168224 battery +quarter 10 2 0.180435 battery +quarter 11 2 0.166804 battery +quarter 12 2 0.181139 battery +quarter 13 2 0.178006 battery +quarter 14 2 0.179503 battery +quarter 15 2 0.178972 battery +quarter 16 2 0.191756 battery +quarter 17 2 0.177584 battery +quarter 18 2 0.170056 battery +quarter 19 2 0.169537 battery +quarter 20 2 0.191341 battery +quarter 0 3 0.175203 battery +quarter 1 3 0.475051 battery +quarter 2 3 0.288796 battery +quarter 3 3 0.235356 battery +quarter 4 3 0.208535 battery +quarter 5 3 0.195912 battery +quarter 6 3 0.184515 battery +quarter 7 3 0.176347 battery +quarter 8 3 0.170515 battery +quarter 9 3 0.175115 battery +quarter 10 3 0.165009 battery +quarter 11 3 0.167996 battery +quarter 12 3 0.170519 battery +quarter 13 3 0.171595 battery +quarter 14 3 0.165425 battery +quarter 15 3 0.171034 battery +quarter 16 3 0.169434 battery +quarter 17 3 0.169389 battery +quarter 18 3 0.166137 battery +quarter 19 3 0.171718 battery +quarter 20 3 0.166347 battery +quarter 0 4 0.170432 battery +quarter 1 4 0.444794 battery +quarter 2 4 0.277896 battery +quarter 3 4 0.229505 battery +quarter 4 4 0.203746 battery +quarter 5 4 0.190757 battery +quarter 6 4 0.201451 battery +quarter 7 4 0.188743 battery +quarter 8 4 0.172518 battery +quarter 9 4 0.167696 battery +quarter 10 4 0.168315 battery +quarter 11 4 0.169873 battery +quarter 12 4 0.166305 battery +quarter 13 4 0.167663 battery +quarter 14 4 0.167201 battery +quarter 15 4 0.166285 battery +quarter 16 4 0.168414 battery +quarter 17 4 0.169068 battery +quarter 18 4 0.169934 battery +quarter 19 4 0.170244 battery +quarter 20 4 0.169218 battery +tile 0 0 0.192386 battery +tile 1 0 0.489690 battery +tile 2 0 0.321469 battery +tile 3 0 0.264371 battery +tile 4 0 0.233986 battery +tile 5 0 0.213870 battery +tile 6 0 0.198686 battery +tile 7 0 0.192741 battery +tile 8 0 0.185383 battery +tile 9 0 0.186275 battery +tile 10 0 0.187625 battery +tile 11 0 0.186669 battery +tile 12 0 0.192095 battery +tile 13 0 0.196111 battery +tile 14 0 0.192076 battery +tile 15 0 0.190587 battery +tile 16 0 0.190386 battery +tile 17 0 0.187657 battery +tile 18 0 0.190473 battery +tile 19 0 0.189287 battery +tile 20 0 0.206587 battery +tile 0 1 0.185141 battery +tile 1 1 0.494620 battery +tile 2 1 0.336637 battery +tile 3 1 0.264448 battery +tile 4 1 0.236793 battery +tile 5 1 0.213083 battery +tile 6 1 0.218574 battery +tile 7 1 0.217414 battery +tile 8 1 0.222425 battery +tile 9 1 0.190239 battery +tile 10 1 0.193875 battery +tile 11 1 0.191182 battery +tile 12 1 0.185224 battery +tile 13 1 0.188598 battery +tile 14 1 0.191595 battery +tile 15 1 0.189500 battery +tile 16 1 0.188960 battery +tile 17 1 0.185986 battery +tile 18 1 0.188111 battery +tile 19 1 0.192150 battery +tile 20 1 0.192492 battery +tile 0 2 0.188883 battery +tile 1 2 0.485602 battery +tile 2 2 0.317448 battery +tile 3 2 0.264114 battery +tile 4 2 0.245269 battery +tile 5 2 0.219506 battery +tile 6 2 0.214168 battery +tile 7 2 0.195278 battery +tile 8 2 0.190522 battery +tile 9 2 0.189933 battery +tile 10 2 0.189400 battery +tile 11 2 0.189867 battery +tile 12 2 0.186367 battery +tile 13 2 0.186854 battery +tile 14 2 0.193522 battery +tile 15 2 0.187507 battery +tile 16 2 0.202564 battery +tile 17 2 0.192655 battery +tile 18 2 0.187511 battery +tile 19 2 0.191257 battery +tile 20 2 0.191161 battery +tile 0 3 0.194729 battery +tile 1 3 0.497597 battery +tile 2 3 0.328916 battery +tile 3 3 0.271247 battery +tile 4 3 0.239658 battery +tile 5 3 0.226790 battery +tile 6 3 0.211964 battery +tile 7 3 0.194696 battery +tile 8 3 0.198026 battery +tile 9 3 0.186782 battery +tile 10 3 0.191329 battery +tile 11 3 0.189801 battery +tile 12 3 0.188346 battery +tile 13 3 0.215495 battery +tile 14 3 0.194246 battery +tile 15 3 0.191814 battery +tile 16 3 0.194595 battery +tile 17 3 0.208504 battery +tile 18 3 0.192302 battery +tile 19 3 0.187783 battery +tile 20 3 0.199304 battery +tile 0 4 0.189012 battery +tile 1 4 0.495768 battery +tile 2 4 0.318752 battery +tile 3 4 0.262550 battery +tile 4 4 0.231695 battery +tile 5 4 0.214786 battery +tile 6 4 0.202200 battery +tile 7 4 0.192172 battery +tile 8 4 0.192758 battery +tile 9 4 0.190383 battery +tile 10 4 0.185204 battery +tile 11 4 0.189465 battery +tile 12 4 0.187833 battery +tile 13 4 0.185580 battery +tile 14 4 0.191402 battery +tile 15 4 0.188462 battery +tile 16 4 0.190040 battery +tile 17 4 0.187879 battery +tile 18 4 0.190092 battery +tile 19 4 0.189262 battery +tile 20 4 0.195187 battery diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r4/run.json b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r4/run.json new file mode 100644 index 00000000..9d8742a0 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r4/run.json @@ -0,0 +1,2955 @@ +{ + "label": "16b12-acceptance/16b12-r4", + "started": "2026-09-28T23:52:39.413939+02:00", + "tree": { + "commit": "5f3a52291ef7eebe7092f0b0f0c4da02ec77b879", + "dirty": true + }, + "bench_blob": "77765b181714c31714da476c2335c799c6a84021", + "child_argv": [ + "/Users/skavhaug/projects/rasputin/.venv/bin/python", + "/Users/skavhaug/projects/rasputin/tools/bench.py", + "_child", + "--pkg", + "/Users/skavhaug/projects/rasputin/build-bench/pkg", + "--threads", + "", + "--", + "mesh", + "--dem", + "/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif", + "--tolerance", + "1", + "--out", + "", + "--binary" + ], + "build": { + "no_build": false, + "type": "Release", + "cxx_flags_release": "-O3 -DNDEBUG", + "compiler": "AppleClang 21.0.0.21000101", + "so_sha256": "190587e7ba0ea96a74a8621767d7d20257c3968126a710db1364e1195afb27d2" + }, + "machine": { + "cpu_brand": "Apple M1 Max", + "p_cores": 8, + "e_cores": 2, + "memory_bytes": 34359738368, + "macos": "27.0", + "python": "3.14.7", + "numpy": "2.5.3" + }, + "power": { + "state": "battery", + "percent": 75, + "raw": "Now drawing from 'Battery Power'\n -InternalBattery-0 (id=7929955)\t76%; discharging; 2:34 remaining present: true\n--- after ---\nNow drawing from 'Battery Power'\n -InternalBattery-0 (id=7929955)\t75%; discharging; 2:34 remaining present: true\n" + }, + "inputs": { + "dem": "/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif", + "dem_sha256": "aabd0cbc28471ce8593e4c278381811bec3fbf4e1194058b3b4888d00c3af575", + "domains": [ + { + "name": "quarter", + "path": "/Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-26/quarter.geojson", + "sha256": "b7f7bbe96848383c77863ce29ee28c45bce087601a1738ee82ddb4ffb8279d1e" + }, + { + "name": "tile", + "path": null, + "sha256": null + } + ], + "tolerance": 1.0, + "extra_args": [] + }, + "samples": [ + { + "domain": "quarter", + "threads": 0, + "repeat": 0, + "refine_s": 0.1671249169157818, + "app_s": 0.30457362497691065, + "proc_s": 1.0320354589493945, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 0, + "refine_s": 0.44929516699630767, + "app_s": 0.5666615829104558, + "proc_s": 0.8657878329977393, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 0, + "refine_s": 0.2827559169381857, + "app_s": 0.3976917499676347, + "proc_s": 0.6769161670235917, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 0, + "refine_s": 0.22981166606768966, + "app_s": 0.3387848340207711, + "proc_s": 0.6186606250703335, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 0, + "refine_s": 0.20664154191035777, + "app_s": 0.318792250007391, + "proc_s": 0.5993609159486368, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 0, + "refine_s": 0.19042545894626528, + "app_s": 0.3061591249424964, + "proc_s": 0.585555125027895, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 0, + "refine_s": 0.17841783305630088, + "app_s": 0.2914347080513835, + "proc_s": 0.5686905829934403, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 0, + "refine_s": 0.1702411250444129, + "app_s": 0.2880939590977505, + "proc_s": 0.5695878330152482, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 0, + "refine_s": 0.16481804207433015, + "app_s": 0.27557554095983505, + "proc_s": 0.5506326670292765, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 0, + "refine_s": 0.16798816598020494, + "app_s": 0.28475583298131824, + "proc_s": 0.56088520900812, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 0, + "refine_s": 0.16547187499236315, + "app_s": 0.2756492920452729, + "proc_s": 0.5468602919718251, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 0, + "refine_s": 0.17013970902189612, + "app_s": 0.2803957089781761, + "proc_s": 0.5536167500540614, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 0, + "refine_s": 0.16524141607806087, + "app_s": 0.27622879098635167, + "proc_s": 0.5559192500077188, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 0, + "refine_s": 0.16612291696947068, + "app_s": 0.27739625005051494, + "proc_s": 0.5448750420473516, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 0, + "refine_s": 0.17732512496877462, + "app_s": 0.2918682920280844, + "proc_s": 0.5671319999964908, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 0, + "refine_s": 0.16800499998498708, + "app_s": 0.2789294579997659, + "proc_s": 0.5625088330125436, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 0, + "refine_s": 0.166095707914792, + "app_s": 0.28150537505280226, + "proc_s": 0.551820500055328, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 0, + "refine_s": 0.16811454098206013, + "app_s": 0.27899758389685303, + "proc_s": 0.5535644580377266, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 0, + "refine_s": 0.17140387499239296, + "app_s": 0.283865625038743, + "proc_s": 0.560921541065909, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 0, + "refine_s": 0.1661492499988526, + "app_s": 0.2849024999886751, + "proc_s": 0.5633475420763716, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 0, + "refine_s": 0.1672601669561118, + "app_s": 0.2883399589918554, + "proc_s": 0.560866583022289, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 1, + "refine_s": 0.1659081670222804, + "app_s": 0.2806018330156803, + "proc_s": 0.5533839999698102, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 1, + "refine_s": 0.4417905000736937, + "app_s": 0.5594600830227137, + "proc_s": 0.8302746670087799, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 1, + "refine_s": 0.2870638750027865, + "app_s": 0.40365920902695507, + "proc_s": 0.6780514169950038, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 1, + "refine_s": 0.2337787919677794, + "app_s": 0.3459111660486087, + "proc_s": 0.6284613749012351, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 1, + "refine_s": 0.20381099998485297, + "app_s": 0.3151944159762934, + "proc_s": 0.5932904590154067, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 1, + "refine_s": 0.18867683305870742, + "app_s": 0.2967623339500278, + "proc_s": 0.5701264590024948, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 1, + "refine_s": 0.17527895898092538, + "app_s": 0.28597770794294775, + "proc_s": 0.5598353330278769, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 1, + "refine_s": 0.1699911670293659, + "app_s": 0.28026833303738385, + "proc_s": 0.5668282499536872, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 1, + "refine_s": 0.16367683396674693, + "app_s": 0.2740902919322252, + "proc_s": 0.5457444170024246, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 1, + "refine_s": 0.1682234170148149, + "app_s": 0.27996083290781826, + "proc_s": 0.5635732499649748, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 1, + "refine_s": 0.16340475005563349, + "app_s": 0.27278316603042185, + "proc_s": 0.5447719169314951, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 1, + "refine_s": 0.1738517499761656, + "app_s": 0.28902399993967265, + "proc_s": 0.5865829170215875, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 1, + "refine_s": 0.1660904580494389, + "app_s": 0.2842630409868434, + "proc_s": 0.5586540829390287, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 1, + "refine_s": 0.16636333300266415, + "app_s": 0.2817589590558782, + "proc_s": 0.5566167079377919, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 1, + "refine_s": 0.17938858398701996, + "app_s": 0.30229812499601394, + "proc_s": 0.5819485000101849, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 1, + "refine_s": 0.16909987502731383, + "app_s": 0.2793045829748735, + "proc_s": 0.5538320000050589, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 1, + "refine_s": 0.17804920801427215, + "app_s": 0.293407166027464, + "proc_s": 0.5649379999376833, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 1, + "refine_s": 0.1620812499895692, + "app_s": 0.28193233301863074, + "proc_s": 0.5603642080677673, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 1, + "refine_s": 0.16486966598313302, + "app_s": 0.28399804199580103, + "proc_s": 0.5598989159334451, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 1, + "refine_s": 0.17785729200113565, + "app_s": 0.3030469589866698, + "proc_s": 0.5871500830398872, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 1, + "refine_s": 0.1665029589785263, + "app_s": 0.2906967079034075, + "proc_s": 0.5779859169851989, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 2, + "refine_s": 0.21423237503040582, + "app_s": 0.34141320909839123, + "proc_s": 0.6644914160715416, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 2, + "refine_s": 0.44511950004380196, + "app_s": 0.5619334590155631, + "proc_s": 0.8530010830145329, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 2, + "refine_s": 0.29800820897798985, + "app_s": 0.4124209589790553, + "proc_s": 0.699764083023183, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 2, + "refine_s": 0.23286774998996407, + "app_s": 0.34704112506005913, + "proc_s": 0.626116874977015, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 2, + "refine_s": 0.20666187501046807, + "app_s": 0.32405783294234425, + "proc_s": 0.6065779579803348, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 2, + "refine_s": 0.22226624994073063, + "app_s": 0.36137520894408226, + "proc_s": 0.657811125041917, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 2, + "refine_s": 0.1913885409012437, + "app_s": 0.33720299997366965, + "proc_s": 0.6424238330218941, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 2, + "refine_s": 0.16742091707419604, + "app_s": 0.2792577500222251, + "proc_s": 0.5677347499877214, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 2, + "refine_s": 0.16589645808562636, + "app_s": 0.2795441249618307, + "proc_s": 0.571636916953139, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 2, + "refine_s": 0.1682244170224294, + "app_s": 0.2839984579477459, + "proc_s": 0.5752301249885932, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 2, + "refine_s": 0.18043537496123463, + "app_s": 0.29362216603476554, + "proc_s": 0.5850424169329926, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 2, + "refine_s": 0.16680437501054257, + "app_s": 0.27698954194784164, + "proc_s": 0.5553186249453574, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 2, + "refine_s": 0.1811390840448439, + "app_s": 0.30044041597284377, + "proc_s": 0.5732783749699593, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 2, + "refine_s": 0.17800612503197044, + "app_s": 0.2960977499606088, + "proc_s": 0.5916488749207929, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 2, + "refine_s": 0.17950274993199855, + "app_s": 0.3041634999681264, + "proc_s": 0.6171087090624496, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 2, + "refine_s": 0.17897179094143212, + "app_s": 0.3102305840002373, + "proc_s": 0.6254915000172332, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 2, + "refine_s": 0.19175591703969985, + "app_s": 0.31302149989642203, + "proc_s": 0.6260461660567671, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 2, + "refine_s": 0.1775837909663096, + "app_s": 0.29297087504528463, + "proc_s": 0.5734995000530034, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 2, + "refine_s": 0.17005616694223136, + "app_s": 0.28450075001455843, + "proc_s": 0.5686684579122812, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 2, + "refine_s": 0.1695370830129832, + "app_s": 0.28764608304481953, + "proc_s": 0.5693334999959916, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 2, + "refine_s": 0.19134100002702326, + "app_s": 0.3283462910912931, + "proc_s": 0.6440494999988005, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 3, + "refine_s": 0.17520308401435614, + "app_s": 0.28968416701536626, + "proc_s": 0.578200374962762, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 3, + "refine_s": 0.4750512919854373, + "app_s": 0.5900074999080971, + "proc_s": 0.8736820409540087, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 3, + "refine_s": 0.288795750006102, + "app_s": 0.40174083306919783, + "proc_s": 0.6817482920596376, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 3, + "refine_s": 0.23535612493287772, + "app_s": 0.3482059590751305, + "proc_s": 0.6358073749579489, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 3, + "refine_s": 0.20853524992708117, + "app_s": 0.3211634170729667, + "proc_s": 0.6030705000739545, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 3, + "refine_s": 0.1959124580025673, + "app_s": 0.3224656250094995, + "proc_s": 0.6416633329354227, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 3, + "refine_s": 0.18451541604008526, + "app_s": 0.2979264169698581, + "proc_s": 0.5934426659950987, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 3, + "refine_s": 0.17634737503249198, + "app_s": 0.28898404201027006, + "proc_s": 0.5729512090329081, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 3, + "refine_s": 0.17051529209129512, + "app_s": 0.2849621669156477, + "proc_s": 0.5680372910574079, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 3, + "refine_s": 0.17511483293492347, + "app_s": 0.28876341704744846, + "proc_s": 0.5722132080700248, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 3, + "refine_s": 0.1650092500494793, + "app_s": 0.27618533291388303, + "proc_s": 0.5664082920411602, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 3, + "refine_s": 0.16799562505912036, + "app_s": 0.2766224159859121, + "proc_s": 0.5545856659300625, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 3, + "refine_s": 0.17051879095379263, + "app_s": 0.2819276669761166, + "proc_s": 0.557363333995454, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 3, + "refine_s": 0.17159458296373487, + "app_s": 0.28143350000027567, + "proc_s": 0.5551339579978958, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 3, + "refine_s": 0.16542450000997633, + "app_s": 0.2765694580739364, + "proc_s": 0.5483708750689402, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 3, + "refine_s": 0.1710335420211777, + "app_s": 0.2798993749311194, + "proc_s": 0.5557230000849813, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 3, + "refine_s": 0.16943445801734924, + "app_s": 0.2793417089851573, + "proc_s": 0.5450672089355066, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 3, + "refine_s": 0.16938879201188684, + "app_s": 0.2803536669816822, + "proc_s": 0.5502396658994257, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 3, + "refine_s": 0.16613716597203165, + "app_s": 0.27945745899342, + "proc_s": 0.5539847079198807, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 3, + "refine_s": 0.1717175830854103, + "app_s": 0.28441054199356586, + "proc_s": 0.57320812495891, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 3, + "refine_s": 0.16634745802730322, + "app_s": 0.27513091592118144, + "proc_s": 0.5505491660442203, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 4, + "refine_s": 0.17043170798569918, + "app_s": 0.2814099589595571, + "proc_s": 0.564733250066638, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 4, + "refine_s": 0.44479400001000613, + "app_s": 0.5554466659668833, + "proc_s": 0.8424862090032548, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 4, + "refine_s": 0.2778959999559447, + "app_s": 0.3880794580327347, + "proc_s": 0.6603147919522598, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 4, + "refine_s": 0.2295047079678625, + "app_s": 0.3448644169839099, + "proc_s": 0.6160311659332365, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 4, + "refine_s": 0.20374624989926815, + "app_s": 0.3210827079601586, + "proc_s": 0.5897077079862356, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 4, + "refine_s": 0.1907567500602454, + "app_s": 0.30371049989480525, + "proc_s": 0.5782705000601709, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 4, + "refine_s": 0.2014507909771055, + "app_s": 0.315523040946573, + "proc_s": 0.5993089159019291, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 4, + "refine_s": 0.1887431249488145, + "app_s": 0.3069827500730753, + "proc_s": 0.6090171659598127, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 4, + "refine_s": 0.17251787497662008, + "app_s": 0.3105821249773726, + "proc_s": 0.6019075829535723, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 4, + "refine_s": 0.16769645898602903, + "app_s": 0.2844127919524908, + "proc_s": 0.5623119579395279, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 4, + "refine_s": 0.16831475007347763, + "app_s": 0.28204591595567763, + "proc_s": 0.559149416978471, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 4, + "refine_s": 0.1698729998897761, + "app_s": 0.2799525000154972, + "proc_s": 0.5499549580272287, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 4, + "refine_s": 0.166304541984573, + "app_s": 0.27951879100874066, + "proc_s": 0.546718499972485, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 4, + "refine_s": 0.1676630419678986, + "app_s": 0.2803398329997435, + "proc_s": 0.5539908329956234, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 4, + "refine_s": 0.16720050002913922, + "app_s": 0.27886199997738004, + "proc_s": 0.5499701250810176, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 4, + "refine_s": 0.1662847080733627, + "app_s": 0.2762370000127703, + "proc_s": 0.5541527919704095, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 4, + "refine_s": 0.16841404198203236, + "app_s": 0.27855649997945875, + "proc_s": 0.549976332928054, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 4, + "refine_s": 0.16906779096461833, + "app_s": 0.27979908301495016, + "proc_s": 0.5496204999508336, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 4, + "refine_s": 0.1699344590306282, + "app_s": 0.2784891249611974, + "proc_s": 0.5524737909436226, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 4, + "refine_s": 0.17024420795496553, + "app_s": 0.2946323750074953, + "proc_s": 0.5732180409831926, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 4, + "refine_s": 0.16921833308879286, + "app_s": 0.2843864579917863, + "proc_s": 0.5701825419673696, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 0, + "refine_s": 0.19238600006792694, + "app_s": 0.35753199993632734, + "proc_s": 0.6326403330313042, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 0, + "refine_s": 0.48968999995850027, + "app_s": 0.6271595420548692, + "proc_s": 0.9047011669026688, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 0, + "refine_s": 0.3214694169582799, + "app_s": 0.45803362503647804, + "proc_s": 0.7398914999794215, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 0, + "refine_s": 0.2643706250237301, + "app_s": 0.4018418330233544, + "proc_s": 0.6719725410221145, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 0, + "refine_s": 0.23398637492209673, + "app_s": 0.37018945801537484, + "proc_s": 0.6428170830477029, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 0, + "refine_s": 0.21387016610242426, + "app_s": 0.3523118750890717, + "proc_s": 0.6233172080246732, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 0, + "refine_s": 0.1986855419818312, + "app_s": 0.33536324999295175, + "proc_s": 0.6072597079910338, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 0, + "refine_s": 0.1927413330413401, + "app_s": 0.32922187505755574, + "proc_s": 0.5989007080206648, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 0, + "refine_s": 0.18538308411370963, + "app_s": 0.32176995801273733, + "proc_s": 0.5906366249546409, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 0, + "refine_s": 0.18627462501171976, + "app_s": 0.3207683330401778, + "proc_s": 0.5911882079672068, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 0, + "refine_s": 0.1876247499603778, + "app_s": 0.3235794589854777, + "proc_s": 0.5977262080414221, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 0, + "refine_s": 0.1866687920410186, + "app_s": 0.3226387919858098, + "proc_s": 0.5879271670710295, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 0, + "refine_s": 0.19209545804187655, + "app_s": 0.3357595419511199, + "proc_s": 0.6123363330261782, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 0, + "refine_s": 0.19611062505282462, + "app_s": 0.34528433298692107, + "proc_s": 0.6319882499519736, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 0, + "refine_s": 0.1920762499794364, + "app_s": 0.3325181669788435, + "proc_s": 0.6111411660676822, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 0, + "refine_s": 0.19058712490368634, + "app_s": 0.32587666693143547, + "proc_s": 0.6009044169913977, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 0, + "refine_s": 0.1903862910112366, + "app_s": 0.3329671249957755, + "proc_s": 0.6086857499321923, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 0, + "refine_s": 0.18765691597945988, + "app_s": 0.32438258395995945, + "proc_s": 0.5981001249747351, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 0, + "refine_s": 0.19047341600526124, + "app_s": 0.3305880419211462, + "proc_s": 0.6026521250605583, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 0, + "refine_s": 0.18928658298682421, + "app_s": 0.3315856670960784, + "proc_s": 0.6091889999806881, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 0, + "refine_s": 0.20658700005151331, + "app_s": 0.3533112920122221, + "proc_s": 0.6389842079952359, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 1, + "refine_s": 0.18514133302960545, + "app_s": 0.3262082500150427, + "proc_s": 0.6055949159199372, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 1, + "refine_s": 0.4946204998996109, + "app_s": 0.6374718329170719, + "proc_s": 0.915803459007293, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 1, + "refine_s": 0.3366372500313446, + "app_s": 0.4834723339881748, + "proc_s": 0.7576204580254853, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 1, + "refine_s": 0.2644479590235278, + "app_s": 0.40964579104911536, + "proc_s": 0.6772183750290424, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 1, + "refine_s": 0.23679324996192008, + "app_s": 0.3746035830117762, + "proc_s": 0.6442813329631463, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 1, + "refine_s": 0.2130834589479491, + "app_s": 0.35126654198393226, + "proc_s": 0.6181506669381633, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 1, + "refine_s": 0.21857379202265292, + "app_s": 0.3649189160205424, + "proc_s": 0.6507093330146745, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 1, + "refine_s": 0.21741379098966718, + "app_s": 0.3590953330276534, + "proc_s": 0.6464698750060052, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 1, + "refine_s": 0.2224250000435859, + "app_s": 0.38107445801142603, + "proc_s": 0.6701369999209419, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 1, + "refine_s": 0.19023908290546387, + "app_s": 0.3329170420765877, + "proc_s": 0.6317549579543993, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 1, + "refine_s": 0.19387533399276435, + "app_s": 0.3325868749525398, + "proc_s": 0.6056136670522392, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 1, + "refine_s": 0.19118158402852714, + "app_s": 0.327779124956578, + "proc_s": 0.6088903329800814, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 1, + "refine_s": 0.18522358301561326, + "app_s": 0.3234542499994859, + "proc_s": 0.5957287499913946, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 1, + "refine_s": 0.18859837506897748, + "app_s": 0.3282922910293564, + "proc_s": 0.6026948749786243, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 1, + "refine_s": 0.19159529206808656, + "app_s": 0.33033779193647206, + "proc_s": 0.5999880830058828, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 1, + "refine_s": 0.18950012500863522, + "app_s": 0.32527383393608034, + "proc_s": 0.599527292069979, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 1, + "refine_s": 0.18896020797546953, + "app_s": 0.324648458044976, + "proc_s": 0.6000550839817151, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 1, + "refine_s": 0.18598570802714676, + "app_s": 0.321059082983993, + "proc_s": 0.5943147919606417, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 1, + "refine_s": 0.18811062502209097, + "app_s": 0.3238387079909444, + "proc_s": 0.5968197080073878, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 1, + "refine_s": 0.19215004099532962, + "app_s": 0.3288251250050962, + "proc_s": 0.5998674579896033, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 1, + "refine_s": 0.19249241601210088, + "app_s": 0.3321397500112653, + "proc_s": 0.6065956249367446, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 2, + "refine_s": 0.18888262496329844, + "app_s": 0.32923829194623977, + "proc_s": 0.6026233750162646, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 2, + "refine_s": 0.48560195905156434, + "app_s": 0.6206104580778629, + "proc_s": 0.900370541960001, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 2, + "refine_s": 0.3174477079883218, + "app_s": 0.45788479200564325, + "proc_s": 0.7289055839646608, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 2, + "refine_s": 0.26411350001581013, + "app_s": 0.40193704201374203, + "proc_s": 0.6767508750781417, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 2, + "refine_s": 0.24526929203420877, + "app_s": 0.38389420800376683, + "proc_s": 0.6575246249558404, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 2, + "refine_s": 0.21950575010851026, + "app_s": 0.36227200005669147, + "proc_s": 0.6516863330034539, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 2, + "refine_s": 0.2141682499786839, + "app_s": 0.35272066690959036, + "proc_s": 0.6357901250012219, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 2, + "refine_s": 0.19527770904824138, + "app_s": 0.3432294169906527, + "proc_s": 0.6251269169151783, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 2, + "refine_s": 0.19052162498701364, + "app_s": 0.33199570805300027, + "proc_s": 0.6099566670600325, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 2, + "refine_s": 0.18993291608057916, + "app_s": 0.3325765829067677, + "proc_s": 0.6137383329914883, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 2, + "refine_s": 0.18939991702791303, + "app_s": 0.3349082920467481, + "proc_s": 0.6123112080385908, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 2, + "refine_s": 0.18986716598737985, + "app_s": 0.33530712500214577, + "proc_s": 0.6126573749352247, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 2, + "refine_s": 0.18636654096189886, + "app_s": 0.3283805000828579, + "proc_s": 0.6078660830389708, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 2, + "refine_s": 0.18685370800085366, + "app_s": 0.33175833302084357, + "proc_s": 0.6149751249467954, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 2, + "refine_s": 0.19352212501689792, + "app_s": 0.3408042920054868, + "proc_s": 0.6349437920143828, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 2, + "refine_s": 0.18750683299731463, + "app_s": 0.3365209159674123, + "proc_s": 0.6166674999985844, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 2, + "refine_s": 0.20256429200526327, + "app_s": 0.34553199994843453, + "proc_s": 0.6322830829303712, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 2, + "refine_s": 0.19265500002074987, + "app_s": 0.33363725000526756, + "proc_s": 0.6215121670393273, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 2, + "refine_s": 0.18751104199327528, + "app_s": 0.3313537500798702, + "proc_s": 0.6088053749408573, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 2, + "refine_s": 0.19125712499953806, + "app_s": 0.33578920795116574, + "proc_s": 0.6119318749988452, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 2, + "refine_s": 0.19116116606164724, + "app_s": 0.3364006249466911, + "proc_s": 0.6200864169513807, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 3, + "refine_s": 0.19472899998072535, + "app_s": 0.3356369170360267, + "proc_s": 0.6206551670329645, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 3, + "refine_s": 0.49759737495332956, + "app_s": 0.6373031669063494, + "proc_s": 0.9191595409065485, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 3, + "refine_s": 0.3289162080036476, + "app_s": 0.4698062500683591, + "proc_s": 0.7628291250439361, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 3, + "refine_s": 0.27124670799821615, + "app_s": 0.4148269590223208, + "proc_s": 0.69756708398927, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 3, + "refine_s": 0.23965770797803998, + "app_s": 0.37880041694734246, + "proc_s": 0.667721499921754, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 3, + "refine_s": 0.2267900420119986, + "app_s": 0.3657768750563264, + "proc_s": 0.6414678340079263, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 3, + "refine_s": 0.21196429198607802, + "app_s": 0.3542901249602437, + "proc_s": 0.62982504197862, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 3, + "refine_s": 0.1946956660831347, + "app_s": 0.34694762504659593, + "proc_s": 0.6289512079674751, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 3, + "refine_s": 0.1980257499963045, + "app_s": 0.3383901249617338, + "proc_s": 0.6102129589999095, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 3, + "refine_s": 0.18678241595625877, + "app_s": 0.3249127499293536, + "proc_s": 0.5979976250091568, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 3, + "refine_s": 0.1913286669878289, + "app_s": 0.3287158749299124, + "proc_s": 0.6103895829292014, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 3, + "refine_s": 0.18980079202447087, + "app_s": 0.32797924999613315, + "proc_s": 0.6050189590314403, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 3, + "refine_s": 0.18834641692228615, + "app_s": 0.3283399579813704, + "proc_s": 0.6074875419726595, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 3, + "refine_s": 0.2154952500713989, + "app_s": 0.36222949996590614, + "proc_s": 0.6532233749749139, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 3, + "refine_s": 0.19424637500196695, + "app_s": 0.3368018330074847, + "proc_s": 0.6252439999952912, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 3, + "refine_s": 0.19181370793376118, + "app_s": 0.33275270892772824, + "proc_s": 0.6158019169233739, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 3, + "refine_s": 0.1945945000043139, + "app_s": 0.3386736250249669, + "proc_s": 0.6219904170138761, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 3, + "refine_s": 0.2085037500364706, + "app_s": 0.3565311669372022, + "proc_s": 0.6315797499846667, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 3, + "refine_s": 0.19230170804075897, + "app_s": 0.3431204999797046, + "proc_s": 0.6323305420810357, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 3, + "refine_s": 0.1877832500031218, + "app_s": 0.32388737506698817, + "proc_s": 0.6022061250405386, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 3, + "refine_s": 0.19930383295286447, + "app_s": 0.3447386249899864, + "proc_s": 0.6207009589998052, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 4, + "refine_s": 0.18901195900980383, + "app_s": 0.3267563749104738, + "proc_s": 0.5977969999657944, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 4, + "refine_s": 0.4957677499623969, + "app_s": 0.6322149999905378, + "proc_s": 0.9062001670245081, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 4, + "refine_s": 0.31875179102644324, + "app_s": 0.45578187494538724, + "proc_s": 0.7331795829813927, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 4, + "refine_s": 0.26254966703709215, + "app_s": 0.4001404580194503, + "proc_s": 0.6764086670009419, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 4, + "refine_s": 0.23169479193165898, + "app_s": 0.3676312080351636, + "proc_s": 0.6383747920626774, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 4, + "refine_s": 0.2147856670198962, + "app_s": 0.35485808306839317, + "proc_s": 0.6415052500087768, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 4, + "refine_s": 0.20219987502787262, + "app_s": 0.34036541706882417, + "proc_s": 0.6176535839913413, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 4, + "refine_s": 0.19217199995182455, + "app_s": 0.32786470802966505, + "proc_s": 0.5980047499760985, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 4, + "refine_s": 0.19275825005024672, + "app_s": 0.32977908302564174, + "proc_s": 0.605754749965854, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 4, + "refine_s": 0.1903827500063926, + "app_s": 0.32963179098442197, + "proc_s": 0.6124700830550864, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 4, + "refine_s": 0.18520383303985, + "app_s": 0.32285858306568116, + "proc_s": 0.600557875004597, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 4, + "refine_s": 0.18946462497115135, + "app_s": 0.32766549999359995, + "proc_s": 0.604111541993916, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 4, + "refine_s": 0.18783320800866932, + "app_s": 0.32543366693425924, + "proc_s": 0.5961517079267651, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 4, + "refine_s": 0.18557995895389467, + "app_s": 0.322525457944721, + "proc_s": 0.5984356250846758, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 4, + "refine_s": 0.19140154204797, + "app_s": 0.33596629195380956, + "proc_s": 0.6149036249844357, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 4, + "refine_s": 0.18846154201310128, + "app_s": 0.3326333329314366, + "proc_s": 0.6201060420135036, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 4, + "refine_s": 0.19003991596400738, + "app_s": 0.3300300409318879, + "proc_s": 0.6164631659630686, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 4, + "refine_s": 0.1878790829796344, + "app_s": 0.33301487495191395, + "proc_s": 0.6103745839791372, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 4, + "refine_s": 0.19009175000246614, + "app_s": 0.3344358750618994, + "proc_s": 0.6096939999843016, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 4, + "refine_s": 0.1892620000289753, + "app_s": 0.34041366702876985, + "proc_s": 0.6183671669568866, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 4, + "refine_s": 0.19518741697538644, + "app_s": 0.3509342089528218, + "proc_s": 0.6251969579607248, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + } + ], + "stats": [ + { + "domain": "quarter", + "threads": 0, + "n": 5, + "median": 0.17043170798569918, + "min": 0.1659081670222804, + "max": 0.21423237503040582 + }, + { + "domain": "quarter", + "threads": 1, + "n": 5, + "median": 0.44511950004380196, + "min": 0.4417905000736937, + "max": 0.4750512919854373 + }, + { + "domain": "quarter", + "threads": 2, + "n": 5, + "median": 0.2870638750027865, + "min": 0.2778959999559447, + "max": 0.29800820897798985 + }, + { + "domain": "quarter", + "threads": 3, + "n": 5, + "median": 0.23286774998996407, + "min": 0.2295047079678625, + "max": 0.23535612493287772 + }, + { + "domain": "quarter", + "threads": 4, + "n": 5, + "median": 0.20664154191035777, + "min": 0.20374624989926815, + "max": 0.20853524992708117 + }, + { + "domain": "quarter", + "threads": 5, + "n": 5, + "median": 0.1907567500602454, + "min": 0.18867683305870742, + "max": 0.22226624994073063 + }, + { + "domain": "quarter", + "threads": 6, + "n": 5, + "median": 0.18451541604008526, + "min": 0.17527895898092538, + "max": 0.2014507909771055 + }, + { + "domain": "quarter", + "threads": 7, + "n": 5, + "median": 0.1702411250444129, + "min": 0.16742091707419604, + "max": 0.1887431249488145 + }, + { + "domain": "quarter", + "threads": 8, + "n": 5, + "median": 0.16589645808562636, + "min": 0.16367683396674693, + "max": 0.17251787497662008 + }, + { + "domain": "quarter", + "threads": 9, + "n": 5, + "median": 0.1682234170148149, + "min": 0.16769645898602903, + "max": 0.17511483293492347 + }, + { + "domain": "quarter", + "threads": 10, + "n": 5, + "median": 0.16547187499236315, + "min": 0.16340475005563349, + "max": 0.18043537496123463 + }, + { + "domain": "quarter", + "threads": 11, + "n": 5, + "median": 0.1698729998897761, + "min": 0.16680437501054257, + "max": 0.1738517499761656 + }, + { + "domain": "quarter", + "threads": 12, + "n": 5, + "median": 0.166304541984573, + "min": 0.16524141607806087, + "max": 0.1811390840448439 + }, + { + "domain": "quarter", + "threads": 13, + "n": 5, + "median": 0.1676630419678986, + "min": 0.16612291696947068, + "max": 0.17800612503197044 + }, + { + "domain": "quarter", + "threads": 14, + "n": 5, + "median": 0.17732512496877462, + "min": 0.16542450000997633, + "max": 0.17950274993199855 + }, + { + "domain": "quarter", + "threads": 15, + "n": 5, + "median": 0.16909987502731383, + "min": 0.1662847080733627, + "max": 0.17897179094143212 + }, + { + "domain": "quarter", + "threads": 16, + "n": 5, + "median": 0.16943445801734924, + "min": 0.166095707914792, + "max": 0.19175591703969985 + }, + { + "domain": "quarter", + "threads": 17, + "n": 5, + "median": 0.16906779096461833, + "min": 0.1620812499895692, + "max": 0.1775837909663096 + }, + { + "domain": "quarter", + "threads": 18, + "n": 5, + "median": 0.1699344590306282, + "min": 0.16486966598313302, + "max": 0.17140387499239296 + }, + { + "domain": "quarter", + "threads": 19, + "n": 5, + "median": 0.17024420795496553, + "min": 0.1661492499988526, + "max": 0.17785729200113565 + }, + { + "domain": "quarter", + "threads": 20, + "n": 5, + "median": 0.1672601669561118, + "min": 0.16634745802730322, + "max": 0.19134100002702326 + }, + { + "domain": "tile", + "threads": 0, + "n": 5, + "median": 0.18901195900980383, + "min": 0.18514133302960545, + "max": 0.19472899998072535 + }, + { + "domain": "tile", + "threads": 1, + "n": 5, + "median": 0.4946204998996109, + "min": 0.48560195905156434, + "max": 0.49759737495332956 + }, + { + "domain": "tile", + "threads": 2, + "n": 5, + "median": 0.3214694169582799, + "min": 0.3174477079883218, + "max": 0.3366372500313446 + }, + { + "domain": "tile", + "threads": 3, + "n": 5, + "median": 0.2643706250237301, + "min": 0.26254966703709215, + "max": 0.27124670799821615 + }, + { + "domain": "tile", + "threads": 4, + "n": 5, + "median": 0.23679324996192008, + "min": 0.23169479193165898, + "max": 0.24526929203420877 + }, + { + "domain": "tile", + "threads": 5, + "n": 5, + "median": 0.2147856670198962, + "min": 0.2130834589479491, + "max": 0.2267900420119986 + }, + { + "domain": "tile", + "threads": 6, + "n": 5, + "median": 0.21196429198607802, + "min": 0.1986855419818312, + "max": 0.21857379202265292 + }, + { + "domain": "tile", + "threads": 7, + "n": 5, + "median": 0.1946956660831347, + "min": 0.19217199995182455, + "max": 0.21741379098966718 + }, + { + "domain": "tile", + "threads": 8, + "n": 5, + "median": 0.19275825005024672, + "min": 0.18538308411370963, + "max": 0.2224250000435859 + }, + { + "domain": "tile", + "threads": 9, + "n": 5, + "median": 0.18993291608057916, + "min": 0.18627462501171976, + "max": 0.1903827500063926 + }, + { + "domain": "tile", + "threads": 10, + "n": 5, + "median": 0.18939991702791303, + "min": 0.18520383303985, + "max": 0.19387533399276435 + }, + { + "domain": "tile", + "threads": 11, + "n": 5, + "median": 0.18980079202447087, + "min": 0.1866687920410186, + "max": 0.19118158402852714 + }, + { + "domain": "tile", + "threads": 12, + "n": 5, + "median": 0.18783320800866932, + "min": 0.18522358301561326, + "max": 0.19209545804187655 + }, + { + "domain": "tile", + "threads": 13, + "n": 5, + "median": 0.18859837506897748, + "min": 0.18557995895389467, + "max": 0.2154952500713989 + }, + { + "domain": "tile", + "threads": 14, + "n": 5, + "median": 0.1920762499794364, + "min": 0.19140154204797, + "max": 0.19424637500196695 + }, + { + "domain": "tile", + "threads": 15, + "n": 5, + "median": 0.18950012500863522, + "min": 0.18750683299731463, + "max": 0.19181370793376118 + }, + { + "domain": "tile", + "threads": 16, + "n": 5, + "median": 0.1903862910112366, + "min": 0.18896020797546953, + "max": 0.20256429200526327 + }, + { + "domain": "tile", + "threads": 17, + "n": 5, + "median": 0.1878790829796344, + "min": 0.18598570802714676, + "max": 0.2085037500364706 + }, + { + "domain": "tile", + "threads": 18, + "n": 5, + "median": 0.19009175000246614, + "min": 0.18751104199327528, + "max": 0.19230170804075897 + }, + { + "domain": "tile", + "threads": 19, + "n": 5, + "median": 0.18928658298682421, + "min": 0.1877832500031218, + "max": 0.19215004099532962 + }, + { + "domain": "tile", + "threads": 20, + "n": 5, + "median": 0.19518741697538644, + "min": 0.19116116606164724, + "max": 0.20658700005151331 + } + ], + "quality": { + "quarter": { + "worst_angle": 0.3955267116350698, + "angle_median": 45.0, + "share_under_1": 0.000028023175165862168, + "max_degree": 18, + "within_tolerance": true, + "delaunay_checked": 641791, + "delaunay_ambiguous": 80136, + "delaunay_violations": 0, + "mesh_sha256": "ccebf96a86c6c5e244e4a0281919de4e866fcfe789b66024a290ac2af33771a1" + }, + "tile": { + "worst_angle": 0.6295986084102668, + "angle_median": 45.0, + "share_under_1": 2.1538262723728703e-6, + "max_degree": 74, + "within_tolerance": true, + "delaunay_checked": 692056, + "delaunay_ambiguous": 94469, + "delaunay_violations": 0, + "mesh_sha256": "11741a81adfa17b34a1ea56875ec9e791414d17625eb1c58305e7c0cf10e005c" + } + }, + "accept_quality": false, + "threshold_pct": 5.0, + "verdict": [ + "ACCEPTED" + ] +} diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/16b12/README.md b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12/README.md new file mode 100644 index 00000000..a6f41d8e --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12/README.md @@ -0,0 +1,79 @@ +# Benchmark run `16b12-acceptance/16b12` + +Generated by `tools/bench.py`. + +## Verdict + +- ACCEPTED + +Time threshold: 5.0 %. + +## Method + +- Started 2026-09-28T23:38:27.707746+02:00; tree `5f3a52291ef7eebe7092f0b0f0c4da02ec77b879` (dirty); bench.py blob `77765b181714c31714da476c2335c799c6a84021`. Build: Release, AppleClang 21.0.0.21000101, `-O3 -DNDEBUG`, _core sha256 `190587e7ba0ea96a74a8621767d7d20257c3968126a710db1364e1195afb27d2`. +- Apple M1 Max, 8 P + 2 E cores, 32 GiB, macOS 27.0, Python 3.14.7, numpy 2.5.3. +- Power **battery** (81%), `pmset -g batt` before and after (in run.json). +- DEM `/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif` (sha256 `aabd0cbc28471ce8593e4c278381811bec3fbf4e1194058b3b4888d00c3af575`), tolerance 1.0, extra mesh args ``; domains: `quarter` (/Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-26/quarter.geojson), `tile` (the whole tile). +- One child per sample, `/Users/skavhaug/projects/rasputin/.venv/bin/python /Users/skavhaug/projects/rasputin/tools/bench.py _child --pkg /Users/skavhaug/projects/rasputin/build-bench/pkg --threads -- mesh --dem /Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif --tolerance 1 --out --binary`, repeats interleaved over thread counts; t=0 is the CLI's default, other counts are forced into `refine`. Quality: one `--ascii` run per domain at t=0, kept out of the repository; rerun the child with `--ascii --out PATH` to regenerate it. + +## `quarter` + +| threads | n | median s | min s | max s | +|---:|---:|---:|---:|---:| +| 0 | 5 | 0.1671 | 0.1639 | 0.1711 | +| 1 | 5 | 0.4154 | 0.4062 | 0.4423 | +| 2 | 5 | 0.2670 | 0.2642 | 0.3000 | +| 3 | 5 | 0.2207 | 0.2167 | 0.2265 | +| 4 | 5 | 0.1995 | 0.1973 | 0.2171 | +| 5 | 5 | 0.1838 | 0.1831 | 0.1908 | +| 6 | 5 | 0.1765 | 0.1749 | 0.1886 | +| 7 | 5 | 0.1671 | 0.1653 | 0.1713 | +| 8 | 5 | 0.1626 | 0.1601 | 0.1731 | +| 9 | 5 | 0.1644 | 0.1593 | 0.1654 | +| 10 | 5 | 0.1639 | 0.1599 | 0.1645 | +| 11 | 5 | 0.1635 | 0.1607 | 0.1643 | +| 12 | 5 | 0.1647 | 0.1621 | 0.1666 | +| 13 | 5 | 0.1643 | 0.1634 | 0.1765 | +| 14 | 5 | 0.1628 | 0.1618 | 0.1649 | +| 15 | 5 | 0.1641 | 0.1598 | 0.1656 | +| 16 | 5 | 0.1627 | 0.1596 | 0.1729 | +| 17 | 5 | 0.1649 | 0.1601 | 0.1672 | +| 18 | 5 | 0.1661 | 0.1638 | 0.1826 | +| 19 | 5 | 0.1644 | 0.1617 | 0.1886 | +| 20 | 5 | 0.1642 | 0.1609 | 0.1787 | + +Ceiling: 2.53x at 20 threads over 1, best 2.56x at 8; 2026-09-26: about 2.2x, flat from about 7. + +Quality: worst angle 0.3955 deg, median 45.00, share under 1 deg 0.00003, max degree 18, within tolerance True, Delaunay 0 violations of 641791 edges (80136 decided exactly), mesh sha256 `ccebf96a86c6c5e244e4a0281919de4e866fcfe789b66024a290ac2af33771a1`. + +## `tile` + +| threads | n | median s | min s | max s | +|---:|---:|---:|---:|---:| +| 0 | 5 | 0.1873 | 0.1843 | 0.2361 | +| 1 | 5 | 0.4714 | 0.4596 | 0.4886 | +| 2 | 5 | 0.3006 | 0.2995 | 0.3159 | +| 3 | 5 | 0.2519 | 0.2499 | 0.2592 | +| 4 | 5 | 0.2288 | 0.2262 | 0.2308 | +| 5 | 5 | 0.2097 | 0.2088 | 0.2149 | +| 6 | 5 | 0.1998 | 0.1982 | 0.2059 | +| 7 | 5 | 0.1907 | 0.1895 | 0.2060 | +| 8 | 5 | 0.1854 | 0.1849 | 0.1864 | +| 9 | 5 | 0.1848 | 0.1815 | 0.1867 | +| 10 | 5 | 0.1846 | 0.1823 | 0.1875 | +| 11 | 5 | 0.1853 | 0.1845 | 0.1869 | +| 12 | 5 | 0.1846 | 0.1816 | 0.1850 | +| 13 | 5 | 0.1879 | 0.1831 | 0.2002 | +| 14 | 5 | 0.1903 | 0.1860 | 0.2139 | +| 15 | 5 | 0.1839 | 0.1832 | 0.1925 | +| 16 | 5 | 0.1880 | 0.1839 | 0.1902 | +| 17 | 5 | 0.1851 | 0.1814 | 0.1871 | +| 18 | 5 | 0.1847 | 0.1838 | 0.1900 | +| 19 | 5 | 0.1861 | 0.1815 | 0.1882 | +| 20 | 5 | 0.1868 | 0.1827 | 0.1921 | + +Ceiling: 2.52x at 20 threads over 1, best 2.56x at 15; 2026-09-26: about 2.2x, flat from about 7. + +Quality: worst angle 0.6296 deg, median 45.00, share under 1 deg 0.00000, max degree 74, within tolerance True, Delaunay 0 violations of 692056 edges (94469 decided exactly), mesh sha256 `11741a81adfa17b34a1ea56875ec9e791414d17625eb1c58305e7c0cf10e005c`. + + diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/16b12/raw.tsv b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12/raw.tsv new file mode 100644 index 00000000..b2d7a25d --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12/raw.tsv @@ -0,0 +1,210 @@ +quarter 0 0 0.167326 battery +quarter 1 0 0.415417 battery +quarter 2 0 0.265177 battery +quarter 3 0 0.226489 battery +quarter 4 0 0.197349 battery +quarter 5 0 0.183142 battery +quarter 6 0 0.188645 battery +quarter 7 0 0.171319 battery +quarter 8 0 0.173066 battery +quarter 9 0 0.164034 battery +quarter 10 0 0.163470 battery +quarter 11 0 0.163490 battery +quarter 12 0 0.164678 battery +quarter 13 0 0.163771 battery +quarter 14 0 0.162653 battery +quarter 15 0 0.163416 battery +quarter 16 0 0.162685 battery +quarter 17 0 0.165087 battery +quarter 18 0 0.170168 battery +quarter 19 0 0.188634 battery +quarter 20 0 0.178655 battery +quarter 0 1 0.165278 battery +quarter 1 1 0.442350 battery +quarter 2 1 0.300006 battery +quarter 3 1 0.218943 battery +quarter 4 1 0.204569 battery +quarter 5 1 0.183795 battery +quarter 6 1 0.175433 battery +quarter 7 1 0.168061 battery +quarter 8 1 0.163941 battery +quarter 9 1 0.164480 battery +quarter 10 1 0.164453 battery +quarter 11 1 0.160741 battery +quarter 12 1 0.166627 battery +quarter 13 1 0.176494 battery +quarter 14 1 0.161771 battery +quarter 15 1 0.164649 battery +quarter 16 1 0.172911 battery +quarter 17 1 0.160960 battery +quarter 18 1 0.182591 battery +quarter 19 1 0.175084 battery +quarter 20 1 0.174905 battery +quarter 0 2 0.171097 battery +quarter 1 2 0.425940 battery +quarter 2 2 0.266984 battery +quarter 3 2 0.226321 battery +quarter 4 2 0.217149 battery +quarter 5 2 0.190834 battery +quarter 6 2 0.176529 battery +quarter 7 2 0.167138 battery +quarter 8 2 0.160121 battery +quarter 9 2 0.165392 battery +quarter 10 2 0.163917 battery +quarter 11 2 0.161603 battery +quarter 12 2 0.162090 battery +quarter 13 2 0.164323 battery +quarter 14 2 0.164916 battery +quarter 15 2 0.164132 battery +quarter 16 2 0.165727 battery +quarter 17 2 0.167181 battery +quarter 18 2 0.166062 battery +quarter 19 2 0.161692 battery +quarter 20 2 0.164248 battery +quarter 0 3 0.167059 battery +quarter 1 3 0.409835 battery +quarter 2 3 0.264151 battery +quarter 3 3 0.216670 battery +quarter 4 3 0.199532 battery +quarter 5 3 0.183236 battery +quarter 6 3 0.177757 battery +quarter 7 3 0.166901 battery +quarter 8 3 0.162572 battery +quarter 9 3 0.164445 battery +quarter 10 3 0.164356 battery +quarter 11 3 0.164034 battery +quarter 12 3 0.162323 battery +quarter 13 3 0.166714 battery +quarter 14 3 0.162846 battery +quarter 15 3 0.165565 battery +quarter 16 3 0.159636 battery +quarter 17 3 0.164919 battery +quarter 18 3 0.163807 battery +quarter 19 3 0.164382 battery +quarter 20 3 0.163556 battery +quarter 0 4 0.163900 battery +quarter 1 4 0.406228 battery +quarter 2 4 0.269824 battery +quarter 3 4 0.220737 battery +quarter 4 4 0.199336 battery +quarter 5 4 0.184310 battery +quarter 6 4 0.174907 battery +quarter 7 4 0.165337 battery +quarter 8 4 0.161193 battery +quarter 9 4 0.159297 battery +quarter 10 4 0.159855 battery +quarter 11 4 0.164256 battery +quarter 12 4 0.166492 battery +quarter 13 4 0.163373 battery +quarter 14 4 0.163307 battery +quarter 15 4 0.159799 battery +quarter 16 4 0.161911 battery +quarter 17 4 0.160065 battery +quarter 18 4 0.166128 battery +quarter 19 4 0.163934 battery +quarter 20 4 0.160950 battery +tile 0 0 0.187300 battery +tile 1 0 0.471372 battery +tile 2 0 0.305160 battery +tile 3 0 0.251779 battery +tile 4 0 0.228795 battery +tile 5 0 0.209690 battery +tile 6 0 0.199195 battery +tile 7 0 0.193901 battery +tile 8 0 0.185764 battery +tile 9 0 0.186710 battery +tile 10 0 0.184647 battery +tile 11 0 0.186031 battery +tile 12 0 0.184973 battery +tile 13 0 0.191181 battery +tile 14 0 0.190343 battery +tile 15 0 0.184570 battery +tile 16 0 0.183854 battery +tile 17 0 0.185076 battery +tile 18 0 0.183951 battery +tile 19 0 0.188216 battery +tile 20 0 0.184946 battery +tile 0 1 0.186947 battery +tile 1 1 0.462703 battery +tile 2 1 0.299545 battery +tile 3 1 0.249944 battery +tile 4 1 0.230044 battery +tile 5 1 0.209242 battery +tile 6 1 0.198160 battery +tile 7 1 0.189491 battery +tile 8 1 0.185352 battery +tile 9 1 0.181458 battery +tile 10 1 0.182325 battery +tile 11 1 0.185308 battery +tile 12 1 0.183399 battery +tile 13 1 0.200216 battery +tile 14 1 0.213915 battery +tile 15 1 0.183555 battery +tile 16 1 0.190188 battery +tile 17 1 0.181352 battery +tile 18 1 0.184692 battery +tile 19 1 0.181496 battery +tile 20 1 0.186782 battery +tile 0 2 0.236050 battery +tile 1 2 0.475870 battery +tile 2 2 0.300611 battery +tile 3 2 0.254191 battery +tile 4 2 0.230780 battery +tile 5 2 0.210273 battery +tile 6 2 0.199823 battery +tile 7 2 0.190656 battery +tile 8 2 0.184894 battery +tile 9 2 0.185597 battery +tile 10 2 0.183330 battery +tile 11 2 0.184527 battery +tile 12 2 0.184590 battery +tile 13 2 0.183882 battery +tile 14 2 0.187132 battery +tile 15 2 0.183894 battery +tile 16 2 0.187041 battery +tile 17 2 0.187119 battery +tile 18 2 0.186539 battery +tile 19 2 0.186052 battery +tile 20 2 0.182737 battery +tile 0 3 0.184282 battery +tile 1 3 0.459596 battery +tile 2 3 0.315935 battery +tile 3 3 0.251911 battery +tile 4 3 0.228035 battery +tile 5 3 0.208781 battery +tile 6 3 0.205927 battery +tile 7 3 0.206016 battery +tile 8 3 0.184998 battery +tile 9 3 0.184790 battery +tile 10 3 0.186055 battery +tile 11 3 0.186929 battery +tile 12 3 0.181611 battery +tile 13 3 0.187884 battery +tile 14 3 0.194079 battery +tile 15 3 0.183207 battery +tile 16 3 0.189096 battery +tile 17 3 0.181617 battery +tile 18 3 0.190037 battery +tile 19 3 0.181789 battery +tile 20 3 0.190279 battery +tile 0 4 0.202642 battery +tile 1 4 0.488570 battery +tile 2 4 0.300165 battery +tile 3 4 0.259202 battery +tile 4 4 0.226193 battery +tile 5 4 0.214936 battery +tile 6 4 0.205777 battery +tile 7 4 0.190054 battery +tile 8 4 0.186368 battery +tile 9 4 0.183841 battery +tile 10 4 0.187527 battery +tile 11 4 0.184524 battery +tile 12 4 0.185047 battery +tile 13 4 0.183108 battery +tile 14 4 0.186040 battery +tile 15 4 0.192547 battery +tile 16 4 0.187999 battery +tile 17 4 0.186356 battery +tile 18 4 0.183840 battery +tile 19 4 0.187327 battery +tile 20 4 0.192085 battery diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/16b12/run.json b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12/run.json new file mode 100644 index 00000000..57a23229 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/16b12/run.json @@ -0,0 +1,2955 @@ +{ + "label": "16b12-acceptance/16b12", + "started": "2026-09-28T23:38:27.707746+02:00", + "tree": { + "commit": "5f3a52291ef7eebe7092f0b0f0c4da02ec77b879", + "dirty": true + }, + "bench_blob": "77765b181714c31714da476c2335c799c6a84021", + "child_argv": [ + "/Users/skavhaug/projects/rasputin/.venv/bin/python", + "/Users/skavhaug/projects/rasputin/tools/bench.py", + "_child", + "--pkg", + "/Users/skavhaug/projects/rasputin/build-bench/pkg", + "--threads", + "", + "--", + "mesh", + "--dem", + "/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif", + "--tolerance", + "1", + "--out", + "", + "--binary" + ], + "build": { + "no_build": false, + "type": "Release", + "cxx_flags_release": "-O3 -DNDEBUG", + "compiler": "AppleClang 21.0.0.21000101", + "so_sha256": "190587e7ba0ea96a74a8621767d7d20257c3968126a710db1364e1195afb27d2" + }, + "machine": { + "cpu_brand": "Apple M1 Max", + "p_cores": 8, + "e_cores": 2, + "memory_bytes": 34359738368, + "macos": "27.0", + "python": "3.14.7", + "numpy": "2.5.3" + }, + "power": { + "state": "battery", + "percent": 81, + "raw": "Now drawing from 'Battery Power'\n -InternalBattery-0 (id=7929955)\t82%; discharging; 4:23 remaining present: true\n--- after ---\nNow drawing from 'Battery Power'\n -InternalBattery-0 (id=7929955)\t81%; discharging; 3:53 remaining present: true\n" + }, + "inputs": { + "dem": "/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif", + "dem_sha256": "aabd0cbc28471ce8593e4c278381811bec3fbf4e1194058b3b4888d00c3af575", + "domains": [ + { + "name": "quarter", + "path": "/Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-26/quarter.geojson", + "sha256": "b7f7bbe96848383c77863ce29ee28c45bce087601a1738ee82ddb4ffb8279d1e" + }, + { + "name": "tile", + "path": null, + "sha256": null + } + ], + "tolerance": 1.0, + "extra_args": [] + }, + "samples": [ + { + "domain": "quarter", + "threads": 0, + "repeat": 0, + "refine_s": 0.1673264579148963, + "app_s": 0.33441529201809317, + "proc_s": 0.9879066660068929, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 0, + "refine_s": 0.41541716700885445, + "app_s": 0.5279197080526501, + "proc_s": 0.7923321250127628, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 0, + "refine_s": 0.2651770419906825, + "app_s": 0.3745087500428781, + "proc_s": 0.6365998749388382, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 0, + "refine_s": 0.22648920898791403, + "app_s": 0.34116812504362315, + "proc_s": 0.6149391670478508, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 0, + "refine_s": 0.19734941702336073, + "app_s": 0.3173289590049535, + "proc_s": 0.5777287910459563, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 0, + "refine_s": 0.1831420409725979, + "app_s": 0.30594158300664276, + "proc_s": 0.5769261659588665, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 0, + "refine_s": 0.18864499998744577, + "app_s": 0.3063829579623416, + "proc_s": 0.5640387090388685, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 0, + "refine_s": 0.17131904093548656, + "app_s": 0.30543691699858755, + "proc_s": 0.5810566670261323, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 0, + "refine_s": 0.17306566599290818, + "app_s": 0.30226224998477846, + "proc_s": 0.5944960420019925, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 0, + "refine_s": 0.16403420793358237, + "app_s": 0.27543620800133795, + "proc_s": 0.5451707910979167, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 0, + "refine_s": 0.1634700408903882, + "app_s": 0.27541591599583626, + "proc_s": 0.5338567090220749, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 0, + "refine_s": 0.16348979203030467, + "app_s": 0.2715604999102652, + "proc_s": 0.5392016660189256, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 0, + "refine_s": 0.16467820899561048, + "app_s": 0.2767009580275044, + "proc_s": 0.5377669590525329, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 0, + "refine_s": 0.16377087496221066, + "app_s": 0.2711490410147235, + "proc_s": 0.5330782909877598, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 0, + "refine_s": 0.16265295795165002, + "app_s": 0.27082762494683266, + "proc_s": 0.5377847090130672, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 0, + "refine_s": 0.1634159169625491, + "app_s": 0.2778086250182241, + "proc_s": 0.554819667013362, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 0, + "refine_s": 0.16268541594035923, + "app_s": 0.2728086670394987, + "proc_s": 0.5468850419856608, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 0, + "refine_s": 0.16508683399297297, + "app_s": 0.2747216249117628, + "proc_s": 0.5499704169342294, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 0, + "refine_s": 0.1701683329883963, + "app_s": 0.28600587497930974, + "proc_s": 0.5619782500434667, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 0, + "refine_s": 0.1886337079340592, + "app_s": 0.4005353340180591, + "proc_s": 0.6825795830227435, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 0, + "refine_s": 0.17865483299829066, + "app_s": 0.3211903750197962, + "proc_s": 0.6098922080127522, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 1, + "refine_s": 0.1652784589678049, + "app_s": 0.28289029200095683, + "proc_s": 0.5589969170978293, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 1, + "refine_s": 0.4423496250528842, + "app_s": 0.5697415409376845, + "proc_s": 0.845495417015627, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 1, + "refine_s": 0.300005582976155, + "app_s": 0.4218387500150129, + "proc_s": 0.6985977500444278, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 1, + "refine_s": 0.21894262498244643, + "app_s": 0.3323957499815151, + "proc_s": 0.6036115830065683, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 1, + "refine_s": 0.20456933393143117, + "app_s": 0.3156201250385493, + "proc_s": 0.5759304580278695, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 1, + "refine_s": 0.1837952920468524, + "app_s": 0.2967884170357138, + "proc_s": 0.5589132090099156, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 1, + "refine_s": 0.17543312499765307, + "app_s": 0.293572541908361, + "proc_s": 0.552372167003341, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 1, + "refine_s": 0.16806100006215274, + "app_s": 0.2844498329795897, + "proc_s": 0.547059707925655, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 1, + "refine_s": 0.16394141700584441, + "app_s": 0.28121387504506856, + "proc_s": 0.5475228329887614, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 1, + "refine_s": 0.1644799580099061, + "app_s": 0.27777916693594307, + "proc_s": 0.5449773750733584, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 1, + "refine_s": 0.1644532090285793, + "app_s": 0.2769822080153972, + "proc_s": 0.5455312499543652, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 1, + "refine_s": 0.16074087494052947, + "app_s": 0.27570441691204906, + "proc_s": 0.5417753750225529, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 1, + "refine_s": 0.16662683303002268, + "app_s": 0.29886245797388256, + "proc_s": 0.5616434999974445, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 1, + "refine_s": 0.176494334009476, + "app_s": 0.31039383297320455, + "proc_s": 0.5988415000028908, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 1, + "refine_s": 0.16177112504374236, + "app_s": 0.28573829191736877, + "proc_s": 0.5640012079384178, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 1, + "refine_s": 0.16464937501586974, + "app_s": 0.277371707954444, + "proc_s": 0.541926332982257, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 1, + "refine_s": 0.1729111250024289, + "app_s": 0.293984790914692, + "proc_s": 0.5613282079575583, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 1, + "refine_s": 0.16096049989573658, + "app_s": 0.27633274998515844, + "proc_s": 0.5358986249193549, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 1, + "refine_s": 0.18259095901157707, + "app_s": 0.326571625075303, + "proc_s": 0.608008167007938, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 1, + "refine_s": 0.17508366703987122, + "app_s": 0.3019619589904323, + "proc_s": 0.5669793339911848, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 1, + "refine_s": 0.17490524996537715, + "app_s": 0.2918580840341747, + "proc_s": 0.55544662498869, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 2, + "refine_s": 0.17109741596505046, + "app_s": 0.282265790970996, + "proc_s": 0.5475910410750657, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 2, + "refine_s": 0.4259397080168128, + "app_s": 0.5355596670415252, + "proc_s": 0.7981276670470834, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 2, + "refine_s": 0.2669837500434369, + "app_s": 0.3743034170474857, + "proc_s": 0.6361179170198739, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 2, + "refine_s": 0.22632125008385628, + "app_s": 0.33542324998416007, + "proc_s": 0.5971240000799298, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 2, + "refine_s": 0.2171492079505697, + "app_s": 0.33915516699198633, + "proc_s": 0.6218404999235645, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 2, + "refine_s": 0.19083391688764095, + "app_s": 0.3052463330095634, + "proc_s": 0.578414291027002, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 2, + "refine_s": 0.17652912496123463, + "app_s": 0.292001917026937, + "proc_s": 0.5671927920775488, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 2, + "refine_s": 0.16713825007900596, + "app_s": 0.2778686659876257, + "proc_s": 0.5432816250249743, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 2, + "refine_s": 0.16012124996632338, + "app_s": 0.2721178330248222, + "proc_s": 0.5405379589647055, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 2, + "refine_s": 0.1653916669311002, + "app_s": 0.2746927500702441, + "proc_s": 0.5435481669846922, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 2, + "refine_s": 0.1639172499999404, + "app_s": 0.2731366250663996, + "proc_s": 0.5385729999979958, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 2, + "refine_s": 0.1616034999024123, + "app_s": 0.2698932089842856, + "proc_s": 0.5288884580368176, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 2, + "refine_s": 0.16208991699386388, + "app_s": 0.2719509999733418, + "proc_s": 0.5336377499625087, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 2, + "refine_s": 0.16432300000451505, + "app_s": 0.2752513330196962, + "proc_s": 0.5345375419128686, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 2, + "refine_s": 0.16491599997971207, + "app_s": 0.275117083103396, + "proc_s": 0.5338056250475347, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 2, + "refine_s": 0.16413183300755918, + "app_s": 0.27403050009161234, + "proc_s": 0.5329505000263453, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 2, + "refine_s": 0.16572679206728935, + "app_s": 0.2739870409714058, + "proc_s": 0.5342949579935521, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 2, + "refine_s": 0.1671810420230031, + "app_s": 0.2778154999250546, + "proc_s": 0.5402292500948533, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 2, + "refine_s": 0.1660619160393253, + "app_s": 0.2730787080945447, + "proc_s": 0.5332844159565866, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 2, + "refine_s": 0.16169241699390113, + "app_s": 0.26726216706447303, + "proc_s": 0.5319925830699503, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 2, + "refine_s": 0.16424787510186434, + "app_s": 0.27187658299226314, + "proc_s": 0.5297798339743167, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 3, + "refine_s": 0.16705883294343948, + "app_s": 0.27533762506209314, + "proc_s": 0.5407949580112472, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 3, + "refine_s": 0.4098349999403581, + "app_s": 0.5206662920536473, + "proc_s": 0.7789270830107853, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 3, + "refine_s": 0.2641511249821633, + "app_s": 0.3719803749118, + "proc_s": 0.6435245419852436, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 3, + "refine_s": 0.21666995796840638, + "app_s": 0.32519254100043327, + "proc_s": 0.5910262920660898, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 3, + "refine_s": 0.19953166705090553, + "app_s": 0.308893125038594, + "proc_s": 0.5742054580477998, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 3, + "refine_s": 0.18323566706385463, + "app_s": 0.29038987506646663, + "proc_s": 0.5527012079255655, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 3, + "refine_s": 0.17775695899035782, + "app_s": 0.28676658403128386, + "proc_s": 0.554296791087836, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 3, + "refine_s": 0.1669005419826135, + "app_s": 0.27415774995461106, + "proc_s": 0.5432057500584051, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 3, + "refine_s": 0.16257241694256663, + "app_s": 0.2792327080387622, + "proc_s": 0.5417281250702217, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 3, + "refine_s": 0.16444466600660235, + "app_s": 0.2811031669843942, + "proc_s": 0.5415238750865683, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 3, + "refine_s": 0.1643555830232799, + "app_s": 0.2863087080186233, + "proc_s": 0.5501139160478488, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 3, + "refine_s": 0.16403441596776247, + "app_s": 0.27788791700731963, + "proc_s": 0.5403025830164552, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 3, + "refine_s": 0.1623227499658242, + "app_s": 0.27376591693609953, + "proc_s": 0.5340978750027716, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 3, + "refine_s": 0.16671350004617125, + "app_s": 0.2835245829774067, + "proc_s": 0.5457524589728564, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 3, + "refine_s": 0.16284570889547467, + "app_s": 0.27070212503895164, + "proc_s": 0.5330393329495564, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 3, + "refine_s": 0.1655652499757707, + "app_s": 0.2739523749332875, + "proc_s": 0.5352199580520391, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 3, + "refine_s": 0.15963570796884596, + "app_s": 0.2668719158973545, + "proc_s": 0.5260544159682468, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 3, + "refine_s": 0.16491920896805823, + "app_s": 0.27644241706002504, + "proc_s": 0.5339805830735713, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 3, + "refine_s": 0.1638068340253085, + "app_s": 0.27073104097507894, + "proc_s": 0.533175416989252, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 3, + "refine_s": 0.16438191605266184, + "app_s": 0.273354584001936, + "proc_s": 0.5334044590126723, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 3, + "refine_s": 0.16355583304539323, + "app_s": 0.2717748340219259, + "proc_s": 0.5369621670106426, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 4, + "refine_s": 0.16390000004321337, + "app_s": 0.27280816703569144, + "proc_s": 0.532449834048748, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 4, + "refine_s": 0.4062277079792693, + "app_s": 0.5164903750410303, + "proc_s": 0.7752639999380335, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 4, + "refine_s": 0.2698244999628514, + "app_s": 0.37768150004558265, + "proc_s": 0.6399135839892551, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 4, + "refine_s": 0.22073708404786885, + "app_s": 0.3282510410062969, + "proc_s": 0.5873920830199495, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 4, + "refine_s": 0.19933562504593283, + "app_s": 0.30947270803153515, + "proc_s": 0.5668169170385227, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 4, + "refine_s": 0.18430975009687245, + "app_s": 0.30101695808116347, + "proc_s": 0.5635089999996126, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 4, + "refine_s": 0.17490666592493653, + "app_s": 0.2815217919414863, + "proc_s": 0.5465692080324516, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 4, + "refine_s": 0.1653371249558404, + "app_s": 0.2775124160107225, + "proc_s": 0.5393453750293702, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 4, + "refine_s": 0.16119312506634742, + "app_s": 0.2680337920319289, + "proc_s": 0.5338063749950379, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 4, + "refine_s": 0.1592967080650851, + "app_s": 0.27224800002295524, + "proc_s": 0.5388182499445975, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 4, + "refine_s": 0.1598547080066055, + "app_s": 0.2769226669333875, + "proc_s": 0.5560065410099924, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 4, + "refine_s": 0.16425625002011657, + "app_s": 0.27888545801397413, + "proc_s": 0.5618286250391975, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 4, + "refine_s": 0.16649162501562387, + "app_s": 0.27426879201084375, + "proc_s": 0.5356599579099566, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 4, + "refine_s": 0.16337316599674523, + "app_s": 0.27089500008150935, + "proc_s": 0.5393680409761146, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 4, + "refine_s": 0.16330699995160103, + "app_s": 0.27004741702694446, + "proc_s": 0.5259134579682723, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 4, + "refine_s": 0.1597987919813022, + "app_s": 0.26766425010282546, + "proc_s": 0.5273871660465375, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 4, + "refine_s": 0.16191104089375585, + "app_s": 0.27291499997954816, + "proc_s": 0.5408988340059295, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 4, + "refine_s": 0.160064542084001, + "app_s": 0.2663598330691457, + "proc_s": 0.5254820840200409, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 4, + "refine_s": 0.16612770897336304, + "app_s": 0.27853249991312623, + "proc_s": 0.536398958065547, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 4, + "refine_s": 0.1639335829531774, + "app_s": 0.273055208963342, + "proc_s": 0.5298901250353083, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 4, + "refine_s": 0.16094958398025483, + "app_s": 0.26938862493261695, + "proc_s": 0.5378650840139017, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 0, + "refine_s": 0.18729979102499783, + "app_s": 0.3277711659902707, + "proc_s": 0.5967462919652462, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 0, + "refine_s": 0.4713721249718219, + "app_s": 0.6072412090143189, + "proc_s": 0.869433999992907, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 0, + "refine_s": 0.3051595409633592, + "app_s": 0.43955870799254626, + "proc_s": 0.6977719999849796, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 0, + "refine_s": 0.251779375015758, + "app_s": 0.39247475005686283, + "proc_s": 0.6549146670149639, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 0, + "refine_s": 0.22879516694229096, + "app_s": 0.3691573329269886, + "proc_s": 0.6276022910606116, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 0, + "refine_s": 0.2096901669865474, + "app_s": 0.3482443339889869, + "proc_s": 0.6087203749921173, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 0, + "refine_s": 0.1991952919634059, + "app_s": 0.3403917090035975, + "proc_s": 0.601895833038725, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 0, + "refine_s": 0.19390137505251914, + "app_s": 0.33295170904602855, + "proc_s": 0.5928526250645518, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 0, + "refine_s": 0.18576383299659938, + "app_s": 0.32094183401204646, + "proc_s": 0.5776050830027089, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 0, + "refine_s": 0.18670962506439537, + "app_s": 0.3286529160104692, + "proc_s": 0.5877563341055065, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 0, + "refine_s": 0.18464729108382016, + "app_s": 0.3246275839628652, + "proc_s": 0.5835699170129374, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 0, + "refine_s": 0.18603112502023578, + "app_s": 0.32720620802138, + "proc_s": 0.5939492079196498, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 0, + "refine_s": 0.18497320800088346, + "app_s": 0.3236215829383582, + "proc_s": 0.5824884159956127, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 0, + "refine_s": 0.1911808749428019, + "app_s": 0.32959300000220537, + "proc_s": 0.5888119169976562, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 0, + "refine_s": 0.190342582995072, + "app_s": 0.3295921249082312, + "proc_s": 0.5878391249570996, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 0, + "refine_s": 0.18457020807545632, + "app_s": 0.3237650829833001, + "proc_s": 0.5826092080678791, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 0, + "refine_s": 0.18385420902632177, + "app_s": 0.32407129101920873, + "proc_s": 0.5825277919648215, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 0, + "refine_s": 0.1850758750224486, + "app_s": 0.3194677500287071, + "proc_s": 0.5780027919681743, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 0, + "refine_s": 0.18395133304875344, + "app_s": 0.32294770795851946, + "proc_s": 0.5869617919670418, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 0, + "refine_s": 0.18821612501051277, + "app_s": 0.3270186249865219, + "proc_s": 0.5840024159988388, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 0, + "refine_s": 0.18494604097213596, + "app_s": 0.3169999170349911, + "proc_s": 0.5747868330217898, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 1, + "refine_s": 0.18694725004024804, + "app_s": 0.3242905829101801, + "proc_s": 0.5816806249786168, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 1, + "refine_s": 0.4627026249654591, + "app_s": 0.6008070840034634, + "proc_s": 0.8580018749926239, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 1, + "refine_s": 0.2995449580485001, + "app_s": 0.43722041707951576, + "proc_s": 0.6954335409682244, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 1, + "refine_s": 0.24994408304337412, + "app_s": 0.3837828329997137, + "proc_s": 0.6447285409085453, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 1, + "refine_s": 0.2300439999671653, + "app_s": 0.3685038340045139, + "proc_s": 0.627776125096716, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 1, + "refine_s": 0.20924216706771404, + "app_s": 0.3437573330011219, + "proc_s": 0.604765750002116, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 1, + "refine_s": 0.19815987499896437, + "app_s": 0.33818616694770753, + "proc_s": 0.5941554580349475, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 1, + "refine_s": 0.18949066696222872, + "app_s": 0.33224608399905264, + "proc_s": 0.5897081670118496, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 1, + "refine_s": 0.18535174999851733, + "app_s": 0.325100916903466, + "proc_s": 0.5893017089692876, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 1, + "refine_s": 0.1814575419994071, + "app_s": 0.3201804170385003, + "proc_s": 0.5748579580103979, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 1, + "refine_s": 0.18232462496962398, + "app_s": 0.32208012498449534, + "proc_s": 0.5779475829331204, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 1, + "refine_s": 0.18530779203865677, + "app_s": 0.32184195797890425, + "proc_s": 0.5788687920430675, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 1, + "refine_s": 0.18339883291628212, + "app_s": 0.32177941605914384, + "proc_s": 0.5851058328989893, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 1, + "refine_s": 0.20021595910657197, + "app_s": 0.35237433295696974, + "proc_s": 0.6119636250659823, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 1, + "refine_s": 0.2139154999749735, + "app_s": 0.37908312503714114, + "proc_s": 0.6587656670017168, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 1, + "refine_s": 0.18355487496592104, + "app_s": 0.320154209039174, + "proc_s": 0.5830874170642346, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 1, + "refine_s": 0.19018758297897875, + "app_s": 0.3307526659918949, + "proc_s": 0.5956894169794396, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 1, + "refine_s": 0.1813520829891786, + "app_s": 0.3157401670468971, + "proc_s": 0.5755117919761688, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 1, + "refine_s": 0.1846920830430463, + "app_s": 0.3424396669724956, + "proc_s": 0.6151587079511955, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 1, + "refine_s": 0.18149562494363636, + "app_s": 0.3167676250450313, + "proc_s": 0.5757072090636939, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 1, + "refine_s": 0.18678187497425824, + "app_s": 0.32608600007370114, + "proc_s": 0.5986451250500977, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 2, + "refine_s": 0.23605029203463346, + "app_s": 0.3773997500538826, + "proc_s": 0.640106667065993, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 2, + "refine_s": 0.4758698750520125, + "app_s": 0.6173153329873458, + "proc_s": 0.8903463330352679, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 2, + "refine_s": 0.3006108329864219, + "app_s": 0.4379611660260707, + "proc_s": 0.6997756250202656, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 2, + "refine_s": 0.25419120804872364, + "app_s": 0.3941230420023203, + "proc_s": 0.6576235410757363, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 2, + "refine_s": 0.23078029206953943, + "app_s": 0.3670241250656545, + "proc_s": 0.6247690840391442, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 2, + "refine_s": 0.21027287503238767, + "app_s": 0.3482406660914421, + "proc_s": 0.6063948749797419, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 2, + "refine_s": 0.19982308300677687, + "app_s": 0.3406523329904303, + "proc_s": 0.6010555831016973, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 2, + "refine_s": 0.1906557499896735, + "app_s": 0.3255351249827072, + "proc_s": 0.5884651250671595, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 2, + "refine_s": 0.1848937920294702, + "app_s": 0.3196699589025229, + "proc_s": 0.5905267089838162, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 2, + "refine_s": 0.18559749994892627, + "app_s": 0.31988841597922146, + "proc_s": 0.5900527500780299, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 2, + "refine_s": 0.18333012494258583, + "app_s": 0.31864533305633813, + "proc_s": 0.5776788749499246, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 2, + "refine_s": 0.18452729110140353, + "app_s": 0.3186559589812532, + "proc_s": 0.5776961249066517, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 2, + "refine_s": 0.18458979204297066, + "app_s": 0.32824354199692607, + "proc_s": 0.5857979999855161, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 2, + "refine_s": 0.18388158304151148, + "app_s": 0.31886137498077005, + "proc_s": 0.57943708403036, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 2, + "refine_s": 0.18713154189754277, + "app_s": 0.32000554201658815, + "proc_s": 0.5780427081044763, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 2, + "refine_s": 0.18389416602440178, + "app_s": 0.3184189589228481, + "proc_s": 0.5770959160290658, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 2, + "refine_s": 0.18704104202333838, + "app_s": 0.32100604102015495, + "proc_s": 0.5854621249018237, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 2, + "refine_s": 0.18711862491909415, + "app_s": 0.3216316669713706, + "proc_s": 0.5867609590059146, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 2, + "refine_s": 0.18653920909855515, + "app_s": 0.3285660829860717, + "proc_s": 0.5960365420905873, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 2, + "refine_s": 0.1860523329814896, + "app_s": 0.325873333029449, + "proc_s": 0.5870168749243021, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 2, + "refine_s": 0.18273670796770602, + "app_s": 0.3202159170759842, + "proc_s": 0.5851539591094479, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 3, + "refine_s": 0.18428241601213813, + "app_s": 0.31977466703392565, + "proc_s": 0.5782427500234917, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 3, + "refine_s": 0.45959641702938825, + "app_s": 0.5945122078992426, + "proc_s": 0.8552963340189308, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 3, + "refine_s": 0.3159354589879513, + "app_s": 0.4499785420484841, + "proc_s": 0.7129343330161646, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 3, + "refine_s": 0.2519106670515612, + "app_s": 0.39055579202249646, + "proc_s": 0.6474743341095746, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 3, + "refine_s": 0.22803466697223485, + "app_s": 0.36182341596577317, + "proc_s": 0.6269707910250872, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 3, + "refine_s": 0.2087809160584584, + "app_s": 0.341103709070012, + "proc_s": 0.6103695000056177, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 3, + "refine_s": 0.2059268340235576, + "app_s": 0.3397788340225816, + "proc_s": 0.6092817920725793, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 3, + "refine_s": 0.20601579104550183, + "app_s": 0.37410374998580664, + "proc_s": 0.6567382909124717, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 3, + "refine_s": 0.18499824998434633, + "app_s": 0.32468629197683185, + "proc_s": 0.58761449996382, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 3, + "refine_s": 0.1847899170825258, + "app_s": 0.31896437506657094, + "proc_s": 0.5828494589077309, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 3, + "refine_s": 0.18605537491384894, + "app_s": 0.3209576669614762, + "proc_s": 0.5811064169974998, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 3, + "refine_s": 0.18692945898510516, + "app_s": 0.3214097910095006, + "proc_s": 0.5827761670807377, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 3, + "refine_s": 0.1816114999819547, + "app_s": 0.3163757500005886, + "proc_s": 0.5850903749233112, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 3, + "refine_s": 0.1878840000135824, + "app_s": 0.3325944159878418, + "proc_s": 0.5917985829291865, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 3, + "refine_s": 0.1940789169166237, + "app_s": 0.3344197910046205, + "proc_s": 0.5974196250317618, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 3, + "refine_s": 0.18320724996738136, + "app_s": 0.3192851669155061, + "proc_s": 0.5914039999479428, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 3, + "refine_s": 0.1890956669813022, + "app_s": 0.3310831249691546, + "proc_s": 0.6051770830526948, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 3, + "refine_s": 0.18161704193335027, + "app_s": 0.3158612500410527, + "proc_s": 0.5915566670009866, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 3, + "refine_s": 0.19003691710531712, + "app_s": 0.3301356250885874, + "proc_s": 0.5883339169668034, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 3, + "refine_s": 0.1817892499966547, + "app_s": 0.322536833002232, + "proc_s": 0.5856426659738645, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 3, + "refine_s": 0.19027879205532372, + "app_s": 0.33094816701486707, + "proc_s": 0.597754791029729, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 4, + "refine_s": 0.20264208293519914, + "app_s": 0.3413118339376524, + "proc_s": 0.6262275839690119, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 4, + "refine_s": 0.48857029201462865, + "app_s": 0.626862291013822, + "proc_s": 0.9213595829205588, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 4, + "refine_s": 0.30016512505244464, + "app_s": 0.4326576669700444, + "proc_s": 0.7025021249428391, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 4, + "refine_s": 0.2592021670425311, + "app_s": 0.3982905000448227, + "proc_s": 0.6679435000987723, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 4, + "refine_s": 0.22619270801078528, + "app_s": 0.3606480839662254, + "proc_s": 0.6251112919999287, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 4, + "refine_s": 0.21493554196786135, + "app_s": 0.3531554590445012, + "proc_s": 0.6363717920612544, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 4, + "refine_s": 0.20577683299779892, + "app_s": 0.33946495898999274, + "proc_s": 0.6037604579469189, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 4, + "refine_s": 0.19005387497600168, + "app_s": 0.3309474589768797, + "proc_s": 0.592476167017594, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 4, + "refine_s": 0.1863684579730034, + "app_s": 0.3218427080428228, + "proc_s": 0.5994912090245634, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 4, + "refine_s": 0.18384054105263203, + "app_s": 0.3176397089846432, + "proc_s": 0.5760119160404429, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 4, + "refine_s": 0.18752699997276068, + "app_s": 0.3241571669932455, + "proc_s": 0.5869624580955133, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 4, + "refine_s": 0.18452399992384017, + "app_s": 0.3210116670234129, + "proc_s": 0.5824333340860903, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 4, + "refine_s": 0.18504695896990597, + "app_s": 0.3205876669380814, + "proc_s": 0.5857383749680594, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 4, + "refine_s": 0.1831079589901492, + "app_s": 0.3188020420493558, + "proc_s": 0.5783170830691233, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 4, + "refine_s": 0.1860397079726681, + "app_s": 0.3211697500664741, + "proc_s": 0.5816472499864176, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 4, + "refine_s": 0.1925466669490561, + "app_s": 0.3279364169575274, + "proc_s": 0.5874012910062447, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 4, + "refine_s": 0.18799862498417497, + "app_s": 0.3203040830558166, + "proc_s": 0.5804498749785125, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 4, + "refine_s": 0.18635645904578269, + "app_s": 0.3248277499806136, + "proc_s": 0.5919640000211075, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 4, + "refine_s": 0.18383987492416054, + "app_s": 0.3193714579101652, + "proc_s": 0.5779432079289109, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 4, + "refine_s": 0.18732658307999372, + "app_s": 0.32328154193237424, + "proc_s": 0.5827732910402119, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 4, + "refine_s": 0.19208545901346952, + "app_s": 0.32454358297400177, + "proc_s": 0.5879215419990942, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + } + ], + "stats": [ + { + "domain": "quarter", + "threads": 0, + "n": 5, + "median": 0.16705883294343948, + "min": 0.16390000004321337, + "max": 0.17109741596505046 + }, + { + "domain": "quarter", + "threads": 1, + "n": 5, + "median": 0.41541716700885445, + "min": 0.4062277079792693, + "max": 0.4423496250528842 + }, + { + "domain": "quarter", + "threads": 2, + "n": 5, + "median": 0.2669837500434369, + "min": 0.2641511249821633, + "max": 0.300005582976155 + }, + { + "domain": "quarter", + "threads": 3, + "n": 5, + "median": 0.22073708404786885, + "min": 0.21666995796840638, + "max": 0.22648920898791403 + }, + { + "domain": "quarter", + "threads": 4, + "n": 5, + "median": 0.19953166705090553, + "min": 0.19734941702336073, + "max": 0.2171492079505697 + }, + { + "domain": "quarter", + "threads": 5, + "n": 5, + "median": 0.1837952920468524, + "min": 0.1831420409725979, + "max": 0.19083391688764095 + }, + { + "domain": "quarter", + "threads": 6, + "n": 5, + "median": 0.17652912496123463, + "min": 0.17490666592493653, + "max": 0.18864499998744577 + }, + { + "domain": "quarter", + "threads": 7, + "n": 5, + "median": 0.16713825007900596, + "min": 0.1653371249558404, + "max": 0.17131904093548656 + }, + { + "domain": "quarter", + "threads": 8, + "n": 5, + "median": 0.16257241694256663, + "min": 0.16012124996632338, + "max": 0.17306566599290818 + }, + { + "domain": "quarter", + "threads": 9, + "n": 5, + "median": 0.16444466600660235, + "min": 0.1592967080650851, + "max": 0.1653916669311002 + }, + { + "domain": "quarter", + "threads": 10, + "n": 5, + "median": 0.1639172499999404, + "min": 0.1598547080066055, + "max": 0.1644532090285793 + }, + { + "domain": "quarter", + "threads": 11, + "n": 5, + "median": 0.16348979203030467, + "min": 0.16074087494052947, + "max": 0.16425625002011657 + }, + { + "domain": "quarter", + "threads": 12, + "n": 5, + "median": 0.16467820899561048, + "min": 0.16208991699386388, + "max": 0.16662683303002268 + }, + { + "domain": "quarter", + "threads": 13, + "n": 5, + "median": 0.16432300000451505, + "min": 0.16337316599674523, + "max": 0.176494334009476 + }, + { + "domain": "quarter", + "threads": 14, + "n": 5, + "median": 0.16284570889547467, + "min": 0.16177112504374236, + "max": 0.16491599997971207 + }, + { + "domain": "quarter", + "threads": 15, + "n": 5, + "median": 0.16413183300755918, + "min": 0.1597987919813022, + "max": 0.1655652499757707 + }, + { + "domain": "quarter", + "threads": 16, + "n": 5, + "median": 0.16268541594035923, + "min": 0.15963570796884596, + "max": 0.1729111250024289 + }, + { + "domain": "quarter", + "threads": 17, + "n": 5, + "median": 0.16491920896805823, + "min": 0.160064542084001, + "max": 0.1671810420230031 + }, + { + "domain": "quarter", + "threads": 18, + "n": 5, + "median": 0.16612770897336304, + "min": 0.1638068340253085, + "max": 0.18259095901157707 + }, + { + "domain": "quarter", + "threads": 19, + "n": 5, + "median": 0.16438191605266184, + "min": 0.16169241699390113, + "max": 0.1886337079340592 + }, + { + "domain": "quarter", + "threads": 20, + "n": 5, + "median": 0.16424787510186434, + "min": 0.16094958398025483, + "max": 0.17865483299829066 + }, + { + "domain": "tile", + "threads": 0, + "n": 5, + "median": 0.18729979102499783, + "min": 0.18428241601213813, + "max": 0.23605029203463346 + }, + { + "domain": "tile", + "threads": 1, + "n": 5, + "median": 0.4713721249718219, + "min": 0.45959641702938825, + "max": 0.48857029201462865 + }, + { + "domain": "tile", + "threads": 2, + "n": 5, + "median": 0.3006108329864219, + "min": 0.2995449580485001, + "max": 0.3159354589879513 + }, + { + "domain": "tile", + "threads": 3, + "n": 5, + "median": 0.2519106670515612, + "min": 0.24994408304337412, + "max": 0.2592021670425311 + }, + { + "domain": "tile", + "threads": 4, + "n": 5, + "median": 0.22879516694229096, + "min": 0.22619270801078528, + "max": 0.23078029206953943 + }, + { + "domain": "tile", + "threads": 5, + "n": 5, + "median": 0.2096901669865474, + "min": 0.2087809160584584, + "max": 0.21493554196786135 + }, + { + "domain": "tile", + "threads": 6, + "n": 5, + "median": 0.19982308300677687, + "min": 0.19815987499896437, + "max": 0.2059268340235576 + }, + { + "domain": "tile", + "threads": 7, + "n": 5, + "median": 0.1906557499896735, + "min": 0.18949066696222872, + "max": 0.20601579104550183 + }, + { + "domain": "tile", + "threads": 8, + "n": 5, + "median": 0.18535174999851733, + "min": 0.1848937920294702, + "max": 0.1863684579730034 + }, + { + "domain": "tile", + "threads": 9, + "n": 5, + "median": 0.1847899170825258, + "min": 0.1814575419994071, + "max": 0.18670962506439537 + }, + { + "domain": "tile", + "threads": 10, + "n": 5, + "median": 0.18464729108382016, + "min": 0.18232462496962398, + "max": 0.18752699997276068 + }, + { + "domain": "tile", + "threads": 11, + "n": 5, + "median": 0.18530779203865677, + "min": 0.18452399992384017, + "max": 0.18692945898510516 + }, + { + "domain": "tile", + "threads": 12, + "n": 5, + "median": 0.18458979204297066, + "min": 0.1816114999819547, + "max": 0.18504695896990597 + }, + { + "domain": "tile", + "threads": 13, + "n": 5, + "median": 0.1878840000135824, + "min": 0.1831079589901492, + "max": 0.20021595910657197 + }, + { + "domain": "tile", + "threads": 14, + "n": 5, + "median": 0.190342582995072, + "min": 0.1860397079726681, + "max": 0.2139154999749735 + }, + { + "domain": "tile", + "threads": 15, + "n": 5, + "median": 0.18389416602440178, + "min": 0.18320724996738136, + "max": 0.1925466669490561 + }, + { + "domain": "tile", + "threads": 16, + "n": 5, + "median": 0.18799862498417497, + "min": 0.18385420902632177, + "max": 0.19018758297897875 + }, + { + "domain": "tile", + "threads": 17, + "n": 5, + "median": 0.1850758750224486, + "min": 0.1813520829891786, + "max": 0.18711862491909415 + }, + { + "domain": "tile", + "threads": 18, + "n": 5, + "median": 0.1846920830430463, + "min": 0.18383987492416054, + "max": 0.19003691710531712 + }, + { + "domain": "tile", + "threads": 19, + "n": 5, + "median": 0.1860523329814896, + "min": 0.18149562494363636, + "max": 0.18821612501051277 + }, + { + "domain": "tile", + "threads": 20, + "n": 5, + "median": 0.18678187497425824, + "min": 0.18273670796770602, + "max": 0.19208545901346952 + } + ], + "quality": { + "quarter": { + "worst_angle": 0.3955267116350698, + "angle_median": 45.0, + "share_under_1": 0.000028023175165862168, + "max_degree": 18, + "within_tolerance": true, + "delaunay_checked": 641791, + "delaunay_ambiguous": 80136, + "delaunay_violations": 0, + "mesh_sha256": "ccebf96a86c6c5e244e4a0281919de4e866fcfe789b66024a290ac2af33771a1" + }, + "tile": { + "worst_angle": 0.6295986084102668, + "angle_median": 45.0, + "share_under_1": 2.1538262723728703e-6, + "max_degree": 74, + "within_tolerance": true, + "delaunay_checked": 692056, + "delaunay_ambiguous": 94469, + "delaunay_violations": 0, + "mesh_sha256": "11741a81adfa17b34a1ea56875ec9e791414d17625eb1c58305e7c0cf10e005c" + } + }, + "accept_quality": false, + "threshold_pct": 5.0, + "verdict": [ + "ACCEPTED" + ] +} diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/README.md b/docs/benchmarks/2026-09-28/16b12-acceptance/README.md new file mode 100644 index 00000000..668c5fa1 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/README.md @@ -0,0 +1,323 @@ +# Increment 16b-1/2 acceptance (@perf, 2026-09-28/29) + +**Verdict: NOT ACCEPTED as designed, on one measure.** With Ola's European +GeoPackage (EPSG:3035), reading the candidate features takes **17.5-19.9 s**. +The design admits about 1 s for this read (R5). Everything else passes: the +standard benchmark is unchanged, the quarter circle reproduces M5, both +GeoPackage routes give bit-identical meshes on Ola's catchment, and the CORINE +baseline matches 16b-0's within 0.1 % of the triangles. Short summary: +`../16b12-acceptance.md`. + +## What was measured, and on what + +- **Branch** `increment16b12-features` at `5f3a522`, the head after `54afc27`. + **Base**: `origin/master` `14f5fe3` (#107, 16b-0 merged), in a detached + `git worktree` in the session scratchpad. + `git diff --stat 14f5fe3 5f3a522 -- include src_cpp bindings src_python` + lists Python files only (`cli.py`, `chains.py`, `feature_input.py`, + `io/geopackage.py`, `io/gml.py`, …). No C++ changed. +- **Builds**: bench.py's Release builds, `-O3 -DNDEBUG`, AppleClang 21. The + `_core` sha256 prefix is `190587e7ba0e` for base and branch in all 8 bench + runs. That is the same `.so` as 16b-0's. The CLI runs used + `build-pyext`, rebuilt (`cmake --build build-pyext -j --target _core`, + exit 0) and copied into `.venv`. It has the same sha256. `tin_engine` was + loaded from the branch's `src_python`, checked with `__file__`. No C++ was + patched, so there was no scratch build to sanitize. +- **Machine**: Apple M1 Max (8 P + 2 E), 32 GiB, macOS 27.0, Python 3.14.7. + `caffeinate -ims` was held for every block. +- **Power: battery, discharging, for every run.** The brief expected AC, but + `pmset` said battery from the first check. The coordinator confirmed that + Ola could not plug in. The level fell from 83 % (23:36) to 67 % (00:13). + Each bench `run.json` carries `pmset` before and after. Every CLI case line + in `logs/*.log` names the power source. `logs/power.log` has the + percentages around the CLI blocks. **All comparisons here are battery + against battery.** There is no AC evidence for 16b-1/2 or for 16b-0. +- The runs crossed midnight. The directory keeps the date the acceptance + started. + +## 1. The quarter circle with the committed extract (M5) + +`rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain +docs/benchmarks/2026-09-26/quarter.geojson --tolerance {1,10} [--features +tests/fixtures/corine/clc2018_7908_3.gpkg --features-map corine] --out X.vtk +--stats Y.md` (`scripts/runs.sh qc`). Each case ran 3 times. Triangles and +quality were identical across the 3 runs, and the times are medians. + +| tol | features | start vertices | triangles | M5 triangles | < 1° | M5 | worst | M5 | max degree | achieved max error | `node` | M5 `node` | total | +|---|---|---:|---:|---:|---:|---:|---:|---:|---:|---|---:|---:|---:| +| 1 m | none | 536 | 428 217 | 428 217 | 0.00 % | 0.00 % | 0.396° | 0.40° | 18 | 0.99998 m | — | — | 0.97 s | +| 1 m | CORINE | 5 627 | 441 855 | 441 863 | 0.08 % | 0.08 % | 0.0395° | 0.040° | 28 | 0.9999987 m | 0.013 s | 0.33 s | 1.34 s | +| 10 m | none | 536 | 31 581 | 31 581 | 0.01 % | 0.01 % | 0.287° | 0.29° | 16 | 9.9987 m | — | — | 0.15 s | +| 10 m | CORINE | 5 627 | 54 840 | 54 840 | 0.04 % | 0.04 % | 0.0395° | 0.040° | 16 | 9.9980 m | 0.014 s | 0.33 s | 0.31 s | + +- **M5 is reproduced.** The noded start vertices equal M5's 5 627 input + vertices. Three of the four triangle counts are equal, and 1 m with CORINE + is 8 fewer (−0.002 %). `node` is 25x faster than M5's figure, which was + measured before 16b-0. +- **The tolerance holds** in every run, with 0 valid DEM nodes uncovered and + 0 feet refused. +- **stderr**: `60 features kept, 9 dropped outside, 19 clipped, 0 empty + skipped`, then `10802 input vertices, 5627 noded vertices`. There is no + `table scanned` line, because the extract has an R-tree. +- **VTK reads the file.** `scripts/check_vtk.py` reads each file with + `vtkPolyDataReader`, VTK 9.7.0 (`logs/qc.log`). At 1 m with CORINE it reads + 221 480 points, 441 855 triangles and 9 345 lines. The fields present are + `feature_bits`, `feature_names`, `feature_vocabulary`, `crs`, + `elevation_source` (with the clause `start domain boundary and features, + vertex z bilinear`), `domain`, `domain_crs`, `domain_transform`, + `features` (`clc2018_7908_3.gpkg:U2018_CLC2018_V2020_20u1, map corine, 60 + features, 87 chains, 10266 vertices`), `features_crs` (EPSG:3035), + `features_transform` and `features_notice` (the Copernicus attribution). + The cell arrays are `feature_mask`, `land_cover` and `water`. +- **The constraint edges carry the bits**: 8 242 of 9 345 carry `land_cover` + and 3 905 carry `water`. Every `water` edge also carries `land_cover`. The + 1 103 edges with mask 0 are domain-boundary edges that no feature shares. + At 10 m, 5 698 of 6 035 edges carry `land_cover` and 768 carry `water`. + Without features, the file has no `land_cover` or `water` arrays and no + `features*` fields. + +## 2. Ola's case: a 4326 catchment over the DTM10 archive + +**The domain** is `catchment/catchment_4326.geojson`, written by +`scripts/make_catchment.py`. It is not a real catchment. There is no +committed 4326 catchment, so a smooth, irregular 48-vertex ring was made in +lon/lat. Its area is **287.3 km²** in EPSG:25833, between 11.2 and 11.6° E +around 59.94° N. It is centred on the corner shared by DTM10 tiles `6602_1`, +`6602_2`, `6603_3` and `6603_4` (300 000, 6 650 000 in 25833). So `--dem +DTM10_UTM33_20260925` (the directory) mosaics 4 tiles and crosses 4 seams. It +also lies inside the 254 tiles that `corine2018_dtm10_utm33.gpkg` covers. + +The command was `rasputin mesh --dem ../rasputin_data/DTM10_UTM33_20260925 +--domain catchment_4326.geojson --tolerance {1,10}`, with one of: + +- **Europe (reproject-first route)**: `--features + .../U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 + --features-map corine`. That file is EPSG:3035, 8.9 GB, with 2 375 406 + R-tree rows. +- **Norway (same-CRS route)**: `--features corine2018_dtm10_utm33.gpkg + --features-layer corine2018 --features-map corine`. That file is + EPSG:25833, with 124 054 rows. + +Each case ran 3 times (`scripts/runs.sh ola`; logs `ola-r1.log` and +`ola-r23.log`). Times are medians. + +| tol | features | triangles | start vertices | < 1° | worst | max degree | features read | features clip | `node` | refine (scan / split) | encode | total | peak RSS | +|---|---|---:|---:|---:|---:|---:|---:|---:|---:|---|---:|---:|---:| +| 1 m | none | 1 216 839 | 48 | 0.02 % | 0.0116° | 25 | — | — | — | 0.604 (0.144 / 0.410) | 2.02 | 3.36 s | 0.93 GB | +| 1 m | Europe, 3035 | 1 235 226 | 5 642 | 0.06 % | 0.0116° | 25 | **17.90** | **8.50** | 0.013 | 0.624 (0.114 / 0.437) | 2.80 | **30.34 s** | 0.80 GB | +| 1 m | Norway, 25833 | 1 235 226 | 5 642 | 0.06 % | 0.0116° | 25 | 0.894 | 1.269 | 0.013 | 0.611 (0.113 / 0.427) | 2.79 | 6.28 s | 0.89 GB | +| 10 m | none | 30 366 | 48 | 0.14 % | 0.0188° | 12 | — | — | — | 0.044 | 0.05 | 0.58 s | 0.47 GB | +| 10 m | Europe, 3035 | 63 020 | 5 642 | 0.23 % | 0.0078° | 14 | **19.08** | **8.44** | 0.013 | 0.044 | 0.14 | **28.23 s** | 0.47 GB | +| 10 m | Norway, 25833 | 63 020 | 5 642 | 0.23 % | 0.0078° | 14 | 0.875 | 1.291 | 0.013 | 0.042 | 0.14 | 3.09 s | 0.51 GB | + +- **Both routes give the same mesh, bit for bit**: points, triangles, lines + and `feature_mask` hash equal at both tolerances (`logs/route_identity.log`). + The files differ only in `features`, `features_crs` and + `features_transform`: `none` for Norway, and `Inverse of Europe Equal Area + 2001 + UTM zone 33N` for Europe. +- **stderr**, the same in all 3 runs: + - Europe: `87 features kept, 258 dropped outside, 28 clipped, 0 empty + skipped`. + - Norway: `87 features kept, 175 dropped outside, 28 clipped, 0 empty + skipped`. + - Both: `11316 input vertices, 5642 noded vertices`. + - No scan line: both files have R-trees. The difference in "dropped + outside" depends on the index, as R10 says it may. +- The file records `features: …, map corine, 87 features, 155 chains, 11268 + vertices`, `domain_crs EPSG:4326` and `domain_transform Inverse of ETRS89 + to WGS 84 (1) + UTM zone 33N`, and the `dem_tiles` and `dem_seams` fields. + The tolerance holds, with 0 nodes uncovered and 0 feet refused. At 1 m, + 11 027 constraint edges: 10 275 carry `land_cover` and 979 carry `water`. + +### The candidate lookup: measured at 17.5-19.9 s, not ~1 s (the defect) + +The design (R5, "Long edges") admits that the widened R-tree query scans the +R-tree's columns: "on Ola's Europe file, for a 50 km box, 1 006 rows in +0.75-1.3 s". Measured on this catchment (`scripts/candidates.py`, +`scripts/query_plan.py`; logs `candidates.log`, `query_plan.log`): + +| Europe file, this catchment's query box | rows | time | +|---|---:|---:| +| plain box, ids only | 132 | 0.2 ms | +| widened query, ids only (the R-tree scan the design admits) | 345 | 0.71 s | +| **widened query as built** (`io/geopackage.py` `query_features`: JOIN, ORDER BY pk), blobs fetched | 345 (235 MB) | **17.5-18.7 s** | +| the same rows fetched by primary key (`WHERE pk IN (SELECT id FROM rtree …)`) | 345 (235 MB) | 0.85 s | +| WKB decode of the 345 blobs | | 0.25 s | + +- **Cause, measured with `EXPLAIN QUERY PLAN`**: SQLite 3.53.4 plans the + JOIN as `SCAN t; SCAN r VIRTUAL TABLE INDEX 1`. It walks all 2.4 M rows of + the feature table and probes the R-tree once per row. The `IN` subquery + gets `SEARCH t USING INTEGER PRIMARY KEY` and returns the same rows in + 0.85 s, 22x faster. On the Norway file (124 054 rows), the same plan costs + 0.77 s against 0.062 s. +- **The widening also brings in large far-away polygons.** 213 of the 345 + Europe candidates are rows that only the widening admits. They hold + 13.8 M of the 14.7 M candidate vertices, and polygons up to 409 242 + vertices. All of them are then dropped outside: 87 are kept, and the + plain box already returns 132. On the Norway file, 132 rows only the + widening admits hold 3.1 M of 3.9 M vertices. +- **`features clip` is 8.4-8.6 s (Europe) and 1.27-1.29 s (Norway).** This + has not been profiled. It is thought to be the reproject-first transform + and pre-clip of all 14.7 M (3.9 M) candidate vertices. The design's + 0.09 s per 360 000 points would give about 3.7 s for the transform alone. +- On the Europe file, feature input is 26 s of a 28-30 s run whose mesh + work is under 4 s. The design admitted about 1 s. This is a defect in the + branch, reported, not fixed. `src_python/` is outside this remit. + +## 3. The 1 m benchmark and thread sweep (`tools/bench.py`, blob `77765b1`) + +Four pairs, base then branch, back to back, 23:36-23:55, on battery +(83 % → 75 %). The standard inputs are the quarter circle and the tile of +`7908_3` at 1 m, with no features. Threads 1-20 plus the default (10), and +5 repeats. The commands are in `scripts/pairs.sh` (`PAIRS=4` for the +fourth). Each branch run names its pair's base with `--baseline`. + +bench.py's verdicts: + +- Pairs 1, 2 and 4: **ACCEPTED**. +- Pair 3: **REGRESSION** on 12 quarter cells (up to +13.4 %, at 1 thread). +- The base runs have no `--baseline`, so they are judged against the newest + stored comparable ancestor. Base r3 and r4 flagged cells too, although + they are the same build as base r1. + +The fourth pair was run as a tie-break after pair 3. + +**Pair 3 is judged noise, not a regression:** + +- **The code is identical.** `_core` has the same sha256 in all 8 runs, + `refine_s` times the C++ `refine` call alone, and both domains' mesh + sha256 is equal in all 8 runs, so `refine` got the same input. +- The same cells were −1.7 %, −1.1 % and +0.8 % (quarter, 1 thread) in + pairs 1, 2 and 4. +- The same build moves more than that between its own runs: up to +13.6 % + for 16b-1/2 (r2 → r3, quarter, 1 thread) and +11.1 % for the base. +- **Pooled over all 42 cells** (median of the 4 base runs against median of + the 4 branch runs): median **+0.27 %**, range −3.3 % to +3.4 %, and no + cell above +5 %. + +Refine seconds, median of 5 per run (ms): + +| domain | threads | base r1 / r2 / r3 / r4 | 16b-1/2 r1 / r2 / r3 / r4 | pair changes (%) | pooled | +|---|---:|---|---|---|---:| +| quarter | default (10) | 167.2 / 164.9 / 163.4 / 166.6 | 167.1 / 166.1 / 173.0 / 170.4 | −0.1, +0.7, +5.8, +2.3 | +1.8 % | +| quarter | 1 | 422.8 / 416.2 / 412.4 / 441.4 | 415.4 / 411.7 / 467.6 / 445.1 | −1.7, −1.1, +13.4, +0.8 | +2.6 % | +| quarter | 2 | 277.9 / 269.4 / 266.4 / 286.6 | 267.0 / 267.3 / 295.5 / 287.1 | −3.9, −0.8, +11.0, +0.2 | +1.3 % | +| quarter | 4 | 201.6 / 199.8 / 198.5 / 208.4 | 199.5 / 199.3 / 208.1 / 206.6 | −1.0, −0.3, +4.9, −0.8 | +1.2 % | +| quarter | 8 | 162.7 / 161.7 / 162.6 / 163.2 | 162.6 / 162.0 / 166.6 / 165.9 | −0.1, +0.2, +2.5, +1.6 | +1.0 % | +| quarter | 10 | 165.0 / 163.7 / 166.0 / 172.7 | 163.9 / 164.1 / 176.7 / 165.5 | −0.6, +0.3, +6.5, −4.2 | −0.4 % | +| quarter | 16 | 168.5 / 165.0 / 163.1 / 170.3 | 162.7 / 164.9 / 171.6 / 169.4 | −3.5, −0.1, +5.2, −0.5 | +0.2 % | +| quarter | 20 | 165.8 / 165.0 / 165.5 / 176.0 | 164.2 / 165.3 / 168.8 / 167.3 | −1.0, +0.2, +2.0, −5.0 | +0.4 % | +| tile | default (10) | 191.9 / 185.2 / 193.3 / 191.8 | 187.3 / 191.7 / 183.1 / 189.0 | −2.4, +3.5, −5.2, −1.5 | −1.9 % | +| tile | 1 | 489.7 / 465.7 / 493.5 / 512.1 | 471.4 / 473.1 / 479.7 / 494.6 | −3.7, +1.6, −2.8, −3.4 | −3.1 % | +| tile | 2 | 318.4 / 301.6 / 329.2 / 333.2 | 300.6 / 306.9 / 319.2 / 321.5 | −5.6, +1.8, −3.0, −3.5 | −3.3 % | +| tile | 4 | 232.3 / 227.1 / 233.5 / 234.4 | 228.8 / 232.1 / 229.5 / 236.8 | −1.5, +2.2, −1.7, +1.0 | −0.9 % | +| tile | 8 | 185.3 / 184.6 / 190.9 / 188.8 | 185.4 / 191.3 / 186.1 / 192.8 | +0.0, +3.6, −2.5, +2.1 | +0.9 % | +| tile | 10 | 187.5 / 184.7 / 187.5 / 194.3 | 184.6 / 186.4 / 186.1 / 189.4 | −1.5, +0.9, −0.8, −2.5 | −0.7 % | +| tile | 16 | 187.9 / 186.3 / 189.6 / 190.7 | 188.0 / 185.0 / 186.9 / 190.4 | +0.1, −0.7, −1.4, −0.2 | −0.7 % | +| tile | 20 | 189.6 / 187.4 / 191.5 / 193.7 | 186.8 / 185.7 / 187.4 / 195.2 | −1.5, −0.9, −2.1, +0.8 | −1.8 % | + +**Ceiling** (speed-up over 1 thread: the best, and at 20 threads): + +- Base: tile 2.52-2.71x, quarter 2.57-2.70x. +- 16b-1/2: tile 2.56-2.63x, quarter 2.54-2.82x. +- On battery, 16b-0's runs gave 2.5-2.9x (`../16b0-acceptance/README.md`). +- From 8 threads on, the curve is flat in every run. All 8 values are in + `logs/pairs_table.txt`. + +**Quality: identical in all 8 runs.** + +| domain | worst angle | max degree | within tolerance | Delaunay violations | mesh sha256 | +|---|---:|---:|---|---:|---| +| quarter | 0.3955° | 18 | yes | 0 of 641 791 | `ccebf96a86c6c5e2…` | +| tile | 0.6296° | 74 | yes | 0 of 692 056 | `11741a81adfa17b3…` | + +Both hashes equal 16b-0's. + +## 4. The CORINE baseline update: M4's 48 km square + +The square is 301 000-349 000 × 6 651 000-6 699 000 in EPSG:25833 +(`catchment/square48_25833.geojson`), meshed over tile `6603_4` of +`DTM10_UTM33_20260925`. It now goes **through the real CLI**: `rasputin mesh +--dem …/6603_4_10m_z33.tif --domain square48_25833.geojson --tolerance {1,10} +[--start-min-angle 0] [--features U2018_CLC2018_V2020_20u1.gpkg +--features-layer U2018_CLC2018_V2020_20u1 --features-map corine]` +(`scripts/runs.sh sq`). This is the same Europe file as 16b-0. There were 3 +runs per row, triangles identical across them, and the times are medians. +Peak RSS is `/usr/bin/time -l` of the whole `rasputin` process, including +writing the `.vtk` and the `--stats` pass. + +| tol | features | start quality | triangles | 16b-0 | start-quality nodes (16b-0) | feet (16b-0) | < 1° | worst | features read + clip | `node` (16b-0) | start quality | refine (scan / split) | total | peak RSS (16b-0) | +|---|---|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|---|---:|---:| +| 1 m | none | 25° | 6 581 348 | 6 581 348 | 0 | 0 | 0.00 % | 0.217° | — | — | — | 5.27 s (1.53 / 3.39) | 16.9 s | 3.07 GB (1.93) | +| 1 m | none | off | 6 581 348 | 6 581 348 | 0 | 0 | 0.00 % | 0.217° | — | — | — | 5.07 s (1.49 / 3.25) | 16.6 s | 3.03 GB (1.96) | +| 1 m | CORINE | 25° | 6 753 084 | 6 752 517 | 154 573 (154 640) | 30 311 (30 311) | 0.03 % | 0.00081° | 17.7 + 8.6 s | 0.150 s (0.068) | 0.209 s | 5.87 s (1.00 / 4.27) | 48.0 s | 3.06 GB (2.35) | +| 1 m | CORINE | off | 6 655 874 | 6 655 862 | 0 | 31 986 (31 990) | 0.04 % | 0.031° | 18.4 + 8.6 s | 0.148 s (0.067) | — | 5.45 s (1.03 / 3.88) | 47.9 s | 2.88 GB (2.27) | +| 10 m | none | 25° | 133 379 | 133 379 | 0 | 0 | 0.03 % | 0.258° | — | — | — | 0.60 s | 0.98 s | 0.57 GB (0.41) | +| 10 m | none | off | 133 379 | 133 379 | 0 | 0 | 0.03 % | 0.258° | — | — | — | 0.60 s | 0.96 s | 0.57 GB (0.41) | +| 10 m | CORINE | 25° | **480 941** | 480 961 | 154 573 (154 640) | 350 (350) | 0.25 % | 0.0013° | 17.8 + 8.6 s | 0.155 s (0.067) | 0.209 s | 0.40 s | 28.5 s | 0.60 GB (0.69) | +| 10 m | CORINE | off | 212 255 | 212 255 | 0 | 359 (359) | 3.45 % | 0.0147° | 14.3 + 8.7 s | 0.150 s (0.066) | — | 0.26 s | 24.5 s | 0.52 GB (0.62) | + +- **The baseline holds through the real CLI.** Without features, the + triangles are identical to 16b-0's. With CORINE they differ by −20 to + +567 (at most 0.008 %), and the start-quality nodes by 67 of 154 640. The + quality-start tripling is unchanged: **480 941 triangles at 10 m, 3.61x + the featureless 133 379**, and 2.27x the same features with quality off. + That is still 20c's input. +- **What differs from 16b-0, and why the numbers are not one-to-one:** + - 16b-0 fed pre-merged, deduplicated lines (layout A, `clc_mesh.py`). The + CLI feeds each clipped ring as it comes: 103 420 input vertices, noded to + the same 51 395. + - So `node` is 0.15 s here, against 0.068 s for layout A. 16b-0 measured + 0.1435 s for layout B. + - The small triangle differences are thought to come from the different + chains (layout, clip), not measured. +- **Peak RSS is not comparable to 16b-0.** This run writes the 6.6 M-triangle + `.vtk` (encode 11-15 s) and computes `--stats`. 16b-0's `drv.py` did + neither. The featureless 1 m run rose by the same 1.1 GB, so the rise is + thought to be in the method, not in 16b-1/2. +- **`features read` is 14-18 s here as well**: the same query-plan defect + as in part 2, on a 48 km box. Of a 48 s run at 1 m, 26 s is feature input. + +## Found in passing + +- **`tools/bench.py`: a `--label` with a `/` and `--mesh-dir` fails.** The + quality mesh path is `mesh_dir / f"{label}_{d.name}.vtk"` + (`tools/bench.py:605`), and its parent directory is never created. The + child exits with `BadParameter: … is not an existing directory` and exit + 3. The first attempt at 23:33 failed this way and produced no evidence; + its log was kept in the scratchpad, not here. The workaround was to create + `/16b12-acceptance` first. This is probably the "bench.py + mesh-dir error" that 16b-0's README mentions. It is reported, not fixed: + a fix to `tools/` needs a red test from `@tester` first. + +## Not measured + +- A profile of `features clip` on the Europe file. The share of the + transform in it is thought to be, not measured. +- Whether the widening's far rows (213 on this catchment) could be excluded + cheaply. That is a design question. +- Any AC run. +- The 16b-0-style layout-A mesh on this branch. `drv.py` monkeypatches + `cli._domain_chains`, which no longer exists. + +## Files + +- `base-14f5fe3[-r2|-r3|-r4]/`, `16b12[-r2|-r3|-r4]/`: bench.py run + directories (`run.json`, `raw.tsv`, generated `README.md`). +- `catchment/`: `catchment_4326.geojson` (Ola's case) and + `square48_25833.geojson` (M4's square). +- `stats/`: every CLI run's `--stats` report, `-r.md`. +- `logs/`: `pairs.log` and `pair4.log` (bench); `qc.log`, `ola-r1.log`, + `ola-r23.log` and `sq.log` (the CLI runs, with stderr, peak RSS and the + VTK read-back after each case's first run); `candidates.log`, + `query_plan.log`, `route_identity.log`, `pairs_table.txt`, `aggregate.md`, + `power.log`. +- `scripts/`: `pairs.sh`, `runs.sh`, `check_vtk.py`, `make_catchment.py`, + `candidates.py`, `query_plan.py`, `aggregate.py` and `pairs_table.py`. Run + them from the repository root, except `pairs_table.py`, which runs from + this directory. They name the session scratchpad for the meshes and the + base worktree; change `SP` to rerun. +- The meshes are not kept. They stayed in the session scratchpad + (`p16b12/meshes/`). The largest is the 48 km square at 1 m: 6.7 M + triangles, 399 MB. To regenerate them, rerun + `scripts/runs.sh 1`. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r2/README.md b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r2/README.md new file mode 100644 index 00000000..f6eb1cbd --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r2/README.md @@ -0,0 +1,79 @@ +# Benchmark run `16b12-acceptance/base-14f5fe3-r2` + +Generated by `tools/bench.py`. + +## Verdict + +- ACCEPTED + +Time threshold: 5.0 %. + +## Method + +- Started 2026-09-28T23:40:51.178654+02:00; tree `14f5fe318de4113185ded86fd2ebbbb31e281edd`; bench.py blob `77765b181714c31714da476c2335c799c6a84021`. Build: Release, AppleClang 21.0.0.21000101, `-O3 -DNDEBUG`, _core sha256 `190587e7ba0ea96a74a8621767d7d20257c3968126a710db1364e1195afb27d2`. +- Apple M1 Max, 8 P + 2 E cores, 32 GiB, macOS 27.0, Python 3.14.7, numpy 2.5.3. +- Power **battery** (80%), `pmset -g batt` before and after (in run.json). +- DEM `/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif` (sha256 `aabd0cbc28471ce8593e4c278381811bec3fbf4e1194058b3b4888d00c3af575`), tolerance 1.0, extra mesh args ``; domains: `quarter` (/Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-26/quarter.geojson), `tile` (the whole tile). +- One child per sample, `/Users/skavhaug/projects/rasputin/.venv/bin/python /Users/skavhaug/projects/rasputin/tools/bench.py _child --pkg /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/wt-master-14f5fe3/build-bench/pkg --threads -- mesh --dem /Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif --tolerance 1 --out --binary`, repeats interleaved over thread counts; t=0 is the CLI's default, other counts are forced into `refine`. Quality: one `--ascii` run per domain at t=0, kept out of the repository; rerun the child with `--ascii --out PATH` to regenerate it. + +## `quarter` + +| threads | n | median s | min s | max s | +|---:|---:|---:|---:|---:| +| 0 | 5 | 0.1649 | 0.1640 | 0.1717 | +| 1 | 5 | 0.4162 | 0.4062 | 0.4473 | +| 2 | 5 | 0.2694 | 0.2662 | 0.2745 | +| 3 | 5 | 0.2228 | 0.2184 | 0.2255 | +| 4 | 5 | 0.1998 | 0.1987 | 0.2016 | +| 5 | 5 | 0.1840 | 0.1816 | 0.1846 | +| 6 | 5 | 0.1781 | 0.1729 | 0.1840 | +| 7 | 5 | 0.1666 | 0.1657 | 0.1780 | +| 8 | 5 | 0.1617 | 0.1600 | 0.1658 | +| 9 | 5 | 0.1670 | 0.1629 | 0.2575 | +| 10 | 5 | 0.1637 | 0.1589 | 0.1652 | +| 11 | 5 | 0.1642 | 0.1625 | 0.1705 | +| 12 | 5 | 0.1629 | 0.1591 | 0.1663 | +| 13 | 5 | 0.1642 | 0.1618 | 0.1697 | +| 14 | 5 | 0.1635 | 0.1599 | 0.1655 | +| 15 | 5 | 0.1626 | 0.1603 | 0.1642 | +| 16 | 5 | 0.1650 | 0.1645 | 0.1762 | +| 17 | 5 | 0.1649 | 0.1594 | 0.1670 | +| 18 | 5 | 0.1643 | 0.1608 | 0.1696 | +| 19 | 5 | 0.1643 | 0.1602 | 0.1655 | +| 20 | 5 | 0.1650 | 0.1606 | 0.1666 | + +Ceiling: 2.52x at 20 threads over 1, best 2.57x at 8; 2026-09-26: about 2.2x, flat from about 7. + +Quality: worst angle 0.3955 deg, median 45.00, share under 1 deg 0.00003, max degree 18, within tolerance True, Delaunay 0 violations of 641791 edges (80136 decided exactly), mesh sha256 `ccebf96a86c6c5e244e4a0281919de4e866fcfe789b66024a290ac2af33771a1`. + +## `tile` + +| threads | n | median s | min s | max s | +|---:|---:|---:|---:|---:| +| 0 | 5 | 0.1852 | 0.1825 | 0.1915 | +| 1 | 5 | 0.4657 | 0.4611 | 0.4769 | +| 2 | 5 | 0.3016 | 0.2998 | 0.3090 | +| 3 | 5 | 0.2535 | 0.2513 | 0.2747 | +| 4 | 5 | 0.2271 | 0.2258 | 0.2404 | +| 5 | 5 | 0.2108 | 0.2085 | 0.2120 | +| 6 | 5 | 0.1995 | 0.1982 | 0.2009 | +| 7 | 5 | 0.1902 | 0.1895 | 0.2051 | +| 8 | 5 | 0.1846 | 0.1830 | 0.1866 | +| 9 | 5 | 0.1853 | 0.1847 | 0.1858 | +| 10 | 5 | 0.1847 | 0.1826 | 0.1914 | +| 11 | 5 | 0.1846 | 0.1836 | 0.1873 | +| 12 | 5 | 0.1856 | 0.1815 | 0.1873 | +| 13 | 5 | 0.1854 | 0.1805 | 0.1924 | +| 14 | 5 | 0.1856 | 0.1823 | 0.1869 | +| 15 | 5 | 0.1854 | 0.1806 | 0.1869 | +| 16 | 5 | 0.1863 | 0.1853 | 0.1937 | +| 17 | 5 | 0.1861 | 0.1855 | 0.1998 | +| 18 | 5 | 0.1866 | 0.1846 | 0.1962 | +| 19 | 5 | 0.1869 | 0.1821 | 0.1892 | +| 20 | 5 | 0.1874 | 0.1824 | 0.1989 | + +Ceiling: 2.49x at 20 threads over 1, best 2.52x at 8; 2026-09-26: about 2.2x, flat from about 7. + +Quality: worst angle 0.6296 deg, median 45.00, share under 1 deg 0.00000, max degree 74, within tolerance True, Delaunay 0 violations of 692056 edges (94469 decided exactly), mesh sha256 `11741a81adfa17b34a1ea56875ec9e791414d17625eb1c58305e7c0cf10e005c`. + + diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r2/raw.tsv b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r2/raw.tsv new file mode 100644 index 00000000..bfee5b1e --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r2/raw.tsv @@ -0,0 +1,210 @@ +quarter 0 0 0.164876 battery +quarter 1 0 0.416198 battery +quarter 2 0 0.269438 battery +quarter 3 0 0.225521 battery +quarter 4 0 0.198657 battery +quarter 5 0 0.184626 battery +quarter 6 0 0.172935 battery +quarter 7 0 0.165686 battery +quarter 8 0 0.165792 battery +quarter 9 0 0.257474 battery +quarter 10 0 0.163718 battery +quarter 11 0 0.162501 battery +quarter 12 0 0.159128 battery +quarter 13 0 0.161778 battery +quarter 14 0 0.165318 battery +quarter 15 0 0.162617 battery +quarter 16 0 0.176166 battery +quarter 17 0 0.159354 battery +quarter 18 0 0.160762 battery +quarter 19 0 0.160249 battery +quarter 20 0 0.166647 battery +quarter 0 1 0.171744 battery +quarter 1 1 0.447345 battery +quarter 2 1 0.273538 battery +quarter 3 1 0.221120 battery +quarter 4 1 0.201627 battery +quarter 5 1 0.182600 battery +quarter 6 1 0.184013 battery +quarter 7 1 0.167266 battery +quarter 8 1 0.161722 battery +quarter 9 1 0.166992 battery +quarter 10 1 0.165169 battery +quarter 11 1 0.166372 battery +quarter 12 1 0.162569 battery +quarter 13 1 0.164637 battery +quarter 14 1 0.163485 battery +quarter 15 1 0.162537 battery +quarter 16 1 0.164946 battery +quarter 17 1 0.164864 battery +quarter 18 1 0.164302 battery +quarter 19 1 0.162632 battery +quarter 20 1 0.164960 battery +quarter 0 2 0.164634 battery +quarter 1 2 0.406862 battery +quarter 2 2 0.268364 battery +quarter 3 2 0.222786 battery +quarter 4 2 0.199818 battery +quarter 5 2 0.181558 battery +quarter 6 2 0.178084 battery +quarter 7 2 0.166474 battery +quarter 8 2 0.163221 battery +quarter 9 2 0.164799 battery +quarter 10 2 0.165013 battery +quarter 11 2 0.164244 battery +quarter 12 2 0.163459 battery +quarter 13 2 0.164088 battery +quarter 14 2 0.165522 battery +quarter 15 2 0.163554 battery +quarter 16 2 0.164480 battery +quarter 17 2 0.164895 battery +quarter 18 2 0.169596 battery +quarter 19 2 0.164310 battery +quarter 20 2 0.160615 battery +quarter 0 3 0.164884 battery +quarter 1 3 0.406224 battery +quarter 2 3 0.274467 battery +quarter 3 3 0.223528 battery +quarter 4 3 0.201440 battery +quarter 5 3 0.184006 battery +quarter 6 3 0.181854 battery +quarter 7 3 0.177951 battery +quarter 8 3 0.159972 battery +quarter 9 3 0.169877 battery +quarter 10 3 0.158944 battery +quarter 11 3 0.170484 battery +quarter 12 3 0.166327 battery +quarter 13 3 0.169724 battery +quarter 14 3 0.159850 battery +quarter 15 3 0.160336 battery +quarter 16 3 0.169704 battery +quarter 17 3 0.167047 battery +quarter 18 3 0.166366 battery +quarter 19 3 0.164711 battery +quarter 20 3 0.165361 battery +quarter 0 4 0.164026 battery +quarter 1 4 0.417624 battery +quarter 2 4 0.266152 battery +quarter 3 4 0.218402 battery +quarter 4 4 0.199771 battery +quarter 5 4 0.184142 battery +quarter 6 4 0.173989 battery +quarter 7 4 0.166591 battery +quarter 8 4 0.161673 battery +quarter 9 4 0.162887 battery +quarter 10 4 0.158902 battery +quarter 11 4 0.163693 battery +quarter 12 4 0.162929 battery +quarter 13 4 0.164179 battery +quarter 14 4 0.160782 battery +quarter 15 4 0.164228 battery +quarter 16 4 0.164957 battery +quarter 17 4 0.163866 battery +quarter 18 4 0.163629 battery +quarter 19 4 0.165515 battery +quarter 20 4 0.163910 battery +tile 0 0 0.191496 battery +tile 1 0 0.465656 battery +tile 2 0 0.301580 battery +tile 3 0 0.251685 battery +tile 4 0 0.225772 battery +tile 5 0 0.210796 battery +tile 6 0 0.199238 battery +tile 7 0 0.189505 battery +tile 8 0 0.182977 battery +tile 9 0 0.184697 battery +tile 10 0 0.185184 battery +tile 11 0 0.183780 battery +tile 12 0 0.185578 battery +tile 13 0 0.180497 battery +tile 14 0 0.182587 battery +tile 15 0 0.180635 battery +tile 16 0 0.193678 battery +tile 17 0 0.199751 battery +tile 18 0 0.196167 battery +tile 19 0 0.182106 battery +tile 20 0 0.182407 battery +tile 0 1 0.188356 battery +tile 1 1 0.476895 battery +tile 2 1 0.300500 battery +tile 3 1 0.251300 battery +tile 4 1 0.228204 battery +tile 5 1 0.209646 battery +tile 6 1 0.200832 battery +tile 7 1 0.189858 battery +tile 8 1 0.186125 battery +tile 9 1 0.185268 battery +tile 10 1 0.182587 battery +tile 11 1 0.185129 battery +tile 12 1 0.183783 battery +tile 13 1 0.192390 battery +tile 14 1 0.185593 battery +tile 15 1 0.184214 battery +tile 16 1 0.186301 battery +tile 17 1 0.185467 battery +tile 18 1 0.184648 battery +tile 19 1 0.187240 battery +tile 20 1 0.183708 battery +tile 0 2 0.185183 battery +tile 1 2 0.461077 battery +tile 2 2 0.299809 battery +tile 3 2 0.253503 battery +tile 4 2 0.226850 battery +tile 5 2 0.212036 battery +tile 6 2 0.198231 battery +tile 7 2 0.205061 battery +tile 8 2 0.186601 battery +tile 9 2 0.185266 battery +tile 10 2 0.191383 battery +tile 11 2 0.187304 battery +tile 12 2 0.181493 battery +tile 13 2 0.185886 battery +tile 14 2 0.186938 battery +tile 15 2 0.186670 battery +tile 16 2 0.187395 battery +tile 17 2 0.187744 battery +tile 18 2 0.186607 battery +tile 19 2 0.189239 battery +tile 20 2 0.198950 battery +tile 0 3 0.182477 battery +tile 1 3 0.473559 battery +tile 2 3 0.309014 battery +tile 3 3 0.274747 battery +tile 4 3 0.240434 battery +tile 5 3 0.208477 battery +tile 6 3 0.200941 battery +tile 7 3 0.200846 battery +tile 8 3 0.184600 battery +tile 9 3 0.185174 battery +tile 10 3 0.184736 battery +tile 11 3 0.183596 battery +tile 12 3 0.186232 battery +tile 13 3 0.185423 battery +tile 14 3 0.182323 battery +tile 15 3 0.186903 battery +tile 16 3 0.185264 battery +tile 17 3 0.186143 battery +tile 18 3 0.188906 battery +tile 19 3 0.186923 battery +tile 20 3 0.188242 battery +tile 0 4 0.182488 battery +tile 1 4 0.462105 battery +tile 2 4 0.302805 battery +tile 3 4 0.253710 battery +tile 4 4 0.227109 battery +tile 5 4 0.211312 battery +tile 6 4 0.199507 battery +tile 7 4 0.190215 battery +tile 8 4 0.184445 battery +tile 9 4 0.185846 battery +tile 10 4 0.184420 battery +tile 11 4 0.184613 battery +tile 12 4 0.187263 battery +tile 13 4 0.182601 battery +tile 14 4 0.185671 battery +tile 15 4 0.185354 battery +tile 16 4 0.186289 battery +tile 17 4 0.185663 battery +tile 18 4 0.186599 battery +tile 19 4 0.186726 battery +tile 20 4 0.187370 battery diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r2/run.json b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r2/run.json new file mode 100644 index 00000000..b2670959 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r2/run.json @@ -0,0 +1,2955 @@ +{ + "label": "16b12-acceptance/base-14f5fe3-r2", + "started": "2026-09-28T23:40:51.178654+02:00", + "tree": { + "commit": "14f5fe318de4113185ded86fd2ebbbb31e281edd", + "dirty": false + }, + "bench_blob": "77765b181714c31714da476c2335c799c6a84021", + "child_argv": [ + "/Users/skavhaug/projects/rasputin/.venv/bin/python", + "/Users/skavhaug/projects/rasputin/tools/bench.py", + "_child", + "--pkg", + "/private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/wt-master-14f5fe3/build-bench/pkg", + "--threads", + "", + "--", + "mesh", + "--dem", + "/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif", + "--tolerance", + "1", + "--out", + "", + "--binary" + ], + "build": { + "no_build": false, + "type": "Release", + "cxx_flags_release": "-O3 -DNDEBUG", + "compiler": "AppleClang 21.0.0.21000101", + "so_sha256": "190587e7ba0ea96a74a8621767d7d20257c3968126a710db1364e1195afb27d2" + }, + "machine": { + "cpu_brand": "Apple M1 Max", + "p_cores": 8, + "e_cores": 2, + "memory_bytes": 34359738368, + "macos": "27.0", + "python": "3.14.7", + "numpy": "2.5.3" + }, + "power": { + "state": "battery", + "percent": 80, + "raw": "Now drawing from 'Battery Power'\n -InternalBattery-0 (id=7929955)\t81%; discharging; 3:53 remaining present: true\n--- after ---\nNow drawing from 'Battery Power'\n -InternalBattery-0 (id=7929955)\t80%; discharging; 3:23 remaining present: true\n" + }, + "inputs": { + "dem": "/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif", + "dem_sha256": "aabd0cbc28471ce8593e4c278381811bec3fbf4e1194058b3b4888d00c3af575", + "domains": [ + { + "name": "quarter", + "path": "/Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-26/quarter.geojson", + "sha256": "b7f7bbe96848383c77863ce29ee28c45bce087601a1738ee82ddb4ffb8279d1e" + }, + { + "name": "tile", + "path": null, + "sha256": null + } + ], + "tolerance": 1.0, + "extra_args": [] + }, + "samples": [ + { + "domain": "quarter", + "threads": 0, + "repeat": 0, + "refine_s": 0.16487570793833584, + "app_s": 0.27551054093055427, + "proc_s": 0.9755021249875426, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 0, + "refine_s": 0.41619799996260554, + "app_s": 0.5234852499561384, + "proc_s": 0.777222124976106, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 0, + "refine_s": 0.26943758293055, + "app_s": 0.3754212079802528, + "proc_s": 0.6231142919277772, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 0, + "refine_s": 0.2255207090638578, + "app_s": 0.3369379580253735, + "proc_s": 0.5886810419615358, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 0, + "refine_s": 0.1986567920539528, + "app_s": 0.30890862504020333, + "proc_s": 0.5684642079286277, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 0, + "refine_s": 0.18462600000202656, + "app_s": 0.2977965830359608, + "proc_s": 0.5456209999974817, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 0, + "refine_s": 0.17293474997859448, + "app_s": 0.28671108302660286, + "proc_s": 0.5416778749786317, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 0, + "refine_s": 0.16568579094018787, + "app_s": 0.2739400420105085, + "proc_s": 0.5271844170056283, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 0, + "refine_s": 0.16579175007063895, + "app_s": 0.2743737499695271, + "proc_s": 0.5273386669578031, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 0, + "refine_s": 0.25747383409179747, + "app_s": 0.4795362079748884, + "proc_s": 0.7711478339042515, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 0, + "refine_s": 0.1637176249641925, + "app_s": 0.2692828750004992, + "proc_s": 0.649189459043555, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 0, + "refine_s": 0.16250083304475993, + "app_s": 0.269998540985398, + "proc_s": 0.5177063330775127, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 0, + "refine_s": 0.1591277919942513, + "app_s": 0.26467662502545863, + "proc_s": 0.5101496248971671, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 0, + "refine_s": 0.16177837504073977, + "app_s": 0.26960004202555865, + "proc_s": 0.5226686659734696, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 0, + "refine_s": 0.16531837498769164, + "app_s": 0.27853566699195653, + "proc_s": 0.5347401249455288, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 0, + "refine_s": 0.16261749994009733, + "app_s": 0.28370612498838454, + "proc_s": 0.5498740409966558, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 0, + "refine_s": 0.17616575001738966, + "app_s": 0.29316129197832197, + "proc_s": 0.547279458027333, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 0, + "refine_s": 0.1593537499429658, + "app_s": 0.2735029999166727, + "proc_s": 0.520763500011526, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 0, + "refine_s": 0.1607615000102669, + "app_s": 0.2796245419885963, + "proc_s": 0.5264562079682946, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 0, + "refine_s": 0.16024858294986188, + "app_s": 0.2741701250197366, + "proc_s": 0.5284553329693154, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 0, + "refine_s": 0.16664729197509587, + "app_s": 0.2776458750013262, + "proc_s": 0.5259044170379639, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 1, + "refine_s": 0.1717441671062261, + "app_s": 0.28118395805358887, + "proc_s": 0.5406760830665007, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 1, + "refine_s": 0.44734541699290276, + "app_s": 0.5733448329847306, + "proc_s": 0.8298329159151763, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 1, + "refine_s": 0.2735382498940453, + "app_s": 0.38114920794032514, + "proc_s": 0.6288996670627967, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 1, + "refine_s": 0.2211202500620857, + "app_s": 0.3262633749982342, + "proc_s": 0.5794277499662712, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 1, + "refine_s": 0.2016271250322461, + "app_s": 0.32718525000382215, + "proc_s": 0.584310790989548, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 1, + "refine_s": 0.18260029202792794, + "app_s": 0.29013158299494535, + "proc_s": 0.5488699169363827, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 1, + "refine_s": 0.18401287507731467, + "app_s": 0.294232583953999, + "proc_s": 0.5590742499334738, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 1, + "refine_s": 0.16726550005842, + "app_s": 0.2850703749572858, + "proc_s": 0.5387422079220414, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 1, + "refine_s": 0.16172158299013972, + "app_s": 0.26714012504089624, + "proc_s": 0.5194543329998851, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 1, + "refine_s": 0.16699191590305418, + "app_s": 0.27485404105391353, + "proc_s": 0.5239677500212565, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 1, + "refine_s": 0.1651688750134781, + "app_s": 0.2751505000051111, + "proc_s": 0.5294418330304325, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 1, + "refine_s": 0.16637212503701448, + "app_s": 0.275160750024952, + "proc_s": 0.5233673329930753, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 1, + "refine_s": 0.16256870795041323, + "app_s": 0.2688565419521183, + "proc_s": 0.518491042079404, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 1, + "refine_s": 0.16463675000704825, + "app_s": 0.27341654198244214, + "proc_s": 0.5218150839209557, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 1, + "refine_s": 0.1634848329704255, + "app_s": 0.2703656670637429, + "proc_s": 0.5177883750293404, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 1, + "refine_s": 0.16253654204774648, + "app_s": 0.276538958074525, + "proc_s": 0.526354374946095, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 1, + "refine_s": 0.16494629194494337, + "app_s": 0.27333854197058827, + "proc_s": 0.5241558749694377, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 1, + "refine_s": 0.16486424999311566, + "app_s": 0.2711119169835001, + "proc_s": 0.5196416670223698, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 1, + "refine_s": 0.16430241707712412, + "app_s": 0.2757858330151066, + "proc_s": 0.5268484170082957, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 1, + "refine_s": 0.1626317499903962, + "app_s": 0.2716201669536531, + "proc_s": 0.5209167079301551, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 1, + "refine_s": 0.16495958296582103, + "app_s": 0.2717610829276964, + "proc_s": 0.520643207943067, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 2, + "refine_s": 0.1646337501006201, + "app_s": 0.27203324995934963, + "proc_s": 0.5239272919716313, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 2, + "refine_s": 0.4068620839389041, + "app_s": 0.519305458990857, + "proc_s": 0.7725866249529645, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 2, + "refine_s": 0.2683644159696996, + "app_s": 0.3767777079483494, + "proc_s": 0.6266375830164179, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 2, + "refine_s": 0.22278587508480996, + "app_s": 0.3353999169776216, + "proc_s": 0.5876323750708252, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 2, + "refine_s": 0.19981779099907726, + "app_s": 0.3138575420016423, + "proc_s": 0.5617004999658093, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 2, + "refine_s": 0.18155825010035187, + "app_s": 0.2954651670297608, + "proc_s": 0.5502150829415768, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 2, + "refine_s": 0.17808441701345146, + "app_s": 0.28969087498262525, + "proc_s": 0.5371728329919279, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 2, + "refine_s": 0.16647354210726917, + "app_s": 0.2769467090256512, + "proc_s": 0.5262107501039281, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 2, + "refine_s": 0.16322058299556375, + "app_s": 0.27719783305656165, + "proc_s": 0.5275450829649344, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 2, + "refine_s": 0.16479895799420774, + "app_s": 0.28061870799865574, + "proc_s": 0.5314613330410793, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 2, + "refine_s": 0.16501320898532867, + "app_s": 0.2723860000260174, + "proc_s": 0.5210994159569964, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 2, + "refine_s": 0.16424391698092222, + "app_s": 0.2786371249239892, + "proc_s": 0.5385629999218509, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 2, + "refine_s": 0.1634594590868801, + "app_s": 0.2803665839601308, + "proc_s": 0.5376071661012247, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 2, + "refine_s": 0.16408787504769862, + "app_s": 0.2768302080221474, + "proc_s": 0.5404352920595556, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 2, + "refine_s": 0.16552212496753782, + "app_s": 0.2832141669932753, + "proc_s": 0.5320782500784844, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 2, + "refine_s": 0.16355383291374892, + "app_s": 0.27687737497035414, + "proc_s": 0.5273482500342652, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 2, + "refine_s": 0.16447975009214133, + "app_s": 0.2752219589892775, + "proc_s": 0.5251190830022097, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 2, + "refine_s": 0.164895125082694, + "app_s": 0.2773040420142934, + "proc_s": 0.5279180839424953, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 2, + "refine_s": 0.16959583410061896, + "app_s": 0.2847015419974923, + "proc_s": 0.5380153749138117, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 2, + "refine_s": 0.1643104589311406, + "app_s": 0.2728901250520721, + "proc_s": 0.5282733340281993, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 2, + "refine_s": 0.1606150830630213, + "app_s": 0.2709584580734372, + "proc_s": 0.5221831249073148, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 3, + "refine_s": 0.1648840419948101, + "app_s": 0.2802879170048982, + "proc_s": 0.530518583022058, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 3, + "refine_s": 0.4062237920006737, + "app_s": 0.515009667025879, + "proc_s": 0.7676830000709742, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 3, + "refine_s": 0.2744666669750586, + "app_s": 0.3869653339497745, + "proc_s": 0.6470688750268891, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 3, + "refine_s": 0.22352833300828934, + "app_s": 0.3374160419916734, + "proc_s": 0.5865495000034571, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 3, + "refine_s": 0.20143962500151247, + "app_s": 0.31144670804496855, + "proc_s": 0.5649708750424907, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 3, + "refine_s": 0.18400637502782047, + "app_s": 0.29634783300571144, + "proc_s": 0.5440841669915244, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 3, + "refine_s": 0.18185370799619704, + "app_s": 0.30051366693805903, + "proc_s": 0.5564423750620335, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 3, + "refine_s": 0.1779511250788346, + "app_s": 0.29442454199306667, + "proc_s": 0.5559248750796542, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 3, + "refine_s": 0.15997224999591708, + "app_s": 0.2774930829182267, + "proc_s": 0.5265957090305164, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 3, + "refine_s": 0.16987662494648248, + "app_s": 0.2812247909605503, + "proc_s": 0.5427739580627531, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 3, + "refine_s": 0.15894433297216892, + "app_s": 0.2704305419465527, + "proc_s": 0.5277924159308895, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 3, + "refine_s": 0.17048424994572997, + "app_s": 0.2861267909174785, + "proc_s": 0.5367307079723105, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 3, + "refine_s": 0.16632662492338568, + "app_s": 0.28832216700538993, + "proc_s": 0.5462565419729799, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 3, + "refine_s": 0.16972379200160503, + "app_s": 0.3162225419655442, + "proc_s": 0.5847054589539766, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 3, + "refine_s": 0.1598502080887556, + "app_s": 0.274678917019628, + "proc_s": 0.5262364590307698, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 3, + "refine_s": 0.1603355830302462, + "app_s": 0.27092845796141773, + "proc_s": 0.5260988749796525, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 3, + "refine_s": 0.16970429196953773, + "app_s": 0.2881946249399334, + "proc_s": 0.5439404590288177, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 3, + "refine_s": 0.16704654099885374, + "app_s": 0.2772022499702871, + "proc_s": 0.5331324168946594, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 3, + "refine_s": 0.16636608308181167, + "app_s": 0.2755494159646332, + "proc_s": 0.528190957964398, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 3, + "refine_s": 0.16471137502230704, + "app_s": 0.28698054095730186, + "proc_s": 0.5496833749348298, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 3, + "refine_s": 0.16536108404397964, + "app_s": 0.2768114999635145, + "proc_s": 0.5268558750394732, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 4, + "refine_s": 0.16402570891659707, + "app_s": 0.27689979202114046, + "proc_s": 0.5288262499962002, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 4, + "refine_s": 0.4176236670464277, + "app_s": 0.5287186249624938, + "proc_s": 0.7783042499795556, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 4, + "refine_s": 0.2661519160028547, + "app_s": 0.3784560830099508, + "proc_s": 0.6307544159935787, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 4, + "refine_s": 0.21840154204983264, + "app_s": 0.3347734999842942, + "proc_s": 0.5899232079973444, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 4, + "refine_s": 0.19977054209448397, + "app_s": 0.31526724994182587, + "proc_s": 0.5688819999340922, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 4, + "refine_s": 0.18414224998559803, + "app_s": 0.29443975002504885, + "proc_s": 0.545743958093226, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 4, + "refine_s": 0.1739891249453649, + "app_s": 0.28845024993643165, + "proc_s": 0.5364343330729753, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 4, + "refine_s": 0.16659087501466274, + "app_s": 0.2862775420071557, + "proc_s": 0.5381607499439269, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 4, + "refine_s": 0.1616726249922067, + "app_s": 0.27668999996967614, + "proc_s": 0.5257382499985397, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 4, + "refine_s": 0.162887042039074, + "app_s": 0.2715684160357341, + "proc_s": 0.5205142080085352, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 4, + "refine_s": 0.15890208294149488, + "app_s": 0.2638681660173461, + "proc_s": 0.5157601670362055, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 4, + "refine_s": 0.16369324992410839, + "app_s": 0.27212491596583277, + "proc_s": 0.5204597499687225, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 4, + "refine_s": 0.16292866703588516, + "app_s": 0.2709822499891743, + "proc_s": 0.5199482499156147, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 4, + "refine_s": 0.16417879099026322, + "app_s": 0.2809677079785615, + "proc_s": 0.5292384590720758, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 4, + "refine_s": 0.16078229097183794, + "app_s": 0.26829020807053894, + "proc_s": 0.5172713749343529, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 4, + "refine_s": 0.16422829101793468, + "app_s": 0.2705524580087513, + "proc_s": 0.5183876249939203, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 4, + "refine_s": 0.1649565000552684, + "app_s": 0.27237787505146116, + "proc_s": 0.5211155000142753, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 4, + "refine_s": 0.16386629093904048, + "app_s": 0.27060191601049155, + "proc_s": 0.5174050410278141, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 4, + "refine_s": 0.16362879192456603, + "app_s": 0.27051624993328005, + "proc_s": 0.5254338750382885, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 4, + "refine_s": 0.16551470896229148, + "app_s": 0.27075504197273403, + "proc_s": 0.5180244169896469, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 4, + "refine_s": 0.16391004191245884, + "app_s": 0.270387458964251, + "proc_s": 0.5192304169759154, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 0, + "refine_s": 0.19149570807348937, + "app_s": 0.3382222920190543, + "proc_s": 0.5931677089538425, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 0, + "refine_s": 0.4656562079908326, + "app_s": 0.5983200420159847, + "proc_s": 0.8570352910319343, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 0, + "refine_s": 0.30158004199620336, + "app_s": 0.4387553749838844, + "proc_s": 0.6938600420253351, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 0, + "refine_s": 0.25168512493837625, + "app_s": 0.3858312499942258, + "proc_s": 0.6334802909987047, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 0, + "refine_s": 0.2257720420602709, + "app_s": 0.36128154199104756, + "proc_s": 0.6167882919544354, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 0, + "refine_s": 0.2107964170863852, + "app_s": 0.34399362502153963, + "proc_s": 0.5979084169957787, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 0, + "refine_s": 0.19923829205799848, + "app_s": 0.33622495795134455, + "proc_s": 0.5870370839256793, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 0, + "refine_s": 0.1895046659046784, + "app_s": 0.3231822910020128, + "proc_s": 0.5709668749477714, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 0, + "refine_s": 0.18297720793634653, + "app_s": 0.3169991249451414, + "proc_s": 0.5671801250427961, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 0, + "refine_s": 0.18469691602513194, + "app_s": 0.31548241700511426, + "proc_s": 0.5651519580278546, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 0, + "refine_s": 0.185183540917933, + "app_s": 0.31907537509687245, + "proc_s": 0.5749439169885591, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 0, + "refine_s": 0.1837801670189947, + "app_s": 0.3158797499490902, + "proc_s": 0.5696038749301806, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 0, + "refine_s": 0.1855783750070259, + "app_s": 0.32113183301407844, + "proc_s": 0.5722780000651255, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 0, + "refine_s": 0.18049720907583833, + "app_s": 0.3163125410210341, + "proc_s": 0.5773868749383837, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 0, + "refine_s": 0.18258745898492634, + "app_s": 0.3217208329588175, + "proc_s": 0.5716969160130247, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 0, + "refine_s": 0.18063495797105134, + "app_s": 0.32366808294318616, + "proc_s": 0.5765695839654654, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 0, + "refine_s": 0.19367816695012152, + "app_s": 0.33101016702130437, + "proc_s": 0.5889021659968421, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 0, + "refine_s": 0.1997505830368027, + "app_s": 0.34355545800644904, + "proc_s": 0.6060683330288157, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 0, + "refine_s": 0.1961671659955755, + "app_s": 0.3371753329411149, + "proc_s": 0.621123541961424, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 0, + "refine_s": 0.1821055409964174, + "app_s": 0.3220118749886751, + "proc_s": 0.5708382909651846, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 0, + "refine_s": 0.1824070829898119, + "app_s": 0.31864700000733137, + "proc_s": 0.5777241670293733, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 1, + "refine_s": 0.18835558404680341, + "app_s": 0.33216604101471603, + "proc_s": 0.5878505000146106, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 1, + "refine_s": 0.4768947910051793, + "app_s": 0.6214133340399712, + "proc_s": 0.8677736250683665, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 1, + "refine_s": 0.30049983295612037, + "app_s": 0.43684095796197653, + "proc_s": 0.6944152499781922, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 1, + "refine_s": 0.25130037497729063, + "app_s": 0.3860499579459429, + "proc_s": 0.6355044998927042, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 1, + "refine_s": 0.22820416593458503, + "app_s": 0.3659362919861451, + "proc_s": 0.6175653749378398, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 1, + "refine_s": 0.20964579202700406, + "app_s": 0.3473665000637993, + "proc_s": 0.5983791670296341, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 1, + "refine_s": 0.2008323329500854, + "app_s": 0.33704970800317824, + "proc_s": 0.5877316659316421, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 1, + "refine_s": 0.18985787499696016, + "app_s": 0.32581158296670765, + "proc_s": 0.5724451249698177, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 1, + "refine_s": 0.1861245420295745, + "app_s": 0.31933058297727257, + "proc_s": 0.5681134590413421, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 1, + "refine_s": 0.1852682080352679, + "app_s": 0.3189687909325585, + "proc_s": 0.5674655829789117, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 1, + "refine_s": 0.18258745793718845, + "app_s": 0.31865545897744596, + "proc_s": 0.5716950829373673, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 1, + "refine_s": 0.1851289999904111, + "app_s": 0.3213731669820845, + "proc_s": 0.5689832919742912, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 1, + "refine_s": 0.18378287507221103, + "app_s": 0.3202073338907212, + "proc_s": 0.5674615000607446, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 1, + "refine_s": 0.19238991709426045, + "app_s": 0.33060812507756054, + "proc_s": 0.5818954999558628, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 1, + "refine_s": 0.18559324997477233, + "app_s": 0.32171241706237197, + "proc_s": 0.581315292045474, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 1, + "refine_s": 0.1842135830083862, + "app_s": 0.319600542075932, + "proc_s": 0.572227208991535, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 1, + "refine_s": 0.18630141601897776, + "app_s": 0.32103749993257225, + "proc_s": 0.5693827919894829, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 1, + "refine_s": 0.18546687497291714, + "app_s": 0.3254876669961959, + "proc_s": 0.5808438330423087, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 1, + "refine_s": 0.18464824999682605, + "app_s": 0.32217091601341963, + "proc_s": 0.5847301670582965, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 1, + "refine_s": 0.18724008300341666, + "app_s": 0.3258120419923216, + "proc_s": 0.5772148329997435, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 1, + "refine_s": 0.18370820803102106, + "app_s": 0.3258516670903191, + "proc_s": 0.5772260830271989, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 2, + "refine_s": 0.18518337502609938, + "app_s": 0.3253279170021415, + "proc_s": 0.5768830829765648, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 2, + "refine_s": 0.4610765000106767, + "app_s": 0.5988187079783529, + "proc_s": 0.8524470831034705, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 2, + "refine_s": 0.29980887507554144, + "app_s": 0.43629033397883177, + "proc_s": 0.691670750034973, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 2, + "refine_s": 0.2535027920966968, + "app_s": 0.39156237489078194, + "proc_s": 0.6386865420499817, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 2, + "refine_s": 0.22685029194690287, + "app_s": 0.36359354201704264, + "proc_s": 0.6129712499678135, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 2, + "refine_s": 0.21203629102092236, + "app_s": 0.34823108301497996, + "proc_s": 0.5957976250210777, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 2, + "refine_s": 0.1982310420135036, + "app_s": 0.33506904100067914, + "proc_s": 0.5832395419711247, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 2, + "refine_s": 0.20506083290092647, + "app_s": 0.3457804589997977, + "proc_s": 0.5939152090577409, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 2, + "refine_s": 0.18660083308350295, + "app_s": 0.33219920797273517, + "proc_s": 0.5997505419654772, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 2, + "refine_s": 0.18526612501591444, + "app_s": 0.33935370889957994, + "proc_s": 0.589551749988459, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 2, + "refine_s": 0.19138275005389005, + "app_s": 0.3227264169836417, + "proc_s": 0.5727750839432701, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 2, + "refine_s": 0.18730441597290337, + "app_s": 0.31923633301630616, + "proc_s": 0.5686010420322418, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 2, + "refine_s": 0.18149274995084852, + "app_s": 0.3164544169558212, + "proc_s": 0.5725616249255836, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 2, + "refine_s": 0.18588633299805224, + "app_s": 0.3197129999753088, + "proc_s": 0.570230457931757, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 2, + "refine_s": 0.18693812494166195, + "app_s": 0.3207480419659987, + "proc_s": 0.5775777909439057, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 2, + "refine_s": 0.18666983302682638, + "app_s": 0.32288058300036937, + "proc_s": 0.5719193340046331, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 2, + "refine_s": 0.1873952919850126, + "app_s": 0.3191482920665294, + "proc_s": 0.5714148330735043, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 2, + "refine_s": 0.18774441699497402, + "app_s": 0.32472470798529685, + "proc_s": 0.5768883749842644, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 2, + "refine_s": 0.1866074170684442, + "app_s": 0.32403233309742063, + "proc_s": 0.5879539160523564, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 2, + "refine_s": 0.1892390000866726, + "app_s": 0.3292116249212995, + "proc_s": 0.5845044580055401, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 2, + "refine_s": 0.1989499171031639, + "app_s": 0.34450141701381654, + "proc_s": 0.5986984580522403, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 3, + "refine_s": 0.18247745791450143, + "app_s": 0.32149674999527633, + "proc_s": 0.5726095420541242, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 3, + "refine_s": 0.4735585420858115, + "app_s": 0.6105765420943499, + "proc_s": 0.8590916669927537, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 3, + "refine_s": 0.3090135829988867, + "app_s": 0.4462010000133887, + "proc_s": 0.6928013330325484, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 3, + "refine_s": 0.2747468330198899, + "app_s": 0.416661583003588, + "proc_s": 0.6636582920327783, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 3, + "refine_s": 0.24043441703543067, + "app_s": 0.3866845000302419, + "proc_s": 0.6536035418976098, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 3, + "refine_s": 0.20847720897290856, + "app_s": 0.34362841700203717, + "proc_s": 0.5896535830106586, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 3, + "refine_s": 0.2009410000173375, + "app_s": 0.336882458999753, + "proc_s": 0.5905290000373498, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 3, + "refine_s": 0.20084645797032863, + "app_s": 0.34280512505210936, + "proc_s": 0.6010795420734212, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 3, + "refine_s": 0.18460008304100484, + "app_s": 0.32815537496935576, + "proc_s": 0.5847475830232725, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 3, + "refine_s": 0.18517416703980416, + "app_s": 0.3424123330041766, + "proc_s": 0.5939069580053911, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 3, + "refine_s": 0.18473625008482486, + "app_s": 0.3187924170633778, + "proc_s": 0.565594624960795, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 3, + "refine_s": 0.18359625001903623, + "app_s": 0.32308374997228384, + "proc_s": 0.5762852920452133, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 3, + "refine_s": 0.18623179092537612, + "app_s": 0.32544191693887115, + "proc_s": 0.5758491670712829, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 3, + "refine_s": 0.1854234579950571, + "app_s": 0.33272337506059557, + "proc_s": 0.5848489999771118, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 3, + "refine_s": 0.18232258409261703, + "app_s": 0.32078516692854464, + "proc_s": 0.5732387499883771, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 3, + "refine_s": 0.18690258299466223, + "app_s": 0.32315266598016024, + "proc_s": 0.5725982909789309, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 3, + "refine_s": 0.18526437494438142, + "app_s": 0.3232503749895841, + "proc_s": 0.5750968749634922, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 3, + "refine_s": 0.18614308291580528, + "app_s": 0.3246527920709923, + "proc_s": 0.5725868329172954, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 3, + "refine_s": 0.1889059169916436, + "app_s": 0.3251790830399841, + "proc_s": 0.5779947920236737, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 3, + "refine_s": 0.18692304100841284, + "app_s": 0.3215005410602316, + "proc_s": 0.5691733330022544, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 3, + "refine_s": 0.18824175000190735, + "app_s": 0.3214495829306543, + "proc_s": 0.5705747919855639, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 4, + "refine_s": 0.18248791701626033, + "app_s": 0.32073279097676277, + "proc_s": 0.5742258749669418, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 4, + "refine_s": 0.46210491692181677, + "app_s": 0.5966283329762518, + "proc_s": 0.846863167011179, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 4, + "refine_s": 0.3028049170970917, + "app_s": 0.4382318329298869, + "proc_s": 0.6852838329505175, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 4, + "refine_s": 0.2537099999608472, + "app_s": 0.38806754199322313, + "proc_s": 0.6364394169067964, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 4, + "refine_s": 0.22710920800454915, + "app_s": 0.3644065000116825, + "proc_s": 0.6124510410008952, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 4, + "refine_s": 0.2113118750276044, + "app_s": 0.3436053750338033, + "proc_s": 0.5913244159892201, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 4, + "refine_s": 0.19950654194690287, + "app_s": 0.33321449998766184, + "proc_s": 0.5799252080032602, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 4, + "refine_s": 0.19021516607608646, + "app_s": 0.32461683300789446, + "proc_s": 0.5775984160136431, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 4, + "refine_s": 0.18444491701666266, + "app_s": 0.3169650000054389, + "proc_s": 0.5665466669015586, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 4, + "refine_s": 0.18584558297879994, + "app_s": 0.32021991699002683, + "proc_s": 0.5685442090034485, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 4, + "refine_s": 0.18442045897245407, + "app_s": 0.3176997499540448, + "proc_s": 0.5680297500221059, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 4, + "refine_s": 0.18461274995934218, + "app_s": 0.31868937495164573, + "proc_s": 0.5659688749583438, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 4, + "refine_s": 0.18726250005420297, + "app_s": 0.32594583299942315, + "proc_s": 0.5753901660209522, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 4, + "refine_s": 0.18260070797987282, + "app_s": 0.317148125031963, + "proc_s": 0.5681656670058146, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 4, + "refine_s": 0.18567091692239046, + "app_s": 0.31959183292929083, + "proc_s": 0.5721186249284074, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 4, + "refine_s": 0.18535370903555304, + "app_s": 0.3194983749417588, + "proc_s": 0.5676534580998123, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 4, + "refine_s": 0.18628924991935492, + "app_s": 0.3247193329734728, + "proc_s": 0.573939458001405, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 4, + "refine_s": 0.18566291697788984, + "app_s": 0.32038741593714803, + "proc_s": 0.5739637908991426, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 4, + "refine_s": 0.18659858405590057, + "app_s": 0.31974137492943555, + "proc_s": 0.5690435830038041, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 4, + "refine_s": 0.18672616698313504, + "app_s": 0.32189312507398427, + "proc_s": 0.5715427919058129, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 4, + "refine_s": 0.18736958305817097, + "app_s": 0.32342862500809133, + "proc_s": 0.5781327500008047, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + } + ], + "stats": [ + { + "domain": "quarter", + "threads": 0, + "n": 5, + "median": 0.16487570793833584, + "min": 0.16402570891659707, + "max": 0.1717441671062261 + }, + { + "domain": "quarter", + "threads": 1, + "n": 5, + "median": 0.41619799996260554, + "min": 0.4062237920006737, + "max": 0.44734541699290276 + }, + { + "domain": "quarter", + "threads": 2, + "n": 5, + "median": 0.26943758293055, + "min": 0.2661519160028547, + "max": 0.2744666669750586 + }, + { + "domain": "quarter", + "threads": 3, + "n": 5, + "median": 0.22278587508480996, + "min": 0.21840154204983264, + "max": 0.2255207090638578 + }, + { + "domain": "quarter", + "threads": 4, + "n": 5, + "median": 0.19981779099907726, + "min": 0.1986567920539528, + "max": 0.2016271250322461 + }, + { + "domain": "quarter", + "threads": 5, + "n": 5, + "median": 0.18400637502782047, + "min": 0.18155825010035187, + "max": 0.18462600000202656 + }, + { + "domain": "quarter", + "threads": 6, + "n": 5, + "median": 0.17808441701345146, + "min": 0.17293474997859448, + "max": 0.18401287507731467 + }, + { + "domain": "quarter", + "threads": 7, + "n": 5, + "median": 0.16659087501466274, + "min": 0.16568579094018787, + "max": 0.1779511250788346 + }, + { + "domain": "quarter", + "threads": 8, + "n": 5, + "median": 0.16172158299013972, + "min": 0.15997224999591708, + "max": 0.16579175007063895 + }, + { + "domain": "quarter", + "threads": 9, + "n": 5, + "median": 0.16699191590305418, + "min": 0.162887042039074, + "max": 0.25747383409179747 + }, + { + "domain": "quarter", + "threads": 10, + "n": 5, + "median": 0.1637176249641925, + "min": 0.15890208294149488, + "max": 0.1651688750134781 + }, + { + "domain": "quarter", + "threads": 11, + "n": 5, + "median": 0.16424391698092222, + "min": 0.16250083304475993, + "max": 0.17048424994572997 + }, + { + "domain": "quarter", + "threads": 12, + "n": 5, + "median": 0.16292866703588516, + "min": 0.1591277919942513, + "max": 0.16632662492338568 + }, + { + "domain": "quarter", + "threads": 13, + "n": 5, + "median": 0.16417879099026322, + "min": 0.16177837504073977, + "max": 0.16972379200160503 + }, + { + "domain": "quarter", + "threads": 14, + "n": 5, + "median": 0.1634848329704255, + "min": 0.1598502080887556, + "max": 0.16552212496753782 + }, + { + "domain": "quarter", + "threads": 15, + "n": 5, + "median": 0.16261749994009733, + "min": 0.1603355830302462, + "max": 0.16422829101793468 + }, + { + "domain": "quarter", + "threads": 16, + "n": 5, + "median": 0.1649565000552684, + "min": 0.16447975009214133, + "max": 0.17616575001738966 + }, + { + "domain": "quarter", + "threads": 17, + "n": 5, + "median": 0.16486424999311566, + "min": 0.1593537499429658, + "max": 0.16704654099885374 + }, + { + "domain": "quarter", + "threads": 18, + "n": 5, + "median": 0.16430241707712412, + "min": 0.1607615000102669, + "max": 0.16959583410061896 + }, + { + "domain": "quarter", + "threads": 19, + "n": 5, + "median": 0.1643104589311406, + "min": 0.16024858294986188, + "max": 0.16551470896229148 + }, + { + "domain": "quarter", + "threads": 20, + "n": 5, + "median": 0.16495958296582103, + "min": 0.1606150830630213, + "max": 0.16664729197509587 + }, + { + "domain": "tile", + "threads": 0, + "n": 5, + "median": 0.18518337502609938, + "min": 0.18247745791450143, + "max": 0.19149570807348937 + }, + { + "domain": "tile", + "threads": 1, + "n": 5, + "median": 0.4656562079908326, + "min": 0.4610765000106767, + "max": 0.4768947910051793 + }, + { + "domain": "tile", + "threads": 2, + "n": 5, + "median": 0.30158004199620336, + "min": 0.29980887507554144, + "max": 0.3090135829988867 + }, + { + "domain": "tile", + "threads": 3, + "n": 5, + "median": 0.2535027920966968, + "min": 0.25130037497729063, + "max": 0.2747468330198899 + }, + { + "domain": "tile", + "threads": 4, + "n": 5, + "median": 0.22710920800454915, + "min": 0.2257720420602709, + "max": 0.24043441703543067 + }, + { + "domain": "tile", + "threads": 5, + "n": 5, + "median": 0.2107964170863852, + "min": 0.20847720897290856, + "max": 0.21203629102092236 + }, + { + "domain": "tile", + "threads": 6, + "n": 5, + "median": 0.19950654194690287, + "min": 0.1982310420135036, + "max": 0.2009410000173375 + }, + { + "domain": "tile", + "threads": 7, + "n": 5, + "median": 0.19021516607608646, + "min": 0.1895046659046784, + "max": 0.20506083290092647 + }, + { + "domain": "tile", + "threads": 8, + "n": 5, + "median": 0.18460008304100484, + "min": 0.18297720793634653, + "max": 0.18660083308350295 + }, + { + "domain": "tile", + "threads": 9, + "n": 5, + "median": 0.18526612501591444, + "min": 0.18469691602513194, + "max": 0.18584558297879994 + }, + { + "domain": "tile", + "threads": 10, + "n": 5, + "median": 0.18473625008482486, + "min": 0.18258745793718845, + "max": 0.19138275005389005 + }, + { + "domain": "tile", + "threads": 11, + "n": 5, + "median": 0.18461274995934218, + "min": 0.18359625001903623, + "max": 0.18730441597290337 + }, + { + "domain": "tile", + "threads": 12, + "n": 5, + "median": 0.1855783750070259, + "min": 0.18149274995084852, + "max": 0.18726250005420297 + }, + { + "domain": "tile", + "threads": 13, + "n": 5, + "median": 0.1854234579950571, + "min": 0.18049720907583833, + "max": 0.19238991709426045 + }, + { + "domain": "tile", + "threads": 14, + "n": 5, + "median": 0.18559324997477233, + "min": 0.18232258409261703, + "max": 0.18693812494166195 + }, + { + "domain": "tile", + "threads": 15, + "n": 5, + "median": 0.18535370903555304, + "min": 0.18063495797105134, + "max": 0.18690258299466223 + }, + { + "domain": "tile", + "threads": 16, + "n": 5, + "median": 0.18630141601897776, + "min": 0.18526437494438142, + "max": 0.19367816695012152 + }, + { + "domain": "tile", + "threads": 17, + "n": 5, + "median": 0.18614308291580528, + "min": 0.18546687497291714, + "max": 0.1997505830368027 + }, + { + "domain": "tile", + "threads": 18, + "n": 5, + "median": 0.1866074170684442, + "min": 0.18464824999682605, + "max": 0.1961671659955755 + }, + { + "domain": "tile", + "threads": 19, + "n": 5, + "median": 0.18692304100841284, + "min": 0.1821055409964174, + "max": 0.1892390000866726 + }, + { + "domain": "tile", + "threads": 20, + "n": 5, + "median": 0.18736958305817097, + "min": 0.1824070829898119, + "max": 0.1989499171031639 + } + ], + "quality": { + "quarter": { + "worst_angle": 0.3955267116350698, + "angle_median": 45.0, + "share_under_1": 0.000028023175165862168, + "max_degree": 18, + "within_tolerance": true, + "delaunay_checked": 641791, + "delaunay_ambiguous": 80136, + "delaunay_violations": 0, + "mesh_sha256": "ccebf96a86c6c5e244e4a0281919de4e866fcfe789b66024a290ac2af33771a1" + }, + "tile": { + "worst_angle": 0.6295986084102668, + "angle_median": 45.0, + "share_under_1": 2.1538262723728703e-6, + "max_degree": 74, + "within_tolerance": true, + "delaunay_checked": 692056, + "delaunay_ambiguous": 94469, + "delaunay_violations": 0, + "mesh_sha256": "11741a81adfa17b34a1ea56875ec9e791414d17625eb1c58305e7c0cf10e005c" + } + }, + "accept_quality": false, + "threshold_pct": 5.0, + "verdict": [ + "ACCEPTED" + ] +} diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r3/README.md b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r3/README.md new file mode 100644 index 00000000..791f956a --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r3/README.md @@ -0,0 +1,79 @@ +# Benchmark run `16b12-acceptance/base-14f5fe3-r3` + +Generated by `tools/bench.py`. + +## Verdict + +- REGRESSION: tile refine_s[t=2] 0.3113 -> 0.3292 (+5.7 %) + +Time threshold: 5.0 %. + +## Method + +- Started 2026-09-28T23:45:14.061842+02:00; tree `14f5fe318de4113185ded86fd2ebbbb31e281edd`; bench.py blob `77765b181714c31714da476c2335c799c6a84021`. Build: Release, AppleClang 21.0.0.21000101, `-O3 -DNDEBUG`, _core sha256 `190587e7ba0ea96a74a8621767d7d20257c3968126a710db1364e1195afb27d2`. +- Apple M1 Max, 8 P + 2 E cores, 32 GiB, macOS 27.0, Python 3.14.7, numpy 2.5.3. +- Power **battery** (78%), `pmset -g batt` before and after (in run.json). +- DEM `/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif` (sha256 `aabd0cbc28471ce8593e4c278381811bec3fbf4e1194058b3b4888d00c3af575`), tolerance 1.0, extra mesh args ``; domains: `quarter` (/Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-26/quarter.geojson), `tile` (the whole tile). +- One child per sample, `/Users/skavhaug/projects/rasputin/.venv/bin/python /Users/skavhaug/projects/rasputin/tools/bench.py _child --pkg /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/wt-master-14f5fe3/build-bench/pkg --threads -- mesh --dem /Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif --tolerance 1 --out --binary`, repeats interleaved over thread counts; t=0 is the CLI's default, other counts are forced into `refine`. Quality: one `--ascii` run per domain at t=0, kept out of the repository; rerun the child with `--ascii --out PATH` to regenerate it. + +## `quarter` + +| threads | n | median s | min s | max s | +|---:|---:|---:|---:|---:| +| 0 | 5 | 0.1634 | 0.1617 | 0.1702 | +| 1 | 5 | 0.4124 | 0.4102 | 0.4507 | +| 2 | 5 | 0.2664 | 0.2658 | 0.2979 | +| 3 | 5 | 0.2207 | 0.2186 | 0.2419 | +| 4 | 5 | 0.1985 | 0.1978 | 0.2183 | +| 5 | 5 | 0.1843 | 0.1828 | 0.2047 | +| 6 | 5 | 0.1739 | 0.1734 | 0.1851 | +| 7 | 5 | 0.1670 | 0.1652 | 0.1802 | +| 8 | 5 | 0.1626 | 0.1611 | 0.1755 | +| 9 | 5 | 0.1642 | 0.1610 | 0.1764 | +| 10 | 5 | 0.1660 | 0.1606 | 0.1828 | +| 11 | 5 | 0.1663 | 0.1634 | 0.1754 | +| 12 | 5 | 0.1596 | 0.1586 | 0.1669 | +| 13 | 5 | 0.1637 | 0.1589 | 0.1710 | +| 14 | 5 | 0.1647 | 0.1605 | 0.1668 | +| 15 | 5 | 0.1645 | 0.1617 | 0.2256 | +| 16 | 5 | 0.1631 | 0.1610 | 0.1648 | +| 17 | 5 | 0.1655 | 0.1608 | 0.1740 | +| 18 | 5 | 0.1633 | 0.1602 | 0.1787 | +| 19 | 5 | 0.1656 | 0.1599 | 0.1744 | +| 20 | 5 | 0.1655 | 0.1634 | 0.1687 | + +Ceiling: 2.49x at 20 threads over 1, best 2.58x at 12; 2026-09-26: about 2.2x, flat from about 7. + +Quality: worst angle 0.3955 deg, median 45.00, share under 1 deg 0.00003, max degree 18, within tolerance True, Delaunay 0 violations of 641791 edges (80136 decided exactly), mesh sha256 `ccebf96a86c6c5e244e4a0281919de4e866fcfe789b66024a290ac2af33771a1`. + +## `tile` + +| threads | n | median s | min s | max s | +|---:|---:|---:|---:|---:| +| 0 | 5 | 0.1933 | 0.1856 | 0.2107 | +| 1 | 5 | 0.4935 | 0.4618 | 0.7260 | +| 2 | 5 | 0.3292 | 0.2996 | 0.3560 | +| 3 | 5 | 0.2662 | 0.2541 | 0.2858 | +| 4 | 5 | 0.2335 | 0.2297 | 0.2523 | +| 5 | 5 | 0.2123 | 0.2103 | 0.2366 | +| 6 | 5 | 0.2009 | 0.1982 | 0.2115 | +| 7 | 5 | 0.1917 | 0.1885 | 0.2077 | +| 8 | 5 | 0.1909 | 0.1851 | 0.2059 | +| 9 | 5 | 0.1867 | 0.1838 | 0.1911 | +| 10 | 5 | 0.1875 | 0.1856 | 0.2091 | +| 11 | 5 | 0.1930 | 0.1846 | 0.1992 | +| 12 | 5 | 0.1859 | 0.1847 | 0.2353 | +| 13 | 5 | 0.1866 | 0.1840 | 0.2022 | +| 14 | 5 | 0.1861 | 0.1845 | 0.1998 | +| 15 | 5 | 0.1859 | 0.1853 | 0.1974 | +| 16 | 5 | 0.1896 | 0.1858 | 0.2740 | +| 17 | 5 | 0.1872 | 0.1864 | 0.2075 | +| 18 | 5 | 0.1881 | 0.1814 | 0.2979 | +| 19 | 5 | 0.1908 | 0.1860 | 0.2137 | +| 20 | 5 | 0.1915 | 0.1845 | 0.2066 | + +Ceiling: 2.58x at 20 threads over 1, best 2.66x at 12; 2026-09-26: about 2.2x, flat from about 7. + +Quality: worst angle 0.6296 deg, median 45.00, share under 1 deg 0.00000, max degree 74, within tolerance True, Delaunay 0 violations of 692056 edges (94469 decided exactly), mesh sha256 `11741a81adfa17b34a1ea56875ec9e791414d17625eb1c58305e7c0cf10e005c`. + + diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r3/raw.tsv b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r3/raw.tsv new file mode 100644 index 00000000..c4e4d542 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r3/raw.tsv @@ -0,0 +1,210 @@ +quarter 0 0 0.163280 battery +quarter 1 0 0.410677 battery +quarter 2 0 0.265838 battery +quarter 3 0 0.238016 battery +quarter 4 0 0.197839 battery +quarter 5 0 0.184309 battery +quarter 6 0 0.173353 battery +quarter 7 0 0.165162 battery +quarter 8 0 0.161380 battery +quarter 9 0 0.164242 battery +quarter 10 0 0.164937 battery +quarter 11 0 0.164209 battery +quarter 12 0 0.164626 battery +quarter 13 0 0.163719 battery +quarter 14 0 0.163426 battery +quarter 15 0 0.164310 battery +quarter 16 0 0.163594 battery +quarter 17 0 0.165840 battery +quarter 18 0 0.162784 battery +quarter 19 0 0.165630 battery +quarter 20 0 0.165256 battery +quarter 0 1 0.163396 battery +quarter 1 1 0.428488 battery +quarter 2 1 0.266362 battery +quarter 3 1 0.219317 battery +quarter 4 1 0.198472 battery +quarter 5 1 0.183422 battery +quarter 6 1 0.173855 battery +quarter 7 1 0.166966 battery +quarter 8 1 0.164085 battery +quarter 9 1 0.161863 battery +quarter 10 1 0.160555 battery +quarter 11 1 0.167797 battery +quarter 12 1 0.158646 battery +quarter 13 1 0.170974 battery +quarter 14 1 0.166283 battery +quarter 15 1 0.161665 battery +quarter 16 1 0.163108 battery +quarter 17 1 0.160814 battery +quarter 18 1 0.178670 battery +quarter 19 1 0.159924 battery +quarter 20 1 0.163360 battery +quarter 0 2 0.161680 battery +quarter 1 2 0.410169 battery +quarter 2 2 0.266478 battery +quarter 3 2 0.220670 battery +quarter 4 2 0.198377 battery +quarter 5 2 0.204723 battery +quarter 6 2 0.174507 battery +quarter 7 2 0.167616 battery +quarter 8 2 0.161108 battery +quarter 9 2 0.164165 battery +quarter 10 2 0.166252 battery +quarter 11 2 0.166285 battery +quarter 12 2 0.159092 battery +quarter 13 2 0.164523 battery +quarter 14 2 0.164703 battery +quarter 15 2 0.164471 battery +quarter 16 2 0.160950 battery +quarter 17 2 0.165460 battery +quarter 18 2 0.165898 battery +quarter 19 2 0.165309 battery +quarter 20 2 0.165673 battery +quarter 0 3 0.164804 battery +quarter 1 3 0.412373 battery +quarter 2 3 0.266020 battery +quarter 3 3 0.218621 battery +quarter 4 3 0.199147 battery +quarter 5 3 0.182786 battery +quarter 6 3 0.173531 battery +quarter 7 3 0.166313 battery +quarter 8 3 0.162597 battery +quarter 9 3 0.161036 battery +quarter 10 3 0.165968 battery +quarter 11 3 0.163437 battery +quarter 12 3 0.166888 battery +quarter 13 3 0.158928 battery +quarter 14 3 0.166833 battery +quarter 15 3 0.225574 battery +quarter 16 3 0.164810 battery +quarter 17 3 0.173951 battery +quarter 18 3 0.160199 battery +quarter 19 3 0.170797 battery +quarter 20 3 0.165480 battery +quarter 0 4 0.170172 battery +quarter 1 4 0.450706 battery +quarter 2 4 0.297875 battery +quarter 3 4 0.241891 battery +quarter 4 4 0.218338 battery +quarter 5 4 0.201151 battery +quarter 6 4 0.185096 battery +quarter 7 4 0.180186 battery +quarter 8 4 0.175529 battery +quarter 9 4 0.176393 battery +quarter 10 4 0.182848 battery +quarter 11 4 0.175420 battery +quarter 12 4 0.159556 battery +quarter 13 4 0.163542 battery +quarter 14 4 0.160509 battery +quarter 15 4 0.165683 battery +quarter 16 4 0.161233 battery +quarter 17 4 0.164113 battery +quarter 18 4 0.163339 battery +quarter 19 4 0.174413 battery +quarter 20 4 0.168675 battery +tile 0 0 0.190660 battery +tile 1 0 0.465658 battery +tile 2 0 0.299551 battery +tile 3 0 0.254138 battery +tile 4 0 0.232980 battery +tile 5 0 0.210331 battery +tile 6 0 0.198187 battery +tile 7 0 0.191679 battery +tile 8 0 0.185084 battery +tile 9 0 0.183759 battery +tile 10 0 0.185621 battery +tile 11 0 0.197050 battery +tile 12 0 0.185856 battery +tile 13 0 0.186555 battery +tile 14 0 0.186064 battery +tile 15 0 0.185271 battery +tile 16 0 0.185764 battery +tile 17 0 0.186405 battery +tile 18 0 0.186042 battery +tile 19 0 0.186046 battery +tile 20 0 0.184512 battery +tile 0 1 0.210679 battery +tile 1 1 0.500862 battery +tile 2 1 0.329214 battery +tile 3 1 0.271603 battery +tile 4 1 0.233490 battery +tile 5 1 0.212295 battery +tile 6 1 0.200906 battery +tile 7 1 0.188529 battery +tile 8 1 0.190850 battery +tile 9 1 0.189059 battery +tile 10 1 0.209103 battery +tile 11 1 0.188246 battery +tile 12 1 0.196152 battery +tile 13 1 0.202176 battery +tile 14 1 0.185554 battery +tile 15 1 0.188082 battery +tile 16 1 0.186645 battery +tile 17 1 0.187219 battery +tile 18 1 0.181374 battery +tile 19 1 0.187434 battery +tile 20 1 0.188164 battery +tile 0 2 0.185587 battery +tile 1 2 0.461826 battery +tile 2 2 0.307337 battery +tile 3 2 0.258068 battery +tile 4 2 0.229717 battery +tile 5 2 0.211625 battery +tile 6 2 0.198500 battery +tile 7 2 0.193570 battery +tile 8 2 0.185254 battery +tile 9 2 0.186667 battery +tile 10 2 0.186231 battery +tile 11 2 0.184642 battery +tile 12 2 0.185333 battery +tile 13 2 0.184048 battery +tile 14 2 0.184514 battery +tile 15 2 0.185949 battery +tile 16 2 0.189620 battery +tile 17 2 0.201251 battery +tile 18 2 0.297935 battery +tile 19 2 0.203132 battery +tile 20 2 0.191530 battery +tile 0 3 0.193252 battery +tile 1 3 0.726040 battery +tile 2 3 0.355984 battery +tile 3 3 0.285751 battery +tile 4 3 0.252349 battery +tile 5 3 0.236649 battery +tile 6 3 0.211472 battery +tile 7 3 0.207681 battery +tile 8 3 0.205928 battery +tile 9 3 0.191105 battery +tile 10 3 0.207890 battery +tile 11 3 0.192970 battery +tile 12 3 0.235322 battery +tile 13 3 0.196448 battery +tile 14 3 0.198683 battery +tile 15 3 0.197378 battery +tile 16 3 0.273962 battery +tile 17 3 0.207483 battery +tile 18 3 0.231984 battery +tile 19 3 0.213710 battery +tile 20 3 0.206637 battery +tile 0 4 0.202946 battery +tile 1 4 0.493541 battery +tile 2 4 0.329216 battery +tile 3 4 0.266207 battery +tile 4 4 0.238437 battery +tile 5 4 0.216817 battery +tile 6 4 0.202071 battery +tile 7 4 0.191067 battery +tile 8 4 0.193449 battery +tile 9 4 0.184931 battery +tile 10 4 0.187546 battery +tile 11 4 0.199171 battery +tile 12 4 0.184709 battery +tile 13 4 0.184800 battery +tile 14 4 0.199755 battery +tile 15 4 0.185809 battery +tile 16 4 0.193310 battery +tile 17 4 0.186350 battery +tile 18 4 0.188113 battery +tile 19 4 0.190840 battery +tile 20 4 0.196141 battery diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r3/run.json b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r3/run.json new file mode 100644 index 00000000..f8c65e43 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r3/run.json @@ -0,0 +1,2955 @@ +{ + "label": "16b12-acceptance/base-14f5fe3-r3", + "started": "2026-09-28T23:45:14.061842+02:00", + "tree": { + "commit": "14f5fe318de4113185ded86fd2ebbbb31e281edd", + "dirty": false + }, + "bench_blob": "77765b181714c31714da476c2335c799c6a84021", + "child_argv": [ + "/Users/skavhaug/projects/rasputin/.venv/bin/python", + "/Users/skavhaug/projects/rasputin/tools/bench.py", + "_child", + "--pkg", + "/private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/wt-master-14f5fe3/build-bench/pkg", + "--threads", + "", + "--", + "mesh", + "--dem", + "/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif", + "--tolerance", + "1", + "--out", + "", + "--binary" + ], + "build": { + "no_build": false, + "type": "Release", + "cxx_flags_release": "-O3 -DNDEBUG", + "compiler": "AppleClang 21.0.0.21000101", + "so_sha256": "190587e7ba0ea96a74a8621767d7d20257c3968126a710db1364e1195afb27d2" + }, + "machine": { + "cpu_brand": "Apple M1 Max", + "p_cores": 8, + "e_cores": 2, + "memory_bytes": 34359738368, + "macos": "27.0", + "python": "3.14.7", + "numpy": "2.5.3" + }, + "power": { + "state": "battery", + "percent": 78, + "raw": "Now drawing from 'Battery Power'\n -InternalBattery-0 (id=7929955)\t79%; discharging; 2:53 remaining present: true\n--- after ---\nNow drawing from 'Battery Power'\n -InternalBattery-0 (id=7929955)\t78%; discharging; 2:55 remaining present: true\n" + }, + "inputs": { + "dem": "/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif", + "dem_sha256": "aabd0cbc28471ce8593e4c278381811bec3fbf4e1194058b3b4888d00c3af575", + "domains": [ + { + "name": "quarter", + "path": "/Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-26/quarter.geojson", + "sha256": "b7f7bbe96848383c77863ce29ee28c45bce087601a1738ee82ddb4ffb8279d1e" + }, + { + "name": "tile", + "path": null, + "sha256": null + } + ], + "tolerance": 1.0, + "extra_args": [] + }, + "samples": [ + { + "domain": "quarter", + "threads": 0, + "repeat": 0, + "refine_s": 0.16328029206488281, + "app_s": 0.271261207992211, + "proc_s": 0.7496030000038445, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 0, + "refine_s": 0.4106766249751672, + "app_s": 0.5187620829092339, + "proc_s": 0.7680904159788042, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 0, + "refine_s": 0.2658379590138793, + "app_s": 0.3831902500241995, + "proc_s": 0.6424654999282211, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 0, + "refine_s": 0.23801612493116409, + "app_s": 0.3576006250223145, + "proc_s": 0.6240818339865655, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 0, + "refine_s": 0.19783929199911654, + "app_s": 0.30476125003769994, + "proc_s": 0.5539500000886619, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 0, + "refine_s": 0.18430858303327113, + "app_s": 0.2921214170055464, + "proc_s": 0.5477173750987276, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 0, + "refine_s": 0.17335266701411456, + "app_s": 0.2885402499232441, + "proc_s": 0.5367156669963151, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 0, + "refine_s": 0.16516241698991507, + "app_s": 0.2720164170023054, + "proc_s": 0.5250409579603001, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 0, + "refine_s": 0.16137958399485797, + "app_s": 0.26845154096372426, + "proc_s": 0.5184892499819398, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 0, + "refine_s": 0.16424241696950048, + "app_s": 0.27062179194763303, + "proc_s": 0.5249078329652548, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 0, + "refine_s": 0.164936791989021, + "app_s": 0.27425949997268617, + "proc_s": 0.5274300830205902, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 0, + "refine_s": 0.16420941706746817, + "app_s": 0.2732703329529613, + "proc_s": 0.5301159999798983, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 0, + "refine_s": 0.16462612501345575, + "app_s": 0.2716044579865411, + "proc_s": 0.5201558750122786, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 0, + "refine_s": 0.16371912497561425, + "app_s": 0.269922332954593, + "proc_s": 0.5251156659796834, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 0, + "refine_s": 0.16342608304694295, + "app_s": 0.27028812502976507, + "proc_s": 0.518731499905698, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 0, + "refine_s": 0.16431000002194196, + "app_s": 0.27557295793667436, + "proc_s": 0.5297753340564668, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 0, + "refine_s": 0.16359358408953995, + "app_s": 0.2703608749434352, + "proc_s": 0.5229734170716256, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 0, + "refine_s": 0.1658400830347091, + "app_s": 0.2751987089868635, + "proc_s": 0.526096708024852, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 0, + "refine_s": 0.16278400004375726, + "app_s": 0.27700116694904864, + "proc_s": 0.5290571670047939, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 0, + "refine_s": 0.1656296659493819, + "app_s": 0.2734092080499977, + "proc_s": 0.5241567919729277, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 0, + "refine_s": 0.1652555000036955, + "app_s": 0.27313291607424617, + "proc_s": 0.5219531659968197, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 1, + "refine_s": 0.16339612496085465, + "app_s": 0.27016899990849197, + "proc_s": 0.51848191593308, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 1, + "refine_s": 0.42848787503317, + "app_s": 0.5376084169838578, + "proc_s": 0.7848270829999819, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 1, + "refine_s": 0.2663615420460701, + "app_s": 0.3740044169826433, + "proc_s": 0.6231406670995057, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 1, + "refine_s": 0.2193166660144925, + "app_s": 0.3264015829190612, + "proc_s": 0.5816157918889076, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 1, + "refine_s": 0.19847166701219976, + "app_s": 0.3050947500159964, + "proc_s": 0.5540157910436392, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 1, + "refine_s": 0.18342224997468293, + "app_s": 0.2891778750345111, + "proc_s": 0.5387939589563757, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 1, + "refine_s": 0.17385479097720236, + "app_s": 0.28159079200122505, + "proc_s": 0.5294960420578718, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 1, + "refine_s": 0.16696608299389482, + "app_s": 0.28672012500464916, + "proc_s": 0.5463494169525802, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 1, + "refine_s": 0.16408479097299278, + "app_s": 0.27386624994687736, + "proc_s": 0.5301919580670074, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 1, + "refine_s": 0.16186287498567253, + "app_s": 0.2723257909528911, + "proc_s": 0.5243062499212101, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 1, + "refine_s": 0.1605550410458818, + "app_s": 0.278279791935347, + "proc_s": 0.5369477500207722, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 1, + "refine_s": 0.16779695905279368, + "app_s": 0.28412633296102285, + "proc_s": 0.5388551250798628, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 1, + "refine_s": 0.15864641591906548, + "app_s": 0.28012150002177805, + "proc_s": 0.5309647080721334, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 1, + "refine_s": 0.17097445798572153, + "app_s": 0.2914864169433713, + "proc_s": 0.5477670410182327, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 1, + "refine_s": 0.16628262505400926, + "app_s": 0.28632708406075835, + "proc_s": 0.5470912919845432, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 1, + "refine_s": 0.16166508407332003, + "app_s": 0.29206362506374717, + "proc_s": 0.5607852500397712, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 1, + "refine_s": 0.16310841694939882, + "app_s": 0.2784678749740124, + "proc_s": 0.5306440000422299, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 1, + "refine_s": 0.16081420797854662, + "app_s": 0.27671337500214577, + "proc_s": 0.5230777499964461, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 1, + "refine_s": 0.17867016606032848, + "app_s": 0.29757437494117767, + "proc_s": 0.5443177080014721, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 1, + "refine_s": 0.159924375009723, + "app_s": 0.27917004202026874, + "proc_s": 0.5361659580375999, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 1, + "refine_s": 0.16335962491575629, + "app_s": 0.2755730409407988, + "proc_s": 0.5280495000770316, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 2, + "refine_s": 0.16167954192496836, + "app_s": 0.28187249996699393, + "proc_s": 0.5428958330303431, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 2, + "refine_s": 0.41016916593071073, + "app_s": 0.5224933749996126, + "proc_s": 0.7800114579731598, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 2, + "refine_s": 0.2664784580701962, + "app_s": 0.3819920419482514, + "proc_s": 0.6362758330069482, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 2, + "refine_s": 0.22067029192112386, + "app_s": 0.331059499992989, + "proc_s": 0.5800923330243677, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 2, + "refine_s": 0.19837720796931535, + "app_s": 0.30629591608885676, + "proc_s": 0.5592036671005189, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 2, + "refine_s": 0.20472291705664247, + "app_s": 0.31526887498330325, + "proc_s": 0.5731859999941662, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 2, + "refine_s": 0.17450708302203566, + "app_s": 0.28452770900912583, + "proc_s": 0.5374294170178473, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 2, + "refine_s": 0.16761633299756795, + "app_s": 0.27622304193209857, + "proc_s": 0.5337199579225853, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 2, + "refine_s": 0.1611081250011921, + "app_s": 0.27484291698783636, + "proc_s": 0.5256487909937277, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 2, + "refine_s": 0.16416529100388288, + "app_s": 0.2733700420940295, + "proc_s": 0.5264112909790128, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 2, + "refine_s": 0.16625191702041775, + "app_s": 0.27668170793913305, + "proc_s": 0.5259155830135569, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 2, + "refine_s": 0.1662845000391826, + "app_s": 0.27358633291441947, + "proc_s": 0.5230097499443218, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 2, + "refine_s": 0.1590915829874575, + "app_s": 0.2664055830100551, + "proc_s": 0.5143784999381751, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 2, + "refine_s": 0.16452337498776615, + "app_s": 0.27403675008099526, + "proc_s": 0.5266552910907194, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 2, + "refine_s": 0.16470287507399917, + "app_s": 0.2731847499962896, + "proc_s": 0.5237114579649642, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 2, + "refine_s": 0.16447095794137567, + "app_s": 0.2730750000337139, + "proc_s": 0.5239487079670653, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 2, + "refine_s": 0.16095033392775804, + "app_s": 0.2684066250221804, + "proc_s": 0.5210154589731246, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 2, + "refine_s": 0.1654596250737086, + "app_s": 0.27459591696970165, + "proc_s": 0.5310144160175696, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 2, + "refine_s": 0.1658981250366196, + "app_s": 0.27380562492180616, + "proc_s": 0.531343000009656, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 2, + "refine_s": 0.1653094160137698, + "app_s": 0.27499566704500467, + "proc_s": 0.5232167920330539, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 2, + "refine_s": 0.16567324998322874, + "app_s": 0.2743717080447823, + "proc_s": 0.5296374160097912, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 3, + "refine_s": 0.16480425000190735, + "app_s": 0.27230541699100286, + "proc_s": 0.5214133330155164, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 3, + "refine_s": 0.41237258294131607, + "app_s": 0.5202215409372002, + "proc_s": 0.7684085830114782, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 3, + "refine_s": 0.26602016703691334, + "app_s": 0.37197245797142386, + "proc_s": 0.6194513749796897, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 3, + "refine_s": 0.2186206670012325, + "app_s": 0.3254194159526378, + "proc_s": 0.5742419159505516, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 3, + "refine_s": 0.1991468749474734, + "app_s": 0.3059473750181496, + "proc_s": 0.5602714590495452, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 3, + "refine_s": 0.18278587504755706, + "app_s": 0.291227167006582, + "proc_s": 0.5399047499522567, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 3, + "refine_s": 0.17353087500669062, + "app_s": 0.2854447499848902, + "proc_s": 0.5366226669866592, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 3, + "refine_s": 0.16631337499711663, + "app_s": 0.2748067919164896, + "proc_s": 0.5236232909373939, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 3, + "refine_s": 0.1625971250468865, + "app_s": 0.2688746249768883, + "proc_s": 0.522384834010154, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 3, + "refine_s": 0.1610356670571491, + "app_s": 0.26864329096861184, + "proc_s": 0.5174117919523269, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 3, + "refine_s": 0.16596795804798603, + "app_s": 0.2721610419685021, + "proc_s": 0.5200287500629202, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 3, + "refine_s": 0.16343670897185802, + "app_s": 0.2707565000746399, + "proc_s": 0.5246122910175472, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 3, + "refine_s": 0.16688799997791648, + "app_s": 0.27370729204267263, + "proc_s": 0.5213932500919327, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 3, + "refine_s": 0.15892787498887628, + "app_s": 0.26414274994749576, + "proc_s": 0.5102835410507396, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 3, + "refine_s": 0.16683341597672552, + "app_s": 0.2729584169574082, + "proc_s": 0.5212947919499129, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 3, + "refine_s": 0.22557391703594476, + "app_s": 0.33849849994294345, + "proc_s": 0.5857371659949422, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 3, + "refine_s": 0.1648100829916075, + "app_s": 0.27163212501909584, + "proc_s": 0.5300820419797674, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 3, + "refine_s": 0.17395079205743968, + "app_s": 0.2861715409671888, + "proc_s": 0.5403764999937266, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 3, + "refine_s": 0.1601993329823017, + "app_s": 0.26785104209557176, + "proc_s": 0.5151057080365717, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 3, + "refine_s": 0.17079745803494006, + "app_s": 0.28712541691493243, + "proc_s": 0.5432159999618307, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 3, + "refine_s": 0.16547962499316782, + "app_s": 0.28236912505235523, + "proc_s": 0.5323949590092525, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 4, + "refine_s": 0.17017241707071662, + "app_s": 0.28427116700913757, + "proc_s": 0.545193083002232, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 4, + "refine_s": 0.45070604106877, + "app_s": 0.5647767919581383, + "proc_s": 0.8145942920818925, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 4, + "refine_s": 0.29787458304781467, + "app_s": 0.4369030420202762, + "proc_s": 0.6978102088905871, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 4, + "refine_s": 0.24189104104880244, + "app_s": 0.3835665830411017, + "proc_s": 0.6460872079478577, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 4, + "refine_s": 0.21833770791999996, + "app_s": 0.36447745910845697, + "proc_s": 0.6298905829899013, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 4, + "refine_s": 0.20115095796063542, + "app_s": 0.349740874953568, + "proc_s": 0.6231486250180751, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 4, + "refine_s": 0.1850963750621304, + "app_s": 0.30489879101514816, + "proc_s": 0.5701304590329528, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 4, + "refine_s": 0.1801860409323126, + "app_s": 0.3086696669925004, + "proc_s": 0.5723444999894127, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 4, + "refine_s": 0.1755287090782076, + "app_s": 0.30875737499445677, + "proc_s": 0.575925208046101, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 4, + "refine_s": 0.17639308399520814, + "app_s": 0.33068645803723484, + "proc_s": 0.5905894580064341, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 4, + "refine_s": 0.18284816690720618, + "app_s": 0.32072479103226215, + "proc_s": 0.581613416899927, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 4, + "refine_s": 0.17542025004513562, + "app_s": 0.3237473339540884, + "proc_s": 0.5813275830587372, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 4, + "refine_s": 0.1595557079417631, + "app_s": 0.2800375409424305, + "proc_s": 0.531757292104885, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 4, + "refine_s": 0.16354204202070832, + "app_s": 0.2802157079568133, + "proc_s": 0.5357080830726773, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 4, + "refine_s": 0.1605086250929162, + "app_s": 0.275596332969144, + "proc_s": 0.5242875000694767, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 4, + "refine_s": 0.1656829590210691, + "app_s": 0.283438750077039, + "proc_s": 0.5349989579990506, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 4, + "refine_s": 0.16123266704380512, + "app_s": 0.27931316604372114, + "proc_s": 0.5357222079765052, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 4, + "refine_s": 0.16411270899698138, + "app_s": 0.278912500012666, + "proc_s": 0.5278347920393571, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 4, + "refine_s": 0.1633387499023229, + "app_s": 0.277286458062008, + "proc_s": 0.5316640419187024, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 4, + "refine_s": 0.17441304109524935, + "app_s": 0.2912574999500066, + "proc_s": 0.5546267920872197, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 4, + "refine_s": 0.16867545899003744, + "app_s": 0.28601370798423886, + "proc_s": 0.5438745829742402, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 0, + "refine_s": 0.19065979204606265, + "app_s": 0.3574322920758277, + "proc_s": 0.6140109170228243, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 0, + "refine_s": 0.46565754199400544, + "app_s": 0.599650000105612, + "proc_s": 0.8597653330070898, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 0, + "refine_s": 0.2995512910420075, + "app_s": 0.4336063750088215, + "proc_s": 0.6868728750851005, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 0, + "refine_s": 0.25413779099471867, + "app_s": 0.3917752919951454, + "proc_s": 0.6504249999998137, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 0, + "refine_s": 0.23297958297189325, + "app_s": 0.3684551250189543, + "proc_s": 0.6262078749714419, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 0, + "refine_s": 0.21033104206435382, + "app_s": 0.3433338749455288, + "proc_s": 0.5951547090662643, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 0, + "refine_s": 0.1981873749755323, + "app_s": 0.33341245795600116, + "proc_s": 0.5835445839911699, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 0, + "refine_s": 0.19167870795354247, + "app_s": 0.32444816699717194, + "proc_s": 0.5747710420982912, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 0, + "refine_s": 0.18508425005711615, + "app_s": 0.32148962502833456, + "proc_s": 0.5706410829443485, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 0, + "refine_s": 0.18375937500968575, + "app_s": 0.31708012497983873, + "proc_s": 0.5645620420109481, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 0, + "refine_s": 0.18562116601970047, + "app_s": 0.32177525002043694, + "proc_s": 0.5753292080480605, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 0, + "refine_s": 0.19704975001513958, + "app_s": 0.33830725005827844, + "proc_s": 0.5858237909851596, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 0, + "refine_s": 0.18585579097270966, + "app_s": 0.31981050001922995, + "proc_s": 0.5681066249962896, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 0, + "refine_s": 0.1865549999056384, + "app_s": 0.3198907090118155, + "proc_s": 0.5678880830528215, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 0, + "refine_s": 0.18606445891782641, + "app_s": 0.32091012492310256, + "proc_s": 0.5793037079274654, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 0, + "refine_s": 0.1852714589331299, + "app_s": 0.3204258750192821, + "proc_s": 0.5746851669391617, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 0, + "refine_s": 0.18576449993997812, + "app_s": 0.3188599160639569, + "proc_s": 0.57353991700802, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 0, + "refine_s": 0.18640541704371572, + "app_s": 0.3240459579974413, + "proc_s": 0.5834285409655422, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 0, + "refine_s": 0.18604199995752424, + "app_s": 0.32539587491191924, + "proc_s": 0.5807943340623751, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 0, + "refine_s": 0.1860460420139134, + "app_s": 0.31932195799890906, + "proc_s": 0.5740584160666913, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 0, + "refine_s": 0.1845119590871036, + "app_s": 0.3179606250487268, + "proc_s": 0.5679931249469519, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 1, + "refine_s": 0.21067900001071393, + "app_s": 0.3794581670081243, + "proc_s": 0.656115916906856, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 1, + "refine_s": 0.5008624169277027, + "app_s": 0.6581645420519635, + "proc_s": 0.9207237500231713, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 1, + "refine_s": 0.3292144580045715, + "app_s": 0.467615041998215, + "proc_s": 0.7209365420276299, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 1, + "refine_s": 0.27160300000105053, + "app_s": 0.40622195799369365, + "proc_s": 0.6593124580103904, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 1, + "refine_s": 0.23348958301357925, + "app_s": 0.3702477919869125, + "proc_s": 0.6209162080194801, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 1, + "refine_s": 0.21229458297602832, + "app_s": 0.35117187502328306, + "proc_s": 0.6110852499259636, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 1, + "refine_s": 0.2009063329314813, + "app_s": 0.3349832500098273, + "proc_s": 0.5832371249562129, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 1, + "refine_s": 0.18852887500543147, + "app_s": 0.322969084023498, + "proc_s": 0.5737014580518007, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 1, + "refine_s": 0.19085024995729327, + "app_s": 0.3305057920515537, + "proc_s": 0.583644290920347, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 1, + "refine_s": 0.18905879196245223, + "app_s": 0.3373536249855533, + "proc_s": 0.6064222499262542, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 1, + "refine_s": 0.20910262502729893, + "app_s": 0.3498472080100328, + "proc_s": 0.6136134159751236, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 1, + "refine_s": 0.18824570905417204, + "app_s": 0.3264216249808669, + "proc_s": 0.5877864999929443, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 1, + "refine_s": 0.1961524160578847, + "app_s": 0.3356487499549985, + "proc_s": 0.590838750009425, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 1, + "refine_s": 0.20217645808588713, + "app_s": 0.3427501249825582, + "proc_s": 0.5992420839611441, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 1, + "refine_s": 0.1855537910014391, + "app_s": 0.3231623750180006, + "proc_s": 0.5780857499921694, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 1, + "refine_s": 0.1880822089733556, + "app_s": 0.32164595799986273, + "proc_s": 0.5708787919720635, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 1, + "refine_s": 0.18664525006897748, + "app_s": 0.3225712910061702, + "proc_s": 0.5713802500395104, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 1, + "refine_s": 0.1872194999596104, + "app_s": 0.32333354093134403, + "proc_s": 0.5762443749699742, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 1, + "refine_s": 0.1813742909580469, + "app_s": 0.316268999944441, + "proc_s": 0.5638050839770585, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 1, + "refine_s": 0.1874335000757128, + "app_s": 0.3224801250034943, + "proc_s": 0.5719708340475336, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 1, + "refine_s": 0.1881639159983024, + "app_s": 0.32613137492444366, + "proc_s": 0.5779539590002969, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 2, + "refine_s": 0.1855866250116378, + "app_s": 0.31867329205852, + "proc_s": 0.5659955830778927, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 2, + "refine_s": 0.46182583295740187, + "app_s": 0.5974658749764785, + "proc_s": 0.850191208999604, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 2, + "refine_s": 0.30733724997844547, + "app_s": 0.4416953750187531, + "proc_s": 0.6894518750486895, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 2, + "refine_s": 0.2580681670224294, + "app_s": 0.39561349991708994, + "proc_s": 0.6426263749599457, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 2, + "refine_s": 0.22971674997825176, + "app_s": 0.36512425006367266, + "proc_s": 0.6192112079588696, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 2, + "refine_s": 0.21162495797034353, + "app_s": 0.3503306250786409, + "proc_s": 0.5991882920498028, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 2, + "refine_s": 0.19850004196632653, + "app_s": 0.33261949999723583, + "proc_s": 0.581793291028589, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 2, + "refine_s": 0.1935698330635205, + "app_s": 0.33040433400310576, + "proc_s": 0.5826273750280961, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 2, + "refine_s": 0.1852540000109002, + "app_s": 0.319665249902755, + "proc_s": 0.5657171669881791, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 2, + "refine_s": 0.18666674999985844, + "app_s": 0.3224655840313062, + "proc_s": 0.5710847089067101, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 2, + "refine_s": 0.18623116705566645, + "app_s": 0.32055012497585267, + "proc_s": 0.570558707928285, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 2, + "refine_s": 0.18464150000363588, + "app_s": 0.3203984999563545, + "proc_s": 0.5713999170111492, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 2, + "refine_s": 0.1853329580044374, + "app_s": 0.31997979199513793, + "proc_s": 0.5742458329768851, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 2, + "refine_s": 0.18404791597276926, + "app_s": 0.32042612496297807, + "proc_s": 0.5686904580798, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 2, + "refine_s": 0.18451395793817937, + "app_s": 0.3225332909496501, + "proc_s": 0.5715164999710396, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 2, + "refine_s": 0.18594904092606157, + "app_s": 0.32350295793730766, + "proc_s": 0.5700725000351667, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 2, + "refine_s": 0.1896198330214247, + "app_s": 0.32540645892731845, + "proc_s": 0.5781630839919671, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 2, + "refine_s": 0.2012505839811638, + "app_s": 0.36108454200439155, + "proc_s": 0.6242080420488492, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 2, + "refine_s": 0.2979345419444144, + "app_s": 0.5592691670171916, + "proc_s": 1.6966816670028493, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 2, + "refine_s": 0.2031317080836743, + "app_s": 0.3485073749907315, + "proc_s": 0.6476064160233364, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 2, + "refine_s": 0.1915304580470547, + "app_s": 0.3312404159223661, + "proc_s": 0.6107047079131007, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 3, + "refine_s": 0.1932515410007909, + "app_s": 0.3346651670290157, + "proc_s": 0.6222221250645816, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 3, + "refine_s": 0.7260396250057966, + "app_s": 1.0861394169041887, + "proc_s": 1.5635640829568729, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 3, + "refine_s": 0.35598395799752325, + "app_s": 0.5162753330077976, + "proc_s": 0.8337914170697331, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 3, + "refine_s": 0.2857509170426056, + "app_s": 0.44887774996459484, + "proc_s": 0.7542357910424471, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 3, + "refine_s": 0.252349124988541, + "app_s": 0.3975197080289945, + "proc_s": 0.698789415997453, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 3, + "refine_s": 0.23664937494322658, + "app_s": 0.38060129107907414, + "proc_s": 0.6713634160114452, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 3, + "refine_s": 0.2114717080257833, + "app_s": 0.3536713329376653, + "proc_s": 0.6359207080677152, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 3, + "refine_s": 0.20768104097805917, + "app_s": 0.35237866698298603, + "proc_s": 0.6290183749515563, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 3, + "refine_s": 0.2059284580172971, + "app_s": 0.347711082897149, + "proc_s": 0.6230318750021979, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 3, + "refine_s": 0.1911047080066055, + "app_s": 0.3339719589566812, + "proc_s": 0.6182933340314776, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 3, + "refine_s": 0.20788975001778454, + "app_s": 0.34925500000827014, + "proc_s": 0.6218621659791097, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 3, + "refine_s": 0.19297033397015184, + "app_s": 0.3322483749361709, + "proc_s": 0.6227712921099737, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 3, + "refine_s": 0.23532245797105134, + "app_s": 0.4050846250029281, + "proc_s": 0.6907191668869928, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 3, + "refine_s": 0.19644783297553658, + "app_s": 0.3329674999695271, + "proc_s": 0.6241816249676049, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 3, + "refine_s": 0.19868266698904335, + "app_s": 0.339373332913965, + "proc_s": 0.606146042002365, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 3, + "refine_s": 0.19737833400722593, + "app_s": 0.33694558299612254, + "proc_s": 0.6154235419817269, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 3, + "refine_s": 0.2739616669714451, + "app_s": 0.4338240830693394, + "proc_s": 0.7327548330649734, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 3, + "refine_s": 0.207483374979347, + "app_s": 0.40783008304424584, + "proc_s": 0.7169529589591548, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 3, + "refine_s": 0.23198437504470348, + "app_s": 0.397559667006135, + "proc_s": 0.7049907909240574, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 3, + "refine_s": 0.21370991691946983, + "app_s": 0.3634334580274299, + "proc_s": 0.7086786249419674, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 3, + "refine_s": 0.20663687493652105, + "app_s": 0.35000329092144966, + "proc_s": 0.6377469999715686, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 4, + "refine_s": 0.20294558303430676, + "app_s": 0.34243645798414946, + "proc_s": 0.6123404160607606, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 4, + "refine_s": 0.49354100006166846, + "app_s": 0.6322721251053736, + "proc_s": 0.9074069999624044, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 4, + "refine_s": 0.32921633298974484, + "app_s": 0.47284316609147936, + "proc_s": 0.7396852920064703, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 4, + "refine_s": 0.26620695798192173, + "app_s": 0.40325945906806737, + "proc_s": 0.673665750073269, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 4, + "refine_s": 0.23843691707588732, + "app_s": 0.37345066701527685, + "proc_s": 0.6347100839484483, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 4, + "refine_s": 0.21681741601787508, + "app_s": 0.35625437507405877, + "proc_s": 0.619428165955469, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 4, + "refine_s": 0.20207050000317395, + "app_s": 0.3403540829895064, + "proc_s": 0.622335167019628, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 4, + "refine_s": 0.1910665410105139, + "app_s": 0.3250245419330895, + "proc_s": 0.5913693329785019, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 4, + "refine_s": 0.19344854191876948, + "app_s": 0.3288604160770774, + "proc_s": 0.5919922499451786, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 4, + "refine_s": 0.18493120896164328, + "app_s": 0.3179050830658525, + "proc_s": 0.5755408750846982, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 4, + "refine_s": 0.18754554202314466, + "app_s": 0.319792874972336, + "proc_s": 0.5862997499061748, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 4, + "refine_s": 0.1991707501001656, + "app_s": 0.3324491670355201, + "proc_s": 0.6008036250714213, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 4, + "refine_s": 0.18470929109025747, + "app_s": 0.3198139169253409, + "proc_s": 0.5883347500348464, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 4, + "refine_s": 0.1847999159945175, + "app_s": 0.31899445794988424, + "proc_s": 0.5823188340291381, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 4, + "refine_s": 0.199754917062819, + "app_s": 0.33806999993976206, + "proc_s": 0.6177432499825954, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 4, + "refine_s": 0.1858092499896884, + "app_s": 0.32301920803729445, + "proc_s": 0.5950142500223592, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 4, + "refine_s": 0.19331025006249547, + "app_s": 0.33120387501548976, + "proc_s": 0.5987861669855192, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 4, + "refine_s": 0.18635041709057987, + "app_s": 0.3227404580684379, + "proc_s": 0.5843733340734616, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 4, + "refine_s": 0.18811325007118285, + "app_s": 0.326975499978289, + "proc_s": 0.5871410409454256, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 4, + "refine_s": 0.1908397499937564, + "app_s": 0.3301733329426497, + "proc_s": 0.5847744160564616, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 4, + "refine_s": 0.19614116696175188, + "app_s": 0.33074054191820323, + "proc_s": 0.5938939999323338, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + } + ], + "stats": [ + { + "domain": "quarter", + "threads": 0, + "n": 5, + "median": 0.16339612496085465, + "min": 0.16167954192496836, + "max": 0.17017241707071662 + }, + { + "domain": "quarter", + "threads": 1, + "n": 5, + "median": 0.41237258294131607, + "min": 0.41016916593071073, + "max": 0.45070604106877 + }, + { + "domain": "quarter", + "threads": 2, + "n": 5, + "median": 0.2663615420460701, + "min": 0.2658379590138793, + "max": 0.29787458304781467 + }, + { + "domain": "quarter", + "threads": 3, + "n": 5, + "median": 0.22067029192112386, + "min": 0.2186206670012325, + "max": 0.24189104104880244 + }, + { + "domain": "quarter", + "threads": 4, + "n": 5, + "median": 0.19847166701219976, + "min": 0.19783929199911654, + "max": 0.21833770791999996 + }, + { + "domain": "quarter", + "threads": 5, + "n": 5, + "median": 0.18430858303327113, + "min": 0.18278587504755706, + "max": 0.20472291705664247 + }, + { + "domain": "quarter", + "threads": 6, + "n": 5, + "median": 0.17385479097720236, + "min": 0.17335266701411456, + "max": 0.1850963750621304 + }, + { + "domain": "quarter", + "threads": 7, + "n": 5, + "median": 0.16696608299389482, + "min": 0.16516241698991507, + "max": 0.1801860409323126 + }, + { + "domain": "quarter", + "threads": 8, + "n": 5, + "median": 0.1625971250468865, + "min": 0.1611081250011921, + "max": 0.1755287090782076 + }, + { + "domain": "quarter", + "threads": 9, + "n": 5, + "median": 0.16416529100388288, + "min": 0.1610356670571491, + "max": 0.17639308399520814 + }, + { + "domain": "quarter", + "threads": 10, + "n": 5, + "median": 0.16596795804798603, + "min": 0.1605550410458818, + "max": 0.18284816690720618 + }, + { + "domain": "quarter", + "threads": 11, + "n": 5, + "median": 0.1662845000391826, + "min": 0.16343670897185802, + "max": 0.17542025004513562 + }, + { + "domain": "quarter", + "threads": 12, + "n": 5, + "median": 0.1595557079417631, + "min": 0.15864641591906548, + "max": 0.16688799997791648 + }, + { + "domain": "quarter", + "threads": 13, + "n": 5, + "median": 0.16371912497561425, + "min": 0.15892787498887628, + "max": 0.17097445798572153 + }, + { + "domain": "quarter", + "threads": 14, + "n": 5, + "median": 0.16470287507399917, + "min": 0.1605086250929162, + "max": 0.16683341597672552 + }, + { + "domain": "quarter", + "threads": 15, + "n": 5, + "median": 0.16447095794137567, + "min": 0.16166508407332003, + "max": 0.22557391703594476 + }, + { + "domain": "quarter", + "threads": 16, + "n": 5, + "median": 0.16310841694939882, + "min": 0.16095033392775804, + "max": 0.1648100829916075 + }, + { + "domain": "quarter", + "threads": 17, + "n": 5, + "median": 0.1654596250737086, + "min": 0.16081420797854662, + "max": 0.17395079205743968 + }, + { + "domain": "quarter", + "threads": 18, + "n": 5, + "median": 0.1633387499023229, + "min": 0.1601993329823017, + "max": 0.17867016606032848 + }, + { + "domain": "quarter", + "threads": 19, + "n": 5, + "median": 0.1656296659493819, + "min": 0.159924375009723, + "max": 0.17441304109524935 + }, + { + "domain": "quarter", + "threads": 20, + "n": 5, + "median": 0.16547962499316782, + "min": 0.16335962491575629, + "max": 0.16867545899003744 + }, + { + "domain": "tile", + "threads": 0, + "n": 5, + "median": 0.1932515410007909, + "min": 0.1855866250116378, + "max": 0.21067900001071393 + }, + { + "domain": "tile", + "threads": 1, + "n": 5, + "median": 0.49354100006166846, + "min": 0.46182583295740187, + "max": 0.7260396250057966 + }, + { + "domain": "tile", + "threads": 2, + "n": 5, + "median": 0.3292144580045715, + "min": 0.2995512910420075, + "max": 0.35598395799752325 + }, + { + "domain": "tile", + "threads": 3, + "n": 5, + "median": 0.26620695798192173, + "min": 0.25413779099471867, + "max": 0.2857509170426056 + }, + { + "domain": "tile", + "threads": 4, + "n": 5, + "median": 0.23348958301357925, + "min": 0.22971674997825176, + "max": 0.252349124988541 + }, + { + "domain": "tile", + "threads": 5, + "n": 5, + "median": 0.21229458297602832, + "min": 0.21033104206435382, + "max": 0.23664937494322658 + }, + { + "domain": "tile", + "threads": 6, + "n": 5, + "median": 0.2009063329314813, + "min": 0.1981873749755323, + "max": 0.2114717080257833 + }, + { + "domain": "tile", + "threads": 7, + "n": 5, + "median": 0.19167870795354247, + "min": 0.18852887500543147, + "max": 0.20768104097805917 + }, + { + "domain": "tile", + "threads": 8, + "n": 5, + "median": 0.19085024995729327, + "min": 0.18508425005711615, + "max": 0.2059284580172971 + }, + { + "domain": "tile", + "threads": 9, + "n": 5, + "median": 0.18666674999985844, + "min": 0.18375937500968575, + "max": 0.1911047080066055 + }, + { + "domain": "tile", + "threads": 10, + "n": 5, + "median": 0.18754554202314466, + "min": 0.18562116601970047, + "max": 0.20910262502729893 + }, + { + "domain": "tile", + "threads": 11, + "n": 5, + "median": 0.19297033397015184, + "min": 0.18464150000363588, + "max": 0.1991707501001656 + }, + { + "domain": "tile", + "threads": 12, + "n": 5, + "median": 0.18585579097270966, + "min": 0.18470929109025747, + "max": 0.23532245797105134 + }, + { + "domain": "tile", + "threads": 13, + "n": 5, + "median": 0.1865549999056384, + "min": 0.18404791597276926, + "max": 0.20217645808588713 + }, + { + "domain": "tile", + "threads": 14, + "n": 5, + "median": 0.18606445891782641, + "min": 0.18451395793817937, + "max": 0.199754917062819 + }, + { + "domain": "tile", + "threads": 15, + "n": 5, + "median": 0.18594904092606157, + "min": 0.1852714589331299, + "max": 0.19737833400722593 + }, + { + "domain": "tile", + "threads": 16, + "n": 5, + "median": 0.1896198330214247, + "min": 0.18576449993997812, + "max": 0.2739616669714451 + }, + { + "domain": "tile", + "threads": 17, + "n": 5, + "median": 0.1872194999596104, + "min": 0.18635041709057987, + "max": 0.207483374979347 + }, + { + "domain": "tile", + "threads": 18, + "n": 5, + "median": 0.18811325007118285, + "min": 0.1813742909580469, + "max": 0.2979345419444144 + }, + { + "domain": "tile", + "threads": 19, + "n": 5, + "median": 0.1908397499937564, + "min": 0.1860460420139134, + "max": 0.21370991691946983 + }, + { + "domain": "tile", + "threads": 20, + "n": 5, + "median": 0.1915304580470547, + "min": 0.1845119590871036, + "max": 0.20663687493652105 + } + ], + "quality": { + "quarter": { + "worst_angle": 0.3955267116350698, + "angle_median": 45.0, + "share_under_1": 0.000028023175165862168, + "max_degree": 18, + "within_tolerance": true, + "delaunay_checked": 641791, + "delaunay_ambiguous": 80136, + "delaunay_violations": 0, + "mesh_sha256": "ccebf96a86c6c5e244e4a0281919de4e866fcfe789b66024a290ac2af33771a1" + }, + "tile": { + "worst_angle": 0.6295986084102668, + "angle_median": 45.0, + "share_under_1": 2.1538262723728703e-6, + "max_degree": 74, + "within_tolerance": true, + "delaunay_checked": 692056, + "delaunay_ambiguous": 94469, + "delaunay_violations": 0, + "mesh_sha256": "11741a81adfa17b34a1ea56875ec9e791414d17625eb1c58305e7c0cf10e005c" + } + }, + "accept_quality": false, + "threshold_pct": 5.0, + "verdict": [ + "REGRESSION: tile refine_s[t=2] 0.3113 -> 0.3292 (+5.7 %)" + ] +} diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r4/README.md b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r4/README.md new file mode 100644 index 00000000..8393dcb5 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r4/README.md @@ -0,0 +1,82 @@ +# Benchmark run `16b12-acceptance/base-14f5fe3-r4` + +Generated by `tools/bench.py`. + +## Verdict + +- REGRESSION: quarter refine_s[t=3] 0.2264 -> 0.2432 (+7.4 %) +- REGRESSION: tile refine_s[t=1] 0.4714 -> 0.5121 (+8.6 %) +- REGRESSION: tile refine_s[t=2] 0.3113 -> 0.3332 (+7.0 %) +- REGRESSION: tile refine_s[t=14] 0.1926 -> 0.2062 (+7.1 %) + +Time threshold: 5.0 %. + +## Method + +- Started 2026-09-28T23:50:21.221941+02:00; tree `14f5fe318de4113185ded86fd2ebbbb31e281edd`; bench.py blob `77765b181714c31714da476c2335c799c6a84021`. Build: Release, AppleClang 21.0.0.21000101, `-O3 -DNDEBUG`, _core sha256 `190587e7ba0ea96a74a8621767d7d20257c3968126a710db1364e1195afb27d2`. +- Apple M1 Max, 8 P + 2 E cores, 32 GiB, macOS 27.0, Python 3.14.7, numpy 2.5.3. +- Power **battery** (76%), `pmset -g batt` before and after (in run.json). +- DEM `/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif` (sha256 `aabd0cbc28471ce8593e4c278381811bec3fbf4e1194058b3b4888d00c3af575`), tolerance 1.0, extra mesh args ``; domains: `quarter` (/Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-26/quarter.geojson), `tile` (the whole tile). +- One child per sample, `/Users/skavhaug/projects/rasputin/.venv/bin/python /Users/skavhaug/projects/rasputin/tools/bench.py _child --pkg /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/wt-master-14f5fe3/build-bench/pkg --threads -- mesh --dem /Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif --tolerance 1 --out --binary`, repeats interleaved over thread counts; t=0 is the CLI's default, other counts are forced into `refine`. Quality: one `--ascii` run per domain at t=0, kept out of the repository; rerun the child with `--ascii --out PATH` to regenerate it. + +## `quarter` + +| threads | n | median s | min s | max s | +|---:|---:|---:|---:|---:| +| 0 | 5 | 0.1666 | 0.1641 | 0.1738 | +| 1 | 5 | 0.4414 | 0.4189 | 0.4751 | +| 2 | 5 | 0.2866 | 0.2760 | 0.3016 | +| 3 | 5 | 0.2432 | 0.2215 | 0.2712 | +| 4 | 5 | 0.2084 | 0.2021 | 0.2209 | +| 5 | 5 | 0.1926 | 0.1855 | 0.1993 | +| 6 | 5 | 0.1808 | 0.1763 | 0.1842 | +| 7 | 5 | 0.1704 | 0.1673 | 0.1769 | +| 8 | 5 | 0.1632 | 0.1624 | 0.2000 | +| 9 | 5 | 0.1733 | 0.1643 | 0.2552 | +| 10 | 5 | 0.1727 | 0.1636 | 0.1858 | +| 11 | 5 | 0.1745 | 0.1597 | 0.1881 | +| 12 | 5 | 0.1673 | 0.1627 | 0.1795 | +| 13 | 5 | 0.1756 | 0.1625 | 0.3489 | +| 14 | 5 | 0.1703 | 0.1615 | 0.2013 | +| 15 | 5 | 0.1742 | 0.1630 | 0.1887 | +| 16 | 5 | 0.1703 | 0.1646 | 0.1837 | +| 17 | 5 | 0.1690 | 0.1646 | 0.1867 | +| 18 | 5 | 0.1709 | 0.1597 | 0.2013 | +| 19 | 5 | 0.1713 | 0.1650 | 0.1797 | +| 20 | 5 | 0.1760 | 0.1634 | 0.1833 | + +Ceiling: 2.51x at 20 threads over 1, best 2.70x at 8; 2026-09-26: about 2.2x, flat from about 7. + +Quality: worst angle 0.3955 deg, median 45.00, share under 1 deg 0.00003, max degree 18, within tolerance True, Delaunay 0 violations of 641791 edges (80136 decided exactly), mesh sha256 `ccebf96a86c6c5e244e4a0281919de4e866fcfe789b66024a290ac2af33771a1`. + +## `tile` + +| threads | n | median s | min s | max s | +|---:|---:|---:|---:|---:| +| 0 | 5 | 0.1918 | 0.1881 | 0.1953 | +| 1 | 5 | 0.5121 | 0.4884 | 0.5455 | +| 2 | 5 | 0.3332 | 0.3225 | 0.3385 | +| 3 | 5 | 0.2687 | 0.2643 | 0.2778 | +| 4 | 5 | 0.2344 | 0.2315 | 0.2359 | +| 5 | 5 | 0.2164 | 0.2142 | 0.2433 | +| 6 | 5 | 0.2062 | 0.2001 | 0.2175 | +| 7 | 5 | 0.1970 | 0.1921 | 0.2052 | +| 8 | 5 | 0.1888 | 0.1871 | 0.2127 | +| 9 | 5 | 0.1981 | 0.1897 | 0.2023 | +| 10 | 5 | 0.1943 | 0.1914 | 0.2233 | +| 11 | 5 | 0.1941 | 0.1897 | 0.2025 | +| 12 | 5 | 0.1956 | 0.1863 | 0.1966 | +| 13 | 5 | 0.1970 | 0.1873 | 0.2113 | +| 14 | 5 | 0.2062 | 0.1855 | 0.2093 | +| 15 | 5 | 0.1925 | 0.1838 | 0.2461 | +| 16 | 5 | 0.1907 | 0.1874 | 0.2006 | +| 17 | 5 | 0.1943 | 0.1899 | 0.1948 | +| 18 | 5 | 0.1914 | 0.1880 | 0.1973 | +| 19 | 5 | 0.1976 | 0.1912 | 0.2163 | +| 20 | 5 | 0.1937 | 0.1892 | 0.2179 | + +Ceiling: 2.64x at 20 threads over 1, best 2.71x at 8; 2026-09-26: about 2.2x, flat from about 7. + +Quality: worst angle 0.6296 deg, median 45.00, share under 1 deg 0.00000, max degree 74, within tolerance True, Delaunay 0 violations of 692056 edges (94469 decided exactly), mesh sha256 `11741a81adfa17b34a1ea56875ec9e791414d17625eb1c58305e7c0cf10e005c`. + + diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r4/raw.tsv b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r4/raw.tsv new file mode 100644 index 00000000..c9db046a --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r4/raw.tsv @@ -0,0 +1,210 @@ +quarter 0 0 0.165421 battery +quarter 1 0 0.441412 battery +quarter 2 0 0.286593 battery +quarter 3 0 0.271235 battery +quarter 4 0 0.219975 battery +quarter 5 0 0.192882 battery +quarter 6 0 0.184215 battery +quarter 7 0 0.169802 battery +quarter 8 0 0.163233 battery +quarter 9 0 0.255153 battery +quarter 10 0 0.172703 battery +quarter 11 0 0.174471 battery +quarter 12 0 0.162728 battery +quarter 13 0 0.162465 battery +quarter 14 0 0.169434 battery +quarter 15 0 0.172733 battery +quarter 16 0 0.170296 battery +quarter 17 0 0.168063 battery +quarter 18 0 0.183042 battery +quarter 19 0 0.168224 battery +quarter 20 0 0.176044 battery +quarter 0 1 0.166614 battery +quarter 1 1 0.421441 battery +quarter 2 1 0.279206 battery +quarter 3 1 0.240421 battery +quarter 4 1 0.208365 battery +quarter 5 1 0.190743 battery +quarter 6 1 0.176274 battery +quarter 7 1 0.167295 battery +quarter 8 1 0.162353 battery +quarter 9 1 0.166955 battery +quarter 10 1 0.163559 battery +quarter 11 1 0.159688 battery +quarter 12 1 0.167271 battery +quarter 13 1 0.164724 battery +quarter 14 1 0.161511 battery +quarter 15 1 0.163050 battery +quarter 16 1 0.164596 battery +quarter 17 1 0.164590 battery +quarter 18 1 0.159745 battery +quarter 19 1 0.164966 battery +quarter 20 1 0.163387 battery +quarter 0 2 0.164105 battery +quarter 1 2 0.418948 battery +quarter 2 2 0.276031 battery +quarter 3 2 0.221548 battery +quarter 4 2 0.202146 battery +quarter 5 2 0.185511 battery +quarter 6 2 0.180825 battery +quarter 7 2 0.174052 battery +quarter 8 2 0.162439 battery +quarter 9 2 0.164271 battery +quarter 10 2 0.165821 battery +quarter 11 2 0.160157 battery +quarter 12 2 0.162705 battery +quarter 13 2 0.348888 battery +quarter 14 2 0.201311 battery +quarter 15 2 0.179404 battery +quarter 16 2 0.183702 battery +quarter 17 2 0.186688 battery +quarter 18 2 0.201283 battery +quarter 19 2 0.179719 battery +quarter 20 2 0.180997 battery +quarter 0 3 0.173812 battery +quarter 1 3 0.475101 battery +quarter 2 3 0.301551 battery +quarter 3 3 0.243192 battery +quarter 4 3 0.207108 battery +quarter 5 3 0.192567 battery +quarter 6 3 0.178674 battery +quarter 7 3 0.176853 battery +quarter 8 3 0.180228 battery +quarter 9 3 0.196789 battery +quarter 10 3 0.176559 battery +quarter 11 3 0.188069 battery +quarter 12 3 0.172378 battery +quarter 13 3 0.175596 battery +quarter 14 3 0.170335 battery +quarter 15 3 0.174248 battery +quarter 16 3 0.169638 battery +quarter 17 3 0.169585 battery +quarter 18 3 0.168722 battery +quarter 19 3 0.171337 battery +quarter 20 3 0.167224 battery +quarter 0 4 0.167098 battery +quarter 1 4 0.456149 battery +quarter 2 4 0.288338 battery +quarter 3 4 0.256611 battery +quarter 4 4 0.220852 battery +quarter 5 4 0.199318 battery +quarter 6 4 0.183802 battery +quarter 7 4 0.170429 battery +quarter 8 4 0.200010 battery +quarter 9 4 0.173302 battery +quarter 10 4 0.185751 battery +quarter 11 4 0.175485 battery +quarter 12 4 0.179479 battery +quarter 13 4 0.182697 battery +quarter 14 4 0.195659 battery +quarter 15 4 0.188679 battery +quarter 16 4 0.172549 battery +quarter 17 4 0.168950 battery +quarter 18 4 0.170859 battery +quarter 19 4 0.172885 battery +quarter 20 4 0.183300 battery +tile 0 0 0.195254 battery +tile 1 0 0.545524 battery +tile 2 0 0.338500 battery +tile 3 0 0.271611 battery +tile 4 0 0.235857 battery +tile 5 0 0.219870 battery +tile 6 0 0.209458 battery +tile 7 0 0.197598 battery +tile 8 0 0.199701 battery +tile 9 0 0.202335 battery +tile 10 0 0.223282 battery +tile 11 0 0.202526 battery +tile 12 0 0.196597 battery +tile 13 0 0.188642 battery +tile 14 0 0.185456 battery +tile 15 0 0.219859 battery +tile 16 0 0.200577 battery +tile 17 0 0.191617 battery +tile 18 0 0.197329 battery +tile 19 0 0.197903 battery +tile 20 0 0.189229 battery +tile 0 1 0.188092 battery +tile 1 1 0.512135 battery +tile 2 1 0.333158 battery +tile 3 1 0.277810 battery +tile 4 1 0.234407 battery +tile 5 1 0.216363 battery +tile 6 1 0.206241 battery +tile 7 1 0.196436 battery +tile 8 1 0.188758 battery +tile 9 1 0.198103 battery +tile 10 1 0.202464 battery +tile 11 1 0.202303 battery +tile 12 1 0.195981 battery +tile 13 1 0.211295 battery +tile 14 1 0.209048 battery +tile 15 1 0.190520 battery +tile 16 1 0.189357 battery +tile 17 1 0.194747 battery +tile 18 1 0.193483 battery +tile 19 1 0.197614 battery +tile 20 1 0.193672 battery +tile 0 2 0.190442 battery +tile 1 2 0.520673 battery +tile 2 2 0.336447 battery +tile 3 2 0.264273 battery +tile 4 2 0.235392 battery +tile 5 2 0.243266 battery +tile 6 2 0.217531 battery +tile 7 2 0.192109 battery +tile 8 2 0.212739 battery +tile 9 2 0.201689 battery +tile 10 2 0.192587 battery +tile 11 2 0.192467 battery +tile 12 2 0.186277 battery +tile 13 2 0.198679 battery +tile 14 2 0.209273 battery +tile 15 2 0.246117 battery +tile 16 2 0.199788 battery +tile 17 2 0.194770 battery +tile 18 2 0.191370 battery +tile 19 2 0.191876 battery +tile 20 2 0.191499 battery +tile 0 3 0.191975 battery +tile 1 3 0.488437 battery +tile 2 3 0.322540 battery +tile 3 3 0.268730 battery +tile 4 3 0.231514 battery +tile 5 3 0.215799 battery +tile 6 3 0.202269 battery +tile 7 3 0.196971 battery +tile 8 3 0.187106 battery +tile 9 3 0.191091 battery +tile 10 3 0.191350 battery +tile 11 3 0.189710 battery +tile 12 3 0.189576 battery +tile 13 3 0.197024 battery +tile 14 3 0.190386 battery +tile 15 3 0.192481 battery +tile 16 3 0.190681 battery +tile 17 3 0.194269 battery +tile 18 3 0.187986 battery +tile 19 3 0.191184 battery +tile 20 3 0.193925 battery +tile 0 4 0.191809 battery +tile 1 4 0.496332 battery +tile 2 4 0.322659 battery +tile 3 4 0.266712 battery +tile 4 4 0.233255 battery +tile 5 4 0.214227 battery +tile 6 4 0.200122 battery +tile 7 4 0.205193 battery +tile 8 4 0.187213 battery +tile 9 4 0.189677 battery +tile 10 4 0.194293 battery +tile 11 4 0.194112 battery +tile 12 4 0.195640 battery +tile 13 4 0.187286 battery +tile 14 4 0.206203 battery +tile 15 4 0.183844 battery +tile 16 4 0.187365 battery +tile 17 4 0.189917 battery +tile 18 4 0.190633 battery +tile 19 4 0.216321 battery +tile 20 4 0.217887 battery diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r4/run.json b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r4/run.json new file mode 100644 index 00000000..b20dac5a --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r4/run.json @@ -0,0 +1,2958 @@ +{ + "label": "16b12-acceptance/base-14f5fe3-r4", + "started": "2026-09-28T23:50:21.221941+02:00", + "tree": { + "commit": "14f5fe318de4113185ded86fd2ebbbb31e281edd", + "dirty": false + }, + "bench_blob": "77765b181714c31714da476c2335c799c6a84021", + "child_argv": [ + "/Users/skavhaug/projects/rasputin/.venv/bin/python", + "/Users/skavhaug/projects/rasputin/tools/bench.py", + "_child", + "--pkg", + "/private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/wt-master-14f5fe3/build-bench/pkg", + "--threads", + "", + "--", + "mesh", + "--dem", + "/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif", + "--tolerance", + "1", + "--out", + "", + "--binary" + ], + "build": { + "no_build": false, + "type": "Release", + "cxx_flags_release": "-O3 -DNDEBUG", + "compiler": "AppleClang 21.0.0.21000101", + "so_sha256": "190587e7ba0ea96a74a8621767d7d20257c3968126a710db1364e1195afb27d2" + }, + "machine": { + "cpu_brand": "Apple M1 Max", + "p_cores": 8, + "e_cores": 2, + "memory_bytes": 34359738368, + "macos": "27.0", + "python": "3.14.7", + "numpy": "2.5.3" + }, + "power": { + "state": "battery", + "percent": 76, + "raw": "Now drawing from 'Battery Power'\n -InternalBattery-0 (id=7929955)\t77%; discharging; 2:52 remaining present: true\n--- after ---\nNow drawing from 'Battery Power'\n -InternalBattery-0 (id=7929955)\t76%; discharging; 2:34 remaining present: true\n" + }, + "inputs": { + "dem": "/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif", + "dem_sha256": "aabd0cbc28471ce8593e4c278381811bec3fbf4e1194058b3b4888d00c3af575", + "domains": [ + { + "name": "quarter", + "path": "/Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-26/quarter.geojson", + "sha256": "b7f7bbe96848383c77863ce29ee28c45bce087601a1738ee82ddb4ffb8279d1e" + }, + { + "name": "tile", + "path": null, + "sha256": null + } + ], + "tolerance": 1.0, + "extra_args": [] + }, + "samples": [ + { + "domain": "quarter", + "threads": 0, + "repeat": 0, + "refine_s": 0.165420625009574, + "app_s": 0.33473125007003546, + "proc_s": 0.9105427500326186, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 0, + "refine_s": 0.4414121250156313, + "app_s": 0.5662243750412017, + "proc_s": 0.8284217499895021, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 0, + "refine_s": 0.2865927499951795, + "app_s": 0.4097502080257982, + "proc_s": 0.6841413750080392, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 0, + "refine_s": 0.27123508299700916, + "app_s": 0.4406937500461936, + "proc_s": 0.7178502499591559, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 0, + "refine_s": 0.21997458394616842, + "app_s": 0.3737560409354046, + "proc_s": 0.6543833749601617, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 0, + "refine_s": 0.19288162502925843, + "app_s": 0.3159026250941679, + "proc_s": 0.5765841250540689, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 0, + "refine_s": 0.1842151660239324, + "app_s": 0.3071328749647364, + "proc_s": 0.5701457089744508, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 0, + "refine_s": 0.1698018329916522, + "app_s": 0.2912103330017999, + "proc_s": 0.5650307909818366, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 0, + "refine_s": 0.1632325000828132, + "app_s": 0.27409204200375825, + "proc_s": 0.5265270420350134, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 0, + "refine_s": 0.25515262491535395, + "app_s": 0.36753658298403025, + "proc_s": 0.6185644590295851, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 0, + "refine_s": 0.17270320805255324, + "app_s": 0.29119641706347466, + "proc_s": 0.5453599999891594, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 0, + "refine_s": 0.1744705829769373, + "app_s": 0.29172487498726696, + "proc_s": 0.5644557919586077, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 0, + "refine_s": 0.16272795805707574, + "app_s": 0.28577474993653595, + "proc_s": 0.5372952080797404, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 0, + "refine_s": 0.16246512497309595, + "app_s": 0.2850895000156015, + "proc_s": 0.538290666998364, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 0, + "refine_s": 0.16943429200910032, + "app_s": 0.28382795909419656, + "proc_s": 0.5344280001008883, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 0, + "refine_s": 0.17273337510414422, + "app_s": 0.2905909580877051, + "proc_s": 0.5524782909778878, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 0, + "refine_s": 0.17029629205353558, + "app_s": 0.29851008392870426, + "proc_s": 0.5591438749106601, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 0, + "refine_s": 0.1680634169606492, + "app_s": 0.3028674169909209, + "proc_s": 0.5671993331052363, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 0, + "refine_s": 0.18304233299568295, + "app_s": 0.3240642090095207, + "proc_s": 0.5927094159414992, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 0, + "refine_s": 0.1682244580006227, + "app_s": 0.29610062506981194, + "proc_s": 0.5717908330261707, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 0, + "refine_s": 0.1760443749371916, + "app_s": 0.31114554195664823, + "proc_s": 0.5745332500664517, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 1, + "refine_s": 0.16661425004713237, + "app_s": 0.28388683299999684, + "proc_s": 0.5673165000043809, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 1, + "refine_s": 0.42144108295906335, + "app_s": 0.5354742080671713, + "proc_s": 0.8046242080163211, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 1, + "refine_s": 0.27920624997932464, + "app_s": 0.39370625000447035, + "proc_s": 0.6513375830836594, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 1, + "refine_s": 0.24042083299718797, + "app_s": 0.3791902920929715, + "proc_s": 0.6649069170234725, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 1, + "refine_s": 0.20836541603785008, + "app_s": 0.3233908750116825, + "proc_s": 0.6026712500024587, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 1, + "refine_s": 0.19074266706593335, + "app_s": 0.30179283302277327, + "proc_s": 0.5640956250717863, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 1, + "refine_s": 0.1762744999723509, + "app_s": 0.28446629096288234, + "proc_s": 0.536896999925375, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 1, + "refine_s": 0.16729474999010563, + "app_s": 0.2772081249859184, + "proc_s": 0.5347696669632569, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 1, + "refine_s": 0.1623532089870423, + "app_s": 0.27306829195003957, + "proc_s": 0.5255675420630723, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 1, + "refine_s": 0.16695462504867464, + "app_s": 0.273764832993038, + "proc_s": 0.5231657499680296, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 1, + "refine_s": 0.16355933400336653, + "app_s": 0.27085308299865574, + "proc_s": 0.5209017499582842, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 1, + "refine_s": 0.1596879999851808, + "app_s": 0.26978170801885426, + "proc_s": 0.5224242919357494, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 1, + "refine_s": 0.16727145807817578, + "app_s": 0.27789537503849715, + "proc_s": 0.5453039169078693, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 1, + "refine_s": 0.16472370794508606, + "app_s": 0.27258695906493813, + "proc_s": 0.52935837500263, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 1, + "refine_s": 0.1615112079307437, + "app_s": 0.26887687493581325, + "proc_s": 0.5172247919254005, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 1, + "refine_s": 0.16304991696961224, + "app_s": 0.27214312506839633, + "proc_s": 0.522419499931857, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 1, + "refine_s": 0.16459616704378277, + "app_s": 0.27315362507943064, + "proc_s": 0.5208531660027802, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 1, + "refine_s": 0.1645901669980958, + "app_s": 0.27595350006595254, + "proc_s": 0.5283820410259068, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 1, + "refine_s": 0.15974508307408541, + "app_s": 0.2719463750254363, + "proc_s": 0.5283490830333903, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 1, + "refine_s": 0.16496624995488673, + "app_s": 0.27244679199066013, + "proc_s": 0.5259905830025673, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 1, + "refine_s": 0.16338733292650431, + "app_s": 0.27594262501224875, + "proc_s": 0.5342263750499114, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 2, + "refine_s": 0.16410549997817725, + "app_s": 0.27168462495319545, + "proc_s": 0.5242205830290914, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 2, + "refine_s": 0.4189483750378713, + "app_s": 0.5252575000049546, + "proc_s": 0.7777243329910561, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 2, + "refine_s": 0.27603125001769513, + "app_s": 0.3879967910470441, + "proc_s": 0.6632985000032932, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 2, + "refine_s": 0.22154841700103134, + "app_s": 0.33058604202233255, + "proc_s": 0.592800582991913, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 2, + "refine_s": 0.20214583398774266, + "app_s": 0.31401275005191565, + "proc_s": 0.5761072500608861, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 2, + "refine_s": 0.18551058403681964, + "app_s": 0.29460529203061014, + "proc_s": 0.5519068340072408, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 2, + "refine_s": 0.18082470796070993, + "app_s": 0.2898683339590207, + "proc_s": 0.5533018750138581, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 2, + "refine_s": 0.17405158397741616, + "app_s": 0.28988912503700703, + "proc_s": 0.5410449999617413, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 2, + "refine_s": 0.16243874991778284, + "app_s": 0.2720711670117453, + "proc_s": 0.5531324580078945, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 2, + "refine_s": 0.16427104105241597, + "app_s": 0.28466958401259035, + "proc_s": 0.5426225000992417, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 2, + "refine_s": 0.16582104202825576, + "app_s": 0.2765412910375744, + "proc_s": 0.5282470840029418, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 2, + "refine_s": 0.16015654196962714, + "app_s": 0.26824799994938076, + "proc_s": 0.5172203329857439, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 2, + "refine_s": 0.1627047499641776, + "app_s": 0.2738255829317495, + "proc_s": 0.5241121670696884, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 2, + "refine_s": 0.3488880411023274, + "app_s": 0.6647503329440951, + "proc_s": 0.9836133749922737, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 2, + "refine_s": 0.20131133298855275, + "app_s": 0.3662234159419313, + "proc_s": 0.7290839159395546, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 2, + "refine_s": 0.17940358293708414, + "app_s": 0.2975345839513466, + "proc_s": 0.5823982079746202, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 2, + "refine_s": 0.1837016249774024, + "app_s": 0.30418924998957664, + "proc_s": 0.5820626660715789, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 2, + "refine_s": 0.18668762501329184, + "app_s": 0.3085498329019174, + "proc_s": 0.5959222500678152, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 2, + "refine_s": 0.20128262508660555, + "app_s": 0.3721805840032175, + "proc_s": 0.7142334170639515, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 2, + "refine_s": 0.179719208041206, + "app_s": 0.2915521659888327, + "proc_s": 0.8658095409628004, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 2, + "refine_s": 0.18099670903757215, + "app_s": 0.2948338339338079, + "proc_s": 0.5737122079590335, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 3, + "refine_s": 0.17381241696421057, + "app_s": 0.3046184160048142, + "proc_s": 0.5972797919530421, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 3, + "refine_s": 0.47510070900898427, + "app_s": 0.5906218750169501, + "proc_s": 0.8595842920476571, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 3, + "refine_s": 0.3015507909003645, + "app_s": 0.4250266250455752, + "proc_s": 0.6987237080466002, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 3, + "refine_s": 0.24319179204758257, + "app_s": 0.35837774991523474, + "proc_s": 0.6238269999157637, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 3, + "refine_s": 0.20710750005673617, + "app_s": 0.3260795420501381, + "proc_s": 0.6019124579615891, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 3, + "refine_s": 0.19256737490650266, + "app_s": 0.3131757080554962, + "proc_s": 0.5848922919249162, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 3, + "refine_s": 0.17867358401417732, + "app_s": 0.3017904580337927, + "proc_s": 0.5675162089755759, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 3, + "refine_s": 0.1768527920357883, + "app_s": 0.31522516591940075, + "proc_s": 0.5965425409376621, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 3, + "refine_s": 0.18022845801897347, + "app_s": 0.3176734170410782, + "proc_s": 0.6045894580893219, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 3, + "refine_s": 0.1967890829546377, + "app_s": 0.3157323329942301, + "proc_s": 0.6021154579939321, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 3, + "refine_s": 0.17655920796096325, + "app_s": 0.29932816699147224, + "proc_s": 0.5836025410098955, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 3, + "refine_s": 0.18806895799934864, + "app_s": 0.3036691250745207, + "proc_s": 0.5740273330593482, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 3, + "refine_s": 0.17237804201431572, + "app_s": 0.28512779204174876, + "proc_s": 0.5534907500259578, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 3, + "refine_s": 0.17559612507466227, + "app_s": 0.2935200829524547, + "proc_s": 0.5597439170815051, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 3, + "refine_s": 0.17033537500537932, + "app_s": 0.2870160829043016, + "proc_s": 0.5737790829734877, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 3, + "refine_s": 0.17424804205074906, + "app_s": 0.28906062501482666, + "proc_s": 0.5594874579692259, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 3, + "refine_s": 0.16963779099751264, + "app_s": 0.27994083298835903, + "proc_s": 0.5499452920630574, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 3, + "refine_s": 0.16958520805928856, + "app_s": 0.2814928749576211, + "proc_s": 0.5485073330346495, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 3, + "refine_s": 0.16872150008566678, + "app_s": 0.2797708340222016, + "proc_s": 0.5446111659985036, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 3, + "refine_s": 0.17133691697381437, + "app_s": 0.2911216670181602, + "proc_s": 0.559448542073369, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 3, + "refine_s": 0.16722420894075185, + "app_s": 0.2849332080222666, + "proc_s": 0.5499587500235066, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 4, + "refine_s": 0.1670975839952007, + "app_s": 0.29205454094335437, + "proc_s": 0.5583017909666523, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 4, + "refine_s": 0.45614929194562137, + "app_s": 0.5708966250531375, + "proc_s": 0.8350966250291094, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 4, + "refine_s": 0.2883379169506952, + "app_s": 0.40855041600298136, + "proc_s": 0.6706878750119358, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 4, + "refine_s": 0.25661095802206546, + "app_s": 0.3800956249469891, + "proc_s": 0.6613800829509273, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 4, + "refine_s": 0.22085199994035065, + "app_s": 0.33851012506056577, + "proc_s": 0.5980510839726776, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 4, + "refine_s": 0.19931829196866602, + "app_s": 0.3172427910612896, + "proc_s": 0.5769096249714494, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 4, + "refine_s": 0.18380229210015386, + "app_s": 0.2994489170378074, + "proc_s": 0.5695634169969708, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 4, + "refine_s": 0.17042933299671859, + "app_s": 0.29278754198458046, + "proc_s": 0.5665769580518827, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 4, + "refine_s": 0.2000100000295788, + "app_s": 0.3377199589740485, + "proc_s": 0.615052166976966, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 4, + "refine_s": 0.17330195801332593, + "app_s": 0.30996137496549636, + "proc_s": 0.5795345419319347, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 4, + "refine_s": 0.18575070798397064, + "app_s": 0.3289282500045374, + "proc_s": 0.6088726250454783, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 4, + "refine_s": 0.17548491596244276, + "app_s": 0.29358279204461724, + "proc_s": 0.5693701250711456, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 4, + "refine_s": 0.17947929201181978, + "app_s": 0.2940142919542268, + "proc_s": 0.5641881669871509, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 4, + "refine_s": 0.18269725004211068, + "app_s": 0.3022342500044033, + "proc_s": 0.587694458081387, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 4, + "refine_s": 0.19565858296118677, + "app_s": 0.3343760409625247, + "proc_s": 0.627073833020404, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 4, + "refine_s": 0.18867858406156301, + "app_s": 0.3374540419317782, + "proc_s": 0.6809910829178989, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 4, + "refine_s": 0.1725487500661984, + "app_s": 0.2869792910059914, + "proc_s": 0.5684371250681579, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 4, + "refine_s": 0.16895004198886454, + "app_s": 0.2816794168902561, + "proc_s": 0.5599692079704255, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 4, + "refine_s": 0.17085895803757012, + "app_s": 0.2869570000329986, + "proc_s": 0.5670177089050412, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 4, + "refine_s": 0.17288495798129588, + "app_s": 0.2854689579689875, + "proc_s": 0.5557864588918164, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 4, + "refine_s": 0.1833002920029685, + "app_s": 0.30487120791804045, + "proc_s": 0.5906973750097677, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 0, + "refine_s": 0.19525400002021343, + "app_s": 0.34988129208795726, + "proc_s": 0.642377374926582, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 0, + "refine_s": 0.5455242500174791, + "app_s": 0.6855685000773519, + "proc_s": 0.9565964579815045, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 0, + "refine_s": 0.338500083074905, + "app_s": 0.48069779097568244, + "proc_s": 0.7593731250381097, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 0, + "refine_s": 0.27161066699773073, + "app_s": 0.40828387497458607, + "proc_s": 0.6777302919654176, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 0, + "refine_s": 0.23585662501864135, + "app_s": 0.38819974998477846, + "proc_s": 0.6572569999843836, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 0, + "refine_s": 0.21986987499985844, + "app_s": 0.36064616695512086, + "proc_s": 0.6261970829218626, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 0, + "refine_s": 0.2094583340222016, + "app_s": 0.34855112491641194, + "proc_s": 0.612644583103247, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 0, + "refine_s": 0.19759754207916558, + "app_s": 0.33486249996349216, + "proc_s": 0.5991367080714554, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 0, + "refine_s": 0.19970108300913125, + "app_s": 0.33973520796280354, + "proc_s": 0.6287548750406131, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 0, + "refine_s": 0.20233479200396687, + "app_s": 0.3521412919508293, + "proc_s": 0.627499790978618, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 0, + "refine_s": 0.2232819169294089, + "app_s": 0.38602933404035866, + "proc_s": 0.6682543329661712, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 0, + "refine_s": 0.2025264169787988, + "app_s": 0.3480647500837222, + "proc_s": 0.6304759999038652, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 0, + "refine_s": 0.1965971669415012, + "app_s": 0.33755279204342514, + "proc_s": 0.6145138749852777, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 0, + "refine_s": 0.18864225002471358, + "app_s": 0.33067225001286715, + "proc_s": 0.6036321669816971, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 0, + "refine_s": 0.18545587500557303, + "app_s": 0.3219156248960644, + "proc_s": 0.5860829158918932, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 0, + "refine_s": 0.21985916700214148, + "app_s": 0.4111399999819696, + "proc_s": 0.6938713329145685, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 0, + "refine_s": 0.20057674997951835, + "app_s": 0.3457815410802141, + "proc_s": 0.6320750409504399, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 0, + "refine_s": 0.19161729200277478, + "app_s": 0.3313246250618249, + "proc_s": 0.609191166004166, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 0, + "refine_s": 0.1973292090697214, + "app_s": 0.33633595902938396, + "proc_s": 0.6053398340009153, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 0, + "refine_s": 0.19790304091293365, + "app_s": 0.3353895000182092, + "proc_s": 0.6043862500227988, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 0, + "refine_s": 0.18922854110132903, + "app_s": 0.328015916980803, + "proc_s": 0.5978651250479743, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 1, + "refine_s": 0.18809179204981774, + "app_s": 0.32668329193256795, + "proc_s": 0.5954698330024257, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 1, + "refine_s": 0.512135082972236, + "app_s": 0.6487679580459371, + "proc_s": 0.9142032499657944, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 1, + "refine_s": 0.3331584580009803, + "app_s": 0.47262466698884964, + "proc_s": 0.7366765830665827, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 1, + "refine_s": 0.27781012502964586, + "app_s": 0.416884999955073, + "proc_s": 0.6892402080120519, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 1, + "refine_s": 0.23440737510100007, + "app_s": 0.3773384589003399, + "proc_s": 0.6529537909664214, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 1, + "refine_s": 0.21636258298531175, + "app_s": 0.35414720803964883, + "proc_s": 0.6267539160326123, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 1, + "refine_s": 0.2062407920602709, + "app_s": 0.3452005829894915, + "proc_s": 0.616302666021511, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 1, + "refine_s": 0.196435833000578, + "app_s": 0.33878183306660503, + "proc_s": 0.6115231660660356, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 1, + "refine_s": 0.18875845905859023, + "app_s": 0.3317368340212852, + "proc_s": 0.6026890829671174, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 1, + "refine_s": 0.19810258399229497, + "app_s": 0.3446787920547649, + "proc_s": 0.6285843749064952, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 1, + "refine_s": 0.2024644169723615, + "app_s": 0.3770797500619665, + "proc_s": 0.6539423340000212, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 1, + "refine_s": 0.20230312494095415, + "app_s": 0.37688908306881785, + "proc_s": 0.6960844158893451, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 1, + "refine_s": 0.19598120800219476, + "app_s": 0.3318786669988185, + "proc_s": 0.6156162499682978, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 1, + "refine_s": 0.21129545802250504, + "app_s": 0.35289074992761016, + "proc_s": 0.6277797499205917, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 1, + "refine_s": 0.2090483329957351, + "app_s": 0.3516849169973284, + "proc_s": 0.6350116250105202, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 1, + "refine_s": 0.1905203340575099, + "app_s": 0.33174041693564504, + "proc_s": 0.5993895829888061, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 1, + "refine_s": 0.1893570829415694, + "app_s": 0.32856029097456485, + "proc_s": 0.5994876249460503, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 1, + "refine_s": 0.194747208035551, + "app_s": 0.3303767499746755, + "proc_s": 0.5991067920112982, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 1, + "refine_s": 0.19348312506917864, + "app_s": 0.33048541692551225, + "proc_s": 0.5939580410486087, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 1, + "refine_s": 0.19761358306277543, + "app_s": 0.3351133749820292, + "proc_s": 0.5991943340050057, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 1, + "refine_s": 0.19367162499111146, + "app_s": 0.3333488330245018, + "proc_s": 0.6106566659873351, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 2, + "refine_s": 0.19044174998998642, + "app_s": 0.3311130829388276, + "proc_s": 0.6101736669661477, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 2, + "refine_s": 0.520672666025348, + "app_s": 0.6576554169878364, + "proc_s": 0.9191501250024885, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 2, + "refine_s": 0.33644666604232043, + "app_s": 0.4712872919626534, + "proc_s": 0.73951958399266, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 2, + "refine_s": 0.26427333406172693, + "app_s": 0.4025087500922382, + "proc_s": 0.6627664170227945, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 2, + "refine_s": 0.2353919999441132, + "app_s": 0.37672275002114475, + "proc_s": 0.6452869999920949, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 2, + "refine_s": 0.24326558399479836, + "app_s": 0.3872922499431297, + "proc_s": 0.6627366660395637, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 2, + "refine_s": 0.2175314590567723, + "app_s": 0.35883145907428116, + "proc_s": 0.6315446669468656, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 2, + "refine_s": 0.19210904196370393, + "app_s": 0.32815937499981374, + "proc_s": 0.5972124999389052, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 2, + "refine_s": 0.21273920801468194, + "app_s": 0.3554703330155462, + "proc_s": 0.6219922910677269, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 2, + "refine_s": 0.2016887079225853, + "app_s": 0.34250475000590086, + "proc_s": 0.6160040000686422, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 2, + "refine_s": 0.19258733396418393, + "app_s": 0.33124225004576147, + "proc_s": 0.6022655420238152, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 2, + "refine_s": 0.1924673329340294, + "app_s": 0.33270245895255357, + "proc_s": 0.5968845409806818, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 2, + "refine_s": 0.18627695902250707, + "app_s": 0.32863391702994704, + "proc_s": 0.6000829169061035, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 2, + "refine_s": 0.19867904193233699, + "app_s": 0.3625266660237685, + "proc_s": 0.6421987500507385, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 2, + "refine_s": 0.209273291984573, + "app_s": 0.3554163749795407, + "proc_s": 0.6290482078911737, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 2, + "refine_s": 0.24611729208845645, + "app_s": 0.4077974170213565, + "proc_s": 0.7318730000406504, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 2, + "refine_s": 0.1997876251116395, + "app_s": 0.34350862505380064, + "proc_s": 0.6210407500620931, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 2, + "refine_s": 0.19477033300790936, + "app_s": 0.3359111249446869, + "proc_s": 0.6008386670146137, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 2, + "refine_s": 0.19136950001120567, + "app_s": 0.3280187089694664, + "proc_s": 0.5926932499278337, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 2, + "refine_s": 0.19187562505248934, + "app_s": 0.3258388750255108, + "proc_s": 0.586732416995801, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 2, + "refine_s": 0.19149900006596, + "app_s": 0.3331746659241617, + "proc_s": 0.6018611249746755, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 3, + "refine_s": 0.1919748339569196, + "app_s": 0.3301208339398727, + "proc_s": 0.5980988750234246, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 3, + "refine_s": 0.488436916959472, + "app_s": 0.6282710420200601, + "proc_s": 0.8906804159050807, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 3, + "refine_s": 0.32253983395639807, + "app_s": 0.4603199170669541, + "proc_s": 0.7199291669530794, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 3, + "refine_s": 0.26873041701037437, + "app_s": 0.40375925006810576, + "proc_s": 0.663422083016485, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 3, + "refine_s": 0.2315141250146553, + "app_s": 0.3670780840329826, + "proc_s": 0.6227009170688689, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 3, + "refine_s": 0.2157987910322845, + "app_s": 0.3547196669969708, + "proc_s": 0.6205499999923632, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 3, + "refine_s": 0.2022694160696119, + "app_s": 0.3434651659335941, + "proc_s": 0.6150523750111461, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 3, + "refine_s": 0.19697141693904996, + "app_s": 0.3408132919576019, + "proc_s": 0.5996326670283452, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 3, + "refine_s": 0.18710562493652105, + "app_s": 0.3292994999792427, + "proc_s": 0.5970426669809967, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 3, + "refine_s": 0.1910907500423491, + "app_s": 0.3360989169450477, + "proc_s": 0.6021274999948218, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 3, + "refine_s": 0.19135037495288998, + "app_s": 0.33600916690193117, + "proc_s": 0.5983524170005694, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 3, + "refine_s": 0.18970987503416836, + "app_s": 0.3308734999736771, + "proc_s": 0.5952828750014305, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 3, + "refine_s": 0.18957625003531575, + "app_s": 0.3335672919638455, + "proc_s": 0.5945431670406833, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 3, + "refine_s": 0.19702399999368936, + "app_s": 0.3413161669159308, + "proc_s": 0.6055403749924153, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 3, + "refine_s": 0.1903864579508081, + "app_s": 0.33190574997570366, + "proc_s": 0.5917522080708295, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 3, + "refine_s": 0.1924807500327006, + "app_s": 0.3342728749848902, + "proc_s": 0.5969912919681519, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 3, + "refine_s": 0.19068083295132965, + "app_s": 0.33372483402490616, + "proc_s": 0.5989637499442324, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 3, + "refine_s": 0.19426866702269763, + "app_s": 0.33665166597347707, + "proc_s": 0.6047166670905426, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 3, + "refine_s": 0.1879855829756707, + "app_s": 0.329486042028293, + "proc_s": 0.594534375006333, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 3, + "refine_s": 0.19118408299982548, + "app_s": 0.33128187502734363, + "proc_s": 0.5946395000210032, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 3, + "refine_s": 0.19392516696825624, + "app_s": 0.3370824169833213, + "proc_s": 0.6097747079329565, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 4, + "refine_s": 0.19180929195135832, + "app_s": 0.33090508391615003, + "proc_s": 0.5868952079908922, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 4, + "refine_s": 0.4963319170055911, + "app_s": 0.6373976249014959, + "proc_s": 0.8984696250408888, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 4, + "refine_s": 0.32265879202168435, + "app_s": 0.45906454196665436, + "proc_s": 0.7214984169695526, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 4, + "refine_s": 0.2667116658994928, + "app_s": 0.40929383295588195, + "proc_s": 0.6754285829374567, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 4, + "refine_s": 0.23325537494383752, + "app_s": 0.3753307919250801, + "proc_s": 0.6371543750865385, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 4, + "refine_s": 0.21422691701445729, + "app_s": 0.35625358403194696, + "proc_s": 0.6136271660216153, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 4, + "refine_s": 0.20012187492102385, + "app_s": 0.34238270798232406, + "proc_s": 0.6019709170795977, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 4, + "refine_s": 0.20519254205282778, + "app_s": 0.3490460829343647, + "proc_s": 0.6162893329747021, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 4, + "refine_s": 0.1872129589319229, + "app_s": 0.3255837089382112, + "proc_s": 0.5881524160504341, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 4, + "refine_s": 0.18967741599772125, + "app_s": 0.33018358307890594, + "proc_s": 0.586820709053427, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 4, + "refine_s": 0.1942932920064777, + "app_s": 0.33790412498638034, + "proc_s": 0.5979753329884261, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 4, + "refine_s": 0.1941118329996243, + "app_s": 0.34565937507431954, + "proc_s": 0.6267133329529315, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 4, + "refine_s": 0.19564008293673396, + "app_s": 0.34846962499432266, + "proc_s": 0.6105655420105904, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 4, + "refine_s": 0.18728608288802207, + "app_s": 0.33080570795573294, + "proc_s": 0.5882665000390261, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 4, + "refine_s": 0.20620312495157123, + "app_s": 0.3504123749444261, + "proc_s": 0.6279969169991091, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 4, + "refine_s": 0.1838444999884814, + "app_s": 0.3254599589854479, + "proc_s": 0.5902778749587014, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 4, + "refine_s": 0.18736466695554554, + "app_s": 0.3248253329657018, + "proc_s": 0.5874044590163976, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 4, + "refine_s": 0.18991716601885855, + "app_s": 0.33315541699994355, + "proc_s": 0.5965908340876922, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 4, + "refine_s": 0.19063262490089983, + "app_s": 0.330632625031285, + "proc_s": 0.5996029590023682, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 4, + "refine_s": 0.21632079198025167, + "app_s": 0.35772766696754843, + "proc_s": 0.628752666991204, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 4, + "refine_s": 0.2178873340599239, + "app_s": 0.3607264580205083, + "proc_s": 0.6290691660251468, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + } + ], + "stats": [ + { + "domain": "quarter", + "threads": 0, + "n": 5, + "median": 0.16661425004713237, + "min": 0.16410549997817725, + "max": 0.17381241696421057 + }, + { + "domain": "quarter", + "threads": 1, + "n": 5, + "median": 0.4414121250156313, + "min": 0.4189483750378713, + "max": 0.47510070900898427 + }, + { + "domain": "quarter", + "threads": 2, + "n": 5, + "median": 0.2865927499951795, + "min": 0.27603125001769513, + "max": 0.3015507909003645 + }, + { + "domain": "quarter", + "threads": 3, + "n": 5, + "median": 0.24319179204758257, + "min": 0.22154841700103134, + "max": 0.27123508299700916 + }, + { + "domain": "quarter", + "threads": 4, + "n": 5, + "median": 0.20836541603785008, + "min": 0.20214583398774266, + "max": 0.22085199994035065 + }, + { + "domain": "quarter", + "threads": 5, + "n": 5, + "median": 0.19256737490650266, + "min": 0.18551058403681964, + "max": 0.19931829196866602 + }, + { + "domain": "quarter", + "threads": 6, + "n": 5, + "median": 0.18082470796070993, + "min": 0.1762744999723509, + "max": 0.1842151660239324 + }, + { + "domain": "quarter", + "threads": 7, + "n": 5, + "median": 0.17042933299671859, + "min": 0.16729474999010563, + "max": 0.1768527920357883 + }, + { + "domain": "quarter", + "threads": 8, + "n": 5, + "median": 0.1632325000828132, + "min": 0.1623532089870423, + "max": 0.2000100000295788 + }, + { + "domain": "quarter", + "threads": 9, + "n": 5, + "median": 0.17330195801332593, + "min": 0.16427104105241597, + "max": 0.25515262491535395 + }, + { + "domain": "quarter", + "threads": 10, + "n": 5, + "median": 0.17270320805255324, + "min": 0.16355933400336653, + "max": 0.18575070798397064 + }, + { + "domain": "quarter", + "threads": 11, + "n": 5, + "median": 0.1744705829769373, + "min": 0.1596879999851808, + "max": 0.18806895799934864 + }, + { + "domain": "quarter", + "threads": 12, + "n": 5, + "median": 0.16727145807817578, + "min": 0.1627047499641776, + "max": 0.17947929201181978 + }, + { + "domain": "quarter", + "threads": 13, + "n": 5, + "median": 0.17559612507466227, + "min": 0.16246512497309595, + "max": 0.3488880411023274 + }, + { + "domain": "quarter", + "threads": 14, + "n": 5, + "median": 0.17033537500537932, + "min": 0.1615112079307437, + "max": 0.20131133298855275 + }, + { + "domain": "quarter", + "threads": 15, + "n": 5, + "median": 0.17424804205074906, + "min": 0.16304991696961224, + "max": 0.18867858406156301 + }, + { + "domain": "quarter", + "threads": 16, + "n": 5, + "median": 0.17029629205353558, + "min": 0.16459616704378277, + "max": 0.1837016249774024 + }, + { + "domain": "quarter", + "threads": 17, + "n": 5, + "median": 0.16895004198886454, + "min": 0.1645901669980958, + "max": 0.18668762501329184 + }, + { + "domain": "quarter", + "threads": 18, + "n": 5, + "median": 0.17085895803757012, + "min": 0.15974508307408541, + "max": 0.20128262508660555 + }, + { + "domain": "quarter", + "threads": 19, + "n": 5, + "median": 0.17133691697381437, + "min": 0.16496624995488673, + "max": 0.179719208041206 + }, + { + "domain": "quarter", + "threads": 20, + "n": 5, + "median": 0.1760443749371916, + "min": 0.16338733292650431, + "max": 0.1833002920029685 + }, + { + "domain": "tile", + "threads": 0, + "n": 5, + "median": 0.19180929195135832, + "min": 0.18809179204981774, + "max": 0.19525400002021343 + }, + { + "domain": "tile", + "threads": 1, + "n": 5, + "median": 0.512135082972236, + "min": 0.488436916959472, + "max": 0.5455242500174791 + }, + { + "domain": "tile", + "threads": 2, + "n": 5, + "median": 0.3331584580009803, + "min": 0.32253983395639807, + "max": 0.338500083074905 + }, + { + "domain": "tile", + "threads": 3, + "n": 5, + "median": 0.26873041701037437, + "min": 0.26427333406172693, + "max": 0.27781012502964586 + }, + { + "domain": "tile", + "threads": 4, + "n": 5, + "median": 0.23440737510100007, + "min": 0.2315141250146553, + "max": 0.23585662501864135 + }, + { + "domain": "tile", + "threads": 5, + "n": 5, + "median": 0.21636258298531175, + "min": 0.21422691701445729, + "max": 0.24326558399479836 + }, + { + "domain": "tile", + "threads": 6, + "n": 5, + "median": 0.2062407920602709, + "min": 0.20012187492102385, + "max": 0.2175314590567723 + }, + { + "domain": "tile", + "threads": 7, + "n": 5, + "median": 0.19697141693904996, + "min": 0.19210904196370393, + "max": 0.20519254205282778 + }, + { + "domain": "tile", + "threads": 8, + "n": 5, + "median": 0.18875845905859023, + "min": 0.18710562493652105, + "max": 0.21273920801468194 + }, + { + "domain": "tile", + "threads": 9, + "n": 5, + "median": 0.19810258399229497, + "min": 0.18967741599772125, + "max": 0.20233479200396687 + }, + { + "domain": "tile", + "threads": 10, + "n": 5, + "median": 0.1942932920064777, + "min": 0.19135037495288998, + "max": 0.2232819169294089 + }, + { + "domain": "tile", + "threads": 11, + "n": 5, + "median": 0.1941118329996243, + "min": 0.18970987503416836, + "max": 0.2025264169787988 + }, + { + "domain": "tile", + "threads": 12, + "n": 5, + "median": 0.19564008293673396, + "min": 0.18627695902250707, + "max": 0.1965971669415012 + }, + { + "domain": "tile", + "threads": 13, + "n": 5, + "median": 0.19702399999368936, + "min": 0.18728608288802207, + "max": 0.21129545802250504 + }, + { + "domain": "tile", + "threads": 14, + "n": 5, + "median": 0.20620312495157123, + "min": 0.18545587500557303, + "max": 0.209273291984573 + }, + { + "domain": "tile", + "threads": 15, + "n": 5, + "median": 0.1924807500327006, + "min": 0.1838444999884814, + "max": 0.24611729208845645 + }, + { + "domain": "tile", + "threads": 16, + "n": 5, + "median": 0.19068083295132965, + "min": 0.18736466695554554, + "max": 0.20057674997951835 + }, + { + "domain": "tile", + "threads": 17, + "n": 5, + "median": 0.19426866702269763, + "min": 0.18991716601885855, + "max": 0.19477033300790936 + }, + { + "domain": "tile", + "threads": 18, + "n": 5, + "median": 0.19136950001120567, + "min": 0.1879855829756707, + "max": 0.1973292090697214 + }, + { + "domain": "tile", + "threads": 19, + "n": 5, + "median": 0.19761358306277543, + "min": 0.19118408299982548, + "max": 0.21632079198025167 + }, + { + "domain": "tile", + "threads": 20, + "n": 5, + "median": 0.19367162499111146, + "min": 0.18922854110132903, + "max": 0.2178873340599239 + } + ], + "quality": { + "quarter": { + "worst_angle": 0.3955267116350698, + "angle_median": 45.0, + "share_under_1": 0.000028023175165862168, + "max_degree": 18, + "within_tolerance": true, + "delaunay_checked": 641791, + "delaunay_ambiguous": 80136, + "delaunay_violations": 0, + "mesh_sha256": "ccebf96a86c6c5e244e4a0281919de4e866fcfe789b66024a290ac2af33771a1" + }, + "tile": { + "worst_angle": 0.6295986084102668, + "angle_median": 45.0, + "share_under_1": 2.1538262723728703e-6, + "max_degree": 74, + "within_tolerance": true, + "delaunay_checked": 692056, + "delaunay_ambiguous": 94469, + "delaunay_violations": 0, + "mesh_sha256": "11741a81adfa17b34a1ea56875ec9e791414d17625eb1c58305e7c0cf10e005c" + } + }, + "accept_quality": false, + "threshold_pct": 5.0, + "verdict": [ + "REGRESSION: quarter refine_s[t=3] 0.2264 -> 0.2432 (+7.4 %)", + "REGRESSION: tile refine_s[t=1] 0.4714 -> 0.5121 (+8.6 %)", + "REGRESSION: tile refine_s[t=2] 0.3113 -> 0.3332 (+7.0 %)", + "REGRESSION: tile refine_s[t=14] 0.1926 -> 0.2062 (+7.1 %)" + ] +} diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3/README.md b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3/README.md new file mode 100644 index 00000000..6f84a607 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3/README.md @@ -0,0 +1,79 @@ +# Benchmark run `16b12-acceptance/base-14f5fe3` + +Generated by `tools/bench.py`. + +## Verdict + +- ACCEPTED + +Time threshold: 5.0 %. + +## Method + +- Started 2026-09-28T23:36:14.771543+02:00; tree `14f5fe318de4113185ded86fd2ebbbb31e281edd`; bench.py blob `77765b181714c31714da476c2335c799c6a84021`. Build: Release, AppleClang 21.0.0.21000101, `-O3 -DNDEBUG`, _core sha256 `190587e7ba0ea96a74a8621767d7d20257c3968126a710db1364e1195afb27d2`. +- Apple M1 Max, 8 P + 2 E cores, 32 GiB, macOS 27.0, Python 3.14.7, numpy 2.5.3. +- Power **battery** (82%), `pmset -g batt` before and after (in run.json). +- DEM `/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif` (sha256 `aabd0cbc28471ce8593e4c278381811bec3fbf4e1194058b3b4888d00c3af575`), tolerance 1.0, extra mesh args ``; domains: `quarter` (/Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-26/quarter.geojson), `tile` (the whole tile). +- One child per sample, `/Users/skavhaug/projects/rasputin/.venv/bin/python /Users/skavhaug/projects/rasputin/tools/bench.py _child --pkg /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/wt-master-14f5fe3/build-bench/pkg --threads -- mesh --dem /Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif --tolerance 1 --out --binary`, repeats interleaved over thread counts; t=0 is the CLI's default, other counts are forced into `refine`. Quality: one `--ascii` run per domain at t=0, kept out of the repository; rerun the child with `--ascii --out PATH` to regenerate it. + +## `quarter` + +| threads | n | median s | min s | max s | +|---:|---:|---:|---:|---:| +| 0 | 5 | 0.1672 | 0.1653 | 0.1730 | +| 1 | 5 | 0.4228 | 0.4161 | 0.4333 | +| 2 | 5 | 0.2779 | 0.2716 | 0.3023 | +| 3 | 5 | 0.2239 | 0.2211 | 0.2711 | +| 4 | 5 | 0.2016 | 0.1996 | 0.2082 | +| 5 | 5 | 0.1856 | 0.1852 | 0.1929 | +| 6 | 5 | 0.1755 | 0.1748 | 0.1809 | +| 7 | 5 | 0.1694 | 0.1664 | 0.1753 | +| 8 | 5 | 0.1627 | 0.1622 | 0.1707 | +| 9 | 5 | 0.1646 | 0.1618 | 0.1681 | +| 10 | 5 | 0.1650 | 0.1623 | 0.1681 | +| 11 | 5 | 0.1655 | 0.1632 | 0.1713 | +| 12 | 5 | 0.1701 | 0.1640 | 0.1917 | +| 13 | 5 | 0.1678 | 0.1652 | 0.2153 | +| 14 | 5 | 0.1656 | 0.1624 | 0.1745 | +| 15 | 5 | 0.1650 | 0.1643 | 0.1672 | +| 16 | 5 | 0.1685 | 0.1634 | 0.1799 | +| 17 | 5 | 0.1655 | 0.1638 | 0.1817 | +| 18 | 5 | 0.1695 | 0.1640 | 0.1794 | +| 19 | 5 | 0.1655 | 0.1648 | 0.1694 | +| 20 | 5 | 0.1658 | 0.1653 | 0.1888 | + +Ceiling: 2.55x at 20 threads over 1, best 2.60x at 8; 2026-09-26: about 2.2x, flat from about 7. + +Quality: worst angle 0.3955 deg, median 45.00, share under 1 deg 0.00003, max degree 18, within tolerance True, Delaunay 0 violations of 641791 edges (80136 decided exactly), mesh sha256 `ccebf96a86c6c5e244e4a0281919de4e866fcfe789b66024a290ac2af33771a1`. + +## `tile` + +| threads | n | median s | min s | max s | +|---:|---:|---:|---:|---:| +| 0 | 5 | 0.1919 | 0.1832 | 0.2101 | +| 1 | 5 | 0.4897 | 0.4628 | 0.5150 | +| 2 | 5 | 0.3184 | 0.3055 | 0.3487 | +| 3 | 5 | 0.2609 | 0.2521 | 0.2802 | +| 4 | 5 | 0.2323 | 0.2255 | 0.2535 | +| 5 | 5 | 0.2118 | 0.2086 | 0.2344 | +| 6 | 5 | 0.1998 | 0.1987 | 0.2023 | +| 7 | 5 | 0.1913 | 0.1894 | 0.2039 | +| 8 | 5 | 0.1853 | 0.1846 | 0.1948 | +| 9 | 5 | 0.1913 | 0.1864 | 0.1977 | +| 10 | 5 | 0.1875 | 0.1850 | 0.2096 | +| 11 | 5 | 0.1897 | 0.1812 | 0.1958 | +| 12 | 5 | 0.1880 | 0.1814 | 0.1955 | +| 13 | 5 | 0.1874 | 0.1849 | 0.3355 | +| 14 | 5 | 0.1860 | 0.1816 | 0.1925 | +| 15 | 5 | 0.1855 | 0.1839 | 0.1882 | +| 16 | 5 | 0.1879 | 0.1863 | 0.1912 | +| 17 | 5 | 0.1865 | 0.1845 | 0.1913 | +| 18 | 5 | 0.1872 | 0.1858 | 0.1990 | +| 19 | 5 | 0.1867 | 0.1854 | 0.1907 | +| 20 | 5 | 0.1896 | 0.1877 | 0.1916 | + +Ceiling: 2.58x at 20 threads over 1, best 2.64x at 8; 2026-09-26: about 2.2x, flat from about 7. + +Quality: worst angle 0.6296 deg, median 45.00, share under 1 deg 0.00000, max degree 74, within tolerance True, Delaunay 0 violations of 692056 edges (94469 decided exactly), mesh sha256 `11741a81adfa17b34a1ea56875ec9e791414d17625eb1c58305e7c0cf10e005c`. + + diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3/raw.tsv b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3/raw.tsv new file mode 100644 index 00000000..3f53ea8e --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3/raw.tsv @@ -0,0 +1,210 @@ +quarter 0 0 0.167720 battery +quarter 1 0 0.429449 battery +quarter 2 0 0.277857 battery +quarter 3 0 0.223935 battery +quarter 4 0 0.207347 battery +quarter 5 0 0.185553 battery +quarter 6 0 0.175708 battery +quarter 7 0 0.174344 battery +quarter 8 0 0.164169 battery +quarter 9 0 0.163609 battery +quarter 10 0 0.163795 battery +quarter 11 0 0.165457 battery +quarter 12 0 0.170108 battery +quarter 13 0 0.166263 battery +quarter 14 0 0.165912 battery +quarter 15 0 0.164947 battery +quarter 16 0 0.163443 battery +quarter 17 0 0.165841 battery +quarter 18 0 0.165677 battery +quarter 19 0 0.165491 battery +quarter 20 0 0.165570 battery +quarter 0 1 0.165310 battery +quarter 1 1 0.417306 battery +quarter 2 1 0.298191 battery +quarter 3 1 0.227407 battery +quarter 4 1 0.201642 battery +quarter 5 1 0.185586 battery +quarter 6 1 0.180936 battery +quarter 7 1 0.166634 battery +quarter 8 1 0.162241 battery +quarter 9 1 0.161781 battery +quarter 10 1 0.162274 battery +quarter 11 1 0.171344 battery +quarter 12 1 0.191724 battery +quarter 13 1 0.215262 battery +quarter 14 1 0.164750 battery +quarter 15 1 0.167158 battery +quarter 16 1 0.164930 battery +quarter 17 1 0.164384 battery +quarter 18 1 0.169459 battery +quarter 19 1 0.164765 battery +quarter 20 1 0.165845 battery +quarter 0 2 0.166458 battery +quarter 1 2 0.433284 battery +quarter 2 2 0.271561 battery +quarter 3 2 0.221105 battery +quarter 4 2 0.200966 battery +quarter 5 2 0.186393 battery +quarter 6 2 0.175498 battery +quarter 7 2 0.169387 battery +quarter 8 2 0.162741 battery +quarter 9 2 0.164837 battery +quarter 10 2 0.164966 battery +quarter 11 2 0.163245 battery +quarter 12 2 0.164277 battery +quarter 13 2 0.165186 battery +quarter 14 2 0.165627 battery +quarter 15 2 0.165154 battery +quarter 16 2 0.172352 battery +quarter 17 2 0.165530 battery +quarter 18 2 0.173766 battery +quarter 19 2 0.164868 battery +quarter 20 2 0.165311 battery +quarter 0 3 0.167163 battery +quarter 1 3 0.416097 battery +quarter 2 3 0.277177 battery +quarter 3 3 0.221774 battery +quarter 4 3 0.199631 battery +quarter 5 3 0.185152 battery +quarter 6 3 0.174800 battery +quarter 7 3 0.166402 battery +quarter 8 3 0.162570 battery +quarter 9 3 0.164583 battery +quarter 10 3 0.165893 battery +quarter 11 3 0.163288 battery +quarter 12 3 0.164021 battery +quarter 13 3 0.167838 battery +quarter 14 3 0.174493 battery +quarter 15 3 0.164280 battery +quarter 16 3 0.179934 battery +quarter 17 3 0.181720 battery +quarter 18 3 0.179440 battery +quarter 19 3 0.169390 battery +quarter 20 3 0.166300 battery +quarter 0 4 0.172965 battery +quarter 1 4 0.422779 battery +quarter 2 4 0.302322 battery +quarter 3 4 0.271103 battery +quarter 4 4 0.208184 battery +quarter 5 4 0.192872 battery +quarter 6 4 0.174941 battery +quarter 7 4 0.175256 battery +quarter 8 4 0.170750 battery +quarter 9 4 0.168111 battery +quarter 10 4 0.168074 battery +quarter 11 4 0.166563 battery +quarter 12 4 0.171087 battery +quarter 13 4 0.168700 battery +quarter 14 4 0.162439 battery +quarter 15 4 0.165020 battery +quarter 16 4 0.168545 battery +quarter 17 4 0.163820 battery +quarter 18 4 0.164014 battery +quarter 19 4 0.167905 battery +quarter 20 4 0.188785 battery +tile 0 0 0.191886 battery +tile 1 0 0.515049 battery +tile 2 0 0.348714 battery +tile 3 0 0.260854 battery +tile 4 0 0.232253 battery +tile 5 0 0.213644 battery +tile 6 0 0.199845 battery +tile 7 0 0.191290 battery +tile 8 0 0.185316 battery +tile 9 0 0.186392 battery +tile 10 0 0.186232 battery +tile 11 0 0.195833 battery +tile 12 0 0.185342 battery +tile 13 0 0.187414 battery +tile 14 0 0.184719 battery +tile 15 0 0.188212 battery +tile 16 0 0.187888 battery +tile 17 0 0.186461 battery +tile 18 0 0.187239 battery +tile 19 0 0.189016 battery +tile 20 0 0.191566 battery +tile 0 1 0.183245 battery +tile 1 1 0.489737 battery +tile 2 1 0.318389 battery +tile 3 1 0.280154 battery +tile 4 1 0.253533 battery +tile 5 1 0.234363 battery +tile 6 1 0.199373 battery +tile 7 1 0.197445 battery +tile 8 1 0.184896 battery +tile 9 1 0.186954 battery +tile 10 1 0.192898 battery +tile 11 1 0.189655 battery +tile 12 1 0.188003 battery +tile 13 1 0.184916 battery +tile 14 1 0.189271 battery +tile 15 1 0.183927 battery +tile 16 1 0.190287 battery +tile 17 1 0.187599 battery +tile 18 1 0.186227 battery +tile 19 1 0.190742 battery +tile 20 1 0.187652 battery +tile 0 2 0.195990 battery +tile 1 2 0.501097 battery +tile 2 2 0.314531 battery +tile 3 2 0.267508 battery +tile 4 2 0.245393 battery +tile 5 2 0.211806 battery +tile 6 2 0.202294 battery +tile 7 2 0.203893 battery +tile 8 2 0.194817 battery +tile 9 2 0.196563 battery +tile 10 2 0.209555 battery +tile 11 2 0.194998 battery +tile 12 2 0.195474 battery +tile 13 2 0.335473 battery +tile 14 2 0.192513 battery +tile 15 2 0.185935 battery +tile 16 2 0.191239 battery +tile 17 2 0.184452 battery +tile 18 2 0.198951 battery +tile 19 2 0.186406 battery +tile 20 2 0.188827 battery +tile 0 3 0.185966 battery +tile 1 3 0.462779 battery +tile 2 3 0.305453 battery +tile 3 3 0.255724 battery +tile 4 3 0.231874 battery +tile 5 3 0.208565 battery +tile 6 3 0.198737 battery +tile 7 3 0.189407 battery +tile 8 3 0.188873 battery +tile 9 3 0.197737 battery +tile 10 3 0.185018 battery +tile 11 3 0.181248 battery +tile 12 3 0.181427 battery +tile 13 3 0.195109 battery +tile 14 3 0.181578 battery +tile 15 3 0.185545 battery +tile 16 3 0.186326 battery +tile 17 3 0.191284 battery +tile 18 3 0.185805 battery +tile 19 3 0.186660 battery +tile 20 3 0.189665 battery +tile 0 4 0.210112 battery +tile 1 4 0.478256 battery +tile 2 4 0.323066 battery +tile 3 4 0.252056 battery +tile 4 4 0.225508 battery +tile 5 4 0.210618 battery +tile 6 4 0.199791 battery +tile 7 4 0.191155 battery +tile 8 4 0.184628 battery +tile 9 4 0.191303 battery +tile 10 4 0.187475 battery +tile 11 4 0.184635 battery +tile 12 4 0.195443 battery +tile 13 4 0.185528 battery +tile 14 4 0.186019 battery +tile 15 4 0.185381 battery +tile 16 4 0.186316 battery +tile 17 4 0.184680 battery +tile 18 4 0.188719 battery +tile 19 4 0.185352 battery +tile 20 4 0.189589 battery diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3/run.json b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3/run.json new file mode 100644 index 00000000..557425b8 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3/run.json @@ -0,0 +1,2955 @@ +{ + "label": "16b12-acceptance/base-14f5fe3", + "started": "2026-09-28T23:36:14.771543+02:00", + "tree": { + "commit": "14f5fe318de4113185ded86fd2ebbbb31e281edd", + "dirty": false + }, + "bench_blob": "77765b181714c31714da476c2335c799c6a84021", + "child_argv": [ + "/Users/skavhaug/projects/rasputin/.venv/bin/python", + "/Users/skavhaug/projects/rasputin/tools/bench.py", + "_child", + "--pkg", + "/private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/wt-master-14f5fe3/build-bench/pkg", + "--threads", + "", + "--", + "mesh", + "--dem", + "/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif", + "--tolerance", + "1", + "--out", + "", + "--binary" + ], + "build": { + "no_build": false, + "type": "Release", + "cxx_flags_release": "-O3 -DNDEBUG", + "compiler": "AppleClang 21.0.0.21000101", + "so_sha256": "190587e7ba0ea96a74a8621767d7d20257c3968126a710db1364e1195afb27d2" + }, + "machine": { + "cpu_brand": "Apple M1 Max", + "p_cores": 8, + "e_cores": 2, + "memory_bytes": 34359738368, + "macos": "27.0", + "python": "3.14.7", + "numpy": "2.5.3" + }, + "power": { + "state": "battery", + "percent": 82, + "raw": "Now drawing from 'Battery Power'\n -InternalBattery-0 (id=7929955)\t83%; discharging; 4:53 remaining present: true\n--- after ---\nNow drawing from 'Battery Power'\n -InternalBattery-0 (id=7929955)\t82%; discharging; 4:23 remaining present: true\n" + }, + "inputs": { + "dem": "/Users/skavhaug/projects/rasputin/tests/fixtures/dem_archive/7908_3_10m_z33.tif", + "dem_sha256": "aabd0cbc28471ce8593e4c278381811bec3fbf4e1194058b3b4888d00c3af575", + "domains": [ + { + "name": "quarter", + "path": "/Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-26/quarter.geojson", + "sha256": "b7f7bbe96848383c77863ce29ee28c45bce087601a1738ee82ddb4ffb8279d1e" + }, + { + "name": "tile", + "path": null, + "sha256": null + } + ], + "tolerance": 1.0, + "extra_args": [] + }, + "samples": [ + { + "domain": "quarter", + "threads": 0, + "repeat": 0, + "refine_s": 0.16772004193626344, + "app_s": 0.3267991659231484, + "proc_s": 1.030904290964827, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 0, + "refine_s": 0.4294487501028925, + "app_s": 0.5406774580478668, + "proc_s": 0.7992539579281583, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 0, + "refine_s": 0.2778565410990268, + "app_s": 0.39465145801659673, + "proc_s": 0.6502210419857875, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 0, + "refine_s": 0.22393491701222956, + "app_s": 0.3352898749290034, + "proc_s": 0.5871340000303462, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 0, + "refine_s": 0.2073465830180794, + "app_s": 0.3261568750021979, + "proc_s": 0.5893038749927655, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 0, + "refine_s": 0.18555345793720335, + "app_s": 0.29788424994330853, + "proc_s": 0.5628817499382421, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 0, + "refine_s": 0.1757081669056788, + "app_s": 0.2886680840747431, + "proc_s": 0.5439494169550017, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 0, + "refine_s": 0.1743438330013305, + "app_s": 0.2938198329648003, + "proc_s": 0.5546819159062579, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 0, + "refine_s": 0.16416870907414705, + "app_s": 0.2764621250098571, + "proc_s": 0.5652661670465022, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 0, + "refine_s": 0.16360945801716298, + "app_s": 0.27336041699163616, + "proc_s": 0.5285430409712717, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 0, + "refine_s": 0.1637952079763636, + "app_s": 0.2742118750466034, + "proc_s": 0.5304732080549002, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 0, + "refine_s": 0.1654574159765616, + "app_s": 0.27766166697256267, + "proc_s": 0.5277300840243697, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 0, + "refine_s": 0.17010800004936755, + "app_s": 0.29226462496444583, + "proc_s": 0.5500889170216396, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 0, + "refine_s": 0.16626333293970674, + "app_s": 0.28808629198465496, + "proc_s": 0.5492650410160422, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 0, + "refine_s": 0.16591220896225423, + "app_s": 0.2738784580724314, + "proc_s": 0.5279519170289859, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 0, + "refine_s": 0.16494729195255786, + "app_s": 0.2791512089315802, + "proc_s": 0.5339388339780271, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 0, + "refine_s": 0.16344341693911701, + "app_s": 0.2736981250345707, + "proc_s": 0.530723916948773, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 0, + "refine_s": 0.1658414580160752, + "app_s": 0.2765277500730008, + "proc_s": 0.5324894579825923, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 0, + "refine_s": 0.16567691694945097, + "app_s": 0.2792456659954041, + "proc_s": 0.537986958050169, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 0, + "refine_s": 0.1654912499943748, + "app_s": 0.2761342920130119, + "proc_s": 0.5349830409977585, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 0, + "refine_s": 0.16556983289774507, + "app_s": 0.2749091659206897, + "proc_s": 0.5346362079726532, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 1, + "refine_s": 0.16531045897863805, + "app_s": 0.27875783294439316, + "proc_s": 0.5300598340108991, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 1, + "refine_s": 0.41730616602580994, + "app_s": 0.5279377079568803, + "proc_s": 0.7794297910295427, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 1, + "refine_s": 0.29819129197858274, + "app_s": 0.4083562089363113, + "proc_s": 0.6708139999536797, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 1, + "refine_s": 0.22740700002759695, + "app_s": 0.3473980830749497, + "proc_s": 0.6179806250147521, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 1, + "refine_s": 0.20164216600824147, + "app_s": 0.31045741692651063, + "proc_s": 0.5653192499885336, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 1, + "refine_s": 0.18558637495152652, + "app_s": 0.3059599580010399, + "proc_s": 0.5610754160443321, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 1, + "refine_s": 0.1809359579347074, + "app_s": 0.3114915000041947, + "proc_s": 0.5762592079117894, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 1, + "refine_s": 0.16663395799696445, + "app_s": 0.2857744579669088, + "proc_s": 0.5363148750038818, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 1, + "refine_s": 0.16224095900543034, + "app_s": 0.2863610410131514, + "proc_s": 0.5436192079214379, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 1, + "refine_s": 0.16178112500347197, + "app_s": 0.2791673749452457, + "proc_s": 0.5354388749692589, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 1, + "refine_s": 0.16227370803244412, + "app_s": 0.2757175830192864, + "proc_s": 0.5298805829370394, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 1, + "refine_s": 0.17134383297525346, + "app_s": 0.2929482499603182, + "proc_s": 0.5596439590444788, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 1, + "refine_s": 0.19172354193869978, + "app_s": 0.3155956659466028, + "proc_s": 0.5866381659870967, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 1, + "refine_s": 0.2152615418890491, + "app_s": 0.3393073750194162, + "proc_s": 0.6354970829561353, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 1, + "refine_s": 0.1647496250225231, + "app_s": 0.28121874993667006, + "proc_s": 0.5545385829173028, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 1, + "refine_s": 0.16715837502852082, + "app_s": 0.28030850004870445, + "proc_s": 0.5381464160745963, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 1, + "refine_s": 0.16493045794777572, + "app_s": 0.27387891593389213, + "proc_s": 0.5397499590180814, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 1, + "refine_s": 0.16438445798121393, + "app_s": 0.2807173329638317, + "proc_s": 0.534464875003323, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 1, + "refine_s": 0.16945862502325326, + "app_s": 0.2975176250329241, + "proc_s": 0.5613109580008313, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 1, + "refine_s": 0.16476541699375957, + "app_s": 0.2768436659825966, + "proc_s": 0.5323714159894735, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 1, + "refine_s": 0.16584462497849017, + "app_s": 0.2768385000526905, + "proc_s": 0.5336428750306368, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 2, + "refine_s": 0.16645841591525823, + "app_s": 0.277247125050053, + "proc_s": 0.5337768329773098, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 2, + "refine_s": 0.4332835420500487, + "app_s": 0.5466273329220712, + "proc_s": 0.809046791982837, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 2, + "refine_s": 0.27156104205641896, + "app_s": 0.3824638749938458, + "proc_s": 0.6402731669368222, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 2, + "refine_s": 0.22110537497792393, + "app_s": 0.3302862079581246, + "proc_s": 0.5814544589957222, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 2, + "refine_s": 0.2009655829751864, + "app_s": 0.31262983300257474, + "proc_s": 0.5634705000557005, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 2, + "refine_s": 0.186393209034577, + "app_s": 0.29645529203116894, + "proc_s": 0.55057133291848, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 2, + "refine_s": 0.175498416996561, + "app_s": 0.291297624935396, + "proc_s": 0.5391924160066992, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 2, + "refine_s": 0.16938679199665785, + "app_s": 0.28383324993774295, + "proc_s": 0.5412924999836832, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 2, + "refine_s": 0.16274145804345608, + "app_s": 0.2752292500808835, + "proc_s": 0.5266641249181703, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 2, + "refine_s": 0.1648372079944238, + "app_s": 0.27669608301948756, + "proc_s": 0.5309300830122083, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 2, + "refine_s": 0.16496624995488673, + "app_s": 0.27980637503787875, + "proc_s": 0.5285597919719294, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 2, + "refine_s": 0.16324533300939947, + "app_s": 0.2762135419761762, + "proc_s": 0.5264229590538889, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 2, + "refine_s": 0.16427712503354996, + "app_s": 0.27543895901180804, + "proc_s": 0.5308885000413284, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 2, + "refine_s": 0.16518645803444088, + "app_s": 0.27752162504475564, + "proc_s": 0.5338869999395683, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 2, + "refine_s": 0.16562654206063598, + "app_s": 0.2762588340556249, + "proc_s": 0.5292958329664543, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 2, + "refine_s": 0.16515383298974484, + "app_s": 0.27527716697659343, + "proc_s": 0.5289430420380086, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 2, + "refine_s": 0.17235170805361122, + "app_s": 0.2838607920566574, + "proc_s": 0.535786124994047, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 2, + "refine_s": 0.1655300830025226, + "app_s": 0.27811187505722046, + "proc_s": 0.5350675000809133, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 2, + "refine_s": 0.17376637493725866, + "app_s": 0.2911369170760736, + "proc_s": 0.5465143339242786, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 2, + "refine_s": 0.1648677090415731, + "app_s": 0.2766310418955982, + "proc_s": 0.5326957920333371, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 2, + "refine_s": 0.1653107499005273, + "app_s": 0.28241074993275106, + "proc_s": 0.5390865000663325, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 3, + "refine_s": 0.16716345900204033, + "app_s": 0.2797684170072898, + "proc_s": 0.5318666249513626, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 3, + "refine_s": 0.416096750064753, + "app_s": 0.5296390829607844, + "proc_s": 0.7767178749199957, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 3, + "refine_s": 0.2771772920386866, + "app_s": 0.39141808298882097, + "proc_s": 0.6409719589864835, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 3, + "refine_s": 0.22177379101049155, + "app_s": 0.3351377910003066, + "proc_s": 0.5883296249667183, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 3, + "refine_s": 0.1996314999414608, + "app_s": 0.31249158398713917, + "proc_s": 0.5614629999035969, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 3, + "refine_s": 0.1851522499928251, + "app_s": 0.29787379095796496, + "proc_s": 0.5519972080364823, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 3, + "refine_s": 0.17479979200288653, + "app_s": 0.29221616697032005, + "proc_s": 0.5467384170042351, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 3, + "refine_s": 0.1664023749763146, + "app_s": 0.2740067499689758, + "proc_s": 0.5233034589327872, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 3, + "refine_s": 0.16256979200989008, + "app_s": 0.27069425000809133, + "proc_s": 0.5207028329605237, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 3, + "refine_s": 0.16458258300554007, + "app_s": 0.27354095899499953, + "proc_s": 0.5325092079583555, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 3, + "refine_s": 0.1658926249947399, + "app_s": 0.27439479099120945, + "proc_s": 0.5298760420409963, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 3, + "refine_s": 0.16328750003594905, + "app_s": 0.2711913329549134, + "proc_s": 0.5269479580456391, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 3, + "refine_s": 0.16402104101143777, + "app_s": 0.2710752079728991, + "proc_s": 0.527979459031485, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 3, + "refine_s": 0.16783783305436373, + "app_s": 0.2768369170371443, + "proc_s": 0.5321362080285326, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 3, + "refine_s": 0.17449275008402765, + "app_s": 0.31322083389386535, + "proc_s": 0.605462959036231, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 3, + "refine_s": 0.1642801669659093, + "app_s": 0.29321554105263203, + "proc_s": 0.5658052919898182, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 3, + "refine_s": 0.17993420804850757, + "app_s": 0.3113720000255853, + "proc_s": 0.5765829170122743, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 3, + "refine_s": 0.18171987496316433, + "app_s": 0.31367970805149525, + "proc_s": 0.5872644999762997, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 3, + "refine_s": 0.1794404579559341, + "app_s": 0.31096362497191876, + "proc_s": 0.577361874980852, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 3, + "refine_s": 0.1693902499973774, + "app_s": 0.2943089579930529, + "proc_s": 0.5634424579329789, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 3, + "refine_s": 0.16629991703666747, + "app_s": 0.2836920840200037, + "proc_s": 0.5472231250023469, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 0, + "repeat": 4, + "refine_s": 0.17296466697007418, + "app_s": 0.2896405829815194, + "proc_s": 0.5458816250320524, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 1, + "repeat": 4, + "refine_s": 0.4227790419245139, + "app_s": 0.5418214160017669, + "proc_s": 0.7961882079252973, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 2, + "repeat": 4, + "refine_s": 0.3023222080664709, + "app_s": 0.42182512499857694, + "proc_s": 0.6858844580128789, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 3, + "repeat": 4, + "refine_s": 0.271102707949467, + "app_s": 0.4092817499767989, + "proc_s": 0.7027327499818057, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 4, + "repeat": 4, + "refine_s": 0.20818429195787758, + "app_s": 0.3231124581070617, + "proc_s": 0.6047297921031713, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 5, + "repeat": 4, + "refine_s": 0.1928722079610452, + "app_s": 0.31502091709990054, + "proc_s": 0.5866860840469599, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 6, + "repeat": 4, + "refine_s": 0.17494087503291667, + "app_s": 0.2842695420840755, + "proc_s": 0.5489363329252228, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 7, + "repeat": 4, + "refine_s": 0.17525641608517617, + "app_s": 0.287098916945979, + "proc_s": 0.5467312909895554, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 8, + "repeat": 4, + "refine_s": 0.1707497090101242, + "app_s": 0.28171812498476356, + "proc_s": 0.5463167920242995, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 9, + "repeat": 4, + "refine_s": 0.16811116598546505, + "app_s": 0.2775608340743929, + "proc_s": 0.5328725000144914, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 10, + "repeat": 4, + "refine_s": 0.16807358397636563, + "app_s": 0.2780174999497831, + "proc_s": 0.5320677920244634, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 11, + "repeat": 4, + "refine_s": 0.16656329098623246, + "app_s": 0.2790175839327276, + "proc_s": 0.5282250409945846, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 12, + "repeat": 4, + "refine_s": 0.1710866669891402, + "app_s": 0.293593917042017, + "proc_s": 0.5494238750543445, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 13, + "repeat": 4, + "refine_s": 0.16870041703805327, + "app_s": 0.2831500410102308, + "proc_s": 0.5575201250612736, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 14, + "repeat": 4, + "refine_s": 0.16243949998170137, + "app_s": 0.2744975839741528, + "proc_s": 0.5398598330793902, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 15, + "repeat": 4, + "refine_s": 0.1650202909950167, + "app_s": 0.2803542090114206, + "proc_s": 0.5339695829898119, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 16, + "repeat": 4, + "refine_s": 0.16854458395391703, + "app_s": 0.2825082909548655, + "proc_s": 0.5332417499739677, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 17, + "repeat": 4, + "refine_s": 0.16381962492596358, + "app_s": 0.27528187504503876, + "proc_s": 0.5292525830445811, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 18, + "repeat": 4, + "refine_s": 0.1640138749498874, + "app_s": 0.2709163749823347, + "proc_s": 0.5224978339392692, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 19, + "repeat": 4, + "refine_s": 0.1679052080726251, + "app_s": 0.2804158750222996, + "proc_s": 0.5278240831103176, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "quarter", + "threads": 20, + "repeat": 4, + "refine_s": 0.18878462503198534, + "app_s": 0.3043594580376521, + "proc_s": 0.5561979999765754, + "max_error": 0.9999796549479072, + "rounds": 41, + "inserted": 213464, + "flips": 445657 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 0, + "refine_s": 0.19188616704195738, + "app_s": 0.3593112080125138, + "proc_s": 0.6456403749762103, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 0, + "refine_s": 0.5150493329856545, + "app_s": 0.655871249968186, + "proc_s": 0.9230721660424024, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 0, + "refine_s": 0.34871449996717274, + "app_s": 0.48757566697895527, + "proc_s": 0.761247249902226, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 0, + "refine_s": 0.2608540420187637, + "app_s": 0.3992243750253692, + "proc_s": 0.6625642910366878, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 0, + "refine_s": 0.23225287499371916, + "app_s": 0.3684668329078704, + "proc_s": 0.6255015410715714, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 0, + "refine_s": 0.21364429197274148, + "app_s": 0.35060600005090237, + "proc_s": 0.6061769999796525, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 0, + "refine_s": 0.19984537491109222, + "app_s": 0.3362917499616742, + "proc_s": 0.620670042000711, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 0, + "refine_s": 0.19128950010053813, + "app_s": 0.3231111249187961, + "proc_s": 0.5805178750306368, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 0, + "refine_s": 0.18531550001353025, + "app_s": 0.3260911249089986, + "proc_s": 0.5792905000271276, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 0, + "refine_s": 0.1863917919108644, + "app_s": 0.32515849999617785, + "proc_s": 0.575908082886599, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 0, + "refine_s": 0.18623179092537612, + "app_s": 0.3205991660943255, + "proc_s": 0.5685014579212293, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 0, + "refine_s": 0.19583262503147125, + "app_s": 0.3338905409909785, + "proc_s": 0.5948260839795694, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 0, + "refine_s": 0.18534208298660815, + "app_s": 0.3191166250035167, + "proc_s": 0.5676623750478029, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 0, + "refine_s": 0.1874143750173971, + "app_s": 0.32049737498164177, + "proc_s": 0.5678036250174046, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 0, + "refine_s": 0.1847190420376137, + "app_s": 0.320327666006051, + "proc_s": 0.5780942499404773, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 0, + "refine_s": 0.1882117500063032, + "app_s": 0.3221703340532258, + "proc_s": 0.5702132500009611, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 0, + "refine_s": 0.187888375017792, + "app_s": 0.32758637506049126, + "proc_s": 0.5813712500967085, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 0, + "refine_s": 0.1864611660130322, + "app_s": 0.32320933300070465, + "proc_s": 0.592797416029498, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 0, + "refine_s": 0.18723945796955377, + "app_s": 0.3223897909047082, + "proc_s": 0.572462708922103, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 0, + "refine_s": 0.18901562504470348, + "app_s": 0.32539629202801734, + "proc_s": 0.5761165419826284, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 0, + "refine_s": 0.19156575005035847, + "app_s": 0.33157670800574124, + "proc_s": 0.5939098329981789, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 1, + "refine_s": 0.18324537493754178, + "app_s": 0.31872858304996043, + "proc_s": 0.5845181249314919, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 1, + "refine_s": 0.48973683291114867, + "app_s": 0.6310208749491721, + "proc_s": 0.8807639160659164, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 1, + "refine_s": 0.3183885000180453, + "app_s": 0.45951804192736745, + "proc_s": 0.7124929999699816, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 1, + "refine_s": 0.28015358303673565, + "app_s": 0.4253901250194758, + "proc_s": 0.6755474170204252, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 1, + "refine_s": 0.2535331250401214, + "app_s": 0.4078045840142295, + "proc_s": 0.6719548749970272, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 1, + "refine_s": 0.23436345800291747, + "app_s": 0.39311062498018146, + "proc_s": 0.675281458068639, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 1, + "refine_s": 0.1993734580464661, + "app_s": 0.33508279197849333, + "proc_s": 0.5904112500138581, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 1, + "refine_s": 0.19744495791383088, + "app_s": 0.34214199997950345, + "proc_s": 0.5969162500696257, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 1, + "refine_s": 0.18489579192828387, + "app_s": 0.31922666705213487, + "proc_s": 0.5752235830295831, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 1, + "refine_s": 0.18695420899894089, + "app_s": 0.3241034169914201, + "proc_s": 0.5808267500251532, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 1, + "refine_s": 0.19289750000461936, + "app_s": 0.32639012509025633, + "proc_s": 0.5837763330200687, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 1, + "refine_s": 0.1896547080250457, + "app_s": 0.3246385409729555, + "proc_s": 0.5824683329556137, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 1, + "refine_s": 0.18800266599282622, + "app_s": 0.32314470899291337, + "proc_s": 0.5765007500303909, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 1, + "refine_s": 0.18491604109294713, + "app_s": 0.3188625000184402, + "proc_s": 0.5708200000226498, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 1, + "refine_s": 0.189271291019395, + "app_s": 0.3279267499456182, + "proc_s": 0.5927496250951663, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 1, + "refine_s": 0.18392745894379914, + "app_s": 0.32037891598884016, + "proc_s": 0.5751523750368506, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 1, + "refine_s": 0.19028683309443295, + "app_s": 0.3238278749631718, + "proc_s": 0.5778834590455517, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 1, + "refine_s": 0.18759887502528727, + "app_s": 0.3200979579705745, + "proc_s": 0.5804587079910561, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 1, + "refine_s": 0.18622687505558133, + "app_s": 0.32174666691571474, + "proc_s": 0.5769097909796983, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 1, + "refine_s": 0.19074166694190353, + "app_s": 0.3260992090217769, + "proc_s": 0.5786120420088992, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 1, + "refine_s": 0.1876517499331385, + "app_s": 0.32583358394913375, + "proc_s": 0.574543375056237, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 2, + "refine_s": 0.19599012506660074, + "app_s": 0.3300177080091089, + "proc_s": 0.5869220000458881, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 2, + "refine_s": 0.5010968339629471, + "app_s": 0.6357211249414831, + "proc_s": 0.8912314170738682, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 2, + "refine_s": 0.3145306659862399, + "app_s": 0.45128170889802277, + "proc_s": 0.7203631669981405, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 2, + "refine_s": 0.2675079589243978, + "app_s": 0.4063024170463905, + "proc_s": 0.6752019159030169, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 2, + "refine_s": 0.2453926670132205, + "app_s": 0.3914859170326963, + "proc_s": 0.6740945000201464, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 2, + "refine_s": 0.21180575003381819, + "app_s": 0.34615970798768103, + "proc_s": 0.6081278750207275, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 2, + "refine_s": 0.20229379192460328, + "app_s": 0.33900179201737046, + "proc_s": 0.6016282079508528, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 2, + "refine_s": 0.2038926249369979, + "app_s": 0.36798454099334776, + "proc_s": 0.667308707954362, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 2, + "refine_s": 0.1948170829564333, + "app_s": 0.33890204201452434, + "proc_s": 0.6080111670307815, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 2, + "refine_s": 0.19656270800624043, + "app_s": 0.3437577079748735, + "proc_s": 0.6330179170472547, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 2, + "refine_s": 0.20955475000664592, + "app_s": 0.35362475004512817, + "proc_s": 0.6438380409963429, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 2, + "refine_s": 0.1949977499898523, + "app_s": 0.336371082928963, + "proc_s": 0.6184292909456417, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 2, + "refine_s": 0.19547375000547618, + "app_s": 0.3462436250410974, + "proc_s": 0.63534791697748, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 2, + "refine_s": 0.33547308400738984, + "app_s": 0.6055092079332098, + "proc_s": 0.9538122919620946, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 2, + "refine_s": 0.19251258298754692, + "app_s": 0.3452100409194827, + "proc_s": 0.6338339590001851, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 2, + "refine_s": 0.185935250017792, + "app_s": 0.3269383329898119, + "proc_s": 0.5980570829706267, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 2, + "refine_s": 0.19123862497508526, + "app_s": 0.33035179204307497, + "proc_s": 0.589446916943416, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 2, + "refine_s": 0.1844518749276176, + "app_s": 0.32017420802731067, + "proc_s": 0.5855306669836864, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 2, + "refine_s": 0.19895058393012732, + "app_s": 0.3439580409321934, + "proc_s": 0.6179436249658465, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 2, + "refine_s": 0.18640574999153614, + "app_s": 0.32122074998915195, + "proc_s": 0.5729208330158144, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 2, + "refine_s": 0.18882675003260374, + "app_s": 0.32263029098976403, + "proc_s": 0.5731699999887496, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 3, + "refine_s": 0.18596558400895447, + "app_s": 0.31990195892285556, + "proc_s": 0.5701674169395119, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 3, + "refine_s": 0.4627791669918224, + "app_s": 0.5971584579674527, + "proc_s": 0.8486342499963939, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 3, + "refine_s": 0.3054525830084458, + "app_s": 0.4439973330590874, + "proc_s": 0.6912573750596493, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 3, + "refine_s": 0.25572362495586276, + "app_s": 0.3925435000564903, + "proc_s": 0.638722833013162, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 3, + "refine_s": 0.23187374998815358, + "app_s": 0.3687133340863511, + "proc_s": 0.6233201249269769, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 3, + "refine_s": 0.20856533397454768, + "app_s": 0.3413459159201011, + "proc_s": 0.590422207955271, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 3, + "refine_s": 0.19873708405066282, + "app_s": 0.3325575420167297, + "proc_s": 0.5792582090944052, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 3, + "refine_s": 0.18940683302935213, + "app_s": 0.3269549999386072, + "proc_s": 0.582849583006464, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 3, + "refine_s": 0.1888730829814449, + "app_s": 0.3206374580040574, + "proc_s": 0.569068375043571, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 3, + "refine_s": 0.19773712509777397, + "app_s": 0.3310325000202283, + "proc_s": 0.596540917060338, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 3, + "refine_s": 0.18501804198604077, + "app_s": 0.3376932078972459, + "proc_s": 0.6144042919622734, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 3, + "refine_s": 0.18124800000805408, + "app_s": 0.316956750000827, + "proc_s": 0.569769541034475, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 3, + "refine_s": 0.18142704106867313, + "app_s": 0.31628825003281236, + "proc_s": 0.5718103749677539, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 3, + "refine_s": 0.19510854198597372, + "app_s": 0.32886791694909334, + "proc_s": 0.5768025000579655, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 3, + "refine_s": 0.18157829204574227, + "app_s": 0.3133464999264106, + "proc_s": 0.5670271249255165, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 3, + "refine_s": 0.1855445000110194, + "app_s": 0.32228179194498807, + "proc_s": 0.5725744999945164, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 3, + "refine_s": 0.18632570805493742, + "app_s": 0.33324404107406735, + "proc_s": 0.59170320793055, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 3, + "refine_s": 0.19128433393780142, + "app_s": 0.32595808303449303, + "proc_s": 0.5787890420760959, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 3, + "refine_s": 0.18580495903734118, + "app_s": 0.32343799993395805, + "proc_s": 0.5743673749966547, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 3, + "refine_s": 0.18665958393830806, + "app_s": 0.3211049579549581, + "proc_s": 0.5783910830505192, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 3, + "refine_s": 0.18966545804869384, + "app_s": 0.32339529192540795, + "proc_s": 0.5803830409422517, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 0, + "repeat": 4, + "refine_s": 0.21011166600510478, + "app_s": 0.34545320901088417, + "proc_s": 0.5980240830685943, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 1, + "repeat": 4, + "refine_s": 0.4782559589948505, + "app_s": 0.6152428749483079, + "proc_s": 0.8715393750462681, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 2, + "repeat": 4, + "refine_s": 0.3230657500680536, + "app_s": 0.4583362080156803, + "proc_s": 0.7278777079191059, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 3, + "repeat": 4, + "refine_s": 0.25205579202156514, + "app_s": 0.3882423749892041, + "proc_s": 0.6360163750359789, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 4, + "repeat": 4, + "refine_s": 0.22550783399492502, + "app_s": 0.35937662492506206, + "proc_s": 0.6133719999343157, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 5, + "repeat": 4, + "refine_s": 0.21061833295971155, + "app_s": 0.34873845893889666, + "proc_s": 0.6021529169520363, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 6, + "repeat": 4, + "refine_s": 0.199791333056055, + "app_s": 0.33334458293393254, + "proc_s": 0.5859076250344515, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 7, + "repeat": 4, + "refine_s": 0.19115495798178017, + "app_s": 0.32563704100903124, + "proc_s": 0.5781835831003264, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 8, + "repeat": 4, + "refine_s": 0.18462754192296416, + "app_s": 0.31722479104064405, + "proc_s": 0.568743749987334, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 9, + "repeat": 4, + "refine_s": 0.19130304199643433, + "app_s": 0.33118516602553427, + "proc_s": 0.5810616250382736, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 10, + "repeat": 4, + "refine_s": 0.18747462495230138, + "app_s": 0.3221878750482574, + "proc_s": 0.5705911660334095, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 11, + "repeat": 4, + "refine_s": 0.18463520798832178, + "app_s": 0.321425958070904, + "proc_s": 0.5860363750252873, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 12, + "repeat": 4, + "refine_s": 0.19544295908417553, + "app_s": 0.3305079999845475, + "proc_s": 0.5820217080181465, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 13, + "repeat": 4, + "refine_s": 0.1855279579758644, + "app_s": 0.31813662499189377, + "proc_s": 0.5648391250288114, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 14, + "repeat": 4, + "refine_s": 0.18601929198484868, + "app_s": 0.33448483305983245, + "proc_s": 0.5914950420847163, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 15, + "repeat": 4, + "refine_s": 0.18538083310704678, + "app_s": 0.321570249972865, + "proc_s": 0.5680108749074861, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 16, + "repeat": 4, + "refine_s": 0.1863160829525441, + "app_s": 0.3209807500243187, + "proc_s": 0.5871944159734994, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 17, + "repeat": 4, + "refine_s": 0.18468012509401888, + "app_s": 0.3205234999768436, + "proc_s": 0.5697704170597717, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 18, + "repeat": 4, + "refine_s": 0.1887185829691589, + "app_s": 0.32122904108837247, + "proc_s": 0.5676844170084223, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 19, + "repeat": 4, + "refine_s": 0.18535166699439287, + "app_s": 0.3239241660339758, + "proc_s": 0.5742829579394311, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + }, + { + "domain": "tile", + "threads": 20, + "repeat": 4, + "refine_s": 0.18958862498402596, + "app_s": 0.3349724590079859, + "proc_s": 0.5880567079875618, + "max_error": 0.9999759197235107, + "rounds": 53, + "inserted": 219837, + "flips": 445675 + } + ], + "stats": [ + { + "domain": "quarter", + "threads": 0, + "n": 5, + "median": 0.16716345900204033, + "min": 0.16531045897863805, + "max": 0.17296466697007418 + }, + { + "domain": "quarter", + "threads": 1, + "n": 5, + "median": 0.4227790419245139, + "min": 0.416096750064753, + "max": 0.4332835420500487 + }, + { + "domain": "quarter", + "threads": 2, + "n": 5, + "median": 0.2778565410990268, + "min": 0.27156104205641896, + "max": 0.3023222080664709 + }, + { + "domain": "quarter", + "threads": 3, + "n": 5, + "median": 0.22393491701222956, + "min": 0.22110537497792393, + "max": 0.271102707949467 + }, + { + "domain": "quarter", + "threads": 4, + "n": 5, + "median": 0.20164216600824147, + "min": 0.1996314999414608, + "max": 0.20818429195787758 + }, + { + "domain": "quarter", + "threads": 5, + "n": 5, + "median": 0.18558637495152652, + "min": 0.1851522499928251, + "max": 0.1928722079610452 + }, + { + "domain": "quarter", + "threads": 6, + "n": 5, + "median": 0.175498416996561, + "min": 0.17479979200288653, + "max": 0.1809359579347074 + }, + { + "domain": "quarter", + "threads": 7, + "n": 5, + "median": 0.16938679199665785, + "min": 0.1664023749763146, + "max": 0.17525641608517617 + }, + { + "domain": "quarter", + "threads": 8, + "n": 5, + "median": 0.16274145804345608, + "min": 0.16224095900543034, + "max": 0.1707497090101242 + }, + { + "domain": "quarter", + "threads": 9, + "n": 5, + "median": 0.16458258300554007, + "min": 0.16178112500347197, + "max": 0.16811116598546505 + }, + { + "domain": "quarter", + "threads": 10, + "n": 5, + "median": 0.16496624995488673, + "min": 0.16227370803244412, + "max": 0.16807358397636563 + }, + { + "domain": "quarter", + "threads": 11, + "n": 5, + "median": 0.1654574159765616, + "min": 0.16324533300939947, + "max": 0.17134383297525346 + }, + { + "domain": "quarter", + "threads": 12, + "n": 5, + "median": 0.17010800004936755, + "min": 0.16402104101143777, + "max": 0.19172354193869978 + }, + { + "domain": "quarter", + "threads": 13, + "n": 5, + "median": 0.16783783305436373, + "min": 0.16518645803444088, + "max": 0.2152615418890491 + }, + { + "domain": "quarter", + "threads": 14, + "n": 5, + "median": 0.16562654206063598, + "min": 0.16243949998170137, + "max": 0.17449275008402765 + }, + { + "domain": "quarter", + "threads": 15, + "n": 5, + "median": 0.1650202909950167, + "min": 0.1642801669659093, + "max": 0.16715837502852082 + }, + { + "domain": "quarter", + "threads": 16, + "n": 5, + "median": 0.16854458395391703, + "min": 0.16344341693911701, + "max": 0.17993420804850757 + }, + { + "domain": "quarter", + "threads": 17, + "n": 5, + "median": 0.1655300830025226, + "min": 0.16381962492596358, + "max": 0.18171987496316433 + }, + { + "domain": "quarter", + "threads": 18, + "n": 5, + "median": 0.16945862502325326, + "min": 0.1640138749498874, + "max": 0.1794404579559341 + }, + { + "domain": "quarter", + "threads": 19, + "n": 5, + "median": 0.1654912499943748, + "min": 0.16476541699375957, + "max": 0.1693902499973774 + }, + { + "domain": "quarter", + "threads": 20, + "n": 5, + "median": 0.16584462497849017, + "min": 0.1653107499005273, + "max": 0.18878462503198534 + }, + { + "domain": "tile", + "threads": 0, + "n": 5, + "median": 0.19188616704195738, + "min": 0.18324537493754178, + "max": 0.21011166600510478 + }, + { + "domain": "tile", + "threads": 1, + "n": 5, + "median": 0.48973683291114867, + "min": 0.4627791669918224, + "max": 0.5150493329856545 + }, + { + "domain": "tile", + "threads": 2, + "n": 5, + "median": 0.3183885000180453, + "min": 0.3054525830084458, + "max": 0.34871449996717274 + }, + { + "domain": "tile", + "threads": 3, + "n": 5, + "median": 0.2608540420187637, + "min": 0.25205579202156514, + "max": 0.28015358303673565 + }, + { + "domain": "tile", + "threads": 4, + "n": 5, + "median": 0.23225287499371916, + "min": 0.22550783399492502, + "max": 0.2535331250401214 + }, + { + "domain": "tile", + "threads": 5, + "n": 5, + "median": 0.21180575003381819, + "min": 0.20856533397454768, + "max": 0.23436345800291747 + }, + { + "domain": "tile", + "threads": 6, + "n": 5, + "median": 0.199791333056055, + "min": 0.19873708405066282, + "max": 0.20229379192460328 + }, + { + "domain": "tile", + "threads": 7, + "n": 5, + "median": 0.19128950010053813, + "min": 0.18940683302935213, + "max": 0.2038926249369979 + }, + { + "domain": "tile", + "threads": 8, + "n": 5, + "median": 0.18531550001353025, + "min": 0.18462754192296416, + "max": 0.1948170829564333 + }, + { + "domain": "tile", + "threads": 9, + "n": 5, + "median": 0.19130304199643433, + "min": 0.1863917919108644, + "max": 0.19773712509777397 + }, + { + "domain": "tile", + "threads": 10, + "n": 5, + "median": 0.18747462495230138, + "min": 0.18501804198604077, + "max": 0.20955475000664592 + }, + { + "domain": "tile", + "threads": 11, + "n": 5, + "median": 0.1896547080250457, + "min": 0.18124800000805408, + "max": 0.19583262503147125 + }, + { + "domain": "tile", + "threads": 12, + "n": 5, + "median": 0.18800266599282622, + "min": 0.18142704106867313, + "max": 0.19547375000547618 + }, + { + "domain": "tile", + "threads": 13, + "n": 5, + "median": 0.1874143750173971, + "min": 0.18491604109294713, + "max": 0.33547308400738984 + }, + { + "domain": "tile", + "threads": 14, + "n": 5, + "median": 0.18601929198484868, + "min": 0.18157829204574227, + "max": 0.19251258298754692 + }, + { + "domain": "tile", + "threads": 15, + "n": 5, + "median": 0.1855445000110194, + "min": 0.18392745894379914, + "max": 0.1882117500063032 + }, + { + "domain": "tile", + "threads": 16, + "n": 5, + "median": 0.187888375017792, + "min": 0.1863160829525441, + "max": 0.19123862497508526 + }, + { + "domain": "tile", + "threads": 17, + "n": 5, + "median": 0.1864611660130322, + "min": 0.1844518749276176, + "max": 0.19128433393780142 + }, + { + "domain": "tile", + "threads": 18, + "n": 5, + "median": 0.18723945796955377, + "min": 0.18580495903734118, + "max": 0.19895058393012732 + }, + { + "domain": "tile", + "threads": 19, + "n": 5, + "median": 0.18665958393830806, + "min": 0.18535166699439287, + "max": 0.19074166694190353 + }, + { + "domain": "tile", + "threads": 20, + "n": 5, + "median": 0.18958862498402596, + "min": 0.1876517499331385, + "max": 0.19156575005035847 + } + ], + "quality": { + "quarter": { + "worst_angle": 0.3955267116350698, + "angle_median": 45.0, + "share_under_1": 0.000028023175165862168, + "max_degree": 18, + "within_tolerance": true, + "delaunay_checked": 641791, + "delaunay_ambiguous": 80136, + "delaunay_violations": 0, + "mesh_sha256": "ccebf96a86c6c5e244e4a0281919de4e866fcfe789b66024a290ac2af33771a1" + }, + "tile": { + "worst_angle": 0.6295986084102668, + "angle_median": 45.0, + "share_under_1": 2.1538262723728703e-6, + "max_degree": 74, + "within_tolerance": true, + "delaunay_checked": 692056, + "delaunay_ambiguous": 94469, + "delaunay_violations": 0, + "mesh_sha256": "11741a81adfa17b34a1ea56875ec9e791414d17625eb1c58305e7c0cf10e005c" + } + }, + "accept_quality": false, + "threshold_pct": 5.0, + "verdict": [ + "ACCEPTED" + ] +} diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson b/docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson new file mode 100644 index 00000000..98d33631 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson @@ -0,0 +1,221 @@ +{ + "type": "FeatureCollection", + "crs": { + "type": "name", + "properties": { + "name": "urn:ogc:def:crs:EPSG::4326" + } + }, + "features": [ + { + "type": "Feature", + "properties": { + "name": "16b12-acceptance catchment", + "area_km2_in_25833": 287.3 + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 11.602792, + 59.938743 + ], + [ + 11.603563, + 59.95084 + ], + [ + 11.59793, + 59.962609 + ], + [ + 11.589023, + 59.973792 + ], + [ + 11.579021, + 59.984709 + ], + [ + 11.567996, + 59.995604 + ], + [ + 11.554273, + 60.005984 + ], + [ + 11.535985, + 60.014457 + ], + [ + 11.512783, + 60.019277 + ], + [ + 11.486566, + 60.019348 + ], + [ + 11.460706, + 60.015093 + ], + [ + 11.438188, + 60.008618 + ], + [ + 11.41979, + 60.002967 + ], + [ + 11.403458, + 60.00077 + ], + [ + 11.385375, + 60.002962 + ], + [ + 11.362208, + 60.00825 + ], + [ + 11.333298, + 60.013647 + ], + [ + 11.301529, + 60.015803 + ], + [ + 11.272305, + 60.012486 + ], + [ + 11.25113, + 60.003452 + ], + [ + 11.241056, + 59.990339 + ], + [ + 11.241363, + 59.975697 + ], + [ + 11.248151, + 59.961738 + ], + [ + 11.256472, + 59.949494 + ], + [ + 11.262792, + 59.938743 + ], + [ + 11.266472, + 59.928651 + ], + [ + 11.269515, + 59.91861 + ], + [ + 11.274904, + 59.908736 + ], + [ + 11.284572, + 59.899709 + ], + [ + 11.298256, + 59.892115 + ], + [ + 11.313857, + 59.885776 + ], + [ + 11.329006, + 59.879587 + ], + [ + 11.342783, + 59.872053 + ], + [ + 11.356453, + 59.862289 + ], + [ + 11.372708, + 59.850886 + ], + [ + 11.39381, + 59.840072 + ], + [ + 11.41979, + 59.832967 + ], + [ + 11.447837, + 59.832225 + ], + [ + 11.473374, + 59.838755 + ], + [ + 11.492321, + 59.851191 + ], + [ + 11.503298, + 59.866423 + ], + [ + 11.508508, + 59.880933 + ], + [ + 11.512721, + 59.892277 + ], + [ + 11.52087, + 59.899962 + ], + [ + 11.535504, + 59.905339 + ], + [ + 11.555482, + 59.91064 + ], + [ + 11.576566, + 59.917739 + ], + [ + 11.593563, + 59.927304 + ], + [ + 11.602792, + 59.938743 + ] + ] + ] + } + } + ] +} diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson b/docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson new file mode 100644 index 00000000..ea2171c7 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson @@ -0,0 +1 @@ +{"type": "Polygon", "crs": {"type": "name", "properties": {"name": "urn:ogc:def:crs:EPSG::25833"}}, "coordinates": [[[301000, 6651000], [349000, 6651000], [349000, 6699000], [301000, 6699000], [301000, 6651000]]]} \ No newline at end of file diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/logs/aggregate.md b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/aggregate.md new file mode 100644 index 00000000..75786192 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/aggregate.md @@ -0,0 +1,20 @@ +| case | n | triangles | start vertices | min angle median | < 1° | worst | max degree | achieved max error | quality inserted | feet | features read | features clip | node | start quality | refine (scan / split) | encode | total | peak RSS | +|---|---:|---:|---:|---:|---:|---:|---:|---|---:|---:|---:|---:|---:|---:|---|---:|---:|---:| +| ola-t1-eu3035 | 3 | 1235226 | 5642 | 43.60° | 0.06 % | 0.0116° | 25 | 1 m | 15573 | 5314 | 17.903 | 8.501 | 0.013 | 0.016 | 0.624 (0.114 / 0.437) | 2.802 | 30.34 | 0.80 GB | +| ola-t1-no25833 | 3 | 1235226 | 5642 | 43.60° | 0.06 % | 0.0116° | 25 | 1 m | 15573 | 5314 | 0.894 | 1.269 | 0.013 | 0.016 | 0.611 (0.113 / 0.427) | 2.793 | 6.28 | 0.89 GB | +| ola-t1-none | 3 | 1216839 | 48 | 45.00° | 0.02 % | 0.0116° | 25 | 1 m | 37 | 693 | 0.000 | 0.000 | 0.000 | 0.000 | 0.604 (0.144 / 0.410) | 2.015 | 3.36 | 0.93 GB | +| ola-t10-eu3035 | 3 | 63020 | 5642 | 36.52° | 0.23 % | 0.00782° | 14 | 9.999894849297135 m | 15573 | 245 | 19.077 | 8.441 | 0.013 | 0.016 | 0.044 (0.016 / 0.005) | 0.139 | 28.23 | 0.47 GB | +| ola-t10-no25833 | 3 | 63020 | 5642 | 36.52° | 0.23 % | 0.00782° | 14 | 9.999894849297135 m | 15573 | 245 | 0.875 | 1.291 | 0.013 | 0.017 | 0.042 (0.013 / 0.005) | 0.141 | 3.09 | 0.51 GB | +| ola-t10-none | 3 | 30366 | 48 | 34.08° | 0.14 % | 0.0188° | 12 | 9.999269956118098 m | 37 | 168 | 0.000 | 0.000 | 0.000 | 0.000 | 0.044 (0.036 / 0.007) | 0.048 | 0.58 | 0.47 GB | +| qc-t1-corine | 3 | 441855 | 5627 | 45.00° | 0.08 % | 0.0395° | 28 | 0.9999987363815306 m | 11370 | 3134 | 0.007 | 0.038 | 0.013 | 0.011 | 0.189 (0.036 / 0.122) | 0.981 | 1.34 | 0.53 GB | +| qc-t1-none | 3 | 428217 | 536 | 45.00° | 0.00 % | 0.396° | 18 | 0.9999796549479072 m | 644 | 6 | 0.000 | 0.000 | 0.001 | 0.001 | 0.166 (0.047 / 0.099) | 0.706 | 0.97 | 0.53 GB | +| qc-t10-corine | 3 | 54840 | 5627 | 36.87° | 0.04 % | 0.0395° | 16 | 9.99795150756836 m | 11370 | 287 | 0.007 | 0.037 | 0.014 | 0.011 | 0.033 (0.010 / 0.006) | 0.126 | 0.31 | 0.37 GB | +| qc-t10-none | 3 | 31581 | 536 | 33.69° | 0.01 % | 0.287° | 16 | 9.998682022094727 m | 644 | 0 | 0.000 | 0.000 | 0.000 | 0.001 | 0.025 (0.017 / 0.006) | 0.053 | 0.15 | 0.35 GB | +| sq-t1-eu-q0 | 3 | 6655874 | 51395 | 36.87° | 0.04 % | 0.0306° | 23 | 1 m | 0 | 31986 | 18.415 | 8.562 | 0.148 | 0.000 | 5.449 (1.034 / 3.884) | 14.963 | 47.91 | 2.88 GB | +| sq-t1-eu-q25 | 3 | 6753084 | 51395 | 36.87° | 0.03 % | 0.00081° | 23 | 1 m | 154573 | 30311 | 17.715 | 8.633 | 0.150 | 0.209 | 5.867 (0.997 / 4.267) | 15.413 | 47.97 | 3.06 GB | +| sq-t1-none-q0 | 3 | 6581348 | 4 | 36.87° | 0.00 % | 0.217° | 17 | 1 m | 0 | 0 | 0.000 | 0.000 | 0.000 | 0.000 | 5.073 (1.494 / 3.247) | 10.986 | 16.59 | 3.03 GB | +| sq-t1-none-q25 | 3 | 6581348 | 4 | 36.87° | 0.00 % | 0.217° | 17 | 1 m | 0 | 0 | 0.000 | 0.000 | 0.000 | 0.000 | 5.267 (1.527 / 3.390) | 11.067 | 16.94 | 3.07 GB | +| sq-t10-eu-q0 | 3 | 212255 | 51395 | 28.59° | 3.45 % | 0.0147° | 25 | 9.999949490582509 m | 0 | 359 | 14.345 | 8.663 | 0.150 | 0.000 | 0.259 (0.156 / 0.038) | 0.550 | 24.45 | 0.52 GB | +| sq-t10-eu-q25 | 3 | 480941 | 51395 | 36.87° | 0.25 % | 0.0013° | 19 | 9.999960550447781 m | 154573 | 350 | 17.820 | 8.589 | 0.155 | 0.209 | 0.397 (0.090 / 0.026) | 1.132 | 28.45 | 0.60 GB | +| sq-t10-none-q0 | 3 | 133379 | 4 | 34.45° | 0.03 % | 0.258° | 14 | 9.999497794833673 m | 0 | 0 | 0.000 | 0.000 | 0.000 | 0.000 | 0.600 (0.563 / 0.030) | 0.216 | 0.96 | 0.57 GB | +| sq-t10-none-q25 | 3 | 133379 | 4 | 34.45° | 0.03 % | 0.258° | 14 | 9.999497794833673 m | 0 | 0 | 0.000 | 0.000 | 0.000 | 0.000 | 0.601 (0.564 / 0.030) | 0.216 | 0.98 | 0.57 GB | diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/logs/candidates.log b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/candidates.log new file mode 100644 index 00000000..22cb198d --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/candidates.log @@ -0,0 +1,8 @@ +U2018_CLC2018_V2020_20u1.gpkg:U2018_CLC2018_V2020_20u1 (EPSG:3035): R-tree rows 2375406; query box (4390346, 4082024, 4410933, 4103082) + widened query: 345 rows, ids only 0.713 s; plain box: 132 rows, 0.2 ms + widened query with blobs: 17.527 s, 235.0 MB; decode 0.246 s + candidate vertices 14666859; in the 213 rows only the widening adds: 13831011; largest (vertices, fid): [(np.int32(409242), 2000982), (np.int32(394887), 2250728), (np.int32(370070), 2372099), (np.int32(359381), 2372334), (np.int32(351465), 2001146)] +corine2018_dtm10_utm33.gpkg:corine2018 (EPSG:25833): R-tree rows 124054; query box (290173, 6637964, 310429, 6659036) + widened query: 262 rows, ids only 0.040 s; plain box: 130 rows, 0.1 ms + widened query with blobs: 0.802 s, 62.2 MB; decode 0.123 s + candidate vertices 3880766; in the 132 rows only the widening adds: 3053971; largest (vertices, fid): [(np.int32(409242), 54932), (np.int32(370070), 123224), (np.int32(359381), 123225), (np.int32(257823), 55038), (np.int32(241084), 123917)] diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/logs/ola-r1.log b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/ola-r1.log new file mode 100644 index 00000000..cf404ef8 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/ola-r1.log @@ -0,0 +1,193 @@ +### ola-t1-none r1 23:55:37 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 +exit 0 +37 start quality nodes inserted, 0 start quality skips, 693 constraint feet, 0 feet refused, 40 rounds, 608706 points inserted, 1338108 flips, 1216839 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 46 start triangles, 48 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 1021739008 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 40 | 608706 | 0 | 1338108 | 0 | 37 | 0 | 693 | +VTK read: 608791 points, 1216839 triangles, 741 lines, z bounds 102.48..385.39 +field feature_bits: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 +field feature_names: river | road | railway | coastline | contour | wall | ditch | land_cover +field feature_vocabulary: f26769f015fd54ff7c0b49922a9eba48c28c2596b0a1f152b519658010b22c61 +field crs: EPSG:25833 +field elevation_source: mosaic of 4 tiles, 2089 x 2007 nodes; refined from DEM nodes, constrained Delaunay, tolerance 1 m, achieved max error 1 m, start domain boundary, boundary z bilinear, start min angle 25 deg, constraint feet on, 0 valid DEM nodes not covered, 0 vertices without data dropped, vertical unit assumed met +field dem_tiles: 6602_1_10m_z33.tif; 6602_2_10m_z33.tif; 6603_3_10m_z33.tif; 6603_4_10m_z33.tif +field dem_seams: 6602_1_10m_z33.tif | 6603_3_10m_z33.tif: nodes 2472, max 0.25087, median 0.0138931; 6602_1_10m_z33.tif | 6603_4_10m_z33.tif: nodes 18977, max 0.376282, median 0.00230408; 6602_2_10m_z33.tif | 6603_3_10m_z33.tif: nodes 59754, max 1.74188, median 0.0246887; 6603_3_10m_z33.tif | 6603_4_10m_z33.tif: nod +field domain: catchment_4326.geojson, 1 ring 0 holes, 48 vertices +field domain_crs: EPSG:4326 +field domain_transform: Inverse of ETRS89 to WGS 84 (1) + UTM zone 33N (with axis order normalized for visualization) +cell arrays: feature_mask +constraint edges 741: land_cover 0, water 0, water without land_cover 0, mask 0 741 +cell array land_cover: absent +cell array water: absent +### ola-t1-eu3035 r1 23:55:44 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +87 features kept, 258 dropped outside, 28 clipped, 0 empty skipped +11316 input vertices, 5642 noded vertices +15573 start quality nodes inserted, 5291 start quality skips, 5314 constraint feet, 0 feet refused, 29 rounds, 596775 points inserted, 1282174 flips, 1235226 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 11169 start triangles, 5642 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 771375104 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 29 | 596775 | 0 | 1282174 | 0 | 15573 | 5291 | 5314 | +VTK read: 617990 points, 1235226 triangles, 11027 lines, z bounds 102.49..385.39 +field feature_bits: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 +field feature_names: river | road | railway | coastline | contour | wall | ditch | land_cover +field feature_vocabulary: f26769f015fd54ff7c0b49922a9eba48c28c2596b0a1f152b519658010b22c61 +field crs: EPSG:25833 +field elevation_source: mosaic of 4 tiles, 2089 x 2007 nodes; refined from DEM nodes, constrained Delaunay, tolerance 1 m, achieved max error 1 m, start domain boundary and features, vertex z bilinear, start min angle 25 deg, constraint feet on, 0 valid DEM nodes not covered, 0 vertices without data dropped, vertical unit +field dem_tiles: 6602_1_10m_z33.tif; 6602_2_10m_z33.tif; 6603_3_10m_z33.tif; 6603_4_10m_z33.tif +field dem_seams: 6602_1_10m_z33.tif | 6603_3_10m_z33.tif: nodes 2472, max 0.25087, median 0.0138931; 6602_1_10m_z33.tif | 6603_4_10m_z33.tif: nodes 18977, max 0.376282, median 0.00230408; 6602_2_10m_z33.tif | 6603_3_10m_z33.tif: nodes 59754, max 1.74188, median 0.0246887; 6603_3_10m_z33.tif | 6603_4_10m_z33.tif: nod +field domain: catchment_4326.geojson, 1 ring 0 holes, 48 vertices +field domain_crs: EPSG:4326 +field domain_transform: Inverse of ETRS89 to WGS 84 (1) + UTM zone 33N (with axis order normalized for visualization) +field features: U2018_CLC2018_V2020_20u1.gpkg:U2018_CLC2018_V2020_20u1, map corine, 87 features, 155 chains, 11268 vertices +field features_crs: EPSG:3035 +field features_transform: Inverse of Europe Equal Area 2001 + UTM zone 33N (with axis order normalized for visualization) +field features_notice: Contains modified CORINE Land Cover 2018 data (version 2020_20u1), (c) European Union, Copernicus Land Monitoring Service 2018, European Environment Agency (EEA): clipped and re-encoded, produced with funding by the European Union, not endorsed by the EU +cell arrays: feature_mask, land_cover, water +constraint edges 11027: land_cover 10275, water 979, water without land_cover 0, mask 0 752 +cell array land_cover: sum over lines 10275 +cell array water: sum over lines 979 +### ola-t1-no25833 r1 23:56:17 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine2018_dtm10_utm33.gpkg --features-layer corine2018 --features-map corine +exit 0 +87 features kept, 175 dropped outside, 28 clipped, 0 empty skipped +11316 input vertices, 5642 noded vertices +15573 start quality nodes inserted, 5291 start quality skips, 5314 constraint feet, 0 feet refused, 29 rounds, 596775 points inserted, 1282174 flips, 1235226 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 11169 start triangles, 5642 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 888619008 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 29 | 596775 | 0 | 1282174 | 0 | 15573 | 5291 | 5314 | +VTK read: 617990 points, 1235226 triangles, 11027 lines, z bounds 102.49..385.39 +field feature_bits: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 +field feature_names: river | road | railway | coastline | contour | wall | ditch | land_cover +field feature_vocabulary: f26769f015fd54ff7c0b49922a9eba48c28c2596b0a1f152b519658010b22c61 +field crs: EPSG:25833 +field elevation_source: mosaic of 4 tiles, 2089 x 2007 nodes; refined from DEM nodes, constrained Delaunay, tolerance 1 m, achieved max error 1 m, start domain boundary and features, vertex z bilinear, start min angle 25 deg, constraint feet on, 0 valid DEM nodes not covered, 0 vertices without data dropped, vertical unit +field dem_tiles: 6602_1_10m_z33.tif; 6602_2_10m_z33.tif; 6603_3_10m_z33.tif; 6603_4_10m_z33.tif +field dem_seams: 6602_1_10m_z33.tif | 6603_3_10m_z33.tif: nodes 2472, max 0.25087, median 0.0138931; 6602_1_10m_z33.tif | 6603_4_10m_z33.tif: nodes 18977, max 0.376282, median 0.00230408; 6602_2_10m_z33.tif | 6603_3_10m_z33.tif: nodes 59754, max 1.74188, median 0.0246887; 6603_3_10m_z33.tif | 6603_4_10m_z33.tif: nod +field domain: catchment_4326.geojson, 1 ring 0 holes, 48 vertices +field domain_crs: EPSG:4326 +field domain_transform: Inverse of ETRS89 to WGS 84 (1) + UTM zone 33N (with axis order normalized for visualization) +field features: corine2018_dtm10_utm33.gpkg:corine2018, map corine, 87 features, 155 chains, 11268 vertices +field features_crs: EPSG:25833 +field features_transform: none +field features_notice: Contains modified CORINE Land Cover 2018 data (version 2020_20u1), (c) European Union, Copernicus Land Monitoring Service 2018, European Environment Agency (EEA): clipped and re-encoded, produced with funding by the European Union, not endorsed by the EU +cell arrays: feature_mask, land_cover, water +constraint edges 11027: land_cover 10275, water 979, water without land_cover 0, mask 0 752 +cell array land_cover: sum over lines 10275 +cell array water: sum over lines 979 +### ola-t10-none r1 23:56:26 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 +exit 0 +37 start quality nodes inserted, 0 start quality skips, 168 constraint feet, 0 feet refused, 31 rounds, 15207 points inserted, 40976 flips, 30366 triangles, achieved max error 9.999269956118098 m, 0 valid DEM nodes not covered, 46 start triangles, 48 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 471334912 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999269956118098 m | 31 | 15207 | 0 | 40976 | 0 | 37 | 0 | 168 | +VTK read: 15292 points, 30366 triangles, 216 lines, z bounds 102.52..384.81 +field feature_bits: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 +field feature_names: river | road | railway | coastline | contour | wall | ditch | land_cover +field feature_vocabulary: f26769f015fd54ff7c0b49922a9eba48c28c2596b0a1f152b519658010b22c61 +field crs: EPSG:25833 +field elevation_source: mosaic of 4 tiles, 2089 x 2007 nodes; refined from DEM nodes, constrained Delaunay, tolerance 10 m, achieved max error 9.999269956118098 m, start domain boundary, boundary z bilinear, start min angle 25 deg, constraint feet on, 0 valid DEM nodes not covered, 0 vertices without data dropped, vertical +field dem_tiles: 6602_1_10m_z33.tif; 6602_2_10m_z33.tif; 6603_3_10m_z33.tif; 6603_4_10m_z33.tif +field dem_seams: 6602_1_10m_z33.tif | 6603_3_10m_z33.tif: nodes 2472, max 0.25087, median 0.0138931; 6602_1_10m_z33.tif | 6603_4_10m_z33.tif: nodes 18977, max 0.376282, median 0.00230408; 6602_2_10m_z33.tif | 6603_3_10m_z33.tif: nodes 59754, max 1.74188, median 0.0246887; 6603_3_10m_z33.tif | 6603_4_10m_z33.tif: nod +field domain: catchment_4326.geojson, 1 ring 0 holes, 48 vertices +field domain_crs: EPSG:4326 +field domain_transform: Inverse of ETRS89 to WGS 84 (1) + UTM zone 33N (with axis order normalized for visualization) +cell arrays: feature_mask +constraint edges 216: land_cover 0, water 0, water without land_cover 0, mask 0 216 +cell array land_cover: absent +cell array water: absent +### ola-t10-eu3035 r1 23:56:28 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +87 features kept, 258 dropped outside, 28 clipped, 0 empty skipped +11316 input vertices, 5642 noded vertices +15573 start quality nodes inserted, 5291 start quality skips, 245 constraint feet, 0 feet refused, 20 rounds, 10426 points inserted, 26186 flips, 63020 triangles, achieved max error 9.999894849297135 m, 0 valid DEM nodes not covered, 11169 start triangles, 5642 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 472236032 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999894849297135 m | 20 | 10426 | 0 | 26186 | 0 | 15573 | 5291 | 245 | +VTK read: 31641 points, 63020 triangles, 5958 lines, z bounds 102.49..385.39 +field feature_bits: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 +field feature_names: river | road | railway | coastline | contour | wall | ditch | land_cover +field feature_vocabulary: f26769f015fd54ff7c0b49922a9eba48c28c2596b0a1f152b519658010b22c61 +field crs: EPSG:25833 +field elevation_source: mosaic of 4 tiles, 2089 x 2007 nodes; refined from DEM nodes, constrained Delaunay, tolerance 10 m, achieved max error 9.999894849297135 m, start domain boundary and features, vertex z bilinear, start min angle 25 deg, constraint feet on, 0 valid DEM nodes not covered, 0 vertices without data droppe +field dem_tiles: 6602_1_10m_z33.tif; 6602_2_10m_z33.tif; 6603_3_10m_z33.tif; 6603_4_10m_z33.tif +field dem_seams: 6602_1_10m_z33.tif | 6603_3_10m_z33.tif: nodes 2472, max 0.25087, median 0.0138931; 6602_1_10m_z33.tif | 6603_4_10m_z33.tif: nodes 18977, max 0.376282, median 0.00230408; 6602_2_10m_z33.tif | 6603_3_10m_z33.tif: nodes 59754, max 1.74188, median 0.0246887; 6603_3_10m_z33.tif | 6603_4_10m_z33.tif: nod +field domain: catchment_4326.geojson, 1 ring 0 holes, 48 vertices +field domain_crs: EPSG:4326 +field domain_transform: Inverse of ETRS89 to WGS 84 (1) + UTM zone 33N (with axis order normalized for visualization) +field features: U2018_CLC2018_V2020_20u1.gpkg:U2018_CLC2018_V2020_20u1, map corine, 87 features, 155 chains, 11268 vertices +field features_crs: EPSG:3035 +field features_transform: Inverse of Europe Equal Area 2001 + UTM zone 33N (with axis order normalized for visualization) +field features_notice: Contains modified CORINE Land Cover 2018 data (version 2020_20u1), (c) European Union, Copernicus Land Monitoring Service 2018, European Environment Agency (EEA): clipped and re-encoded, produced with funding by the European Union, not endorsed by the EU +cell arrays: feature_mask, land_cover, water +constraint edges 5958: land_cover 5698, water 768, water without land_cover 0, mask 0 260 +cell array land_cover: sum over lines 5698 +cell array water: sum over lines 768 +### ola-t10-no25833 r1 23:56:57 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine2018_dtm10_utm33.gpkg --features-layer corine2018 --features-map corine +exit 0 +87 features kept, 175 dropped outside, 28 clipped, 0 empty skipped +11316 input vertices, 5642 noded vertices +15573 start quality nodes inserted, 5291 start quality skips, 245 constraint feet, 0 feet refused, 20 rounds, 10426 points inserted, 26186 flips, 63020 triangles, achieved max error 9.999894849297135 m, 0 valid DEM nodes not covered, 11169 start triangles, 5642 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 511131648 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999894849297135 m | 20 | 10426 | 0 | 26186 | 0 | 15573 | 5291 | 245 | +VTK read: 31641 points, 63020 triangles, 5958 lines, z bounds 102.49..385.39 +field feature_bits: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 +field feature_names: river | road | railway | coastline | contour | wall | ditch | land_cover +field feature_vocabulary: f26769f015fd54ff7c0b49922a9eba48c28c2596b0a1f152b519658010b22c61 +field crs: EPSG:25833 +field elevation_source: mosaic of 4 tiles, 2089 x 2007 nodes; refined from DEM nodes, constrained Delaunay, tolerance 10 m, achieved max error 9.999894849297135 m, start domain boundary and features, vertex z bilinear, start min angle 25 deg, constraint feet on, 0 valid DEM nodes not covered, 0 vertices without data droppe +field dem_tiles: 6602_1_10m_z33.tif; 6602_2_10m_z33.tif; 6603_3_10m_z33.tif; 6603_4_10m_z33.tif +field dem_seams: 6602_1_10m_z33.tif | 6603_3_10m_z33.tif: nodes 2472, max 0.25087, median 0.0138931; 6602_1_10m_z33.tif | 6603_4_10m_z33.tif: nodes 18977, max 0.376282, median 0.00230408; 6602_2_10m_z33.tif | 6603_3_10m_z33.tif: nodes 59754, max 1.74188, median 0.0246887; 6603_3_10m_z33.tif | 6603_4_10m_z33.tif: nod +field domain: catchment_4326.geojson, 1 ring 0 holes, 48 vertices +field domain_crs: EPSG:4326 +field domain_transform: Inverse of ETRS89 to WGS 84 (1) + UTM zone 33N (with axis order normalized for visualization) +field features: corine2018_dtm10_utm33.gpkg:corine2018, map corine, 87 features, 155 chains, 11268 vertices +field features_crs: EPSG:25833 +field features_transform: none +field features_notice: Contains modified CORINE Land Cover 2018 data (version 2020_20u1), (c) European Union, Copernicus Land Monitoring Service 2018, European Environment Agency (EEA): clipped and re-encoded, produced with funding by the European Union, not endorsed by the EU +cell arrays: feature_mask, land_cover, water +constraint edges 5958: land_cover 5698, water 768, water without land_cover 0, mask 0 260 +cell array land_cover: sum over lines 5698 +cell array water: sum over lines 768 +### done 23:57:01 | Battery Power diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/logs/ola-r23.log b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/ola-r23.log new file mode 100644 index 00000000..8b40b8e8 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/ola-r23.log @@ -0,0 +1,173 @@ +### ola-t1-none r2 23:58:53 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 +exit 0 +37 start quality nodes inserted, 0 start quality skips, 693 constraint feet, 0 feet refused, 40 rounds, 608706 points inserted, 1338108 flips, 1216839 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 46 start triangles, 48 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 915243008 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 40 | 608706 | 0 | 1338108 | 0 | 37 | 0 | 693 | +### ola-t1-eu3035 r2 23:58:57 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +87 features kept, 258 dropped outside, 28 clipped, 0 empty skipped +11316 input vertices, 5642 noded vertices +15573 start quality nodes inserted, 5291 start quality skips, 5314 constraint feet, 0 feet refused, 29 rounds, 596775 points inserted, 1282174 flips, 1235226 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 11169 start triangles, 5642 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 825753600 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 29 | 596775 | 0 | 1282174 | 0 | 15573 | 5291 | 5314 | +### ola-t1-no25833 r2 23:59:29 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine2018_dtm10_utm33.gpkg --features-layer corine2018 --features-map corine +exit 0 +87 features kept, 175 dropped outside, 28 clipped, 0 empty skipped +11316 input vertices, 5642 noded vertices +15573 start quality nodes inserted, 5291 start quality skips, 5314 constraint feet, 0 feet refused, 29 rounds, 596775 points inserted, 1282174 flips, 1235226 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 11169 start triangles, 5642 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 774832128 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 29 | 596775 | 0 | 1282174 | 0 | 15573 | 5291 | 5314 | +### ola-t10-none r2 23:59:36 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 +exit 0 +37 start quality nodes inserted, 0 start quality skips, 168 constraint feet, 0 feet refused, 31 rounds, 15207 points inserted, 40976 flips, 30366 triangles, achieved max error 9.999269956118098 m, 0 valid DEM nodes not covered, 46 start triangles, 48 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 473153536 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999269956118098 m | 31 | 15207 | 0 | 40976 | 0 | 37 | 0 | 168 | +### ola-t10-eu3035 r2 23:59:37 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +87 features kept, 258 dropped outside, 28 clipped, 0 empty skipped +11316 input vertices, 5642 noded vertices +15573 start quality nodes inserted, 5291 start quality skips, 245 constraint feet, 0 feet refused, 20 rounds, 10426 points inserted, 26186 flips, 63020 triangles, achieved max error 9.999894849297135 m, 0 valid DEM nodes not covered, 11169 start triangles, 5642 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 469221376 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999894849297135 m | 20 | 10426 | 0 | 26186 | 0 | 15573 | 5291 | 245 | +### ola-t10-no25833 r2 00:00:06 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine2018_dtm10_utm33.gpkg --features-layer corine2018 --features-map corine +exit 0 +87 features kept, 175 dropped outside, 28 clipped, 0 empty skipped +11316 input vertices, 5642 noded vertices +15573 start quality nodes inserted, 5291 start quality skips, 245 constraint feet, 0 feet refused, 20 rounds, 10426 points inserted, 26186 flips, 63020 triangles, achieved max error 9.999894849297135 m, 0 valid DEM nodes not covered, 11169 start triangles, 5642 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 544702464 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999894849297135 m | 20 | 10426 | 0 | 26186 | 0 | 15573 | 5291 | 245 | +### ola-t1-none r3 00:00:10 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 +exit 0 +37 start quality nodes inserted, 0 start quality skips, 693 constraint feet, 0 feet refused, 40 rounds, 608706 points inserted, 1338108 flips, 1216839 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 46 start triangles, 48 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 928907264 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 40 | 608706 | 0 | 1338108 | 0 | 37 | 0 | 693 | +### ola-t1-eu3035 r3 00:00:13 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +87 features kept, 258 dropped outside, 28 clipped, 0 empty skipped +11316 input vertices, 5642 noded vertices +15573 start quality nodes inserted, 5291 start quality skips, 5314 constraint feet, 0 feet refused, 29 rounds, 596775 points inserted, 1282174 flips, 1235226 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 11169 start triangles, 5642 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 797769728 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 29 | 596775 | 0 | 1282174 | 0 | 15573 | 5291 | 5314 | +### ola-t1-no25833 r3 00:00:44 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine2018_dtm10_utm33.gpkg --features-layer corine2018 --features-map corine +exit 0 +87 features kept, 175 dropped outside, 28 clipped, 0 empty skipped +11316 input vertices, 5642 noded vertices +15573 start quality nodes inserted, 5291 start quality skips, 5314 constraint feet, 0 feet refused, 29 rounds, 596775 points inserted, 1282174 flips, 1235226 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 11169 start triangles, 5642 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 908754944 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 29 | 596775 | 0 | 1282174 | 0 | 15573 | 5291 | 5314 | +### ola-t10-none r3 00:00:51 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 +exit 0 +37 start quality nodes inserted, 0 start quality skips, 168 constraint feet, 0 feet refused, 31 rounds, 15207 points inserted, 40976 flips, 30366 triangles, achieved max error 9.999269956118098 m, 0 valid DEM nodes not covered, 46 start triangles, 48 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 473137152 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999269956118098 m | 31 | 15207 | 0 | 40976 | 0 | 37 | 0 | 168 | +### ola-t10-eu3035 r3 00:00:52 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +87 features kept, 258 dropped outside, 28 clipped, 0 empty skipped +11316 input vertices, 5642 noded vertices +15573 start quality nodes inserted, 5291 start quality skips, 245 constraint feet, 0 feet refused, 20 rounds, 10426 points inserted, 26186 flips, 63020 triangles, achieved max error 9.999894849297135 m, 0 valid DEM nodes not covered, 11169 start triangles, 5642 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 469696512 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999894849297135 m | 20 | 10426 | 0 | 26186 | 0 | 15573 | 5291 | 245 | +### ola-t10-no25833 r3 00:01:21 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine2018_dtm10_utm33.gpkg --features-layer corine2018 --features-map corine +exit 0 +87 features kept, 175 dropped outside, 28 clipped, 0 empty skipped +11316 input vertices, 5642 noded vertices +15573 start quality nodes inserted, 5291 start quality skips, 245 constraint feet, 0 feet refused, 20 rounds, 10426 points inserted, 26186 flips, 63020 triangles, achieved max error 9.999894849297135 m, 0 valid DEM nodes not covered, 11169 start triangles, 5642 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 497500160 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999894849297135 m | 20 | 10426 | 0 | 26186 | 0 | 15573 | 5291 | 245 | +### done 00:01:24 | Battery Power diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/logs/pair4.log b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/pair4.log new file mode 100644 index 00000000..480f06e5 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/pair4.log @@ -0,0 +1,18 @@ +== base r4 23:50:20 +Now drawing from 'Battery Power' + -InternalBattery-0 (id=7929955) 77%; discharging; 2:52 remaining present: true +power: battery; evidence: /Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r4; meshes: /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes +REGRESSION: quarter refine_s[t=3] 0.2264 -> 0.2432 (+7.4 %) +REGRESSION: tile refine_s[t=1] 0.4714 -> 0.5121 (+8.6 %) +REGRESSION: tile refine_s[t=2] 0.3113 -> 0.3332 (+7.0 %) +REGRESSION: tile refine_s[t=14] 0.1926 -> 0.2062 (+7.1 %) +exit 1 +== 16b12 r4 23:52:39 +Now drawing from 'Battery Power' + -InternalBattery-0 (id=7929955) 76%; discharging; 2:34 remaining present: true +power: battery; evidence: /Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r4; meshes: /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes +ACCEPTED +exit 0 +== done 23:54:57 +Now drawing from 'Battery Power' + -InternalBattery-0 (id=7929955) 75%; discharging; 2:34 remaining present: true diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/logs/pairs.log b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/pairs.log new file mode 100644 index 00000000..8a2da918 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/pairs.log @@ -0,0 +1,50 @@ +== base r1 23:36:14 +Now drawing from 'Battery Power' + -InternalBattery-0 (id=7929955) 83%; discharging; 4:53 remaining present: true +power: battery; evidence: /Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3; meshes: /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes +ACCEPTED +exit 0 +== 16b12 r1 23:38:27 +Now drawing from 'Battery Power' + -InternalBattery-0 (id=7929955) 82%; discharging; 4:23 remaining present: true +power: battery; evidence: /Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-28/16b12-acceptance/16b12; meshes: /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes +ACCEPTED +exit 0 +== base r2 23:40:51 +Now drawing from 'Battery Power' + -InternalBattery-0 (id=7929955) 81%; discharging; 3:53 remaining present: true +power: battery; evidence: /Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r2; meshes: /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes +ACCEPTED +exit 0 +== 16b12 r2 23:43:00 +Now drawing from 'Battery Power' + -InternalBattery-0 (id=7929955) 80%; discharging; 3:23 remaining present: true +power: battery; evidence: /Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r2; meshes: /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes +ACCEPTED +exit 0 +== base r3 23:45:13 +Now drawing from 'Battery Power' + -InternalBattery-0 (id=7929955) 79%; discharging; 2:53 remaining present: true +power: battery; evidence: /Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-28/16b12-acceptance/base-14f5fe3-r3; meshes: /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes +REGRESSION: tile refine_s[t=2] 0.3113 -> 0.3292 (+5.7 %) +exit 1 +== 16b12 r3 23:47:28 +Now drawing from 'Battery Power' + -InternalBattery-0 (id=7929955) 78%; discharging; 2:55 remaining present: true +power: battery; evidence: /Users/skavhaug/projects/rasputin/docs/benchmarks/2026-09-28/16b12-acceptance/16b12-r3; meshes: /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes +REGRESSION: quarter refine_s[t=0] 0.1634 -> 0.1730 (+5.8 %) +REGRESSION: quarter refine_s[t=1] 0.4124 -> 0.4676 (+13.4 %) +REGRESSION: quarter refine_s[t=2] 0.2664 -> 0.2955 (+11.0 %) +REGRESSION: quarter refine_s[t=3] 0.2207 -> 0.2398 (+8.7 %) +REGRESSION: quarter refine_s[t=7] 0.1670 -> 0.1775 (+6.3 %) +REGRESSION: quarter refine_s[t=9] 0.1642 -> 0.1767 (+7.6 %) +REGRESSION: quarter refine_s[t=10] 0.1660 -> 0.1767 (+6.5 %) +REGRESSION: quarter refine_s[t=12] 0.1596 -> 0.1704 (+6.8 %) +REGRESSION: quarter refine_s[t=14] 0.1647 -> 0.1768 (+7.3 %) +REGRESSION: quarter refine_s[t=15] 0.1645 -> 0.1749 (+6.3 %) +REGRESSION: quarter refine_s[t=16] 0.1631 -> 0.1716 (+5.2 %) +REGRESSION: quarter refine_s[t=18] 0.1633 -> 0.1733 (+6.1 %) +exit 1 +== done 23:49:45 +Now drawing from 'Battery Power' + -InternalBattery-0 (id=7929955) 77%; discharging; 2:42 remaining present: true diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/logs/pairs_table.txt b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/pairs_table.txt new file mode 100644 index 00000000..642d2055 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/pairs_table.txt @@ -0,0 +1,53 @@ +base-14f5fe3: 14f5fe3 so 190587e7ba0e battery 83%->82% verdict ACCEPTED + quarter: worst 0.3955 maxdeg 18 tol True delaunay 0/641791 sha ccebf96a86c6c5e2 + tile: worst 0.6296 maxdeg 74 tol True delaunay 0/692056 sha 11741a81adfa17b3 +16b12: 5f3a522 so 190587e7ba0e battery 82%->81% verdict ACCEPTED + quarter: worst 0.3955 maxdeg 18 tol True delaunay 0/641791 sha ccebf96a86c6c5e2 + tile: worst 0.6296 maxdeg 74 tol True delaunay 0/692056 sha 11741a81adfa17b3 +base-14f5fe3-r2: 14f5fe3 so 190587e7ba0e battery 81%->80% verdict ACCEPTED + quarter: worst 0.3955 maxdeg 18 tol True delaunay 0/641791 sha ccebf96a86c6c5e2 + tile: worst 0.6296 maxdeg 74 tol True delaunay 0/692056 sha 11741a81adfa17b3 +16b12-r2: 5f3a522 so 190587e7ba0e battery 80%->79% verdict ACCEPTED + quarter: worst 0.3955 maxdeg 18 tol True delaunay 0/641791 sha ccebf96a86c6c5e2 + tile: worst 0.6296 maxdeg 74 tol True delaunay 0/692056 sha 11741a81adfa17b3 +base-14f5fe3-r3: 14f5fe3 so 190587e7ba0e battery 79%->78% verdict REGRESSION: tile refine_s[t=2] 0.3113 -> 0.3292 (+5.7 %) + quarter: worst 0.3955 maxdeg 18 tol True delaunay 0/641791 sha ccebf96a86c6c5e2 + tile: worst 0.6296 maxdeg 74 tol True delaunay 0/692056 sha 11741a81adfa17b3 +16b12-r3: 5f3a522 so 190587e7ba0e battery 78%->77% verdict REGRESSION: quarter refine_s[t=0] 0.1634 -> 0.1730 (+5.8 %); REGRESSION: quarter refine_s[t=1] 0.4124 -> 0.4676 (+13.4 % + quarter: worst 0.3955 maxdeg 18 tol True delaunay 0/641791 sha ccebf96a86c6c5e2 + tile: worst 0.6296 maxdeg 74 tol True delaunay 0/692056 sha 11741a81adfa17b3 +base-14f5fe3-r4: 14f5fe3 so 190587e7ba0e battery 77%->76% verdict REGRESSION: quarter refine_s[t=3] 0.2264 -> 0.2432 (+7.4 %); REGRESSION: tile refine_s[t=1] 0.4714 -> 0.5121 (+8.6 %); R + quarter: worst 0.3955 maxdeg 18 tol True delaunay 0/641791 sha ccebf96a86c6c5e2 + tile: worst 0.6296 maxdeg 74 tol True delaunay 0/692056 sha 11741a81adfa17b3 +16b12-r4: 5f3a522 so 190587e7ba0e battery 76%->75% verdict ACCEPTED + quarter: worst 0.3955 maxdeg 18 tol True delaunay 0/641791 sha ccebf96a86c6c5e2 + tile: worst 0.6296 maxdeg 74 tol True delaunay 0/692056 sha 11741a81adfa17b3 +| domain | threads | base r1..r4 (ms) | 16b-1/2 r1..r4 (ms) | pair changes | pooled | +|---|---:|---|---|---|---:| +| quarter | default (10) | 167.2 / 164.9 / 163.4 / 166.6 | 167.1 / 166.1 / 173.0 / 170.4 | -0.1, +0.7, +5.8, +2.3 | +1.8 % | +| quarter | 1 | 422.8 / 416.2 / 412.4 / 441.4 | 415.4 / 411.7 / 467.6 / 445.1 | -1.7, -1.1, +13.4, +0.8 | +2.6 % | +| quarter | 2 | 277.9 / 269.4 / 266.4 / 286.6 | 267.0 / 267.3 / 295.5 / 287.1 | -3.9, -0.8, +11.0, +0.2 | +1.3 % | +| quarter | 4 | 201.6 / 199.8 / 198.5 / 208.4 | 199.5 / 199.3 / 208.1 / 206.6 | -1.0, -0.3, +4.9, -0.8 | +1.2 % | +| quarter | 8 | 162.7 / 161.7 / 162.6 / 163.2 | 162.6 / 162.0 / 166.6 / 165.9 | -0.1, +0.2, +2.5, +1.6 | +1.0 % | +| quarter | 10 | 165.0 / 163.7 / 166.0 / 172.7 | 163.9 / 164.1 / 176.7 / 165.5 | -0.6, +0.3, +6.5, -4.2 | -0.4 % | +| quarter | 16 | 168.5 / 165.0 / 163.1 / 170.3 | 162.7 / 164.9 / 171.6 / 169.4 | -3.5, -0.1, +5.2, -0.5 | +0.2 % | +| quarter | 20 | 165.8 / 165.0 / 165.5 / 176.0 | 164.2 / 165.3 / 168.8 / 167.3 | -1.0, +0.2, +2.0, -5.0 | +0.4 % | +| tile | default (10) | 191.9 / 185.2 / 193.3 / 191.8 | 187.3 / 191.7 / 183.1 / 189.0 | -2.4, +3.5, -5.2, -1.5 | -1.9 % | +| tile | 1 | 489.7 / 465.7 / 493.5 / 512.1 | 471.4 / 473.1 / 479.7 / 494.6 | -3.7, +1.6, -2.8, -3.4 | -3.1 % | +| tile | 2 | 318.4 / 301.6 / 329.2 / 333.2 | 300.6 / 306.9 / 319.2 / 321.5 | -5.6, +1.8, -3.0, -3.5 | -3.3 % | +| tile | 4 | 232.3 / 227.1 / 233.5 / 234.4 | 228.8 / 232.1 / 229.5 / 236.8 | -1.5, +2.2, -1.7, +1.0 | -0.9 % | +| tile | 8 | 185.3 / 184.6 / 190.9 / 188.8 | 185.4 / 191.3 / 186.1 / 192.8 | +0.0, +3.6, -2.5, +2.1 | +0.9 % | +| tile | 10 | 187.5 / 184.7 / 187.5 / 194.3 | 184.6 / 186.4 / 186.1 / 189.4 | -1.5, +0.9, -0.8, -2.5 | -0.7 % | +| tile | 16 | 187.9 / 186.3 / 189.6 / 190.7 | 188.0 / 185.0 / 186.9 / 190.4 | +0.1, -0.7, -1.4, -0.2 | -0.7 % | +| tile | 20 | 189.6 / 187.4 / 191.5 / 193.7 | 186.8 / 185.7 / 187.4 / 195.2 | -1.5, -0.9, -2.1, +0.8 | -1.8 % | +pooled over 42 cells: median +0.27 %, min -3.3, max +3.4, cells > +5 %: 0 +same-build drift within base-14f5fe3*: max +11.1 % (base-14f5fe3-r2 -> base-14f5fe3-r4, ('tile', 14)) +same-build drift within 16b12*: max +13.6 % (16b12-r2 -> 16b12-r3, ('quarter', 1)) +ceiling base-14f5fe3: tile 2.64x @8 (2.58x @20); quarter 2.60x @8 (2.55x @20) +ceiling 16b12: tile 2.56x @15 (2.52x @20); quarter 2.56x @8 (2.53x @20) +ceiling base-14f5fe3-r2: tile 2.52x @8 (2.49x @20); quarter 2.57x @8 (2.52x @20) +ceiling 16b12-r2: tile 2.57x @9 (2.55x @20); quarter 2.54x @8 (2.49x @20) +ceiling base-14f5fe3-r3: tile 2.66x @12 (2.58x @20); quarter 2.58x @12 (2.49x @20) +ceiling 16b12-r3: tile 2.60x @12 (2.56x @20); quarter 2.82x @11 (2.77x @20) +ceiling base-14f5fe3-r4: tile 2.71x @8 (2.64x @20); quarter 2.70x @8 (2.51x @20) +ceiling 16b12-r4: tile 2.63x @12 (2.53x @20); quarter 2.69x @10 (2.66x @20) diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/logs/power.log b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/power.log new file mode 100644 index 00000000..bcb6e159 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/power.log @@ -0,0 +1,5 @@ +# pmset -g batt around the CLI blocks (the bench runs carry theirs in run.json and logs/pairs*.log; +# every CLI case line in logs/{qc,ola-r1,ola-r23,sq}.log names the power source). +23:54:57 (end of pair 4, just before qc/ola) -InternalBattery-0 (id=7929955) 75%; discharging; 2:34 remaining present: true +00:01:2x (start of the sq block) -InternalBattery-0 (id=7929955) 72%; discharging; 2:44 remaining present: true +00:13:00 (after the sq block) -InternalBattery-0 (id=7929955) 67%; discharging; 2:38 remaining present: true diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/logs/qc.log b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/qc.log new file mode 100644 index 00000000..f704442b --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/qc.log @@ -0,0 +1,169 @@ +### qc-t1-none r1 23:55:08 | Battery Power +$ rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 1 +exit 0 +644 start quality nodes inserted, 0 start quality skips, 6 constraint feet, 0 feet refused, 41 rounds, 213464 points inserted, 445657 flips, 428217 triangles, achieved max error 0.9999796549479072 m, 0 valid DEM nodes not covered, 534 start triangles, 235 start vertices off-node, 0 vertices without data dropped + 527794176 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 0.9999796549479072 m | 41 | 213464 | 0 | 445657 | 0 | 644 | 0 | 6 | +VTK read: 214644 points, 428217 triangles, 1069 lines, z bounds -1.23..391.71 +field feature_bits: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 +field feature_names: river | road | railway | coastline | contour | wall | ditch | land_cover +field feature_vocabulary: f26769f015fd54ff7c0b49922a9eba48c28c2596b0a1f152b519658010b22c61 +field crs: EPSG:25833 +field elevation_source: refined from DEM nodes, constrained Delaunay, tolerance 1 m, achieved max error 0.9999796549479072 m, start domain boundary, boundary z bilinear, start min angle 25 deg, constraint feet on, 0 valid DEM nodes not covered, 0 vertices without data dropped +field domain: quarter.geojson, 1 ring 0 holes, 536 vertices +field domain_crs: EPSG:25833 +field domain_transform: none +cell arrays: feature_mask +constraint edges 1069: land_cover 0, water 0, water without land_cover 0, mask 0 1069 +cell array land_cover: absent +cell array water: absent +### qc-t1-corine r1 23:55:12 | Battery Power +$ rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 1 --features tests/fixtures/corine/clc2018_7908_3.gpkg --features-map corine +exit 0 +60 features kept, 9 dropped outside, 19 clipped, 0 empty skipped +10802 input vertices, 5627 noded vertices +11370 start quality nodes inserted, 1326 start quality skips, 3134 constraint feet, 0 feet refused, 22 rounds, 204483 points inserted, 404582 flips, 441855 triangles, achieved max error 0.9999987363815306 m, 0 valid DEM nodes not covered, 10679 start triangles, 5326 start vertices off-node, 0 vertices without data dropped + 534151168 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 0.9999987363815306 m | 22 | 204483 | 0 | 404582 | 0 | 11370 | 1326 | 3134 | +VTK read: 221480 points, 441855 triangles, 9345 lines, z bounds -1.24..391.71 +field feature_bits: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 +field feature_names: river | road | railway | coastline | contour | wall | ditch | land_cover +field feature_vocabulary: f26769f015fd54ff7c0b49922a9eba48c28c2596b0a1f152b519658010b22c61 +field crs: EPSG:25833 +field elevation_source: refined from DEM nodes, constrained Delaunay, tolerance 1 m, achieved max error 0.9999987363815306 m, start domain boundary and features, vertex z bilinear, start min angle 25 deg, constraint feet on, 0 valid DEM nodes not covered, 0 vertices without data dropped +field domain: quarter.geojson, 1 ring 0 holes, 536 vertices +field domain_crs: EPSG:25833 +field domain_transform: none +field features: clc2018_7908_3.gpkg:U2018_CLC2018_V2020_20u1, map corine, 60 features, 87 chains, 10266 vertices +field features_crs: EPSG:3035 +field features_transform: Inverse of Europe Equal Area 2001 + UTM zone 33N (with axis order normalized for visualization) +field features_notice: Contains modified CORINE Land Cover 2018 data (version 2020_20u1), (c) European Union, Copernicus Land Monitoring Service 2018, European Environment Agency (EEA): clipped and re-encoded, produced with funding by the European Union, not endorsed by the EU +cell arrays: feature_mask, land_cover, water +constraint edges 9345: land_cover 8242, water 3905, water without land_cover 0, mask 0 1103 +cell array land_cover: sum over lines 8242 +cell array water: sum over lines 3905 +### qc-t10-none r1 23:55:15 | Battery Power +$ rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 10 +exit 0 +644 start quality nodes inserted, 0 start quality skips, 0 constraint feet, 0 feet refused, 27 rounds, 14908 points inserted, 35522 flips, 31581 triangles, achieved max error 9.998682022094727 m, 0 valid DEM nodes not covered, 534 start triangles, 235 start vertices off-node, 0 vertices without data dropped + 351404032 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.998682022094727 m | 27 | 14908 | 0 | 35522 | 0 | 644 | 0 | 0 | +VTK read: 16088 points, 31581 triangles, 593 lines, z bounds -1.24..390.28 +field feature_bits: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 +field feature_names: river | road | railway | coastline | contour | wall | ditch | land_cover +field feature_vocabulary: f26769f015fd54ff7c0b49922a9eba48c28c2596b0a1f152b519658010b22c61 +field crs: EPSG:25833 +field elevation_source: refined from DEM nodes, constrained Delaunay, tolerance 10 m, achieved max error 9.998682022094727 m, start domain boundary, boundary z bilinear, start min angle 25 deg, constraint feet on, 0 valid DEM nodes not covered, 0 vertices without data dropped +field domain: quarter.geojson, 1 ring 0 holes, 536 vertices +field domain_crs: EPSG:25833 +field domain_transform: none +cell arrays: feature_mask +constraint edges 593: land_cover 0, water 0, water without land_cover 0, mask 0 593 +cell array land_cover: absent +cell array water: absent +### qc-t10-corine r1 23:55:16 | Battery Power +$ rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 10 --features tests/fixtures/corine/clc2018_7908_3.gpkg --features-map corine +exit 0 +60 features kept, 9 dropped outside, 19 clipped, 0 empty skipped +10802 input vertices, 5627 noded vertices +11370 start quality nodes inserted, 1326 start quality skips, 287 constraint feet, 0 feet refused, 14 rounds, 10741 points inserted, 22907 flips, 54840 triangles, achieved max error 9.99795150756836 m, 0 valid DEM nodes not covered, 10679 start triangles, 5326 start vertices off-node, 0 vertices without data dropped + 366968832 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.99795150756836 m | 14 | 10741 | 0 | 22907 | 0 | 11370 | 1326 | 287 | +VTK read: 27738 points, 54840 triangles, 6035 lines, z bounds -1.20..388.06 +field feature_bits: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 +field feature_names: river | road | railway | coastline | contour | wall | ditch | land_cover +field feature_vocabulary: f26769f015fd54ff7c0b49922a9eba48c28c2596b0a1f152b519658010b22c61 +field crs: EPSG:25833 +field elevation_source: refined from DEM nodes, constrained Delaunay, tolerance 10 m, achieved max error 9.99795150756836 m, start domain boundary and features, vertex z bilinear, start min angle 25 deg, constraint feet on, 0 valid DEM nodes not covered, 0 vertices without data dropped +field domain: quarter.geojson, 1 ring 0 holes, 536 vertices +field domain_crs: EPSG:25833 +field domain_transform: none +field features: clc2018_7908_3.gpkg:U2018_CLC2018_V2020_20u1, map corine, 60 features, 87 chains, 10266 vertices +field features_crs: EPSG:3035 +field features_transform: Inverse of Europe Equal Area 2001 + UTM zone 33N (with axis order normalized for visualization) +field features_notice: Contains modified CORINE Land Cover 2018 data (version 2020_20u1), (c) European Union, Copernicus Land Monitoring Service 2018, European Environment Agency (EEA): clipped and re-encoded, produced with funding by the European Union, not endorsed by the EU +cell arrays: feature_mask, land_cover, water +constraint edges 6035: land_cover 5401, water 2398, water without land_cover 0, mask 0 634 +cell array land_cover: sum over lines 5401 +cell array water: sum over lines 2398 +### qc-t1-none r2 23:55:18 | Battery Power +$ rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 1 +exit 0 +644 start quality nodes inserted, 0 start quality skips, 6 constraint feet, 0 feet refused, 41 rounds, 213464 points inserted, 445657 flips, 428217 triangles, achieved max error 0.9999796549479072 m, 0 valid DEM nodes not covered, 534 start triangles, 235 start vertices off-node, 0 vertices without data dropped + 526565376 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 0.9999796549479072 m | 41 | 213464 | 0 | 445657 | 0 | 644 | 0 | 6 | +### qc-t1-corine r2 23:55:19 | Battery Power +$ rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 1 --features tests/fixtures/corine/clc2018_7908_3.gpkg --features-map corine +exit 0 +60 features kept, 9 dropped outside, 19 clipped, 0 empty skipped +10802 input vertices, 5627 noded vertices +11370 start quality nodes inserted, 1326 start quality skips, 3134 constraint feet, 0 feet refused, 22 rounds, 204483 points inserted, 404582 flips, 441855 triangles, achieved max error 0.9999987363815306 m, 0 valid DEM nodes not covered, 10679 start triangles, 5326 start vertices off-node, 0 vertices without data dropped + 532021248 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 0.9999987363815306 m | 22 | 204483 | 0 | 404582 | 0 | 11370 | 1326 | 3134 | +### qc-t10-none r2 23:55:21 | Battery Power +$ rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 10 +exit 0 +644 start quality nodes inserted, 0 start quality skips, 0 constraint feet, 0 feet refused, 27 rounds, 14908 points inserted, 35522 flips, 31581 triangles, achieved max error 9.998682022094727 m, 0 valid DEM nodes not covered, 534 start triangles, 235 start vertices off-node, 0 vertices without data dropped + 351207424 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.998682022094727 m | 27 | 14908 | 0 | 35522 | 0 | 644 | 0 | 0 | +### qc-t10-corine r2 23:55:22 | Battery Power +$ rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 10 --features tests/fixtures/corine/clc2018_7908_3.gpkg --features-map corine +exit 0 +60 features kept, 9 dropped outside, 19 clipped, 0 empty skipped +10802 input vertices, 5627 noded vertices +11370 start quality nodes inserted, 1326 start quality skips, 287 constraint feet, 0 feet refused, 14 rounds, 10741 points inserted, 22907 flips, 54840 triangles, achieved max error 9.99795150756836 m, 0 valid DEM nodes not covered, 10679 start triangles, 5326 start vertices off-node, 0 vertices without data dropped + 366739456 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.99795150756836 m | 14 | 10741 | 0 | 22907 | 0 | 11370 | 1326 | 287 | +### qc-t1-none r3 23:55:22 | Battery Power +$ rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 1 +exit 0 +644 start quality nodes inserted, 0 start quality skips, 6 constraint feet, 0 feet refused, 41 rounds, 213464 points inserted, 445657 flips, 428217 triangles, achieved max error 0.9999796549479072 m, 0 valid DEM nodes not covered, 534 start triangles, 235 start vertices off-node, 0 vertices without data dropped + 524877824 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 0.9999796549479072 m | 41 | 213464 | 0 | 445657 | 0 | 644 | 0 | 6 | +### qc-t1-corine r3 23:55:24 | Battery Power +$ rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 1 --features tests/fixtures/corine/clc2018_7908_3.gpkg --features-map corine +exit 0 +60 features kept, 9 dropped outside, 19 clipped, 0 empty skipped +10802 input vertices, 5627 noded vertices +11370 start quality nodes inserted, 1326 start quality skips, 3134 constraint feet, 0 feet refused, 22 rounds, 204483 points inserted, 404582 flips, 441855 triangles, achieved max error 0.9999987363815306 m, 0 valid DEM nodes not covered, 10679 start triangles, 5326 start vertices off-node, 0 vertices without data dropped + 533905408 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 0.9999987363815306 m | 22 | 204483 | 0 | 404582 | 0 | 11370 | 1326 | 3134 | +### qc-t10-none r3 23:55:25 | Battery Power +$ rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 10 +exit 0 +644 start quality nodes inserted, 0 start quality skips, 0 constraint feet, 0 feet refused, 27 rounds, 14908 points inserted, 35522 flips, 31581 triangles, achieved max error 9.998682022094727 m, 0 valid DEM nodes not covered, 534 start triangles, 235 start vertices off-node, 0 vertices without data dropped + 352075776 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.998682022094727 m | 27 | 14908 | 0 | 35522 | 0 | 644 | 0 | 0 | +### qc-t10-corine r3 23:55:26 | Battery Power +$ rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 10 --features tests/fixtures/corine/clc2018_7908_3.gpkg --features-map corine +exit 0 +60 features kept, 9 dropped outside, 19 clipped, 0 empty skipped +10802 input vertices, 5627 noded vertices +11370 start quality nodes inserted, 1326 start quality skips, 287 constraint feet, 0 feet refused, 14 rounds, 10741 points inserted, 22907 flips, 54840 triangles, achieved max error 9.99795150756836 m, 0 valid DEM nodes not covered, 10679 start triangles, 5326 start vertices off-node, 0 vertices without data dropped + 369901568 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.99795150756836 m | 14 | 10741 | 0 | 22907 | 0 | 11370 | 1326 | 287 | +### done 23:55:26 | Battery Power diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/logs/query_plan.log b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/query_plan.log new file mode 100644 index 00000000..d58734eb --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/query_plan.log @@ -0,0 +1,4 @@ +U2018_CLC2018_V2020_20u1 join (as built): 345 rows, 235.0 MB, 18.658 s; plan: SCAN t; SCAN r VIRTUAL TABLE INDEX 1: +U2018_CLC2018_V2020_20u1 IN subquery: 345 rows, 235.0 MB, 0.850 s; plan: SEARCH t USING INTEGER PRIMARY KEY (rowid=?); LIST SUBQUERY 1; SCAN r VIRTUAL TABLE INDEX 2: +corine2018 join (as built): 262 rows, 62.2 MB, 0.773 s; plan: SCAN t; SCAN r VIRTUAL TABLE INDEX 1: +corine2018 IN subquery: 262 rows, 62.2 MB, 0.062 s; plan: SEARCH t USING INTEGER PRIMARY KEY (rowid=?); LIST SUBQUERY 1; SCAN r VIRTUAL TABLE INDEX 2: diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/logs/route_identity.log b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/route_identity.log new file mode 100644 index 00000000..ba24aeb3 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/route_identity.log @@ -0,0 +1,2 @@ +catchment 1 m: Europe/3035 30fc3a9a387b9e3e, Norway/25833 30fc3a9a387b9e3e, equal True (points, triangles, lines, feature_mask) +catchment 10 m: Europe/3035 0d0833940671996c, Norway/25833 0d0833940671996c, equal True (points, triangles, lines, feature_mask) diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/logs/sq.log b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/sq.log new file mode 100644 index 00000000..b852d13d --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/sq.log @@ -0,0 +1,337 @@ +### sq-t1-none-q25 r1 00:01:29 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 +exit 0 +0 start quality nodes inserted, 0 start quality skips, 0 constraint feet, 0 feet refused, 61 rounds, 3292582 points inserted, 7657458 flips, 6581348 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 2 start triangles, 0 start vertices off-node, 0 vertices without data dropped + 3318300672 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 61 | 3292582 | 0 | 7657458 | 0 | 0 | 0 | 0 | +VTK read: 3292586 points, 6581348 triangles, 3822 lines, z bounds 119.28..576.11 +field feature_bits: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 +field feature_names: river | road | railway | coastline | contour | wall | ditch | land_cover +field feature_vocabulary: f26769f015fd54ff7c0b49922a9eba48c28c2596b0a1f152b519658010b22c61 +field crs: EPSG:25833 +field elevation_source: refined from DEM nodes, constrained Delaunay, tolerance 1 m, achieved max error 1 m, start domain boundary, boundary z bilinear, start min angle 25 deg, constraint feet on, 0 valid DEM nodes not covered, 0 vertices without data dropped, vertical unit assumed metres +field domain: square48_25833.geojson, 1 ring 0 holes, 4 vertices +field domain_crs: EPSG:25833 +field domain_transform: none +cell arrays: feature_mask +constraint edges 3822: land_cover 0, water 0, water without land_cover 0, mask 0 3822 +cell array land_cover: absent +cell array water: absent +### sq-t1-none-q0 r1 00:01:54 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --start-min-angle 0 +exit 0 +0 start quality nodes inserted, 0 start quality skips, 0 constraint feet, 0 feet refused, 61 rounds, 3292582 points inserted, 7657458 flips, 6581348 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 2 start triangles, 0 start vertices off-node, 0 vertices without data dropped + 2949431296 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 61 | 3292582 | 0 | 7657458 | 0 | 0 | 0 | 0 | +VTK read: 3292586 points, 6581348 triangles, 3822 lines, z bounds 119.28..576.11 +field feature_bits: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 +field feature_names: river | road | railway | coastline | contour | wall | ditch | land_cover +field feature_vocabulary: f26769f015fd54ff7c0b49922a9eba48c28c2596b0a1f152b519658010b22c61 +field crs: EPSG:25833 +field elevation_source: refined from DEM nodes, constrained Delaunay, tolerance 1 m, achieved max error 1 m, start domain boundary, boundary z bilinear, start quality off, constraint feet on, 0 valid DEM nodes not covered, 0 vertices without data dropped, vertical unit assumed metres +field domain: square48_25833.geojson, 1 ring 0 holes, 4 vertices +field domain_crs: EPSG:25833 +field domain_transform: none +cell arrays: feature_mask +constraint edges 3822: land_cover 0, water 0, water without land_cover 0, mask 0 3822 +cell array land_cover: absent +cell array water: absent +### sq-t1-eu-q25 r1 00:02:18 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +662 features kept, 451 dropped outside, 69 clipped, 0 empty skipped +103420 input vertices, 51395 noded vertices +154573 start quality nodes inserted, 51555 start quality skips, 30311 constraint feet, 0 feet refused, 30 rounds, 3172537 points inserted, 7127927 flips, 6753084 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 102627 start triangles, 51391 start vertices off-node, 0 vertices without data dropped + 3057221632 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 30 | 3172537 | 0 | 7127927 | 0 | 154573 | 51555 | 30311 | +VTK read: 3378505 points, 6753084 triangles, 85862 lines, z bounds 119.28..576.11 +field feature_bits: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 +field feature_names: river | road | railway | coastline | contour | wall | ditch | land_cover +field feature_vocabulary: f26769f015fd54ff7c0b49922a9eba48c28c2596b0a1f152b519658010b22c61 +field crs: EPSG:25833 +field elevation_source: refined from DEM nodes, constrained Delaunay, tolerance 1 m, achieved max error 1 m, start domain boundary and features, vertex z bilinear, start min angle 25 deg, constraint feet on, 0 valid DEM nodes not covered, 0 vertices without data dropped, vertical unit assumed metres +field domain: square48_25833.geojson, 1 ring 0 holes, 4 vertices +field domain_crs: EPSG:25833 +field domain_transform: none +field features: U2018_CLC2018_V2020_20u1.gpkg:U2018_CLC2018_V2020_20u1, map corine, 662 features, 1055 chains, 103416 vertices +field features_crs: EPSG:3035 +field features_transform: Inverse of Europe Equal Area 2001 + UTM zone 33N (with axis order normalized for visualization) +field features_notice: Contains modified CORINE Land Cover 2018 data (version 2020_20u1), (c) European Union, Copernicus Land Monitoring Service 2018, European Environment Agency (EEA): clipped and re-encoded, produced with funding by the European Union, not endorsed by the EU +cell arrays: feature_mask, land_cover, water +constraint edges 85862: land_cover 81938, water 12155, water without land_cover 0, mask 0 3924 +cell array land_cover: sum over lines 81938 +cell array water: sum over lines 12155 +### sq-t1-eu-q0 r1 00:03:19 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --start-min-angle 0 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +662 features kept, 451 dropped outside, 69 clipped, 0 empty skipped +103420 input vertices, 51395 noded vertices +0 start quality nodes inserted, 0 start quality skips, 31986 constraint feet, 0 feet refused, 38 rounds, 3278487 points inserted, 7689701 flips, 6655874 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 102627 start triangles, 51391 start vertices off-node, 0 vertices without data dropped + 3058302976 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 38 | 3278487 | 0 | 7689701 | 0 | 0 | 0 | 31986 | +VTK read: 3329882 points, 6655874 triangles, 87501 lines, z bounds 119.28..576.11 +field feature_bits: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 +field feature_names: river | road | railway | coastline | contour | wall | ditch | land_cover +field feature_vocabulary: f26769f015fd54ff7c0b49922a9eba48c28c2596b0a1f152b519658010b22c61 +field crs: EPSG:25833 +field elevation_source: refined from DEM nodes, constrained Delaunay, tolerance 1 m, achieved max error 1 m, start domain boundary and features, vertex z bilinear, start quality off, constraint feet on, 0 valid DEM nodes not covered, 0 vertices without data dropped, vertical unit assumed metres +field domain: square48_25833.geojson, 1 ring 0 holes, 4 vertices +field domain_crs: EPSG:25833 +field domain_transform: none +field features: U2018_CLC2018_V2020_20u1.gpkg:U2018_CLC2018_V2020_20u1, map corine, 662 features, 1055 chains, 103416 vertices +field features_crs: EPSG:3035 +field features_transform: Inverse of Europe Equal Area 2001 + UTM zone 33N (with axis order normalized for visualization) +field features_notice: Contains modified CORINE Land Cover 2018 data (version 2020_20u1), (c) European Union, Copernicus Land Monitoring Service 2018, European Environment Agency (EEA): clipped and re-encoded, produced with funding by the European Union, not endorsed by the EU +cell arrays: feature_mask, land_cover, water +constraint edges 87501: land_cover 83613, water 12269, water without land_cover 0, mask 0 3888 +cell array land_cover: sum over lines 83613 +cell array water: sum over lines 12269 +### sq-t10-none-q25 r1 00:04:16 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 +exit 0 +0 start quality nodes inserted, 0 start quality skips, 0 constraint feet, 0 feet refused, 52 rounds, 66928 points inserted, 186432 flips, 133379 triangles, achieved max error 9.999497794833673 m, 0 valid DEM nodes not covered, 2 start triangles, 0 start vertices off-node, 0 vertices without data dropped + 570589184 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999497794833673 m | 52 | 66928 | 0 | 186432 | 0 | 0 | 0 | 0 | +VTK read: 66932 points, 133379 triangles, 483 lines, z bounds 119.30..575.80 +field feature_bits: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 +field feature_names: river | road | railway | coastline | contour | wall | ditch | land_cover +field feature_vocabulary: f26769f015fd54ff7c0b49922a9eba48c28c2596b0a1f152b519658010b22c61 +field crs: EPSG:25833 +field elevation_source: refined from DEM nodes, constrained Delaunay, tolerance 10 m, achieved max error 9.999497794833673 m, start domain boundary, boundary z bilinear, start min angle 25 deg, constraint feet on, 0 valid DEM nodes not covered, 0 vertices without data dropped, vertical unit assumed metres +field domain: square48_25833.geojson, 1 ring 0 holes, 4 vertices +field domain_crs: EPSG:25833 +field domain_transform: none +cell arrays: feature_mask +constraint edges 483: land_cover 0, water 0, water without land_cover 0, mask 0 483 +cell array land_cover: absent +cell array water: absent +### sq-t10-none-q0 r1 00:04:19 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 --start-min-angle 0 +exit 0 +0 start quality nodes inserted, 0 start quality skips, 0 constraint feet, 0 feet refused, 52 rounds, 66928 points inserted, 186432 flips, 133379 triangles, achieved max error 9.999497794833673 m, 0 valid DEM nodes not covered, 2 start triangles, 0 start vertices off-node, 0 vertices without data dropped + 565133312 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999497794833673 m | 52 | 66928 | 0 | 186432 | 0 | 0 | 0 | 0 | +VTK read: 66932 points, 133379 triangles, 483 lines, z bounds 119.30..575.80 +field feature_bits: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 +field feature_names: river | road | railway | coastline | contour | wall | ditch | land_cover +field feature_vocabulary: f26769f015fd54ff7c0b49922a9eba48c28c2596b0a1f152b519658010b22c61 +field crs: EPSG:25833 +field elevation_source: refined from DEM nodes, constrained Delaunay, tolerance 10 m, achieved max error 9.999497794833673 m, start domain boundary, boundary z bilinear, start quality off, constraint feet on, 0 valid DEM nodes not covered, 0 vertices without data dropped, vertical unit assumed metres +field domain: square48_25833.geojson, 1 ring 0 holes, 4 vertices +field domain_crs: EPSG:25833 +field domain_transform: none +cell arrays: feature_mask +constraint edges 483: land_cover 0, water 0, water without land_cover 0, mask 0 483 +cell array land_cover: absent +cell array water: absent +### sq-t10-eu-q25 r1 00:04:21 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +662 features kept, 451 dropped outside, 69 clipped, 0 empty skipped +103420 input vertices, 51395 noded vertices +154573 start quality nodes inserted, 51555 start quality skips, 350 constraint feet, 0 feet refused, 17 rounds, 34801 points inserted, 86893 flips, 480941 triangles, achieved max error 9.999960550447781 m, 0 valid DEM nodes not covered, 102627 start triangles, 51391 start vertices off-node, 0 vertices without data dropped + 597983232 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999960550447781 m | 17 | 34801 | 0 | 86893 | 0 | 154573 | 51555 | 350 | +VTK read: 240769 points, 480941 triangles, 52572 lines, z bounds 119.32..574.72 +field feature_bits: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 +field feature_names: river | road | railway | coastline | contour | wall | ditch | land_cover +field feature_vocabulary: f26769f015fd54ff7c0b49922a9eba48c28c2596b0a1f152b519658010b22c61 +field crs: EPSG:25833 +field elevation_source: refined from DEM nodes, constrained Delaunay, tolerance 10 m, achieved max error 9.999960550447781 m, start domain boundary and features, vertex z bilinear, start min angle 25 deg, constraint feet on, 0 valid DEM nodes not covered, 0 vertices without data dropped, vertical unit assumed metres +field domain: square48_25833.geojson, 1 ring 0 holes, 4 vertices +field domain_crs: EPSG:25833 +field domain_transform: none +field features: U2018_CLC2018_V2020_20u1.gpkg:U2018_CLC2018_V2020_20u1, map corine, 662 features, 1055 chains, 103416 vertices +field features_crs: EPSG:3035 +field features_transform: Inverse of Europe Equal Area 2001 + UTM zone 33N (with axis order normalized for visualization) +field features_notice: Contains modified CORINE Land Cover 2018 data (version 2020_20u1), (c) European Union, Copernicus Land Monitoring Service 2018, European Environment Agency (EEA): clipped and re-encoded, produced with funding by the European Union, not endorsed by the EU +cell arrays: feature_mask, land_cover, water +constraint edges 52572: land_cover 51977, water 9940, water without land_cover 0, mask 0 595 +cell array land_cover: sum over lines 51977 +cell array water: sum over lines 9940 +### sq-t10-eu-q0 r1 00:04:52 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 --start-min-angle 0 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +662 features kept, 451 dropped outside, 69 clipped, 0 empty skipped +103420 input vertices, 51395 noded vertices +0 start quality nodes inserted, 0 start quality skips, 359 constraint feet, 0 feet refused, 23 rounds, 55006 points inserted, 192561 flips, 212255 triangles, achieved max error 9.999949490582509 m, 0 valid DEM nodes not covered, 102627 start triangles, 51391 start vertices off-node, 0 vertices without data dropped + 517308416 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999949490582509 m | 23 | 55006 | 0 | 192561 | 0 | 0 | 0 | 359 | +VTK read: 106401 points, 212255 triangles, 52531 lines, z bounds 119.37..574.72 +field feature_bits: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 +field feature_names: river | road | railway | coastline | contour | wall | ditch | land_cover +field feature_vocabulary: f26769f015fd54ff7c0b49922a9eba48c28c2596b0a1f152b519658010b22c61 +field crs: EPSG:25833 +field elevation_source: refined from DEM nodes, constrained Delaunay, tolerance 10 m, achieved max error 9.999949490582509 m, start domain boundary and features, vertex z bilinear, start quality off, constraint feet on, 0 valid DEM nodes not covered, 0 vertices without data dropped, vertical unit assumed metres +field domain: square48_25833.geojson, 1 ring 0 holes, 4 vertices +field domain_crs: EPSG:25833 +field domain_transform: none +field features: U2018_CLC2018_V2020_20u1.gpkg:U2018_CLC2018_V2020_20u1, map corine, 662 features, 1055 chains, 103416 vertices +field features_crs: EPSG:3035 +field features_transform: Inverse of Europe Equal Area 2001 + UTM zone 33N (with axis order normalized for visualization) +field features_notice: Contains modified CORINE Land Cover 2018 data (version 2020_20u1), (c) European Union, Copernicus Land Monitoring Service 2018, European Environment Agency (EEA): clipped and re-encoded, produced with funding by the European Union, not endorsed by the EU +cell arrays: feature_mask, land_cover, water +constraint edges 52531: land_cover 51986, water 9938, water without land_cover 0, mask 0 545 +cell array land_cover: sum over lines 51986 +cell array water: sum over lines 9938 +### sq-t1-none-q25 r2 00:05:22 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 +exit 0 +0 start quality nodes inserted, 0 start quality skips, 0 constraint feet, 0 feet refused, 61 rounds, 3292582 points inserted, 7657458 flips, 6581348 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 2 start triangles, 0 start vertices off-node, 0 vertices without data dropped + 3073802240 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 61 | 3292582 | 0 | 7657458 | 0 | 0 | 0 | 0 | +### sq-t1-none-q0 r2 00:05:42 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --start-min-angle 0 +exit 0 +0 start quality nodes inserted, 0 start quality skips, 0 constraint feet, 0 feet refused, 61 rounds, 3292582 points inserted, 7657458 flips, 6581348 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 2 start triangles, 0 start vertices off-node, 0 vertices without data dropped + 3151790080 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 61 | 3292582 | 0 | 7657458 | 0 | 0 | 0 | 0 | +### sq-t1-eu-q25 r2 00:06:00 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +662 features kept, 451 dropped outside, 69 clipped, 0 empty skipped +103420 input vertices, 51395 noded vertices +154573 start quality nodes inserted, 51555 start quality skips, 30311 constraint feet, 0 feet refused, 30 rounds, 3172537 points inserted, 7127927 flips, 6753084 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 102627 start triangles, 51391 start vertices off-node, 0 vertices without data dropped + 3129278464 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 30 | 3172537 | 0 | 7127927 | 0 | 154573 | 51555 | 30311 | +### sq-t1-eu-q0 r2 00:06:50 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --start-min-angle 0 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +662 features kept, 451 dropped outside, 69 clipped, 0 empty skipped +103420 input vertices, 51395 noded vertices +0 start quality nodes inserted, 0 start quality skips, 31986 constraint feet, 0 feet refused, 38 rounds, 3278487 points inserted, 7689701 flips, 6655874 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 102627 start triangles, 51391 start vertices off-node, 0 vertices without data dropped + 2877227008 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 38 | 3278487 | 0 | 7689701 | 0 | 0 | 0 | 31986 | +### sq-t10-none-q25 r2 00:07:40 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 +exit 0 +0 start quality nodes inserted, 0 start quality skips, 0 constraint feet, 0 feet refused, 52 rounds, 66928 points inserted, 186432 flips, 133379 triangles, achieved max error 9.999497794833673 m, 0 valid DEM nodes not covered, 2 start triangles, 0 start vertices off-node, 0 vertices without data dropped + 569049088 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999497794833673 m | 52 | 66928 | 0 | 186432 | 0 | 0 | 0 | 0 | +### sq-t10-none-q0 r2 00:07:41 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 --start-min-angle 0 +exit 0 +0 start quality nodes inserted, 0 start quality skips, 0 constraint feet, 0 feet refused, 52 rounds, 66928 points inserted, 186432 flips, 133379 triangles, achieved max error 9.999497794833673 m, 0 valid DEM nodes not covered, 2 start triangles, 0 start vertices off-node, 0 vertices without data dropped + 565690368 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999497794833673 m | 52 | 66928 | 0 | 186432 | 0 | 0 | 0 | 0 | +### sq-t10-eu-q25 r2 00:07:42 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +662 features kept, 451 dropped outside, 69 clipped, 0 empty skipped +103420 input vertices, 51395 noded vertices +154573 start quality nodes inserted, 51555 start quality skips, 350 constraint feet, 0 feet refused, 17 rounds, 34801 points inserted, 86893 flips, 480941 triangles, achieved max error 9.999960550447781 m, 0 valid DEM nodes not covered, 102627 start triangles, 51391 start vertices off-node, 0 vertices without data dropped + 570130432 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999960550447781 m | 17 | 34801 | 0 | 86893 | 0 | 154573 | 51555 | 350 | +### sq-t10-eu-q0 r2 00:08:11 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 --start-min-angle 0 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +662 features kept, 451 dropped outside, 69 clipped, 0 empty skipped +103420 input vertices, 51395 noded vertices +0 start quality nodes inserted, 0 start quality skips, 359 constraint feet, 0 feet refused, 23 rounds, 55006 points inserted, 192561 flips, 212255 triangles, achieved max error 9.999949490582509 m, 0 valid DEM nodes not covered, 102627 start triangles, 51391 start vertices off-node, 0 vertices without data dropped + 520372224 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999949490582509 m | 23 | 55006 | 0 | 192561 | 0 | 0 | 0 | 359 | +### sq-t1-none-q25 r3 00:08:36 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 +exit 0 +0 start quality nodes inserted, 0 start quality skips, 0 constraint feet, 0 feet refused, 61 rounds, 3292582 points inserted, 7657458 flips, 6581348 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 2 start triangles, 0 start vertices off-node, 0 vertices without data dropped + 2901229568 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 61 | 3292582 | 0 | 7657458 | 0 | 0 | 0 | 0 | +### sq-t1-none-q0 r3 00:08:54 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --start-min-angle 0 +exit 0 +0 start quality nodes inserted, 0 start quality skips, 0 constraint feet, 0 feet refused, 61 rounds, 3292582 points inserted, 7657458 flips, 6581348 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 2 start triangles, 0 start vertices off-node, 0 vertices without data dropped + 3026796544 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 61 | 3292582 | 0 | 7657458 | 0 | 0 | 0 | 0 | +### sq-t1-eu-q25 r3 00:09:13 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +662 features kept, 451 dropped outside, 69 clipped, 0 empty skipped +103420 input vertices, 51395 noded vertices +154573 start quality nodes inserted, 51555 start quality skips, 30311 constraint feet, 0 feet refused, 30 rounds, 3172537 points inserted, 7127927 flips, 6753084 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 102627 start triangles, 51391 start vertices off-node, 0 vertices without data dropped + 2946039808 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 30 | 3172537 | 0 | 7127927 | 0 | 154573 | 51555 | 30311 | +### sq-t1-eu-q0 r3 00:10:02 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --start-min-angle 0 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +662 features kept, 451 dropped outside, 69 clipped, 0 empty skipped +103420 input vertices, 51395 noded vertices +0 start quality nodes inserted, 0 start quality skips, 31986 constraint feet, 0 feet refused, 38 rounds, 3278487 points inserted, 7689701 flips, 6655874 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 102627 start triangles, 51391 start vertices off-node, 0 vertices without data dropped + 2854338560 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 38 | 3278487 | 0 | 7689701 | 0 | 0 | 0 | 31986 | +### sq-t10-none-q25 r3 00:10:52 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 +exit 0 +0 start quality nodes inserted, 0 start quality skips, 0 constraint feet, 0 feet refused, 52 rounds, 66928 points inserted, 186432 flips, 133379 triangles, achieved max error 9.999497794833673 m, 0 valid DEM nodes not covered, 2 start triangles, 0 start vertices off-node, 0 vertices without data dropped + 566050816 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999497794833673 m | 52 | 66928 | 0 | 186432 | 0 | 0 | 0 | 0 | +### sq-t10-none-q0 r3 00:10:53 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 --start-min-angle 0 +exit 0 +0 start quality nodes inserted, 0 start quality skips, 0 constraint feet, 0 feet refused, 52 rounds, 66928 points inserted, 186432 flips, 133379 triangles, achieved max error 9.999497794833673 m, 0 valid DEM nodes not covered, 2 start triangles, 0 start vertices off-node, 0 vertices without data dropped + 565968896 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999497794833673 m | 52 | 66928 | 0 | 186432 | 0 | 0 | 0 | 0 | +### sq-t10-eu-q25 r3 00:10:54 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +662 features kept, 451 dropped outside, 69 clipped, 0 empty skipped +103420 input vertices, 51395 noded vertices +154573 start quality nodes inserted, 51555 start quality skips, 350 constraint feet, 0 feet refused, 17 rounds, 34801 points inserted, 86893 flips, 480941 triangles, achieved max error 9.999960550447781 m, 0 valid DEM nodes not covered, 102627 start triangles, 51391 start vertices off-node, 0 vertices without data dropped + 649134080 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999960550447781 m | 17 | 34801 | 0 | 86893 | 0 | 154573 | 51555 | 350 | +### sq-t10-eu-q0 r3 00:11:24 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 --start-min-angle 0 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +662 features kept, 451 dropped outside, 69 clipped, 0 empty skipped +103420 input vertices, 51395 noded vertices +0 start quality nodes inserted, 0 start quality skips, 359 constraint feet, 0 feet refused, 23 rounds, 55006 points inserted, 192561 flips, 212255 triangles, achieved max error 9.999949490582509 m, 0 valid DEM nodes not covered, 102627 start triangles, 51391 start vertices off-node, 0 vertices without data dropped + 516931584 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999949490582509 m | 23 | 55006 | 0 | 192561 | 0 | 0 | 0 | 359 | +### done 00:11:44 | Battery Power diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/aggregate.py b/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/aggregate.py new file mode 100644 index 00000000..b6774447 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/aggregate.py @@ -0,0 +1,48 @@ +"""Medians over the repeats of each case, from the --stats reports in stats/ and +the peak RSS in logs/*.log. Prints one Markdown table per group.""" +import re, statistics as S, sys +from collections import defaultdict +from pathlib import Path + +D = Path(sys.argv[1]) +rss = defaultdict(list) +for log in sorted((D / "logs").glob("*.log")): + case = None + for line in log.read_text().splitlines(): + if m := re.match(r"### (\S+) r(\d+)", line): + case = m.group(1) + elif "maximum resident set size" in line and case: + rss[case].append(int(line.split()[0])) + +def cells(md, header): + lines = md.splitlines() + i = next(k for k, l in enumerate(lines) if l.startswith("| " + header)) + return dict(zip([c.strip() for c in lines[i].strip("|").split("|")], [c.strip() for c in lines[i + 2].strip("|").split("|")])) + +runs = defaultdict(list) +for f in sorted((D / "stats").glob("*.md")): + case = re.sub(r"-r\d+\.md$", "", f.name) + md = f.read_text() + phases = {m.group(1): float(m.group(2)) for m in re.finditer(r"^\| ([^|*]+?) \| ([0-9.]+) \|", md, re.M)} + total = float(re.search(r"\*\*total\*\* \| \*\*([0-9.]+)\*\*", md).group(1)) + size = {m.group(1): m.group(2) for m in re.finditer(r"^\| ([a-z ]+) \| (\d+) \|$", md, re.M)} + q = cells(md, "metric | median | < 1°") + deg = cells(md, "metric | median | p99") + ref = cells(md, "tolerance | achieved") + runs[case].append(dict(phases=phases, total=total, tri=int(size["output triangles"]), + start=int(size["start vertices"]), q=q, deg=deg, ref=ref)) + +def med(case, key): + vals = [r["phases"].get(key, 0.0) for r in runs[case]] + return S.median(vals) + +print("| case | n | triangles | start vertices | min angle median | < 1° | worst | max degree | achieved max error | quality inserted | feet | features read | features clip | node | start quality | refine (scan / split) | encode | total | peak RSS |") +print("|---|---:|---:|---:|---:|---:|---:|---:|---|---:|---:|---:|---:|---:|---:|---|---:|---:|---:|") +for case in sorted(runs, key=lambda c: (c.split("-")[0], c)): + rs = runs[case]; r0 = rs[0] + same = all(r["tri"] == r0["tri"] for r in rs) + def t(k): return f"{med(case, k):.3f}" + print(f"| {case} | {len(rs)} | {r0['tri']}{'' if same else ' (differs)'} | {r0['start']} | {r0['q']['median']} | {r0['q']['< 1°']} | {r0['q']['worst']} | {r0['deg']['max']} | {r0['ref']['achieved max error']} | " + f"{r0['ref'].get('quality inserted', '-')} | {r0['ref'].get('feet', '-')} | {t('features read')} | {t('features clip')} | {t('start mesh: node')} | {t('refine: start quality')} | " + f"{t('refine')} ({t('refine: scan (parallel)')} / {t('refine: split + flip (serial)')}) | {t('write: encode')} | {S.median(r['total'] for r in rs):.2f} | " + f"{S.median(rss[case]) / 1e9:.2f} GB |") diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/candidates.py b/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/candidates.py new file mode 100644 index 00000000..e4cc351f --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/candidates.py @@ -0,0 +1,38 @@ +"""Where the 'features read' time goes for the catchment: the widened R-tree +query (ids only), the same with the geometry blobs fetched, the decode, and the +candidates' vertex counts; and the plain-box query for comparison. Uses the +branch's own source_region, layer_info and decode_geometry.""" +import sqlite3, sys, time +from pathlib import Path +import shapely +from tin_engine.crs import parse_crs +from tin_engine.domain import read_domain +from tin_engine.io.geopackage import decode_geometry, layer_info, _q +from tin_engine.feature_input import source_region + +dom = read_domain(Path(sys.argv[1])).to_crs("EPSG:25833") +for path, table in (sys.argv[2], sys.argv[3]), (sys.argv[4], sys.argv[5]): + conn = sqlite3.connect(f"file:{path}?mode=ro", uri=True) + layer = layer_info(conn, table) + box = source_region(dom, parse_crs("EPSG:25833"), layer.crs).bounds + scale = 1.0 if parse_crs(layer.crs).is_geographic else 100_000.0 + s = "(r.maxx - r.minx + r.maxy - r.miny)"; w = f"({s} * max(1.0, {s} / :scale))" + where = (f" WHERE r.maxx + {w} >= :minx AND r.minx - {w} <= :maxx AND r.maxy + {w} >= :miny AND r.miny - {w} <= :maxy") + plain = " WHERE r.maxx >= :minx AND r.minx <= :maxx AND r.maxy >= :miny AND r.miny <= :maxy" + p = dict(zip(("minx", "miny", "maxx", "maxy"), box), scale=scale) + rt = _q(layer.rtree) + n_rtree = conn.execute(f"SELECT count(*) FROM {rt}").fetchone()[0] + t = time.perf_counter(); ids = [r[0] for r in conn.execute(f"SELECT r.id FROM {rt} r {where}", p)]; t_ids = time.perf_counter() - t + t = time.perf_counter(); pids = [r[0] for r in conn.execute(f"SELECT r.id FROM {rt} r {plain}", p)]; t_plain = time.perf_counter() - t + t = time.perf_counter() + blobs = conn.execute(f"SELECT t.{_q(layer.pk)}, t.{_q(layer.column)} FROM {_q(layer.table)} t JOIN {rt} r ON t.{_q(layer.pk)} = r.id {where} ORDER BY t.{_q(layer.pk)}", p).fetchall() + t_fetch = time.perf_counter() - t + t = time.perf_counter(); geoms = [decode_geometry(b)[1] for _, b in blobs]; t_dec = time.perf_counter() - t + nv = shapely.get_num_coordinates(geoms) + big = sorted(zip(nv, (f for f, _ in blobs)), reverse=True)[:5] + far = sorted(set(ids) - set(pids)) + nv_far = int(sum(n for n, (f, _) in zip(nv, blobs) if f in set(far))) + print(f"{Path(path).name}:{table} ({layer.crs}): R-tree rows {n_rtree}; query box {tuple(round(b) for b in box)}") + print(f" widened query: {len(ids)} rows, ids only {t_ids:.3f} s; plain box: {len(pids)} rows, {t_plain*1000:.1f} ms") + print(f" widened query with blobs: {t_fetch:.3f} s, {sum(len(b) for _, b in blobs)/1e6:.1f} MB; decode {t_dec:.3f} s") + print(f" candidate vertices {int(nv.sum())}; in the {len(far)} rows only the widening adds: {nv_far}; largest (vertices, fid): {big}") diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/check_vtk.py b/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/check_vtk.py new file mode 100644 index 00000000..fa307486 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/check_vtk.py @@ -0,0 +1,32 @@ +"""Read a rasputin .vtk back with VTK's vtkPolyDataReader (as the readback tests do) +and print what the 16b-1/2 acceptance checks: counts, the file's fields (R10), and +how many constraint edges carry land_cover (bit 7) and water (bit 8).""" +import sys +import numpy as np +import vtk +from vtk.util.numpy_support import vtk_to_numpy + +r = vtk.vtkPolyDataReader() +r.SetFileName(sys.argv[1]) +r.ReadAllFieldsOn(); r.ReadAllScalarsOn() +r.Update() +pd = r.GetOutput() +print(f"VTK read: {pd.GetNumberOfPoints()} points, {pd.GetNumberOfPolys()} triangles, " + f"{pd.GetNumberOfLines()} lines, z bounds {pd.GetBounds()[4]:.2f}..{pd.GetBounds()[5]:.2f}") +fd = pd.GetFieldData() +for i in range(fd.GetNumberOfArrays()): + a = fd.GetAbstractArray(i) + vals = [a.GetVariantValue(j).ToString() for j in range(min(a.GetNumberOfValues(), 8))] + print(f"field {a.GetName()}: {' | '.join(vals)[:300]}") +cd = pd.GetCellData() +names = [cd.GetAbstractArray(i).GetName() for i in range(cd.GetNumberOfArrays())] +print("cell arrays:", ", ".join(names)) +nl = pd.GetNumberOfLines() +# VTK orders cells lines first. +m = vtk_to_numpy(cd.GetArray("feature_mask")).astype(np.int64)[:nl] +lc, wa = (m >> 7) & 1, (m >> 8) & 1 +print(f"constraint edges {nl}: land_cover {int(lc.sum())}, water {int(wa.sum())}, " + f"water without land_cover {int((wa & (1 - lc)).sum())}, mask 0 {int((m == 0).sum())}") +for n in ("land_cover", "water"): + arr = cd.GetArray(n) + print(f"cell array {n}: " + ("absent" if arr is None else f"sum over lines {int(vtk_to_numpy(arr)[:nl].sum())}")) diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/make_catchment.py b/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/make_catchment.py new file mode 100644 index 00000000..ddd6f704 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/make_catchment.py @@ -0,0 +1,31 @@ +"""Write the 4326 test catchment for the 16b-1/2 acceptance (Ola's case). + +Not a real catchment: a smooth irregular 48-vertex ring in lon/lat, centred on +the corner where DTM10 tiles 6602_1, 6602_2, 6603_3 and 6603_4 meet +(300 000, 6 650 000 in EPSG:25833, 11.4198 E 59.9387 N), so the DEM is a +four-tile mosaic, inside both DTM10_UTM33_20260925 and the Norway CORINE +extract's 254 tiles. Radii are chosen for a few hundred km². Deterministic. +""" +import json, math, sys +from pathlib import Path +from pyproj import Transformer +from shapely.geometry import Polygon +from shapely.ops import transform + +LON0, LAT0 = 11.419790, 59.938743 +ring = [] +for k in range(48): + a = 2 * math.pi * k / 48 + r = 1.0 + 0.18 * math.sin(3 * a) + 0.10 * math.cos(5 * a + 0.7) + ring.append((round(LON0 + 0.17 * r * math.cos(a), 6), round(LAT0 + 0.085 * r * math.sin(a), 6))) +ring.append(ring[0]) +poly = Polygon(ring) +assert poly.is_valid +utm = transform(Transformer.from_crs("EPSG:4326", "EPSG:25833", always_xy=True).transform, poly) +doc = {"type": "FeatureCollection", + "crs": {"type": "name", "properties": {"name": "urn:ogc:def:crs:EPSG::4326"}}, + "features": [{"type": "Feature", "properties": {"name": "16b12-acceptance catchment", + "area_km2_in_25833": round(utm.area / 1e6, 1)}, + "geometry": {"type": "Polygon", "coordinates": [ring]}}]} +Path(sys.argv[1]).write_text(json.dumps(doc, indent=1) + "\n") +print(f"area {utm.area / 1e6:.1f} km2, bounds 25833 {[round(b) for b in utm.bounds]}") diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/pairs.sh b/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/pairs.sh new file mode 100755 index 00000000..aa779240 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/pairs.sh @@ -0,0 +1,16 @@ +#!/bin/zsh +# Three bench.py pairs, base (origin/master 14f5fe3 in a detached worktree) then 16b-1/2. +set -u +cd /Users/skavhaug/projects/rasputin +SP=/private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad +WT=$SP/wt-master-14f5fe3 +D=docs/benchmarks/2026-09-28/16b12-acceptance +COMMON=(--mesh-dir $SP/p16b12/meshes --domain docs/benchmarks/2026-09-26/quarter.geojson --domain tile --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --tolerance 1 --repeats 5 --threads 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20) +for r in ${PAIRS:-1 2 3}; do + sfx=""; [ $r != 1 ] && sfx="-r$r" + echo "== base r$r $(date +%T)"; pmset -g batt + .venv/bin/python tools/bench.py run --label 16b12-acceptance/base-14f5fe3$sfx --tree $WT $COMMON; echo "exit $?" + echo "== 16b12 r$r $(date +%T)"; pmset -g batt + .venv/bin/python tools/bench.py run --label 16b12-acceptance/16b12$sfx --baseline $D/base-14f5fe3$sfx $COMMON; echo "exit $?" +done +echo "== done $(date +%T)"; pmset -g batt diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/pairs_table.py b/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/pairs_table.py new file mode 100644 index 00000000..476e3bd9 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/pairs_table.py @@ -0,0 +1,31 @@ +"""The four bench.py pairs: per-cell medians, pair changes, the pooled change, +same-build drift, the ceiling and quality. Run from this directory.""" +import json, statistics as S +runs = ["base-14f5fe3", "16b12", "base-14f5fe3-r2", "16b12-r2", "base-14f5fe3-r3", "16b12-r3", "base-14f5fe3-r4", "16b12-r4"] +R = {r: json.load(open(f"{r}/run.json")) for r in runs} +for r in runs: + d = R[r] + print(f"{r}: {d['tree']['commit'][:7]} so {d['build']['so_sha256'][:12]} {d['power']['state']} {d['power']['raw'].split(chr(9))[1].split(';')[0]}->{d['power']['raw'].split(chr(9))[-1].split(';')[0]} verdict {'; '.join(d['verdict'])[:120]}") + for k, v in d["quality"].items(): + print(f" {k}: worst {v['worst_angle']:.4f} maxdeg {v['max_degree']} tol {v['within_tolerance']} delaunay {v['delaunay_violations']}/{v['delaunay_checked']} sha {v['mesh_sha256'][:16]}") +med = {r: {(s["domain"], s["threads"]): s["median"] for s in R[r]["stats"]} for r in runs} +keys = sorted(med[runs[0]]); B, N = runs[0::2], runs[1::2] +pooled = [] +print("| domain | threads | base r1..r4 (ms) | 16b-1/2 r1..r4 (ms) | pair changes | pooled |") +print("|---|---:|---|---|---|---:|") +for k in keys: + b = [med[r][k] for r in B]; n = [med[r][k] for r in N] + ch = [(y / x - 1) * 100 for x, y in zip(b, n)] + p = (S.median(n) / S.median(b) - 1) * 100; pooled.append(p) + if k[1] in (0, 1, 2, 4, 8, 10, 16, 20): + print(f"| {k[0]} | {k[1] or 'default (10)'} | {' / '.join(f'{x*1000:.1f}' for x in b)} | {' / '.join(f'{x*1000:.1f}' for x in n)} | {', '.join(f'{c:+.1f}' for c in ch)} | {p:+.1f} % |") +print(f"pooled over {len(pooled)} cells: median {S.median(pooled):+.2f} %, min {min(pooled):+.1f}, max {max(pooled):+.1f}, cells > +5 %: {sum(p > 5 for p in pooled)}") +for grp in (B, N): + worst = max(((med[b][k] / med[a][k] - 1) * 100, a, b, k) for a in grp for b in grp if a != b for k in keys) + print(f"same-build drift within {grp[0]}*: max {worst[0]:+.1f} % ({worst[1]} -> {worst[2]}, {worst[3]})") +for r in runs: + out = [] + for dom in ("tile", "quarter"): + one = med[r][(dom, 1)]; best = min((med[r][(dom, t)], t) for t in range(1, 21)) + out.append(f"{dom} {one/best[0]:.2f}x @{best[1]} ({one/med[r][(dom, 20)]:.2f}x @20)") + print(f"ceiling {r}: {'; '.join(out)}") diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/query_plan.py b/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/query_plan.py new file mode 100644 index 00000000..c6e54ffa --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/query_plan.py @@ -0,0 +1,19 @@ +"""The branch's candidate query (JOIN, planned as SCAN t) against the same rows +fetched by primary key from the R-tree's ids (IN subquery): time, rows, plan. +Diagnostic only; the branch's code is not changed.""" +import sqlite3, sys, time +EU = ("/Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg", "U2018_CLC2018_V2020_20u1", "OBJECTID", "Shape") +NO = ("/Users/skavhaug/projects/rasputin_data/corine2018_dtm10_utm33.gpkg", "corine2018", "fid", "geom") +BOX = {"U2018_CLC2018_V2020_20u1": (4390346, 4082024, 4410933, 4103082), "corine2018": (290173, 6637964, 310429, 6659036)} +for path, table, pk, col in (EU, NO): + c = sqlite3.connect(f"file:{path}?mode=ro", uri=True) + rt = f'"rtree_{table}_{col}"' + s = "(r.maxx - r.minx + r.maxy - r.miny)"; w = f"({s} * max(1.0, {s} / :scale))" + cond = f"r.maxx + {w} >= :minx AND r.minx - {w} <= :maxx AND r.maxy + {w} >= :miny AND r.miny - {w} <= :maxy" + p = dict(zip(("minx", "miny", "maxx", "maxy"), BOX[table]), scale=1e5) + join = f'SELECT t."{pk}", t."{col}", t."Code_18" FROM "{table}" t JOIN {rt} r ON t."{pk}" = r.id WHERE {cond} ORDER BY t."{pk}"' + sub = f'SELECT t."{pk}", t."{col}", t."Code_18" FROM "{table}" t WHERE t."{pk}" IN (SELECT r.id FROM {rt} r WHERE {cond}) ORDER BY t."{pk}"' + for name, q in (("join (as built)", join), ("IN subquery", sub)): + plan = "; ".join(r[3] for r in c.execute("EXPLAIN QUERY PLAN " + q, p)) + t = time.perf_counter(); rows = c.execute(q, p).fetchall(); dt = time.perf_counter() - t + print(f"{table} {name}: {len(rows)} rows, {sum(len(r[1]) for r in rows)/1e6:.1f} MB, {dt:.3f} s; plan: {plan}") diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/runs.sh b/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/runs.sh new file mode 100755 index 00000000..5a4dd139 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/runs.sh @@ -0,0 +1,51 @@ +#!/bin/zsh +# Parts 1, 2 and 4 of the 16b-1/2 acceptance, through the real CLI (`rasputin mesh`). +# Usage: runs.sh . Meshes stay in the scratchpad; the logs and +# --stats reports go to the evidence directory. +set -u +cd /Users/skavhaug/projects/rasputin +SP=/private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12 +D=docs/benchmarks/2026-09-28/16b12-acceptance +DATA=/Users/skavhaug/projects/rasputin_data +EU=$DATA/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg +NO=$DATA/corine2018_dtm10_utm33.gpkg +TILE=tests/fixtures/dem_archive/7908_3_10m_z33.tif +QC=docs/benchmarks/2026-09-26/quarter.geojson +EXT=tests/fixtures/corine/clc2018_7908_3.gpkg +CATCH=$D/catchment/catchment_4326.geojson +SQ=$D/catchment/square48_25833.geojson +T6603=$DATA/DTM10_UTM33_20260925/6603_4_10m_z33.tif +mkdir -p $SP/meshes $D/stats +one() { # one + local name=$1 rep=$2; shift 2 + local out=$SP/meshes/$name.vtk st=$D/stats/$name-r$rep.md + echo "### $name r$rep $(date +%T) | $(pmset -g batt | head -1 | cut -d"'" -f2)" + echo "\$ rasputin mesh $*" + /usr/bin/time -l .venv/bin/rasputin mesh "$@" --out $out --stats $st 2> $SP/err.txt >/dev/null + echo "exit $?" + grep -v '^ \+[0-9]\+ [a-z]' $SP/err.txt | grep -v 'real\|user\|sys' + grep 'maximum resident set size' $SP/err.txt + grep -E '^\| (triangles|vertices)|achieved|^\| [0-9]' $st | head -12 + [ $rep = 1 ] && .venv/bin/python $D/scripts/check_vtk.py $out +} +part=$1; reps=$2 +for rep in $(seq ${FIRST:-1} $reps); do +case $part in +qc) for tol in 1 10; do + one qc-t$tol-none $rep --dem $TILE --domain $QC --tolerance $tol + one qc-t$tol-corine $rep --dem $TILE --domain $QC --tolerance $tol --features $EXT --features-map corine + done ;; +ola) for tol in 1 10; do + one ola-t$tol-none $rep --dem $DATA/DTM10_UTM33_20260925 --domain $CATCH --tolerance $tol + one ola-t$tol-eu3035 $rep --dem $DATA/DTM10_UTM33_20260925 --domain $CATCH --tolerance $tol --features $EU --features-layer U2018_CLC2018_V2020_20u1 --features-map corine + one ola-t$tol-no25833 $rep --dem $DATA/DTM10_UTM33_20260925 --domain $CATCH --tolerance $tol --features $NO --features-layer corine2018 --features-map corine + done ;; +sq) for tol in 1 10; do + one sq-t$tol-none-q25 $rep --dem $T6603 --domain $SQ --tolerance $tol + one sq-t$tol-none-q0 $rep --dem $T6603 --domain $SQ --tolerance $tol --start-min-angle 0 + one sq-t$tol-eu-q25 $rep --dem $T6603 --domain $SQ --tolerance $tol --features $EU --features-layer U2018_CLC2018_V2020_20u1 --features-map corine + one sq-t$tol-eu-q0 $rep --dem $T6603 --domain $SQ --tolerance $tol --start-min-angle 0 --features $EU --features-layer U2018_CLC2018_V2020_20u1 --features-map corine + done ;; +esac +done +echo "### done $(date +%T) | $(pmset -g batt | head -1 | cut -d"'" -f2)" diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-r1.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-r1.md new file mode 100644 index 00000000..ea87a8cc --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-r1.md @@ -0,0 +1,75 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t1-eu3035.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-r1.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 5642 | +| start triangles | 11169 | +| output vertices | 617990 | +| output triangles | 1235226 | +| constraint edges | 11027 | +| vertices without data dropped | 0 | +| ola-t1-eu3035.vtk | 69.8 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 43.60° | 0.06 % | 0.91 % | 0.0116° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 25 | 731 | 9 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 29 | 596775 | 0 | 1282174 | 0 | 15573 | 5291 | 5314 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.0 % | +| decode | 0.482 | 1.6 % | +| features read | 17.468 | 58.3 % | +| features clip | 8.585 | 28.6 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.013 | 0.0 % | +| start mesh: triangulate | 0.004 | 0.0 % | +| start mesh: constraint edges | 0.012 | 0.0 % | +| refine | 0.624 | 2.1 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.016 | 0.1 % | +| refine: scan (parallel) | 0.114 | 0.4 % | +| refine: split + flip (serial) | 0.437 | 1.5 % | +| refine: setup + output | 0.056 | 0.2 % | +| trim | 0.047 | 0.2 % | +| write: encode | 2.713 | 9.1 % | +| write: disk | 0.010 | 0.0 % | +| other | 0.007 | 0.0 % | +| **total** | **29.967** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.226 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-r2.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-r2.md new file mode 100644 index 00000000..527d02bc --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-r2.md @@ -0,0 +1,75 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t1-eu3035.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-r2.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 5642 | +| start triangles | 11169 | +| output vertices | 617990 | +| output triangles | 1235226 | +| constraint edges | 11027 | +| vertices without data dropped | 0 | +| ola-t1-eu3035.vtk | 69.8 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 43.60° | 0.06 % | 0.91 % | 0.0116° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 25 | 731 | 9 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 29 | 596775 | 0 | 1282174 | 0 | 15573 | 5291 | 5314 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.0 % | +| decode | 0.492 | 1.6 % | +| features read | 18.144 | 59.1 % | +| features clip | 8.501 | 27.7 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.013 | 0.0 % | +| start mesh: triangulate | 0.004 | 0.0 % | +| start mesh: constraint edges | 0.012 | 0.0 % | +| refine | 0.645 | 2.1 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.016 | 0.1 % | +| refine: scan (parallel) | 0.123 | 0.4 % | +| refine: split + flip (serial) | 0.450 | 1.5 % | +| refine: setup + output | 0.055 | 0.2 % | +| trim | 0.053 | 0.2 % | +| write: encode | 2.821 | 9.2 % | +| write: disk | 0.014 | 0.0 % | +| other | 0.007 | 0.0 % | +| **total** | **30.707** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.245 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-r3.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-r3.md new file mode 100644 index 00000000..c35bbc49 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-r3.md @@ -0,0 +1,75 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t1-eu3035.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-r3.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 5642 | +| start triangles | 11169 | +| output vertices | 617990 | +| output triangles | 1235226 | +| constraint edges | 11027 | +| vertices without data dropped | 0 | +| ola-t1-eu3035.vtk | 69.8 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 43.60° | 0.06 % | 0.91 % | 0.0116° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 25 | 731 | 9 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 29 | 596775 | 0 | 1282174 | 0 | 15573 | 5291 | 5314 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.0 % | +| decode | 0.490 | 1.6 % | +| features read | 17.903 | 59.0 % | +| features clip | 8.435 | 27.8 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.013 | 0.0 % | +| start mesh: triangulate | 0.004 | 0.0 % | +| start mesh: constraint edges | 0.012 | 0.0 % | +| refine | 0.614 | 2.0 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.016 | 0.1 % | +| refine: scan (parallel) | 0.114 | 0.4 % | +| refine: split + flip (serial) | 0.429 | 1.4 % | +| refine: setup + output | 0.055 | 0.2 % | +| trim | 0.047 | 0.2 % | +| write: encode | 2.802 | 9.2 % | +| write: disk | 0.014 | 0.0 % | +| other | 0.008 | 0.0 % | +| **total** | **30.342** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.222 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-no25833-r1.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-no25833-r1.md new file mode 100644 index 00000000..4e9ca775 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-no25833-r1.md @@ -0,0 +1,75 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine2018_dtm10_utm33.gpkg --features-layer corine2018 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t1-no25833.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-no25833-r1.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 5642 | +| start triangles | 11169 | +| output vertices | 617990 | +| output triangles | 1235226 | +| constraint edges | 11027 | +| vertices without data dropped | 0 | +| ola-t1-no25833.vtk | 69.8 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 43.60° | 0.06 % | 0.91 % | 0.0116° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 25 | 731 | 9 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 29 | 596775 | 0 | 1282174 | 0 | 15573 | 5291 | 5314 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.005 | 0.1 % | +| decode | 0.670 | 10.7 % | +| features read | 0.894 | 14.3 % | +| features clip | 1.269 | 20.3 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.013 | 0.2 % | +| start mesh: triangulate | 0.004 | 0.1 % | +| start mesh: constraint edges | 0.012 | 0.2 % | +| refine | 0.608 | 9.7 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.016 | 0.3 % | +| refine: scan (parallel) | 0.112 | 1.8 % | +| refine: split + flip (serial) | 0.425 | 6.8 % | +| refine: setup + output | 0.055 | 0.9 % | +| trim | 0.048 | 0.8 % | +| write: encode | 2.721 | 43.5 % | +| write: disk | 0.011 | 0.2 % | +| other | 0.004 | 0.1 % | +| **total** | **6.258** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.226 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-no25833-r2.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-no25833-r2.md new file mode 100644 index 00000000..5e163d11 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-no25833-r2.md @@ -0,0 +1,75 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine2018_dtm10_utm33.gpkg --features-layer corine2018 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t1-no25833.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-no25833-r2.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 5642 | +| start triangles | 11169 | +| output vertices | 617990 | +| output triangles | 1235226 | +| constraint edges | 11027 | +| vertices without data dropped | 0 | +| ola-t1-no25833.vtk | 69.8 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 43.60° | 0.06 % | 0.91 % | 0.0116° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 25 | 731 | 9 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 29 | 596775 | 0 | 1282174 | 0 | 15573 | 5291 | 5314 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.004 | 0.1 % | +| decode | 0.683 | 10.6 % | +| features read | 0.944 | 14.6 % | +| features clip | 1.280 | 19.8 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.013 | 0.2 % | +| start mesh: triangulate | 0.004 | 0.1 % | +| start mesh: constraint edges | 0.012 | 0.2 % | +| refine | 0.647 | 10.0 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.016 | 0.2 % | +| refine: scan (parallel) | 0.117 | 1.8 % | +| refine: split + flip (serial) | 0.457 | 7.1 % | +| refine: setup + output | 0.057 | 0.9 % | +| trim | 0.050 | 0.8 % | +| write: encode | 2.808 | 43.5 % | +| write: disk | 0.010 | 0.2 % | +| other | 0.005 | 0.1 % | +| **total** | **6.458** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.243 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-no25833-r3.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-no25833-r3.md new file mode 100644 index 00000000..a5b6560a --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-no25833-r3.md @@ -0,0 +1,75 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine2018_dtm10_utm33.gpkg --features-layer corine2018 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t1-no25833.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-no25833-r3.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 5642 | +| start triangles | 11169 | +| output vertices | 617990 | +| output triangles | 1235226 | +| constraint edges | 11027 | +| vertices without data dropped | 0 | +| ola-t1-no25833.vtk | 69.8 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 43.60° | 0.06 % | 0.91 % | 0.0116° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 25 | 731 | 9 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 29 | 596775 | 0 | 1282174 | 0 | 15573 | 5291 | 5314 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.004 | 0.1 % | +| decode | 0.648 | 10.3 % | +| features read | 0.867 | 13.8 % | +| features clip | 1.259 | 20.1 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.013 | 0.2 % | +| start mesh: triangulate | 0.004 | 0.1 % | +| start mesh: constraint edges | 0.012 | 0.2 % | +| refine | 0.611 | 9.7 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.016 | 0.3 % | +| refine: scan (parallel) | 0.113 | 1.8 % | +| refine: split + flip (serial) | 0.427 | 6.8 % | +| refine: setup + output | 0.055 | 0.9 % | +| trim | 0.049 | 0.8 % | +| write: encode | 2.793 | 44.5 % | +| write: disk | 0.015 | 0.2 % | +| other | 0.004 | 0.1 % | +| **total** | **6.280** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.226 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-none-r1.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-none-r1.md new file mode 100644 index 00000000..1f543b69 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-none-r1.md @@ -0,0 +1,73 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t1-none.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-none-r1.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 48 | +| start triangles | 46 | +| output vertices | 608791 | +| output triangles | 1216839 | +| constraint edges | 741 | +| vertices without data dropped | 0 | +| ola-t1-none.vtk | 63.6 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 45.00° | 0.02 % | 0.27 % | 0.0116° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 25 | 75 | 1 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 40 | 608706 | 0 | 1338108 | 0 | 37 | 0 | 693 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.008 | 0.2 % | +| decode | 0.795 | 22.6 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.000 | 0.0 % | +| start mesh: triangulate | 0.000 | 0.0 % | +| start mesh: constraint edges | 0.000 | 0.0 % | +| refine | 0.618 | 17.6 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 0.146 | 4.1 % | +| refine: split + flip (serial) | 0.423 | 12.1 % | +| refine: setup + output | 0.049 | 1.4 % | +| trim | 0.054 | 1.6 % | +| write: encode | 2.015 | 57.4 % | +| write: disk | 0.018 | 0.5 % | +| other | 0.003 | 0.1 % | +| **total** | **3.512** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.225 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-none-r2.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-none-r2.md new file mode 100644 index 00000000..5131b490 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-none-r2.md @@ -0,0 +1,73 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t1-none.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-none-r2.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 48 | +| start triangles | 46 | +| output vertices | 608791 | +| output triangles | 1216839 | +| constraint edges | 741 | +| vertices without data dropped | 0 | +| ola-t1-none.vtk | 63.6 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 45.00° | 0.02 % | 0.27 % | 0.0116° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 25 | 75 | 1 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 40 | 608706 | 0 | 1338108 | 0 | 37 | 0 | 693 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.007 | 0.2 % | +| decode | 0.683 | 20.3 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.000 | 0.0 % | +| start mesh: triangulate | 0.000 | 0.0 % | +| start mesh: constraint edges | 0.000 | 0.0 % | +| refine | 0.602 | 17.9 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 0.142 | 4.2 % | +| refine: split + flip (serial) | 0.410 | 12.2 % | +| refine: setup + output | 0.049 | 1.5 % | +| trim | 0.055 | 1.6 % | +| write: encode | 1.996 | 59.5 % | +| write: disk | 0.010 | 0.3 % | +| other | 0.003 | 0.1 % | +| **total** | **3.356** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.228 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-none-r3.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-none-r3.md new file mode 100644 index 00000000..621bed4b --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-none-r3.md @@ -0,0 +1,73 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t1-none.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-none-r3.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 48 | +| start triangles | 46 | +| output vertices | 608791 | +| output triangles | 1216839 | +| constraint edges | 741 | +| vertices without data dropped | 0 | +| ola-t1-none.vtk | 63.6 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 45.00° | 0.02 % | 0.27 % | 0.0116° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 25 | 75 | 1 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 40 | 608706 | 0 | 1338108 | 0 | 37 | 0 | 693 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.0 % | +| decode | 0.506 | 15.8 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.000 | 0.0 % | +| start mesh: triangulate | 0.000 | 0.0 % | +| start mesh: constraint edges | 0.000 | 0.0 % | +| refine | 0.604 | 18.9 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 0.144 | 4.5 % | +| refine: split + flip (serial) | 0.410 | 12.8 % | +| refine: setup + output | 0.050 | 1.6 % | +| trim | 0.054 | 1.7 % | +| write: encode | 2.017 | 63.1 % | +| write: disk | 0.014 | 0.4 % | +| other | 0.003 | 0.1 % | +| **total** | **3.198** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.223 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-r1.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-r1.md new file mode 100644 index 00000000..382f1279 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-r1.md @@ -0,0 +1,75 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t10-eu3035.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-r1.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 5642 | +| start triangles | 11169 | +| output vertices | 31641 | +| output triangles | 63020 | +| constraint edges | 5958 | +| vertices without data dropped | 0 | +| ola-t10-eu3035.vtk | 3.5 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.52° | 0.23 % | 4.10 % | 0.00782° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 14 | 21 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999894849297135 m | 20 | 10426 | 0 | 26186 | 0 | 15573 | 5291 | 245 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.0 % | +| decode | 0.485 | 1.8 % | +| features read | 18.123 | 66.7 % | +| features clip | 8.336 | 30.7 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.013 | 0.0 % | +| start mesh: triangulate | 0.004 | 0.0 % | +| start mesh: constraint edges | 0.012 | 0.0 % | +| refine | 0.044 | 0.2 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.016 | 0.1 % | +| refine: scan (parallel) | 0.017 | 0.1 % | +| refine: split + flip (serial) | 0.005 | 0.0 % | +| refine: setup + output | 0.006 | 0.0 % | +| trim | 0.002 | 0.0 % | +| write: encode | 0.139 | 0.5 % | +| write: disk | 0.001 | 0.0 % | +| other | 0.007 | 0.0 % | +| **total** | **27.168** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.012 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-r2.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-r2.md new file mode 100644 index 00000000..d1bbb0e6 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-r2.md @@ -0,0 +1,75 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t10-eu3035.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-r2.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 5642 | +| start triangles | 11169 | +| output vertices | 31641 | +| output triangles | 63020 | +| constraint edges | 5958 | +| vertices without data dropped | 0 | +| ola-t10-eu3035.vtk | 3.5 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.52° | 0.23 % | 4.10 % | 0.00782° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 14 | 21 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999894849297135 m | 20 | 10426 | 0 | 26186 | 0 | 15573 | 5291 | 245 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.002 | 0.0 % | +| decode | 0.493 | 1.7 % | +| features read | 19.857 | 68.3 % | +| features clip | 8.492 | 29.2 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.013 | 0.0 % | +| start mesh: triangulate | 0.004 | 0.0 % | +| start mesh: constraint edges | 0.012 | 0.0 % | +| refine | 0.043 | 0.1 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.016 | 0.1 % | +| refine: scan (parallel) | 0.016 | 0.1 % | +| refine: split + flip (serial) | 0.005 | 0.0 % | +| refine: setup + output | 0.006 | 0.0 % | +| trim | 0.002 | 0.0 % | +| write: encode | 0.139 | 0.5 % | +| write: disk | 0.001 | 0.0 % | +| other | 0.007 | 0.0 % | +| **total** | **29.066** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.011 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-r3.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-r3.md new file mode 100644 index 00000000..0bd405d3 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-r3.md @@ -0,0 +1,75 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t10-eu3035.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-r3.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 5642 | +| start triangles | 11169 | +| output vertices | 31641 | +| output triangles | 63020 | +| constraint edges | 5958 | +| vertices without data dropped | 0 | +| ola-t10-eu3035.vtk | 3.5 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.52° | 0.23 % | 4.10 % | 0.00782° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 14 | 21 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999894849297135 m | 20 | 10426 | 0 | 26186 | 0 | 15573 | 5291 | 245 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.0 % | +| decode | 0.485 | 1.7 % | +| features read | 19.077 | 67.6 % | +| features clip | 8.441 | 29.9 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.013 | 0.0 % | +| start mesh: triangulate | 0.004 | 0.0 % | +| start mesh: constraint edges | 0.012 | 0.0 % | +| refine | 0.044 | 0.2 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.016 | 0.1 % | +| refine: scan (parallel) | 0.016 | 0.1 % | +| refine: split + flip (serial) | 0.005 | 0.0 % | +| refine: setup + output | 0.006 | 0.0 % | +| trim | 0.002 | 0.0 % | +| write: encode | 0.140 | 0.5 % | +| write: disk | 0.001 | 0.0 % | +| other | 0.007 | 0.0 % | +| **total** | **28.229** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.012 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-no25833-r1.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-no25833-r1.md new file mode 100644 index 00000000..c5024d57 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-no25833-r1.md @@ -0,0 +1,75 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine2018_dtm10_utm33.gpkg --features-layer corine2018 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t10-no25833.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-no25833-r1.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 5642 | +| start triangles | 11169 | +| output vertices | 31641 | +| output triangles | 63020 | +| constraint edges | 5958 | +| vertices without data dropped | 0 | +| ola-t10-no25833.vtk | 3.5 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.52° | 0.23 % | 4.10 % | 0.00782° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 14 | 21 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999894849297135 m | 20 | 10426 | 0 | 26186 | 0 | 15573 | 5291 | 245 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.004 | 0.1 % | +| decode | 0.699 | 22.7 % | +| features read | 0.875 | 28.4 % | +| features clip | 1.286 | 41.7 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.014 | 0.4 % | +| start mesh: triangulate | 0.004 | 0.1 % | +| start mesh: constraint edges | 0.012 | 0.4 % | +| refine | 0.042 | 1.3 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.016 | 0.5 % | +| refine: scan (parallel) | 0.013 | 0.4 % | +| refine: split + flip (serial) | 0.005 | 0.2 % | +| refine: setup + output | 0.006 | 0.2 % | +| trim | 0.002 | 0.1 % | +| write: encode | 0.142 | 4.6 % | +| write: disk | 0.001 | 0.0 % | +| other | 0.005 | 0.1 % | +| **total** | **3.086** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.012 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-no25833-r2.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-no25833-r2.md new file mode 100644 index 00000000..70b4c16e --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-no25833-r2.md @@ -0,0 +1,75 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine2018_dtm10_utm33.gpkg --features-layer corine2018 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t10-no25833.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-no25833-r2.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 5642 | +| start triangles | 11169 | +| output vertices | 31641 | +| output triangles | 63020 | +| constraint edges | 5958 | +| vertices without data dropped | 0 | +| ola-t10-no25833.vtk | 3.5 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.52° | 0.23 % | 4.10 % | 0.00782° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 14 | 21 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999894849297135 m | 20 | 10426 | 0 | 26186 | 0 | 15573 | 5291 | 245 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.004 | 0.1 % | +| decode | 0.718 | 22.5 % | +| features read | 0.941 | 29.5 % | +| features clip | 1.303 | 40.9 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.013 | 0.4 % | +| start mesh: triangulate | 0.004 | 0.1 % | +| start mesh: constraint edges | 0.012 | 0.4 % | +| refine | 0.041 | 1.3 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.017 | 0.5 % | +| refine: scan (parallel) | 0.013 | 0.4 % | +| refine: split + flip (serial) | 0.005 | 0.2 % | +| refine: setup + output | 0.006 | 0.2 % | +| trim | 0.003 | 0.1 % | +| write: encode | 0.141 | 4.4 % | +| write: disk | 0.001 | 0.0 % | +| other | 0.004 | 0.1 % | +| **total** | **3.186** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.011 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-no25833-r3.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-no25833-r3.md new file mode 100644 index 00000000..91bc88a9 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-no25833-r3.md @@ -0,0 +1,75 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine2018_dtm10_utm33.gpkg --features-layer corine2018 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t10-no25833.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-no25833-r3.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 5642 | +| start triangles | 11169 | +| output vertices | 31641 | +| output triangles | 63020 | +| constraint edges | 5958 | +| vertices without data dropped | 0 | +| ola-t10-no25833.vtk | 3.5 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.52° | 0.23 % | 4.10 % | 0.00782° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 14 | 21 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999894849297135 m | 20 | 10426 | 0 | 26186 | 0 | 15573 | 5291 | 245 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.004 | 0.1 % | +| decode | 0.687 | 22.4 % | +| features read | 0.869 | 28.3 % | +| features clip | 1.291 | 42.0 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.013 | 0.4 % | +| start mesh: triangulate | 0.004 | 0.1 % | +| start mesh: constraint edges | 0.012 | 0.4 % | +| refine | 0.043 | 1.4 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.018 | 0.6 % | +| refine: scan (parallel) | 0.013 | 0.4 % | +| refine: split + flip (serial) | 0.005 | 0.2 % | +| refine: setup + output | 0.006 | 0.2 % | +| trim | 0.002 | 0.1 % | +| write: encode | 0.141 | 4.6 % | +| write: disk | 0.001 | 0.0 % | +| other | 0.005 | 0.1 % | +| **total** | **3.072** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.012 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-none-r1.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-none-r1.md new file mode 100644 index 00000000..0f145f82 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-none-r1.md @@ -0,0 +1,73 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t10-none.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-none-r1.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 48 | +| start triangles | 46 | +| output vertices | 15292 | +| output triangles | 30366 | +| constraint edges | 216 | +| vertices without data dropped | 0 | +| ola-t10-none.vtk | 1.5 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 34.08° | 0.14 % | 2.02 % | 0.0188° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 12 | 1 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999269956118098 m | 31 | 15207 | 0 | 40976 | 0 | 37 | 0 | 168 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.2 % | +| decode | 0.485 | 83.1 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.000 | 0.0 % | +| start mesh: triangulate | 0.000 | 0.0 % | +| start mesh: constraint edges | 0.000 | 0.0 % | +| refine | 0.044 | 7.6 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 0.036 | 6.2 % | +| refine: split + flip (serial) | 0.007 | 1.1 % | +| refine: setup + output | 0.001 | 0.2 % | +| trim | 0.001 | 0.2 % | +| write: encode | 0.049 | 8.4 % | +| write: disk | 0.000 | 0.1 % | +| other | 0.003 | 0.5 % | +| **total** | **0.584** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.006 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-none-r2.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-none-r2.md new file mode 100644 index 00000000..3d2a61d2 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-none-r2.md @@ -0,0 +1,73 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t10-none.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-none-r2.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 48 | +| start triangles | 46 | +| output vertices | 15292 | +| output triangles | 30366 | +| constraint edges | 216 | +| vertices without data dropped | 0 | +| ola-t10-none.vtk | 1.5 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 34.08° | 0.14 % | 2.02 % | 0.0188° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 12 | 1 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999269956118098 m | 31 | 15207 | 0 | 40976 | 0 | 37 | 0 | 168 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.2 % | +| decode | 0.503 | 83.3 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.000 | 0.0 % | +| start mesh: triangulate | 0.000 | 0.0 % | +| start mesh: constraint edges | 0.000 | 0.0 % | +| refine | 0.047 | 7.8 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 0.039 | 6.5 % | +| refine: split + flip (serial) | 0.007 | 1.1 % | +| refine: setup + output | 0.001 | 0.2 % | +| trim | 0.001 | 0.2 % | +| write: encode | 0.048 | 7.9 % | +| write: disk | 0.000 | 0.1 % | +| other | 0.003 | 0.5 % | +| **total** | **0.603** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.006 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-none-r3.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-none-r3.md new file mode 100644 index 00000000..7f8c788a --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-none-r3.md @@ -0,0 +1,73 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t10-none.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-none-r3.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 48 | +| start triangles | 46 | +| output vertices | 15292 | +| output triangles | 30366 | +| constraint edges | 216 | +| vertices without data dropped | 0 | +| ola-t10-none.vtk | 1.5 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 34.08° | 0.14 % | 2.02 % | 0.0188° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 12 | 1 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999269956118098 m | 31 | 15207 | 0 | 40976 | 0 | 37 | 0 | 168 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.2 % | +| decode | 0.487 | 83.3 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.000 | 0.0 % | +| start mesh: triangulate | 0.000 | 0.0 % | +| start mesh: constraint edges | 0.000 | 0.0 % | +| refine | 0.044 | 7.6 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 0.036 | 6.2 % | +| refine: split + flip (serial) | 0.007 | 1.2 % | +| refine: setup + output | 0.001 | 0.2 % | +| trim | 0.001 | 0.2 % | +| write: encode | 0.048 | 8.1 % | +| write: disk | 0.000 | 0.1 % | +| other | 0.003 | 0.5 % | +| **total** | **0.585** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.006 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-corine-r1.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-corine-r1.md new file mode 100644 index 00000000..da06e341 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-corine-r1.md @@ -0,0 +1,66 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 1 --features tests/fixtures/corine/clc2018_7908_3.gpkg --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/qc-t1-corine.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-corine-r1.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 3001 × 3001 (10 m) | +| domain vertices | 536 (1 ring, 0 holes) | +| start vertices | 5627 | +| start triangles | 10679 | +| output vertices | 221480 | +| output triangles | 441855 | +| constraint edges | 9345 | +| vertices without data dropped | 0 | +| qc-t1-corine.vtk | 24.4 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 45.00° | 0.08 % | 2.07 % | 0.0395° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 10 | 28 | 746 | 6 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 0.9999987363815306 m | 22 | 204483 | 0 | 404582 | 0 | 11370 | 1326 | 3134 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.002 | 0.1 % | +| decode | 0.091 | 6.5 % | +| features read | 0.020 | 1.4 % | +| features clip | 0.039 | 2.8 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.013 | 0.9 % | +| start mesh: triangulate | 0.004 | 0.3 % | +| start mesh: constraint edges | 0.011 | 0.8 % | +| refine | 0.197 | 14.1 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.011 | 0.8 % | +| refine: scan (parallel) | 0.040 | 2.8 % | +| refine: split + flip (serial) | 0.125 | 8.9 % | +| refine: setup + output | 0.021 | 1.5 % | +| trim | 0.018 | 1.3 % | +| write: encode | 0.990 | 70.9 % | +| write: disk | 0.004 | 0.3 % | +| other | 0.006 | 0.4 % | +| **total** | **1.395** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.077 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-corine-r2.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-corine-r2.md new file mode 100644 index 00000000..84a96265 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-corine-r2.md @@ -0,0 +1,66 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 1 --features tests/fixtures/corine/clc2018_7908_3.gpkg --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/qc-t1-corine.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-corine-r2.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 3001 × 3001 (10 m) | +| domain vertices | 536 (1 ring, 0 holes) | +| start vertices | 5627 | +| start triangles | 10679 | +| output vertices | 221480 | +| output triangles | 441855 | +| constraint edges | 9345 | +| vertices without data dropped | 0 | +| qc-t1-corine.vtk | 24.4 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 45.00° | 0.08 % | 2.07 % | 0.0395° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 10 | 28 | 746 | 6 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 0.9999987363815306 m | 22 | 204483 | 0 | 404582 | 0 | 11370 | 1326 | 3134 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.002 | 0.1 % | +| decode | 0.075 | 5.7 % | +| features read | 0.007 | 0.5 % | +| features clip | 0.037 | 2.8 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.013 | 1.0 % | +| start mesh: triangulate | 0.004 | 0.3 % | +| start mesh: constraint edges | 0.011 | 0.9 % | +| refine | 0.189 | 14.1 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.011 | 0.9 % | +| refine: scan (parallel) | 0.035 | 2.6 % | +| refine: split + flip (serial) | 0.122 | 9.2 % | +| refine: setup + output | 0.019 | 1.5 % | +| trim | 0.017 | 1.2 % | +| write: encode | 0.967 | 72.6 % | +| write: disk | 0.005 | 0.4 % | +| other | 0.006 | 0.4 % | +| **total** | **1.333** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.076 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-corine-r3.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-corine-r3.md new file mode 100644 index 00000000..6e7e13b4 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-corine-r3.md @@ -0,0 +1,66 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 1 --features tests/fixtures/corine/clc2018_7908_3.gpkg --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/qc-t1-corine.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-corine-r3.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 3001 × 3001 (10 m) | +| domain vertices | 536 (1 ring, 0 holes) | +| start vertices | 5627 | +| start triangles | 10679 | +| output vertices | 221480 | +| output triangles | 441855 | +| constraint edges | 9345 | +| vertices without data dropped | 0 | +| qc-t1-corine.vtk | 24.4 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 45.00° | 0.08 % | 2.07 % | 0.0395° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 10 | 28 | 746 | 6 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 0.9999987363815306 m | 22 | 204483 | 0 | 404582 | 0 | 11370 | 1326 | 3134 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.002 | 0.1 % | +| decode | 0.067 | 5.0 % | +| features read | 0.007 | 0.6 % | +| features clip | 0.038 | 2.8 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.013 | 1.0 % | +| start mesh: triangulate | 0.004 | 0.3 % | +| start mesh: constraint edges | 0.011 | 0.9 % | +| refine | 0.187 | 14.0 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.012 | 0.9 % | +| refine: scan (parallel) | 0.036 | 2.7 % | +| refine: split + flip (serial) | 0.120 | 8.9 % | +| refine: setup + output | 0.020 | 1.5 % | +| trim | 0.017 | 1.3 % | +| write: encode | 0.981 | 73.3 % | +| write: disk | 0.005 | 0.4 % | +| other | 0.006 | 0.5 % | +| **total** | **1.339** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.079 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-none-r1.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-none-r1.md new file mode 100644 index 00000000..bfd54dd8 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-none-r1.md @@ -0,0 +1,64 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 1 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/qc-t1-none.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-none-r1.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 3001 × 3001 (10 m) | +| domain vertices | 536 (1 ring, 0 holes) | +| start vertices | 536 | +| start triangles | 534 | +| output vertices | 214644 | +| output triangles | 428217 | +| constraint edges | 1069 | +| vertices without data dropped | 0 | +| qc-t1-none.vtk | 21.8 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 45.00° | 0.00 % | 0.82 % | 0.396° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 18 | 184 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 0.9999796549479072 m | 41 | 213464 | 0 | 445657 | 0 | 644 | 0 | 6 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.011 | 1.0 % | +| decode | 0.109 | 10.6 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.001 | 0.1 % | +| start mesh: triangulate | 0.000 | 0.0 % | +| start mesh: constraint edges | 0.001 | 0.1 % | +| refine | 0.169 | 16.3 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.001 | 0.1 % | +| refine: scan (parallel) | 0.047 | 4.5 % | +| refine: split + flip (serial) | 0.101 | 9.8 % | +| refine: setup + output | 0.020 | 2.0 % | +| trim | 0.022 | 2.1 % | +| write: encode | 0.708 | 68.5 % | +| write: disk | 0.007 | 0.7 % | +| other | 0.006 | 0.6 % | +| **total** | **1.034** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.085 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-none-r2.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-none-r2.md new file mode 100644 index 00000000..01c6d45c --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-none-r2.md @@ -0,0 +1,64 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 1 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/qc-t1-none.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-none-r2.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 3001 × 3001 (10 m) | +| domain vertices | 536 (1 ring, 0 holes) | +| start vertices | 536 | +| start triangles | 534 | +| output vertices | 214644 | +| output triangles | 428217 | +| constraint edges | 1069 | +| vertices without data dropped | 0 | +| qc-t1-none.vtk | 21.8 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 45.00° | 0.00 % | 0.82 % | 0.396° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 18 | 184 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 0.9999796549479072 m | 41 | 213464 | 0 | 445657 | 0 | 644 | 0 | 6 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.002 | 0.2 % | +| decode | 0.068 | 7.0 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.000 | 0.1 % | +| start mesh: triangulate | 0.000 | 0.0 % | +| start mesh: constraint edges | 0.001 | 0.1 % | +| refine | 0.165 | 16.9 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.001 | 0.1 % | +| refine: scan (parallel) | 0.047 | 4.8 % | +| refine: split + flip (serial) | 0.098 | 10.1 % | +| refine: setup + output | 0.019 | 1.9 % | +| trim | 0.016 | 1.6 % | +| write: encode | 0.704 | 72.4 % | +| write: disk | 0.012 | 1.3 % | +| other | 0.003 | 0.3 % | +| **total** | **0.973** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.073 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-none-r3.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-none-r3.md new file mode 100644 index 00000000..95d0971b --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-none-r3.md @@ -0,0 +1,64 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 1 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/qc-t1-none.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t1-none-r3.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 3001 × 3001 (10 m) | +| domain vertices | 536 (1 ring, 0 holes) | +| start vertices | 536 | +| start triangles | 534 | +| output vertices | 214644 | +| output triangles | 428217 | +| constraint edges | 1069 | +| vertices without data dropped | 0 | +| qc-t1-none.vtk | 21.8 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 45.00° | 0.00 % | 0.82 % | 0.396° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 18 | 184 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 0.9999796549479072 m | 41 | 213464 | 0 | 445657 | 0 | 644 | 0 | 6 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.002 | 0.2 % | +| decode | 0.067 | 7.0 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.001 | 0.1 % | +| start mesh: triangulate | 0.000 | 0.0 % | +| start mesh: constraint edges | 0.001 | 0.1 % | +| refine | 0.166 | 17.2 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.001 | 0.1 % | +| refine: scan (parallel) | 0.048 | 5.0 % | +| refine: split + flip (serial) | 0.099 | 10.3 % | +| refine: setup + output | 0.018 | 1.9 % | +| trim | 0.016 | 1.6 % | +| write: encode | 0.706 | 73.1 % | +| write: disk | 0.004 | 0.4 % | +| other | 0.003 | 0.3 % | +| **total** | **0.966** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.072 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-corine-r1.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-corine-r1.md new file mode 100644 index 00000000..94c040b4 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-corine-r1.md @@ -0,0 +1,66 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 10 --features tests/fixtures/corine/clc2018_7908_3.gpkg --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/qc-t10-corine.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-corine-r1.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 3001 × 3001 (10 m) | +| domain vertices | 536 (1 ring, 0 holes) | +| start vertices | 5627 | +| start triangles | 10679 | +| output vertices | 27738 | +| output triangles | 54840 | +| constraint edges | 6035 | +| vertices without data dropped | 0 | +| qc-t10-corine.vtk | 2.9 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.87° | 0.04 % | 1.48 % | 0.0395° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 16 | 6 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.99795150756836 m | 14 | 10741 | 0 | 22907 | 0 | 11370 | 1326 | 287 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.002 | 0.6 % | +| decode | 0.077 | 23.4 % | +| features read | 0.007 | 2.1 % | +| features clip | 0.037 | 11.3 % | +| start mesh: build | 0.000 | 0.1 % | +| start mesh: node | 0.014 | 4.1 % | +| start mesh: triangulate | 0.004 | 1.3 % | +| start mesh: constraint edges | 0.011 | 3.5 % | +| refine | 0.033 | 10.1 % | +| refine: legalise start | 0.000 | 0.1 % | +| refine: start quality | 0.011 | 3.5 % | +| refine: scan (parallel) | 0.010 | 3.0 % | +| refine: split + flip (serial) | 0.006 | 1.7 % | +| refine: setup + output | 0.006 | 1.8 % | +| trim | 0.002 | 0.6 % | +| write: encode | 0.129 | 39.2 % | +| write: disk | 0.006 | 1.8 % | +| other | 0.006 | 1.9 % | +| **total** | **0.329** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.011 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-corine-r2.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-corine-r2.md new file mode 100644 index 00000000..250e24ff --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-corine-r2.md @@ -0,0 +1,66 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 10 --features tests/fixtures/corine/clc2018_7908_3.gpkg --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/qc-t10-corine.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-corine-r2.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 3001 × 3001 (10 m) | +| domain vertices | 536 (1 ring, 0 holes) | +| start vertices | 5627 | +| start triangles | 10679 | +| output vertices | 27738 | +| output triangles | 54840 | +| constraint edges | 6035 | +| vertices without data dropped | 0 | +| qc-t10-corine.vtk | 2.9 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.87° | 0.04 % | 1.48 % | 0.0395° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 16 | 6 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.99795150756836 m | 14 | 10741 | 0 | 22907 | 0 | 11370 | 1326 | 287 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.002 | 0.6 % | +| decode | 0.068 | 21.8 % | +| features read | 0.007 | 2.2 % | +| features clip | 0.036 | 11.7 % | +| start mesh: build | 0.000 | 0.1 % | +| start mesh: node | 0.013 | 4.2 % | +| start mesh: triangulate | 0.004 | 1.3 % | +| start mesh: constraint edges | 0.011 | 3.6 % | +| refine | 0.033 | 10.7 % | +| refine: legalise start | 0.000 | 0.1 % | +| refine: start quality | 0.011 | 3.7 % | +| refine: scan (parallel) | 0.010 | 3.2 % | +| refine: split + flip (serial) | 0.006 | 1.8 % | +| refine: setup + output | 0.006 | 1.8 % | +| trim | 0.002 | 0.7 % | +| write: encode | 0.125 | 40.2 % | +| write: disk | 0.002 | 0.7 % | +| other | 0.007 | 2.2 % | +| **total** | **0.311** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.010 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-corine-r3.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-corine-r3.md new file mode 100644 index 00000000..c4f215aa --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-corine-r3.md @@ -0,0 +1,66 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 10 --features tests/fixtures/corine/clc2018_7908_3.gpkg --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/qc-t10-corine.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-corine-r3.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 3001 × 3001 (10 m) | +| domain vertices | 536 (1 ring, 0 holes) | +| start vertices | 5627 | +| start triangles | 10679 | +| output vertices | 27738 | +| output triangles | 54840 | +| constraint edges | 6035 | +| vertices without data dropped | 0 | +| qc-t10-corine.vtk | 2.9 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.87° | 0.04 % | 1.48 % | 0.0395° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 16 | 6 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.99795150756836 m | 14 | 10741 | 0 | 22907 | 0 | 11370 | 1326 | 287 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.002 | 0.6 % | +| decode | 0.070 | 22.3 % | +| features read | 0.007 | 2.2 % | +| features clip | 0.037 | 11.8 % | +| start mesh: build | 0.000 | 0.1 % | +| start mesh: node | 0.014 | 4.4 % | +| start mesh: triangulate | 0.004 | 1.3 % | +| start mesh: constraint edges | 0.012 | 3.7 % | +| refine | 0.032 | 10.4 % | +| refine: legalise start | 0.000 | 0.1 % | +| refine: start quality | 0.012 | 3.7 % | +| refine: scan (parallel) | 0.010 | 3.1 % | +| refine: split + flip (serial) | 0.005 | 1.6 % | +| refine: setup + output | 0.006 | 1.8 % | +| trim | 0.002 | 0.7 % | +| write: encode | 0.126 | 40.4 % | +| write: disk | 0.001 | 0.2 % | +| other | 0.006 | 1.8 % | +| **total** | **0.313** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.010 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-none-r1.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-none-r1.md new file mode 100644 index 00000000..b63f1410 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-none-r1.md @@ -0,0 +1,64 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 10 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/qc-t10-none.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-none-r1.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 3001 × 3001 (10 m) | +| domain vertices | 536 (1 ring, 0 holes) | +| start vertices | 536 | +| start triangles | 534 | +| output vertices | 16088 | +| output triangles | 31581 | +| constraint edges | 593 | +| vertices without data dropped | 0 | +| qc-t10-none.vtk | 1.5 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 33.69° | 0.01 % | 2.54 % | 0.287° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 10 | 16 | 26 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.998682022094727 m | 27 | 14908 | 0 | 35522 | 0 | 644 | 0 | 0 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.002 | 1.0 % | +| decode | 0.078 | 46.6 % | +| start mesh: build | 0.000 | 0.1 % | +| start mesh: node | 0.000 | 0.3 % | +| start mesh: triangulate | 0.000 | 0.3 % | +| start mesh: constraint edges | 0.001 | 0.4 % | +| refine | 0.026 | 15.7 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.001 | 0.6 % | +| refine: scan (parallel) | 0.018 | 10.6 % | +| refine: split + flip (serial) | 0.006 | 3.6 % | +| refine: setup + output | 0.002 | 1.0 % | +| trim | 0.001 | 0.7 % | +| write: encode | 0.053 | 31.8 % | +| write: disk | 0.002 | 1.2 % | +| other | 0.003 | 1.9 % | +| **total** | **0.167** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.006 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-none-r2.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-none-r2.md new file mode 100644 index 00000000..4b371a43 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-none-r2.md @@ -0,0 +1,64 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 10 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/qc-t10-none.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-none-r2.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 3001 × 3001 (10 m) | +| domain vertices | 536 (1 ring, 0 holes) | +| start vertices | 536 | +| start triangles | 534 | +| output vertices | 16088 | +| output triangles | 31581 | +| constraint edges | 593 | +| vertices without data dropped | 0 | +| qc-t10-none.vtk | 1.5 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 33.69° | 0.01 % | 2.54 % | 0.287° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 10 | 16 | 26 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.998682022094727 m | 27 | 14908 | 0 | 35522 | 0 | 644 | 0 | 0 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.002 | 1.1 % | +| decode | 0.068 | 43.9 % | +| start mesh: build | 0.000 | 0.1 % | +| start mesh: node | 0.000 | 0.3 % | +| start mesh: triangulate | 0.000 | 0.3 % | +| start mesh: constraint edges | 0.001 | 0.4 % | +| refine | 0.025 | 16.3 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.001 | 0.6 % | +| refine: scan (parallel) | 0.017 | 11.0 % | +| refine: split + flip (serial) | 0.006 | 3.8 % | +| refine: setup + output | 0.001 | 0.9 % | +| trim | 0.001 | 0.8 % | +| write: encode | 0.052 | 33.7 % | +| write: disk | 0.002 | 1.1 % | +| other | 0.003 | 2.0 % | +| **total** | **0.155** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.006 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-none-r3.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-none-r3.md new file mode 100644 index 00000000..4b8a680d --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-none-r3.md @@ -0,0 +1,64 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem tests/fixtures/dem_archive/7908_3_10m_z33.tif --domain docs/benchmarks/2026-09-26/quarter.geojson --tolerance 10 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/qc-t10-none.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/qc-t10-none-r3.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 3001 × 3001 (10 m) | +| domain vertices | 536 (1 ring, 0 holes) | +| start vertices | 536 | +| start triangles | 534 | +| output vertices | 16088 | +| output triangles | 31581 | +| constraint edges | 593 | +| vertices without data dropped | 0 | +| qc-t10-none.vtk | 1.5 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 33.69° | 0.01 % | 2.54 % | 0.287° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 10 | 16 | 26 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.998682022094727 m | 27 | 14908 | 0 | 35522 | 0 | 644 | 0 | 0 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.002 | 1.2 % | +| decode | 0.069 | 44.2 % | +| start mesh: build | 0.000 | 0.1 % | +| start mesh: node | 0.001 | 0.4 % | +| start mesh: triangulate | 0.000 | 0.3 % | +| start mesh: constraint edges | 0.001 | 0.4 % | +| refine | 0.024 | 15.6 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.001 | 0.6 % | +| refine: scan (parallel) | 0.016 | 10.3 % | +| refine: split + flip (serial) | 0.006 | 3.8 % | +| refine: setup + output | 0.001 | 0.8 % | +| trim | 0.001 | 0.8 % | +| write: encode | 0.053 | 34.0 % | +| write: disk | 0.002 | 1.2 % | +| other | 0.003 | 2.0 % | +| **total** | **0.155** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.006 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q0-r1.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q0-r1.md new file mode 100644 index 00000000..773f31d4 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q0-r1.md @@ -0,0 +1,66 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --start-min-angle 0 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t1-eu-q0.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q0-r1.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 51395 | +| start triangles | 102627 | +| output vertices | 3329882 | +| output triangles | 6655874 | +| constraint edges | 87501 | +| vertices without data dropped | 0 | +| sq-t1-eu-q0.vtk | 393.5 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.87° | 0.04 % | 1.01 % | 0.0306° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 23 | 3479 | 12 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 38 | 3278487 | 0 | 7689701 | 0 | 0 | 0 | 31986 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.005 | 0.0 % | +| decode | 0.138 | 0.3 % | +| features read | 18.663 | 38.4 % | +| features clip | 8.562 | 17.6 % | +| start mesh: build | 0.002 | 0.0 % | +| start mesh: node | 0.148 | 0.3 % | +| start mesh: triangulate | 0.044 | 0.1 % | +| start mesh: constraint edges | 0.112 | 0.2 % | +| refine | 5.449 | 11.2 % | +| refine: legalise start | 0.003 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 1.159 | 2.4 % | +| refine: split + flip (serial) | 3.884 | 8.0 % | +| refine: setup + output | 0.403 | 0.8 % | +| trim | 0.285 | 0.6 % | +| write: encode | 14.963 | 30.8 % | +| write: disk | 0.212 | 0.4 % | +| other | 0.021 | 0.0 % | +| **total** | **48.603** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 1.420 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q0-r2.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q0-r2.md new file mode 100644 index 00000000..bcb2da8c --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q0-r2.md @@ -0,0 +1,66 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --start-min-angle 0 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t1-eu-q0.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q0-r2.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 51395 | +| start triangles | 102627 | +| output vertices | 3329882 | +| output triangles | 6655874 | +| constraint edges | 87501 | +| vertices without data dropped | 0 | +| sq-t1-eu-q0.vtk | 393.5 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.87° | 0.04 % | 1.01 % | 0.0306° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 23 | 3479 | 12 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 38 | 3278487 | 0 | 7689701 | 0 | 0 | 0 | 31986 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.005 | 0.0 % | +| decode | 0.135 | 0.3 % | +| features read | 18.415 | 38.4 % | +| features clip | 8.516 | 17.8 % | +| start mesh: build | 0.002 | 0.0 % | +| start mesh: node | 0.148 | 0.3 % | +| start mesh: triangulate | 0.044 | 0.1 % | +| start mesh: constraint edges | 0.110 | 0.2 % | +| refine | 5.174 | 10.8 % | +| refine: legalise start | 0.003 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 1.022 | 2.1 % | +| refine: split + flip (serial) | 3.748 | 7.8 % | +| refine: setup + output | 0.401 | 0.8 % | +| trim | 0.301 | 0.6 % | +| write: encode | 14.973 | 31.3 % | +| write: disk | 0.063 | 0.1 % | +| other | 0.018 | 0.0 % | +| **total** | **47.905** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 1.500 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q0-r3.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q0-r3.md new file mode 100644 index 00000000..9c796fa1 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q0-r3.md @@ -0,0 +1,66 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --start-min-angle 0 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t1-eu-q0.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q0-r3.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 51395 | +| start triangles | 102627 | +| output vertices | 3329882 | +| output triangles | 6655874 | +| constraint edges | 87501 | +| vertices without data dropped | 0 | +| sq-t1-eu-q0.vtk | 393.5 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.87° | 0.04 % | 1.01 % | 0.0306° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 23 | 3479 | 12 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 38 | 3278487 | 0 | 7689701 | 0 | 0 | 0 | 31986 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.005 | 0.0 % | +| decode | 0.141 | 0.3 % | +| features read | 17.345 | 36.7 % | +| features clip | 8.584 | 18.2 % | +| start mesh: build | 0.002 | 0.0 % | +| start mesh: node | 0.164 | 0.3 % | +| start mesh: triangulate | 0.047 | 0.1 % | +| start mesh: constraint edges | 0.117 | 0.2 % | +| refine | 5.501 | 11.7 % | +| refine: legalise start | 0.003 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 1.034 | 2.2 % | +| refine: split + flip (serial) | 4.064 | 8.6 % | +| refine: setup + output | 0.400 | 0.8 % | +| trim | 0.309 | 0.7 % | +| write: encode | 14.916 | 31.6 % | +| write: disk | 0.055 | 0.1 % | +| other | 0.023 | 0.0 % | +| **total** | **47.208** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 1.448 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-r1.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-r1.md new file mode 100644 index 00000000..e2ad36e0 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-r1.md @@ -0,0 +1,66 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t1-eu-q25.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-r1.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 51395 | +| start triangles | 102627 | +| output vertices | 3378505 | +| output triangles | 6753084 | +| constraint edges | 85862 | +| vertices without data dropped | 0 | +| sq-t1-eu-q25.vtk | 399.2 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.87° | 0.03 % | 0.98 % | 0.00081° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 23 | 3657 | 15 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 30 | 3172537 | 0 | 7127927 | 0 | 154573 | 51555 | 30311 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.002 | 0.0 % | +| decode | 0.142 | 0.3 % | +| features read | 20.190 | 39.1 % | +| features clip | 8.845 | 17.1 % | +| start mesh: build | 0.003 | 0.0 % | +| start mesh: node | 0.156 | 0.3 % | +| start mesh: triangulate | 0.048 | 0.1 % | +| start mesh: constraint edges | 0.118 | 0.2 % | +| refine | 6.156 | 11.9 % | +| refine: legalise start | 0.003 | 0.0 % | +| refine: start quality | 0.221 | 0.4 % | +| refine: scan (parallel) | 1.083 | 2.1 % | +| refine: split + flip (serial) | 4.440 | 8.6 % | +| refine: setup + output | 0.410 | 0.8 % | +| trim | 0.324 | 0.6 % | +| write: encode | 15.423 | 29.9 % | +| write: disk | 0.218 | 0.4 % | +| other | 0.021 | 0.0 % | +| **total** | **51.645** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 1.543 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-r2.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-r2.md new file mode 100644 index 00000000..75ab3600 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-r2.md @@ -0,0 +1,66 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t1-eu-q25.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-r2.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 51395 | +| start triangles | 102627 | +| output vertices | 3378505 | +| output triangles | 6753084 | +| constraint edges | 85862 | +| vertices without data dropped | 0 | +| sq-t1-eu-q25.vtk | 399.2 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.87° | 0.03 % | 0.98 % | 0.00081° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 23 | 3657 | 15 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 30 | 3172537 | 0 | 7127927 | 0 | 154573 | 51555 | 30311 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.0 % | +| decode | 0.134 | 0.3 % | +| features read | 17.165 | 35.8 % | +| features clip | 8.621 | 18.0 % | +| start mesh: build | 0.002 | 0.0 % | +| start mesh: node | 0.150 | 0.3 % | +| start mesh: triangulate | 0.046 | 0.1 % | +| start mesh: constraint edges | 0.114 | 0.2 % | +| refine | 5.867 | 12.2 % | +| refine: legalise start | 0.003 | 0.0 % | +| refine: start quality | 0.209 | 0.4 % | +| refine: scan (parallel) | 0.997 | 2.1 % | +| refine: split + flip (serial) | 4.267 | 8.9 % | +| refine: setup + output | 0.392 | 0.8 % | +| trim | 0.324 | 0.7 % | +| write: encode | 15.413 | 32.2 % | +| write: disk | 0.058 | 0.1 % | +| other | 0.018 | 0.0 % | +| **total** | **47.914** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 1.540 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-r3.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-r3.md new file mode 100644 index 00000000..0c76383a --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-r3.md @@ -0,0 +1,66 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t1-eu-q25.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-r3.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 51395 | +| start triangles | 102627 | +| output vertices | 3378505 | +| output triangles | 6753084 | +| constraint edges | 85862 | +| vertices without data dropped | 0 | +| sq-t1-eu-q25.vtk | 399.2 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.87° | 0.03 % | 0.98 % | 0.00081° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 23 | 3657 | 15 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 30 | 3172537 | 0 | 7127927 | 0 | 154573 | 51555 | 30311 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.0 % | +| decode | 0.132 | 0.3 % | +| features read | 17.715 | 36.9 % | +| features clip | 8.633 | 18.0 % | +| start mesh: build | 0.002 | 0.0 % | +| start mesh: node | 0.150 | 0.3 % | +| start mesh: triangulate | 0.045 | 0.1 % | +| start mesh: constraint edges | 0.115 | 0.2 % | +| refine | 5.582 | 11.6 % | +| refine: legalise start | 0.003 | 0.0 % | +| refine: start quality | 0.209 | 0.4 % | +| refine: scan (parallel) | 0.935 | 1.9 % | +| refine: split + flip (serial) | 4.051 | 8.4 % | +| refine: setup + output | 0.384 | 0.8 % | +| trim | 0.307 | 0.6 % | +| write: encode | 15.206 | 31.7 % | +| write: disk | 0.061 | 0.1 % | +| other | 0.019 | 0.0 % | +| **total** | **47.967** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 1.530 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q0-r1.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q0-r1.md new file mode 100644 index 00000000..feedc171 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q0-r1.md @@ -0,0 +1,64 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --start-min-angle 0 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t1-none-q0.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q0-r1.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 4 | +| start triangles | 2 | +| output vertices | 3292586 | +| output triangles | 6581348 | +| constraint edges | 3822 | +| vertices without data dropped | 0 | +| sq-t1-none-q0.vtk | 359.9 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.87° | 0.00 % | 0.29 % | 0.217° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 17 | 527 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 61 | 3292582 | 0 | 7657458 | 0 | 0 | 0 | 0 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.0 % | +| decode | 0.140 | 0.8 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.000 | 0.0 % | +| start mesh: triangulate | 0.000 | 0.0 % | +| start mesh: constraint edges | 0.000 | 0.0 % | +| refine | 4.916 | 29.7 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 1.496 | 9.1 % | +| refine: split + flip (serial) | 3.089 | 18.7 % | +| refine: setup + output | 0.331 | 2.0 % | +| trim | 0.288 | 1.7 % | +| write: encode | 10.986 | 66.5 % | +| write: disk | 0.195 | 1.2 % | +| other | 0.003 | 0.0 % | +| **total** | **16.531** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 1.431 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q0-r2.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q0-r2.md new file mode 100644 index 00000000..0cb5298c --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q0-r2.md @@ -0,0 +1,64 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --start-min-angle 0 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t1-none-q0.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q0-r2.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 4 | +| start triangles | 2 | +| output vertices | 3292586 | +| output triangles | 6581348 | +| constraint edges | 3822 | +| vertices without data dropped | 0 | +| sq-t1-none-q0.vtk | 359.9 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.87° | 0.00 % | 0.29 % | 0.217° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 17 | 527 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 61 | 3292582 | 0 | 7657458 | 0 | 0 | 0 | 0 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.002 | 0.0 % | +| decode | 0.136 | 0.8 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.000 | 0.0 % | +| start mesh: triangulate | 0.000 | 0.0 % | +| start mesh: constraint edges | 0.000 | 0.0 % | +| refine | 5.081 | 30.6 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 1.494 | 9.0 % | +| refine: split + flip (serial) | 3.247 | 19.6 % | +| refine: setup + output | 0.340 | 2.1 % | +| trim | 0.275 | 1.7 % | +| write: encode | 10.896 | 65.7 % | +| write: disk | 0.199 | 1.2 % | +| other | 0.003 | 0.0 % | +| **total** | **16.593** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 1.437 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q0-r3.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q0-r3.md new file mode 100644 index 00000000..3d029e19 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q0-r3.md @@ -0,0 +1,64 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --start-min-angle 0 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t1-none-q0.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q0-r3.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 4 | +| start triangles | 2 | +| output vertices | 3292586 | +| output triangles | 6581348 | +| constraint edges | 3822 | +| vertices without data dropped | 0 | +| sq-t1-none-q0.vtk | 359.9 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.87° | 0.00 % | 0.29 % | 0.217° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 17 | 527 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 61 | 3292582 | 0 | 7657458 | 0 | 0 | 0 | 0 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.002 | 0.0 % | +| decode | 0.136 | 0.8 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.000 | 0.0 % | +| start mesh: triangulate | 0.000 | 0.0 % | +| start mesh: constraint edges | 0.000 | 0.0 % | +| refine | 5.073 | 30.6 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 1.478 | 8.9 % | +| refine: split + flip (serial) | 3.254 | 19.6 % | +| refine: setup + output | 0.340 | 2.1 % | +| trim | 0.275 | 1.7 % | +| write: encode | 11.060 | 66.6 % | +| write: disk | 0.051 | 0.3 % | +| other | 0.003 | 0.0 % | +| **total** | **16.600** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 1.406 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q25-r1.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q25-r1.md new file mode 100644 index 00000000..5c73873d --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q25-r1.md @@ -0,0 +1,64 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t1-none-q25.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q25-r1.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 4 | +| start triangles | 2 | +| output vertices | 3292586 | +| output triangles | 6581348 | +| constraint edges | 3822 | +| vertices without data dropped | 0 | +| sq-t1-none-q25.vtk | 359.9 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.87° | 0.00 % | 0.29 % | 0.217° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 17 | 527 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 61 | 3292582 | 0 | 7657458 | 0 | 0 | 0 | 0 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.004 | 0.0 % | +| decode | 0.175 | 1.0 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.000 | 0.0 % | +| start mesh: triangulate | 0.000 | 0.0 % | +| start mesh: constraint edges | 0.000 | 0.0 % | +| refine | 5.267 | 31.1 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 1.527 | 9.0 % | +| refine: split + flip (serial) | 3.390 | 20.0 % | +| refine: setup + output | 0.350 | 2.1 % | +| trim | 0.308 | 1.8 % | +| write: encode | 11.067 | 65.3 % | +| write: disk | 0.111 | 0.7 % | +| other | 0.003 | 0.0 % | +| **total** | **16.936** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 1.452 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q25-r2.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q25-r2.md new file mode 100644 index 00000000..0a779c8e --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q25-r2.md @@ -0,0 +1,64 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t1-none-q25.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q25-r2.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 4 | +| start triangles | 2 | +| output vertices | 3292586 | +| output triangles | 6581348 | +| constraint edges | 3822 | +| vertices without data dropped | 0 | +| sq-t1-none-q25.vtk | 359.9 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.87° | 0.00 % | 0.29 % | 0.217° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 17 | 527 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 61 | 3292582 | 0 | 7657458 | 0 | 0 | 0 | 0 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.006 | 0.0 % | +| decode | 0.215 | 1.2 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.000 | 0.0 % | +| start mesh: triangulate | 0.000 | 0.0 % | +| start mesh: constraint edges | 0.000 | 0.0 % | +| refine | 5.385 | 31.1 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 1.595 | 9.2 % | +| refine: split + flip (serial) | 3.438 | 19.9 % | +| refine: setup + output | 0.352 | 2.0 % | +| trim | 0.297 | 1.7 % | +| write: encode | 11.185 | 64.7 % | +| write: disk | 0.207 | 1.2 % | +| other | 0.003 | 0.0 % | +| **total** | **17.298** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 1.487 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q25-r3.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q25-r3.md new file mode 100644 index 00000000..0d9f8f54 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q25-r3.md @@ -0,0 +1,64 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t1-none-q25.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-none-q25-r3.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 4 | +| start triangles | 2 | +| output vertices | 3292586 | +| output triangles | 6581348 | +| constraint edges | 3822 | +| vertices without data dropped | 0 | +| sq-t1-none-q25.vtk | 359.9 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.87° | 0.00 % | 0.29 % | 0.217° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 17 | 527 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 61 | 3292582 | 0 | 7657458 | 0 | 0 | 0 | 0 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.006 | 0.0 % | +| decode | 0.169 | 1.0 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.000 | 0.0 % | +| start mesh: triangulate | 0.000 | 0.0 % | +| start mesh: constraint edges | 0.000 | 0.0 % | +| refine | 5.167 | 31.0 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 1.500 | 9.0 % | +| refine: split + flip (serial) | 3.308 | 19.8 % | +| refine: setup + output | 0.359 | 2.2 % | +| trim | 0.303 | 1.8 % | +| write: encode | 10.983 | 65.8 % | +| write: disk | 0.049 | 0.3 % | +| other | 0.004 | 0.0 % | +| **total** | **16.681** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 1.433 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q0-r1.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q0-r1.md new file mode 100644 index 00000000..70364d3f --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q0-r1.md @@ -0,0 +1,66 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 --start-min-angle 0 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t10-eu-q0.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q0-r1.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 51395 | +| start triangles | 102627 | +| output vertices | 106401 | +| output triangles | 212255 | +| constraint edges | 52531 | +| vertices without data dropped | 0 | +| sq-t10-eu-q0.vtk | 12.9 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 28.59° | 3.45 % | 13.63 % | 0.0147° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 11 | 25 | 540 | 9 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999949490582509 m | 23 | 55006 | 0 | 192561 | 0 | 0 | 0 | 359 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.005 | 0.0 % | +| decode | 0.173 | 0.6 % | +| features read | 18.074 | 64.4 % | +| features clip | 8.674 | 30.9 % | +| start mesh: build | 0.002 | 0.0 % | +| start mesh: node | 0.149 | 0.5 % | +| start mesh: triangulate | 0.046 | 0.2 % | +| start mesh: constraint edges | 0.123 | 0.4 % | +| refine | 0.259 | 0.9 % | +| refine: legalise start | 0.003 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 0.156 | 0.6 % | +| refine: split + flip (serial) | 0.038 | 0.1 % | +| refine: setup + output | 0.061 | 0.2 % | +| trim | 0.011 | 0.0 % | +| write: encode | 0.550 | 2.0 % | +| write: disk | 0.003 | 0.0 % | +| other | 0.016 | 0.1 % | +| **total** | **28.085** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.039 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q0-r2.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q0-r2.md new file mode 100644 index 00000000..2c7fa5b6 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q0-r2.md @@ -0,0 +1,66 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 --start-min-angle 0 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t10-eu-q0.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q0-r2.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 51395 | +| start triangles | 102627 | +| output vertices | 106401 | +| output triangles | 212255 | +| constraint edges | 52531 | +| vertices without data dropped | 0 | +| sq-t10-eu-q0.vtk | 12.9 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 28.59° | 3.45 % | 13.63 % | 0.0147° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 11 | 25 | 540 | 9 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999949490582509 m | 23 | 55006 | 0 | 192561 | 0 | 0 | 0 | 359 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.005 | 0.0 % | +| decode | 0.159 | 0.7 % | +| features read | 14.345 | 58.7 % | +| features clip | 8.652 | 35.4 % | +| start mesh: build | 0.002 | 0.0 % | +| start mesh: node | 0.151 | 0.6 % | +| start mesh: triangulate | 0.045 | 0.2 % | +| start mesh: constraint edges | 0.121 | 0.5 % | +| refine | 0.340 | 1.4 % | +| refine: legalise start | 0.004 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 0.229 | 0.9 % | +| refine: split + flip (serial) | 0.040 | 0.2 % | +| refine: setup + output | 0.067 | 0.3 % | +| trim | 0.009 | 0.0 % | +| write: encode | 0.599 | 2.4 % | +| write: disk | 0.002 | 0.0 % | +| other | 0.017 | 0.1 % | +| **total** | **24.447** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.041 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q0-r3.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q0-r3.md new file mode 100644 index 00000000..09064a9f --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q0-r3.md @@ -0,0 +1,66 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 --start-min-angle 0 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t10-eu-q0.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q0-r3.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 51395 | +| start triangles | 102627 | +| output vertices | 106401 | +| output triangles | 212255 | +| constraint edges | 52531 | +| vertices without data dropped | 0 | +| sq-t10-eu-q0.vtk | 12.9 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 28.59° | 3.45 % | 13.63 % | 0.0147° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 11 | 25 | 540 | 9 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999949490582509 m | 23 | 55006 | 0 | 192561 | 0 | 0 | 0 | 359 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.005 | 0.0 % | +| decode | 0.147 | 0.8 % | +| features read | 9.557 | 49.0 % | +| features clip | 8.663 | 44.4 % | +| start mesh: build | 0.002 | 0.0 % | +| start mesh: node | 0.150 | 0.8 % | +| start mesh: triangulate | 0.045 | 0.2 % | +| start mesh: constraint edges | 0.114 | 0.6 % | +| refine | 0.242 | 1.2 % | +| refine: legalise start | 0.003 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 0.147 | 0.8 % | +| refine: split + flip (serial) | 0.037 | 0.2 % | +| refine: setup + output | 0.055 | 0.3 % | +| trim | 0.008 | 0.0 % | +| write: encode | 0.545 | 2.8 % | +| write: disk | 0.003 | 0.0 % | +| other | 0.012 | 0.1 % | +| **total** | **19.493** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.040 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q25-r1.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q25-r1.md new file mode 100644 index 00000000..df83549b --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q25-r1.md @@ -0,0 +1,66 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t10-eu-q25.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q25-r1.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 51395 | +| start triangles | 102627 | +| output vertices | 240769 | +| output triangles | 480941 | +| constraint edges | 52572 | +| vertices without data dropped | 0 | +| sq-t10-eu-q25.vtk | 28.1 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.87° | 0.25 % | 4.58 % | 0.0013° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 19 | 219 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999960550447781 m | 17 | 34801 | 0 | 86893 | 0 | 154573 | 51555 | 350 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.0 % | +| decode | 0.139 | 0.5 % | +| features read | 17.820 | 62.6 % | +| features clip | 8.589 | 30.2 % | +| start mesh: build | 0.002 | 0.0 % | +| start mesh: node | 0.155 | 0.5 % | +| start mesh: triangulate | 0.046 | 0.2 % | +| start mesh: constraint edges | 0.116 | 0.4 % | +| refine | 0.397 | 1.4 % | +| refine: legalise start | 0.003 | 0.0 % | +| refine: start quality | 0.214 | 0.8 % | +| refine: scan (parallel) | 0.090 | 0.3 % | +| refine: split + flip (serial) | 0.027 | 0.1 % | +| refine: setup + output | 0.062 | 0.2 % | +| trim | 0.021 | 0.1 % | +| write: encode | 1.132 | 4.0 % | +| write: disk | 0.013 | 0.0 % | +| other | 0.017 | 0.1 % | +| **total** | **28.448** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.091 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q25-r2.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q25-r2.md new file mode 100644 index 00000000..697f7220 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q25-r2.md @@ -0,0 +1,66 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t10-eu-q25.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q25-r2.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 51395 | +| start triangles | 102627 | +| output vertices | 240769 | +| output triangles | 480941 | +| constraint edges | 52572 | +| vertices without data dropped | 0 | +| sq-t10-eu-q25.vtk | 28.1 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.87° | 0.25 % | 4.58 % | 0.0013° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 19 | 219 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999960550447781 m | 17 | 34801 | 0 | 86893 | 0 | 154573 | 51555 | 350 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.0 % | +| decode | 0.131 | 0.5 % | +| features read | 17.609 | 62.1 % | +| features clip | 8.693 | 30.7 % | +| start mesh: build | 0.002 | 0.0 % | +| start mesh: node | 0.161 | 0.6 % | +| start mesh: triangulate | 0.046 | 0.2 % | +| start mesh: constraint edges | 0.114 | 0.4 % | +| refine | 0.419 | 1.5 % | +| refine: legalise start | 0.003 | 0.0 % | +| refine: start quality | 0.209 | 0.7 % | +| refine: scan (parallel) | 0.116 | 0.4 % | +| refine: split + flip (serial) | 0.026 | 0.1 % | +| refine: setup + output | 0.065 | 0.2 % | +| trim | 0.019 | 0.1 % | +| write: encode | 1.132 | 4.0 % | +| write: disk | 0.005 | 0.0 % | +| other | 0.017 | 0.1 % | +| **total** | **28.348** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.090 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q25-r3.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q25-r3.md new file mode 100644 index 00000000..81e77538 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q25-r3.md @@ -0,0 +1,66 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t10-eu-q25.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-eu-q25-r3.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 51395 | +| start triangles | 102627 | +| output vertices | 240769 | +| output triangles | 480941 | +| constraint edges | 52572 | +| vertices without data dropped | 0 | +| sq-t10-eu-q25.vtk | 28.1 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.87° | 0.25 % | 4.58 % | 0.0013° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 19 | 219 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999960550447781 m | 17 | 34801 | 0 | 86893 | 0 | 154573 | 51555 | 350 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.0 % | +| decode | 0.127 | 0.4 % | +| features read | 18.628 | 63.9 % | +| features clip | 8.565 | 29.4 % | +| start mesh: build | 0.002 | 0.0 % | +| start mesh: node | 0.152 | 0.5 % | +| start mesh: triangulate | 0.044 | 0.2 % | +| start mesh: constraint edges | 0.109 | 0.4 % | +| refine | 0.366 | 1.3 % | +| refine: legalise start | 0.003 | 0.0 % | +| refine: start quality | 0.188 | 0.6 % | +| refine: scan (parallel) | 0.089 | 0.3 % | +| refine: split + flip (serial) | 0.026 | 0.1 % | +| refine: setup + output | 0.060 | 0.2 % | +| trim | 0.019 | 0.1 % | +| write: encode | 1.118 | 3.8 % | +| write: disk | 0.016 | 0.1 % | +| other | 0.017 | 0.1 % | +| **total** | **29.164** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.090 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q0-r1.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q0-r1.md new file mode 100644 index 00000000..7fa63dba --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q0-r1.md @@ -0,0 +1,64 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 --start-min-angle 0 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t10-none-q0.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q0-r1.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 4 | +| start triangles | 2 | +| output vertices | 66932 | +| output triangles | 133379 | +| constraint edges | 483 | +| vertices without data dropped | 0 | +| sq-t10-none-q0.vtk | 6.6 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 34.45° | 0.03 % | 1.78 % | 0.258° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 14 | 15 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999497794833673 m | 52 | 66928 | 0 | 186432 | 0 | 0 | 0 | 0 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.1 % | +| decode | 0.139 | 14.1 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.000 | 0.0 % | +| start mesh: triangulate | 0.000 | 0.0 % | +| start mesh: constraint edges | 0.000 | 0.0 % | +| refine | 0.620 | 62.9 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 0.582 | 59.0 % | +| refine: split + flip (serial) | 0.031 | 3.2 % | +| refine: setup + output | 0.007 | 0.7 % | +| trim | 0.005 | 0.5 % | +| write: encode | 0.216 | 21.9 % | +| write: disk | 0.001 | 0.1 % | +| other | 0.003 | 0.4 % | +| **total** | **0.986** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.025 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q0-r2.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q0-r2.md new file mode 100644 index 00000000..1ea9cc5d --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q0-r2.md @@ -0,0 +1,64 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 --start-min-angle 0 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t10-none-q0.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q0-r2.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 4 | +| start triangles | 2 | +| output vertices | 66932 | +| output triangles | 133379 | +| constraint edges | 483 | +| vertices without data dropped | 0 | +| sq-t10-none-q0.vtk | 6.6 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 34.45° | 0.03 % | 1.78 % | 0.258° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 14 | 15 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999497794833673 m | 52 | 66928 | 0 | 186432 | 0 | 0 | 0 | 0 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.1 % | +| decode | 0.134 | 13.9 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.000 | 0.0 % | +| start mesh: triangulate | 0.000 | 0.0 % | +| start mesh: constraint edges | 0.000 | 0.0 % | +| refine | 0.600 | 62.4 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 0.563 | 58.5 % | +| refine: split + flip (serial) | 0.030 | 3.1 % | +| refine: setup + output | 0.007 | 0.7 % | +| trim | 0.005 | 0.5 % | +| write: encode | 0.217 | 22.5 % | +| write: disk | 0.001 | 0.1 % | +| other | 0.004 | 0.4 % | +| **total** | **0.962** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.026 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q0-r3.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q0-r3.md new file mode 100644 index 00000000..d060cd38 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q0-r3.md @@ -0,0 +1,64 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 --start-min-angle 0 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t10-none-q0.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q0-r3.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 4 | +| start triangles | 2 | +| output vertices | 66932 | +| output triangles | 133379 | +| constraint edges | 483 | +| vertices without data dropped | 0 | +| sq-t10-none-q0.vtk | 6.6 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 34.45° | 0.03 % | 1.78 % | 0.258° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 14 | 15 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999497794833673 m | 52 | 66928 | 0 | 186432 | 0 | 0 | 0 | 0 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.1 % | +| decode | 0.127 | 13.4 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.000 | 0.0 % | +| start mesh: triangulate | 0.000 | 0.0 % | +| start mesh: constraint edges | 0.000 | 0.0 % | +| refine | 0.596 | 63.0 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 0.558 | 59.0 % | +| refine: split + flip (serial) | 0.030 | 3.2 % | +| refine: setup + output | 0.007 | 0.7 % | +| trim | 0.005 | 0.5 % | +| write: encode | 0.212 | 22.5 % | +| write: disk | 0.001 | 0.1 % | +| other | 0.003 | 0.4 % | +| **total** | **0.946** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.025 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q25-r1.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q25-r1.md new file mode 100644 index 00000000..4b50d715 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q25-r1.md @@ -0,0 +1,64 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t10-none-q25.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q25-r1.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 4 | +| start triangles | 2 | +| output vertices | 66932 | +| output triangles | 133379 | +| constraint edges | 483 | +| vertices without data dropped | 0 | +| sq-t10-none-q25.vtk | 6.6 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 34.45° | 0.03 % | 1.78 % | 0.258° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 14 | 15 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999497794833673 m | 52 | 66928 | 0 | 186432 | 0 | 0 | 0 | 0 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.005 | 0.5 % | +| decode | 0.141 | 14.4 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.000 | 0.0 % | +| start mesh: triangulate | 0.000 | 0.0 % | +| start mesh: constraint edges | 0.000 | 0.0 % | +| refine | 0.601 | 61.5 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 0.563 | 57.7 % | +| refine: split + flip (serial) | 0.030 | 3.1 % | +| refine: setup + output | 0.007 | 0.7 % | +| trim | 0.005 | 0.5 % | +| write: encode | 0.220 | 22.5 % | +| write: disk | 0.001 | 0.1 % | +| other | 0.003 | 0.3 % | +| **total** | **0.977** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.028 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q25-r2.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q25-r2.md new file mode 100644 index 00000000..d52fd2ca --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q25-r2.md @@ -0,0 +1,64 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t10-none-q25.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q25-r2.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 4 | +| start triangles | 2 | +| output vertices | 66932 | +| output triangles | 133379 | +| constraint edges | 483 | +| vertices without data dropped | 0 | +| sq-t10-none-q25.vtk | 6.6 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 34.45° | 0.03 % | 1.78 % | 0.258° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 14 | 15 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999497794833673 m | 52 | 66928 | 0 | 186432 | 0 | 0 | 0 | 0 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.005 | 0.5 % | +| decode | 0.142 | 14.5 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.000 | 0.0 % | +| start mesh: triangulate | 0.000 | 0.0 % | +| start mesh: constraint edges | 0.000 | 0.0 % | +| refine | 0.606 | 61.9 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 0.569 | 58.1 % | +| refine: split + flip (serial) | 0.030 | 3.1 % | +| refine: setup + output | 0.007 | 0.7 % | +| trim | 0.005 | 0.5 % | +| write: encode | 0.216 | 22.1 % | +| write: disk | 0.001 | 0.1 % | +| other | 0.003 | 0.3 % | +| **total** | **0.979** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.025 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q25-r3.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q25-r3.md new file mode 100644 index 00000000..a23d0903 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q25-r3.md @@ -0,0 +1,64 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 10 --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t10-none-q25.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t10-none-q25-r3.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 4 | +| start triangles | 2 | +| output vertices | 66932 | +| output triangles | 133379 | +| constraint edges | 483 | +| vertices without data dropped | 0 | +| sq-t10-none-q25.vtk | 6.6 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 34.45° | 0.03 % | 1.78 % | 0.258° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 14 | 15 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999497794833673 m | 52 | 66928 | 0 | 186432 | 0 | 0 | 0 | 0 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.005 | 0.5 % | +| decode | 0.136 | 14.2 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.000 | 0.0 % | +| start mesh: triangulate | 0.000 | 0.0 % | +| start mesh: constraint edges | 0.000 | 0.0 % | +| refine | 0.600 | 62.6 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.000 | 0.0 % | +| refine: scan (parallel) | 0.564 | 58.8 % | +| refine: split + flip (serial) | 0.029 | 3.1 % | +| refine: setup + output | 0.007 | 0.7 % | +| trim | 0.005 | 0.5 % | +| write: encode | 0.209 | 21.8 % | +| write: disk | 0.001 | 0.1 % | +| other | 0.003 | 0.3 % | +| **total** | **0.959** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.024 s, not included above. From 58fee91ef0bb3087f3b7fccd6f3babbb72380a24 Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Tue, 29 Sep 2026 00:17:31 +0200 Subject: [PATCH 22/27] 16b-1/2 red: the GeoPackage candidate query is driven by the R-tree Co-Authored-By: Claude Opus 5.5 --- tests/python/test_io_geopackage.py | 55 ++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/tests/python/test_io_geopackage.py b/tests/python/test_io_geopackage.py index 998b9229..4cb1b6c1 100644 --- a/tests/python/test_io_geopackage.py +++ b/tests/python/test_io_geopackage.py @@ -32,6 +32,7 @@ import ast import importlib +import re import sqlite3 from pathlib import Path from types import ModuleType @@ -443,6 +444,60 @@ def test_sqlite_without_the_rtree_module_is_refused_naming_the_cause( finally: conn.close() + @needs_rtree + def test_the_candidate_query_is_driven_by_the_rtree( + self, tmp_path: Path, gpkg: ModuleType, open_geopackage: Any + ) -> None: + """With a box and an R-tree, the feature table is never scanned in + full: its rows are fetched by primary key and the R-tree is the scan. + + The defect (`docs/benchmarks/2026-09-28/16b12-acceptance.md`): a join + of the table to the R-tree was planned as `SCAN t` with one R-tree + probe per row, 17.5-18.7 s on Ola's 2.4 M-row Europe file against + 0.85 s for `WHERE IN (SELECT id FROM rtree_... WHERE ...)`. + + How the SQL is captured without a production hook: the stdlib's + `sqlite3.Connection.set_trace_callback` is set on the connection + `open_geopackage` returns, before `query_features` runs, and records + every statement SQLite executes on it. SQLite's own internal R-tree + statements (prefixed `--`, or naming its `_node`/`_rowid` shadow tables + rather than the R-tree itself) are dropped; the one statement that + names both the feature table and its R-tree is the candidate query. Its plan + comes from `EXPLAIN QUERY PLAN` on the same connection, so the same + SQLite and the same (absent) statistics decide it. No timing is + measured: the plan is the property. + + 2 000 rows: with no `sqlite_stat1` the planner's choice is the same at + 10, 1 000 and 5 000 rows (checked on SQLite 3.53.4), so the size only + guards against a small-table shortcut.""" + rows = [ + Row(k, box(20.0 * k, 0.0, 20.0 * k + 10.0, 10.0), {"Code_18": "111"}) + for k in range(1, 2001) + ] + conn = open_geopackage(one_layer(tmp_path, rows)) + issued: list[str] = [] + try: + layer = gpkg.layer_info(conn, None) + conn.set_trace_callback(issued.append) + got = list(gpkg.query_features(conn, layer, (100.0, 0.0, 200.0, 10.0), "Code_18")) + conn.set_trace_callback(None) + candidates = [ + sql + for sql in issued + if not sql.lstrip().startswith("--") + and re.search(rf"\b{layer.table}\b", sql) + and re.search(rf"\b{layer.rtree}\b", sql) + ] + assert len(candidates) == 1, issued + plan = [row[3] for row in conn.execute(f"EXPLAIN QUERY PLAN {candidates[0]}")] + finally: + conn.close() + assert {f.fid for f in got} >= {5, 6, 7, 8, 9, 10} + table_scans = [p for p in plan if p.startswith("SCAN") and "VIRTUAL TABLE" not in p] + assert table_scans == [], plan + assert any(p.startswith("SEARCH") and "PRIMARY KEY" in p for p in plan), plan + assert any(p.startswith("SCAN") and "VIRTUAL TABLE" in p for p in plan), plan + class _NoRtree: """A connection whose R-tree does not exist as a module.""" From 602970e649fa1d2b1832fc89226a144eda96a2f4 Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Tue, 29 Sep 2026 00:18:02 +0200 Subject: [PATCH 23/27] Retrospective agenda: a temporary production edit by @tester Co-Authored-By: Claude Opus 5.5 --- docs/retrospectives/next.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/retrospectives/next.md b/docs/retrospectives/next.md index f782c1b2..3feb593f 100644 --- a/docs/retrospectives/next.md +++ b/docs/retrospectives/next.md @@ -47,3 +47,8 @@ benchmark README, another increment's record). No persona's remit names those files; the hard limits need a stated owner for each area. Also: nine test suites already on master still say, in the present tense, how they go red; left for a follow-up. + +2026-09-29: `@tester`, checking its query-plan test, temporarily edited +`src_python/tin_engine/io/geopackage.py` and restored it with +`git checkout` (reported, not committed). Brief-level limits did not stop +it; a hard limit would have. From d58d69308aa7c68c0deda80b2ad639db4637cbfe Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Tue, 29 Sep 2026 00:19:18 +0200 Subject: [PATCH 24/27] green: the GeoPackage candidate query is driven by the R-tree Co-Authored-By: Claude Opus 5.5 --- src_python/tin_engine/io/geopackage.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src_python/tin_engine/io/geopackage.py b/src_python/tin_engine/io/geopackage.py index 2e291ba3..4b97b480 100644 --- a/src_python/tin_engine/io/geopackage.py +++ b/src_python/tin_engine/io/geopackage.py @@ -146,11 +146,13 @@ def query_features( ) params: dict[str, float] = {} if box is not None and layer.rtree is not None: + # Fetch by primary key from the R-tree's hits: a join is planned as a + # full scan of the table with one R-tree probe per row. s = "(r.maxx - r.minx + r.maxy - r.miny)" w = f"({s} * max(1.0, {s} / :scale))" select += ( - f" JOIN {_q(layer.rtree)} r ON t.{pk} = r.id WHERE r.maxx + {w} >= :minx" - f" AND r.minx - {w} <= :maxx AND r.maxy + {w} >= :miny AND r.miny - {w} <= :maxy" + f" WHERE t.{pk} IN (SELECT r.id FROM {_q(layer.rtree)} r WHERE r.maxx + {w} >= :minx" + f" AND r.minx - {w} <= :maxx AND r.maxy + {w} >= :miny AND r.miny - {w} <= :maxy)" ) params = dict(zip(("minx", "miny", "maxx", "maxy"), box, strict=True), scale=scale) try: From 602d92e8d35c69c97dd135193bb9fbd939ee0b1c Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Tue, 29 Sep 2026 00:23:39 +0200 Subject: [PATCH 25/27] 16b-1/2 acceptance: Europe read re-timed after d58d693, defect fixed Battery, 3 runs per case. features read from the Europe GeoPackage: 17.9 -> 1.77 s (catchment 1 m), 19.1 -> 0.98 s (10 m), 17.7 -> 1.01 s (48 km square 1 m). Meshes byte-identical to the earlier runs. The 8.2-8.5 s clip stays open, pending Ola. Co-Authored-By: Claude Opus 5.5 --- .../benchmarks/2026-09-28/16b12-acceptance.md | 18 +- .../2026-09-28/16b12-acceptance/README.md | 35 +++- .../16b12-acceptance/logs/aggregate.md | 3 + .../2026-09-28/16b12-acceptance/logs/fix.log | 178 ++++++++++++++++++ .../16b12-acceptance/logs/route_identity.log | 4 + .../16b12-acceptance/scripts/runs.sh | 5 + .../stats/ola-t1-eu3035-fix-r1.md | 75 ++++++++ .../stats/ola-t1-eu3035-fix-r2.md | 75 ++++++++ .../stats/ola-t1-eu3035-fix-r3.md | 75 ++++++++ .../stats/ola-t10-eu3035-fix-r1.md | 75 ++++++++ .../stats/ola-t10-eu3035-fix-r2.md | 75 ++++++++ .../stats/ola-t10-eu3035-fix-r3.md | 75 ++++++++ .../stats/sq-t1-eu-q25-fix-r1.md | 66 +++++++ .../stats/sq-t1-eu-q25-fix-r2.md | 66 +++++++ .../stats/sq-t1-eu-q25-fix-r3.md | 66 +++++++ 15 files changed, 889 insertions(+), 2 deletions(-) create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/logs/fix.log create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-fix-r1.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-fix-r2.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-fix-r3.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-fix-r1.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-fix-r2.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-fix-r3.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-fix-r1.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-fix-r2.md create mode 100644 docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-fix-r3.md diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance.md b/docs/benchmarks/2026-09-28/16b12-acceptance.md index 4fe2a107..85be7dd7 100644 --- a/docs/benchmarks/2026-09-28/16b12-acceptance.md +++ b/docs/benchmarks/2026-09-28/16b12-acceptance.md @@ -1,6 +1,6 @@ # Increment 16b-1/2 acceptance (@perf, 2026-09-28/29): summary -**Verdict: NOT ACCEPTED as designed, on one measure: the candidate read from +**Verdict (2026-09-28): NOT ACCEPTED as designed, on one measure: the candidate read from Ola's European GeoPackage.** It takes **17.5-19.9 s**, against the design's admitted ~1 s (R5). Everything else passes. All runs were on **battery** and are compared against battery. The branch is `5f3a522`; the @@ -58,3 +58,19 @@ base is `origin/master` `14f5fe3`. Method, tables and raw data are in `--mesh-dir` is given, because the mesh's parent directory is never created. The workaround was to create it first. - **Not measured:** a profile of `features clip`, and any AC run. + +## Addendum, 2026-09-29: re-timed after `d58d693` (battery, 64 → 63 %) + +`features read` from the Europe file, before → after `d58d693`'s +primary-key fetch, median of 3 runs: + +- Catchment at 1 m: 17.90 → 1.77 s. +- Catchment at 10 m: 19.08 → 0.98 s. +- 48 km square at 1 m: 17.72 → 1.01 s. + +The totals fall from 30.3 to 14.0 s, from 28.2 to 9.9 s and from 48.0 to +30.6 s. The three meshes are byte-identical to the earlier runs. +**Verdict: the read defect is fixed; 16b-1/2 is ACCEPTED.** +`features clip` (8.2-8.5 s) is a known open item, pending Ola's decision, +and is not counted against the verdict. Details are in the README's +addendum. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/README.md b/docs/benchmarks/2026-09-28/16b12-acceptance/README.md index 668c5fa1..2ff24273 100644 --- a/docs/benchmarks/2026-09-28/16b12-acceptance/README.md +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/README.md @@ -1,6 +1,6 @@ # Increment 16b-1/2 acceptance (@perf, 2026-09-28/29) -**Verdict: NOT ACCEPTED as designed, on one measure.** With Ola's European +**Verdict (2026-09-28): NOT ACCEPTED as designed, on one measure; superseded by the 2026-09-29 addendum: ACCEPTED.** With Ola's European GeoPackage (EPSG:3035), reading the candidate features takes **17.5-19.9 s**. The design admits about 1 s for this read (R5). Everything else passes: the standard benchmark is unchanged, the quarter circle reproduces M5, both @@ -321,3 +321,36 @@ writing the `.vtk` and the `--stats` pass. (`p16b12/meshes/`). The largest is the 48 km square at 1 m: 6.7 M triangles, 399 MB. To regenerate them, rerun `scripts/runs.sh 1`. + +## Addendum, 2026-09-29: the Europe-file cases re-timed after `d58d693` + +`d58d693` changes `query_features` to fetch by primary key through +`WHERE pk IN (SELECT r.id FROM rtree … )`. The test in `58fee91` pins the +query plan. Head was `d58d693`. The change is Python only. `tin_engine` was +loaded from `src_python`, and the query text was checked for `IN (SELECT` +before the runs. The `.so` is unchanged. Power: **battery**, 64 % → 63 %, +00:19-00:23 (`logs/fix.log`). There were 3 runs per case +(`scripts/runs.sh fix 3`). The reports are `stats/-fix-r.md`, and +the table below gives medians, with the per-run range for `features read`. + +| case | features read, before | **features read, after** | features clip, before → after | total, before → after | triangles | +|---|---:|---:|---:|---:|---:| +| catchment, 1 m | 17.90 s | **1.77 s** (1.72-1.79) | 8.50 → 8.27 s | 30.34 → 14.04 s | 1 235 226 | +| catchment, 10 m | 19.08 s | **0.98 s** (0.97-1.08) | 8.44 → 8.23 s | 28.23 → 9.90 s | 63 020 | +| 48 km square, 1 m, quality 25° | 17.72 s | **1.01 s** (1.00-1.02) | 8.63 → 8.41 s | 47.97 → 30.60 s | 6 753 084 | + +- **The meshes are unchanged.** All three `.vtk` files are byte-identical + to the earlier runs (`cmp`), and their digests over points, triangles, + lines and `feature_mask` are equal (`logs/route_identity.log`). stderr + is unchanged: `87 features kept, 258 dropped outside, 28 clipped` and + `662 kept, 451 dropped outside, 69 clipped`. +- **The read is 10-19x faster.** It now takes 0.97-1.79 s, against the + design's admitted 0.75-1.3 s for the R-tree scan. The 1 m catchment runs + are up to 0.5 s above that range, while the same query at 10 m takes + 0.98 s. Why they differ has not been measured. +- **`features clip` (8.2-8.5 s) is a known open item, pending Ola's + decision.** It is not counted against this verdict unless Ola rules + otherwise. It is still the largest share of feature input. + +**Verdict: the read defect is fixed. 16b-1/2 is ACCEPTED** (battery against +battery), with the clip cost left open for Ola. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/logs/aggregate.md b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/aggregate.md index 75786192..b06b2c61 100644 --- a/docs/benchmarks/2026-09-28/16b12-acceptance/logs/aggregate.md +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/aggregate.md @@ -1,9 +1,11 @@ | case | n | triangles | start vertices | min angle median | < 1° | worst | max degree | achieved max error | quality inserted | feet | features read | features clip | node | start quality | refine (scan / split) | encode | total | peak RSS | |---|---:|---:|---:|---:|---:|---:|---:|---|---:|---:|---:|---:|---:|---:|---|---:|---:|---:| | ola-t1-eu3035 | 3 | 1235226 | 5642 | 43.60° | 0.06 % | 0.0116° | 25 | 1 m | 15573 | 5314 | 17.903 | 8.501 | 0.013 | 0.016 | 0.624 (0.114 / 0.437) | 2.802 | 30.34 | 0.80 GB | +| ola-t1-eu3035-fix | 3 | 1235226 | 5642 | 43.60° | 0.06 % | 0.0116° | 25 | 1 m | 15573 | 5314 | 1.772 | 8.265 | 0.013 | 0.016 | 0.594 (0.104 / 0.421) | 2.676 | 14.04 | 0.91 GB | | ola-t1-no25833 | 3 | 1235226 | 5642 | 43.60° | 0.06 % | 0.0116° | 25 | 1 m | 15573 | 5314 | 0.894 | 1.269 | 0.013 | 0.016 | 0.611 (0.113 / 0.427) | 2.793 | 6.28 | 0.89 GB | | ola-t1-none | 3 | 1216839 | 48 | 45.00° | 0.02 % | 0.0116° | 25 | 1 m | 37 | 693 | 0.000 | 0.000 | 0.000 | 0.000 | 0.604 (0.144 / 0.410) | 2.015 | 3.36 | 0.93 GB | | ola-t10-eu3035 | 3 | 63020 | 5642 | 36.52° | 0.23 % | 0.00782° | 14 | 9.999894849297135 m | 15573 | 245 | 19.077 | 8.441 | 0.013 | 0.016 | 0.044 (0.016 / 0.005) | 0.139 | 28.23 | 0.47 GB | +| ola-t10-eu3035-fix | 3 | 63020 | 5642 | 36.52° | 0.23 % | 0.00782° | 14 | 9.999894849297135 m | 15573 | 245 | 0.983 | 8.225 | 0.013 | 0.016 | 0.040 (0.013 / 0.006) | 0.136 | 9.90 | 0.50 GB | | ola-t10-no25833 | 3 | 63020 | 5642 | 36.52° | 0.23 % | 0.00782° | 14 | 9.999894849297135 m | 15573 | 245 | 0.875 | 1.291 | 0.013 | 0.017 | 0.042 (0.013 / 0.005) | 0.141 | 3.09 | 0.51 GB | | ola-t10-none | 3 | 30366 | 48 | 34.08° | 0.14 % | 0.0188° | 12 | 9.999269956118098 m | 37 | 168 | 0.000 | 0.000 | 0.000 | 0.000 | 0.044 (0.036 / 0.007) | 0.048 | 0.58 | 0.47 GB | | qc-t1-corine | 3 | 441855 | 5627 | 45.00° | 0.08 % | 0.0395° | 28 | 0.9999987363815306 m | 11370 | 3134 | 0.007 | 0.038 | 0.013 | 0.011 | 0.189 (0.036 / 0.122) | 0.981 | 1.34 | 0.53 GB | @@ -12,6 +14,7 @@ | qc-t10-none | 3 | 31581 | 536 | 33.69° | 0.01 % | 0.287° | 16 | 9.998682022094727 m | 644 | 0 | 0.000 | 0.000 | 0.000 | 0.001 | 0.025 (0.017 / 0.006) | 0.053 | 0.15 | 0.35 GB | | sq-t1-eu-q0 | 3 | 6655874 | 51395 | 36.87° | 0.04 % | 0.0306° | 23 | 1 m | 0 | 31986 | 18.415 | 8.562 | 0.148 | 0.000 | 5.449 (1.034 / 3.884) | 14.963 | 47.91 | 2.88 GB | | sq-t1-eu-q25 | 3 | 6753084 | 51395 | 36.87° | 0.03 % | 0.00081° | 23 | 1 m | 154573 | 30311 | 17.715 | 8.633 | 0.150 | 0.209 | 5.867 (0.997 / 4.267) | 15.413 | 47.97 | 3.06 GB | +| sq-t1-eu-q25-fix | 3 | 6753084 | 51395 | 36.87° | 0.03 % | 0.00081° | 23 | 1 m | 154573 | 30311 | 1.011 | 8.413 | 0.148 | 0.204 | 5.309 (0.886 / 3.828) | 14.988 | 30.60 | 2.91 GB | | sq-t1-none-q0 | 3 | 6581348 | 4 | 36.87° | 0.00 % | 0.217° | 17 | 1 m | 0 | 0 | 0.000 | 0.000 | 0.000 | 0.000 | 5.073 (1.494 / 3.247) | 10.986 | 16.59 | 3.03 GB | | sq-t1-none-q25 | 3 | 6581348 | 4 | 36.87° | 0.00 % | 0.217° | 17 | 1 m | 0 | 0 | 0.000 | 0.000 | 0.000 | 0.000 | 5.267 (1.527 / 3.390) | 11.067 | 16.94 | 3.07 GB | | sq-t10-eu-q0 | 3 | 212255 | 51395 | 28.59° | 3.45 % | 0.0147° | 25 | 9.999949490582509 m | 0 | 359 | 14.345 | 8.663 | 0.150 | 0.000 | 0.259 (0.156 / 0.038) | 0.550 | 24.45 | 0.52 GB | diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/logs/fix.log b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/fix.log new file mode 100644 index 00000000..6eba7a85 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/fix.log @@ -0,0 +1,178 @@ + -InternalBattery-0 (id=7929955) 64%; discharging; 2:58 remaining present: true +### ola-t1-eu3035-fix r1 00:19:49 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +87 features kept, 258 dropped outside, 28 clipped, 0 empty skipped +11316 input vertices, 5642 noded vertices +15573 start quality nodes inserted, 5291 start quality skips, 5314 constraint feet, 0 feet refused, 29 rounds, 596775 points inserted, 1282174 flips, 1235226 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 11169 start triangles, 5642 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 886620160 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 29 | 596775 | 0 | 1282174 | 0 | 15573 | 5291 | 5314 | +VTK read: 617990 points, 1235226 triangles, 11027 lines, z bounds 102.49..385.39 +field feature_bits: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 +field feature_names: river | road | railway | coastline | contour | wall | ditch | land_cover +field feature_vocabulary: f26769f015fd54ff7c0b49922a9eba48c28c2596b0a1f152b519658010b22c61 +field crs: EPSG:25833 +field elevation_source: mosaic of 4 tiles, 2089 x 2007 nodes; refined from DEM nodes, constrained Delaunay, tolerance 1 m, achieved max error 1 m, start domain boundary and features, vertex z bilinear, start min angle 25 deg, constraint feet on, 0 valid DEM nodes not covered, 0 vertices without data dropped, vertical unit +field dem_tiles: 6602_1_10m_z33.tif; 6602_2_10m_z33.tif; 6603_3_10m_z33.tif; 6603_4_10m_z33.tif +field dem_seams: 6602_1_10m_z33.tif | 6603_3_10m_z33.tif: nodes 2472, max 0.25087, median 0.0138931; 6602_1_10m_z33.tif | 6603_4_10m_z33.tif: nodes 18977, max 0.376282, median 0.00230408; 6602_2_10m_z33.tif | 6603_3_10m_z33.tif: nodes 59754, max 1.74188, median 0.0246887; 6603_3_10m_z33.tif | 6603_4_10m_z33.tif: nod +field domain: catchment_4326.geojson, 1 ring 0 holes, 48 vertices +field domain_crs: EPSG:4326 +field domain_transform: Inverse of ETRS89 to WGS 84 (1) + UTM zone 33N (with axis order normalized for visualization) +field features: U2018_CLC2018_V2020_20u1.gpkg:U2018_CLC2018_V2020_20u1, map corine, 87 features, 155 chains, 11268 vertices +field features_crs: EPSG:3035 +field features_transform: Inverse of Europe Equal Area 2001 + UTM zone 33N (with axis order normalized for visualization) +field features_notice: Contains modified CORINE Land Cover 2018 data (version 2020_20u1), (c) European Union, Copernicus Land Monitoring Service 2018, European Environment Agency (EEA): clipped and re-encoded, produced with funding by the European Union, not endorsed by the EU +cell arrays: feature_mask, land_cover, water +constraint edges 11027: land_cover 10275, water 979, water without land_cover 0, mask 0 752 +cell array land_cover: sum over lines 10275 +cell array water: sum over lines 979 +### ola-t10-eu3035-fix r1 00:20:07 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +87 features kept, 258 dropped outside, 28 clipped, 0 empty skipped +11316 input vertices, 5642 noded vertices +15573 start quality nodes inserted, 5291 start quality skips, 245 constraint feet, 0 feet refused, 20 rounds, 10426 points inserted, 26186 flips, 63020 triangles, achieved max error 9.999894849297135 m, 0 valid DEM nodes not covered, 11169 start triangles, 5642 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 500449280 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999894849297135 m | 20 | 10426 | 0 | 26186 | 0 | 15573 | 5291 | 245 | +VTK read: 31641 points, 63020 triangles, 5958 lines, z bounds 102.49..385.39 +field feature_bits: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 +field feature_names: river | road | railway | coastline | contour | wall | ditch | land_cover +field feature_vocabulary: f26769f015fd54ff7c0b49922a9eba48c28c2596b0a1f152b519658010b22c61 +field crs: EPSG:25833 +field elevation_source: mosaic of 4 tiles, 2089 x 2007 nodes; refined from DEM nodes, constrained Delaunay, tolerance 10 m, achieved max error 9.999894849297135 m, start domain boundary and features, vertex z bilinear, start min angle 25 deg, constraint feet on, 0 valid DEM nodes not covered, 0 vertices without data droppe +field dem_tiles: 6602_1_10m_z33.tif; 6602_2_10m_z33.tif; 6603_3_10m_z33.tif; 6603_4_10m_z33.tif +field dem_seams: 6602_1_10m_z33.tif | 6603_3_10m_z33.tif: nodes 2472, max 0.25087, median 0.0138931; 6602_1_10m_z33.tif | 6603_4_10m_z33.tif: nodes 18977, max 0.376282, median 0.00230408; 6602_2_10m_z33.tif | 6603_3_10m_z33.tif: nodes 59754, max 1.74188, median 0.0246887; 6603_3_10m_z33.tif | 6603_4_10m_z33.tif: nod +field domain: catchment_4326.geojson, 1 ring 0 holes, 48 vertices +field domain_crs: EPSG:4326 +field domain_transform: Inverse of ETRS89 to WGS 84 (1) + UTM zone 33N (with axis order normalized for visualization) +field features: U2018_CLC2018_V2020_20u1.gpkg:U2018_CLC2018_V2020_20u1, map corine, 87 features, 155 chains, 11268 vertices +field features_crs: EPSG:3035 +field features_transform: Inverse of Europe Equal Area 2001 + UTM zone 33N (with axis order normalized for visualization) +field features_notice: Contains modified CORINE Land Cover 2018 data (version 2020_20u1), (c) European Union, Copernicus Land Monitoring Service 2018, European Environment Agency (EEA): clipped and re-encoded, produced with funding by the European Union, not endorsed by the EU +cell arrays: feature_mask, land_cover, water +constraint edges 5958: land_cover 5698, water 768, water without land_cover 0, mask 0 260 +cell array land_cover: sum over lines 5698 +cell array water: sum over lines 768 +### sq-t1-eu-q25-fix r1 00:20:19 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +662 features kept, 451 dropped outside, 69 clipped, 0 empty skipped +103420 input vertices, 51395 noded vertices +154573 start quality nodes inserted, 51555 start quality skips, 30311 constraint feet, 0 feet refused, 30 rounds, 3172537 points inserted, 7127927 flips, 6753084 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 102627 start triangles, 51391 start vertices off-node, 0 vertices without data dropped + 2687483904 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 30 | 3172537 | 0 | 7127927 | 0 | 154573 | 51555 | 30311 | +VTK read: 3378505 points, 6753084 triangles, 85862 lines, z bounds 119.28..576.11 +field feature_bits: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 +field feature_names: river | road | railway | coastline | contour | wall | ditch | land_cover +field feature_vocabulary: f26769f015fd54ff7c0b49922a9eba48c28c2596b0a1f152b519658010b22c61 +field crs: EPSG:25833 +field elevation_source: refined from DEM nodes, constrained Delaunay, tolerance 1 m, achieved max error 1 m, start domain boundary and features, vertex z bilinear, start min angle 25 deg, constraint feet on, 0 valid DEM nodes not covered, 0 vertices without data dropped, vertical unit assumed metres +field domain: square48_25833.geojson, 1 ring 0 holes, 4 vertices +field domain_crs: EPSG:25833 +field domain_transform: none +field features: U2018_CLC2018_V2020_20u1.gpkg:U2018_CLC2018_V2020_20u1, map corine, 662 features, 1055 chains, 103416 vertices +field features_crs: EPSG:3035 +field features_transform: Inverse of Europe Equal Area 2001 + UTM zone 33N (with axis order normalized for visualization) +field features_notice: Contains modified CORINE Land Cover 2018 data (version 2020_20u1), (c) European Union, Copernicus Land Monitoring Service 2018, European Environment Agency (EEA): clipped and re-encoded, produced with funding by the European Union, not endorsed by the EU +cell arrays: feature_mask, land_cover, water +constraint edges 85862: land_cover 81938, water 12155, water without land_cover 0, mask 0 3924 +cell array land_cover: sum over lines 81938 +cell array water: sum over lines 12155 +### ola-t1-eu3035-fix r2 00:20:59 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +87 features kept, 258 dropped outside, 28 clipped, 0 empty skipped +11316 input vertices, 5642 noded vertices +15573 start quality nodes inserted, 5291 start quality skips, 5314 constraint feet, 0 feet refused, 29 rounds, 596775 points inserted, 1282174 flips, 1235226 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 11169 start triangles, 5642 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 906543104 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 29 | 596775 | 0 | 1282174 | 0 | 15573 | 5291 | 5314 | +### ola-t10-eu3035-fix r2 00:21:13 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +87 features kept, 258 dropped outside, 28 clipped, 0 empty skipped +11316 input vertices, 5642 noded vertices +15573 start quality nodes inserted, 5291 start quality skips, 245 constraint feet, 0 feet refused, 20 rounds, 10426 points inserted, 26186 flips, 63020 triangles, achieved max error 9.999894849297135 m, 0 valid DEM nodes not covered, 11169 start triangles, 5642 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 500350976 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999894849297135 m | 20 | 10426 | 0 | 26186 | 0 | 15573 | 5291 | 245 | +### sq-t1-eu-q25-fix r2 00:21:23 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +662 features kept, 451 dropped outside, 69 clipped, 0 empty skipped +103420 input vertices, 51395 noded vertices +154573 start quality nodes inserted, 51555 start quality skips, 30311 constraint feet, 0 feet refused, 30 rounds, 3172537 points inserted, 7127927 flips, 6753084 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 102627 start triangles, 51391 start vertices off-node, 0 vertices without data dropped + 3043082240 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 30 | 3172537 | 0 | 7127927 | 0 | 154573 | 51555 | 30311 | +### ola-t1-eu3035-fix r3 00:21:56 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +87 features kept, 258 dropped outside, 28 clipped, 0 empty skipped +11316 input vertices, 5642 noded vertices +15573 start quality nodes inserted, 5291 start quality skips, 5314 constraint feet, 0 feet refused, 29 rounds, 596775 points inserted, 1282174 flips, 1235226 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 11169 start triangles, 5642 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 936312832 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 29 | 596775 | 0 | 1282174 | 0 | 15573 | 5291 | 5314 | +### ola-t10-eu3035-fix r3 00:22:10 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +87 features kept, 258 dropped outside, 28 clipped, 0 empty skipped +11316 input vertices, 5642 noded vertices +15573 start quality nodes inserted, 5291 start quality skips, 245 constraint feet, 0 feet refused, 20 rounds, 10426 points inserted, 26186 flips, 63020 triangles, achieved max error 9.999894849297135 m, 0 valid DEM nodes not covered, 11169 start triangles, 5642 start vertices off-node, 0 vertices without data dropped +mosaic of 4 tiles, 2089 x 2007 nodes + 500531200 maximum resident set size +| vertices without data dropped | 0 | +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 10 m | 9.999894849297135 m | 20 | 10426 | 0 | 26186 | 0 | 15573 | 5291 | 245 | +### sq-t1-eu-q25-fix r3 00:22:20 | Battery Power +$ rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine +exit 0 +662 features kept, 451 dropped outside, 69 clipped, 0 empty skipped +103420 input vertices, 51395 noded vertices +154573 start quality nodes inserted, 51555 start quality skips, 30311 constraint feet, 0 feet refused, 30 rounds, 3172537 points inserted, 7127927 flips, 6753084 triangles, achieved max error 1 m, 0 valid DEM nodes not covered, 102627 start triangles, 51391 start vertices off-node, 0 vertices without data dropped + 2906554368 maximum resident set size +| vertices without data dropped | 0 | +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +| 1 m | 1 m | 30 | 3172537 | 0 | 7127927 | 0 | 154573 | 51555 | 30311 | +### done 00:22:53 | Battery Power + -InternalBattery-0 (id=7929955) 63%; discharging; 3:02 remaining present: true diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/logs/route_identity.log b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/route_identity.log index ba24aeb3..0b8159ff 100644 --- a/docs/benchmarks/2026-09-28/16b12-acceptance/logs/route_identity.log +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/logs/route_identity.log @@ -1,2 +1,6 @@ catchment 1 m: Europe/3035 30fc3a9a387b9e3e, Norway/25833 30fc3a9a387b9e3e, equal True (points, triangles, lines, feature_mask) catchment 10 m: Europe/3035 0d0833940671996c, Norway/25833 0d0833940671996c, equal True (points, triangles, lines, feature_mask) +2026-09-29, after d58d693 (same digest: points, triangles, lines, feature_mask): + ola-t1-eu3035: before 30fc3a9a387b9e3e, after 30fc3a9a387b9e3e, equal True + ola-t10-eu3035: before 0d0833940671996c, after 0d0833940671996c, equal True + sq-t1-eu-q25: before 63227a44abc3de0f, after 63227a44abc3de0f, equal True diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/runs.sh b/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/runs.sh index 5a4dd139..63b7020d 100755 --- a/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/runs.sh +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/scripts/runs.sh @@ -46,6 +46,11 @@ sq) for tol in 1 10; do one sq-t$tol-eu-q25 $rep --dem $T6603 --domain $SQ --tolerance $tol --features $EU --features-layer U2018_CLC2018_V2020_20u1 --features-map corine one sq-t$tol-eu-q0 $rep --dem $T6603 --domain $SQ --tolerance $tol --start-min-angle 0 --features $EU --features-layer U2018_CLC2018_V2020_20u1 --features-map corine done ;; +fix) # 2026-09-29: the Europe-file cases again, after d58d693's query fix + for tol in 1 10; do + one ola-t$tol-eu3035-fix $rep --dem $DATA/DTM10_UTM33_20260925 --domain $CATCH --tolerance $tol --features $EU --features-layer U2018_CLC2018_V2020_20u1 --features-map corine + done + one sq-t1-eu-q25-fix $rep --dem $T6603 --domain $SQ --tolerance 1 --features $EU --features-layer U2018_CLC2018_V2020_20u1 --features-map corine ;; esac done echo "### done $(date +%T) | $(pmset -g batt | head -1 | cut -d"'" -f2)" diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-fix-r1.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-fix-r1.md new file mode 100644 index 00000000..9f45ff07 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-fix-r1.md @@ -0,0 +1,75 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t1-eu3035-fix.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-fix-r1.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 5642 | +| start triangles | 11169 | +| output vertices | 617990 | +| output triangles | 1235226 | +| constraint edges | 11027 | +| vertices without data dropped | 0 | +| ola-t1-eu3035-fix.vtk | 69.8 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 43.60° | 0.06 % | 0.91 % | 0.0116° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 25 | 731 | 9 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 29 | 596775 | 0 | 1282174 | 0 | 15573 | 5291 | 5314 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.008 | 0.1 % | +| decode | 0.759 | 5.3 % | +| features read | 1.772 | 12.4 % | +| features clip | 8.177 | 57.2 % | +| start mesh: build | 0.001 | 0.0 % | +| start mesh: node | 0.013 | 0.1 % | +| start mesh: triangulate | 0.004 | 0.0 % | +| start mesh: constraint edges | 0.012 | 0.1 % | +| refine | 0.668 | 4.7 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.016 | 0.1 % | +| refine: scan (parallel) | 0.128 | 0.9 % | +| refine: split + flip (serial) | 0.459 | 3.2 % | +| refine: setup + output | 0.065 | 0.5 % | +| trim | 0.052 | 0.4 % | +| write: encode | 2.797 | 19.6 % | +| write: disk | 0.010 | 0.1 % | +| other | 0.009 | 0.1 % | +| **total** | **14.284** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.245 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-fix-r2.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-fix-r2.md new file mode 100644 index 00000000..3cb7f90c --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-fix-r2.md @@ -0,0 +1,75 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t1-eu3035-fix.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-fix-r2.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 5642 | +| start triangles | 11169 | +| output vertices | 617990 | +| output triangles | 1235226 | +| constraint edges | 11027 | +| vertices without data dropped | 0 | +| ola-t1-eu3035-fix.vtk | 69.8 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 43.60° | 0.06 % | 0.91 % | 0.0116° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 25 | 731 | 9 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 29 | 596775 | 0 | 1282174 | 0 | 15573 | 5291 | 5314 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.0 % | +| decode | 0.616 | 4.4 % | +| features read | 1.786 | 12.7 % | +| features clip | 8.265 | 58.9 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.013 | 0.1 % | +| start mesh: triangulate | 0.004 | 0.0 % | +| start mesh: constraint edges | 0.011 | 0.1 % | +| refine | 0.594 | 4.2 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.016 | 0.1 % | +| refine: scan (parallel) | 0.104 | 0.7 % | +| refine: split + flip (serial) | 0.421 | 3.0 % | +| refine: setup + output | 0.054 | 0.4 % | +| trim | 0.046 | 0.3 % | +| write: encode | 2.676 | 19.1 % | +| write: disk | 0.017 | 0.1 % | +| other | 0.007 | 0.0 % | +| **total** | **14.036** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.224 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-fix-r3.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-fix-r3.md new file mode 100644 index 00000000..b2a3e110 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-fix-r3.md @@ -0,0 +1,75 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t1-eu3035-fix.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t1-eu3035-fix-r3.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 5642 | +| start triangles | 11169 | +| output vertices | 617990 | +| output triangles | 1235226 | +| constraint edges | 11027 | +| vertices without data dropped | 0 | +| ola-t1-eu3035-fix.vtk | 69.8 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 43.60° | 0.06 % | 0.91 % | 0.0116° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 25 | 731 | 9 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 29 | 596775 | 0 | 1282174 | 0 | 15573 | 5291 | 5314 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.0 % | +| decode | 0.620 | 4.4 % | +| features read | 1.717 | 12.3 % | +| features clip | 8.287 | 59.2 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.013 | 0.1 % | +| start mesh: triangulate | 0.004 | 0.0 % | +| start mesh: constraint edges | 0.011 | 0.1 % | +| refine | 0.591 | 4.2 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.016 | 0.1 % | +| refine: scan (parallel) | 0.104 | 0.7 % | +| refine: split + flip (serial) | 0.415 | 3.0 % | +| refine: setup + output | 0.056 | 0.4 % | +| trim | 0.047 | 0.3 % | +| write: encode | 2.672 | 19.1 % | +| write: disk | 0.035 | 0.2 % | +| other | 0.006 | 0.0 % | +| **total** | **14.003** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.223 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-fix-r1.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-fix-r1.md new file mode 100644 index 00000000..5415b66a --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-fix-r1.md @@ -0,0 +1,75 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t10-eu3035-fix.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-fix-r1.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 5642 | +| start triangles | 11169 | +| output vertices | 31641 | +| output triangles | 63020 | +| constraint edges | 5958 | +| vertices without data dropped | 0 | +| ola-t10-eu3035-fix.vtk | 3.5 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.52° | 0.23 % | 4.10 % | 0.00782° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 14 | 21 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999894849297135 m | 20 | 10426 | 0 | 26186 | 0 | 15573 | 5291 | 245 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.0 % | +| decode | 0.752 | 7.3 % | +| features read | 1.083 | 10.5 % | +| features clip | 8.285 | 80.2 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.013 | 0.1 % | +| start mesh: triangulate | 0.004 | 0.0 % | +| start mesh: constraint edges | 0.011 | 0.1 % | +| refine | 0.040 | 0.4 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.016 | 0.2 % | +| refine: scan (parallel) | 0.013 | 0.1 % | +| refine: split + flip (serial) | 0.005 | 0.1 % | +| refine: setup + output | 0.006 | 0.1 % | +| trim | 0.002 | 0.0 % | +| write: encode | 0.136 | 1.3 % | +| write: disk | 0.001 | 0.0 % | +| other | 0.006 | 0.1 % | +| **total** | **10.335** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.012 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-fix-r2.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-fix-r2.md new file mode 100644 index 00000000..d6551b55 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-fix-r2.md @@ -0,0 +1,75 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t10-eu3035-fix.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-fix-r2.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 5642 | +| start triangles | 11169 | +| output vertices | 31641 | +| output triangles | 63020 | +| constraint edges | 5958 | +| vertices without data dropped | 0 | +| ola-t10-eu3035-fix.vtk | 3.5 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.52° | 0.23 % | 4.10 % | 0.00782° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 14 | 21 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999894849297135 m | 20 | 10426 | 0 | 26186 | 0 | 15573 | 5291 | 245 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.0 % | +| decode | 0.517 | 5.2 % | +| features read | 0.973 | 9.8 % | +| features clip | 8.186 | 82.8 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.013 | 0.1 % | +| start mesh: triangulate | 0.004 | 0.0 % | +| start mesh: constraint edges | 0.011 | 0.1 % | +| refine | 0.040 | 0.4 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.016 | 0.2 % | +| refine: scan (parallel) | 0.012 | 0.1 % | +| refine: split + flip (serial) | 0.006 | 0.1 % | +| refine: setup + output | 0.006 | 0.1 % | +| trim | 0.002 | 0.0 % | +| write: encode | 0.136 | 1.4 % | +| write: disk | 0.001 | 0.0 % | +| other | 0.005 | 0.1 % | +| **total** | **9.890** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.011 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-fix-r3.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-fix-r3.md new file mode 100644 index 00000000..ed43e50f --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-fix-r3.md @@ -0,0 +1,75 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925 --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/catchment_4326.geojson --tolerance 10 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/ola-t10-eu3035-fix.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/ola-t10-eu3035-fix-r3.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 2089 × 2007 (10 m) | +| domain vertices | 48 (1 ring, 0 holes) | +| start vertices | 5642 | +| start triangles | 11169 | +| output vertices | 31641 | +| output triangles | 63020 | +| constraint edges | 5958 | +| vertices without data dropped | 0 | +| ola-t10-eu3035-fix.vtk | 3.5 MB | + +## DEM seams + +| tile | tile | nodes | max | median | +|---|---|---|---|---| +| 6602_1_10m_z33.tif | 6603_3_10m_z33.tif | 2472 | 0.25087 | 0.0138931 | +| 6602_1_10m_z33.tif | 6603_4_10m_z33.tif | 18977 | 0.376282 | 0.00230408 | +| 6602_2_10m_z33.tif | 6603_3_10m_z33.tif | 59754 | 1.74188 | 0.0246887 | +| 6603_3_10m_z33.tif | 6603_4_10m_z33.tif | 51512 | 2.10982 | 0.0206909 | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.52° | 0.23 % | 4.10 % | 0.00782° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 14 | 21 | 0 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 10 m | 9.999894849297135 m | 20 | 10426 | 0 | 26186 | 0 | 15573 | 5291 | 245 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.0 % | +| decode | 0.476 | 4.8 % | +| features read | 0.983 | 9.9 % | +| features clip | 8.225 | 83.1 % | +| start mesh: build | 0.000 | 0.0 % | +| start mesh: node | 0.013 | 0.1 % | +| start mesh: triangulate | 0.004 | 0.0 % | +| start mesh: constraint edges | 0.011 | 0.1 % | +| refine | 0.041 | 0.4 % | +| refine: legalise start | 0.000 | 0.0 % | +| refine: start quality | 0.016 | 0.2 % | +| refine: scan (parallel) | 0.013 | 0.1 % | +| refine: split + flip (serial) | 0.006 | 0.1 % | +| refine: setup + output | 0.006 | 0.1 % | +| trim | 0.003 | 0.0 % | +| write: encode | 0.136 | 1.4 % | +| write: disk | 0.001 | 0.0 % | +| other | 0.005 | 0.1 % | +| **total** | **9.900** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 0.011 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-fix-r1.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-fix-r1.md new file mode 100644 index 00000000..c8089c21 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-fix-r1.md @@ -0,0 +1,66 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t1-eu-q25-fix.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-fix-r1.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 51395 | +| start triangles | 102627 | +| output vertices | 3378505 | +| output triangles | 6753084 | +| constraint edges | 85862 | +| vertices without data dropped | 0 | +| sq-t1-eu-q25-fix.vtk | 399.2 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.87° | 0.03 % | 0.98 % | 0.00081° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 23 | 3657 | 15 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 30 | 3172537 | 0 | 7127927 | 0 | 154573 | 51555 | 30311 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.001 | 0.0 % | +| decode | 0.145 | 0.5 % | +| features read | 1.020 | 3.3 % | +| features clip | 8.413 | 27.1 % | +| start mesh: build | 0.002 | 0.0 % | +| start mesh: node | 0.154 | 0.5 % | +| start mesh: triangulate | 0.044 | 0.1 % | +| start mesh: constraint edges | 0.117 | 0.4 % | +| refine | 5.617 | 18.1 % | +| refine: legalise start | 0.003 | 0.0 % | +| refine: start quality | 0.214 | 0.7 % | +| refine: scan (parallel) | 0.898 | 2.9 % | +| refine: split + flip (serial) | 4.055 | 13.1 % | +| refine: setup + output | 0.447 | 1.4 % | +| trim | 0.295 | 1.0 % | +| write: encode | 15.161 | 48.8 % | +| write: disk | 0.054 | 0.2 % | +| other | 0.013 | 0.0 % | +| **total** | **31.035** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 1.530 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-fix-r2.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-fix-r2.md new file mode 100644 index 00000000..b9db2929 --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-fix-r2.md @@ -0,0 +1,66 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t1-eu-q25-fix.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-fix-r2.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 51395 | +| start triangles | 102627 | +| output vertices | 3378505 | +| output triangles | 6753084 | +| constraint edges | 85862 | +| vertices without data dropped | 0 | +| sq-t1-eu-q25-fix.vtk | 399.2 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.87° | 0.03 % | 0.98 % | 0.00081° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 23 | 3657 | 15 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 30 | 3172537 | 0 | 7127927 | 0 | 154573 | 51555 | 30311 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.002 | 0.0 % | +| decode | 0.131 | 0.4 % | +| features read | 1.000 | 3.3 % | +| features clip | 8.343 | 27.5 % | +| start mesh: build | 0.002 | 0.0 % | +| start mesh: node | 0.147 | 0.5 % | +| start mesh: triangulate | 0.043 | 0.1 % | +| start mesh: constraint edges | 0.110 | 0.4 % | +| refine | 5.189 | 17.1 % | +| refine: legalise start | 0.003 | 0.0 % | +| refine: start quality | 0.193 | 0.6 % | +| refine: scan (parallel) | 0.866 | 2.9 % | +| refine: split + flip (serial) | 3.723 | 12.3 % | +| refine: setup + output | 0.404 | 1.3 % | +| trim | 0.280 | 0.9 % | +| write: encode | 14.908 | 49.2 % | +| write: disk | 0.150 | 0.5 % | +| other | 0.016 | 0.1 % | +| **total** | **30.321** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 1.552 s, not included above. diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-fix-r3.md b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-fix-r3.md new file mode 100644 index 00000000..bc4293ed --- /dev/null +++ b/docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-fix-r3.md @@ -0,0 +1,66 @@ +# rasputin mesh — statistics + +`rasputin mesh --dem /Users/skavhaug/projects/rasputin_data/DTM10_UTM33_20260925/6603_4_10m_z33.tif --domain docs/benchmarks/2026-09-28/16b12-acceptance/catchment/square48_25833.geojson --tolerance 1 --features /Users/skavhaug/projects/rasputin_data/corine_sql/u2018_clc2018_v2020_20u1_geoPackage/DATA/U2018_CLC2018_V2020_20u1.gpkg --features-layer U2018_CLC2018_V2020_20u1 --features-map corine --out /private/tmp/claude-501/-Users-skavhaug-projects-rasputin/38487caf-f56e-46a3-b05b-867af1fb1619/scratchpad/p16b12/meshes/sq-t1-eu-q25-fix.vtk --stats docs/benchmarks/2026-09-28/16b12-acceptance/stats/sq-t1-eu-q25-fix-r3.md` + +## Sizes + +| item | count | +|---|---| +| DEM nodes | 4801 × 4801 (10 m) | +| domain vertices | 4 (1 ring, 0 holes) | +| start vertices | 51395 | +| start triangles | 102627 | +| output vertices | 3378505 | +| output triangles | 6753084 | +| constraint edges | 85862 | +| vertices without data dropped | 0 | +| sq-t1-eu-q25-fix.vtk | 399.2 MB | + +## Quality (plan view, x/y) + +| metric | median | < 1° | < 10° | worst | +|---|---|---|---|---| +| minimum angle | 36.87° | 0.03 % | 0.98 % | 0.00081° | + +| metric | median | p99 | max | ≥ 12 | ≥ 20 | +|---|---|---|---|---|---| +| vertex degree (triangles) | 6 | 9 | 23 | 3657 | 15 | + +## Refinement + +| tolerance | achieved max error | rounds | inserted | carved | flips | uncovered | quality inserted | quality skipped | feet | +|---|---|---|---|---|---|---|---|---|---| +| 1 m | 1 m | 30 | 3172537 | 0 | 7127927 | 0 | 154573 | 51555 | 30311 | + +## Timings + +Wall clock, `time.perf_counter_ns` (Python) and `std::chrono::steady_clock` +(inside `refine`), one run, no warm-up. Total is the `mesh` command body, from +argument checks to the last file written; interpreter start-up and imports are +not in it. Threads: 10 (hardware concurrency). + +| phase | seconds | share | +|---|---|---| +| domain read | 0.002 | 0.0 % | +| decode | 0.133 | 0.4 % | +| features read | 1.011 | 3.3 % | +| features clip | 8.490 | 27.7 % | +| start mesh: build | 0.002 | 0.0 % | +| start mesh: node | 0.148 | 0.5 % | +| start mesh: triangulate | 0.044 | 0.1 % | +| start mesh: constraint edges | 0.117 | 0.4 % | +| refine | 5.309 | 17.4 % | +| refine: legalise start | 0.003 | 0.0 % | +| refine: start quality | 0.204 | 0.7 % | +| refine: scan (parallel) | 0.886 | 2.9 % | +| refine: split + flip (serial) | 3.828 | 12.5 % | +| refine: setup + output | 0.389 | 1.3 % | +| trim | 0.286 | 0.9 % | +| write: encode | 14.988 | 49.0 % | +| write: disk | 0.055 | 0.2 % | +| other | 0.012 | 0.0 % | +| **total** | **30.597** | **100 %** | + +Sub-rows sum to their parent and are not added to the total. + +Statistics computed in 1.474 s, not included above. From fedaa75d6df51565ca9ef0e42579fe82f363e1ac Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Tue, 29 Sep 2026 00:23:47 +0200 Subject: [PATCH 26/27] 16b-1/2 acceptance: summary names the superseding addendum Co-Authored-By: Claude Opus 5.5 --- docs/benchmarks/2026-09-28/16b12-acceptance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/benchmarks/2026-09-28/16b12-acceptance.md b/docs/benchmarks/2026-09-28/16b12-acceptance.md index 85be7dd7..3000d889 100644 --- a/docs/benchmarks/2026-09-28/16b12-acceptance.md +++ b/docs/benchmarks/2026-09-28/16b12-acceptance.md @@ -1,6 +1,6 @@ # Increment 16b-1/2 acceptance (@perf, 2026-09-28/29): summary -**Verdict (2026-09-28): NOT ACCEPTED as designed, on one measure: the candidate read from +**Verdict (2026-09-28), superseded by the 2026-09-29 addendum (ACCEPTED): NOT ACCEPTED as designed, on one measure: the candidate read from Ola's European GeoPackage.** It takes **17.5-19.9 s**, against the design's admitted ~1 s (R5). Everything else passes. All runs were on **battery** and are compared against battery. The branch is `5f3a522`; the From 023346cc5d895fc8826647f0e1be722ce71d8f31 Mon Sep 17 00:00:00 2001 From: Ola Skavhaug Date: Tue, 29 Sep 2026 00:24:08 +0200 Subject: [PATCH 27/27] Retrospective agenda: a brief that crossed the TDD line, declined by @perf Co-Authored-By: Claude Opus 5.5 --- docs/retrospectives/next.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/retrospectives/next.md b/docs/retrospectives/next.md index 3feb593f..f3c2f1ad 100644 --- a/docs/retrospectives/next.md +++ b/docs/retrospectives/next.md @@ -52,3 +52,9 @@ red; left for a follow-up. `src_python/tin_engine/io/geopackage.py` and restored it with `git checkout` (reported, not committed). Brief-level limits did not stop it; a hard limit would have. + +2026-09-29: the main session's brief asked `@perf` to fix a `tools/bench.py` +bug without a red test. `@perf` declined, citing its own rule (a failing +test in `tests/python/test_bench.py` first). The brief crossed the line, the +persona held it. The fix (create the mesh's parent directory for a `--label` +with `/`) waits for a `@tester` red step.