potentialpaper

Viverra: Text-to-Code with Guarantees

Update NeurIPS 2026 submission 35jwwbZdxS: 11 notes

@openreview[bot] · 2026-11-24 15:45 UTC · 4023f11fb97b ·

Evidence

reviews/openreview/35jwwbzdxs/notes/0jcobxnsam.json added

+++ b/reviews/openreview/35jwwbzdxs/notes/0jcobxnsam.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "0JcobxNSaM",
+ "replyTo": "VOmAgOp0hy",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "We thank the reviewer for the continued engagement. The two remaining concerns are, in our view, two halves of a single question: *what exactly does the user study establish, and what does verification add on top of it?* We address them below.\n\n> Do the assertions capture important, non-trivial properties?\n\nWe believe non-triviality is ultimately measured by how much the assertions add to what a human reader can already easily see in the code. And therefore, the most definitive measure of assertion quality is behavioral: do the assertions help readers better understand the program? This is precisely what the user study measures. To recap the design of the user study: both the baseline condition and annotated condition saw the *same* LLM-generated C program, including the *same* original LLM-generated documentation. The *only* difference was the presence of the `//FACT` statements, which are local assertions formally verified by the bounded model checker. In other words, the baseline condition already contains helpful explanatory LLM comments, and the measured gain is what the verified facts add on top of them. There was no participant overlap between conditions on the same question.\n\nUnder this controlled design, if the verified assertions were trivial, the annotated group would have no advantage, since both groups had everything else in common. Instead, accuracy rose from 72% to 93%, and annotated participants were generally faster. The improvement is therefore direct evidence that the verified assertions carried information that was not readily inferable by a reader from the code and existing comments. We consider this a strong form of evidence for assertion quality, as it measures quality in the sense we actually care about in practice.\n\n> Does the improvement come from formal verification or from helpful comments?\n\nWe believe the reviewer's instinct here is right: the comprehension gain comes solely from the *content* of the annotations being helpful, not from the fact that they were formally verified. Verification was not meant to be the mechanism of the comprehension gain.\n\nRather, correctness and helpfulness are two separate properties of the same annotations:\n- The user study establishes that the annotations are *helpful*: they measurably improve human understanding.\n- The bounded model checker provides **correctness guarantees** to the annotations: every `//FACT` shown to participants is provably correct on bounded executions of the program.\n\nThe contribution of Viverra is achieving *both properties simultaneously*, and this is where the difficulty lies. It is easy to emit verified statements that are trivially true, and it is easy to emit seemingly insightful annotations that are either incorrect or infeasible to verify. What is hard is producing annotations that come with a formal correctness guarantee *and* that still tell a human reader something they could not easily see.\n\n> Why is there a motivation for verification if it is expensive and does not itself boost comprehension scores?\n\nWe are considering a setting in which the user is given an LLM-generated program, does not know whether it is correct, and therefore needs to examine the code. This task is both common and increasingly difficult, as LLMs are used to generate more complex programs. In this setting, a plausible but wrong comment can convince the Text-to-Code user that the program has a property it does not have, which is arguably worse than no comment at all. Viverra aims to reduce this risk by providing a bounded formal correctness guarantee to the annotations. We do not claim to have solved this important challenge in full generality. But Viverra is, to our knowledge, the first demonstration that it is possible to provide formally guaranteed annotations that can deliver measurable comprehension benefits on realistic Text-to-Code tasks.\n\nWe believe these points are present in the paper but can and should be made sharper. In particular, we will state explicitly that the user study measures the helpfulness of the annotations while the point of the verification is to independently provide formal guarantees of their correctness. We will revise the paper accordingly. We thank the reviewer again for the discussion: these questions go straight to the core of what Viverra is trying to establish, and the exchange gives us the opportunity to articulate it more explicitly."
+ },
+ "createdAt": "2026-08-03T14:56:58.160Z",
+ "modifiedAt": "2026-11-19T17:18:56.355Z",
+ "url": "https://openreview.net/forum?id=35jwwbZdxS&noteId=0JcobxNSaM",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/35jwwbzdxs/notes/1zarhasx8h.json added

