feat: add selector_scores observation column to question_gen_items

This commit is contained in:
2026-07-14 13:59:29 -04:00
parent 3f984acc18
commit 207e834f30
3 changed files with 88 additions and 1 deletions
@@ -28,8 +28,11 @@ date: 2026-07-12
| `reject_reason` | TEXT | | 拒因文本(首个拒绝门的判定摘要) |
| `final_status` | TEXT | NOT NULL | accepted / rejected / pending |
| `difficulty_steps` | INTEGER | | 重量抽检产出 Agent 步数(NULL=未抽检) |
| `selector_scores` | TEXT | | grounded selector 打分观测(JSON,见下方结构;NULL=未打分) |
| `created_at` | TEXT | NOT NULL | ISO8601 |
`selector_scores` JSON 结构:`{correct_score: float, chosen: float[], pool_size: int, anneal_rounds: int, delta_high_final: float, hard_fail: bool}`
## DDL
```sql
@@ -49,6 +52,7 @@ CREATE TABLE IF NOT EXISTS question_gen_items (
reject_reason TEXT,
final_status TEXT NOT NULL DEFAULT 'pending',
difficulty_steps INTEGER,
selector_scores TEXT,
created_at TEXT NOT NULL
);