terraproof 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -2
- package/package.json +1 -1
- package/routing/checks.json +4 -0
- package/routing/registry.json +2212 -2212
- package/skills/geomaster/UPSTREAM.md +34 -34
- package/sources/SOURCES.md +374 -374
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ Terraproof helps AI coding agents do geospatial work they can prove. It gives an
|
|
|
12
12
|
|
|
13
13
|
Everything runs locally and offline. No model API key is needed.
|
|
14
14
|
|
|
15
|
-
**Status:** experimental (v0.
|
|
15
|
+
**Status:** experimental (v0.7.0). See [Evaluation status](#evaluation-status) for what has and has not been measured.
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
@@ -63,6 +63,20 @@ Checks cover CRS and units, geometry validity and GeoJSON winding, record counts
|
|
|
63
63
|
|
|
64
64
|
The grade describes the data path and the checks that ran. It is not a certification of survey, engineering, legal, or safety fitness.
|
|
65
65
|
|
|
66
|
+
### Verify NDVI against its source bands
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
python -m terraproof check outputs/ndvi.tif --index-formula ndvi --nir inputs/nir.tif --red inputs/red.tif
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
This opt-in check compares every output cell with `(NIR-red)/(NIR+red)`, using each
|
|
73
|
+
raster's own scale/offset metadata. Supply single-band rasters on the same grid;
|
|
74
|
+
source-band roles and calibration must be declared correctly. Missing source data
|
|
75
|
+
and a zero denominator cannot become valid output values. Extra output masking
|
|
76
|
+
warns because its QA policy is not verified here. Source files are included in the
|
|
77
|
+
evidence report and must be covered when a provenance manifest is supplied.
|
|
78
|
+
See [the full contract and limits](docs/INDEX_FORMULA.md).
|
|
79
|
+
|
|
66
80
|
---
|
|
67
81
|
|
|
68
82
|
## Use it from your agent
|
|
@@ -122,9 +136,10 @@ Each skill lives in `skills/<name>/` with a `SKILL.md`, references, and a `skill
|
|
|
122
136
|
|
|
123
137
|
## Evaluation status
|
|
124
138
|
|
|
125
|
-
- **Checks:**
|
|
139
|
+
- **Checks:** 33 executable eval tasks with independent oracles pass with 0 false passes. Of 50 seeded wrong outputs, production checks reject 25; the other 25 are caught only by the independent oracle (declared blind spots). Passing the benchmark does not mean the production checks catch every wrong output. See [`evals/README.md`](evals/README.md).
|
|
126
140
|
- **Routing:** an independent, frozen 160-item set (v5) passed once in both languages: English recall 0.97 with 3.75 wrong picks per 100, Arabic recall 0.96 with 2.5. Earlier independent sets (v3, v4) failed and stay on record. The v5 set was written by an AI agent, not reviewed by an expert.
|
|
127
141
|
- **Agent lift:** in a 54-run Claude Code comparison on 9 tasks, runs with Terraproof passed 27/27 and runs without it 21/27. The pre-specified test is **not significant** (p = 0.125), and five tasks passed either way, so no lift is claimed. The clearest single result is Landsat QA masking (3/3 with, 0/3 without). See [`docs/plans/Terraproof_Phase5_PLAN.md`](docs/plans/Terraproof_Phase5_PLAN.md).
|
|
142
|
+
- **Harder cohort:** a one-repeat Claude Code screen passed all six tasks both with and without Terraproof. That small screen shows no observed benefit and is separate from the original nine-task study. API pilots are exploratory and do not establish lift.
|
|
128
143
|
- **Real hosts:** tool use through MCP has been verified with Codex and Claude Code. Cursor, Copilot and OpenCode are unit-tested against their documented layouts only.
|
|
129
144
|
|
|
130
145
|
---
|
package/package.json
CHANGED
package/routing/checks.json
CHANGED
|
@@ -124,6 +124,10 @@
|
|
|
124
124
|
"preflight.output_units": {
|
|
125
125
|
"family": "preflight",
|
|
126
126
|
"description": "Plan check: the output CRS units match the measurement units the plan requests, so a metric result is not written in degrees or the reverse."
|
|
127
|
+
},
|
|
128
|
+
"rs.index_formula": {
|
|
129
|
+
"family": "rs",
|
|
130
|
+
"description": "Opt-in NDVI comparison with declared red/NIR sources, their scale/offset and joint valid support; extra masking warns."
|
|
127
131
|
}
|
|
128
132
|
}
|
|
129
133
|
}
|