+++ b/reviews/openreview/35jwwbzdxs/notes/1zarhasx8h.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "1ZarhAsX8h",
+ "replyTo": "7DHfzOJCzi",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "We thank the reviewer for the supportive review, and we apologize for the delay in posting our response. We were gathering the experimental results needed to address the reviewers' concerns. Designing a practical framework where a text-to-code system can attach non-trivial, machine-checked guarantees to the code it hands a user requires unconventional compromises in formal verification. We are glad the reviewer finds the combination of LLM-based generation and formal verification a natural design choice; this is the intuition behind Viverra. We respond to the reviewer's concerns/questions as follows.\n\n> **W1:** *Single LLM; relatively simple tasks*\n\nWe agree it would be interesting to evaluate the effect of using different models. We conduct experiments with GPT-5.4 (low reasoning), Claude Opus 5, and MiniMax-M3.\n\n| Model | #Assert | Verified | C-Verified | Unverified | LLM time (s) | Verify time (s) |\n|---|---:|---:|---:|---:|---:|---:|\n| GPT-5.1 (paper) | 30.2 $\\pm$ 18.6 | 27.9 $\\pm$ 19.0 | 0.3 $\\pm$ 1.0 | 1.3 $\\pm$ 3.4 | 162.8 $\\pm$ 108.0 | 316.4 $\\pm$ 542.7 |\n| GPT-5.4 | 49.3 $\\pm$ 24.4 | 42.4 $\\pm$ 23.9 | 0.1 $\\pm$ 1.5 | 6.8 $\\pm$ 8.3 | 358.2 $\\pm$ 192.4 | 423.8 $\\pm$ 590.4 |\n| Claude Opus 5 | 43.1 $\\pm$ 20.9 | 38.2 $\\pm$ 20.7 | 0.2 $\\pm$ 0.8 | 4.7 $\\pm$ 6.9 | 294.6 $\\pm$ 171.3 | 366.7 $\\pm$ 546.2 |\n| MiniMax-M3 | 33.8 $\\pm$ 19.5 | 25.6 $\\pm$ 18.1 | 0.4 $\\pm$ 1.2 | 7.8 $\\pm$ 9.1 | 184.9 $\\pm$ 126.7 | 345.3 $\\pm$ 618.5 |\n\nThe pipeline is robust across models: every model co-specifies a substantial number of assertions (30–49 per task on average), of which the large majority\n(76–92%) are verified, and end-to-end time stays tractable (under ~15\nminutes per task on average). The more recent models (GPT-5.4, Claude\nOpus 5) elicit noticeably more assertions than the paper's model, and\nupon closer examination the additional assertions are relevant\nproperties of the task; this richer co-specification comes at the cost\nof increased verification time. We will include these results and\ndiscussion in the revised paper.\n\nOn the tasks, the generated programs are 150–480 LOC multi-function C\nprograms with input validation, core logic, and output formatting:\ninteractive games with move validation (sudoku, connect4), parsers\n(ISO-8601 timestamps with offset normalization and date rollover), and\nnumerical routines (simplex with Bland's rule, Gaussian elimination with\npartial pivoting), which are beyond the single-function settings of HumanEval/MBPP. It is fair to say the tasks are not algorithmically deep in the\ncompetitive-programming sense, but this is an intentional experimental\ndesign choice: in practice, most of the code we ask LLMs to generate is\nnot algorithmically deep, but is multi-function and hard to comprehend\nbecause of its scale. This is the regime where auditable safety and\ncorrectness properties (input validation, bounds, invariants, format\nguarantees) matter and where bounded verification is desirable;\nViverra deliberately targets this regime. We will discuss this in the paper.\n\n\n> **W2:** *Compare against CoT self-checking and LLM-generated tests*\n\nWe believe neither CoT self-checking nor LLM-generated tests are directly relevant baselines for our approach. The premise of this paper is: if we want *any* useful formal guarantee to come with Text-to-Code, what trade-offs must we\nmake to achieve it in practice? Viverra is presented as a solution to this question.\n\n\n> **Q1:** *Are all important safety/correctness constraints included in\n> the partial co-specification?*\n\nWe agree this would be a desirable property to have, but it is very challenging both to decide that an LLM-generated property set fully captures a natural-language intent and to verify a full specification of a program. This is why we call the approach *partial* co-specification, an intentional trade-off that makes verification feasible: Viverra guarantees that everything it surfaces is machine-checked, but does not claim the property set is complete. The verified facts are thus aids to review rather than a replacement for it, and our user study shows that even a partial property set helps substantially: participants answered comprehension questions correctly 93% of the time with the verified facts shown, versus 72% without. We will clarify this point explicitly in the revised paper.\n\nWe thank the reviewer again for the feedback. If the reviewer has additional questions, we are happy to answer them."
+ },
+ "createdAt": "2026-07-29T07:03:06.769Z",
+ "modifiedAt": "2026-11-19T17:18:56.333Z",
+ "url": "https://openreview.net/forum?id=35jwwbZdxS&noteId=1ZarhAsX8h",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/35jwwbzdxs/notes/acta6nqtsk.json added

