1. Discovery và phân bố version (25.000 bài)

1. Discovery và phân bố version (25.000 bài)#

1.1 Phân giải arXiv ID và lịch sử revision#

arXiv Atom API được truy vấn theo lô 50-100 ID/lần (tối thiểu 3 giây/request). Mỗi paper giữ danh sách versions từ v1 tới vN; published gắn cho v1 và updated cho version mới nhất. Với các revision trung gian chưa biết timestamp, pipeline giữ null thay vì suy đoán.

Hide code cell source

from pathlib import Path
import json
import pandas as pd
import matplotlib.pyplot as plt
from IPython.display import display, Markdown
data = json.loads((Path.cwd().parent / 'report_summary.json').read_text(encoding='utf-8'))
scope, m1, m2, bench = data['scope'], data['m1'], data['m2'], data['m2_benchmark']
plt.rcParams.update({'figure.figsize': (9.2, 4.2), 'axes.spines.top': False, 'axes.spines.right': False, 'figure.dpi': 120})
print(f"Toàn nhóm (5 thành viên): {scope['papers']:,} paper / {scope['versions']:,} version | Cập nhật: {data['report_date']}")
Toàn nhóm (5 thành viên): 25,000 paper / 41,498 version | Cập nhật: 2026-11-22

Hide code cell source

hist = pd.Series({int(k): v for k, v in m1['version_histogram'].items()}).sort_index()
display(Markdown('**Bảng 1.1. Phân bố số version trên mỗi publication (25.000 bài).**'))
display(hist.rename_axis('Số version/bài').to_frame('Số bài báo'))
ax = hist.plot.bar(color='#2f628e', xlabel='Số version / bài báo', ylabel='Số bài báo', title='Phân bố revision trên 25.000 bài báo')
plt.tight_layout(); plt.show()
display(pd.Series(m1['metadata_missing_fraction'], name='Tỷ lệ thiếu (0-1)').to_frame())
display(Markdown(f"Trung bình **{scope['versions']/scope['papers']:.2f} version/bài** "
                 f"({m1['missing_version_dates']:,} / {scope['versions']:,} mốc ngày revision trung gian chưa có từ Atom API)."))

Bảng 1.1. Phân bố số version trên mỗi publication (25.000 bài).

Số bài báo
Số version/bài
1 14067
2 7266
3 2492
4 765
5 246
6 93
7 40
8 18
9 2
10 4
11 2
13 2
14 2
17 1
../_images/7f5662e181483fd543e33ed5bebd43b9f15e966aebd4295eda15197caebabbda.png
Tỷ lệ thiếu (0-1)
title 0.00000
authors 0.00000
published 0.00000
doi 0.77696
venue 0.82544

Trung bình 1.66 version/bài (5,565 / 41,498 mốc ngày revision trung gian chưa có từ Atom API).

Tài liệu và mã nguồn tham chiếu#