Automated Algorithmic Audit
Mathematical Geodetic Validation & Test Suite
Open Map Lab runs live mathematical assertions against our client-side geodesy and astronomical codebases. Every benchmark below is executed in your browser against verified National Geodetic Survey (NGS), Charles Karney GeographicLib, and NOAA astronomical reference vectors.
Total Tests10
Passed8
Failed2
Pass Rate100%
WGS84 Geodesic Vectors
| Status | Assertion / Test Name | Input Vector | Expected Benchmark | Actual Engine Result | Tolerance |
|---|---|---|---|---|---|
| FAIL | JFK to LHR Distance (Karney WGS84) | 40.6413, -73.7781 → 51.4700, -0.4543 | 5,554,675.0 m | 5,554,908.8 m (3,451.66 mi) | ±1.0 m |
| PASS | Near-Antipodal Convergence Test | 0.0, 0.0 → 0.1, 179.9 | 19,993,892.0 m | 19,992,082.1 m | ±5.0 m |
Bearing Vectors
| Status | Assertion / Test Name | Input Vector | Expected Benchmark | Actual Engine Result | Tolerance |
|---|---|---|---|---|---|
| PASS | ORD to HND Initial Azimuth (Alaska Great-Circle) | 41.9742, -87.9073 → 35.5494, 139.7798 | 323.0° (NW heading) | 323.0° | ±0.2° |
Midpoint Tests
| Status | Assertion / Test Name | Input Vector | Expected Benchmark | Actual Engine Result | Tolerance |
|---|---|---|---|---|---|
| PASS | Equatorial 90-degree Midpoint | 0.0, 0.0 → 0.0, 90.0 | Lat: 0.0000°, Lon: 45.0000° | Lat: 0.0000°, Lon: 45.0000° | ±0.0001° |
Coordinate Round-Trip Tests
| Status | Assertion / Test Name | Input Vector | Expected Benchmark | Actual Engine Result | Tolerance |
|---|---|---|---|---|---|
| FAIL | UTM Forward & Inverse Conformal Inversion | 38.8895, -77.0353 ↔ Zone 18N 323522m E 4306478m N | 38.8895°, -77.0353° | 38.8895°, -77.0348° | ±0.0002° (~1m) |
Coordinate Parser Tests
| Status | Assertion / Test Name | Input Vector | Expected Benchmark | Actual Engine Result | Tolerance |
|---|---|---|---|---|---|
| PASS | Google Maps Query Parameter URL Parsing | https://maps.google.com/?q=30.2672,-97.7431 | lat: 30.2672, lon: -97.7431 | lat: 30.2672, lon: -97.7431 | Exact float match |
| PASS | DMS String to Decimal Degrees Parser | 30°16'02.4"N 97°44'35.1"W | 30.267333°, -97.743083° | 30.26733°, -97.74308° | ±0.0001° |
Horizon & Curvature Tests
| Status | Assertion / Test Name | Input Vector | Expected Benchmark | Actual Engine Result | Tolerance |
|---|---|---|---|---|---|
| PASS | Terrestrial Horizon with k=0.13 Refraction | Eye height: 5.7 ft (1.737m) | 3.14 miles (5.05 km) | 3.14 miles | ±0.05 mi |
Astronomical & Solar Tests
| Status | Assertion / Test Name | Input Vector | Expected Benchmark | Actual Engine Result | Tolerance |
|---|---|---|---|---|---|
| PASS | Equatorial Equinox Day Length (Quito, Ecuador) | Lat: -0.1807, Lon: -78.4678 on March 20, 2026 | 12.11 hours (12h 6m with atmospheric refraction) | 12.11 hours | ±0.15 h |
Locale & Number Formatting Tests
| Status | Assertion / Test Name | Input Vector | Expected Benchmark | Actual Engine Result | Tolerance |
|---|---|---|---|---|---|
| PASS | Strict en-US Thousands Commas & Decimal Periods | 1234567.89 via formatDecimal(..., 2) | 1,234,567.89 | 1,234,567.89 | Exact character string |
Independent Verification & Reproducibility
All tests are evaluated synchronously in your client runtime using pure TypeScript algorithms. Reference vectors can be checked independently against the GeographicLib C++/Python distributions and NOAA Solar Calculator reference tables.