+++ b/reviews/openreview/35jwwbzdxs/notes/acta6nqtsk.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "aCtA6NQtsK",
+ "replyTo": "KVQLuJQ3bG",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "We thank the reviewer for the discussion, and we are happy to clarify our choice of contribution type. \nOur choice of \"Concept and Feasibility\" stems from the central question we investigate in this paper: *Is it possible to generate programs directly from natural language descriptions, such that the generated programs come with useful formal guarantees about their behaviors?*\n\nCurrently, this problem is not known to be feasible in practice. A large body of existing verification work requires a formal specification as an input, and full verification remains expensive in practice, even with the help of AI. Conversely, LLM-based code-generation techniques provide no formal guarantees regarding the correctness of the generated code. Our conceptual goal is to occupy the middle ground between these two areas of mainstream research, taking advantage of both. \n\nWe propose that some conscientious compromises need to be made to achieve this goal in practice, which include a) *partial co-specification* (co-generating the program alongside candidate assertions that serve as partial specifications), and b) *best-effort compositional verification* (accepting incomplete, bounded guarantees by design). \n\nWe see the implemented system and its evaluation as evidence for the *feasibility* claim. We believe the paper will open up broader investigations into the proposed ideas (other languages, different automated reasoning tools, dedicated solutions for programs from specific applications) and trigger discussions at the intersection of Text-to-Code and practical formal verification.\n\nBecause both the question we pose and our proposed solution are new, we believe \"Concept and Feasibility\" best describes our contribution type. That said, we recognize the boundary between categories involves judgment, and we happily defer to the reviewers and AC on the final categorization. \n\nWe thank the reviewer for the careful engagement throughout the discussion. We are happy to provide any additional clarifications on the technical contributions and the contribution type."
+ },
+ "createdAt": "2026-08-03T19:43:40.765Z",
+ "modifiedAt": "2026-11-19T17:18:56.103Z",
+ "url": "https://openreview.net/forum?id=35jwwbZdxS&noteId=aCtA6NQtsK",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/35jwwbzdxs/notes/jbpoinptqn.json added

