{
  "schemaVersion": 1,
  "checkedAt": "2026-10-17 Asia/Shanghai",
  "publicCopy": {
    "basenameOnly": true,
    "description": "Public candidate copy of actual local MD observations. Native inputs/downloads/screenshots are unchanged; no new product operation."
  },
  "inputFacts": {
    "files": [
      {
        "file": "01-课程甲.md",
        "bytes": 580,
        "sha256": "1168d6f2bd6dc91bda2031b9269a099979872b3588af675296da6051a83fc220",
        "utf8Bom": false,
        "newlineCounts": {
          "crlf": 0,
          "lf": 26
        },
        "structure": {
          "headingsOutsideFences": [
            {
              "line": 1,
              "level": 1,
              "title": "课程甲：参考章节边界"
            },
            {
              "line": 5,
              "level": 2,
              "title": "方法"
            },
            {
              "line": 14,
              "level": 2,
              "title": "参考文献"
            },
            {
              "line": 18,
              "level": 3,
              "title": "数据来源"
            },
            {
              "line": 22,
              "level": 2,
              "title": "附录"
            }
          ],
          "fences": [
            {
              "start": 9,
              "end": 12,
              "marker": "```",
              "info": "markdown"
            }
          ],
          "unclosedFence": null,
          "footnoteDefinitionsOutsideFences": [
            {
              "line": 26,
              "label": "qa-a",
              "text": "自编甲脚注，保留原编号语法。A_FOOTNOTE_KEEP"
            }
          ],
          "footnoteReferencesOutsideFences": [
            {
              "line": 3,
              "label": "qa-a"
            }
          ],
          "citationLiteralsOutsideFences": [
            {
              "line": 3,
              "literal": "[1]"
            },
            {
              "line": 16,
              "literal": "[1]"
            }
          ],
          "markers": {
            "A_APPENDIX_KEEP": 1,
            "A_BODY_KEEP": 1,
            "A_FENCE_FAKE_REFERENCE": 1,
            "A_FOOTNOTE_KEEP": 1,
            "A_METHOD_KEEP": 1,
            "A_REFERENCE_CHILD": 1,
            "A_REFERENCE_ENTRY": 1
          },
          "lineCount": 26
        }
      },
      {
        "file": "02-课程乙.md",
        "bytes": 452,
        "sha256": "97db0372c97c8145b5af0b65de0785b88471e56c4c677c681369dcfa74380507",
        "utf8Bom": false,
        "newlineCounts": {
          "crlf": 0,
          "lf": 20
        },
        "structure": {
          "headingsOutsideFences": [
            {
              "line": 1,
              "level": 1,
              "title": "课程乙：近似标题与代码"
            },
            {
              "line": 5,
              "level": 2,
              "title": "参考文献补充"
            },
            {
              "line": 16,
              "level": 2,
              "title": "结语"
            }
          ],
          "fences": [
            {
              "start": 11,
              "end": 14,
              "marker": "~~~",
              "info": "markdown"
            }
          ],
          "unclosedFence": null,
          "footnoteDefinitionsOutsideFences": [
            {
              "line": 20,
              "label": "qa-b",
              "text": "自编乙脚注，编号与甲不同。B_FOOTNOTE_KEEP"
            }
          ],
          "footnoteReferencesOutsideFences": [
            {
              "line": 3,
              "label": "qa-b"
            }
          ],
          "citationLiteralsOutsideFences": [
            {
              "line": 3,
              "literal": "[2]"
            },
            {
              "line": 9,
              "literal": "[2]"
            }
          ],
          "markers": {
            "B_BODY_KEEP": 1,
            "B_END_KEEP": 1,
            "B_FENCE_FAKE_REFERENCE": 1,
            "B_FOOTNOTE_KEEP": 1,
            "B_NEAR_ENTRY_KEEP": 1,
            "B_NEAR_HEADING_KEEP": 1
          },
          "lineCount": 20
        }
      }
    ],
    "totalBytes": 1032,
    "encoding": "UTF-8 without BOM; LF; trailing newline",
    "sourceData": "Two short fully self-authored Chinese Markdown files; no external images, links, user documents or credentials.",
    "inputFacts": {
      "exactReferencesSection": {
        "file": "01-课程甲.md",
        "heading": "## 参考文献",
        "childHeading": "### 数据来源",
        "followingSameLevelHeading": "## 附录"
      },
      "similarHeading": {
        "file": "02-课程乙.md",
        "heading": "## 参考文献补充"
      },
      "fencedFakeHeadings": [
        {
          "file": "01-课程甲.md",
          "fence": "```markdown",
          "headingInside": "## 参考文献"
        },
        {
          "file": "02-课程乙.md",
          "fence": "~~~markdown",
          "headingInside": "## 参考文献"
        }
      ],
      "inBodyReferences": [
        "[1]",
        "[2]"
      ],
      "independentFootnotes": [
        "qa-a",
        "qa-b"
      ]
    }
  },
  "observedDiff": {
    "schemaVersion": 1,
    "status": "observed_actual_native_downloads",
    "sources": [
      {
        "file": "01-课程甲.md",
        "bytes": 580,
        "sha256": "1168d6f2bd6dc91bda2031b9269a099979872b3588af675296da6051a83fc220",
        "utf8Bom": false,
        "newlineCounts": {
          "crlf": 0,
          "lf": 26
        },
        "structure": {
          "headingsOutsideFences": [
            {
              "line": 1,
              "level": 1,
              "title": "课程甲：参考章节边界"
            },
            {
              "line": 5,
              "level": 2,
              "title": "方法"
            },
            {
              "line": 14,
              "level": 2,
              "title": "参考文献"
            },
            {
              "line": 18,
              "level": 3,
              "title": "数据来源"
            },
            {
              "line": 22,
              "level": 2,
              "title": "附录"
            }
          ],
          "fences": [
            {
              "start": 9,
              "end": 12,
              "marker": "```",
              "info": "markdown"
            }
          ],
          "unclosedFence": null,
          "footnoteDefinitionsOutsideFences": [
            {
              "line": 26,
              "label": "qa-a",
              "text": "自编甲脚注，保留原编号语法。A_FOOTNOTE_KEEP"
            }
          ],
          "footnoteReferencesOutsideFences": [
            {
              "line": 3,
              "label": "qa-a"
            }
          ],
          "citationLiteralsOutsideFences": [
            {
              "line": 3,
              "literal": "[1]"
            },
            {
              "line": 16,
              "literal": "[1]"
            }
          ],
          "markers": {
            "A_APPENDIX_KEEP": 1,
            "A_BODY_KEEP": 1,
            "A_FENCE_FAKE_REFERENCE": 1,
            "A_FOOTNOTE_KEEP": 1,
            "A_METHOD_KEEP": 1,
            "A_REFERENCE_CHILD": 1,
            "A_REFERENCE_ENTRY": 1
          },
          "lineCount": 26
        }
      },
      {
        "file": "02-课程乙.md",
        "bytes": 452,
        "sha256": "97db0372c97c8145b5af0b65de0785b88471e56c4c677c681369dcfa74380507",
        "utf8Bom": false,
        "newlineCounts": {
          "crlf": 0,
          "lf": 20
        },
        "structure": {
          "headingsOutsideFences": [
            {
              "line": 1,
              "level": 1,
              "title": "课程乙：近似标题与代码"
            },
            {
              "line": 5,
              "level": 2,
              "title": "参考文献补充"
            },
            {
              "line": 16,
              "level": 2,
              "title": "结语"
            }
          ],
          "fences": [
            {
              "start": 11,
              "end": 14,
              "marker": "~~~",
              "info": "markdown"
            }
          ],
          "unclosedFence": null,
          "footnoteDefinitionsOutsideFences": [
            {
              "line": 20,
              "label": "qa-b",
              "text": "自编乙脚注，编号与甲不同。B_FOOTNOTE_KEEP"
            }
          ],
          "footnoteReferencesOutsideFences": [
            {
              "line": 3,
              "label": "qa-b"
            }
          ],
          "citationLiteralsOutsideFences": [
            {
              "line": 3,
              "literal": "[2]"
            },
            {
              "line": 9,
              "literal": "[2]"
            }
          ],
          "markers": {
            "B_BODY_KEEP": 1,
            "B_END_KEEP": 1,
            "B_FENCE_FAKE_REFERENCE": 1,
            "B_FOOTNOTE_KEEP": 1,
            "B_NEAR_ENTRY_KEEP": 1,
            "B_NEAR_HEADING_KEEP": 1
          },
          "lineCount": 20
        }
      }
    ],
    "off": {
      "file": "references-off-native.md",
      "bytes": 1369,
      "sha256": "3e795eca3530b5c59a2346c9cb78762672af54c7abbac4e555671f836ed70f7c",
      "utf8Bom": false,
      "newlineCounts": {
        "crlf": 0,
        "lf": 61
      },
      "structure": {
        "headingsOutsideFences": [
          {
            "line": 1,
            "level": 2,
            "title": "目录"
          },
          {
            "line": 12,
            "level": 1,
            "title": "课程甲：参考章节边界"
          },
          {
            "line": 16,
            "level": 2,
            "title": "方法"
          },
          {
            "line": 25,
            "level": 2,
            "title": "参考文献"
          },
          {
            "line": 29,
            "level": 3,
            "title": "数据来源"
          },
          {
            "line": 33,
            "level": 2,
            "title": "附录"
          },
          {
            "line": 42,
            "level": 1,
            "title": "课程乙：近似标题与代码"
          },
          {
            "line": 46,
            "level": 2,
            "title": "参考文献补充"
          },
          {
            "line": 57,
            "level": 2,
            "title": "结语"
          }
        ],
        "fences": [
          {
            "start": 20,
            "end": 23,
            "marker": "```",
            "info": "markdown"
          },
          {
            "start": 52,
            "end": 55,
            "marker": "~~~",
            "info": "markdown"
          }
        ],
        "unclosedFence": null,
        "footnoteDefinitionsOutsideFences": [
          {
            "line": 37,
            "label": "qa-a",
            "text": "自编甲脚注，保留原编号语法。A_FOOTNOTE_KEEP"
          },
          {
            "line": 61,
            "label": "qa-b",
            "text": "自编乙脚注，编号与甲不同。B_FOOTNOTE_KEEP"
          }
        ],
        "footnoteReferencesOutsideFences": [
          {
            "line": 14,
            "label": "qa-a"
          },
          {
            "line": 44,
            "label": "qa-b"
          }
        ],
        "citationLiteralsOutsideFences": [
          {
            "line": 14,
            "literal": "[1]"
          },
          {
            "line": 27,
            "literal": "[1]"
          },
          {
            "line": 44,
            "literal": "[2]"
          },
          {
            "line": 50,
            "literal": "[2]"
          }
        ],
        "markers": {
          "A_APPENDIX_KEEP": 1,
          "A_BODY_KEEP": 1,
          "A_FENCE_FAKE_REFERENCE": 1,
          "A_FOOTNOTE_KEEP": 1,
          "A_METHOD_KEEP": 1,
          "A_REFERENCE_CHILD": 1,
          "A_REFERENCE_ENTRY": 1,
          "B_BODY_KEEP": 1,
          "B_END_KEEP": 1,
          "B_FENCE_FAKE_REFERENCE": 1,
          "B_FOOTNOTE_KEEP": 1,
          "B_NEAR_ENTRY_KEEP": 1,
          "B_NEAR_HEADING_KEEP": 1
        },
        "lineCount": 61
      }
    },
    "on": {
      "file": "references-on-native.md",
      "bytes": 1161,
      "sha256": "23f4ef99b5bc468cdcd5ab5d3f8517b95aa4d5734da5c4fb3d621096bdfe106b",
      "utf8Bom": false,
      "newlineCounts": {
        "crlf": 0,
        "lf": 51
      },
      "structure": {
        "headingsOutsideFences": [
          {
            "line": 1,
            "level": 2,
            "title": "目录"
          },
          {
            "line": 10,
            "level": 1,
            "title": "课程甲：参考章节边界"
          },
          {
            "line": 14,
            "level": 2,
            "title": "方法"
          },
          {
            "line": 23,
            "level": 2,
            "title": "附录"
          },
          {
            "line": 32,
            "level": 1,
            "title": "课程乙：近似标题与代码"
          },
          {
            "line": 36,
            "level": 2,
            "title": "参考文献补充"
          },
          {
            "line": 47,
            "level": 2,
            "title": "结语"
          }
        ],
        "fences": [
          {
            "start": 18,
            "end": 21,
            "marker": "```",
            "info": "markdown"
          },
          {
            "start": 42,
            "end": 45,
            "marker": "~~~",
            "info": "markdown"
          }
        ],
        "unclosedFence": null,
        "footnoteDefinitionsOutsideFences": [
          {
            "line": 27,
            "label": "qa-a",
            "text": "自编甲脚注，保留原编号语法。A_FOOTNOTE_KEEP"
          },
          {
            "line": 51,
            "label": "qa-b",
            "text": "自编乙脚注，编号与甲不同。B_FOOTNOTE_KEEP"
          }
        ],
        "footnoteReferencesOutsideFences": [
          {
            "line": 12,
            "label": "qa-a"
          },
          {
            "line": 34,
            "label": "qa-b"
          }
        ],
        "citationLiteralsOutsideFences": [
          {
            "line": 12,
            "literal": "[1]"
          },
          {
            "line": 34,
            "literal": "[2]"
          },
          {
            "line": 40,
            "literal": "[2]"
          }
        ],
        "markers": {
          "A_APPENDIX_KEEP": 1,
          "A_BODY_KEEP": 1,
          "A_FENCE_FAKE_REFERENCE": 1,
          "A_FOOTNOTE_KEEP": 1,
          "A_METHOD_KEEP": 1,
          "B_BODY_KEEP": 1,
          "B_END_KEEP": 1,
          "B_FENCE_FAKE_REFERENCE": 1,
          "B_FOOTNOTE_KEEP": 1,
          "B_NEAR_ENTRY_KEEP": 1,
          "B_NEAR_HEADING_KEEP": 1
        },
        "lineCount": 51
      }
    },
    "markerObservations": [
      {
        "marker": "A_APPENDIX_KEEP",
        "inputOccurrences": 1,
        "offOccurrences": 1,
        "onOccurrences": 1,
        "onMinusOff": 0
      },
      {
        "marker": "A_BODY_KEEP",
        "inputOccurrences": 1,
        "offOccurrences": 1,
        "onOccurrences": 1,
        "onMinusOff": 0
      },
      {
        "marker": "A_FENCE_FAKE_REFERENCE",
        "inputOccurrences": 1,
        "offOccurrences": 1,
        "onOccurrences": 1,
        "onMinusOff": 0
      },
      {
        "marker": "A_FOOTNOTE_KEEP",
        "inputOccurrences": 1,
        "offOccurrences": 1,
        "onOccurrences": 1,
        "onMinusOff": 0
      },
      {
        "marker": "A_METHOD_KEEP",
        "inputOccurrences": 1,
        "offOccurrences": 1,
        "onOccurrences": 1,
        "onMinusOff": 0
      },
      {
        "marker": "A_REFERENCE_CHILD",
        "inputOccurrences": 1,
        "offOccurrences": 1,
        "onOccurrences": 0,
        "onMinusOff": -1
      },
      {
        "marker": "A_REFERENCE_ENTRY",
        "inputOccurrences": 1,
        "offOccurrences": 1,
        "onOccurrences": 0,
        "onMinusOff": -1
      },
      {
        "marker": "B_BODY_KEEP",
        "inputOccurrences": 1,
        "offOccurrences": 1,
        "onOccurrences": 1,
        "onMinusOff": 0
      },
      {
        "marker": "B_END_KEEP",
        "inputOccurrences": 1,
        "offOccurrences": 1,
        "onOccurrences": 1,
        "onMinusOff": 0
      },
      {
        "marker": "B_FENCE_FAKE_REFERENCE",
        "inputOccurrences": 1,
        "offOccurrences": 1,
        "onOccurrences": 1,
        "onMinusOff": 0
      },
      {
        "marker": "B_FOOTNOTE_KEEP",
        "inputOccurrences": 1,
        "offOccurrences": 1,
        "onOccurrences": 1,
        "onMinusOff": 0
      },
      {
        "marker": "B_NEAR_ENTRY_KEEP",
        "inputOccurrences": 1,
        "offOccurrences": 1,
        "onOccurrences": 1,
        "onMinusOff": 0
      },
      {
        "marker": "B_NEAR_HEADING_KEEP",
        "inputOccurrences": 1,
        "offOccurrences": 1,
        "onOccurrences": 1,
        "onMinusOff": 0
      }
    ],
    "textIdentical": false,
    "nativeBytesIdentical": false,
    "unifiedDiff": "--- references-off-native.md\n+++ references-on-native.md\n@@ -2,8 +2,6 @@\n \n - [课程甲：参考章节边界](#课程甲参考章节边界)\n   - [方法](#方法)\n-  - [参考文献](#参考文献)\n-    - [数据来源](#数据来源)\n   - [附录](#附录)\n - [课程乙：近似标题与代码](#课程乙近似标题与代码)\n   - [参考文献补充](#参考文献补充)\n@@ -21,14 +19,6 @@\n ## 参考文献\n A_FENCE_FAKE_REFERENCE\n ```\n-\n-## 参考文献\n-\n-[1] 自编甲资料，2001年。A_REFERENCE_ENTRY\n-\n-### 数据来源\n-\n-此行是参考文献的子节。A_REFERENCE_CHILD\n \n ## 附录\n \n",
    "nativeBytesUnmodified": true,
    "scope": "This records differences from two real downloads. It does not declare an expected reference-removal policy or infer the deployed implementation from an older checkout.",
    "limits": [
      "ATX headings and fenced code are inspected for these small fixtures, not a complete Markdown parser.",
      "Generated table-of-contents links are reported separately through heading/marker counts; an unchanged unique input marker is evidence of retained text only.",
      "Reference-section handling, similar headings, fenced false headings, footnotes and in-body citations require reading actual output differences."
    ]
  },
  "primaryVerification": {
    "schemaVersion": 1,
    "summary": {
      "status": "passed",
      "checks": 62,
      "passed": 62,
      "failed": 0
    },
    "checks": [
      {
        "check": "off-byte-size",
        "actual": 1369,
        "expected": 1369,
        "passed": true
      },
      {
        "check": "on-byte-size",
        "actual": 1161,
        "expected": 1161,
        "passed": true
      },
      {
        "check": "off-actual-sha",
        "actual": "3e795eca3530b5c59a2346c9cb78762672af54c7abbac4e555671f836ed70f7c",
        "expected": "3e795eca3530b5c59a2346c9cb78762672af54c7abbac4e555671f836ed70f7c",
        "passed": true
      },
      {
        "check": "on-actual-sha",
        "actual": "23f4ef99b5bc468cdcd5ab5d3f8517b95aa4d5734da5c4fb3d621096bdfe106b",
        "expected": "23f4ef99b5bc468cdcd5ab5d3f8517b95aa4d5734da5c4fb3d621096bdfe106b",
        "passed": true
      },
      {
        "check": "input-hash/01-课程甲.md",
        "actual": "1168d6f2bd6dc91bda2031b9269a099979872b3588af675296da6051a83fc220",
        "expected": "1168d6f2bd6dc91bda2031b9269a099979872b3588af675296da6051a83fc220",
        "passed": true
      },
      {
        "check": "input-hash/02-课程乙.md",
        "actual": "97db0372c97c8145b5af0b65de0785b88471e56c4c677c681369dcfa74380507",
        "expected": "97db0372c97c8145b5af0b65de0785b88471e56c4c677c681369dcfa74380507",
        "passed": true
      },
      {
        "check": "unique-input-markers",
        "actual": 13,
        "expected": 13,
        "passed": true
      },
      {
        "check": "off-retains/A_APPENDIX_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "on-observed/A_APPENDIX_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "off-retains/A_BODY_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "on-observed/A_BODY_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "off-retains/A_FENCE_FAKE_REFERENCE",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "on-observed/A_FENCE_FAKE_REFERENCE",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "off-retains/A_FOOTNOTE_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "on-observed/A_FOOTNOTE_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "off-retains/A_METHOD_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "on-observed/A_METHOD_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "off-retains/A_REFERENCE_CHILD",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "on-observed/A_REFERENCE_CHILD",
        "actual": 0,
        "expected": 0,
        "passed": true
      },
      {
        "check": "off-retains/A_REFERENCE_ENTRY",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "on-observed/A_REFERENCE_ENTRY",
        "actual": 0,
        "expected": 0,
        "passed": true
      },
      {
        "check": "off-retains/B_BODY_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "on-observed/B_BODY_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "off-retains/B_END_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "on-observed/B_END_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "off-retains/B_FENCE_FAKE_REFERENCE",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "on-observed/B_FENCE_FAKE_REFERENCE",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "off-retains/B_FOOTNOTE_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "on-observed/B_FOOTNOTE_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "off-retains/B_NEAR_ENTRY_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "on-observed/B_NEAR_ENTRY_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "off-retains/B_NEAR_HEADING_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "on-observed/B_NEAR_HEADING_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "off-toc-entry-count",
        "actual": 8,
        "expected": 8,
        "passed": true
      },
      {
        "check": "on-toc-entry-count",
        "actual": 6,
        "expected": 6,
        "passed": true
      },
      {
        "check": "only-two-toc-items-removed",
        "actual": [
          [
            "参考文献",
            "#参考文献"
          ],
          [
            "数据来源",
            "#数据来源"
          ]
        ],
        "expected": [
          [
            "参考文献",
            "#参考文献"
          ],
          [
            "数据来源",
            "#数据来源"
          ]
        ],
        "passed": true
      },
      {
        "check": "retained-toc-order",
        "actual": [
          [
            "课程甲：参考章节边界",
            "#课程甲参考章节边界"
          ],
          [
            "方法",
            "#方法"
          ],
          [
            "附录",
            "#附录"
          ],
          [
            "课程乙：近似标题与代码",
            "#课程乙近似标题与代码"
          ],
          [
            "参考文献补充",
            "#参考文献补充"
          ],
          [
            "结语",
            "#结语"
          ]
        ],
        "expected": [
          [
            "课程甲：参考章节边界",
            "#课程甲参考章节边界"
          ],
          [
            "方法",
            "#方法"
          ],
          [
            "附录",
            "#附录"
          ],
          [
            "课程乙：近似标题与代码",
            "#课程乙近似标题与代码"
          ],
          [
            "参考文献补充",
            "#参考文献补充"
          ],
          [
            "结语",
            "#结语"
          ]
        ],
        "passed": true
      },
      {
        "check": "exact-removed-body-range-occurs-once",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "other-body-bytes-identical",
        "actual": "7c69336e6d2b5d19c507e5062251ef026c3417de10375e7c825321211924f215",
        "expected": "7c69336e6d2b5d19c507e5062251ef026c3417de10375e7c825321211924f215",
        "passed": true
      },
      {
        "check": "off-fenced-source-literal/01-课程甲.md",
        "actual": true,
        "expected": true,
        "passed": true
      },
      {
        "check": "on-fenced-source-literal/01-课程甲.md",
        "actual": true,
        "expected": true,
        "passed": true
      },
      {
        "check": "off-fenced-source-literal/02-课程乙.md",
        "actual": true,
        "expected": true,
        "passed": true
      },
      {
        "check": "on-fenced-source-literal/02-课程乙.md",
        "actual": true,
        "expected": true,
        "passed": true
      },
      {
        "check": "off-citation-or-footnote/A_BODY_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "on-citation-or-footnote/A_BODY_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "off-citation-or-footnote/B_BODY_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "on-citation-or-footnote/B_BODY_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "off-citation-or-footnote/A_FOOTNOTE_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "on-citation-or-footnote/A_FOOTNOTE_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "off-citation-or-footnote/B_FOOTNOTE_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "on-citation-or-footnote/B_FOOTNOTE_KEEP",
        "actual": 1,
        "expected": 1,
        "passed": true
      },
      {
        "check": "target-switch-is-the-only-changed-setting",
        "actual": "剔除参考文献章节",
        "expected": "剔除参考文献章节",
        "passed": true
      },
      {
        "check": "target-switch-run-settings",
        "actual": [
          false,
          true
        ],
        "expected": [
          false,
          true
        ],
        "passed": true
      },
      {
        "check": "merge-run-count",
        "actual": 2,
        "expected": 2,
        "passed": true
      },
      {
        "check": "md-download-count",
        "actual": 2,
        "expected": 2,
        "passed": true
      },
      {
        "check": "zip-download-count",
        "actual": 0,
        "expected": 0,
        "passed": true
      },
      {
        "check": "switch-restored-without-third-run",
        "actual": true,
        "expected": true,
        "passed": true
      },
      {
        "check": "tab-closed",
        "actual": true,
        "expected": true,
        "passed": true
      },
      {
        "check": "native-file-bytes-unmodified/01-课程甲.md",
        "actual": "1168d6f2bd6dc91bda2031b9269a099979872b3588af675296da6051a83fc220",
        "expected": "1168d6f2bd6dc91bda2031b9269a099979872b3588af675296da6051a83fc220",
        "passed": true
      },
      {
        "check": "native-file-bytes-unmodified/02-课程乙.md",
        "actual": "97db0372c97c8145b5af0b65de0785b88471e56c4c677c681369dcfa74380507",
        "expected": "97db0372c97c8145b5af0b65de0785b88471e56c4c677c681369dcfa74380507",
        "passed": true
      },
      {
        "check": "native-file-bytes-unmodified/references-off-native.md",
        "actual": "3e795eca3530b5c59a2346c9cb78762672af54c7abbac4e555671f836ed70f7c",
        "expected": "3e795eca3530b5c59a2346c9cb78762672af54c7abbac4e555671f836ed70f7c",
        "passed": true
      },
      {
        "check": "native-file-bytes-unmodified/references-on-native.md",
        "actual": "23f4ef99b5bc468cdcd5ab5d3f8517b95aa4d5734da5c4fb3d621096bdfe106b",
        "expected": "23f4ef99b5bc468cdcd5ab5d3f8517b95aa4d5734da5c4fb3d621096bdfe106b",
        "passed": true
      }
    ],
    "nativeFiles": [
      {
        "file": "01-课程甲.md",
        "bytes": 580,
        "sha256": "1168d6f2bd6dc91bda2031b9269a099979872b3588af675296da6051a83fc220"
      },
      {
        "file": "02-课程乙.md",
        "bytes": 452,
        "sha256": "97db0372c97c8145b5af0b65de0785b88471e56c4c677c681369dcfa74380507"
      },
      {
        "file": "references-off-native.md",
        "bytes": 1369,
        "sha256": "3e795eca3530b5c59a2346c9cb78762672af54c7abbac4e555671f836ed70f7c"
      },
      {
        "file": "references-on-native.md",
        "bytes": 1161,
        "sha256": "23f4ef99b5bc468cdcd5ab5d3f8517b95aa4d5734da5c4fb3d621096bdfe106b"
      }
    ],
    "tocEntries": {
      "off": [
        {
          "label": "课程甲：参考章节边界",
          "target": "#课程甲参考章节边界"
        },
        {
          "label": "方法",
          "target": "#方法"
        },
        {
          "label": "参考文献",
          "target": "#参考文献"
        },
        {
          "label": "数据来源",
          "target": "#数据来源"
        },
        {
          "label": "附录",
          "target": "#附录"
        },
        {
          "label": "课程乙：近似标题与代码",
          "target": "#课程乙近似标题与代码"
        },
        {
          "label": "参考文献补充",
          "target": "#参考文献补充"
        },
        {
          "label": "结语",
          "target": "#结语"
        }
      ],
      "on": [
        {
          "label": "课程甲：参考章节边界",
          "target": "#课程甲参考章节边界"
        },
        {
          "label": "方法",
          "target": "#方法"
        },
        {
          "label": "附录",
          "target": "#附录"
        },
        {
          "label": "课程乙：近似标题与代码",
          "target": "#课程乙近似标题与代码"
        },
        {
          "label": "参考文献补充",
          "target": "#参考文献补充"
        },
        {
          "label": "结语",
          "target": "#结语"
        }
      ]
    },
    "deletedMarkers": [
      "A_REFERENCE_ENTRY",
      "A_REFERENCE_CHILD"
    ],
    "retainedMarkers": [
      "A_APPENDIX_KEEP",
      "A_BODY_KEEP",
      "A_FENCE_FAKE_REFERENCE",
      "A_FOOTNOTE_KEEP",
      "A_METHOD_KEEP",
      "B_BODY_KEEP",
      "B_END_KEEP",
      "B_FENCE_FAKE_REFERENCE",
      "B_FOOTNOTE_KEEP",
      "B_NEAR_ENTRY_KEEP",
      "B_NEAR_HEADING_KEEP"
    ],
    "exactRemovedBodyText": "\n## 参考文献\n\n[1] 自编甲资料，2001年。A_REFERENCE_ENTRY\n\n### 数据来源\n\n此行是参考文献的子节。A_REFERENCE_CHILD\n",
    "nativeBytesUnmodified": true,
    "actualOperations": {
      "fixtureUploads": 1,
      "inputFiles": 2,
      "inputOrder": [
        "01-课程甲.md",
        "02-课程乙.md"
      ],
      "conversionRuns": 2,
      "singleMdDownloads": 2,
      "nativeZipDownloads": 0,
      "initialSettings": {
        "main": "Markdown合并工具\n\n合并多份 Markdown，下载后核对内容；需要 Word 时在编辑器继续导出\n\n开始合并\n文件列表\n01-课程甲.md\n文件大小: 0.57 KB\n拖拽文件可调整顺序\n02-课程乙.md\n文件大小: 0.44 KB\n拖拽文件可调整顺序\n\n点击或拖拽添加更多Markdown文件\n\n最多支持20个文件\n\n合并设置\n分隔符\n---\n标题规范化\n标题级别不变\n生成目录\n剔除参考文献章节\n去重脚注\n去重参考锚点\n输出格式\nMarkdown\nWord（在编辑器导出）\nPDF\n\n需要 Word？先下载合并后的 MD，再到编辑器导出。\n\n操作\n清空队列",
        "switches": [
          "true",
          "false",
          "true",
          "true"
        ]
      },
      "onlyChangedSetting": "剔除参考文献章节",
      "runSettings": [
        false,
        true
      ],
      "downloadEventsObserved": false,
      "downloadButtonsClickedOncePerOutput": true,
      "uniqueFreshSyntheticDownloadsVerified": true,
      "originalReferenceSwitchRestoredFalseWithoutThirdRun": true,
      "toolTabClosedAfterReceipt": true,
      "notes": "Self-authored synthetic Markdown only; native output bytes copied without editing."
    },
    "scope": "Observed current native downloads only; no result inferred from old tools source.",
    "limits": [
      "Two small self-authored ATX-heading fixtures only.",
      "Did not test English References/Bibliography, Setext headings, raw HTML headings, multiline/reference-definition citation formats, duplicate footnotes or bibliography databases.",
      "Defaults for TOC and two deduplication switches stayed enabled across both runs; this is a controlled target-switch comparison, not separate proof of deduplication behavior.",
      "Body [1] reference remains after bibliography-entry removal; manual citation integrity review is still required."
    ]
  },
  "independentVerification": {
    "status": "pass",
    "scope": "Independent fixture-specific review of two actual native Markdown downloads; no product source or primary checker imported.",
    "summary": {
      "checks": 129,
      "passed": 129,
      "failed": 0
    },
    "rawEvidence": {
      "01-课程甲.md": {
        "bytes": 580,
        "sha256": "1168d6f2bd6dc91bda2031b9269a099979872b3588af675296da6051a83fc220"
      },
      "02-课程乙.md": {
        "bytes": 452,
        "sha256": "97db0372c97c8145b5af0b65de0785b88471e56c4c677c681369dcfa74380507"
      },
      "references-off-native.md": {
        "bytes": 1369,
        "sha256": "3e795eca3530b5c59a2346c9cb78762672af54c7abbac4e555671f836ed70f7c"
      },
      "references-on-native.md": {
        "bytes": 1161,
        "sha256": "23f4ef99b5bc468cdcd5ab5d3f8517b95aa4d5734da5c4fb3d621096bdfe106b"
      },
      "product-run-receipt.json": {
        "bytes": 1383,
        "sha256": "b698ab8df53aa825edfce832622abb00609ef49b4246e162398c089c6877dcc6"
      },
      "settings-off.jpg": {
        "bytes": 90659,
        "sha256": "33b7fc364f0787306e8d42ed328ada413a2f6861e2b597532b43b57d00d06453"
      },
      "settings-on.jpg": {
        "bytes": 87008,
        "sha256": "668b99e970b3f78445349cdbe272e1d3db43e4abff1b153f62c7548447670e68"
      }
    },
    "settingsEvidence": {
      "basis": "Product-run receipt plus human visual inspection of both hash-bound settings screenshots; no inference from old checkout.",
      "screenshotsVisuallyReviewed": [
        "settings-off.jpg",
        "settings-on.jpg"
      ],
      "fixed": {
        "inputOrder": [
          "01-课程甲.md",
          "02-课程乙.md"
        ],
        "separator": "---",
        "titleNormalization": "标题级别不变",
        "generateToc": true,
        "deduplicateFootnotes": true,
        "deduplicateReferenceAnchors": true,
        "output": "Markdown"
      },
      "onlyChange": {
        "setting": "剔除参考文献章节",
        "offRun": false,
        "onRun": true
      },
      "downloadEventCaveat": "Receipt records downloadEventsObserved=false; this review binds the supplied native bytes and does not claim browser download-event telemetry."
    },
    "observations": {
      "markerCounts": {
        "A_BODY_KEEP": {
          "input": 1,
          "off": 1,
          "on": 1
        },
        "A_METHOD_KEEP": {
          "input": 1,
          "off": 1,
          "on": 1
        },
        "A_FENCE_FAKE_REFERENCE": {
          "input": 1,
          "off": 1,
          "on": 1
        },
        "A_REFERENCE_ENTRY": {
          "input": 1,
          "off": 1,
          "on": 0
        },
        "A_REFERENCE_CHILD": {
          "input": 1,
          "off": 1,
          "on": 0
        },
        "A_APPENDIX_KEEP": {
          "input": 1,
          "off": 1,
          "on": 1
        },
        "A_FOOTNOTE_KEEP": {
          "input": 1,
          "off": 1,
          "on": 1
        },
        "B_BODY_KEEP": {
          "input": 1,
          "off": 1,
          "on": 1
        },
        "B_NEAR_HEADING_KEEP": {
          "input": 1,
          "off": 1,
          "on": 1
        },
        "B_NEAR_ENTRY_KEEP": {
          "input": 1,
          "off": 1,
          "on": 1
        },
        "B_FENCE_FAKE_REFERENCE": {
          "input": 1,
          "off": 1,
          "on": 1
        },
        "B_END_KEEP": {
          "input": 1,
          "off": 1,
          "on": 1
        },
        "B_FOOTNOTE_KEEP": {
          "input": 1,
          "off": 1,
          "on": 1
        }
      },
      "toc": {
        "offEntries": [
          "- [课程甲：参考章节边界](#课程甲参考章节边界)\n",
          "  - [方法](#方法)\n",
          "  - [参考文献](#参考文献)\n",
          "    - [数据来源](#数据来源)\n",
          "  - [附录](#附录)\n",
          "- [课程乙：近似标题与代码](#课程乙近似标题与代码)\n",
          "  - [参考文献补充](#参考文献补充)\n",
          "  - [结语](#结语)\n"
        ],
        "onEntries": [
          "- [课程甲：参考章节边界](#课程甲参考章节边界)\n",
          "  - [方法](#方法)\n",
          "  - [附录](#附录)\n",
          "- [课程乙：近似标题与代码](#课程乙近似标题与代码)\n",
          "  - [参考文献补充](#参考文献补充)\n",
          "  - [结语](#结语)\n"
        ],
        "removedEntries": [
          "  - [参考文献](#参考文献)\n",
          "    - [数据来源](#数据来源)\n"
        ],
        "outsideFences": true
      },
      "removedBodySection": {
        "offBodyLinesInclusive": [
          14,
          21
        ],
        "stopsBefore": "## 附录",
        "exactText": "## 参考文献\n\n[1] 自编甲资料，2001年。A_REFERENCE_ENTRY\n\n### 数据来源\n\n此行是参考文献的子节。A_REFERENCE_CHILD\n\n"
      },
      "lineDiff": [
        {
          "operation": "delete",
          "offLinesInclusive": [
            5,
            6
          ],
          "onInsertBeforeLine": 5,
          "removedText": "  - [参考文献](#参考文献)\n    - [数据来源](#数据来源)\n",
          "insertedText": ""
        },
        {
          "operation": "delete",
          "offLinesInclusive": [
            24,
            31
          ],
          "onInsertBeforeLine": 22,
          "removedText": "\n## 参考文献\n\n[1] 自编甲资料，2001年。A_REFERENCE_ENTRY\n\n### 数据来源\n\n此行是参考文献的子节。A_REFERENCE_CHILD\n",
          "insertedText": ""
        }
      ],
      "blankLineAccounting": "SequenceMatcher assigns the shared boundary blank line to the start of the body deletion. Deleting the semantic range from ## 参考文献 through the blank line before ## 附录 yields exactly the same native on-body bytes; no general whitespace normalization is used.",
      "baselineRetainedInvariants": [
        "Off body equals original input A, two added LF plus --- separator and two LF, then original input B.",
        "On body equals off body with only the exact real reference section and its child deleted.",
        "Same-level appendix, near-match heading, both fenced fake reference headings, full input B, original H1s, separator, body citations and both distinct footnote references/definitions remain byte-identical."
      ]
    },
    "conclusion": "In this single Chinese ATX-heading fixture, enabling 剔除参考文献章节 removes the real exact ## 参考文献 section including ### 数据来源, stops before same-level ## 附录, and omits only their two TOC entries. It preserves the near-match heading, both code-fenced fake headings, body [1]/[2] citations and both distinct footnotes. Other remaining body bytes are identical.",
    "limits": [
      "One two-file synthetic fixture; not a general Markdown parser compatibility or reference-cleanup certification.",
      "English References/Bibliography headings, Setext headings, cross-line headings, repeated reference sections, malformed fences and other heading variants were not tested.",
      "This fixture has distinct footnote labels and no duplicate reference anchors, so enabled deduplication options do not prove duplicate handling.",
      "It removes a section; it does not remove all in-text citations or all reference-like content."
    ],
    "checks": [
      {
        "name": "raw bytes: 01-课程甲.md",
        "pass": true,
        "actual": 580,
        "expected": 580
      },
      {
        "name": "raw SHA-256: 01-课程甲.md",
        "pass": true,
        "actual": "1168d6f2bd6dc91bda2031b9269a099979872b3588af675296da6051a83fc220",
        "expected": "1168d6f2bd6dc91bda2031b9269a099979872b3588af675296da6051a83fc220"
      },
      {
        "name": "raw bytes: 02-课程乙.md",
        "pass": true,
        "actual": 452,
        "expected": 452
      },
      {
        "name": "raw SHA-256: 02-课程乙.md",
        "pass": true,
        "actual": "97db0372c97c8145b5af0b65de0785b88471e56c4c677c681369dcfa74380507",
        "expected": "97db0372c97c8145b5af0b65de0785b88471e56c4c677c681369dcfa74380507"
      },
      {
        "name": "raw bytes: references-off-native.md",
        "pass": true,
        "actual": 1369,
        "expected": 1369
      },
      {
        "name": "raw SHA-256: references-off-native.md",
        "pass": true,
        "actual": "3e795eca3530b5c59a2346c9cb78762672af54c7abbac4e555671f836ed70f7c",
        "expected": "3e795eca3530b5c59a2346c9cb78762672af54c7abbac4e555671f836ed70f7c"
      },
      {
        "name": "raw bytes: references-on-native.md",
        "pass": true,
        "actual": 1161,
        "expected": 1161
      },
      {
        "name": "raw SHA-256: references-on-native.md",
        "pass": true,
        "actual": "23f4ef99b5bc468cdcd5ab5d3f8517b95aa4d5734da5c4fb3d621096bdfe106b",
        "expected": "23f4ef99b5bc468cdcd5ab5d3f8517b95aa4d5734da5c4fb3d621096bdfe106b"
      },
      {
        "name": "raw bytes: product-run-receipt.json",
        "pass": true,
        "actual": 1383,
        "expected": 1383
      },
      {
        "name": "raw SHA-256: product-run-receipt.json",
        "pass": true,
        "actual": "b698ab8df53aa825edfce832622abb00609ef49b4246e162398c089c6877dcc6",
        "expected": "b698ab8df53aa825edfce832622abb00609ef49b4246e162398c089c6877dcc6"
      },
      {
        "name": "raw bytes: settings-off.jpg",
        "pass": true,
        "actual": 90659,
        "expected": 90659
      },
      {
        "name": "raw SHA-256: settings-off.jpg",
        "pass": true,
        "actual": "33b7fc364f0787306e8d42ed328ada413a2f6861e2b597532b43b57d00d06453",
        "expected": "33b7fc364f0787306e8d42ed328ada413a2f6861e2b597532b43b57d00d06453"
      },
      {
        "name": "raw bytes: settings-on.jpg",
        "pass": true,
        "actual": 87008,
        "expected": 87008
      },
      {
        "name": "raw SHA-256: settings-on.jpg",
        "pass": true,
        "actual": "668b99e970b3f78445349cdbe272e1d3db43e4abff1b153f62c7548447670e68",
        "expected": "668b99e970b3f78445349cdbe272e1d3db43e4abff1b153f62c7548447670e68"
      },
      {
        "name": "UTF-8 without BOM: 01-课程甲.md",
        "pass": true,
        "actual": false,
        "expected": false
      },
      {
        "name": "LF without CR: 01-课程甲.md",
        "pass": true,
        "actual": false,
        "expected": false
      },
      {
        "name": "trailing LF: 01-课程甲.md",
        "pass": true,
        "actual": true,
        "expected": true
      },
      {
        "name": "UTF-8 without BOM: 02-课程乙.md",
        "pass": true,
        "actual": false,
        "expected": false
      },
      {
        "name": "LF without CR: 02-课程乙.md",
        "pass": true,
        "actual": false,
        "expected": false
      },
      {
        "name": "trailing LF: 02-课程乙.md",
        "pass": true,
        "actual": true,
        "expected": true
      },
      {
        "name": "UTF-8 without BOM: references-off-native.md",
        "pass": true,
        "actual": false,
        "expected": false
      },
      {
        "name": "LF without CR: references-off-native.md",
        "pass": true,
        "actual": false,
        "expected": false
      },
      {
        "name": "trailing LF: references-off-native.md",
        "pass": true,
        "actual": true,
        "expected": true
      },
      {
        "name": "UTF-8 without BOM: references-on-native.md",
        "pass": true,
        "actual": false,
        "expected": false
      },
      {
        "name": "LF without CR: references-on-native.md",
        "pass": true,
        "actual": false,
        "expected": false
      },
      {
        "name": "trailing LF: references-on-native.md",
        "pass": true,
        "actual": true,
        "expected": true
      },
      {
        "name": "13 explicit unique markers in fixture",
        "pass": true,
        "actual": [
          "A_APPENDIX_KEEP",
          "A_BODY_KEEP",
          "A_FENCE_FAKE_REFERENCE",
          "A_FOOTNOTE_KEEP",
          "A_METHOD_KEEP",
          "A_REFERENCE_CHILD",
          "A_REFERENCE_ENTRY",
          "B_BODY_KEEP",
          "B_END_KEEP",
          "B_FENCE_FAKE_REFERENCE",
          "B_FOOTNOTE_KEEP",
          "B_NEAR_ENTRY_KEEP",
          "B_NEAR_HEADING_KEEP"
        ],
        "expected": [
          "A_APPENDIX_KEEP",
          "A_BODY_KEEP",
          "A_FENCE_FAKE_REFERENCE",
          "A_FOOTNOTE_KEEP",
          "A_METHOD_KEEP",
          "A_REFERENCE_CHILD",
          "A_REFERENCE_ENTRY",
          "B_BODY_KEEP",
          "B_END_KEEP",
          "B_FENCE_FAKE_REFERENCE",
          "B_FOOTNOTE_KEEP",
          "B_NEAR_ENTRY_KEEP",
          "B_NEAR_HEADING_KEEP"
        ]
      },
      {
        "name": "fixture marker once: A_BODY_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "off marker retained once: A_BODY_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "on marker boundary: A_BODY_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "fixture marker once: A_METHOD_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "off marker retained once: A_METHOD_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "on marker boundary: A_METHOD_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "fixture marker once: A_FENCE_FAKE_REFERENCE",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "off marker retained once: A_FENCE_FAKE_REFERENCE",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "on marker boundary: A_FENCE_FAKE_REFERENCE",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "fixture marker once: A_REFERENCE_ENTRY",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "off marker retained once: A_REFERENCE_ENTRY",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "on marker boundary: A_REFERENCE_ENTRY",
        "pass": true,
        "actual": 0,
        "expected": 0
      },
      {
        "name": "fixture marker once: A_REFERENCE_CHILD",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "off marker retained once: A_REFERENCE_CHILD",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "on marker boundary: A_REFERENCE_CHILD",
        "pass": true,
        "actual": 0,
        "expected": 0
      },
      {
        "name": "fixture marker once: A_APPENDIX_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "off marker retained once: A_APPENDIX_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "on marker boundary: A_APPENDIX_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "fixture marker once: A_FOOTNOTE_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "off marker retained once: A_FOOTNOTE_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "on marker boundary: A_FOOTNOTE_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "fixture marker once: B_BODY_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "off marker retained once: B_BODY_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "on marker boundary: B_BODY_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "fixture marker once: B_NEAR_HEADING_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "off marker retained once: B_NEAR_HEADING_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "on marker boundary: B_NEAR_HEADING_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "fixture marker once: B_NEAR_ENTRY_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "off marker retained once: B_NEAR_ENTRY_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "on marker boundary: B_NEAR_ENTRY_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "fixture marker once: B_FENCE_FAKE_REFERENCE",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "off marker retained once: B_FENCE_FAKE_REFERENCE",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "on marker boundary: B_FENCE_FAKE_REFERENCE",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "fixture marker once: B_END_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "off marker retained once: B_END_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "on marker boundary: B_END_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "fixture marker once: B_FOOTNOTE_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "off marker retained once: B_FOOTNOTE_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "on marker boundary: B_FOOTNOTE_KEEP",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "off TOC starts at front",
        "pass": true,
        "actual": true,
        "expected": true
      },
      {
        "name": "on TOC starts at front",
        "pass": true,
        "actual": true,
        "expected": true
      },
      {
        "name": "off TOC outside code fences",
        "pass": true,
        "actual": [],
        "expected": []
      },
      {
        "name": "on TOC outside code fences",
        "pass": true,
        "actual": [],
        "expected": []
      },
      {
        "name": "off TOC 8 entries",
        "pass": true,
        "actual": 8,
        "expected": 8
      },
      {
        "name": "on TOC 6 entries",
        "pass": true,
        "actual": 6,
        "expected": 6
      },
      {
        "name": "TOC removes exactly two reference entries",
        "pass": true,
        "actual": [
          "- [课程甲：参考章节边界](#课程甲参考章节边界)\n",
          "  - [方法](#方法)\n",
          "  - [附录](#附录)\n",
          "- [课程乙：近似标题与代码](#课程乙近似标题与代码)\n",
          "  - [参考文献补充](#参考文献补充)\n",
          "  - [结语](#结语)\n"
        ],
        "expected": [
          "- [课程甲：参考章节边界](#课程甲参考章节边界)\n",
          "  - [方法](#方法)\n",
          "  - [附录](#附录)\n",
          "- [课程乙：近似标题与代码](#课程乙近似标题与代码)\n",
          "  - [参考文献补充](#参考文献补充)\n",
          "  - [结语](#结语)\n"
        ]
      },
      {
        "name": "TOC otherwise byte-for-byte equal",
        "pass": true,
        "actual": {
          "bytes": 260,
          "sha256": "bfbee2eb60903810b0f5b1300c5224e0608efdfdebe6b1b7661208fbfbe97a28"
        },
        "expected": {
          "bytes": 260,
          "sha256": "bfbee2eb60903810b0f5b1300c5224e0608efdfdebe6b1b7661208fbfbe97a28"
        }
      },
      {
        "name": "off body exactly ordered raw inputs plus separator",
        "pass": true,
        "actual": {
          "bytes": 1039,
          "sha256": "55578c034d8323af68102e624d829af5d863fce2d8714d71b12ee6d624482cf9"
        },
        "expected": {
          "bytes": 1039,
          "sha256": "55578c034d8323af68102e624d829af5d863fce2d8714d71b12ee6d624482cf9"
        }
      },
      {
        "name": "off real body headings exclude fenced fake headings",
        "pass": true,
        "actual": [
          [
            1,
            "课程甲：参考章节边界"
          ],
          [
            2,
            "方法"
          ],
          [
            2,
            "参考文献"
          ],
          [
            3,
            "数据来源"
          ],
          [
            2,
            "附录"
          ],
          [
            1,
            "课程乙：近似标题与代码"
          ],
          [
            2,
            "参考文献补充"
          ],
          [
            2,
            "结语"
          ]
        ],
        "expected": [
          [
            1,
            "课程甲：参考章节边界"
          ],
          [
            2,
            "方法"
          ],
          [
            2,
            "参考文献"
          ],
          [
            3,
            "数据来源"
          ],
          [
            2,
            "附录"
          ],
          [
            1,
            "课程乙：近似标题与代码"
          ],
          [
            2,
            "参考文献补充"
          ],
          [
            2,
            "结语"
          ]
        ]
      },
      {
        "name": "on real body headings only remove exact heading and child",
        "pass": true,
        "actual": [
          [
            1,
            "课程甲：参考章节边界"
          ],
          [
            2,
            "方法"
          ],
          [
            2,
            "附录"
          ],
          [
            1,
            "课程乙：近似标题与代码"
          ],
          [
            2,
            "参考文献补充"
          ],
          [
            2,
            "结语"
          ]
        ],
        "expected": [
          [
            1,
            "课程甲：参考章节边界"
          ],
          [
            2,
            "方法"
          ],
          [
            2,
            "附录"
          ],
          [
            1,
            "课程乙：近似标题与代码"
          ],
          [
            2,
            "参考文献补充"
          ],
          [
            2,
            "结语"
          ]
        ]
      },
      {
        "name": "off all fences closed",
        "pass": true,
        "actual": false,
        "expected": false
      },
      {
        "name": "on all fences closed",
        "pass": true,
        "actual": false,
        "expected": false
      },
      {
        "name": "both fence types retained",
        "pass": true,
        "actual": [
          "```",
          "~~~"
        ],
        "expected": [
          "```",
          "~~~"
        ]
      },
      {
        "name": "two fenced blocks exact text retained",
        "pass": true,
        "actual": [
          "```markdown\n## 参考文献\nA_FENCE_FAKE_REFERENCE\n```\n",
          "~~~markdown\n## 参考文献\nB_FENCE_FAKE_REFERENCE\n~~~\n"
        ],
        "expected": [
          "```markdown\n## 参考文献\nA_FENCE_FAKE_REFERENCE\n```\n",
          "~~~markdown\n## 参考文献\nB_FENCE_FAKE_REFERENCE\n~~~\n"
        ]
      },
      {
        "name": "both fenced fake exact headings still present",
        "pass": true,
        "actual": 2,
        "expected": 2
      },
      {
        "name": "exact real reference heading is level two",
        "pass": true,
        "actual": 2,
        "expected": 2
      },
      {
        "name": "reference boundary stops at same-level appendix",
        "pass": true,
        "actual": [
          2,
          "附录"
        ],
        "expected": [
          2,
          "附录"
        ]
      },
      {
        "name": "removed range is exactly reference section and child",
        "pass": true,
        "actual": "## 参考文献\n\n[1] 自编甲资料，2001年。A_REFERENCE_ENTRY\n\n### 数据来源\n\n此行是参考文献的子节。A_REFERENCE_CHILD\n\n",
        "expected": "## 参考文献\n\n[1] 自编甲资料，2001年。A_REFERENCE_ENTRY\n\n### 数据来源\n\n此行是参考文献的子节。A_REFERENCE_CHILD\n\n"
      },
      {
        "name": "remaining body bytes identical after exact section deletion",
        "pass": true,
        "actual": {
          "bytes": 901,
          "sha256": "7c69336e6d2b5d19c507e5062251ef026c3417de10375e7c825321211924f215"
        },
        "expected": {
          "bytes": 901,
          "sha256": "7c69336e6d2b5d19c507e5062251ef026c3417de10375e7c825321211924f215"
        }
      },
      {
        "name": "whole output is two TOC entries plus exact section deletion",
        "pass": true,
        "actual": {
          "bytes": 1161,
          "sha256": "23f4ef99b5bc468cdcd5ab5d3f8517b95aa4d5734da5c4fb3d621096bdfe106b"
        },
        "expected": {
          "bytes": 1161,
          "sha256": "23f4ef99b5bc468cdcd5ab5d3f8517b95aa4d5734da5c4fb3d621096bdfe106b"
        }
      },
      {
        "name": "entire second input preserved byte-for-byte off",
        "pass": true,
        "actual": {
          "bytes": 452,
          "sha256": "97db0372c97c8145b5af0b65de0785b88471e56c4c677c681369dcfa74380507"
        },
        "expected": {
          "bytes": 452,
          "sha256": "97db0372c97c8145b5af0b65de0785b88471e56c4c677c681369dcfa74380507"
        }
      },
      {
        "name": "entire second input preserved byte-for-byte on",
        "pass": true,
        "actual": {
          "bytes": 452,
          "sha256": "97db0372c97c8145b5af0b65de0785b88471e56c4c677c681369dcfa74380507"
        },
        "expected": {
          "bytes": 452,
          "sha256": "97db0372c97c8145b5af0b65de0785b88471e56c4c677c681369dcfa74380507"
        }
      },
      {
        "name": "appendix and first footnote tail unchanged",
        "pass": true,
        "actual": {
          "bytes": 623,
          "sha256": "46ead720b7de2572e44fd723058c4f1b07e4ec68b6f0015697cda72c853564a0"
        },
        "expected": {
          "bytes": 623,
          "sha256": "46ead720b7de2572e44fd723058c4f1b07e4ec68b6f0015697cda72c853564a0"
        }
      },
      {
        "name": "off exact A citation + footnote reference",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "on exact A citation + footnote reference",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "off exact B citation + footnote reference",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "on exact B citation + footnote reference",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "off exact A footnote definition",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "on exact A footnote definition",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "off exact B footnote definition",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "on exact B footnote definition",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "on footnote literal occurrences unchanged: qa-a",
        "pass": true,
        "actual": 2,
        "expected": 2
      },
      {
        "name": "on footnote literal occurrences unchanged: qa-b",
        "pass": true,
        "actual": 2,
        "expected": 2
      },
      {
        "name": "A正文 [1] citation remains",
        "pass": true,
        "actual": true,
        "expected": true
      },
      {
        "name": "B正文 [2] citation remains",
        "pass": true,
        "actual": true,
        "expected": true
      },
      {
        "name": "near-reference [2] entry remains",
        "pass": true,
        "actual": true,
        "expected": true
      },
      {
        "name": "document H1s identical",
        "pass": true,
        "actual": [
          [
            1,
            "课程甲：参考章节边界"
          ],
          [
            1,
            "课程乙：近似标题与代码"
          ]
        ],
        "expected": [
          [
            1,
            "课程甲：参考章节边界"
          ],
          [
            1,
            "课程乙：近似标题与代码"
          ]
        ]
      },
      {
        "name": "one separator off",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "one separator on",
        "pass": true,
        "actual": 1,
        "expected": 1
      },
      {
        "name": "line diff only has two deletions",
        "pass": true,
        "actual": [
          "delete",
          "delete"
        ],
        "expected": [
          "delete",
          "delete"
        ]
      },
      {
        "name": "first deletion exactly two TOC lines",
        "pass": true,
        "actual": "  - [参考文献](#参考文献)\n    - [数据来源](#数据来源)\n",
        "expected": "  - [参考文献](#参考文献)\n    - [数据来源](#数据来源)\n"
      },
      {
        "name": "body diff deletion differs only in boundary blank line",
        "pass": true,
        "actual": "\n## 参考文献\n\n[1] 自编甲资料，2001年。A_REFERENCE_ENTRY\n\n### 数据来源\n\n此行是参考文献的子节。A_REFERENCE_CHILD\n",
        "expected": "\n## 参考文献\n\n[1] 自编甲资料，2001年。A_REFERENCE_ENTRY\n\n### 数据来源\n\n此行是参考文献的子节。A_REFERENCE_CHILD\n"
      },
      {
        "name": "no inserted/replaced content",
        "pass": true,
        "actual": [
          "",
          ""
        ],
        "expected": [
          "",
          ""
        ]
      },
      {
        "name": "208 removed bytes explained by two ranges",
        "pass": true,
        "actual": 208,
        "expected": 208
      },
      {
        "name": "receipt input order matches observed H1 order",
        "pass": true,
        "actual": [
          "01-课程甲.md",
          "02-课程乙.md"
        ],
        "expected": [
          "01-课程甲.md",
          "02-课程乙.md"
        ]
      },
      {
        "name": "receipt exactly two runs",
        "pass": true,
        "actual": 2,
        "expected": 2
      },
      {
        "name": "receipt single native MD download per run",
        "pass": true,
        "actual": 2,
        "expected": 2
      },
      {
        "name": "receipt no ZIP download",
        "pass": true,
        "actual": 0,
        "expected": 0
      },
      {
        "name": "receipt only setting changed is reference removal",
        "pass": true,
        "actual": "剔除参考文献章节",
        "expected": "剔除参考文献章节"
      },
      {
        "name": "receipt reference removal goes false then true",
        "pass": true,
        "actual": [
          false,
          true
        ],
        "expected": [
          false,
          true
        ]
      },
      {
        "name": "receipt initial switches retain actual UI defaults",
        "pass": true,
        "actual": [
          "true",
          "false",
          "true",
          "true"
        ],
        "expected": [
          "true",
          "false",
          "true",
          "true"
        ]
      },
      {
        "name": "receipt separator is ---",
        "pass": true,
        "actual": true,
        "expected": true
      },
      {
        "name": "receipt title levels unchanged",
        "pass": true,
        "actual": true,
        "expected": true
      },
      {
        "name": "receipt original reference switch restored without third run",
        "pass": true,
        "actual": true,
        "expected": true
      },
      {
        "name": "receipt distinguishes missing browser download events",
        "pass": true,
        "actual": false,
        "expected": false
      },
      {
        "name": "native evidence bytes unchanged during independent review: 01-课程甲.md",
        "pass": true,
        "actual": true,
        "expected": true
      },
      {
        "name": "native evidence bytes unchanged during independent review: 02-课程乙.md",
        "pass": true,
        "actual": true,
        "expected": true
      },
      {
        "name": "native evidence bytes unchanged during independent review: references-off-native.md",
        "pass": true,
        "actual": true,
        "expected": true
      },
      {
        "name": "native evidence bytes unchanged during independent review: references-on-native.md",
        "pass": true,
        "actual": true,
        "expected": true
      },
      {
        "name": "native evidence bytes unchanged during independent review: product-run-receipt.json",
        "pass": true,
        "actual": true,
        "expected": true
      },
      {
        "name": "native evidence bytes unchanged during independent review: settings-off.jpg",
        "pass": true,
        "actual": true,
        "expected": true
      },
      {
        "name": "native evidence bytes unchanged during independent review: settings-on.jpg",
        "pass": true,
        "actual": true,
        "expected": true
      }
    ],
    "nativeBytesModified": false
  },
  "actualOperations": {
    "fixtureUploads": 1,
    "inputFiles": 2,
    "inputOrder": [
      "01-课程甲.md",
      "02-课程乙.md"
    ],
    "conversionRuns": 2,
    "singleMdDownloads": 2,
    "nativeZipDownloads": 0,
    "initialSettings": {
      "main": "Markdown合并工具\n\n合并多份 Markdown，下载后核对内容；需要 Word 时在编辑器继续导出\n\n开始合并\n文件列表\n01-课程甲.md\n文件大小: 0.57 KB\n拖拽文件可调整顺序\n02-课程乙.md\n文件大小: 0.44 KB\n拖拽文件可调整顺序\n\n点击或拖拽添加更多Markdown文件\n\n最多支持20个文件\n\n合并设置\n分隔符\n---\n标题规范化\n标题级别不变\n生成目录\n剔除参考文献章节\n去重脚注\n去重参考锚点\n输出格式\nMarkdown\nWord（在编辑器导出）\nPDF\n\n需要 Word？先下载合并后的 MD，再到编辑器导出。\n\n操作\n清空队列",
      "switches": [
        "true",
        "false",
        "true",
        "true"
      ]
    },
    "onlyChangedSetting": "剔除参考文献章节",
    "runSettings": [
      false,
      true
    ],
    "downloadEventsObserved": false,
    "downloadButtonsClickedOncePerOutput": true,
    "uniqueFreshSyntheticDownloadsVerified": true,
    "originalReferenceSwitchRestoredFalseWithoutThirdRun": true,
    "toolTabClosedAfterReceipt": true,
    "notes": "Self-authored synthetic Markdown only; native output bytes copied without editing."
  },
  "nativeBytesUnmodified": true,
  "newBrowserOrProductRunsForPackaging": 0,
  "sourceHashes": [
    {
      "file": "01-课程甲.md",
      "bytes": 580,
      "sha256": "1168d6f2bd6dc91bda2031b9269a099979872b3588af675296da6051a83fc220"
    },
    {
      "file": "02-课程乙.md",
      "bytes": 452,
      "sha256": "97db0372c97c8145b5af0b65de0785b88471e56c4c677c681369dcfa74380507"
    },
    {
      "file": "references-off-native.md",
      "bytes": 1369,
      "sha256": "3e795eca3530b5c59a2346c9cb78762672af54c7abbac4e555671f836ed70f7c"
    },
    {
      "file": "references-on-native.md",
      "bytes": 1161,
      "sha256": "23f4ef99b5bc468cdcd5ab5d3f8517b95aa4d5734da5c4fb3d621096bdfe106b"
    },
    {
      "file": "settings-off.jpg",
      "bytes": 90659,
      "sha256": "33b7fc364f0787306e8d42ed328ada413a2f6861e2b597532b43b57d00d06453"
    },
    {
      "file": "settings-on.jpg",
      "bytes": 87008,
      "sha256": "668b99e970b3f78445349cdbe272e1d3db43e4abff1b153f62c7548447670e68"
    }
  ],
  "limits": [
    "These two self-authored ATX-heading fixtures only; no general reference-section parser guarantee.",
    "The original TOC and two deduplication options stayed enabled across both runs; they were not separately tested.",
    "Only exact reference section and its child plus two TOC entries were removed; body citations and footnotes remain and need manual review.",
    "English References/Bibliography, Setext/HTML headings, multiline citations, duplicate footnotes and bibliography databases were not tested.",
    "Download events did not report completion; one click per output followed by unique fresh-file verification, no repeat generation."
  ]
}
