crs-l2-fiji-antimeridian
Analyst notes
Description
Tests whether the agent recognises that the giant arcs are antimeridian-crossing LineStrings encoded in violation of RFC 7946 §3.1.9 (consecutive vertices jumping +179° to -179° without splitting at ±180°), and whether it knows Fiji's national grid is Fiji 1986 / Fiji Map Grid (EPSG:3460). The prompt deliberately names neither the bug (antimeridian) nor the target CRS by code; the agent has to read the symptom and infer the regional canonical.
Approach
- Read the input and notice that some LineStrings have consecutive vertices jumping from one side of the antimeridian to the other, which is what makes them render as ~359° arcs.
- Split each crossing line at ±180° while still in WGS84, interpolating the latitude at the boundary and writing two parts.
- Reproject all parts to Fiji Map Grid (EPSG:3460), the national metric grid for Fiji.
- Group parts back together by transect_id and assemble one MultiLineString feature per transect, including the non-crossing ones as single-part multis.
- Compute length_m in the projected CRS and carry the original attributes (transect_id, vessel, survey_date) through unchanged.
Pitfalls
- Calling to_crs(3460) on the raw input without splitting first does not blow up the length numbers because PROJ wraps longitudes internally, so the per-transect lengths look right and only the topology subcheck catches the missing split.
- Stamping the CRS as 3460 with set_crs instead of actually reprojecting leaves coordinates in degrees, so length_m comes out around a millionth of the correct value.
- Picking UTM 60S (EPSG:32760) is defensible for the bundled archipelago west of the antimeridian and is accepted, but it costs the crs_is_canonical subcheck because the regional canonical is EPSG:3460.
- Recalling the wrong EPSG for Fiji (e.g. 2978 California, 2977 Pacific zones) tanks both CRS subchecks because the pick is outside the meaningful set.
- Writing one feature per part with a duplicated transect_id fails the heavily weighted feature-count subcheck as well as the geometry_type_is_multilinestring subcheck.
- Dropping the vessel or survey_date columns when assembling the output loses the identifying-attributes subcheck.
Map
Recent runs task v4
| adapter | started | score | steps | duration | cost | status |
|---|---|---|---|---|---|---|
| openrouter-gemma4-26b-basic | 2026-06-18T07:32:32Z | running | 3 | — | 0.09¢ | running |
| openrouter-deepseek-v4-flash-basic | 2026-06-18T03:08:04Z | 0.00 | 7 | 3:39 | 0.70¢ | done |
| openrouter-deepseek-v4-flash-detailed | 2026-06-17T22:01:33Z | 0.00 | 11 | 3:35 | 0.80¢ | done |
| openrouter-gemma4-26b-detailed | 2026-06-17T19:47:47Z | 0.00 | 6 | 0:48 | 0.57¢ | done |
| openrouter-deepseek-v4-flash-basic | 2026-06-16T21:43:55Z | 1.00 | 16 | 6:14 | 1.36¢ | done |