Commit 7c931cb
feat: US-008 - Agent-based oracle curation tool
Implements scripts/curate_oracle.py — a Sourcegraph-powered oracle
discovery tool that automatically generates exhaustive oracle_answer.json
files for MCP-unique benchmark tasks.
Key features:
- Calls SG GraphQL API (stdlib urllib) for file and symbol search
- Curates file_set_match, symbol_resolution, dependency_chain oracles
- Incremental: merges new findings with existing oracle_answer.json
- Rate limiting with exponential backoff on 429 responses
- --verify mode runs validate_mcp_task_instance.py post-curation
- --dry-run shows planned queries without API calls
- Writes oracle_curation_log.json for full query auditability
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent d7aff64 commit 7c931cb
3 files changed
Lines changed: 788 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
163 | 186 | | |
164 | 187 | | |
165 | 188 | | |
| |||
0 commit comments