Add the tools sub-project with the run_llm batch runner

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-04 14:03:28 +08:00
co-authored by Claude Fable 5
parent 9a42b463a3
commit 12ace6f45a
24 changed files with 1947 additions and 17 deletions
+8 -5
View File
@@ -14,17 +14,20 @@ Hot 10020162025)為例的內容分析。
## 重現方式
1. 準備 Python 3.10+ 環境,安裝 `requirements.txt`
2. 將 Anthropic API 金鑰寫入 `.env`(格式見 `.env.example`
3.`docs/research_plan.md` 的階段順序執行 `scripts/` 下的
程式。LLM 步驟使用 `claude-sonnet-4-6`、temperature=0、
1. 準備 Python 3.12+ 環境,安裝分析管線套件:
`pip install -e tools/`
2. 將 Anthropic API 金鑰寫入 `.env`(格式見
`tools/.env.example`)。
3.`docs/research_plan.md` 的階段順序執行 `tools/`
子專案的程式(如 `python -m pop_fem_audit_tools run-llm ...`)。
LLM 步驟使用 `claude-sonnet-4-6`、temperature=0、
thinking 關閉;每步驟獨立執行兩次後由仲裁步驟合併
(「2+1」協定)。
4. 每次執行的完整紀錄(定義檔快照、原始輸出、參數)存於
`runs/`,可逐筆稽核。論文引用的最終資料表在 `results/`
注意:歌詞受版權保護,`data/lyrics/` 不隨 repo 發布,須自行
`scripts/` 中的抓取程式重建。
`tools/` 中的抓取程式重建。
## 授權