# SA-CRS Supplementary Material — Python dependencies
# Tested with Python 3.10 / 3.11 on Linux and Windows.
# Install with:  pip install -r requirements.txt

# ---- Core (both reproduction routes) ----
openai>=1.0,<2.0          # DeepSeek (OpenAI-compatible) API client
numpy>=1.24
pandas>=2.0
rapidfuzz>=3.0            # fuzzy title matching for hit_judge + disjointness check
tqdm>=4.65

# ---- Statistics (paired_statistics.py: McNemar exact, paired bootstrap, Welch t, Cohen's h) ----
scipy>=1.10               # also pulled in by scikit-learn

# ---- Route A only: LLM-detector route (Tables 6, 10, 18) ----
# No extra packages beyond Core — Route A needs only the DeepSeek API, no GPU.

# ---- Route B only: BERT-detector route (Tables 13, 12, 17) ----
torch>=2.0                # military_multiturn_eval.py patches torch.load for PyTorch 2.6+
transformers>=4.30        # hfl/chinese-roberta-wwm-ext
scikit-learn>=1.2         # GroupKFold CV + TF-IDF overlap check

# ---- Retrieval baselines only (Table 7: BM25 / bge-m3-nostage) ----
jieba>=0.42               # Chinese tokenization for BM25

# ---- Base framework (install separately) ----
# InteRecAgent (Huang et al., ACM TOIS 2025, doi:10.1145/3731446) is the unmodified vanilla
# backbone and is NOT bundled here. Installing it additionally pulls: faiss-cpu, langchain, loguru.
# See README.md Section 4.
