Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By SZTU-ACMv4.2.0MITIn 1 marketplace
Takes a competitive programming problem from idea to a packaged release for Polygon, Hydro or QOJ, with validation gates before each step. Needs Python 3.10+, uv and a C++20 g++; a PreToolUse hook runs a workflow script before its MCP tool calls.
Trending plugins
7-day copy clicks
Claude hands work to one, or you mention it with @.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Of the plugin's README
Chinese
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
出过题、验过题的 ACMer 都知道,一场比赛最怕的从来不是想不出好 Idea,而是那些开赛后才爆出来的锅:样例手算错了、题面范围和 val.cpp 写反、暴力常数小水过时限、假贪心没人卡掉、交互题漏 flush 直接死锁。绝大多数赛场事故,根源都是验题链路里少跑了某一步,或者凭直觉跳过了实测。
AutoCode 接入你常用的 AI 编程客户端,把整套 ICPC / Codeforces 级别的出题与验题规范做成了必须实测通过才能推进的闭环:val.cpp 没拦住非法输入就不算过关,标程 std 与暴力 brute 没跑通对拍就不造终测,预设的假做法和暴力没全被卡掉就不打包导出——让每一道题从 Idea 到可评测的 OJ 题包,每一步都有实测兜底。
flowchart LR
A["1. 立题与约束核验"] --> B["2. UB 排查与复杂度实测"]
B --> C["3. 多轮对拍与最小反例"]
C --> D["4. 终测数据与覆盖强度"]
D --> E["5. 错解拦截与红队 Hack"]
E --> F["6. 题包导出与解包复测"]
E -. "发现漏洞:带反例与报错回修" .-> B
std、独立暴力 brute、val.cpp(以及 SPJ checker.cpp 或交互器 interactor.cpp),自动核对题面约束与校验器是否一致,并用标程跑通所有样例。gen.cpp 在小数据上高强度对拍 std 与 brute,一旦撞出差异自动缩减出最小 Hack 反例,一眼就能定位错在哪。对拍未通过,不允许进入终测生成。val.cpp;同时统计标程的分支覆盖情况,补齐平时随机数据很难走到的角落逻辑。int、超时暴力写成错解逐一轰终测,确认每个错解都精准命中预期结果(AC / WA / TLE / MLE / RE / PE);再微调标程做变异检测、配合独立视角的红队 Hack,查出数据里任何可能漏杀的薄弱点。错解未杀干净,不允许打包。从零出一道新题
「帮我出一道树上贪心结合倍增的 ICPC 区域赛中档题,时限 2s / 512MB。按 AutoCode 完整流程走完:写好题面、
std、$O(n^2)$brute和val.cpp,过完 UBSan 和多轮对拍后再用gen.cpp造终测,务必构造卡掉假贪心以及链、菊花图退化的卡常数据,最后导出 Polygon 题包并生成 Typst PDF。」
给已有题包做赛前体检并补强数据
「帮我对
./contest/problem-G做全套赛前体检:查一下题面范围和val.cpp有没有写反,用 ASan / UBSan 扫一遍std和checker.cpp,测一遍现有数据的覆盖情况和错解拦截率;如果发现能水过的假做法或小常数暴力,直接找最小反例补进测试点。」
| 维度 | 覆盖范围 |
|---|---|
| 四大题型 | 标准题、Special Judge(checker.cpp)、交互题(interactor.cpp)、通信题(两阶段 run_twice / Grader 联编 grader_linked / 多进程 multi_process);内置 testlib.h 与 jngen.h |
| 正确性与性能 | 多轮对拍与最小反例缩减、ASan / UBSan / MSan 内存与 UB 检查、多规模实测复杂度拟合与硬件指令计数 |
| 数据强度与 Hack | 极限/卡常数据配比、标程分支覆盖率、标程变异检测、精确结果(AC / WA / TLE / MLE / RE / PE)错解矩阵、红队审题 |
| 多语言与隔离评测 | 支持 C++ / Python / PyPy / Rust / Java 五种语言分倍率评测;支持沙箱隔离(bwrap / nsjail / isolate / apple_container) |
| 可视化诊断 | 客户端内直接查看复杂度拟合曲线、验题总览与交互/通信过程回放,排查卡常余量与交互死锁更直观 |
| OJ 导出与排版 | 导出 Polygon、Hydro、QOJ、ICPC-Kattis、IOI CMS 题包并自动解包复测;支持 Polygon 同步与 Typst PDF 题面排版 |
Python 3.10+ · uv · 支持 C++20 的 g++(推荐 GCC 10+;testlib.h 与 jngen.h 已内置,无需额外下载)。
四款受支持的 AI 编程客户端均通过官方插件仓 SummerOneTwo/autocode-marketplace 安装:
Claude Code
claude plugin marketplace add https://github.com/SummerOneTwo/autocode-marketplace.git
claude plugin install autocode@autocode-marketplace
Codex
codex plugin marketplace add https://github.com/SummerOneTwo/autocode-marketplace.git
codex plugin add autocode@autocode-marketplace
DeepSeek Harness (dsh)
git clone https://github.com/SummerOneTwo/autocode-marketplace.git
dsh plugin add ./autocode-marketplace/plugins/autocode-dsh/.dsh-plugin
Antigravity (agy)
git clone https://github.com/SummerOneTwo/autocode-marketplace.git
mkdir -p ~/.gemini/config/plugins && rm -rf ~/.gemini/config/plugins/autocode
cp -R ./autocode-marketplace/plugins/autocode-agy ~/.gemini/config/plugins/autocode
请检查本机的 Python 3.10+、uv 与支持 C++20 的 g++ 是否就绪,并从 https://github.com/SummerOneTwo/autocode-marketplace.git 为当前客户端安装或更新 AutoCode 插件,完成后告诉我如何开始第一道题。
仓库内置 4 类题型的完整示例,可以直接参考目录组织,或直接拿来跑一遍完整体检:
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
autocode@autocode-marketplace is listed by summeronetwo/autocode-marketplace — review the source before installing
npx claudepluginhub summeronetwo/autocode-marketplace --plugin autocodePlugins from other owners that cover similar ground