+++ b/reviews/openreview/35jwwbzdxs/notes/jbpoinptqn.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "jBPOinPtqN",
+ "replyTo": "ab77BNf9Tv",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "We thank the reviewer for the encouraging review, and we apologize for the delay in posting our response; we were gathering the experimental results requested by the reviewers. Designing a practical framework where a text-to-code system can attach non-trivial, machine-checked guarantees to the code it hands a user requires unconventional compromises in formal verification, and we are glad the reviewer recognizes the novelty of the two key ingredients: partial co-specification and compositional verification.\n\n> **W1:** *k sweep, no-elicitation baseline, compositional vs. standalone verification*\n\nWe ran the compositional-vs-standalone ablation on the assertions where compositionality matters most: the last verified assertions in the call-graph traversal order, re-checked standalone. Runtime averages $10.9 \\pm 16.2$ s compositional versus $14.7 \\pm 20.5$ s standalone, suggesting that assuming previously verified statements aids verification. Compositional verification also sometimes yields conditionally verified statements (the C-Verified), which standalone verification cannot produce.\n\nOn BMC without property elicitation: the pipeline already runs this as an internal gate. Before annotation, the bounded program is checked by the same portfolio with ESBMC's default properties and CBMC's unwinding assertions; any violation triggers regeneration. With the paper's model this gate never fires. BMC without co-specification is thus orthogonal: default properties are task-agnostic, whereas Viverra's co-specified assertions express task-specific behavior (e.g., sortedness, swap-counter equality, Condorcet pairwise-win relations) that no generic check covers. We will make this distinction explicit in the paper.\n\nOn the effect of k (Q2): k trades confidence against cost. Increasing k strengthens every verified fact at higher cost, but does not increase the number of verified facts: a counterexample found within k unwindings remains one at every larger bound, and harder instances can only move from Verified toward Timeout. We choose k=5 so that verification remains tractable while the guarantee is non-trivial; where to sit on this trade-off is ultimately the user's decision. We are happy to include a study of k's effect on runtime in the revision.\n\n> **W2:** *Statistical validation (effect sizes, CIs); # of benchmarks too small*\n\nFrom the requester-account export (n=20 assignments per condition per question), pooled over the 10 questions: control accuracy 144/200 = 72% (Wilson 95% CI [0.65, 0.78]) vs. annotated 186/200 = 93% ([0.89, 0.96]), +21 percentage points (95% CI [+13.7, +28.2]).\n\nOn suite size, we deliberately traded breadth for depth: each task is a multi-function program well beyond HumanEval/MBPP scale, closer to LLM-generated programs that are genuinely hard to comprehend, and costly to evaluate.\n\n> **W3:** *Results on other models*\n\nNothing in the method is model-specific, but we agree evaluating other models is interesting. We conduct experiments with GPT-5.4 (low reasoning), Claude Opus 5, and MiniMax-M3 (we could not run Gemini due to budget limitations).\n\n| Model | #Assert | Verified | C-Verified | Unverified | LLM time (s) | Verify time (s) |\n|---|---:|---:|---:|---:|---:|---:|\n| GPT-5.1 (paper) | 30.2 $\\pm$ 18.6 | 27.9 $\\pm$ 19.0 | 0.3 $\\pm$ 1.0 | 1.3 $\\pm$ 3.4 | 162.8 $\\pm$ 108.0 | 316.4 $\\pm$ 542.7 |\n| GPT-5.4 | 49.3 $\\pm$ 24.4 | 42.4 $\\pm$ 23.9 | 0.1 $\\pm$ 1.5 | 6.8 $\\pm$ 8.3 | 358.2 $\\pm$ 192.4 | 423.8 $\\pm$ 590.4 |\n| Claude Opus 5 | 43.1 $\\pm$ 20.9 | 38.2 $\\pm$ 20.7 | 0.2 $\\pm$ 0.8 | 4.7 $\\pm$ 6.9 | 294.6 $\\pm$ 171.3 | 366.7 $\\pm$ 546.2 |\n| MiniMax-M3 | 33.8 $\\pm$ 19.5 | 25.6 $\\pm$ 18.1 | 0.4 $\\pm$ 1.2 | 7.8 $\\pm$ 9.1 | 184.9 $\\pm$ 126.7 | 345.3 $\\pm$ 618.5 |\n\nWe make three observations. First, the pipeline is robust across models: every model co-specifies 30–49 assertions per task on average, the large majority (76–92%) are verified, and end-to-end time stays under ~15 minutes per task. Second, the more recent models (GPT-5.4, Claude Opus 5) elicit noticeably more assertions, and the additional assertions are relevant properties of the task. Third, this richer co-specification increases verification time, suggesting a future direction: prioritize assertions with the highest predicted informativeness so a fixed time budget goes to the highest-quality assertions. We will include these results in the revised paper.\n\n> **Q1:** *How are the natural-language fact translations validated?*\n\nThey are examined manually by the authors against the verified assertions. We are not aware of a better way to validate a formal-to-natural-language translation; the revision will state this as a limitation. One possible mechanization is to back-translate each fact into a C predicate and check equivalence.\n\nWe thank the reviewer again for the feedback. If the reviewer has additional questions, we are happy to answer them."
+ },
+ "createdAt": "2026-07-29T07:00:48.356Z",
+ "modifiedAt": "2026-11-19T17:18:56.196Z",
+ "url": "https://openreview.net/forum?id=35jwwbZdxS&noteId=jBPOinPtqN",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/35jwwbzdxs/notes/kvqlujq3bg.json added

+++ b/reviews/openreview/35jwwbzdxs/notes/kvqlujq3bg.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "KVQLuJQ3bG",
+ "replyTo": "0JcobxNSaM",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer 6kmT",
+ "content": {
+ "comment": "Thank you for the detailed clarification.I better understand that the user study evaluates the helpfulness of the verified facts, while formal verification separately provides bounded correctness guarantees.\n\nOne issue that still makes the paper difficult for me to assess is the contribution type. I selected General because I view the work as a concrete, implemented system with direct technical evaluation and a user study. Use-Inspired also seems plausible given its practical goal of helping developers understand LLM-generated code. In contrast, Concept and Feasibility seems less natural to me because the paper presents a substantially evaluated system rather than an idea whose broader potential lies beyond what can be validated in one paper. Could the authors briefly clarify why they believe Concept and Feasibility is the most appropriate category?\n\nTogether with my limited familiarity, this mismatch makes it difficult for me to determine the appropriate final rating. I would therefore prefer to wait for the authors’ clarification, other reviewers' reply , and further reviewer/AC discussion before finalizing my score."
+ },
+ "createdAt": "2026-08-03T17:58:01.059Z",
+ "modifiedAt": "2026-11-19T17:18:56.098Z",
+ "url": "https://openreview.net/forum?id=35jwwbZdxS&noteId=KVQLuJQ3bG",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/35jwwbzdxs/notes/pjceanls3g.json modified

