Repository navigation
计算机:RFC 8259 §8.1 的 JSON 编码与 BOM 命题 + 第三次试测四段耗时 - #127
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
系统之间交换的 JSON 必须用 UTF-8(封闭生态除外),网络传输不得添加 BOM。只主张 RFC 8259 §8.1 的三条规则——非封闭生态的系统间交换 MUST UTF-8;网络传输 MUST NOT 加 BOM;解析器 MAY 忽略 BOM。明确不主张封闭生态内部该用什么编码,也不主张解析器必须接受/拒绝哪种字节序列。ev-154全文核读:RFC 8259(STD 90 · Standards Track · 2017-12 · DOI 10.17487/RFC8259)§1–§14 与附录 A;899 行 / 28,360 字节,SHA-25661a5378f4255c720beb2a4b4a63b29540147c140f36988bf086291989b4cd2d7(本轮复算一致)。全文不入库,只留条款号与短引用。kbcheck全绿后,发现原标题漏了 §8.1 的限定语「非封闭生态」——标题比原文宽。已改名并同步中英条目与学科 README 共 4 个文件、8 处标题/链接,再重生成索引。该修正跨过一次上下文压缩、未打点,未计入下面的耗时;记录里已把它单列为人工复核项。--write-index53 秒 +kbcheck1.7 秒(合计 59 秒含命令开销)。原始 epoch 见docs/decisions/entry-cost-phases-2.tsv。Test plan
python tools/kbcheck.py→ 结果:全部通过(675 个对象 / 1446 份文档;5 条提示级 = 4× R-GRAPH-07 + 1× R-GRAPH-06,均为既有)python tools/kbcheck.py --write-index已重生成index.json/citations.json/evidence.json与各文档生成块,并与内容同提交sha256sum+wc -l -c复算 RFC 8259:899 行 / 28,360 字节 / 哈希与证据行一致kbcheck链接检查通过明确没做
外部先修仍未获批)、没动edges定义、没为了消除 0 而伪造已确证/争议/已推翻。