|
Some checks failed
CI / changes (pull_request) Successful in 8s
CI / changes (push) Successful in 9s
CI / backend-tests (push) Has been skipped
CI / frontend-tests (push) Has been skipped
CI / openapi-codegen-check (push) Has been skipped
CI / frontend-tests (pull_request) Successful in 49s
CI / openapi-codegen-check (pull_request) Failing after 1m35s
CI / backend-tests (pull_request) Failing after 8m47s
- Rename top_poi → items in poi-score.json to match PoiScoreResponse TS type (mock was cast as PoiScoreResponse but had wrong field name → items undefined at runtime in MOCK_POI_SCORE mode → PoiList2Gis crashed at [...items].sort) - Recompute all score_contribution values using backend formula (weight / _MAX_STRAIGHT_SCORE * 100, _MAX_STRAIGHT_SCORE=0.315) and poi_weighted_score=19.9 (was 72, which was inconsistent with the new normalization) - Add assert result.poi_weighted_score == 0.0 to test_routing_decay_empty_db to match the straight-line empty-db assertion - Remove stale comment in PoiList2Gis.tsx saying normalization needs fixing in site-finder-api.ts (already done backend-side in this PR) |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .dockerignore | ||
| .env.example | ||
| .eslintrc.json | ||
| Dockerfile | ||
| next-env.d.ts | ||
| next.config.ts | ||
| package-lock.json | ||
| package.json | ||
| sentry.client.config.ts | ||
| sentry.edge.config.ts | ||
| sentry.server.config.ts | ||
| tsconfig.json | ||
| vitest-env.d.ts | ||
| vitest.config.ts | ||
| vitest.setup.ts | ||