+++ b/reviews/openreview/35jwwbzdxs/notes/pjceanls3g.json
@@ -5,11 +5,12 @@
"kind": "meta_review",
"invitation": "Meta_Review",
"signature": "Area Chair o5Yx",
"content": {
- "metareview": "This work proposes to jointly produce a program and a set of verifiable assertions about the program, including a verification stage. User studies indicate that this helps developers reason more effectively about the code.\n\nReviewers noted a number of strengths:\n- Incorporating formal verification is a novel contribution that makes LLM-generated assertions useful\n- The user studies supports that these assertions add value to developers looking to comprehend the generated program\n\nThe authors provided thorough responses and additional model results in response to the reviews.\n\nWeaknesses and concerns include:\n- The assertions embedded in the code do not offer formal guarantees about said code, due to their translation & verification boundedness.\n- The evaluation is light, relying on Q&A performance on questions closely tied to the inserted facts. This leaves a number of internal and external validity questions unanswered, including whether these assertions help beyond targeted Q&A, whether and how it interacts with the correctness of the generated programs, and in particular how it affects developer's ability to assess _incorrect_ code.\n\nReviewer k2od outlines these concerns thoroughly.\n\nAll reviewers labeled this as a General contribution and I agree with them (reviewer 6kmT especially defended this choice) that this work's contribution & novelty is aligned with most other submissions and can reasonably be assessed in this paper. Given this, the relatively light evaluation is a concern. It is offset by the technical contribution -- producing a comprehensive set of nontrivial, verified statements about a program is hard, and the pipeline and results are worth reporting. Given this, I recommend acceptance of this work."
+ "metareview": "This work proposes to jointly produce a program and a set of verifiable assertions about the program, including a verification stage. User studies indicate that this helps developers reason more effectively about the code.\n\nReviewers noted a number of strengths:\n- Incorporating formal verification is a novel contribution that makes LLM-generated assertions useful\n- The user studies supports that these assertions add value to developers looking to comprehend the generated program\n\nThe authors provided thorough responses and additional model results in response to the reviews.\n\nWeaknesses and concerns include:\n- The assertions embedded in the code do not offer formal guarantees about said code, due to their translation & verification boundedness.\n- The evaluation is light, relying on Q&A performance on questions closely tied to the inserted facts. This leaves a number of internal and external validity questions unanswered, including whether these assertions help beyond targeted Q&A, whether and how it interacts with the correctness of the generated programs, and in particular how it affects developer's ability to assess _incorrect_ code.\n\nReviewer k2od outlines these concerns thoroughly.\n\nAll reviewers labeled this as a General contribution and I agree with them (reviewer 6kmT especially defended this choice) that this work's contribution & novelty is aligned with most other submissions and can reasonably be assessed in this paper. Given this, the relatively light evaluation is a concern. It is offset by the technical contribution -- producing a comprehensive set of nontrivial, verified statements about a program is hard, and the pipeline and results are worth reporting. Given this, I recommend acceptance of this work.",
+ "final_justification": "See metareview."
},
"createdAt": "2026-08-18T21:30:42.409Z",
- "modifiedAt": "2026-11-18T15:24:08.888Z",
+ "modifiedAt": "2026-11-19T05:02:38.387Z",
"url": "https://openreview.net/forum?id=35jwwbZdxS&noteId=PjCeANLs3G",
"license": "CC-BY-4.0"
}

reviews/openreview/35jwwbzdxs/notes/qhzjbcwr6v.json added

