Phụ lục B. Đối chiếu yêu cầu đồ án và giới hạn

Phụ lục B. Đối chiếu yêu cầu đồ án và giới hạn#

Bảng kiểm tổng hợp toàn bộ tiêu chí của Milestone 1, Milestone 2 và điều chỉnh QA của giảng viên trên quy mô 25.000 bài báo:

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

sa = m1['source_audit']
sc = m2['status_counts']
rows = [
    ('M1', 'Discovery đủ dải 5 thành viên', 'Đạt 25.000 / 25.000 ID', 'Bao gồm --resume M1 cho TRI (24120470) trên Colab CPU'),
    ('M1', 'Audit & giữ nguyên từng version', f"{m1['source_verified']:,} / {scope['versions']:,} version verified", f"Còn 11 version pending/lỗi nguồn từ shard TRIET + {sa.get('not_found_verified',0)} HTTP 404"),
    ('M1', 'References S2 & course export', f"{m1['verified_reference_papers']:,} / {scope['papers']:,} paper S2 xác minh", f"{m1['working_reference_rows']:,} working rows / {m1['arxiv_reference_rows']:,} course arXiv edges"),
    ('M2', 'Multi-file gathering & root', 'Đạt & có override kiểm chứng', '26 version thiếu root; include có dấu chấm phụ hoặc macro động còn partial'),
    ('M2', 'Hierarchy (sentence/math/figure/list)', 'Đạt quy tắc lá/nhánh/loại trừ', '9.087 version có macro \item ngoài nhóm list chuẩn -> giữ ở partial'),
    ('M2', 'Chuẩn hóa & khử trùng 2 tầng', f"Elements -{m2['deduplication']['elements']['reduction_rate']:.2%}; BibTeX -{m2['deduplication']['bibtex']['reduction_rate']:.2%}", 'Giữ .bbl theo QA và union field + đổi tên \cite{} xuyên version'),
    ('M2', 'Kiểm chuẩn 5 bảng toàn nhóm', 'structural_valid = True (0 lỗi)', f"Elements {m2['rows']['elements']:,}; Hierarchy {m2['rows']['hierarchy']:,}; BibTeX {m2['rows']['bibtex']:,}"),
    ('M2', 'Benchmark Google Colab CPU-only', 'Đạt (5/5 phiên độc lập, cold)', f"{bench['totals']['total_profiler_sec']:,.2f}s (~{bench['totals']['avg_sec_per_unique_publication']:.4f}s/bài); peak RSS {bench['totals']['max_session_peak_rss_mib']:.2f} MiB"),
    ('Book', 'Jupyter Book động & tiếng Việt', 'Biên dịch --all -W thành công', 'Sinh toàn bộ bảng/biểu đồ khi build; giữ URL cố định'),
]
with pd.option_context('display.max_rows', None, 'display.max_colwidth', 120):
    display(pd.DataFrame(rows, columns=['Mốc', 'Hạng mục', 'Kết quả đo 25.000 bài', 'Ghi chú / giới hạn']))
<>:8: SyntaxWarning: invalid escape sequence '\i'
<>:9: SyntaxWarning: invalid escape sequence '\c'
<>:8: SyntaxWarning: invalid escape sequence '\i'
<>:9: SyntaxWarning: invalid escape sequence '\c'
/tmp/ipykernel_2561/2383144295.py:8: SyntaxWarning: invalid escape sequence '\i'
  ('M2', 'Hierarchy (sentence/math/figure/list)', 'Đạt quy tắc lá/nhánh/loại trừ', '9.087 version có macro \item ngoài nhóm list chuẩn -> giữ ở partial'),
/tmp/ipykernel_2561/2383144295.py:9: SyntaxWarning: invalid escape sequence '\c'
  ('M2', 'Chuẩn hóa & khử trùng 2 tầng', f"Elements -{m2['deduplication']['elements']['reduction_rate']:.2%}; BibTeX -{m2['deduplication']['bibtex']['reduction_rate']:.2%}", 'Giữ .bbl theo QA và union field + đổi tên \cite{} xuyên version'),
Mốc Hạng mục Kết quả đo 25.000 bài Ghi chú / giới hạn
0 M1 Discovery đủ dải 5 thành viên Đạt 25.000 / 25.000 ID Bao gồm --resume M1 cho TRI (24120470) trên Colab CPU
1 M1 Audit & giữ nguyên từng version 41,487 / 41,498 version verified Còn 11 version pending/lỗi nguồn từ shard TRIET + 169 HTTP 404
2 M1 References S2 & course export 24,277 / 25,000 paper S2 xác minh 976,351 working rows / 456,149 course arXiv edges
3 M2 Multi-file gathering & root Đạt & có override kiểm chứng 26 version thiếu root; include có dấu chấm phụ hoặc macro động còn partial
4 M2 Hierarchy (sentence/math/figure/list) Đạt quy tắc lá/nhánh/loại trừ 9.087 version có macro \item ngoài nhóm list chuẩn -> giữ ở partial
5 M2 Chuẩn hóa & khử trùng 2 tầng Elements -35.04%; BibTeX -35.83% Giữ .bbl theo QA và union field + đổi tên \cite{} xuyên version
6 M2 Kiểm chuẩn 5 bảng toàn nhóm structural_valid = True (0 lỗi) Elements 15,006,000; Hierarchy 22,532,299; BibTeX 1,177,293
7 M2 Benchmark Google Colab CPU-only Đạt (5/5 phiên độc lập, cold) 18,692.09s (~0.7477s/bài); peak RSS 845.34 MiB
8 Book Jupyter Book động & tiếng Việt Biên dịch --all -W thành công Sinh toàn bộ bảng/biểu đồ khi build; giữ URL cố định

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