Compare commits

...

5 Commits

Author SHA1 Message Date
codex-bot 16575a538d Record expanded audit and production checks through batch 2288
Metadata integrity checks / metadata (push) Waiting to run
2026-11-26 01:00:08 +08:00
codex-bot 37bf61f298 Document verified production identity and abstract checkpoint
Metadata integrity checks / metadata (push) Has started running
2026-11-26 00:05:35 +08:00
Zayden-Jung b03a8bc5fc Merge pull request '记录 NeurIPS 录用、跨会投稿历史与 MotiFlow 去重' (#95) from codex/neurips-posting-history-reconciliation into main
Metadata integrity checks / metadata (push) Successful in 1h38m15s
Reviewed-on: #95
2026-11-25 14:55:41 +00:00
Zayden-Jung 67d4cd46ff Merge pull request '扩展全库审计的标题与署名候选覆盖' (#98) from codex/extended-identity-audit into main
Metadata integrity checks / metadata (push) Has been cancelled
Reviewed-on: #98
2026-11-25 14:53:37 +00:00
codex-bot 168ad8ec4e Extend global audit to author variants and large rosters
Metadata integrity checks / metadata (push) Has been cancelled
2026-11-25 22:44:36 +08:00
5 changed files with 113 additions and 13 deletions
+2
View File
@@ -2,6 +2,8 @@
最新 2020–2026 生产核查看 [2026-11-25 活跃范围复查](active-coverage-census-2026-11-25.md)。逐篇公开决定、已发表清单和全库去重的口径分别见页面内说明。
全库去重的已核验批次、待复核候选与摘要缺口见 [第 17 步生产验收记录](global-verification-checkpoint-2273.md)。
IROS 2026 的 DOI 入库进度、摘要来源和主会归属见 [2026-11-25 出版记录核验](iros2026-publication-coverage-2026-11-25.md)。
最新生产验收与剩余工作见 [2026-11-17 补漏状态](backfill-status-2026-11-17.md):当日 `14:06:28 UTC` 固定范围快照中,278 个会议年份槽位有 272 个含记录、6 个仍为空;这不代表完整覆盖,第 14 步仍未完成。后续 MM 规范化、只读候选审计与出版核查不等于生产导入。
@@ -0,0 +1,41 @@
# 第 17 步生产验收记录(截至批次 2273)
## 论文去重与投稿历史
生产快照 2263 筛查了 2,889 组优先候选。615 组的 arXiv 原始元数据带有作者公开说明,明确了录用会议与年份。其中 543 组的规范化摘要相似度至少为 0.97,经论文身份与来源复核后已合并,并通过正常查询逐组验收。相似度用于筛选,版本判定还核对作者、标识及录用来源。
| 生产批次 | 验收论文组 | 合并旧论文 ID | 保留的录用、拒稿、撤稿决定观察 |
| --- | ---: | ---: | --- |
| 2266 | 36 | 36 | 42 / 0 / 0 |
| 2267 | 80 | 80 | 100 / 0 / 1 |
| 2268 | 100 | 100 | 110 / 2 / 0 |
| 2269 | 92 | 92 | 104 / 2 / 1 |
| 2271 | 10 | 13 | 11 / 6 / 0 |
| 2272 | 90 | 90 | 103 / 0 / 0 |
| 2273 | 135 | 135 | 158 / 10 / 1 |
| 合计 | 543 | 546 | 628 / 20 / 3 |
每个旧 ID 通过别名解析到保留的论文。逐组查询核对了原投稿和决定观察。论文有跨会录用和拒稿经历时,各次投稿按原会议、年份和赛道保留。决定观察可来自同一次投稿的多个来源。
筛查时,72 组带作者录用说明的候选进入摘要差异复核队列。其中 55 组的摘要相似度在 0.90 至 0.97 之间(含下限),16 组低于 0.90,1 组缺少可比较的摘要。另有 7 条可能关联到已合并论文的早期记录独立待核。原筛查中另外 2,273 组需要补充来源证据,1 组的记录已在筛查前变化。上述数字以筛查时的候选为单位。
## 摘要覆盖
只读快照 2266 共 3,577,743 篇论文,263,024 篇缺摘要,其中 262,962 篇至少有一次已知录用,涉及 1,212 个会议、年份和赛道组合。缺摘要的论文中,243,142 篇关联 DBLP 主来源。论文可能同时归入多个来源或届次,分组计数存在重叠。
该快照找到一篇可以用库内现有来源补摘要的论文。批次 2270 修复 *Weather2vec* 的摘要和论文身份,查询确认 AAAI 2023 和 UAI 2022 workshop 的录用均保留。其余缺口需要补查外部来源。
## 全库复扫与复查入口
扩展身份复扫使用提交 `168ad8ec4e0c35d63c917178a21830aec244e751` 和只读快照 2271,覆盖 3,577,457 篇论文。完整性阶段的九项异常计数均为零,全文索引有效,覆盖清单包含 1,799 个来源与届次分组。复扫产出 5,810 组同标题同署名候选、7,303 组同标题署名差异候选和 18,422 对近似标题同署名候选。各类候选可能重叠,论文身份按来源证据复核。最后一批写入以后还需重新核对全库身份、全文查询与覆盖。
逐批生产证据保存在服务器验证目录 `/data/paper-index/validation/`。批次 2273 的验收文件为 `primary-proof-merge-2272/verified.json`,SHA-256 为 `fefeca37c6290ba7b0f8f3f26fa67827b4f78f8a64e940772f0691943b212a54`。摘要报告为 `global-abstract-coverage-2266/abstract-coverage.json`,SHA-256 为 `16dba27f22dbf5480807ab2997b97c9aa657d3699d3fe42c3b9815444bbb5ce9`。扩展复扫目录为 `global-identity-extended-2271/`,其中 `integrity.json` 的 SHA-256 为 `2776ff7e920a5c0513dee1bdbabe8fc5d710788703e99293c5798fa6108eeb18`。重跑方法见 [生产审计操作手册](../operations.md)。
## 后续批次 2274–2288
- 摘要差异队列的 72 组均完成版本复核。71 组合并并通过查询验收。另 1 组保留独立记录,因为作者明确说明只有部分内容获 ICLR 2024 录用,会议决定只关联到会议版本。[预印本](https://arxiv.org/abs/2306.09251) · [官方会议记录](https://iclr.cc/virtual/2024/poster/19463)
- 署名差异筛查在快照 2275 找到 377 组有作者公开录用说明的候选。截至批次 2288,219 组已合并并通过逐组查询验收,158 组待核。已合并记录保留各来源的原始署名。
- 上述两类候选合计新增验收 290 组,保留 334 条录用、12 条拒稿和 2 条撤稿决定观察。涉及第三条早期记录的个别候选继续单独核对。
- 近似标题筛查已在快照 2287 启动,覆盖扩展复扫中未进入初次筛查的 17,027 对候选。该筛查与最终全库验收仍在进行。
扩展复扫的完整报告为 `global-identity-extended-2271/report.json`,SHA-256 为 `ff2ca2fde417d3ff13cb54e64180d6b1f6b54192dce0e4ae880bdb33f831f26a`。批次 2288 的验收文件为 `global-variant-proof-2287/verified.json`,SHA-256 为 `78c298b0badc91eb58df553f34535dde888692ebc88b215b0245e7b8d2959f46`。
+4 -1
View File
@@ -7,12 +7,15 @@
```bash
paper-atlas audit global-identity \
--pg-service foundry-research --pg-schema research \
--extended-titles \
--scratch-root /data/paper-index/validation \
--candidate-output /data/paper-index/validation/identity-candidates-2026-11-22.jsonl \
> /data/paper-index/validation/identity-report-2026-11-22.json
```
JSON 报告记录快照时间、论文与缺摘要计数、稳定标识冲突、约束状态、会议年度与轨道的来源覆盖,以及一次实际的全文搜索和执行计划。JSONL 保存同题且规范化作者集合相同的论文组,以及相同作者集合中标题相似度至少为 0.90 的论文对。超过 100 条记录的作者组会列入报告,留作后续逐组核对。缺作者、作者增减或换名的版本需要结合 DOI、论坛或作者说明,使用 `audit source-identities` 和原始来源复核。
JSON 报告记录快照时间、论文与缺摘要计数、稳定标识冲突、约束状态、会议年度与轨道的来源覆盖,以及一次实际的全文搜索和执行计划。JSONL 保存同题且规范化作者集合相同的论文组,以及相同作者集合中标题相似度至少为 0.90 的论文对。全库验收使用 `--extended-titles`,可额外获得同题但署名不同或缺失的候选,以及超过 100 条记录的同作者组中的近似题名候选。由于需要比较这些组的题名,运行时间随组内题名数增加。日常核查省略该参数时,大组只输出规模和样例。
近似题名比较要求规范化作者集合一致。题名与署名均变动的版本,使用 `audit source-identities` 并结合 DOI、论坛、作者说明或原始来源复核。候选仍需核实论文身份和投稿决定的证据。
将报告、候选文件、运行版本与 SHA-256 一起保留。使用 `audit histories` 核对拒稿、撤稿、后续录用和来源链接。需要合并候选时先确认论文版本关系并保存投稿、决定、标签及来源证据,再按已授权的流程操作。新一批导入完成后更新快照和审计报告。
+36 -12
View File
@@ -96,7 +96,8 @@ def _stage_titles(connection, scratch):
counts = Counter(papers=0, missing_abstract=0, missing_author_keys=0, invalid_authors_json=0)
with connection.connection.cursor(name='paper_atlas_global_identity_scan') as titles:
titles.itersize = 5000
titles.execute('SELECT id,title_key,authors_json,abstract IS NULL OR btrim(abstract)=\'\' FROM papers ORDER BY id')
# The scratch indexes provide the ordering used by every candidate query.
titles.execute('SELECT id,title_key,authors_json,abstract IS NULL OR btrim(abstract)=\'\' FROM papers')
while rows := titles.fetchmany(5000):
batch = []
for row in rows:
@@ -117,7 +118,7 @@ def _stage_titles(connection, scratch):
return dict(counts)
def _candidates(scratch, output):
def _candidates(scratch, output, *, extended_titles=False):
counts = Counter(exact_title_groups=0, exact_title_and_roster_groups=0,
exact_title_and_roster_papers=0, near_title_and_roster_pairs=0,
oversized_rosters=0, papers_in_oversized_rosters=0)
@@ -134,6 +135,20 @@ def _candidates(scratch, output):
ids = [row[0] for row in scratch.execute('''
SELECT id FROM titles WHERE title_key=? AND authors=? ORDER BY id''', (title,roster))]
emit({'kind':'exact_title_and_roster','title_key':title,'paper_ids':ids})
if extended_titles:
counts['exact_title_with_roster_variation_groups'] = 0
counts['near_title_pairs_in_oversized_rosters'] = 0
for title,roster_count,missing in scratch.execute('''
SELECT title_key,count(DISTINCT authors),count(*)-count(authors)
FROM titles WHERE title_key<>''
GROUP BY title_key HAVING count(*)>1
AND (count(DISTINCT authors)>1 OR count(authors)<count(*))
ORDER BY title_key'''):
ids = [row[0] for row in scratch.execute('''
SELECT id FROM titles WHERE title_key=? ORDER BY id''', (title,))]
counts['exact_title_with_roster_variation_groups'] += 1
emit({'kind':'exact_title_with_roster_variation','title_key':title,'paper_ids':ids,
'distinct_known_rosters':roster_count,'papers_missing_roster':missing})
cursor = scratch.execute('''
SELECT authors,title_key,id FROM titles WHERE authors IS NOT NULL AND length(title_key)>=25
ORDER BY authors,title_key,id''')
@@ -142,29 +157,34 @@ def _candidates(scratch, output):
size = 0
for _, title, paper_id in group:
size += 1
if size <= ROSTER_GROUP_LIMIT:
if extended_titles or size <= ROSTER_GROUP_LIMIT:
entries.append((title,paper_id))
if size > ROSTER_GROUP_LIMIT:
oversized = size > ROSTER_GROUP_LIMIT
if oversized:
counts['oversized_rosters'] += 1
counts['papers_in_oversized_rosters'] += size
emit({'kind':'oversized_roster','size':size,'sample_paper_ids':[p for _,p in entries[:5]]})
continue
if not extended_titles:
emit({'kind':'oversized_roster','size':size,'sample_paper_ids':[p for _,p in entries[:5]]})
continue
for (left,left_id),(right,right_id) in combinations(entries,2):
if left==right or 2*min(len(left),len(right))/(len(left)+len(right)) < TITLE_SCORE:
continue
matcher = SequenceMatcher(None,left,right,autojunk=False)
if matcher.quick_ratio()>=TITLE_SCORE and (score:=matcher.ratio())>=TITLE_SCORE:
counts['near_title_and_roster_pairs'] += 1
if oversized:
counts['near_title_pairs_in_oversized_rosters'] += 1
emit({'kind':'near_title_and_roster','paper_ids':[left_id,right_id],'score':round(score,5)})
return dict(counts)
def report(connection, scratch_root, candidates):
def report(connection, scratch_root, candidates, *, extended_titles=False):
transaction = dict(connection.execute('''
SELECT current_database() AS database,current_schema() AS schema,
current_setting('transaction_read_only') AS read_only,
current_setting('transaction_isolation') AS isolation,
transaction_timestamp()::text AS snapshot_at''').fetchone())
transaction_timestamp()::text AS snapshot_at,
(SELECT max(id) FROM ingest_runs) AS last_ingest_run''').fetchone())
if transaction['read_only']!='on' or transaction['isolation']!='repeatable read':
raise ValueError('A read-only repeatable-read snapshot is required')
if shutil.disk_usage(scratch_root).free < 2*1024**3:
@@ -177,12 +197,14 @@ def report(connection, scratch_root, candidates):
with closing(sqlite3.connect(Path(directory)/'titles.sqlite')) as scratch:
scratch.execute('PRAGMA temp_store=FILE')
counts = _stage_titles(connection,scratch)
candidate_counts = _candidates(scratch,candidates)
candidate_counts = _candidates(scratch,candidates,extended_titles=extended_titles)
return {'snapshot':transaction,'papers':counts,'integrity':integrity,
'candidate_counts':candidate_counts,'edition_sources':coverage,'search':search,
'candidate_rules':{'minimum_normalized_title_length':25,'near_title_score':TITLE_SCORE,
'max_papers_per_near_title_author_group':ROSTER_GROUP_LIMIT,
'requires_exact_normalized_author_set':True},
'max_papers_per_near_title_author_group':None if extended_titles else ROSTER_GROUP_LIMIT,
'includes_exact_title_with_roster_variation':extended_titles,
'requires_exact_normalized_author_set':not extended_titles,
'near_title_requires_exact_normalized_author_set':True},
'canonical_data_changed':False}
@@ -192,8 +214,10 @@ def main(argv=None, *, prog=None):
parser.add_argument('--pg-schema')
parser.add_argument('--scratch-root',type=Path,required=True)
parser.add_argument('--candidate-output',type=Path,required=True)
parser.add_argument('--extended-titles',action='store_true',
help='同时输出同题不同或缺失署名的候选,并扫描超出默认规模的作者组')
args = parser.parse_args(argv)
with closing(ReadConnection(args.pg_service,args.pg_schema)) as connection:
with args.candidate_output.open('x',encoding='utf-8') as candidates:
result = report(connection,args.scratch_root,candidates)
result = report(connection,args.scratch_root,candidates,extended_titles=args.extended_titles)
print(json.dumps(result,ensure_ascii=False))
+30
View File
@@ -52,6 +52,36 @@ class GlobalIdentityCandidatesTest(unittest.TestCase):
global_identity._author_fingerprint(records))
self.assertIsNone(global_identity._author_fingerprint('[]'))
def test_extended_titles_include_changed_rosters_and_scan_oversized_rosters(self):
output = io.StringIO()
with sqlite3.connect(':memory:') as scratch:
scratch.execute('CREATE TABLE titles (id INTEGER, title_key TEXT, authors BLOB)')
scratch.executemany('INSERT INTO titles VALUES (?,?,?)', [
(1, 'astronomicaltransientcatalogue', b'first'),
(2, 'astronomicaltransientcatalogues', b'first'),
(3, 'astronomicaltransientcatalogued', b'first'),
(4, 'astronomicaltransientcatalogue', b'second'),
(5, 'astronomicaltransientcatalogue', None),
(6, 'anotherunrelatedarticleheading', None),
(7, 'anotherunrelatedarticleheading', None),
])
with patch.object(global_identity, 'ROSTER_GROUP_LIMIT', 2):
counts = global_identity._candidates(scratch, output, extended_titles=True)
records = [json.loads(row) for row in output.getvalue().splitlines()]
self.assertEqual(counts['oversized_rosters'], 1)
self.assertEqual(counts['near_title_pairs_in_oversized_rosters'], 3)
self.assertEqual(counts['near_title_and_roster_pairs'], 3)
self.assertEqual(counts['exact_title_with_roster_variation_groups'], 2)
self.assertEqual(records[:2], [
{'kind': 'exact_title_with_roster_variation', 'title_key': 'anotherunrelatedarticleheading',
'paper_ids': [6, 7], 'distinct_known_rosters': 0, 'papers_missing_roster': 2},
{'kind': 'exact_title_with_roster_variation', 'title_key': 'astronomicaltransientcatalogue',
'paper_ids': [1, 4, 5], 'distinct_known_rosters': 2, 'papers_missing_roster': 1},
])
self.assertEqual({tuple(sorted(record['paper_ids'])) for record in records[2:]},
{(1, 2), (1, 3), (2, 3)})
def test_doi_pattern_is_bound_as_a_parameter(self):
connection = Mock()