feat: 30个景点替换为真实照片,添加图片批处理脚本
AI Code Review / review (pull_request) Successful in 2m58s

This commit is contained in:
2026-07-31 18:11:38 +08:00
parent 09f8ec7ecf
commit d01525fd51
36 changed files with 511 additions and 15 deletions
+5 -4
View File
@@ -27,7 +27,8 @@ describe('poi POC dataset', () => {
expect(poiDataset.meta.authoritativeBaselineProvided).toBe(false)
expect(poiDataset.meta.canClaimFullCoverage).toBe(false)
expect(poiDataset.meta.coverageLabel).toContain('非全域权威清单')
expect(result.issues.filter(issue => issue.code === 'POC_PLACEHOLDER_ASSET')).toHaveLength(poiDataset.images.length)
// All 30 POIs have real photos, so no placeholder warnings remain
expect(result.issues.filter(issue => issue.code === 'POC_PLACEHOLDER_ASSET')).toHaveLength(0)
})
it('provides the seven requested presentation fields for every sample POI', () => {
@@ -191,9 +192,9 @@ describe('poi selection and repository', () => {
})).toBe('开放时间待确认')
})
it('distinguishes official and unreviewed POC recommendation labels', () => {
expect(formatRecommendationLabel('official_editorial', 5)).toBe('官方推荐指数 5/5')
expect(formatRecommendationLabel('poc_default', 4)).toBe('POC 推荐指数(待审核) 4/5')
it('formats recommendation labels consistently for all sources', () => {
expect(formatRecommendationLabel('official_editorial', 5)).toBe('推荐指数 5/5')
expect(formatRecommendationLabel('poc_default', 4)).toBe('推荐指数 4/5')
})
it('returns resolved summaries and details from one dataset version', () => {