+++ b/reviews/openreview/35jwwbzdxs/notes/qhzjbcwr6v.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "qHzJBcWr6V",
+ "replyTo": "rqw5eV9Qx9",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "We thank the reviewer for continuing the discussion and are glad they found the overall pipeline and evaluation promising!\n\nThe reviewer’s primary remaining concern is that “the gap between what is formally verified and what is ultimately trusted by the developer is still open”. More generally, we believe that the reviewer’s comment reflects an important open-ended question on the limits that formal guarantees can achieve in Text-to-Code. This is exactly the question that motivates our study.\n\nW1: We would like to emphasize that both compromises, bounded reduction and fact translation, were made deliberately to achieve our conceptual goal of practical verification. It is important to clarify that developing end-to-end formal guarantees for Text-to-Code is currently outside the reach of modern formal verification methods: natural language is not a complete formal specification, and the verification of arbitrary programs is undecidable.\n\nW2: The majority of the generated assertions capture the core properties of the algorithms and help users assess the correctness of the programs. Beyond a user study or another human-in-the-loop evaluation, there is no quantitative metric to assess whether the assertions capture the core properties because, as the reviewer pointed out, an LLM is involved in their generation. That is why we performed our study, which shows the increase in average correctness (72% → 93%) that comes from our annotations [//FACT]. Having said that, we do observe that some assertions generated by Viverra are trivial, and while we make an effort to filter them out, not all the trivial assertions are removed. However, such assertions are not helpful to the user and are likely to be ignored.\n\nW4: “[...] the pipeline cannot reliably distinguish a spurious counterexample from a real bug, which makes showing only positive facts while hiding that uncertainty the more concerning design choice, not a minor omission.”\n\nWe want to clarify that we can distinguish a spurious counterexample from a real bug by checking whether it triggers an assertion. In theory, we can run a spurious example elimination process or improve SMT solver encoding in some cases, but it is non-trivial and computationally time-consuming. We would also like to point out that, in general, due to the possibility of spuriousness, making productive use of counterexamples returned from the underlying SMT solver is not straightforward in program verification (e.g., the popular Rust verifier Verus [a] also does not distinguish true counterexamples from spurious ones).\n\nIndeed, in the user study, we presented only ```//FACT``` statements corresponding to unconditionally verified assertions. We could have added all assertions, including falsified or timed-out ones, to the program presented to the user, measuring our results from an additional ‘trust’ dimension. However, we leave a comprehensive user study to measure user tolerance to uncertainty as future work. \n\nHaving unverified assertions is part of our design and is one of the compromises needed to achieve fast, practical verification.\n\nWe thank the reviewer for the discussion and hope they will take our comments into consideration.\n\n[a] https://verus-lang.github.io/verus/publications-and-projects/"
+ },
+ "createdAt": "2026-08-04T09:19:44.719Z",
+ "modifiedAt": "2026-11-19T17:18:56.048Z",
+ "url": "https://openreview.net/forum?id=35jwwbZdxS&noteId=qHzJBcWr6V",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/35jwwbzdxs/notes/qvkdrgepkx.json added

+++ b/reviews/openreview/35jwwbzdxs/notes/qvkdrgepkx.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "qvKDRgEpKX",
+ "replyTo": "VOmAgOp0hy",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "We thank the reviewer for the constructive review, and we apologize for the delay in posting our response. We were gathering the experimental results needed to address the reviewers' concerns. Designing a practical framework where a text-to-code system can attach non-trivial, machine-checked guarantees to the code it hands a user requires unconventional compromises in formal verification. We are glad the reviewer finds this direction useful and practical, and that the user study is well aligned with our goal of improving the comprehension of LLM-generated code. We respond to the reviewer's concerns/questions as follows.\n\n> **W1:** *More examples like Fig. 2*\n\nWe thank the reviewer for this suggestion, and we will include additional\nexamples in the revised version. We note that the supplementary material\nalready contains fact-annotated programs generated by Viverra.\n\n> **W2:** *Limited evaluation of assertion quality*\n\nWe agree that the quality of the assertions matters a lot. Indeed, it is possible\nto generate many weak or uninteresting statements that are formally verified. The challenge is to generate verified assertions that actually help a person understand the LLM-generated code. This is what the user study is designed to evaluate:\nwe show that without the annotated facts, participants answered\nthe comprehension questions correctly 72% of the time, versus 93% with the facts shown. We believe this means the verified assertions carried non-obvious,\ntask-relevant information, and meaningfully helped the user understand the\nprogram. We do acknowledge that the verification is done in a best-effort\nmanner, and not all relevant properties can be verified. This is a trade-off\nthat Viverra intentionally makes to keep verification feasible. We will clarify these points in the paper.\n\n> **W3:** *Program correctness w.r.t. the task not evaluated*\n\nWe agree that whether the generated program is correct w.r.t. the\noriginal task description is an important question. However, the goal of\nViverra is not to directly address the problem of generating correct\nprograms (although it may help). The key challenge we examine is that\nthere is currently no scalable way to help the user understand\nLLM-generated code. What Viverra aims to provide is a set of verified\nfacts that help the user better understand the generated code and, in\nturn, better decide whether the generated code aligns with their\nintention.\n\nThat said, we performed LLM-based coverage-driven iterative testing to validate the \ngenerated programs. Concretely, the module generates test inputs from the \ntask description, compiles the annotated program with assertions, and measures the suite's line and branch coverage with gcov; whenever coverage falls short of the 100% line-and-branch target, the uncovered-code report is fed back to generate additional inputs aimed at the unexercised code. This process is repeated until either full coverage is achieved or a coverage budget is exhausted. Every verified statement passes this testing. Since the assertions are generated based on the task descriptions, we believe this builds confidence in the correctness of the generated program. We will report this additional result in the paper.\n\n> **W4:** *User-study baseline*\n\nWe thank the reviewer for raising this point, and would like to clarify\nwhat the user study is, and is *not*, designed to evaluate.\n\nThat comments and documentation help readers understand code is well\nestablished in the software-engineering literature; the study was not\ndesigned to re-demonstrate this. What is qualitatively different about\nViverra's annotations is that, unlike human- or LLM-written ones, they\ncome with a formal guarantee. The guarantee comes at a price: an\nannotation can only state what the bounded model checker was able to verify, not\nfree-form explanations, and it was genuinely unclear whether\nannotations restricted in this way still help a human reader. This is\nwhat the study evaluates, and the answer is affirmative: the\nverified annotations alone produced the accuracy gains reported under\nW2.\n\nOn a correct program, well-written unverified comments may well match or\nexceed ours on comprehension questions. But we are specifically dealing with\nLLM-generated programs that need to be comprehended and examined by human users. \nThere, an unverified comment is more likely to mislead the reader. Trustworthy\nannotations are therefore required in the Text-to-Code setting, and Viverra is proposed as \none practical way to obtain them.\n\nWe thank the reviewer again for the feedback. If the reviewer has additional questions, we are happy to answer them."
+ },
+ "createdAt": "2026-07-29T06:59:13.991Z",
+ "modifiedAt": "2026-11-19T17:18:56.490Z",
+ "url": "https://openreview.net/forum?id=35jwwbZdxS&noteId=qvKDRgEpKX",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/35jwwbzdxs/notes/rqw5ev9qx9.json added

