Record the error taxonomy and RQ4 results

Abstention dominates the errors of text retrieval, tool modes mostly fail on
the value with the right report cited, and the adapted EGS correlates with the
automatic score at rho 0.535 to 0.538 in every repetition, so H4 is not
supported; without abstentions rho is about 0.23. Update the plan, overview,
README, AGENTS and progress page, and add the run log entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-20 07:23:31 +00:00
parent fd1440b0c0
commit 23e15ee27e
6 changed files with 124 additions and 25 deletions

View File

@@ -158,7 +158,23 @@ Judge (Sonnet chính, Haiku độ nhạy) là subagent trong session: mỗi judg
`outputs/m5/judge/batches/batch_NN.txt` và ghi `outputs/m5/judge/answers/<model>/batch_NN.json`. `prepare` không chạy lại
khi mẫu đã có; `collect` kiểm checksum protocol v3, hash mẫu và hash prompt. **G3 đạt ngày 20/11/2026:** Sonnet κ = 0,98
(CI 95% 0,947–1,0), Haiku 0,90 so với điểm tự động. Đây là độ nhất quán với bộ chấm tự động, không phải khớp với người;
số chính của T4 vẫn là điểm tự động ([plan §1.7](docs/plan.md#17-m5-g3-và-phân-tích-kết-quả-cuối-ngày-20112026)).
số chính của T4 vẫn là điểm tự động ([plan §1.7](docs/plan.md#17-m5-g3-phân-tích-kết-quả-cuối-phân-loại-lỗi-và-rq4-ngày-20112026)).
## Phân loại lỗi và RQ4 (M5, protocol v4)
`configs/protocol_v4.yaml` (khóa bằng `.sha256`, mở rộng v3) cố định luật phân loại lỗi theo họ câu hỏi và cách chuyển thể
EGS của TADI cho câu trả lời JSON trước khi tính.
```bash
OMP_NUM_THREADS=4 MKL_NUM_THREADS=4 OPENBLAS_NUM_THREADS=4 \
scripts/runlog.sh -n m5_errors -- .venv/bin/python scripts/19_m5_errors.py # khoảng 3 phút
```
Script kiểm checksum v4 và digest đầu vào của mọi checkpoint, chỉ giữ các lượt đủ câu (DeepSeek ba lượt, Qwen v1 seed 0),
rồi ghi `outputs/m5/errors/`: `report.json` (độ phủ, tỉ lệ macro, ρ Spearman và CI theo giếng, cách đọc H4),
`taxonomy.csv` (TB ba lượt và khoảng), `taxonomy_by_run.csv`, `by_answer_type.csv`, `egs_by_run.csv`,
`predictions.parquet`. Kết quả ngày 20/11: ρ EGS gộp 0,535–0,538, H4 không được ủng hộ
([plan §1.7](docs/plan.md#17-m5-g3-phân-tích-kết-quả-cuối-phân-loại-lỗi-và-rq4-ngày-20112026)).
## Ba phiên bản của một DDR và parser OCR
@@ -207,6 +223,7 @@ Dịch vụ OCR:
| `scripts/11_m34_classify.py`, `12_m34_qa.py`, `13_m34_report.py`, `14_m34_t2_llm.py` | Dựng đặc trưng, dự đoán T1–T4/C4, Qwen zero-shot cho T2, chấm và tạo bảng độ phủ G2 |
| `scripts/run_m34.sh` | Driver M3–M4 có runlog, gồm `prepare`, `classical`, `distilbert`, `qa`, `qa-local`, `t2-llm` và `report` |
| `scripts/18_m5_judge.py prepare\|status\|collect` | Hiệu chuẩn LLM-judge cho G3 theo protocol v3 → `outputs/m5/judge/` (report.json, judged.csv, disagreements.csv) |
| `scripts/19_m5_errors.py` | Phân loại lỗi theo họ câu hỏi và RQ4 (EGS so với điểm tự động) theo protocol v4 → `outputs/m5/errors/` |
| `scripts/runlog.sh` | Bọc một lệnh để ghi log và runtime |
| `scripts/run_m1.sh` | Chạy pipeline M1 trên nền P0: 04_ocr_hub, 05 `--source hub`, 06–09, pytest |
| `scripts/run_p0.sh` | Chạy toàn bộ P0: 00 `--check`, 01–05 (04 ở chế độ `--pilot`), pytest |