Commit 0404ad7
feat(verisim-api): add proof_attempts REST endpoints for Hypatia pipeline
Three new routes under /api/v1/proof_attempts:
GET ?limit=N — list attempt rows (for Julia retraining)
POST — insert attempt row from echidnabot
GET /strategy?class=X — recommendations from mv_proven_certificates
GET /certificates?class=X — PROVEN/pending cert status per prover
All handlers speak to ClickHouse HTTP API via reqwest POST-with-body
(VERISIM_CLICKHOUSE_URL, default http://localhost:8123). No new crate deps.
Also fix tantivy 0.26 API break in verisim-document: TopDocs::with_limit(n)
no longer implements Collector directly; must call .order_by_score() first.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 35bd93b commit 0404ad7
3 files changed
Lines changed: 388 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
670 | 671 | | |
671 | 672 | | |
672 | 673 | | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
673 | 687 | | |
674 | 688 | | |
675 | 689 | | |
| |||
0 commit comments