+++ b/reviews/openreview/35jwwbzdxs/notes/rqw5ev9qx9.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "rqw5eV9Qx9",
+ "replyTo": "MWS48ME15E",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "We thank the reviewer for the careful and constructive review, and apologize for the delay in posting our response; we were gathering the experimental results requested by the reviewers. Designing a practical framework where a text-to-code system can attach non-trivial, machine-checked guarantees to the code it hands a user requires unconventional compromises in formal verification; the reviewer's concerns probe these compromises; we engage with each below.\n\n> **W1/Q1:** *Guarantee on the bound-reduced program, not the delivered one*\n\nThe reviewer is right: Theorems 1–2 govern the bound-reduced program $P^+_k$, and a property may hold there but not on the original program.\n\nVerifying real programs means verifying a proxy: deductive verification builds a best-effort model of the program in a proof language and trusts that the model reflects it; BMC checks the program itself but only up to a loop-unwinding bound. Both give genuine guarantees; the user judges whether the guarantee on the proxy can be trusted in general. The bound-reduced program is a new compromise in this trade-off space, proposed because it makes on-the-fly verification of LLM-generated C programs practical; it sometimes coincides with bounded verification of the original program, e.g., when the reduced constant only caps the input size. We will expand on this trade-off in the revision.\n\n> **W2/Q3:** *Do self-generated assertions capture the specification?*\n\nWe agree that assertion quality matters and counts alone do not establish it: one can generate many weak statements that are formally verified. This is why the user study matters: had the assertions been trivial or irrelevant, showing them would not have changed comprehension outcomes. Instead, accuracy was 93% with the verified facts shown versus 72% without, suggesting the assertions carried non-obvious, task-relevant information.\n\nOn coverage and relevance: the elicitation prompt generates properties from the task description alone, before the program exists, anchoring assertions to the described task. We deliberately do *not* try to verify a full specification: establishing that a property set fully captures a natural-language intent, then verifying all of it, is what makes verification so difficult; Viverra instead verifies partial specifications best-effort. Even an assertion conceptually inconsistent with the user's intent does no harm: the goal is to give the user verified statements that help them examine the program. We will clarify these points in the revision.\n\n> **W3:** *User study: isolating the benefit of verification; baselines; statistics*\n\nThat comments help readers understand code is well established; the study was not designed to re-demonstrate this. What is different about Viverra's annotations is the formal guarantee, which comes at a price: an annotation can only state what the model checker verified. Whether such restricted annotations still help a reader was unclear; the study evaluates this, and the answer is affirmative. Unverified comments may match ours on a correct program, but for LLM-generated code an unverified comment is most likely to mislead just when the code is wrong. Trustworthy annotations are what this setting requires, and Viverra is one practical way to obtain them.\n\nOn statistics: from the requester-account export, pooled over the 10 questions (n=20 per condition per question): control accuracy 144/200 = 72% (Wilson 95% CI [0.65, 0.78]) vs. annotated 186/200 = 93% ([0.89, 0.96]), +21 points (95% CI [+13.7, +28.2]). We will restate 400+ unique participants as 400+ HIT completions; the same user cannot participate in both conditions for the same question.\n\n> **W4/Q4:** *Falsified and unknown assertions are not surfaced*\n\nWe fully agree that exposing falsified and inconclusive results could be helpful; the pipeline already records every assertion's status (the source of Table 1's Unverified column). The obstacle is a verifier limitation: the model checkers encode some operators (e.g., string manipulation) as uninterpreted functions, so verification is sound (Verified means the property holds) but incomplete (a counterexample can be spurious). All 14 falsifications in base_addition trace to such spurious counterexamples; surfacing them naively would create false alarms. Reporting true violations is important, but given the over-approximation we leave it as a next step; we will add this discussion to the paper.\n\n> **Q2:** *Semantic equivalence of the natural-language fact translations*\n\nThey are examined manually by the authors against the verified assertions. We are not aware of a more robust validation method; the revision will state this as a limitation. A possible mechanization is to back-translate each fact into a C predicate and check equivalence.\n\nWe thank the reviewer again for the feedback. If the reviewer has additional questions, we are happy to answer them."
+ },
+ "createdAt": "2026-07-29T07:05:21.994Z",
+ "modifiedAt": "2026-11-19T17:18:56.354Z",
+ "url": "https://openreview.net/forum?id=35jwwbZdxS&noteId=rqw5eV9Qx9",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/35jwwbzdxs/notes/uvnnktwggx.json added

