Document audit findings and verification results
Some checks failed
CI / Lint → Typecheck → Test → Build (22) (push) Failing after 5s
CI / E2E Tests (push) Has been skipped
CI / AI Services (Python) — Smoke (push) Failing after 7s
CodeQL Analysis / CodeQL (javascript-typescript) (push) Failing after 23s
Deploy / Build API Image (push) Failing after 10s
Deploy / Build Web Image (push) Failing after 4s
Deploy / Build AI Services Image (push) Failing after 5s
E2E Tests / Playwright E2E (push) Failing after 10s
Security Scanning / Dependency Audit (pnpm) (push) Failing after 3s
Security Scanning / Trivy Scan — API Image (push) Failing after 41s
Security Scanning / Trivy Scan — Web Image (push) Failing after 28s
Security Scanning / Trivy Scan — AI Services Image (push) Failing after 33s
Security Scanning / Trivy Filesystem Scan (push) Failing after 26s
Deploy / Deploy to Staging (push) Has been skipped
Deploy / Smoke Test Staging (push) Has been skipped
Deploy / Deploy to Production (push) Has been skipped
Deploy / Smoke Test Production (push) Has been skipped
Security Scanning / Security Gate (push) Failing after 1s
Deploy / Rollback Staging (push) Has been skipped
Deploy / Rollback Production (push) Has been skipped

This commit is contained in:
Ho Ngoc Hai
2026-05-04 13:42:52 +07:00
parent 1e9ef567a9
commit 57cd84aebf
3 changed files with 106 additions and 3 deletions

View File

@@ -63,8 +63,14 @@ type PoiCategoryKey =
*/
const CATEGORY_QUERIES: Record<PoiCategoryKey, string> = {
// ── Education ─────────────────────────────────────────────────────────
SCHOOL_PRIMARY: '["amenity"="school"]["isced:level"~"^(primary|0|1)$"]',
SCHOOL_SECONDARY: '["amenity"="school"]["isced:level"~"^(secondary|2|3)$"]',
// OSM Vietnam rarely tags `isced:level`, so we accept everything tagged
// `amenity=school` and let `school:type=primary|secondary` (when
// present) drive the post-import categorisation. The two SCHOOL_*
// selectors here intentionally overlap on plain `amenity=school` —
// we de-duplicate on `osmId` UNIQUE so it's a no-op on the second
// pass.
SCHOOL_PRIMARY: '["amenity"="school"]',
SCHOOL_SECONDARY: '["amenity"="school"]["school:type"~"secondary|gymnasium|high"]',
UNIVERSITY: '["amenity"~"^(university|college)$"]',
// ── Health ────────────────────────────────────────────────────────────
HOSPITAL: '["amenity"="hospital"]',