Merge pull request '封装 ECCV 2026 Springer 正式出版采集器' (#80) from codex/eccv2026-publications into main
Metadata integrity checks / metadata (push) Successful in 8m36s

Reviewed-on: #80
This commit was merged in pull request #80.
This commit is contained in:
2026-11-18 10:58:39 +00:00
8 changed files with 438 additions and 81 deletions
+17
View File
@@ -293,6 +293,23 @@ jobs:
subprocess.run([python,'-I','-B','-m','paper_atlas','collect','iclr-archive','--help'],cwd=outside,check=True)
subprocess.run([python,'-I','-B','-m','paper_atlas','collect','acl','--help'],cwd=outside,check=True)
subprocess.run([python,'-I','-B','-m','paper_atlas','collect','springer-selected','--help'],cwd=outside,check=True)
publisher_fixture = "\n".join((
"import pathlib, runpy, sys",
"fixture = runpy.run_path(sys.argv[1])",
"root = pathlib.Path(sys.argv[2])",
"root.mkdir()",
"fixture['snapshots'](root)",
))
publisher_input = root/'eccv-publisher-snapshots'
subprocess.run([python,'-I','-B','-c',publisher_fixture,
str(src/'tests/test_eccv2026_publications.py'),str(publisher_input)],cwd=outside,check=True)
subprocess.run([python,'-I','-B','-m','paper_atlas','collect','eccv2026-publications',
'--toc-snapshots',str(publisher_input/'toc'),
'--chapter-snapshots',str(publisher_input/'chapters'),
'--out',str(root/'installed-eccv-publisher')],cwd=outside,check=True)
publisher_report = json.loads((root/'installed-eccv-publisher/collection-report.json').read_bytes())
assert publisher_report['records'] == 1 and publisher_report['toc_chapters'] == 2835
assert not publisher_report['database_written']
springer = json.loads(gzip.decompress((src/'tests/fixtures/springer-aistats1993-fixture.json.gz').read_bytes()))
for group in ('toc','chapters'):
folder = root/'springer-snapshots'/group