Register public SR007 roster and verify three new AI companies

This commit is contained in:
2026-11-01 00:25:46 +08:00
parent 5ba790eec2
commit eb7e758570
6 changed files with 1499 additions and 20 deletions
+7
View File
@@ -42,6 +42,13 @@ def source_register():
assert source['boundary'] and source['nextCheck']
if source['id'] == 'S01':
assert source.get('coverageSummary') == yc_coverage_summary(), 'YC source summary is stale'
if source['id'] == 'S14' and source.get('rosterAudit'):
roster = source['rosterAudit']
batch = next(batch for batch in DATA['candidateBatches'] if batch['id'] == roster['candidateBatchId'])
assert batch['sourceId'] == 'S14' and not batch['complete']
assert roster['defaultCohort'] == 'SR007' and roster['next'] is None
assert len(batch['records']) == roster['recordCount'] == roster['reportedCount']
assert len({row['url'] for row in batch['records']}) == roster['recordCount']
if source['url']:
assert urlsplit(source['url']).scheme in {'http', 'https'} and urlsplit(source['url']).netloc
for host in source['hosts']: