test(acceptance): reproducible Stage 8 acceptance package
Add test/acceptance/ so the customer's reviewers can re-run what the Stage 8 documents claim on an isolated stand built from this branch: - compose.acceptance.yml + stand.sh: compose project gis-acceptance (app 18080, postgres 15432, minio 19000/19001, rabbitmq mgmt 15672), POSTGIS_PLATFORM / MINIO_IMAGE knobs for arm64 and amd64 hosts. - functional.sh: the 89 test-stand checks of Приложение 7 section 5 (F01-F38, N01-N38, L02-L05, L07-L15), own prefixed test data, PostGIS/MinIO confirmation via the stand containers, full cleanup. - lp_gen.py / lp_run.sh / lp_verify.py: synthetic ЛП inputs, a run from stage 0, and an independent numpy re-implementation of every node that compares all 15 outputs pixel by pixel; read-only (GET) mode works against any stand, in row/column windows for 22219x14977 rasters. - load.sh + seed.sh: scenarios S1-S6 of Приложение 3 with hey 0.1.5 running inside the stand network; CSV/JSON summaries, criteria K1-K4. - scan.sh: govulncheck (source and binary), gosec, trivy fs/image, golangci-lint; fails on any High/Critical. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
145
test/acceptance/data/plots_nko.geojson
Normal file
145
test/acceptance/data/plots_nko.geojson
Normal file
@@ -0,0 +1,145 @@
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"features": [
|
||||
{
|
||||
"type": "Feature",
|
||||
"properties": {
|
||||
"plot_id": 1,
|
||||
"name": "Участок 1",
|
||||
"area_ha": 1680.0
|
||||
},
|
||||
"geometry": {
|
||||
"type": "Polygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[
|
||||
69.0,
|
||||
53.6
|
||||
],
|
||||
[
|
||||
69.6,
|
||||
53.6
|
||||
],
|
||||
[
|
||||
69.6,
|
||||
54.0
|
||||
],
|
||||
[
|
||||
69.0,
|
||||
54.0
|
||||
],
|
||||
[
|
||||
69.0,
|
||||
53.6
|
||||
]
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Feature",
|
||||
"properties": {
|
||||
"plot_id": 2,
|
||||
"name": "Участок 2",
|
||||
"area_ha": 2100.0
|
||||
},
|
||||
"geometry": {
|
||||
"type": "Polygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[
|
||||
69.9,
|
||||
54.2
|
||||
],
|
||||
[
|
||||
70.5,
|
||||
54.2
|
||||
],
|
||||
[
|
||||
70.5,
|
||||
54.7
|
||||
],
|
||||
[
|
||||
69.9,
|
||||
54.7
|
||||
],
|
||||
[
|
||||
69.9,
|
||||
54.2
|
||||
]
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Feature",
|
||||
"properties": {
|
||||
"plot_id": 3,
|
||||
"name": "Участок 3",
|
||||
"area_ha": 1400.0
|
||||
},
|
||||
"geometry": {
|
||||
"type": "Polygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[
|
||||
70.6,
|
||||
53.7
|
||||
],
|
||||
[
|
||||
71.1,
|
||||
53.7
|
||||
],
|
||||
[
|
||||
71.1,
|
||||
54.1
|
||||
],
|
||||
[
|
||||
70.6,
|
||||
54.1
|
||||
],
|
||||
[
|
||||
70.6,
|
||||
53.7
|
||||
]
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Feature",
|
||||
"properties": {
|
||||
"plot_id": 4,
|
||||
"name": "Участок 4",
|
||||
"area_ha": 1750.0
|
||||
},
|
||||
"geometry": {
|
||||
"type": "Polygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[
|
||||
71.2,
|
||||
54.5
|
||||
],
|
||||
[
|
||||
71.7,
|
||||
54.5
|
||||
],
|
||||
[
|
||||
71.7,
|
||||
55.0
|
||||
],
|
||||
[
|
||||
71.2,
|
||||
55.0
|
||||
],
|
||||
[
|
||||
71.2,
|
||||
54.5
|
||||
]
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user