Spaces:
Sleeping
Sleeping
Commit History
-
Self-contain CLIProxyAPI install + ieee-fraud schema cleanup
Zhu Jiajun (jz28583) +1: Claude Opus 4.7 (1M context)Cliproxyapi: - install.sh fetches binary from upstream releases (vN linux-amd64) - _vendor/LICENSE is the only committed file (binary + config.yaml + proxy.log are .gitignored — install.sh produces them) - The Python shim already had config.example.yaml at the parent level ieee-fraud-detection manifest: - files now lists train/val/test_features.csv (with identity merged in) + sample_submission, instead of raw transaction/identity tables - description spells out the temporal val split (last 20% by TransactionDT) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>26a61c7 -
Add clamp_proxy + route AI-Build-AI through it (max_tokens fix)
Zhu Jiajun (jz28583) +1: Claude Opus 4.7 (1M context)Root cause: aibuildai's bundled claude-cli (2.1.44) hardcodes max_tokens=128001 in its first /v1/messages call. Anthropic's current cap for claude-sonnet-4-6 / claude-opus-4-x is 128000, so every aibuildai run on a fresh task fails with 400 invalid_request_error after ~6 seconds. The bundled SDK ignores the documented CLAUDE_CODE_MAX_OUTPUT_TOKENS env and exposes no CLI flag for this in 2.1.44. (Bug confirmed by tracing the SDK's xl(model) function — for sonnet-4 it returns upperLimit=64000, the call site appears to compute upperLimit*2+1 = 128001 somewhere.) Fix: a tiny Flask passthrough proxy at agents/cliproxyapi/clamp_proxy.py that listens on port 8318, parses POST/PUT JSON bodies, clamps any max_tokens > 128000, and forwards everything else verbatim to CLIProxyAPI (streaming preserved). The AI-Build-AI runner overrides ANTHROPIC_BASE_URL to point at the clamp port. Other agents (MLEvolve, future OpenAI/Gemini clients) bypass it entirely — they never had this bug. End-to-end veri…61a7817 -
Trim agents/cliproxyapi surface
Zhu Jiajun (jz28583) +1: Claude Opus 4.7 (1M context)Drop unused symbols + the misleading config.example.yaml so the public shim is just six things: ProxyEndpoint, anthropic_env, openai_env, openai_yaml_block, is_ready, wait_until_ready. - Remove gemini_env() — no current consumer. - Remove spawn_proxy() ctx-manager — proxy always runs out of band on this deploy (long-lived OAuth state). - Remove agents/cliproxyapi/config.example.yaml — the real working config lives in the operator's own ~/.cli-proxy-api/. - Remove empty agents/common/tasks_md/ scaffolding. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>701d9c5 -
Add agents/ harness integrations and HF Space scoring deployment
Zhu Jiajun (jz28583) +1: Claude Opus 4.7 (1M context)- agents/cliproxyapi: reusable shim that points any agent's SDK at one CLIProxyAPI proxy via anthropic_env / openai_env / gemini_env helpers. - agents/{ai_build_ai,mlevolve}: runners that stage GraphTestbed task data, route LLM calls through the proxy, and harvest submission CSVs. Tested end-to-end on figraph; both scored on the leaderboard (aibuildai-claude-sonnet-4-6 0.819, mlevolve-gpt-5.3-codex-spark 0.790). - agents/common: shared workspace + task-instruction + finalize helpers. - server/space/: Docker SDK Space deployment. Boot orchestrator in space_entry.py snapshot_downloads GT + leaderboard.db from the companion private dataset (lanczos/graphtestbed-gt) on startup, then runs a daemon thread that backs up sqlite + new submission CSVs every 60s via huggingface_hub.upload_file/upload_folder. - server/api.py: optional GT_ARCHIVE_DIR env writes raw submission CSVs to disk so the backup loop can ship them to the dataset repo. - graphtestbed/{submit,leaderboard}.py…d094faf