test: clean SGS hall POI smoke script

This commit is contained in:
lyf
2026-06-29 23:37:34 +08:00
parent 5478986d9a
commit ec6f656832
2 changed files with 22 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
# Task 1 Report
Status: DONE
Files changed:
- `scripts/check-sgs-hall-poi-adapter.mjs`
Commands run:
- `node scripts/check-sgs-hall-poi-adapter.mjs`
- Output summary: smoke script passed. Current script validates whitelist enforcement, fallback POI emission for unmatched public exhibition spaces, entrance coordinate preference, space-center fallback when entrance coordinates are missing, and sourceConfidence semantics.
Commits created:
- `3f049f2` test: cover SGS hall POI display rules
- `5478986` test: strengthen SGS hall POI smoke coverage
Self-review notes:
- The script is standalone Node coverage for the intended adapter rules because this repository has no configured test runner.
- The production adapter implementation is covered by Task 2 in the plan.
Concerns:
- None.