Reproduce “Code Is More Than Text: Uncertainty Estimation for Code Generation” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Yuling Shi, Caiqi Zhang, Yuexian Li, Haopeng Wang, Yeheng Chen, Nigel Collier, Xiaodong Gu
The authors estimate uncertainty in generated code from three signals: high-entropy tokens, agreement among natural-language solution plans, and execution on self-generated tests. Rank-normalized scores rank correct outputs above incorrect ones, with official hidden tests defining correctness. Across five models and four Python benchmarks, the ensemble reports 0.776 average AUROC, but this does not establish calibration or downstream benefits.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.