Searcharxiv⌕ Search

arXiv subjects

John Berberian Jr.

Publications and source records attributed to John Berberian Jr..

2 recordsLinked to original sources

VeriContest: A Competitive-Programming Benchmark for Verifiable Code Generation

Large language models can generate useful code from natural language, but their outputs come without correctness guarantees. Verifiable code generation offers a path beyond testing by requiring models to produce not only executable code, but also formal specifications and machine-checkable proofs. Progress in this direction, however, is difficult to measure: existing benchmarks are often small, focus on only one part of the pipeline, lack ground-truth proofs or rigorous specification validation, or target verification settings far from mainstream software development. We present VeriContest, a benchmark of 946 competitive-programming problems from LeetCode and Codeforces for verifiable code generation in Rust with Verus. Each problem pairs a natural language description with expert-validated formal specifications, judge-accepted Rust code, Verus-checked proofs, and positive and negative test suites. VeriContest is constructed through a three-phase pipeline that scales from manually verified seed problems to semi-automated expansion with human-in-the-loop review. To further strengthen benchmark quality, we use testing as an additional quality-assurance layer for validating postcondition completeness. VeriContest supports isolated and compositional evaluation of specification generation, code generation, proof generation, and end-to-end verified program synthesis. Evaluating ten state-of-the-art models reveals a sharp gap between coding ability and verifiable code generation: the strongest model reaches 92.18% on natural-language-to-code generation, but only 48.31% on specification generation, 13.95% on proof generation, and 5.29% end-to-end. These results identify proof and specification generation as the central bottlenecks for models and establish VeriContest as a rigorous platform for measuring and training future systems that generate code with machine-checkable correctness.

cs.SE↗

TOI-431/HIP 26013: a super-Earth and a sub-Neptune transiting a bright, early K dwarf, with a third RV planet

We present the bright (V$_{mag} = 9.12$), multi-planet system TOI-431, characterised with photometry and radial velocities. We estimate the stellar rotation period to be $30.5 \pm 0.7$ days using archival photometry and radial velocities. TOI-431b is a super-Earth with a period of 0.49 days, a radius of 1.28 $\pm$ 0.04 R$_{\oplus}$, a mass of $3.07 \pm 0.35$ M$_{\oplus}$, and a density of $8.0 \pm 1.0$ g cm$^{-3}$; TOI-431d is a sub-Neptune with a period of 12.46 days, a radius of $3.29 \pm 0.09$ R$_{\oplus}$, a mass of $9.90^{+1.53}_{-1.49}$ M$_{\oplus}$, and a density of $1.36 \pm 0.25$ g cm$^{-3}$. We find a third planet, TOI-431c, in the HARPS radial velocity data, but it is not seen to transit in the TESS light curves. It has an $M \sin i$ of $2.83^{+0.41}_{-0.34}$ M$_{\oplus}$, and a period of 4.85 days. TOI-431d likely has an extended atmosphere and is one of the most well-suited TESS discoveries for atmospheric characterisation, while the super-Earth TOI-431b may be a stripped core. These planets straddle the radius gap, presenting an interesting case-study for atmospheric evolution, and TOI-431b is a prime TESS discovery for the study of rocky planet phase curves.

astro-ph.EP↗