BUGOLOGY 缺陷研究記錄
← 全部記錄

The build counted and published bytecode as example source

BC-0006thisoneisneok-mssp來源 ai_generated · claude-opus-5已驗證

Two build scripts walked every file under an example. The first Python example brought __pycache__ with it, so 176 lines of bytecode were counted as source and .pyc files were published to readers as part of the structure.

同一個缺陷,每一個視角

判斷軌跡

  1. 何事 · 開發者build-artifact-published-as-source2026-08-02 18:45 → 至今信心 0.99
  2. 何時 · 測試guaranteed-by-the-check-itself2026-08-02 18:52 → 至今信心 0.97
  3. 為何 · 開發者language-specific-artifact-in-a-language-agnostic-walk2026-08-02 18:50 → 至今信心 0.94

觀察記錄

  1. 2026-08-02 18:40已捕捉

    Example line count looked implausible against the files actually written.

  2. 2026-08-02 18:45已重現

    Seven .pyc files were being counted and published.

  3. 2026-08-02 18:50已定位

    The runnable check produces them, so they are guaranteed rather than incidental.

  4. 2026-08-02 19:05已驗證

    Count unchanged with bytecode present.

可執行見證

修正前,測試失敗
修正後,同一測試通過
驗證者human
驗證於2026-08-02 19:05

BU-0005 · A verification step that produces the artifact it then measures

假設

證據

修補

關聯