I-PTC: Interactive Programmatic Tool Calling for Stateful Tool-Augmented Agents
Update NeurIPS 2026 submission JGKsz3cGPf: 17 notes
@openreview[bot] · 2026-11-24 15:48 UTC · ac3c611773cf ·
reviews/openreview/jgksz3cgpf/notes/1abalqwv4f.json added
+++ b/reviews/openreview/jgksz3cgpf/notes/1abalqwv4f.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "1aBALQwV4f",+ "replyTo": "LkGHEC7SQy",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "## **Q3: Model selection and generalization**\n\nWe originally selected GPT-5.4 Mini for the detailed analyses because it occupies a useful non-saturated performance regime, supports all three interfaces, and makes repeated fine-grained evaluations computationally feasible. It was not selected because it produced the largest I-PTC improvement.\n\nTo test generality, we repeated the relevant analyses on models from different providers and performance regimes. The mechanism ablation in Q2 gives the same qualitative result for GPT-5.4 Mini and Gemini 3.1 Flash-Lite: inspection drives token savings, while documentation mainly affects API reliability.\n\nFor the task-type analysis corresponding to Table 3, we obtained the following three-run results:\n\n| Model | Subset | Pass rate, PTC → I-PTC | API calls, PTC → I-PTC | Traj. tokens, PTC → I-PTC |\n| ----------------- | -------------- | ----------------------------: | ---------------------------: | ------------------------: |\n| GPT-5.4 | Multi-turn | 0.748±0.030 → **0.848±0.008** | 114.0±2.3 → **69.9±2.9** | 22.4K → **7.5K** |\n| GPT-5.4 | Error recovery | 0.705±0.030 → **0.881±0.017** | 67.9±7.0 → 70.9±2.8 | 21.7K → **6.4K** |\n| GPT-5.4 | Main | 0.590±0.010 → **0.693±0.025** | 71.8±11.7 → **57.1±7.0** | 21.3K → **6.9K** |\n| Gemini Flash-Lite | Multi-turn | 0.771±0.014 → **0.786±0.025** | 250.7±146.6 → **102.3±20.9** | 26.0K → **11.2K** |\n| Gemini Flash-Lite | Error recovery | 0.756±0.039 → **0.824±0.008** | 134.3±17.4 → **107.7±25.7** | 24.4K → **9.0K** |\n| Gemini Flash-Lite | Main | **0.641±0.019** → 0.620±0.010 | 83.9±21.2 → 119.8±96.3 | 23.4K → **9.4K** |\n\nThe strongest and most consistent accuracy gains occur in the subsets where persistent state is directly useful: multi-turn and error-recovery tasks. Token reductions hold across every subset and both model families. We do not claim that I-PTC universally improves accuracy or API calls: on Gemini’s single-turn main subset, accuracy is within roughly 1.5 standard deviations of PTC and API calls increase with high variance.\n\nThe follow-up-turn results more directly isolate cross-turn reuse. API calls on the second turn fall from 30.6 to 8.0 for GPT-5.4 and from 29.8 to 8.1 for Gemini Flash-Lite, because I-PTC can reuse information gathered during the first turn rather than reconstructing it.\n\nCross-cell reuse also generalizes. The overall fraction of cells that depend on variables, imports, or helpers from an earlier cell is 61.0% for GPT-5.4, 49.1% for GPT-5.4 Mini, and 43.6% for Gemini Flash-Lite. Reuse is highest on multi-turn tasks for both newly evaluated models.\n\nFinally, we repeated the Figure 4 transfer evaluation with Gemini 3.1 Flash-Lite:\n\n| Benchmark | Metric | Tool-only | PTC | I-PTC |\n| ------------ | ------------- | -------------: | ------------: | --------------: |\n| MCP-Universe | Pass rate | 37.8±3.3% | **48.9±2.9%** | 48.4±3.3% |\n| | Traj. tokens | **18.4K±3.1K** | 23.2K±2.1K | 22.4K±1.5K |\n| MCP-Bench | Overall score | 0.354±0.011 | 0.385±0.013 | **0.403±0.009** |\n| | Traj. tokens | 84.9K±8.5K | 37.5K±15.0K | **28.0K±4.9K** |\n\nOn MCP-Bench, I-PTC improves both score and token usage relative to PTC. On MCP-Universe, I-PTC and PTC are statistically indistinguishable in success rate, with a small token advantage for I-PTC over PTC; tool-only uses fewer tokens but is substantially less accurate. These smaller margins are consistent with these suites having shorter workflows and smaller tool surfaces than the regime targeted by PTC-BENCH.\n\nWe will add the additional model results and clarify the scope of the generalization claim: state reuse and token reductions are consistent across models, while the accuracy benefit depends on the task regime and the model’s ability to produce reliable one-shot programs."+ },+ "createdAt": "2026-08-03T05:35:03.139Z",+ "modifiedAt": "2026-11-19T17:08:15.624Z",+ "url": "https://openreview.net/forum?id=JGKsz3cGPf¬eId=1aBALQwV4f",+ "license": "CC-BY-4.0"+}
reviews/openreview/jgksz3cgpf/notes/9xi3jsbuos.json added
+++ b/reviews/openreview/jgksz3cgpf/notes/9xi3jsbuos.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "9xi3jSbuos",+ "replyTo": "LkGHEC7SQy",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "## **Q4: Horizon, API calls, and dialogue turns**\n\nThese quantities describe different dimensions of a workflow:\n\n**Dialogue turns** count user-level requests or follow-ups. They do not count the model’s internal code cells, inference rounds, or tool interactions.\n\n**API calls** count individual backend invocations. A task may require many calls because it must enumerate a large environment, retrieve attributes for many entities, or compare many candidates.\n\n**Horizon** refers to the length and structure of the dependent computation: how many observations, decisions, and transformations must be completed before the final answer or action is possible. API count and horizon are related but not identical. Many independent calls can be batched into a shallow computation, whereas a smaller number of calls may form a long sequential dependency chain.\n\nPTC-BENCH is long-horizon at the agent–environment level even though it contains at most two user turns. A single user request may require dozens or hundreds of dependent interactions—for example, enumerate candidates, retrieve associated records, filter them under constraints, join information across APIs, optimize an assignment, and finally mutate the environment. This is reflected in Table 1: the main subset has a mean of 87.7 API calls, a median of 51, and a 90th percentile of 202.\n\nThe two-turn subset was designed as a controlled test of whether information computed for one request can be reused for a follow-up. It is not intended to capture the full length of realistic user sessions. Our results therefore establish benefits only for one- and two-turn tasks.\n\nLonger sessions could create more opportunities for reuse, but they could also amplify stale-state errors, namespace growth, and unintended dependencies. We therefore view an increasing I-PTC advantage beyond two turns as a hypothesis rather than an established result. We will clarify this limitation and identify longer-session evaluation—including selective reset, stale-state detection, and state-growth measurements—as future work.\n\n## **Q5: Relationship between “interactive” and “stateful”**\n\nThe two properties are related but conceptually distinct.\n\n**Interactive** describes the execution protocol: the model submits a code cell, observes its output or error, and chooses the next cell based on that feedback.\n\n**Stateful** describes the execution memory: variables, imports, functions, and cached tool results survive between cells and, when applicable, across user turns.\n\nThey can be decoupled. An interactive but stateless system could execute multiple cells while resetting the namespace after each cell; it would retain observability but would need to recompute intermediate results. Conversely, a non-interactive but stateful system could expose a durable store to a one-shot program without allowing the model to inspect intermediate outputs and adapt during execution.\n\nI-PTC deliberately combines both. Interactivity enables inspection and correction, while statefulness lets the agent continue from the work already completed instead of restarting after every observation. We use “Interactive PTC” by analogy to IPython and notebook-cell execution, but state persistence is a central mechanism rather than merely a naming choice. We will make this distinction explicit in Section 3.1 and note that the current experiments evaluate the bundled design rather than a complete factorial separation of interactivity and persistence.\n\n## **Q6: Aggregate statistics and visualization of Table 2**\n\nWe agree that the per-model table obscures the overall trend. We will add aggregate rows and a scatter plot showing pass rate against trajectory tokens for each model–interface pair, with error bars over three runs.\n\nThe aggregate results are:\n\n| Metric | Tool-only | PTC | I-PTC | I-PTC vs. PTC |\n| --------------------------- | --------: | ----: | --------: | --------------: |\n| Mean accuracy | 30.7% | 68.4% | **71.5%** | **+3.2 points** |\n| Median accuracy | 23.6% | 71.4% | **75.8%** | **+4.4 points** |\n| Mean raw tokens/task | 171K | 119K | **77K** | **≈35% fewer** |\n| Mean trajectory tokens/task | 29.3K | 25.4K | **9.4K** | **≈63% fewer** |\n\nI-PTC is the most accurate interface on eight of the ten evaluated models; the two exceptions are the Claude models, for which stateless PTC is slightly more accurate but I-PTC remains substantially more token-efficient. The proposed scatter plot will make this trade-off clearer than the current wide table.\n\nWe will retain the full per-model mean±standard-deviation results in the table or appendix and use the aggregate visualization to summarize the overall trend without duplicating the same discussion in multiple sections."+ },+ "createdAt": "2026-08-03T05:34:43.292Z",+ "modifiedAt": "2026-11-19T17:08:15.685Z",+ "url": "https://openreview.net/forum?id=JGKsz3cGPf¬eId=9xi3jSbuos",+ "license": "CC-BY-4.0"+}
reviews/openreview/jgksz3cgpf/notes/dtqipb5eok.json added
+++ b/reviews/openreview/jgksz3cgpf/notes/dtqipb5eok.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "DTQIPB5eoK",+ "replyTo": "UnZ5iUfQgh",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "## **Q3: Concrete PTC-BENCH examples**\n\nWe agree that the abbreviated prompts in the current figure are insufficient for understanding the benchmark’s full difficulty. In the revision, we will add one complete example from each subset: main, multi-turn, and error-recovery.\n\nFor each example, we will provide the full user request, the exposed API surface, a summary of the initial environment, the required output and verifier, and representative trajectories. The trajectories will illustrate how traditional tool calling performs sequential call-observe-call interactions, how one-shot PTC may need to restart after an incorrect assumption, and how I-PTC preserves variables, reuses prior API results, and continues after a transient failure. This will make both the benchmark construction and the distinctions among the evaluated interfaces more concrete.\n\n## **Q4: Sources of token savings and interaction-round efficiency**\n\nThere are two distinct comparisons.\n\n**Relative to traditional tool calling,** the primary saving comes from the programmatic interface itself. Under our evaluated call-observe-call protocol, traditional tool calling returns every API result to the model and generally requires another inference round before the next call. PTC and I-PTC instead execute loops, batching, filtering, joins, and aggregation inside Python. A single program or code cell can therefore invoke many backend APIs without serializing every intermediate result into the language-model context.\n\n**Relative to standard PTC,** the evidence indicates that on-demand tool inspection is the primary source of I-PTC’s additional token savings. In the GPT-5.4 ablation, PTC uses 24K trajectory tokens and Raw I-PTC uses 25K, whereas Full I-PTC uses 10K. Thus, statefulness alone primarily improves correctness and reuse rather than trajectory-token cost: it raises pass rate from 71.8% to 79.7% and reduces backend calls from 94.0 to 79.9. Adding the full mechanisms then reduces trajectory tokens by approximately 60%. The documentation-update ablation keeps token usage nearly unchanged while substantially changing the number of API errors, indicating that self-evolving documentation mainly improves reliability. We will clarify this decomposition in the paper.\n\nInteraction rounds and backend API calls should also be distinguished. One-shot PTC can complete a task in a single model–executor round when its initial program is correct. I-PTC may use several cells and therefore does not necessarily reduce model–executor rounds relative to successful one-shot PTC; it deliberately trades additional observation rounds for debugging and recovery. Nevertheless, both programmatic interfaces can require far fewer model–environment round trips than traditional tool calling because each execution can contain many backend calls.\n\nState reuse additionally reduces redundant backend calls relative to stateless PTC:\n\n| Model | Tool-only | PTC | Raw I-PTC |\n| --------------------- | --------: | ---------: | -----------: |\n| GPT-5.4 | 30.8±1.4 | 83.0±7.4 | **67.1±5.2** |\n| GPT-5.4 Mini | 45.0±1.8 | 135.1±32.3 | **81.6±7.3** |\n| Gemini 3.1 Flash-Lite | 26.2±1.5 | 114.9±8.1 | **84.8±7.2** |\n\nThe lower call count of tool-only should not be interpreted as higher efficiency: for these models, tool-only completes only 10–19% of tasks, compared with approximately 71–80% for the programmatic interfaces. It often stops before executing the required workflow. In contrast, Raw I-PTC reduces calls relative to PTC while maintaining substantially higher task completion by reusing results already stored in the persistent namespace.\n\nWe will revise the evaluation to report model–executor rounds separately from underlying backend API calls, since the current API-call metric does not fully capture this interaction-level advantage."+ },+ "createdAt": "2026-08-03T10:13:23.828Z",+ "modifiedAt": "2026-11-19T17:08:15.625Z",+ "url": "https://openreview.net/forum?id=JGKsz3cGPf¬eId=DTQIPB5eoK",+ "license": "CC-BY-4.0"+}
reviews/openreview/jgksz3cgpf/notes/fvcxbrjgwh.json added
+++ b/reviews/openreview/jgksz3cgpf/notes/fvcxbrjgwh.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "fvCxBRJGwH",+ "replyTo": "rI8ObdSLn5",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We thank the AC for identifying the central issue as **novelty versus engineering contribution**. In the revision, we will explicitly narrow our novelty claim: persistent notebook-style Python execution is established prior work and will be presented as supporting infrastructure, not as a novel contribution.\n\n* We will instead emphasize the paper’s distinct contributions: **on-demand API discovery**, **persistent cross-task API-documentation correction**, and **PTC-BENCH**, a benchmark for large-tool, long-horizon workflows involving dependent API calls, follow-ups, and transient failures. We also provided a detailed comparison with CaveAgent, TaskWeaver, Recursive LMs, and Sharing State Between Prompts and Programs. \n\n* We addressed the AC’s experimental questions with substantial new evidence: three-run results with mean ± standard deviation, additional GPT and Gemini models, full component ablations, provider-native code-execution baselines, external-benchmark evaluations, model-scale studies, and execution-overhead measurements.\n\n* The new ablations clarify the mechanisms: **on-demand inspection drives most of the token savings and immediate performance gains**, while **API-documentation correction primarily reduces repeated API errors**. Persistent execution is heavily used by agents, but because several accuracy comparisons have overlapping variation ranges, we will present its accuracy benefit as a numerical trend rather than a statistically established effect.\n\nOverall, the rebuttal sharpens rather than expands our claims: the integrated I-PTC design is most beneficial in large-tool, multi-step, follow-up, and recovery-oriented settings, while shorter workflows or smaller tool sets may favor simpler variants."+ },+ "createdAt": "2026-08-04T08:45:04.805Z",+ "modifiedAt": "2026-11-19T17:08:15.224Z",+ "url": "https://openreview.net/forum?id=JGKsz3cGPf¬eId=fvCxBRJGwH",+ "license": "CC-BY-4.0"+}
reviews/openreview/jgksz3cgpf/notes/h6qetypenq.json added
+++ b/reviews/openreview/jgksz3cgpf/notes/h6qetypenq.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "H6qEtypENQ",+ "replyTo": "UnZ5iUfQgh",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer zejj",+ "content": {+ "title": "Response to the Authors' Rebuttal",+ "comment": "During the rebuttal period, the authors provide additional experiments, most of which address my concerns. These results should be incorporated into the revised version. Accordingly, I raise my score."+ },+ "createdAt": "2026-08-04T03:28:38.191Z",+ "modifiedAt": "2026-11-19T17:08:15.569Z",+ "url": "https://openreview.net/forum?id=JGKsz3cGPf¬eId=H6qEtypENQ",+ "license": "CC-BY-4.0"+}
reviews/openreview/jgksz3cgpf/notes/jjswgxd3rc.json added
+++ b/reviews/openreview/jgksz3cgpf/notes/jjswgxd3rc.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "JjSWGXd3rC",+ "replyTo": "LkGHEC7SQy",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "## **Q7: API calls in Table 2**\n\nWe agree that API calls should appear alongside accuracy and token usage. Table 3 already reports this metric by task subset, but the original Table 2 runs were completed before API-call logging was stored uniformly for every model and interface condition. Our current harness records these counts, but obtaining a directly comparable ten-model table requires rerunning the complete experiment.\n\nRather than report a partial or inconsistently instrumented result, we will rerun all Table 2 conditions and add mean±standard-deviation API calls per task to the revised table. We will also distinguish model-visible tool calls from underlying simulated backend invocations, since a single programmatic execution can contain many backend calls."+ },+ "createdAt": "2026-08-03T05:34:19.881Z",+ "modifiedAt": "2026-11-19T17:08:15.835Z",+ "url": "https://openreview.net/forum?id=JGKsz3cGPf¬eId=JjSWGXd3rC",+ "license": "CC-BY-4.0"+}
reviews/openreview/jgksz3cgpf/notes/r5dgnqnw72.json added
+++ b/reviews/openreview/jgksz3cgpf/notes/r5dgnqnw72.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "R5dGNqnW72",+ "replyTo": "irGZSL9N68",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Area Chair 63PM",+ "content": {+ "title": "Please Review the Author Rebuttal",+ "comment": "Dear Reviewer, \n\nThe authors have submitted their response. Could you please review it and let us know whether it addresses your concerns? \n \nBest regards, \n\nAC"+ },+ "createdAt": "2026-08-04T11:53:22.678Z",+ "modifiedAt": "2026-11-19T17:08:15.190Z",+ "url": "https://openreview.net/forum?id=JGKsz3cGPf¬eId=R5dGNqnW72",+ "license": "CC-BY-4.0"+}
reviews/openreview/jgksz3cgpf/notes/rhhjktc3ku.json added
+++ b/reviews/openreview/jgksz3cgpf/notes/rhhjktc3ku.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "RHHjKtC3ku",+ "replyTo": "zX0xDPXams",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We thank the reviewer for the careful follow-up. We agree with both points and will revise the manuscript and our interpretation accordingly.\n\n---\n\n## **Q1: Clarification on the distinction between the tool-use interface and code execution**\n\nThe reviewer is correct that there is no categorical distinction between the tool-use interface and code execution in I-PTC. I-PTC is a **code-execution-based tool-use interface**: tools are exposed as Python-callable functions or modules, and the model invokes them through executed Python code.\n\nBy “tool-use interface,” we intended to refer to the broader protocol governing how the model interacts with those tools: what API information is initially exposed, how additional schemas are acquired, what execution feedback and intermediate values remain available, and whether information learned from failures changes the tool descriptions presented to future agents. We agree that this terminology was insufficiently precise and may have suggested that the interface itself was separate from code execution.\n\nWe will distinguish the mechanisms as follows:\n\n1. **Persistent execution state:** A Python namespace containing variables, imports, helper functions, and intermediate tool results that persists across code cells within a task. Persistent notebook-style execution and Python-callable tools are established capabilities; we do not claim novelty for them.\n\n2. **On-demand API discovery:** The model selectively requests API methods and schemas during execution rather than receiving a complete tool description upfront. This mechanism does not require a persistent Python namespace, as demonstrated by the stateless ablation.\n\n3. **Persistent API-documentation correction:** Failures and execution traces are converted into corrections or usage notes that are appended to tool descriptions for subsequent task batches. This is persistence of learned API documentation across tasks, rather than persistence of the Python namespace within a task.\n\nWe will therefore avoid grouping all three mechanisms under the general term “statefulness.” Our novelty claims will be limited to **selective API discovery, persistent cross-task API correction, and PTC-BENCH**. Persistent Python execution will be described as supporting infrastructure that enables incremental execution and reuse, rather than as a novel contribution.\n\nWe understand that this is a material change in emphasis. We will revise the writing accordingly so that these distinctions are explicit. The revision does not introduce new mechanisms after review—on-demand inspection and persistent API correction are already described in Sections 3.2–3.3 and Figure 2—but it substantially narrows and corrects the manuscript’s framing of their novelty.\n\n---\n\n## **Q3: Clarification on the role of execution state in the ablation results**\n\nWe agree that our statement that “statefulness improves the mean” could be misread as a statistically established improvement. All matched persistent-namespace configurations have numerically higher mean pass rates than their fresh-namespace counterparts, but with only three runs and overlapping standard-deviation ranges in several comparisons, we will describe this only as a consistent numerical trend. We will not claim a reliable aggregate accuracy improvement from statefulness under the present experiment.\n\nOur more precise interpretation is that persistent execution is useful supporting infrastructure rather than the primary source of novelty. On-demand inspection provides the clearest immediate gains in pass rate and token efficiency and remains effective without a persistent namespace. Persistent API correction primarily reduces repeated API misuse across tasks. Finally, the submitted state-reuse analysis shows that 61% of cells actually depend on prior execution state, demonstrating that agents use the persistent substrate, although this utilization result alone does not establish a causal accuracy benefit."+ },+ "createdAt": "2026-08-04T08:27:34.974Z",+ "modifiedAt": "2026-11-19T17:08:15.541Z",+ "url": "https://openreview.net/forum?id=JGKsz3cGPf¬eId=RHHjKtC3ku",+ "license": "CC-BY-4.0"+}
reviews/openreview/jgksz3cgpf/notes/ri8obdsln5.json modified
+++ b/reviews/openreview/jgksz3cgpf/notes/ri8obdsln5.json@@ -5,11 +5,12 @@"kind": "meta_review","invitation": "Meta_Review","signature": "Area Chair 63PM","content": {- "metareview": "R1 gives a 5 and considers the framework practical, the benchmark well designed, and the claims well supported. R2 gives a 4 and highlights the simplicity and engineering feasibility. R3 gives a 2 and argues that stateful Python environments for LLMs are not new, citing four prior works.\n\nThe split is really about novelty versus engineering contribution. My own reading is that the paper contributes two things: a concrete framework (I-PTC with self-evolving API docs and on-demand inspection) and a benchmark (PTC-BENCH). The works R3 cites are relevant but address different settings, mostly general code execution rather than interactive tool calling with state persistence and API evolution.\n\nQuestions for the rebuttal, in priority order.\n\n- R3 cites CaveAgent, TaskWeaver, Recursive LMs, and Sharing State Between Prompts. Can you provide a table showing what I-PTC does differently, in particular on API correction and on-demand inspection?\n\n- R1 notes that Table 3, Figure 4, and Table 4 use only one model. Can you justify why the results would generalize, or add one more model?\n\n- R3 asks for variance. Single-run results on stochastic agent benchmarks are fragile. Can you report repeated runs for at least a subset?\n\n- R1 and R2 both ask where the efficiency gain comes from. Can you isolate on-demand tool inspection from statefulness?"+ "metareview": "R1 gives a 5 and considers the framework practical, the benchmark well designed, and the claims well supported. R2 gives a 4 and highlights the simplicity and engineering feasibility. R3 gives a 2 and argues that stateful Python environments for LLMs are not new, citing four prior works.\n\nThe split is really about novelty versus engineering contribution. My own reading is that the paper contributes two things: a concrete framework (I-PTC with self-evolving API docs and on-demand inspection) and a benchmark (PTC-BENCH). The works R3 cites are relevant but address different settings, mostly general code execution rather than interactive tool calling with state persistence and API evolution.\n\nQuestions for the rebuttal, in priority order.\n\n- R3 cites CaveAgent, TaskWeaver, Recursive LMs, and Sharing State Between Prompts. Can you provide a table showing what I-PTC does differently, in particular on API correction and on-demand inspection?\n\n- R1 notes that Table 3, Figure 4, and Table 4 use only one model. Can you justify why the results would generalize, or add one more model?\n\n- R3 asks for variance. Single-run results on stochastic agent benchmarks are fragile. Can you report repeated runs for at least a subset?\n\n- R1 and R2 both ask where the efficiency gain comes from. Can you isolate on-demand tool inspection from statefulness?",+ "final_justification": "I considered the rebuttal together with the subsequent reviewer discussion. The rebuttal responds to the initial meta-review’s concern about novelty by narrowing the claim. Persistent Python execution is presented as established infrastructure, while the paper emphasizes on-demand inspection, cross-task API-documentation correction, and the PTC-BENCH benchmark. It also adds a component grid, a stateless ablation, provider-native comparisons, evaluations across Qwen3.5 models from 0.8B to 397B, and latency and memory instrumentation. These additions clarify which parts of the reported token and pass-rate behavior are associated with inspection and documentation, and broaden the empirical coverage beyond the original setting.\n\nThe evidence supports a scoped engineering and benchmark contribution, but not the broader interpretation that statefulness uniformly drives accuracy gains. The record reports that the statefulness-related accuracy effect is not stable across all conditions. Some smaller-model and provider-native results are unfavorable to the method. The authors also state that the horizon study covers at most two user turns, so the evidence does not establish behavior under longer-lived stale state, namespace conflicts, or accidental dependencies. Some of the runtime comparisons are lower-cost only in the measured settings and should not be generalized to all providers or workloads. The component results are author-reported evaluations, and three-run evaluation results should not be treated as multiple training seeds.\n\nThe reviewers raise concerns about novelty, attribution, and scope from different angles. Reviewer XF7a questions whether persistent stateful Python execution is novel beyond prior work and asks for stronger prior-work comparisons, the official Code Interpreter baseline, error bars, and component ablations. Reviewer_zejj focuses on when Raw I-PTC and Full I-PTC are applicable, the capability threshold for small models, interaction complexity, and broader applicability. Reviewer D9Jm asks about execution overhead, inspection, documentation, and statefulness ablations, model generalization, the two-turn limit, and variance.\n\nThe rebuttal narrows the novelty claim and adds ablations, provider-native comparisons, model-scale evaluations, and latency and memory measurements. These additions address parts of the reviewers’ requests, but they do not establish a stable statefulness effect in all conditions or resolve the limited horizon and production-scale validation concerns. Reviewer XF7a and Reviewer_zejj provide positive written feedback after the discussion.\n\nTherefore, I recommend acceptance as a poster."},"createdAt": "2026-07-22T10:40:33.494Z",- "modifiedAt": "2026-11-18T15:24:16.199Z",+ "modifiedAt": "2026-11-19T05:02:41.777Z","url": "https://openreview.net/forum?id=JGKsz3cGPf¬eId=rI8ObdSLn5","license": "CC-BY-4.0"}
reviews/openreview/jgksz3cgpf/notes/rw1ce9qlie.json added
+++ b/reviews/openreview/jgksz3cgpf/notes/rw1ce9qlie.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "Rw1Ce9qlIE",+ "replyTo": "UnZ5iUfQgh",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "## **Q1: Raw I-PTC versus Full I-PTC and broader applicability**\n\nWe agree that Raw I-PTC may be the more broadly applicable variant when cross-task API learning is undesirable or when the available tool set is small. Raw I-PTC retains the central contribution—interactive, persistent code execution—while disabling on-demand tool inspection and self-evolving API documentation.\n\nTo test this hypothesis, we evaluated all four interfaces with Gemini 3.1 Flash-Lite on two external benchmarks with smaller tool sets and generally shorter workflows. Results are averaged over three runs:\n\n| Benchmark | Metric | Tool-only | PTC | Raw I-PTC | Full I-PTC |\n| ----------------- | ---------------------- | -----------: | ------------: | --------------: | ---------------: |\n| MCP-Universe (90) | Score | 0.378±0.033 | 0.489±0.029 | 0.470±0.017 | 0.484±0.033 |\n| | Trajectory tokens/task | 18,374±3,118 | 23,171±2,081 | 23,074±195 | 22,442±1,517 |\n| MCP-Bench (70) | Score | 0.354±0.011 | 0.385±0.013 | **0.414±0.017** | 0.403±0.009 |\n| | Trajectory tokens/task | 84,850±8,522 | 37,481±15,010 | 40,090±19,079 | **28,002±4,872** |\n\nThese results support the reviewer’s hypothesis. Raw I-PTC achieves the highest score on MCP-Bench, while Raw and Full I-PTC are statistically close on MCP-Universe. This is consistent with the intended roles of the two additional mechanisms: on-demand inspection is most useful when full schemas for a large tool catalog would otherwise dominate the context, while self-evolving documentation is most useful when the same APIs recur across many tasks. These conditions hold strongly in PTC-BENCH but less strongly in the two external suites.\n\nRelative to traditional tool calling, Raw I-PTC improves effectiveness on both benchmarks: 0.470 versus 0.378 on MCP-Universe and 0.414 versus 0.354 on MCP-Bench. Its token efficiency is workload-dependent, however. It approximately halves trajectory tokens on MCP-Bench but uses slightly more on MCP-Universe. We will revise the paper to make clear that Raw I-PTC is not uniformly more token-efficient on short or small-tool-set tasks.\n\nRaw I-PTC also avoids cross-task coupling: it requires neither a persistent documentation store nor the propagation of potentially stale or incorrect API notes. Full I-PTC can offer greater efficiency and reliability in repeated, large-tool-set workloads, but requires validation, versioning, and rollback of learned documentation. Traditional tool calling may remain preferable for short workflows with only a few calls because it is simpler and easier to audit."+ },+ "createdAt": "2026-08-03T10:21:12.024Z",+ "modifiedAt": "2026-11-19T17:08:15.384Z",+ "url": "https://openreview.net/forum?id=JGKsz3cGPf¬eId=Rw1Ce9qlIE",+ "license": "CC-BY-4.0"+}
reviews/openreview/jgksz3cgpf/notes/sk6ucktyhy.json added
+++ b/reviews/openreview/jgksz3cgpf/notes/sk6ucktyhy.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "sK6UckTYhy",+ "replyTo": "irGZSL9N68",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "## **Q1: How is I-PTC different from prior stateful Python-agent systems?**\n\nWe thank the reviewer for pointing us to these references. We agree that **persistent Python execution is not novel in isolation**, and we will revise the Introduction and contribution statements to avoid implying otherwise. The contribution of this work is instead:\n\n1. **I-PTC as an integrated tool-use interface**, combining persistent program state, incremental execution, model-initiated tool inspection, and API documentation that evolves across tasks; and\n2. **PTC-BENCH**, which evaluates tool-use interfaces under large tool environments, dependent API calls, multi-turn follow-ups, and transient failures.\n\nThis framing is consistent with the framework described in Sections 3.1–3.3: within a task, Python variables and partial results persist across cells; across tasks, API corrections are accumulated and appended to future tool descriptions. \n\nThe overlap and differences with the cited systems are as follows.\n\n**CaveAgent [1]** is the closest in maintaining Python objects across interactions. We do not claim novelty for this runtime capability. I-PTC additionally treats the *tool interface* as adaptable state: agents inspect an initially compressed API surface on demand, and corrections learned from failures persist beyond the task that produced them.\n\n**TaskWeaver [2]** is likewise code-first. The distinction is the assumed tool surface. TaskWeaver operates primarily over curated plugins selected by the framework, whereas I-PTC targets large pre-existing API collections whose methods and return structures may initially be unknown. Its inspection is initiated by the model during execution, and its corrections are written back into future tool descriptions rather than being limited to within-task code repair.\n\n**Recursive Language Models [3]** use a long prompt as an environment for recursive decomposition and computation. Their central problem is long-context processing rather than orchestration and adaptation over an external API surface.\n\n**Sharing State Between Prompts and Programs [4]** enables variables to be shared between prompts and a host Python program. I-PTC instead studies reuse of external tool results, incremental recovery from API failures, selective schema acquisition, and cross-task accumulation of API corrections.\n\nWe will add all four papers to Related Work and explicitly narrow our claim: **the novelty is not notebook persistence itself, but its integration with selective API discovery and persistent API correction for programmatic tool calling, together with an evaluation designed for long-horizon tool workflows.**\n\n---\n\n## **Q2: What are the error bars for the empirical results?**\n\nAll reported results are averages over **three independent end-to-end runs on the same task sets**. The submitted tables stated (n=3) but reported only the means; we agree that this was insufficient.\n\nIn the revision, every table will report **mean ± standard deviation**, where the standard deviation is computed across the three run-level averages. Figures will show corresponding **±1 standard-deviation error bars**, and the caption will explicitly define what the variation represents. This applies to the main results, task-type breakdowns, mechanism ablations, and the new provider-native interpreter experiments below."+ },+ "createdAt": "2026-08-03T05:42:16.687Z",+ "modifiedAt": "2026-11-19T17:08:15.684Z",+ "url": "https://openreview.net/forum?id=JGKsz3cGPf¬eId=sK6UckTYhy",+ "license": "CC-BY-4.0"+}
reviews/openreview/jgksz3cgpf/notes/vwfgcaspqw.json added
+++ b/reviews/openreview/jgksz3cgpf/notes/vwfgcaspqw.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "VwFgcasPqw",+ "replyTo": "LkGHEC7SQy",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "## **Q2: Ablating inspection and self-evolving documentation**\n\nWe ran the complete component grid requested by the reviewer on GPT-5.4 Mini and Gemini 3.1 Flash-Lite, using three runs per condition. We include stateless PTC as an additional reference point.\n\n| Configuration | GPT-5.4 Mini pass | Raw tokens | Traj. tokens | Gemini Flash-Lite pass | Raw tokens | Traj. tokens |\n| ------------------------- | ----------------: | ------------: | -----------: | ---------------------: | ------------: | -----------: |\n| Stateless PTC | 0.591±0.017 | 72,111±2,138 | 24,025±85 | 0.713±0.021 | 121,663±6,358 | 24,453±416 |\n| Raw I-PTC | 0.613±0.008 | 128,873±5,445 | 25,746±204 | 0.719±0.027 | 129,898±1,755 | 24,085±64 |\n| Raw I-PTC + inspection | 0.681±0.017 | 43,780±1,083 | 6,782±148 | 0.728±0.028 | 83,961±5,083 | 9,281±380 |\n| Raw I-PTC + documentation | 0.629±0.033 | 124,029±533 | 24,836±224 | 0.701±0.009 | 128,080±3,917 | 23,859±165 |\n| Full I-PTC | 0.680±0.018 | 45,273±353 | 7,896±81 | 0.728±0.011 | 84,805±5,047 | 9,798±426 |\n\nThe reviewer’s interpretation is correct: **on-demand tool inspection accounts for essentially all of the token reduction**. Relative to raw I-PTC, inspection reduces trajectory tokens by 74% on GPT-5.4 Mini and 61% on Gemini Flash-Lite. Documentation alone leaves token usage statistically similar to raw I-PTC.\n\nThe components have different roles:\n\n* Stateful interactive execution primarily supports adaptation and state reuse.\n* On-demand inspection is the primary source of token savings and also improves pass rate, especially for GPT-5.4 Mini.\n* Self-evolving documentation primarily reduces repeated API misuse. Its incremental effects on pass rate and tokens are within run-to-run variation at the present benchmark scale, consistent with Figure 5, where delayed documentation updates substantially increase API errors without materially changing aggregate pass rate.\n\nWe will replace the partial ablation with this full grid and explicitly state this decomposition in Section 5.3."+ },+ "createdAt": "2026-08-03T05:35:19.237Z",+ "modifiedAt": "2026-11-19T17:08:15.819Z",+ "url": "https://openreview.net/forum?id=JGKsz3cGPf¬eId=VwFgcasPqw",+ "license": "CC-BY-4.0"+}
reviews/openreview/jgksz3cgpf/notes/w97fovlmnn.json added
+++ b/reviews/openreview/jgksz3cgpf/notes/w97fovlmnn.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "W97foVLmNn",+ "replyTo": "LkGHEC7SQy",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We thank the reviewer for the constructive and detailed feedback. In addition to the changes discussed below, we will add an explicit pointer from the benchmark-design discussion to Appendix 8.3.5 and consolidate repeated descriptions of the benchmark’s difficulty factors and the three interface families.\n\n## **Q1: Execution overhead and net efficiency**\n\nWe agree that token usage alone does not capture net efficiency. We therefore instrumented the executor to record wall-clock time, executor-side code time, tool-dispatch time, namespace size, initialization time, and LLM latency. The following results are for the main subset with GPT-5.4 Mini:\n\n| Condition | Pass rate | Mean wall/task | Total code execution | Execution share | Peak namespace | Trajectory tokens |\n| --------- | --------: | -------------: | -------------------: | --------------: | -------------: | ----------------: |\n| Tool-only | 15.0% | 11.9 s | 0 s | 0.0% | — | 27.2K |\n| PTC | 47.5% | 19.5 s | 747.3 s | 38.7% | 0.53 MB | 22.6K |\n| I-PTC | 59.6% | 10.6 s | 1.9 s | 0.2% | 0.44 MB | 7.6K |\n\nThe persistent environment itself is lightweight. I-PTC required approximately 15 ms to initialize, maintained a peak namespace below 0.5 MB, and contained approximately 34 live variables over seven cells per task. Only 0.2% of end-to-end wall time was spent executing I-PTC cells; the remainder was dominated by model inference and tool interaction.\n\nThe unexpectedly high execution time for stateless PTC came from a small number of one-shot programs that committed to expensive brute-force strategies before observing intermediate outputs: three tasks each spent roughly 180–360 seconds in execution. I-PTC avoided these outliers by inspecting partial results and revising the computation incrementally.\n\nWe also measured mean end-to-end wall time over all 240 tasks for four model families:\n\n| Model | Tool-only | PTC | I-PTC | Median I-PTC cell |\n| ----------------- | --------: | ------: | ------: | ----------------: |\n| GPT-5.4 Mini | 14.0 s | 19.1 s | 15.5 s | 8 ms |\n| Gemini 3.1 Pro | 117.8 s | 44.6 s | 53.7 s | 5 ms |\n| Claude Sonnet 4.6 | 84.9 s | 96.5 s | 65.6 s | 9 ms |\n| Kimi K2.5 | 239.9 s | 179.9 s | 147.4 s | 8 ms |\n\nThus, I-PTC is faster than stateless PTC for three of the four measured models, although it is 9.1 seconds slower per task for Gemini 3.1 Pro. We will therefore avoid claiming universal wall-clock dominance. The main conclusion is that notebook persistence adds negligible execution and memory overhead, while end-to-end latency is primarily determined by provider latency, the number of model rounds, and occasionally the strategy selected by the model. We will add these measurements to the appendix and revise the Limitations section accordingly."+ },+ "createdAt": "2026-08-03T05:35:27.649Z",+ "modifiedAt": "2026-11-19T17:08:15.576Z",+ "url": "https://openreview.net/forum?id=JGKsz3cGPf¬eId=W97foVLmNn",+ "license": "CC-BY-4.0"+}
reviews/openreview/jgksz3cgpf/notes/wnrart4eqi.json added
+++ b/reviews/openreview/jgksz3cgpf/notes/wnrart4eqi.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "wnrarT4EQi",+ "replyTo": "UnZ5iUfQgh",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "## **Q2: Model capability threshold and smaller models**\n\nWe agree that programmatic interaction requires sufficient instruction following, code generation, and execution-state tracking. We therefore conducted an additional family-level evaluation on all 240 PTC-BENCH tasks using Qwen3.5 models ranging from 0.8B to 397B total parameters. We compare traditional tool calling, one-shot PTC, and **Raw I-PTC**, i.e., stateful code cells with on-demand tool inspection and self-evolving documentation disabled.\n\n| Model | Active params | Tool-only | PTC | Raw I-PTC |\n| ----------------- | ------------: | --------------: | --------------: | --------------: |\n| Qwen3.5-0.8B | 0.8B | **0.053±0.010** | 0.046±0.004 | 0.044±0.010 |\n| Qwen3.5-2B | 2B | **0.103±0.010** | 0.089±0.012 | 0.087±0.017 |\n| Qwen3.5-4B | 4B | 0.269±0.017 | 0.322±0.009 | **0.328±0.030** |\n| Qwen3.5-9B | 9B | 0.321±0.010 | 0.435±0.017 | **0.468±0.010** |\n| Qwen3.5-27B | 27B | 0.626±0.021 | **0.794±0.002** | 0.786±0.013 |\n| Qwen3.5-35B-A3B | 3B | 0.367±0.018 | 0.662±0.017 | **0.679±0.008** |\n| Qwen3.5-122B-A10B | 10B | 0.596±0.008 | 0.722±0.002 | **0.744±0.021** |\n| Qwen3.5-397B-A17B | 17B | 0.565±0.017 | 0.758±0.013 | **0.772±0.023** |\n\nThe results confirm the reviewer’s concern. At 0.8B and 2B, both programmatic interfaces slightly underperform traditional tool calling, suggesting that these models cannot yet reliably generate and execute multi-step tool-use programs. In our setup, programmatic calling first becomes beneficial at 4B, where Raw I-PTC improves pass rate from 26.9% to 32.8%. For all evaluated models at or above this regime, at least one programmatic interface improves substantially over traditional tool calling. For example, the best programmatic result improves pass rate from 36.7% to 67.9% for Qwen3.5-35B-A3B and from 56.5% to 77.2% for Qwen3.5-397B-A17B.\n\nWe do not interpret 4B as a universal parameter-count threshold. Architecture and inference configuration also matter: Qwen3.5-35B-A3B uses only 3B active parameters yet benefits strongly from Raw I-PTC, while the 0.8B and 2B models use non-thinking mode and the 4B and 9B models use thinking mode. \n\nThe incremental benefit of interactive state over one-shot PTC is also model-dependent. Raw I-PTC is modestly stronger for the three evaluated MoE models, approximately tied with PTC at 4B, and slightly weaker for the dense 9B and 27B models. Thus, the clearest capability threshold concerns whether a model can reliably use a programmatic interface at all; beyond that point, whether stateful interaction improves over one-shot PTC depends on the model and workload.\n\nWe will add these results and clarify this limitation in the revision. In practice, smaller models may benefit from constrained code templates or adaptive routing among traditional tool calling, PTC, and I-PTC, rather than being required to use the most complex interface for every task."+ },+ "createdAt": "2026-08-03T10:20:00.654Z",+ "modifiedAt": "2026-11-19T17:08:15.626Z",+ "url": "https://openreview.net/forum?id=JGKsz3cGPf¬eId=wnrarT4EQi",+ "license": "CC-BY-4.0"+}
reviews/openreview/jgksz3cgpf/notes/wzruhfiauw.json added
+++ b/reviews/openreview/jgksz3cgpf/notes/wzruhfiauw.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "WzruhFIAuW",+ "replyTo": "irGZSL9N68",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "## **Q4: How do the official GPT and Gemini code interpreters perform?**\n\nWe agree that evaluating only Claude’s provider-native implementation left an important gap. We therefore evaluated the official GPT and Gemini mechanisms.\n\nProviders expose two materially different forms of code execution:\n\n* **Hosted, sealed interpreters:** OpenAI Responses `code_interpreter` and Gemini `code_execution`. Code runs in a sandbox that cannot directly invoke our benchmark APIs; external tool calls must still be issued by the model outside the sandbox.\n* **Provider-native tools-from-code runtimes:** Codex code mode and the Gemini CLI tool-execution path, where generated code can invoke the exposed tools. These are the closest analogues to Claude’s native setting and to PTC/I-PTC.\n\nWe replaced provider-specific personas with the same `native_ptc` instruction, disabled unrelated shell and web capabilities, exposed the same benchmark APIs, and used the same deterministic verifiers.\n\n| Model | Hosted sealed interpreter | Provider tools-from-code | I-PTC |\n| --------------------- | ------------------------: | -----------------------: | -------: |\n| GPT-5.4 | 17.6 | 76.2 | **80.0** |\n| GPT-5.4-mini | 9.6 | **74.2** | 68.0 |\n| GPT-5.4-nano | 6.7 | **48.3** | 46.4 |\n| Gemini 3.1 Pro | 51.7 | 75.4 | **82.9** |\n| Gemini 3.1 Flash-Lite | 39.4 | 60.8 | **72.8** |\n| Gemini 2.5 Pro | N/A* | 46.2 | **60.0** |\n| Claude Sonnet 4.6 | N/A | 80.0 | **80.6** |\n\n* Gemini 2.5 rejects the combined interpreter and function-tool configuration with “Tool call context circulation is not enabled”; this is a capability limitation rather than a failed benchmark run.\n\nThe sealed-interpreter results are mixed but remain substantially below programmatic tool calling. They are approximately equal to tool-only execution for the GPT models, hurt Gemini 3.1 Pro, and help Gemini 3.1 Flash-Lite relative to its tool-only baseline. However, because the sandbox cannot directly call benchmark tools, these configurations do not implement programmatic tool orchestration inside code.\n\nThe provider-native tools-from-code comparison is more informative. I-PTC outperforms this baseline on GPT-5.4, all three Gemini models, and Claude Sonnet. The provider runtime performs better on GPT-5.4-mini and GPT-5.4-nano. We will report these exceptions directly rather than characterize the result as uniformly favorable.\n\nThe provider-native runtimes also incur substantially greater execution cost in our measurements:\n\n| Runtime comparison | Raw tokens/task | Trajectory tokens/task | Wall-clock/task |\n| -------------------------- | --------------: | ---------------------: | --------------: |\n| GPT-5.4-mini, Codex | 332K | 22.4K | 55.5 s |\n| GPT-5.4-mini, I-PTC | 44K | 7.6K | 15.5 s |\n| Gemini 3.1 Pro, Gemini CLI | 174K | 22.9K | 211.2 s |\n| Gemini 3.1 Pro, I-PTC | 61K | 7.9K | 53.7 s |\n\nThus, the provider-native paths use approximately **2.9–7.5× more raw tokens, 2.9× more trajectory tokens, and 3.6–3.9× more wall-clock time**. The traces indicate that much of this difference arises from provider-specific scheduling and orchestration round trips, whereas I-PTC executes the multi-step program inside one persistent environment.\n\nThere is also an important compute-matching limitation for the GPT comparison. Codex reports a mean of approximately 2.4K reasoning tokens per task, while the function-tool endpoint used for our GPT I-PTC runs did not permit the same reasoning-budget control. Consequently, the GPT-5.4-mini and nano differences may reflect both the interface and unequal inference budgets. We will state this explicitly as a limitation and avoid attributing those differences solely to the tool-calling mechanism.\n\nWe will add both official interpreter categories, their implementation details, cost measurements, and this comparability limitation to the revised paper."+ },+ "createdAt": "2026-08-03T05:41:49.442Z",+ "modifiedAt": "2026-11-19T17:08:15.587Z",+ "url": "https://openreview.net/forum?id=JGKsz3cGPf¬eId=WzruhFIAuW",+ "license": "CC-BY-4.0"+}
reviews/openreview/jgksz3cgpf/notes/yhjahhvwfc.json added
+++ b/reviews/openreview/jgksz3cgpf/notes/yhjahhvwfc.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "YHJAhhvwFC",+ "replyTo": "irGZSL9N68",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "## **Q3: How do inspection and self-evolving API notes perform without statefulness?**\n\nWe ran a full ablation on **stateless PTC**, where every code invocation receives a fresh Python namespace. Documentation updates may still persist across task batches, but no variables, imports, helper functions, or intermediate tool results persist between code invocations. Results are over all 240 PTC-BENCH tasks with (n=3).\n\n| Model | Stateless PTC configuration | Pass rate | Raw tokens/task | Trajectory tokens/task |\n| --------------------- | --------------------------- | ---------: | --------------: | ---------------------: |\n| GPT-5.4-mini | Neither | 58.6 ± 5.3 | 67K ± 2K | 23.6K ± 0.2K |\n| GPT-5.4-mini | Inspection only | 65.8 ± 0.7 | 40K ± 1K | 8.8K ± 0.4K |\n| GPT-5.4-mini | API notes only | 57.2 ± 1.7 | 63K ± 2K | 23.0K ± 0.2K |\n| GPT-5.4-mini | Inspection + notes | 64.7 ± 4.0 | 44K ± 3K | 9.4K ± 0.4K |\n| Gemini 3.1 Flash-Lite | Inspection only | 70.1 ± 0.5 | 86K ± 2K | 10.2K ± 0.3K |\n| Gemini 3.1 Flash-Lite | API notes only | 66.8 ± 1.7 | 126K ± 1K | 24.2K ± 0.1K |\n| Gemini 3.1 Flash-Lite | Inspection + notes | 70.7 ± 0.6 | 115K ± 7K | 12.2K ± 0.3K |\n\nThe no-feature baseline was run for GPT-5.4-mini.\n\nThe result is clear: **on-demand inspection is the principal contributor to pass rate and token efficiency in stateless PTC**. For GPT-5.4-mini, inspection improves pass rate by 7.2 percentage points and reduces trajectory tokens by 2.7×, from 23.6K to 8.8K. API notes alone do not improve pass rate or token usage in this setting. Adding notes on top of inspection also produces no measurable accuracy improvement for either model.\n\nComparing the same configurations with stateful execution on GPT-5.4-mini gives:\n\n* Inspection: (65.8\\pm0.7 \\rightarrow 68.1\\pm1.7)\n* API notes: (57.2\\pm1.7 \\rightarrow 62.9\\pm3.3)\n* Inspection + notes: (64.7\\pm4.0 \\rightarrow 68.0\\pm1.8)\n\nThus, statefulness improves the mean in all three matched configurations, while inspection provides most of the token savings. The two stateful configurations containing inspection are effectively tied in pass rate—68.1% for inspection alone and 68.0% for the full system—so we will **not** claim that self-evolving notes improve task accuracy in this 240-task experiment.\n\nInstead, the evidence supports a more precise conclusion: inspection improves immediate task performance and efficiency, while self-evolving documentation primarily reduces repeated API misuse across tasks. This is consistent with the submitted documentation-update ablation, where more frequent updates substantially reduce API errors but have little effect on aggregate pass rate. We will revise the mechanism discussion accordingly."+ },+ "createdAt": "2026-08-03T05:42:07.316Z",+ "modifiedAt": "2026-11-19T17:08:15.750Z",+ "url": "https://openreview.net/forum?id=JGKsz3cGPf¬eId=YHJAhhvwFC",+ "license": "CC-BY-4.0"+}
reviews/openreview/jgksz3cgpf/notes/zx0xdpxams.json added
+++ b/reviews/openreview/jgksz3cgpf/notes/zx0xdpxams.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "zX0xDPXams",+ "replyTo": "WzruhFIAuW",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer XF7a",+ "content": {+ "comment": "I thank the authors for the response. \n\nQ1: I appreciate the authors for being honest about the contribution, the related work breakdown, and for the promised revision of the narrowed claim, introduction, and related work sections, which are necessary.\n\nThat said, I'm still not clear what distinction the authors are drawing between a tool-use interface versus code execution. In I-PTC, it seems Python code is executed (Figure 1). The tools are surfaced as functions/Python modules, which already is available in standard Python code execution environments for LLMs. \n\nAs the authors state, I believe that the novel contributions are selective API discovery, persistent API correction, and PTC-Bench. This framing differs substantially from that of the submitted manuscript, which places greater emphasis on statefulness, an aspect that is not itself novel. Because the revised framing requires a significant changes, I remain hesitant to increase my score.\n\nQ2: This addresses my concern, thanks.\n\nQ3: \n> statefulness improves the mean in all three matched configurations, while inspection provides most of the token savings.\n\nI would also note that the error ranges overlap between stateless and stateful configurations for Inspection and Inspection+Notes, meaning the difference could be due to nondeterminism from sampling. \n\nAdditionally, reading the results from the author response to reviewer D9Jm, without Inspection+Notes, adding statefulness (59.1$\\pm$1.7 -> 61.3$\\pm$0.8) also have error ranges that overlap.\n\nQ4: This addresses my concern, thanks."+ },+ "createdAt": "2026-08-03T23:18:24.942Z",+ "modifiedAt": "2026-11-19T17:08:15.372Z",+ "url": "https://openreview.net/forum?id=JGKsz3cGPf¬eId=zX0xDPXams",+ "license": "CC-BY-4.0"+}