Align publisher job names and extend conference coverage
This commit is contained in:
1 parent
9ce878efd4
commit
366c381310
4 files changed
+54
-15
No files matched your search
@@ -196,6 +196,14 @@ aux 的三次实际同步串行完成,单次编辑合计168.6–894.3 ms,链
|
|||||||
SHA-256 为 `a0c3b9929508e8bfbb8f33fe177fc662c4eca0cc7d5c41ac52503a39e337ab1b`。
|
SHA-256 为 `a0c3b9929508e8bfbb8f33fe177fc662c4eca0cc7d5c41ac52503a39e337ab1b`。
|
||||||
多文件崩溃恢复和正式界面接入继续推进。
|
多文件崩溃恢复和正式界面接入继续推进。
|
||||||
|
|
||||||
|
并行同步候选完整工作区通过1600项。相同格式和原样 A3 在 Edge 上两版各做
|
||||||
|
30 次热编辑,逐次交替。每次只替换第7页,PDF 与当前浏览器使用的 SVG 按
|
||||||
|
字节比较相同,最终 aux 相同。基线编辑到可见 p50/p95 为2529.5/4635.0 ms,
|
||||||
|
候选为1735.2/3379.2 ms,峰值 RSS 分别为1,009,432和1,010,268 KiB。
|
||||||
|
运行期间有并行构建及磁盘等待,100 ms 正式预算仍待验收。
|
||||||
|
回执 `target/p4-parallel-draft-sync/interleaved-a3-3/receipt.json` 的 SHA-256
|
||||||
|
为 `cac9b9da9cf15032ff2c614093e0b01476bc139e99e3c6e3b6dc8216e99df9db`。
|
||||||
|
|
||||||
大规模错误报告按原 JSON 格式直接写入缓冲暂存文件,再完整同步并按新文件
|
大规模错误报告按原 JSON 格式直接写入缓冲暂存文件,再完整同步并按新文件
|
||||||
发布。集成测试核对 11 种失败路径,包含原序列化字节、原有报告保护、错误
|
发布。集成测试核对 11 种失败路径,包含原序列化字节、原有报告保护、错误
|
||||||
保留及暂存清理。真实 CVPR 大报告的峰值内存还需重新测量。
|
保留及暂存清理。真实 CVPR 大报告的峰值内存还需重新测量。
|
||||||
|
|||||||
@@ -16,12 +16,14 @@
|
|||||||
| 会议 | IEEE `bare_conf.tex` | [IEEE 会议模板指南](https://conferences.ieeeauthorcenter.ieee.org/write-your-paper/authoring-tools-and-templates/) |
|
| 会议 | IEEE `bare_conf.tex` | [IEEE 会议模板指南](https://conferences.ieeeauthorcenter.ieee.org/write-your-paper/authoring-tools-and-templates/) |
|
||||||
| 会议 | ACL `acl_latex.tex` | [ACL 官方源码](https://github.com/acl-org/acl-style-files) |
|
| 会议 | ACL `acl_latex.tex` | [ACL 官方源码](https://github.com/acl-org/acl-style-files) |
|
||||||
| 会议 | CVPR 2026 `main.tex` | [CVPR 官方发布包](https://github.com/cvpr-org/author-kit/releases) |
|
| 会议 | CVPR 2026 `main.tex` | [CVPR 官方发布包](https://github.com/cvpr-org/author-kit/releases) |
|
||||||
|
| 会议 | NeurIPS 2025 `neurips_2025.tex` | [NeurIPS 官方样式包](https://media.neurips.cc/Conferences/NeurIPS2025/Styles.zip) |
|
||||||
|
|
||||||
从 `scripts/publisher-template-matrix.json` 中的地址取得七个原始压缩包,按键名存为
|
从 `scripts/publisher-template-matrix.json` 中的地址取得八个原始压缩包,按键名存为
|
||||||
`<键名>.zip`。`scripts/probe-publisher-templates.py` 会校验包的 SHA-256,独立复制
|
`<键名>.zip`。`scripts/probe-publisher-templates.py` 会校验包的 SHA-256,独立复制
|
||||||
源文件树,用固定参考格式和指定原生格式执行。它保留每轮命令、错误、aux 版本、
|
源文件树,用固定参考格式和指定原生格式执行。它保留每轮命令、错误、aux 版本、
|
||||||
字体、页面与词框。需要 BibTeX 时,两端都从实际作业生成的 aux 独立运行;
|
字体、页面与词框。需要 BibTeX 时,两端都从实际作业生成的 aux 独立运行。
|
||||||
不会把参考端生成的文件抄给原生。样例自带的 PDF 不用作本轮成功输出。依赖可用
|
两端从同一入口文件名取得作业名,参考端的生成文件单独存放。不会把参考端生成
|
||||||
|
的文件抄给原生。样例自带的 PDF 不用作本轮成功输出。依赖可用
|
||||||
`--texmf-overlay` 传入本地测试用 TeX 树,并用 `--font-map` 指定环境中实际使用的
|
`--texmf-overlay` 传入本地测试用 TeX 树,并用 `--font-map` 指定环境中实际使用的
|
||||||
字体映射;附加依赖和原始源均留 SHA。
|
字体映射;附加依赖和原始源均留 SHA。
|
||||||
|
|
||||||
@@ -245,7 +247,8 @@ schema27 候选已接通通用 `\pdfoutline`,复用 PDF catalog 的动作扫
|
|||||||
`target/p3-pdf-outlines/cli-outline-2/receipt.json` 的 SHA-256 为
|
`target/p3-pdf-outlines/cli-outline-2/receipt.json` 的 SHA-256 为
|
||||||
`f392c933c91d99c74865254de5c09869e11cb206f52edb5895ef3d5f58f93cfe`。
|
`f392c933c91d99c74865254de5c09869e11cb206f52edb5895ef3d5f58f93cfe`。
|
||||||
保存的真实 schema23、25、26 格式均被拒绝,保留各自的既有 PDF。完整工作区
|
保存的真实 schema23、25、26 格式均被拒绝,保留各自的既有 PDF。完整工作区
|
||||||
仍在复验。独立真实新格式的七份 article 共 21 轮通过 PDF 与原始布局。
|
1616 项通过,同主线后续改动的组合版仍在复验。独立真实新格式的七份 article
|
||||||
|
共 21 轮通过 PDF 与原始布局。
|
||||||
真实 schema27 格式从原版 `pdflatex.ini` 与官方
|
真实 schema27 格式从原版 `pdflatex.ini` 与官方
|
||||||
firstaid 构建。10 份参考 PDF 全部生成,原生最终生成 4 份。IEEE 双栏期刊
|
firstaid 构建。10 份参考 PDF 全部生成,原生最终生成 4 份。IEEE 双栏期刊
|
||||||
starter、Springer LNCS 和 IEEE 会议通过冻结的 PDF 容差与最终 aux 对照。
|
starter、Springer LNCS 和 IEEE 会议通过冻结的 PDF 容差与最终 aux 对照。
|
||||||
@@ -285,8 +288,20 @@ schema28 的文字 `\accent` 候选已在隔离环境通过 55 项定向测试
|
|||||||
缺少基字或重音字形,以及断行时保留实际 accent kern。日志
|
缺少基字或重音字形,以及断行时保留实际 accent kern。日志
|
||||||
`target/p3-text-accents/directed-2.log` 的 SHA-256 为
|
`target/p3-text-accents/directed-2.log` 的 SHA-256 为
|
||||||
`038515877e10db639ec9f0235b9a4d952675a0cc44ead5e19d6176a06abc4446`。
|
`038515877e10db639ec9f0235b9a4d952675a0cc44ead5e19d6176a06abc4446`。
|
||||||
优化版将在新生成的 schema28 格式上复跑原样 APS 双栏样例。出版验收仍以
|
真实 schema28 格式上的原样 APS 双栏期刊完成了四轮 LaTeX 和一次 BibTeX,
|
||||||
实际模板的逐轮结果及原 PDF 容差为准。
|
参考与原生各生成7页且引用收敛。最初的版面差异涉及模板排出的作业名。统一为
|
||||||
|
`apssamp` 后,7 页灰度图逐像素一致,最大词框差为 0,嵌入字体与最终
|
||||||
|
aux 字节均一致。源文件及随包资源未改。对照回执
|
||||||
|
`target/p3-text-accents/release-aps-aligned-job-2/pdf-fidelity/report.json` 的
|
||||||
|
SHA-256 为 `05d78a3d95e50190b52b674f51e40434d7d82e651fc8b14c6ddb1ea73016e56a`。
|
||||||
|
同批 Springer Nature 仍复现12 bp 的末页差异。
|
||||||
|
|
||||||
|
NeurIPS 2025 官方包已固定 SHA-256 并进入矩阵。首轮参考和原生都在
|
||||||
|
`environ.sty` 加载 `trimspaces.sty` 时缺少依赖。官方原始包未改,首次
|
||||||
|
失败报告 SHA-256 为 `1baaa42238e816f797d8768be73fd129f614ad7a8824c5da8ae9e5566de82730`。
|
||||||
|
补入 CTAN 原版 `trimspaces.sty` 后,同名作业的参考生成12页、aux 收敛、
|
||||||
|
无未定义引用,原生推进到 `microtype.cfg:70` 缺少 `\pdfmatch`。
|
||||||
|
复跑报告 SHA-256 为 `0718bc2b7d5fbc561c0e53ac8277d140d82045d3649e28de5b21861afb6c1991`。
|
||||||
|
|
||||||
单纯生成 PDF 或 DVI 只说明编译路径可达。完整验收要在参考环境闭合后比较页数、
|
单纯生成 PDF 或 DVI 只说明编译路径可达。完整验收要在参考环境闭合后比较页数、
|
||||||
双栏位置及跨栏材料、实际字体/字形、图表浮动、引用收敛、词框及墨迹;测试源
|
双栏位置及跨栏材料、实际字体/字形、图表浮动、引用收敛、词框及墨迹;测试源
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ CASES = [
|
|||||||
("ieee-conference", "conference", "ieee", "IEEEtran/bare_conf.tex"),
|
("ieee-conference", "conference", "ieee", "IEEEtran/bare_conf.tex"),
|
||||||
("acl", "conference", "acl", "acl-style-files-master/acl_latex.tex"),
|
("acl", "conference", "acl", "acl-style-files-master/acl_latex.tex"),
|
||||||
("cvpr-2026", "conference", "cvpr-2026", "author-kit-CVPR2026-v1-latex-/main.tex"),
|
("cvpr-2026", "conference", "cvpr-2026", "author-kit-CVPR2026-v1-latex-/main.tex"),
|
||||||
|
("neurips-2025", "conference", "neurips-2025", "Styles/neurips_2025.tex"),
|
||||||
]
|
]
|
||||||
EPS_FIGURES = {
|
EPS_FIGURES = {
|
||||||
"springer-nature": ["fig.eps"],
|
"springer-nature": ["fig.eps"],
|
||||||
@@ -111,19 +112,27 @@ def compile_sample(template, entry, evidence, args, engine, figures):
|
|||||||
assert sha(pdf) == figure["pdf_sha256"]
|
assert sha(pdf) == figure["pdf_sha256"]
|
||||||
shutil.copyfile(pdf, cwd / pdf.name)
|
shutil.copyfile(pdf, cwd / pdf.name)
|
||||||
prefix = "texrra-oracle"
|
prefix = "texrra-oracle"
|
||||||
jobname = prefix if engine == "reference" else Path(entry).stem
|
jobname = Path(entry).stem
|
||||||
output = cwd / f"{prefix}.pdf"
|
output = cwd / f"{prefix}.pdf"
|
||||||
assert not output.exists()
|
assert not output.exists()
|
||||||
aux = cwd / f"{jobname}.aux"
|
job_directory = evidence / "job" if engine == "reference" else cwd
|
||||||
|
produced_pdf = job_directory / f"{jobname}.pdf" if engine == "reference" else output
|
||||||
|
aux = job_directory / f"{jobname}.aux"
|
||||||
env = {**os.environ, "TEXINPUTS": os.pathsep, "TEXRRA_STATE_DIR": str(evidence / "state"),
|
env = {**os.environ, "TEXINPUTS": os.pathsep, "TEXRRA_STATE_DIR": str(evidence / "state"),
|
||||||
"BSTINPUTS": f"{cwd}/bst//:", "BIBINPUTS": f"{cwd}:", "SOURCE_DATE_EPOCH": "1783900800"}
|
"BSTINPUTS": f"{cwd}/bst//{os.pathsep}{cwd}{os.pathsep}",
|
||||||
|
"BIBINPUTS": f"{cwd}{os.pathsep}", "SOURCE_DATE_EPOCH": "1783900800"}
|
||||||
if args.texmf_overlay:
|
if args.texmf_overlay:
|
||||||
env["TEXMFHOME"] = str(args.texmf_overlay)
|
env["TEXMFHOME"] = str(args.texmf_overlay)
|
||||||
if args.font_map:
|
if args.font_map:
|
||||||
env["TEXFONTMAPS"] = str(args.font_map.parent) + os.pathsep
|
env["TEXFONTMAPS"] = str(args.font_map.parent) + os.pathsep
|
||||||
if engine == "reference":
|
if engine == "reference":
|
||||||
latex = ["pdftex", f"-fmt={args.reference_format}", "-interaction=nonstopmode",
|
# TeX exposes the job name to the document. Keep it identical to the
|
||||||
"-halt-on-error", "-no-shell-escape", "-recorder", f"-jobname={prefix}", Path(entry).name]
|
# native run and put generated files outside the copied input tree.
|
||||||
|
job_directory.mkdir()
|
||||||
|
env["TEXFORMATS"] = f"{args.reference_format.parent}{os.pathsep}"
|
||||||
|
latex = ["pdftex", f"-fmt={args.reference_format.name}", "-interaction=nonstopmode",
|
||||||
|
"-halt-on-error", "-no-shell-escape", "-recorder", f"-jobname={jobname}",
|
||||||
|
f"-output-directory={job_directory}", Path(entry).name]
|
||||||
else:
|
else:
|
||||||
latex = [args.binary, "native", "--job", "--etex", "--step-limit", "600000000",
|
latex = [args.binary, "native", "--job", "--etex", "--step-limit", "600000000",
|
||||||
"--input-policy", "tex", "--load-format", args.native_format]
|
"--input-policy", "tex", "--load-format", args.native_format]
|
||||||
@@ -140,7 +149,7 @@ def compile_sample(template, entry, evidence, args, engine, figures):
|
|||||||
command = [*latex[:-2], "--resource-manifest", evidence / f"{label}.resources.json",
|
command = [*latex[:-2], "--resource-manifest", evidence / f"{label}.resources.json",
|
||||||
"--layout-manifest", evidence / f"{label}.layout.json", *latex[-2:]]
|
"--layout-manifest", evidence / f"{label}.layout.json", *latex[-2:]]
|
||||||
step = run(command, cwd, env, label, evidence)
|
step = run(command, cwd, env, label, evidence)
|
||||||
recorder = cwd / f"{prefix}.fls"
|
recorder = job_directory / f"{jobname}.fls"
|
||||||
if engine == "reference" and recorder.is_file():
|
if engine == "reference" and recorder.is_file():
|
||||||
shutil.copyfile(recorder, evidence / f"{label}.fls")
|
shutil.copyfile(recorder, evidence / f"{label}.fls")
|
||||||
commands.append(step)
|
commands.append(step)
|
||||||
@@ -150,7 +159,7 @@ def compile_sample(template, entry, evidence, args, engine, figures):
|
|||||||
shutil.copyfile(aux, evidence / f"{label}.aux")
|
shutil.copyfile(aux, evidence / f"{label}.aux")
|
||||||
aux_checksums.append(sha(aux) if aux.is_file() else None)
|
aux_checksums.append(sha(aux) if aux.is_file() else None)
|
||||||
if idx == 1 and aux.is_file() and b"\\bibdata{" in aux.read_bytes():
|
if idx == 1 and aux.is_file() and b"\\bibdata{" in aux.read_bytes():
|
||||||
step = run(["bibtex", jobname], cwd, env, "bibtex", evidence)
|
step = run(["bibtex", jobname], job_directory, env, "bibtex", evidence)
|
||||||
commands.append(step)
|
commands.append(step)
|
||||||
if step["exit_code"]:
|
if step["exit_code"]:
|
||||||
break
|
break
|
||||||
@@ -159,8 +168,10 @@ def compile_sample(template, entry, evidence, args, engine, figures):
|
|||||||
changed = [name for name, digest in frozen.items()
|
changed = [name for name, digest in frozen.items()
|
||||||
if not (work / name).is_file() or sha(work / name) != digest]
|
if not (work / name).is_file() or sha(work / name) != digest]
|
||||||
last = commands[-1]
|
last = commands[-1]
|
||||||
built = last["exit_code"] == 0 and output.is_file()
|
built = last["exit_code"] == 0 and produced_pdf.is_file()
|
||||||
logfile = cwd / f"{prefix}.log"
|
if built and engine == "reference":
|
||||||
|
shutil.copyfile(produced_pdf, output)
|
||||||
|
logfile = job_directory / f"{jobname if engine == 'reference' else prefix}.log"
|
||||||
log = logfile.read_text(errors="replace") if logfile.is_file() else ""
|
log = logfile.read_text(errors="replace") if logfile.is_file() else ""
|
||||||
pdf = {}
|
pdf = {}
|
||||||
if built:
|
if built:
|
||||||
@@ -173,6 +184,7 @@ def compile_sample(template, entry, evidence, args, engine, figures):
|
|||||||
pages = re.search(r"^Pages:\s+(\d+)", info, re.M)
|
pages = re.search(r"^Pages:\s+(\d+)", info, re.M)
|
||||||
pdf["pages"] = int(pages.group(1)) if pages else None
|
pdf["pages"] = int(pages.group(1)) if pages else None
|
||||||
return {"commands": commands, "diagnostics": diagnostics(evidence, last["label"]),
|
return {"commands": commands, "diagnostics": diagnostics(evidence, last["label"]),
|
||||||
|
"job_name": jobname,
|
||||||
"aux_file": aux.name,
|
"aux_file": aux.name,
|
||||||
"packaged_files_changed_in_work_directory": {
|
"packaged_files_changed_in_work_directory": {
|
||||||
name: {"before": frozen[name], "after": sha(work / name) if (work / name).is_file() else None}
|
name: {"before": frozen[name], "after": sha(work / name) if (work / name).is_file() else None}
|
||||||
|
|||||||
@@ -26,5 +26,9 @@
|
|||||||
"cvpr-2026": [
|
"cvpr-2026": [
|
||||||
"ef672bf4ad1c6801237b957d57b0087d4412e7dee01ad3b512abe82960c6466c",
|
"ef672bf4ad1c6801237b957d57b0087d4412e7dee01ad3b512abe82960c6466c",
|
||||||
"https://codeload.github.com/cvpr-org/author-kit/zip/refs/tags/CVPR2026-v1%28latex%29"
|
"https://codeload.github.com/cvpr-org/author-kit/zip/refs/tags/CVPR2026-v1%28latex%29"
|
||||||
|
],
|
||||||
|
"neurips-2025": [
|
||||||
|
"72032130232955b785cd622b7c52d893e3166f30a90e1e6279d0a28e8373beef",
|
||||||
|
"https://media.neurips.cc/Conferences/NeurIPS2025/Styles.zip"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user