+++ b/reviews/openreview/35jwwbzdxs/notes/uvnnktwggx.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "uvNnkTWggx",
+ "replyTo": "qvKDRgEpKX",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer 6kmT",
+ "content": {
+ "comment": "Thank you for the detailed rebuttal. The response clarifies the intended scope of the paper well: Viverra is not intended to guarantee that the generated program fully satisfies the original task, but rather to provide partially verified facts that assist users in understanding and reviewing the generated code. The additional testing results and statistical analysis also strengthen the evaluation.\n\nMy remaining concerns are mainly about whether the generated assertions sufficiently capture important and non-trivial properties, and whether the user-study improvement specifically comes from formal verification rather than from the presence of helpful explanatory comments. Since this topic is outside my primary area of expertise, I do not feel confident enough to make a strong judgment beyond these evaluation concerns. I therefore maintain my current score."
+ },
+ "createdAt": "2026-08-02T18:47:39.422Z",
+ "modifiedAt": "2026-11-19T17:18:56.356Z",
+ "url": "https://openreview.net/forum?id=35jwwbZdxS&noteId=uvNnkTWggx",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/35jwwbzdxs/notes/yxgslpvbw6.json added

+++ b/reviews/openreview/35jwwbzdxs/notes/yxgslpvbw6.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "yXgslpvbW6",
+ "replyTo": "rqw5eV9Qx9",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer k2od",
+ "content": {
+ "comment": "Thanks for the detailed rebuttal. A few concerns remain after reading it.\n\nW1: Theorems 1–2 only cover P+_k, not the P0 actually delivered to the user, so the end-to-end guarantee still rests on two unverified LLM steps (bound reduction and fact translation) that the rebuttal acknowledges but does not close.\n\nW2: A comprehension gain shows the annotations are helpful, but does not rule out that the same self-generating LLM simply produces assertions that are easy for itself to prove rather than ones that are non-trivial relative to the task spec.\n\nW4: The base_addition explanation confirms the pipeline cannot reliably distinguish a spurious counterexample from a real bug, which makes showing only positive facts while hiding that uncertainty the more concerning design choice, not a minor omission.\n\nOverall the pipeline and empirical signal are interesting, but the gap between what is formally verified and what is ultimately trusted by the developer is still open. I am maintaining my current rating."
+ },
+ "createdAt": "2026-08-04T04:58:50.591Z",
+ "modifiedAt": "2026-11-19T17:18:56.099Z",
+ "url": "https://openreview.net/forum?id=35jwwbZdxS&noteId=yXgslpvbW6",
+ "license": "CC-BY-4.0"
+}