Exclude four pre-2025 businesses from launch candidates

This commit is contained in:
2026-10-30 17:10:51 +08:00
parent dc7ec078e1
commit 4cbb88181a
7 changed files with 146 additions and 25 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ def candidate_register():
lines = []
statuses = {'pending-year': '成立年待核', 'linked': '已关联公司',
'existing-outside-cohort': '已有关联,年份范围外',
'outside-cohort': '成立年范围外,不新增公司', 'promotion': '推广活动,非公司新增'}
'outside-cohort': '范围外或既有业务,不新增公司', 'promotion': '推广活动,非公司新增'}
for batch in batches:
assert batch['sourceId'] in known_sources
assert batch['accessedAt'] <= DATA['asOf']