betaFeedback

WorksComputer Science

Does a Self-Learning Migration Agent Learn? An Audited Evaluation of Evidence-Graded Experience Memory for Oracle-to-PostgreSQL Migration

Abstract

Do large language model (LLM) migration agents learn from accumulated experience, or do apparent gains reflect retrieval and reference reuse? We evaluate an evidence-graded agent for Oracle-to-PostgreSQL migration across four studies. On 1,833 documentation-derived source-reference pairs, persistent memory improved reference conformity (RC) over a no-memory baseline by 0.015 [0.004, 0.025], while policy adaptation added no gain (-0.004 [-0.010, 0.001]). An audit found that 264 of 367 held-out units (72%) shared a PostgreSQL reference with training, and the memory effect on the 103 leak-free units fell to 0.002 [-0.008, 0.011]. A model-free nearest-target copy baseline scored RC 0.222, outperforming all LLM systems (at most 0.163). A reference-grouped split reduced copying to 0.119; a rerun on 374 units in 118 independent target groups found no statistically distinguishable memory effect (0.005 [-0.003, 0.017]) and no policy effect. A separate Oracle-grounded evaluation on 216-224 real PL/SQL units showed that 10-22% of PostgreSQL-accepted units were behaviorally incorrect; a human-gated fix cycle increased demonstrably correct units from 98/216 to 167/224. A write-back study showed a 54% decline in retrieval margin as the knowledge base grew from 12 to 1,200 entries. We derive six evaluation rules that distinguish cross-task learning from reference leakage, copying, metric artifacts, and unstable feedback.

Introduction

Background and Motivation

Agents based on LLMs are increasingly being used as tools for software development tasks that require consideration of repository context and iterative feedback [1, 2, 3]. Code translation and database migration are natural targets for such agents, because migration units are numerous, structurally repetitive, and linked by dependencies, yet they also contain dialect-specific behavior whose semantics fluent output can silently distort [4, 5, 6].

Oracle-to-PostgreSQL migration illustrates the difficulty. Oracle SQL and PL/SQL combine constructs such as NVL, DECODE, CONNECT BY, ROWNUM, MERGE, package state, autonomous transactions, and DBMS_* calls, each of which may require a context-dependent PostgreSQL idiom. Earlier work by the authors’ group examined a fine-tuned migration framework [7] and token-optimization strategies for Oracle-to-PostgreSQL migration [8]. Related work also addresses specification-driven synthesis for intelligent monitoring systems [9].

Feedback-driven agents improve outputs through reflection, self-refinement, execution feedback, or self-debugging [10, 11, 12]. In most of these methods, however, the improvement is task-local: the same task is attempted repeatedly, and the benefit disappears when the next task starts. Whether an agent becomes better on previously unseen migration tasks because of experience accumulated on other tasks is a distinct question, and it is rarely separated from retrieval of similar examples, copying of references, or simply spending more inference budget [13], [14].

Additional motivation comes from earlier research on knowledge acquisition. Situation-oriented ontologies organized reusable diagnostic knowledge based on context and relationships, while tools for working with tabular knowledge bases supported the process of their creation [15], [16]. In cases of migration, we apply only the principles of situational suitability and clearly defined provenance. These materials are not presented as a demonstration of agent training based on LLMs.

Our initial plan was to demonstrate that such an agent learns. The plan changed as soon as the results came in. Memory did help, but the gains were almost entirely concentrated on stored items that were also referenced during training. A program that simply copies the nearest training target performed better than any LLM-based system. Thus, this article describes an agent, an audit that uncovered a problem, the remediation of a gap, and two laboratory studies demonstrating which specific aspects can be safely optimized through a learning loop. The agent remains a subject of scientific research, with the migration from Oracle to PostgreSQL serving as a test environment.

Research Questions

The core question is whether continuous, evidence-based learning from previous migration pairs provides an advantage on unseen tasks compared to static prompting, nearest-example retrieval, and task-specific local reflection, under the same base LLM and inference budget. We have broken this down into four research questions, one for each study:

  • RQ1 (Study 1): Do experience (memory) and an adaptive policy strategy improve alignment with reference patterns (on data not used for training) compared to baselines, and does each of these components contribute to this result?

  • RQ2 (Study 2): What proportion of the observed uplift remains after accounting for shared links and comparing against baseline copying metrics derived without the use of models—and how does the picture change when the data is grouped by reference target?

  • RQ3 (Study 3): When results are evaluated by executing them and comparing them against Oracle execution ground truth, what specific signals can the training loop rely on for optimization—without being misled? And does a human-supervised correction loop actually provide real value?

  • RQ4 (Study 4): Does the knowledge write-back mechanism remain reliable as the knowledge base grows?

Studies 1 and 2 utilize the same dataset and the original execution protocols from Study 1. Additionally, Study 2 involves a separate re-run of the agent on a sample generated using a reference-based grouping approach. Studies 3 and 4 are part of other laboratory projects and rely on their own distinct datasets. In each study, the answer to the research question is formulated within the framework of the respective approach, and these answers are synthesized in Section XI.

Scope and Contributions

Studies 1 and 2 utilize a single dataset derived from documentation. Since no executable Oracle instance is available for this dataset, the outcome is measured by alignment with reference data rather than by the correctness of behavior. Study 3 employs different toolkits that use actual Oracle output and a PostgreSQL database for verification. Study 4 is a controlled information retrieval experiment. The base model remains unchanged; we therefore characterize the mechanism as non-parametric continual adaptation.

The article makes five contributions. First, it specifies an evidence-graded learning agent with tiers G0–G3, verifier-grounded admission and a checkpointed policy (Sections III–§ 5). Second, it reports a full run of that agent with ablations and controls, including a null result for policy learning (§ 7). Third, it gives a leakage audit with model-free copy baselines and a checkpoint monitor, shows that the memory gain is mostly reference reuse, builds a split grouped by reference and reruns the agent on it (Section VIII). Fourth, it reports execution-judged evidence on what accepted, empty and judged outputs really mean (§ 9) and on write-back at scale (§ 10). Fifth, it turns these results into rules for claims of agent learning (Section XI).

RELATED WORK

Feedback-Driven and Self-Improving Code Agents

Reflexion stores verbal reflections in an episodic buffer to improve later attempts, and Self-Refine iterates on a single output using the model’s own critique [10, 11]. CodeRL and LEVER use execution outcomes to train or rerank code generation, and Self-Debug and LLMLOOP feed execution or test feedback back into repair loops [12, 17, 18]. LLMLOOP in particular packages iterative compilation, static analysis, and test feedback for generated code and tests [19]. These methods provide the task-local reflection baseline used here, but they do not by themselves establish that experience transfers across tasks.

DSPy compiles declarative language-model pipelines and optimizes prompts or demonstrations against a metric, which makes it a relevant comparator for automatically optimized demonstrations [14]. Early-experience agent learning studies how agents can learn from self-generated interaction data without explicit reward signals [13]. The present study differs in that experience units are typed, evidence-graded, and admitted only through deterministic verifier outputs, and in that learning is measured on a frozen held-out panel.

ExpeL collects experiences across tasks and distils them into insights [20], and Voyageer keeps a growing skill library [21]. Agentic context engineering treats a playbook as a context that evolves through generation, reflection and curation, without weight updates [22]. These systems are closest to our design, and they share its main risk: the stored experience may simply encode answers to the evaluation tasks.

Agentic Software Engineering and Evaluation

SWE-agent shows that the design of the agent–computer interface strongly affects software-engineering performance, and SWE-bench established realistic repository-level evaluation [1, 2]. Analyses of LLM-based software-engineering agents argue for simple, well-understood baselines before complex agent architectures [3], and RepairAgent, MetaGPT, and SOEN-101 illustrate autonomous repair, role-based multi-agent collaboration, and process-model-driven generation [23, 24, 25]. For validity, EvalPlus shows that limited test suites can overstate the correctness of generated code, SWT-Bench evaluates whether generated tests validate real-world fixes, and a study on the reliability and explainability of program-generation models documents related evaluation limitations [26, 27, 28].

Leakage between training and evaluation data is a known cause of over-optimistic results in machine-learning research [29]. LLM judges such as G-Eval help score open-ended output [30], but their stability on repeated calls is rarely reported. For migration, a hybrid decomposition framework from our group measured routing, repair and decomposition on 1,448 tasks and found that small samples can reverse a comparison [31]. A metric-based model of software functional state combines several metrics into one index over the development life cycle and adds non-compensatory rules, so that strong secondary metrics cannot hide a critical defect; it was validated on 15 merged open datasets and five release scenarios [32]. RC in Study 1 is a compensatory composite of this kind, which is one reason why Studies 2 and 3 examine its parts separately.

Specification Reconstruction, Translation, and Migration

Explain-then-translate shows that self-generated explanations can improve program translation, which motivates an intermediate textual specification [33]. UniTrans combines test-case generation, translation, and iterative repair for code translation, and XCodeEval provides an execution-based multilingual benchmark that includes translation [4], [5]. Work on repairing ambiguous problem descriptions highlights that underspecified inputs degrade generation, which parallels the risk of inventing business semantics during specification extraction [34]. A knowledge-graph-based framework for LLM-powered database migration addresses system evolution, although its relevance to Oracle-to-PostgreSQL relational migration must be assessed separately [6]. Neuro-symbolic feedback, in which symbolic checks constrain neural repair, is explored for vulnerability repair [35].

Knowledge Representation and Contextual Applicability

Situation-oriented ontology construction and knowledge-base authoring software represent knowledge as contextual cases with typed relations [15], [16]. This is related to, but distinct from, neural parameter learning. In the present design every case stores positive and negative evidence, source and target provenance, a dependency neighborhood, applicability predicates, and the strongest verified evidence tier, and the memory can retract, supersede, and deactivate conflicting cases instead of accumulating every generated explanation.

The presentation [36] introduces self-learning monitoring agents that maintain shared knowledge about evolving software and reports repository-level experiments. Its evidence is treated here as preliminary, not as independent validation of migration-agent learning.

Gap Addressed

Existing work offers task-local feedback loops, experiential agents, benchmarks and translation pipelines. We are not aware of a migration study that grades source–target pairs by evidence tier, measures cross-task gain against a fixed-policy memory control on a frozen panel, and then audits that gain for reference sharing and against model-free copying. We also report what happens when the same question is asked with execution against Oracle.

PROBLEM DEFINITION AND FORMAL MODEL

Agent State and Learning Criterion

Let DD denote the set of Oracle migration units, each with source ss. A candidate pair is a tuple p=(s,t,e)p = (s, t, e), where tt is the aligned PostgreSQL artifact and e∈{G0,G1,G2,G3}e \in\{G_0, G_1, G_2, G_3\} is its evidence tier. Pairs are partitioned into group-disjoint training, validation, and test sets. The agent state after training batch kk is Sk=(Mk,πk)S_k = (M_k, \pi_k), where MkM_k is the experience memory and πk\pi_k is the strategy policy. State evolves only through training batches BkB_k:

Sk=U(Sk−1,Bk),Sk=(Mk,πk)(1)S_k = U(S_{k-1}, B_k), \qquad S_k = (M_k, \pi_k) \tag*{(1)}

The experience store comprises verified reusable knowledge KkK_k and episodic execution memory. For a training unit TiT_i with candidate P^i\hat{P}_i and verifier feedback FiF_i (parser diagnostics, reference-alignment scores, dependency-preservation checks, and optional target-side execution outcomes), knowledge is updated by

Kk+1=U(Kk,Admit⁡(Extract⁡(Ti,P^i,Fi)))(2)K_{k+1} = U\left(K_k, \operatorname{Admit}\left(\operatorname{Extract}(T_i, \hat{P}_i, F_i)\right)\right) \tag*{(2)}

where UU applies observation, verification, admission, and policy update. Table 1 lists exactly what is allowed to change over time; the base model, prompts, temperature, tool rights, and token budgets are held constant.

ComponentRole and update rule
Experience store MkM_kTyped experiences with tier, applicability conditions, contraindications, and negative examples; changed only by admission, revision, or deprecation.
Strategy policy πk\pi_kRanker over direct, spec-first, example-assisted, and dependency-decomposed strategies; trained on training and validation outcomes only.
Rule confidenceEvidence-weighted estimate per rule, recomputed after each batch ((10)).
Retrieval weightingWeights of lexical, AST, and graph signals; fixed in B5, adaptive in P1.
Base-model weightsNot changed. No parametric training is claimed.

Table 1. Components of Agent State That May Change Across Checkpoints

Everything outside Table 1 stays fixed between checkpoints, so a change in held-out scores can only come from the rows of the table.

An agent is said to learn on the test panel TT only if three conditions hold jointly: reference conformity on TT increases with checkpoint kk under constant model and budget; the gain remains after replacing learned memory with random, shuffled, or unrelated memory; and matched with-versus-without-memory counterfactuals show positive rule utility on eligible tasks. Retrieval of similar examples, prompt refinement on the same task, reference copying, and repeated attempts do not satisfy this definition.

Study 2 adds a fourth condition. The gain must remain on held-out units whose reference never occurs as a training target, and the agent must beat a program that copies the target of the most similar training source. Without this condition an agent can meet the first three conditions by storing near-copies of shared references.

Metrics

Metrics are predeclared and measured only against reference checks and structural verifiers. Reference conformity is

RC=NpassNelig(3)RC = \frac{N_{\mathrm{pass}}}{N_{\mathrm{elig}}} \tag*{(3)}

where NpassN_{\mathrm{pass}} is the number of predeclared reference checks passed and NeligN_{\mathrm{elig}} the number of checks eligible for the unit; units without a label are excluded rather than counted as failures. Dependency-preservation rate (DPR) and its coverage are

DPR=∣Epres∣∣Emap∣(4)DPR = \frac{\lvert E_{\mathrm{pres}}\rvert}{\lvert E_{\mathrm{map}}\rvert} \tag*{(4)}
DPRcov=∣Emap∣∣Esrc∣(5)DPR_{\mathrm{cov}} = \frac{\lvert E_{\mathrm{map}}\rvert}{\lvert E_{\mathrm{src}}\rvert} \tag*{(5)}

where EsrcE_{\mathrm{src}} is the set of source dependency edges, EmapE_{\mathrm{map}} the mapped and comparable subset, and EpresE_{\mathrm{pres}} the preserved subset of EmapE_{\mathrm{map}}. Learning gain, negative transfer, token efficiency, and rule utility are

LG(k)=Q(P1k,T)−Q(B50,T)(6)LG(k) = Q(P1_k, T) - Q(B5_0, T) \tag*{(6)}
NTR⁡(k)=1N∑i=1N1[yibase=1∧yiP1k=0](7)\operatorname{NTR}(k)=\frac{1}{N}\sum_{i=1}^{N}\mathbf{1}\left[y_i^{\mathrm{base}}=1\land y_i^{P1_k}=0\right] \tag*{(7)}
TPS⁡=∑i=1n(niin+niout)Npass(8)\operatorname{TPS}=\frac{\sum_{i=1}^{n}\left(n_i^{\mathrm{in}}+n_i^{\mathrm{out}}\right)}{N_{\mathrm{pass}}} \tag*{(8)}
RU⁡(r)=1∣Tr∣∑i∈Tr[qi(with r)−qi(without r)](9)\operatorname{RU}(r)=\frac{1}{\lvert T_r\rvert}\sum_{i\in T_r}\left[q_i(\mathrm{with}\ r)-q_i(\mathrm{without}\ r)\right] \tag*{(9)}

where QQ is mean reference conformity on TT, yiy_i is binary success of task ii, niinn_i^{\mathrm{in}} and nioutn_i^{\mathrm{out}} are input and output tokens, and TrT_r are unseen tasks eligible for rule rr. Cost in currency is reported only if the price is known; all metrics are disaggregated by object type, complexity, rarity, dependency depth, and evidence tier.

In Study 1 the eligible checks for (3) are four weighted checks: exact match (RC = 1), normalised match (two checks), token-sequence similarity (one check above 0.9, half a check above 0.7) and coverage of key SQL constructs. A unit counts as a binary success when it passes the static dialect check and RC ≥0.5\ge0.5. The dialect check is a set of regular expressions: no Oracle-only token may survive and a PostgreSQL marker must be present. It is a proxy, not a parser. DPR (4)–(5) was not computed, because no code-level dependency edges were extracted.

C. Architecture and Train/Test Boundary

Figure 1 shows the strict boundary between the adaptation zone and the frozen evaluation zone. Memory and policy snapshots cross the boundary read-only; held-out outputs are verified and scored once and are never written back into memory, policy, or hyperparameters.

Architecture with strict train/test boundary

Figure 1. Architecture with strict train/test boundary. Snapshots are frozen at each checkpoint before held-out scoring.

The boundary in Figure 1 was enforced by tests on pair and source identifiers. Section VIII shows that this is not enough: a reference can cross the boundary when several sources are aligned to the same target.

IV. CORPUS, ALIGNMENT AND EVIDENCE TIERS

A. Evidence Boundaries

Table II states what each study could measure. Earlier migration studies by our group [7], [8] serve as background only; their outcomes are not reused here.

ItemStatusConsequence
Oracle sources (Studies 1–2)1,834 snippets from the Oracle Database 12.2 SQL and PL/SQL referencesPrompts, inventory, copy baselines
PostgreSQL references (Studies 1–2)9,041 snippets from the PostgreSQL documentation; topical, not translationsRC measures agreement with a related example
Code-level dependency graphNot extracted; only pair linksDPR not computed; H3 not testable
Stage A specification auditNot measured: the audit emitted fixed scoresNo specification audit reported
Executable Oracle (Study 3)Oracle transcripts and an Oracle container for 34 filesExecution-judged correctness
PostgreSQL deploymentStudy 3 onlyG2-type evidence outside Study 1
Behavioural equivalence (Study 1)Not measurableReported as such
Tokens, calls, latencyMeasured from run logsTable XI

Table 2. Evidence Matrix.

The most important row is the second one. Studies 1 and 2 measure how close an output comes to a related documentation example, so every result there is a statement about agreement, never about correct migration.

B. Corpus Discovery and Characterization

The Study 1 corpus comes from two exports of the Oracle documentation and one export of the PostgreSQL documentation. The inventory hashes every snippet, removes exact duplicates and records lines, tokens and detected constructs (Table III). Most raw records are repeats: 14,450 Oracle records reduce to 1,834 unique units and 156,465 PostgreSQL records to 9,041.

QuantityOraclePostgreSQL
Documentation exports21
Raw records → unique units14,450 → 1,834156,465 → 9,041
Lines of code / tokens12,279 / 99,62983,725 / 745,745
Rare constructs (< 5 units)DECODE (2), MERGE (2)none
Code-level dependency edgesnot extractednot extracted

Table 3. Corpus Inventory and Construct Profile.

Figure 2 shows the construct profile. Oracle units are dominated by DBMS_* packages, DUAL and SYSDATE; PostgreSQL units by PL/pgSQL blocks, cursors and generate_series.

Construct profile of the Study 1 corpus

Figure 2. Construct profile of the Study 1 corpus (units containing each detected construct).

The two sides therefore describe different features, not the same programs. Only DECODE, MERGE, dynamic SQL, autonomous transactions and SYSDATE occur on both sides in comparable numbers.

Alignment and Evidence Tiers

Oracle units were matched to PostgreSQL units by a hybrid score of BM25, typed AST features and structural similarity. This produced 1,833 candidate pairs. Every pair was recorded as a 1:1 correspondence, but the pairs point to only 664 distinct PostgreSQL targets. Figure 3 shows how often a target is reused: 352 targets serve one source each, while 28 targets serve more than ten sources and together cover 517 pairs.

Number of Oracle sources aligned to the same PostgreSQL target

Figure 3. Number of Oracle sources aligned to the same PostgreSQL target (1,833 pairs, 664 targets).

A typical pair links a short Oracle statement to a PostgreSQL documentation example on the same topic, not to its translation. Tiers were assigned automatically (Table IV). G1 means confirmed provenance and a parsable static reference: the documentation is human-written, but no pair was reviewed. All 1,677 pairs in the adjudication queue were still open at the time of the runs.

Tier or checkEvidenceCount
G0Aligned or generated; no correctness evidence504
G1Confirmed provenance, parsable static reference1,329
G2G1 plus PostgreSQL deployment checks0
G3G2 plus behavioural check against Oracle0
Distinct targetsPostgreSQL targets used by the 1,833 pairs664
Reviewed pairsPairs checked by a person0 (queue 1,677)

Table IV. Pair Evidence Tiers and Alignment Audit.

Because G2 and G3 are empty, every Study 1 claim is limited to structural agreement. The reuse of targets in Figure 3 is also the path through which references later cross the train/test boundary.

Migration Specification Construction

The proposed specification lifecycle defines two stages for constructing a structured, versioned migration specification in two separate stages (Figure 4). Stage A, source-grounded extraction, does not see the target. It extracts typed interfaces, signatures, schema objects, input/output contracts inferable from code, SQL semantics, branches, side effects, reads and writes, transactional and exception behavior, dependencies, assumptions, Oracle-specific behavior, uncertainty, and non-inferable requirements. Missing business semantics are recorded as unknowns, not invented.

Lifecycle of source-grounded and pair-derived specifications

Figure 4. Lifecycle of source-grounded and pair-derived specifications.

Stage B, pair-grounded refinement, applies to training pairs only. It compares the source-grounded specification with the aligned PostgreSQL target to record observed transformation decisions, alternatives, conflicts, confidence, and verification tier, and it never rewrites source requirements to fit the target. Two artifacts result: specs/source_grounded/<pair_id>.yaml, permissible at inference for all splits and derived only from source and graph, and specs/pair_derived/<pair_id>.yaml, training-only knowledge. The source-grounded schema contains the blocks source, interfaces, semantics, dependencies, constraints, unknowns, and extraction; the pair-derived schema contains reference, observed_mappings, feedback, and review.

Formally, the source-grounded specification SisrcS_i^{\mathrm{src}} is generated from Oracle code and dependency facts alone, whereas the training-only pair specification Sipair=Augment⁡(Sisrc,Piref)S_i^{\mathrm{pair}}=\operatorname{Augment}(S_i^{\mathrm{src}},P_i^{\mathrm{ref}}) may summarize observed Oracle→\toPostgreSQL correspondences, supported idioms, and reference-specific annotations. A held-out candidate is generated from SsrcS^{\mathrm{src}} and admissible training-derived knowledge, never from its own target reference. Model-requested clarifications are tracked as unresolved assumptions, and a model-generated specification is not authoritative when it contradicts source facts. The generation prompt receives the source-grounded YAML, Oracle code, permitted dependency context, retrieved training evidence only, the output schema, and verification instructions. The held-out PostgreSQL target is never provided. Prompt, version, model, budget, and hash are stored in reproducible manifests, outputs must parse against a schema, and deterministic checks reject unsupported semantic claims. The specification is a reconstruction from code, which is explicitly distinguished from an authoritative business specification.

This specification lifecycle was not exercised in the runs reported here. The Stage A audit in the code base returned fixed placeholder scores, so we report no specification audit. The spec-first strategy used in B1 is a fixed checklist of Oracle constructs (NVL, VARCHAR2, NUMBER, SYSDATE, PL/SQL blocks, ROWNUM, DECODE and (+) joins), not a per-unit specification. The specification effect therefore cannot be separated in Study 1.

Original Split

The configuration asked for a split by documentation family, but the split script did not apply it: every pair formed its own component, so the split was random at pair level. It produced 1,099 training, 367 validation and 367 test units; 109 of the 136 test families also occur in training. Retrieval excluded experiences of the same family at inference. Targets were not part of the grouping: 141 of the 236 distinct test targets also occur as training targets. Training used 311 of the 1,099 training units, in seven batches of up to 50. Section VIII-E describes the repaired split.

DATASET-ORIENTED AGENT LEARNING METHOD

Experience Representation

An experience is a typed record with an identifier, the originating training pair, source-specification and dependency features, the selected strategy, a transformation rule, the observed outcome, the evidence tier, applicability conditions, contraindications, negative examples, a confidence value, the checkpoint at which it was created, and a knowledge version. Negative examples and contraindications are first-class fields, so that the memory distinguishes positive from negative transfer and does not assume that a G1 pair proves behavioral correctness.

In the implementation, an experience stores the agent's own generated PostgreSQL code for a training unit, not the reference. An experience counts as verified when its own verifier result is a binary success.

Ten-Stage Learning Loop

Figure 5 depicts the intended full loop; Study 1 implemented a reduced version without per-unit specifications or a code-level dependency graph (Section IV). For each task, the agent (1) observes source-derived features, the dependency neighborhood, and applicable training examples; (2) retrieves with hybrid lexical, AST, and graph signals plus optional semantic ranking, excluding the current held-out target, task aliases, and duplicates; (3) selects among direct, source-spec-first, example-assisted, and dependency-decomposed migration, logging scores and rationale; (4) generates candidate PostgreSQL without reference leakage; and (5) verifies with parser, schema, and static dependency checks, optionally with PostgreSQL deployment, comparing to allowed references for training pairs only.

Online experience and knowledge validation loop with checkpoint freezing

Figure 5. Online experience and knowledge validation loop with checkpoint freezing.

The agent then (6) reflects by creating structured error and repair events grounded in verifier outputs rather than in unverified model self-evaluation; (7) admits or revises knowledge using evidence thresholds, applicability conditions, contradiction handling, feedback history, and depreciation; (8) updates the policy; (9) consolidates duplicate patterns while separating positive and negative transfer and storing versions and an audit trail; and (10) freezes memory and policy at a checkpoint and scores a stable held-out panel without writing its results back. Learning is made observable through experience_events.jsonl, memory_snapshots/, policy_snapshots/, retrieval_traces.jsonl, and checkpoint_scores.csv.

Knowledge Admission and Consolidation

Admission is evidence-weighted. For a candidate rule rr with supporting and opposing verifier outcomes sj∈{0,1}s_j \in\{0,1\} derived from experiences eje_j, confidence is a smoothed, tier-weighted success rate:

cr=α+∑jω(ej)sjα+β+∑jω(ej)(10)c_r = \frac{\alpha+\sum_j \omega(e_j)s_j}{\alpha+\beta+\sum_j \omega(e_j)} \tag*{(10)}

where ω\omega maps the evidence tier to a weight with ω(G0)≤ω(G1)≤ω(G2)≤ω(G3)\omega(\mathrm{G0}) \leq\omega(\mathrm{G1}) \leq\omega(\mathrm{G2}) \leq\omega(\mathrm{G3}), and α,β\alpha,\beta are prior pseudo-counts. A rule is admitted only if cr≥τcc_r \geq\tau_c, the support count reaches τn\tau_n, and it does not contradict an admitted rule of equal or higher tier without an explicit applicability split. Thresholds τc\tau_c, τn\tau_n, α\alpha, β\beta, and the weights ω\omega are fixed on validation data before any test run.

Extracted cases are normalized by source construct, target idiom, context features, and dependency signature, and identical cases are deduplicated. Conflicting cases are not averaged; they retain evidence identifiers and validity scopes. Admission applies schema validation, source-grounding checks, reference-provenance checks, forbidden-pattern checks, and verification-tier gates. Cases supported only by G0–G1 evidence remain advisory and cannot justify claims of executable or behavioral correctness.

The thresholds were τc=0.65\tau_c = 0.65 and τn=2\tau_n = 2 with tier weights ω(G0)=0.10\omega(\mathrm{G0}) = 0.10, ω(G1)=0.50\omega(\mathrm{G1}) = 0.50, ω(G2)=0.80\omega(\mathrm{G2}) = 0.80 and ω(G3)=1.00\omega(\mathrm{G3}) = 1.00, and α=β=1\alpha= \beta= 1. Verified experiences are retrieved as positive examples; an admitted rule adds a ranking bonus. Unverified experiences can be shown as counter-examples.

Adaptive Strategy Policy

The policy is a simple, reproducible contextual strategy ranker over the four strategies. With features ϕ(x)\phi(x) of the source specification and dependency profile, strategy probabilities are

πk(a∣x)=exp⁡(θaTϕ(x)/τ)∑aexp⁡(θaTϕ(x)/τ)(11)\pi_k(a\mid x) = \frac{\exp(\theta_a^\mathsf{T}\phi(x)/\tau)}{\sum_a \exp(\theta_a^\mathsf{T}\phi(x)/\tau)} \tag*{(11)}

and parameters are updated on training batches by a baseline-subtracted policy-gradient step:

θa←θa+η(R−b(x))ϕ(x)(1[at=a]−π(a∣x))(12)\theta_a \leftarrow\theta_a + \eta\left(R-b(x)\right)\phi(x)\left(\mathbf{1}[a_t=a]-\pi(a\mid x)\right) \tag*{(12)}

with reward RR equal to static reference conformity minus a cost penalty, baseline b(x)b(x), and learning rate η\eta. A calibrated rule-priority model may replace this ranker if it performs better on validation; the choice is fixed before test runs. A fixed-policy memory-only variant (B5) uses the same memory and retrieval but no policy updates, which isolates adaptive policy learning from memory.

Training samples strategies with a seeded generator, as (12) assumes; held-out evaluation is greedy. The learning rate was η=0.05\eta= 0.05, τ=1\tau= 1 and the cost weight 0.001. The untrained policy starts with a small bias towards the spec-first strategy, so P1 at checkpoint 0 behaves like B1.

Algorithm Summary

Algorithm 1 summarizes the procedure. Inputs are the training and fixed test groups, source parser, reference analyzer, independent verifier, an initially empty memory M0M_0, and an initial policy π0\pi_0.

  • (1) Audit and group-split all units.

  • (2) Generate and validate source-only specifications.

  • (3) For each training batch, generate pair specifications, extract cases, deduplicate, and evidence-label them.

  • (4) For each training task, retrieve permitted cases, select a strategy, generate, verify, and log the outcome.

  • (5) Admit evidence-qualified cases, revise the policy, and persist versioned snapshots.

  • (6) At each checkpoint, freeze memory and policy and evaluate on held-out source-only tasks.

  • (7) Compare paired outcomes with controls and report negative transfer.

  • (8) Optionally run target deployment or independent behavior checks on an eligible subset.

Study 1 executed data splitting, retrieval, migration generation, static proxy checks, memory and policy updates, checkpoint evaluation, and the reported controls. However, the source-only and pair-derived specification lifecycle described in Steps (2)–(3) was not exercised: the Stage A audit returned placeholder scores (Section IV-D). No code-level dependency graph or independent Oracle execution evidence was available for Study 1. Study 3 separately examines execution-based verification.

EXPERIMENTAL DESIGN

Study 1: Systems Compared

All Study 1 systems use Qwen3-Coder-480B-A35B through Amazon Bedrock (qwen.qwen3-coder-480b-a35b-v1:0) at temperature 0, with the same instructions and one generation call per unit. Only B3 has a repair budget. Responses are cached on a hash of model, prompt and temperature; replays report the tokens of the first call. Table V lists the systems, ablations and controls. Ablations and controls reuse the final P1 memory and policy with one component removed at inference; none was retrained.

IDConfiguration
B0Direct LLM translation; no checklist, no memory.
B1Spec-first construct checklist; no memory.
B2B1 + static retrieval of matched training pairs.
B3B1 + task-local repair loop; no cross-task learning.
B4B1 + unfiltered persistent memory; fixed policy.
B5B1 + verified persistent memory; fixed policy.
P1B5 + admission + adaptive strategy policy.
A1–A6P1 minus: admission; keyword-depth ranking term; memory; policy adaptation; case refinement; counter-examples.
C1–C4Controls: random memory, shuffled evidence, unrelated memory, equal-budget static retrieval.
M0–M3Model-free (Study 2): empty output; copy the Oracle source; copy the target of the most similar training source; copy a random training target.

Table V. Baselines, proposed system, ablations and controls

P1 versus B5 isolates policy learning. B5 versus B1 isolates memory. P1 versus B4 isolates admission. A4 applies the checkpoint-0 policy to the final memory and therefore equals B5 by construction.

Chronological Protocol

Training units arrive in seven batches. After each batch, memory and policy are frozen and the same 367-unit panel is scored. Held-out outputs are never written back. Results are also split by tier (G0 and G1 only).

Verification Ladder

Table VI lists the measurable proxies. In Study 1 only the static levels exist. Deployment and behavioural levels exist only in Study 3.

ProxyDefinition and limit
PVStatic dialect check by regular expressions; a proxy, not a parser.
RCWeighted share of four reference checks (Section III-B); agreement, not behaviour.
CCCoverage of key SQL constructs of the reference; part of RC.
DSDeployment success; Study 3 only.
BEBehavioural agreement with Oracle output and errors; Study 3 only.

Table VI. Measurable Proxies Under the Available Assets

The lower two rows matter for any claim about migration quality. Study 1 cannot reach them, which is why Study 3 is part of this article.

Study 2: Leakage Audit, Model-Free Baselines and Repaired Split

The leakage audit and model-free comparisons in Study 2 use the logged outputs of Study 1 without new LLM calls; the final reference-grouped evaluation includes a separate LLM rerun (Section VIII-I). First, it marks each test unit whose PostgreSQL target also occurs as a training target. Second, it re-scores every system on the leak-free and the shared sub-panels, paired by group as in (13). Third, it scores model-free baselines with the same verifier: M0 returns nothing; M1 returns the Oracle source unchanged; M2 returns the PostgreSQL target of the training pair whose Oracle source is most similar by TF-IDF cosine; M3 returns a random training target. Fourth, a checkpoint monitor reads the memory snapshots and retrieval traces and reports, per checkpoint, the number of verified experiences, the distinct positive examples shown to the panel, the retrieval churn (mean Jaccard distance of retrieved sets between consecutive checkpoints) and the strategy mix. The monitor follows the idea of comparing what changed in the learned state with what changed in behaviour [36].

Fifth, Study 2 builds a split grouped by PostgreSQL target, tests it for shared targets and shared target text, re-runs the model-free baselines on it, re-scores the systems that use no training data (B0, B1, B3) on the new test units they already cover, estimates the power of a rerun, and reruns B1, B5 and P1 on the new split.

Study 3: Execution-Judged Evaluation

Study 3 comes from the lab's migration agent, which translates Oracle PL/SQL with a production routing (DeepSeek-V4-Flash, escalating to DeepSeek-V4-Pro). These names identify the reported routing choices; the specific provider-resolved model release for each run is not documented in this manuscript. Its corpus has 34 Oracle files with 216 units, later 224. Each unit is installed in a PostgreSQL validation database in dependency order and run against scenarios. Oracle ground truth comes from captured Oracle transcripts and, for disputed cases, from execution on an Oracle Database Free container. A unit is demonstrably correct when it is accepted and Oracle's own output and errors do not contradict it, or when it fails with exactly the error Oracle raises. Every change to the prompt or harness went through a pre-registered fix cycle: one change per arm, predicates written before the run, and promote, revert or hold decided against the real artifacts. We also ran a do-nothing agent beside every reported number.

Study 4: Knowledge Write-Back at Scale

Study 4 tests whether a single correction written back into a FAISS knowledge base becomes retrievable and stays retrievable. The gap case is an Oracle XMLTABLE query with no matching rule. The base holds 12 real migration rules, padded with synthetic filler rules to 120 and 1,200 entries. We record top-3 retrieval before and after ingesting the correction and the distance margin between the correct rule and the best irrelevant one, first with all-MiniLM-L6-v2 and then with the production embedding model BGE-M3-SQL. A second test ingests seven corrections one by one and re-checks all seven gap cases after each step.

Hypotheses and Statistical Plan

tbl:VII lists the hypotheses and their outcomes. The unit of analysis is the independent group. Intervals come from 10,000 group-bootstrap resamples with seed 1; binary contrasts use the exact McNemar test with Holm correction. The configuration fixes a smallest effect of interest (SEI) of 2.0 percentage points. We cannot document that it was frozen before the runs, so verdicts are interval-based; we also state whether the threshold was met. Group-level paired contrasts are not necessarily equal to the differences between the unit-weighted mean RC values shown in the summary tables.

IDHypothesisOutcome
H1P1 beats B5 on held-out RC (policy learning beyond memory).Not supported: −0.004 [−0.010, 0.001]; leak-free −0.003 [−0.010, 0.004]; new split −0.000.
H2P1 has less negative transfer than B4.Not testable: B1 passes 1 of 367 units, so NTR is 0 or 1/367.
H3Graph-aware learning helps dependency-heavy tasks.Not testable: no dependency graph; keyword proxy −0.003 [−0.008, 0.000].
H4P1 improves validated outcomes per token.Not supported: 83,382 vs 40,687 tokens per pass.
H5Learned patterns transfer to unseen construct families.Inconclusive: P1 − B1 = 0.006 [−0.008, 0.020], 18 units.

Table VII. Hypotheses and Outcomes

The paired effect for H1 is

Δ=1G∑g=1G(qgP1−qgB5)(13)\Delta= \frac{1}{G}\sum_{g=1}^{G}\left(q_g^{P1}-q_g^{B5}\right) \tag*{(13)}

with a confidence interval from bootstrap resampling over groups. No effect in Study 1 reached the 2.0-point threshold.

STUDY 1: AGENT LEARNING ON THE DOCUMENTATION CORPUS

Baseline Comparison

tbl:VIII compares the systems on the frozen panel at the final checkpoint. Every memory system scored above the no-memory baseline B1 (0.143). Verified memory B5 reached 0.161 and unfiltered memory B4 0.163, so admission made no difference. The adaptive agent P1 reached 0.155, below B5. Binary success was rare: at most 8 of 367 units passed. Task-local repair (B3) raised the dialect proxy from 0.749 to 0.807 but not RC.

SystemRC (95% CI)Dialect proxyPassesNTR vs B1
B00.133 [0.119, 0.147]0.59700.003
B10.143 [0.129, 0.155]0.7491reference
B20.152 [0.136, 0.168]0.72870.000
B30.139 [0.127, 0.151]0.80710.003
B40.163 [0.148, 0.178]0.73860.003
B50.161 [0.146, 0.176]0.71180.000
P10.155 [0.141, 0.169]0.68430.003

Table VIII. Results on the Frozen Test Panel (367 Units, 136 Groups, Final Checkpoint)

Figure 6 splits the same results by tier. G1 units score higher than G0 units for every system, for example 0.173 against 0.123 for B5, and the order of the systems is the same in both tiers.

Figure 6. Reference conformity by evidence tier (G0: 85 units in 53 groups; G1: 282 units in 118 groups).

The tier gap is larger than any gap between systems. Better references raise the score more than any part of the agent does, which already hints that RC rewards the reference as much as the output.

Continual-Learning Checkpoints

Table IX and Figure 7 follow P1 across checkpoints. RC rose from 0.141 to 0.155, and the paired gain over checkpoint 0 was 0.012 [0.004, 0.022] at k=7k = 7. NTR stayed at 1/367 until k=6k = 6 and was 2/367 at k=7k = 7.

Reference conformity of P1 by checkpoint

Figure 7. Reference conformity of P1 by checkpoint with a 95% group-bootstrap band, against B1, B5 and the model-free copy baseline M2.

kMem.Verif.RCLG(k) (95% CI)StrategyChurn
0000.141—spec-first—
15000.1450.005 [-0.003, 0.013]spec-first1.00
210000.1510.008 [-0.001, 0.019]spec-first0.63
315000.1500.007 [-0.002, 0.018]spec-first0.10
420000.1500.007 [-0.002, 0.018]spec-first0.02
525000.1520.013 [0.003, 0.024]example0.55
630000.1530.013 [0.003, 0.025]example0.02
731110.1550.012 [0.004, 0.022]example0.51

Table IX. Checkpoints of P1 on the Frozen Panel, with Monitor Readings

The curve in Figure 7 looks like learning: it rises after the first batches and again after k=5k = 5.

The checkpoint monitor in Figure 8 shows what lies behind this curve. Until k=6k = 6 the memory held no verified experience, so the panel saw only counter-examples. At k=5k = 5 the greedy policy switched every unit at once from spec-first to example-assisted; strategy entropy stayed at zero throughout, so the policy never used context. At k=7k = 7 a single verified experience appeared, and 356 of 367 units (97%) received it as their only positive example.

Checkpoint monitor of P1

Figure 8. Checkpoint monitor of P1: retrieval churn coloured by the strategy used on the whole panel (top), and the share of the panel that receives the same positive example, with the number of verified experiences (bottom).

No rule was ever admitted. During the audit we also found that the example-assisted prompt rendered counter-examples without their counter-example label; the code is now fixed for the rerun. The rise at k=5k = 5 and k=7k = 7 therefore coincides with a global strategy switch and with one shared example, not with growing knowledge.

Subgroups

Table X splits the final gain. The dependency-depth field in the logs is a keyword count (EXECUTE, CALL, SELECT … FROM, INSERT INTO and similar), so the split is a proxy for statement content, not for dependencies.

SubgroupGroups/unitsLG (95% CI)RU proxy (95% CI)
Keyword count ≥1\ge163/131-0.005 [-0.013, 0.001]-0.001 [-0.006, 0.003]
Keyword count 098/2360.023 [0.011, 0.036]0.028 [0.017, 0.041]
Rare constructs21/280.008 [0.001, 0.017]0.006 [0.001, 0.013]
Unseen families14/180.011 [0.000, 0.022]0.008 [0.000, 0.018]
Tier G053/850.003 [-0.006, 0.013]0.013 [0.003, 0.023]
Tier G1118/2820.016 [0.005, 0.029]0.019 [0.010, 0.029]

Table X. Final-Checkpoint Gain by Subgroup

The gain sat in units with a zero count, 0.023 [0.011, 0.036], and in G1 units, 0.016 [0.005, 0.029]. Units with a non-zero count gained nothing. RU is a memory-level proxy, P1 minus A3 on units with a non-empty retrieval trace; per-rule counterfactuals (9) were not run.

Cost

Table XI reports tokens, calls and repairs per unit from the run manifest. Memory made prompts longer (B5: 887 tokens per unit against 521 for B1).

SystemTokensCallsRepairsPassesTokens/pass
B0206.61.000.000n/a
B1521.31.000.001191,304
B2782.01.000.00740,999
B3792.51.670.671290,831
B4880.41.000.00653,848
B5886.91.000.00840,687
P1681.61.000.00383,382

Table XI. Tokens, Calls and Repairs per Unit

P1 used fewer tokens than B5 but also passed fewer units, so its cost per pass was twice that of B5. Mean latency per unit was 3.35 s for B5 and 3.28 s for P1. Costs of retrieval, consolidation and validation were not instrumented, and the per-token price is not known, so no currency cost is given.

Ablations and Controls

Table XII removes one component at a time from the final P1 state.

ConfigurationRCΔRC vs. P1 (95% CI)
A1 − admission/validator0.1560.001 [-0.004, 0.007]
A2 − graph context0.1570.001 [0.000, 0.002]
A3 − persistent memory0.136-0.017 [-0.027, -0.010]
A4 − policy adaptation0.1610.004 [-0.001, 0.010]
A5 − case refinement0.151-0.002 [-0.009, 0.005]
A6 − failure examples0.1560.006 [-0.004, 0.017]
C1 random memory0.142-0.014 [-0.027, -0.003]
C2 shuffled evidence0.140-0.010 [-0.022, -0.000]
C3 unrelated memory0.145-0.011 [-0.020, -0.004]
C4 equal-token-budget retrieval0.146-0.008 [-0.023, 0.006]

Table XII. Ablations and Controls on the Final P1 State

Only removing memory (A3) hurt RC, by 0.017 [0.010, 0.027] relative to P1. Removing admission (A1), the keyword-depth term (A2), case refinement (A5) or counter-examples (A6) changed nothing beyond noise. Random, shuffled and unrelated memory (C1–C3) scored 0.010 to 0.014 below P1. So the content of memory mattered, but none of the mechanisms that select or grade it did.

Failure Taxonomy and Case Traces

Table XIII classifies failing units automatically from verifier outputs; no manual labelling was done.

CategoryB5P1
Dialect-proxy failure106115
Low conformity (RC < 0.5) with dialect pass253248
Negative transfer from memory01
Unresolved dependencynot loggednot logged

Table XIII. Failure Taxonomy (Automatic Categories)

Most failures were low-conformity outputs that passed the dialect check. One P1 failure counts as negative transfer: B1 succeeded on it, and P1 failed with a retrieved example. The case traces explain the largest paired gains. The three units with the largest gain all have the target psql_docs_full_122, and all received the same verified experience, whose training unit has that same target. Their RC rose from 0.07–0.16 to 0.64–0.72.

STUDY 2: LEAKAGE AUDIT AND REPAIRED SPLIT

Shared References

Of the 236 distinct references in the test panel, 141 also occur as training targets. They cover 264 of the 367 test units (72%) in 105 groups; the other 103 units in 65 groups are leak-free. Memory stores the agent's own outputs, so a reference reaches the panel when a training output reproduces it closely. That is what happened with the single verified experience in § 7-B.

Re-Scoring on Leak-Free and Shared Units

Table XIV gives RC on the full, leak-free and shared panels.

SystemFull (367)Leak-free (103)Shared (264)
B00.133 [0.119, 0.147]0.140 [0.119, 0.158]0.131 [0.113, 0.148]
B10.143 [0.129, 0.155]0.146 [0.123, 0.165]0.142 [0.126, 0.156]
B20.152 [0.136, 0.167]0.136 [0.115, 0.155]0.158 [0.138, 0.178]
B30.139 [0.127, 0.151]0.150 [0.129, 0.167]0.135 [0.119, 0.150]
B40.163 [0.148, 0.178]0.152 [0.131, 0.170]0.167 [0.148, 0.187]
B50.161 [0.147, 0.176]0.148 [0.126, 0.167]0.166 [0.148, 0.186]
P10.155 [0.141, 0.168]0.147 [0.126, 0.166]0.158 [0.140, 0.176]
A30.136 [0.122, 0.148]0.133 [0.110, 0.154]0.137 [0.121, 0.153]
C10.142 [0.128, 0.155]0.141 [0.120, 0.160]0.142 [0.126, 0.159]
C30.145 [0.131, 0.157]0.150 [0.129, 0.167]0.143 [0.127, 0.158]
M0 empty0.000 [0.000, 0.000]0.000 [0.000, 0.000]0.000 [0.000, 0.000]
M1 copy source0.111 [0.096, 0.124]0.123 [0.100, 0.144]0.106 [0.091, 0.121]
M2 copy nearest target0.222 [0.185, 0.262]0.109 [0.088, 0.129]0.267 [0.218, 0.316]
M2 without shared targets0.104 [0.092, 0.117]0.101 [0.083, 0.121]0.105 [0.092, 0.119]

Table XIV. Reference Conformity on the Full, Leak-Free and Shared Panels.

Memory systems score higher on shared units than on leak-free ones, while systems without memory do not. Table XV and Figure 9 give the paired contrasts behind this pattern.

ContrastFullLeak-freeShared
B5−B1B5 - B10.015 [0.004, 0.025]0.002 [-0.008, 0.011]0.023 [0.008, 0.039]
B4−B1B4 - B10.015 [0.005, 0.027]0.002 [-0.008, 0.011]0.022 [0.008, 0.038]
B2−B1B2 - B10.012 [-0.001, 0.027]-0.005 [-0.017, 0.007]0.020 [0.004, 0.038]
P1−B5P1 - B5-0.004 [-0.010, 0.001]-0.003 [-0.010, 0.004]-0.007 [-0.015, 0.001]
P1−B1P1 - B10.010 [0.000, 0.020]-0.001 [-0.010, 0.008]0.016 [0.004, 0.030]
P1−M2P1 - M2-0.044 [-0.082, -0.007]0.028 [0.006, 0.050]-0.075 [-0.126, -0.029]

Table XV. Paired Contrasts by Panel (Eq. (13), 95% Group-Bootstrap CI).

Paired contrasts on the full, leak-free and shared panels

Figure 9. Paired contrasts on the full, leak-free and shared panels; the dashed line marks the smallest effect of interest.

On shared units, verified memory beat no memory by 0.023 [0.008, 0.039]. On leak-free units the same contrast was 0.002 [−0.008, 0.011], and static retrieval was 0.005 below B1.

In Figure 9 every memory contrast on the leak-free panel crosses zero, and only shared units reach the 2.0-point threshold. The adaptive policy did not help on any panel.

Model-Free Baselines

A program that copies the PostgreSQL target of the most similar training source (M2) reached RC 0.222 [0.185, 0.262], above every LLM system. It passed 38 of 367 units (10.4%) against at most 8 for any system, and for 47 units (12.8%) it returned the exact reference. Figure 10 puts the copy baselines next to the agent on both panels.

Reference conformity on the full and leak-free panels for selected systems and the model-free copy baselines

Figure 10. Reference conformity on the full and leak-free panels for selected systems and the model-free copy baselines.

On leak-free units M2 fell to 0.109, below every LLM system, and P1 beat it by 0.028 [0.006, 0.050]. With shared targets removed from the pool, M2 scored 0.104 on all units. Returning the Oracle source unchanged (M1) scored 0.111, three quarters of B1, because RC rewards shared tokens and keywords. Returning nothing (M0) scores zero, so RC does not reward silence.

What the Audit Changes

Without the audit, Study 1 would read as a small positive memory effect with a learning curve. With it, the memory effect is explained by reference reuse, the curve by one verified experience and a global strategy switch, and the best number on the panel by copying. None of the original leakage tests failed: they checked sources and pair identifiers, and the leak went through targets.

A Split Grouped by Reference

We rebuilt the split with the PostgreSQL target as the unit of grouping. Grouping by target and documentation family together is not feasible: it joins 1,754 of the 1,833 pairs (96%) into one component. Grouping by target alone gives 664 components, the largest with 51 pairs (2.8%). Components were shuffled with seed 1 and assigned to the split with the largest deficit against 60/20/20. Table XVI compares the two splits.

PropertyOriginalReference-grouped
Train / validation / test units1,099 / 367 / 3671,097 / 362 / 374
Distinct test targets236118
Test targets also in training1410
Test units with a shared target264 (72%)0
Test families also in training109 of 13688 of 113
Test tiers G0 / G185 / 282101 / 273
Target-leakage tests passed0 of 66 of 6

Table XVI. Original and Reference-Grouped Splits

A new test, tests/test_target_leakage.py, checks every pair of splits for shared target identifiers and for identical target text. It fails all six checks on the original split and passes them on the new one, together with the two original split tests. Documentation families still cross the split, as they did before; target grouping removes the reference path but not topical similarity.

Model-Free Baselines on the New Split

Table XVII repeats the model-free baselines on both splits, with targets as bootstrap groups. Figure 11 shows the same numbers.

BaselineSplitRC (95% CI)PassesExact
M0 emptyoriginal0.000 [0.000, 0.000]00
M1 copy sourceoriginal0.111 [0.097, 0.124]00
M2 copy nearest targetoriginal0.222 [0.182, 0.264]3847
M3 random training targetoriginal0.087 [0.074, 0.101]33
M0 emptygrouped0.000 [0.000, 0.000]00
M1 copy sourcegrouped0.108 [0.085, 0.133]00
M2 copy nearest targetgrouped0.119 [0.104, 0.137]40
M3 random training targetgrouped0.078 [0.068, 0.086]10

Table XVII. Model-Free Baselines on the Original and Reference-Grouped Splits

Model-free baselines on the original and the reference-grouped split

Figure 11. Model-free baselines on the original and the reference-grouped split (labels give exact copies of the reference).

Copying the nearest training target fell from 0.222 to 0.119, and its exact copies of the reference fell from 47 to 0. Copying the source (M1) and a random target (M3) barely changed.

The remaining 0.119 is the floor that any LLM system on the new split must clear: it is what topical similarity alone earns under RC. It sits above M3 (0.078), so nearest-source retrieval still carries some signal without the reference path.

Training-Independent Systems on the New Panel

B0, B1 and B3 use no training data, so their logged outputs stay valid under any split. Of the 374 new test units, 82 (49 targets) were also in the original panel and have outputs for these systems (Table XVIII).

SystemUnitsTargetsRC (95% CI)Passes
B082490.165 [0.125, 0.200]0
B182490.156 [0.121, 0.185]0
B382490.148 [0.121, 0.177]1
M2 copy nearest target82490.110–
M1 copy source82490.107–

Table XVIII. Training-Independent Systems on the 82 Logged Units of the New Test Panel

On these units the no-memory baseline B1 scored 0.156 and copying scored 0.110. Without shared references, an LLM with a fixed checklist beats copying by about 0.05. Any memory gain in the rerun has to come on top of B1, not on top of copying.

Power of the Rerun

The memory systems B2, B4, B5 and P1 depend on training data and must be rerun. Table XIX estimates the minimum detectable effect (MDE) at a two-sided α\alpha of 0.05 and 80% power from the SD of group-level paired differences in the logged run, grouped by target. Figure 12 plots the same estimate against the number of groups.

Contrast (groups)SD (groups)MDE, 118 groupsMDE, 236 groupsGroups for 0.02
B5 − B10.0690.01780.012694
P1 − B50.0450.01150.008240
P1 − B10.0630.01620.011578

Table XIX. Minimum detectable effect for the rerun (α=0.05\alpha= 0.05, Power 0.80).

Minimum detectable effect against the number of independent groups in the test panel

Figure 12. Minimum detectable effect against the number of independent groups in the test panel.

With 118 target groups the rerun can detect a memory effect of 0.018 and a policy effect of 0.012, both below the 2.0-point threshold. A null result in the rerun is therefore informative: an effect at the threshold would have been found with 80% probability.

Rerun on the Reference-Grouped Split

We reran B1, B5 and P1 on the new split with the same model, temperature, admission thresholds, policy settings and seven-batch training stream (301 training units). The only intended change was the counter-example label in the example-assisted prompt. The rerun made 1,560 distinct model calls (the cache served repeated prompts), used 0.47 million input and 0.37 million output tokens and about 73 minutes of model time. Table XX gives the results with targets as bootstrap groups, next to the model-free baselines on the same units.

SystemUnitsRC (95% CI)Passes
B1 no memory3740.149 [0.120, 0.179]6
B5 verified memory3740.178 [0.124, 0.252]8
P1 adaptive agent3740.178 [0.124, 0.250]8
M1 copy source3740.108 [0.085, 0.133]0
M2 copy nearest target3740.119 [0.104, 0.137]4
M3 random training target3740.078 [0.068, 0.087]1

Table XX. Rerun on the reference-grouped split (374 units, 118 target groups).

All three LLM systems beat every model-free baseline. B5 and P1 produced identical outputs: the policy never left the spec-first strategy, and no training experience was ever verified, so both systems saw the same counter-examples. Table XXI gives the paired contrasts of (13).

ContrastGroupsDifference (95% CI)
B5 − B11180.005 [-0.003, 0.017]
P1 − B51180.000 [0.000, 0.000]
P1 − B11180.005 [-0.003, 0.017]
B1 − M21180.022 [0.005, 0.039]
P1 − M21180.027 [0.008, 0.047]

Table XXI. Paired contrasts on the reference-grouped split (Eq. 13, 95% group-bootstrap CI).

Memory gave 0.005 [−0.003, 0.017] over B1 and the policy gave exactly zero over memory. Both intervals sit below the 2.0-point threshold, and the memory interval includes zero. The no-memory baseline beat copying by 0.022 [0.005, 0.039], so the LLM does add agreement that copying cannot reach once the reference path is closed.

Unit-weighted means tell a different story, and the difference matters. B5 averaged 0.178 against 0.149 for B1, a gain of 0.029 per unit. Of that gain, 88% came from a single reference, psql_docs_full_122, which serves 42 of the 374 test units; their RC rose from 0.265 to 0.493. Without this reference the unit-level gain was 0.004, and the group-level contrast was 0.003 [−0.004, 0.014]. Table XXII and Fig. 13 show when this happened.

kMemoryVerifiedRCLG(k) (95% CI)Churn
0000.149——
15000.152-0.005 [-0.010, 0.000]1.00
210000.1420.002 [-0.005, 0.012]0.58
315000.1770.006 [-0.003, 0.017]0.94
420000.1780.006 [-0.002, 0.017]0.06
525000.1780.005 [-0.003, 0.017]0.12
630000.1780.005 [-0.003, 0.017]0.11
730100.1780.005 [-0.003, 0.017]0.00

Table XXII. Checkpoints of P1 on the reference-grouped split.

Reference conformity of P1 on the reference-grouped split

Figure 13. Reference conformity of P1 on the reference-grouped split, for all units and without the dominant reference (42 units), against B1 and the copy baseline M2.

The jump at k=3k = 3 coincides with a retrieval churn of 0.94: the set of counter-examples changed for almost every unit, and for the 42 units of the dominant reference the new counter-examples pushed the outputs towards its long audit-trigger script. Without that one reference, P1 stays within 0.005 of B1 at every checkpoint. The rerun therefore confirms the audit. Once references cannot cross the split, the memory and policy components show no statistically distinguishable group-level improvement at the level of independent groups, and a unit-weighted learning curve can still look like learning when one large group moves. No experience was verified and no rule was admitted in 301 training units, so the admission and policy mechanisms were never exercised.

Study 3: Execution-Judged Evaluation

What Accepted, Empty and Judged Outputs Mean

tbl:23 summarises Study 3. Three findings matter for any learning loop. First, a do-nothing agent beat the real agent on the behavioural metric the work first reported. Oracle raises no error on 11 of the first 20 curated units, so an empty script scored 11 of 20 exact matches and a mean fidelity of 0.550, against 1 of 20 and about 0.15 for the agent. On 34 units the do-nothing agent scored 21 of 34.

MeasurementResult
Do-nothing vs agent, 20 curated units (exact matches)11/20 vs 1/20
Do-nothing vs agent, mean behavioural fidelity0.550 vs ≈0.15
Do-nothing, 34 units (exact matches)21/34
Accepted verdicts with unresolved inner references≈78%
Acceptance effects after restricting to resolved verdicts−6.15 → −0.45 pp; +2.10 → +0.15–0.25 pp
Accepted units wrong against Oracle output9/93 (10%); 25/114 (22%)
LLM-judge verdict churn, two calls, temperature 016.2%
Pre-registered fix cycles FIX-019 to FIX-04613 confirmed, 6 partial, 2 failed, 7 construct-level
Demonstrably correct units98/216 → 108/216 → 162–170/224 → 167/224
Run-to-run spread, same configuration≈10 of 224 units

Table XXIII. Execution-Judged Evidence from the Lab Migration Harness

Second, acceptance by PostgreSQL proved little: about 78% of accepted verdicts came from PL/pgSQL bodies whose inner references were never resolved. Restricted to resolved verdicts, the two headline acceptance effects shrank from −6.15 to −0.45 points (p=0.39p = 0.39) and from +2.10 to +0.15–0.25 points (p=0.33p = 0.33–0.58). Checked against Oracle output, 9 of 93 accepted units (10%) were wrong before a round of fixes and 25 of 114 (22%) after it. Third, an LLM judge used to separate designed from accidental behaviour changed 16.2% of its verdicts between two calls on identical input at temperature 0.

A Gated Fix Cycle as Supervised Admission

The fix cycle is a manual form of the admission step in Section V-C. Each candidate change is one prompt paragraph or one harness fix, tested on the full corpus against predicates written in advance, and kept only if the generated SQL shows the intended effect. Figure 14 shows the do-nothing comparison and the progress of the cycle.

Study 3 exact behavioural matches and gated fix cycle

Figure 14. Study 3: (a) exact behavioural matches of a do-nothing script and the agent on 20 curated units; (b) demonstrably correct units over prompt versions (v77: range of three runs).

Over about four weeks the count of demonstrably correct units rose from 98 of 216 to 167 of 224. Harness fixes explain much of this rise. One resolver defect alone blocked 21 groups, 57% of the blocked cascade, and four harness fixes that cost no tokens raised the migrated units from 53 to 74. Prompt fixes moved the ceiling one construct at a time, for example SELECT INTO STRICT for Oracle's NO_DATA_FOUND, TIMESTAMP(0) for Oracle DATE, cursor expressions, and OUT and IN OUT parameters. Many fixes were partial: a correct fix often exposed the next defect behind it. One fix produced five new accepted units that were all wrong; a whole-file comparison with Oracle output caught them. Two runs of the same configuration differed by about 10 units, so a single run is a point estimate.

Study 4: Knowledge Write-Back at Scale

Margin and Scale

tbl:24 gives the write-back results. In every setting the gap case moved from MISS to HIT right after one correction was ingested, with no re-indexing or restart.

Base size, modelBeforeAfterCorrectNext bestMargin
12, MiniLMMISSHIT1.0041.5670.563
120, MiniLMMISSHIT1.0041.4840.480
1,200, MiniLMMISSHIT1.0041.2650.261
12, BGE-M3-SQLMISSHIT0.8900.9670.078

Table XXIV. Retrieval of a Written-Back Correction (Top-3, XMLTABLE Gap Case)

Figure 15 plots the margin between the correct rule and the best irrelevant rule. It shrank from 0.563 to 0.261 as the base grew from 12 to 1,200 entries.

Retrieval margin of a written-back correction against knowledge-base size, for two embedding models.

Figure 15. Retrieval margin of a written-back correction against knowledge-base size, for two embedding models.

The filler rules were synthetic, so this is a trend, not a production estimate. The production embedding model BGE-M3-SQL kept the HIT but cut the margin to 0.078 on the 12-entry base, and embedding 12 documents on a CPU took 242 s against about 1 s for MiniLM.

Independence of Corrections

Seven corrections (XMLTABLE, PIVOT, the MODEL clause, BULK COLLECT and FORALL, UTL_FILE, DBMS_OUTPUT and autonomous transactions) were ingested one by one into a 12-entry base. Each became retrievable for its own gap case at once, and none was pushed out of the top three by a later one. Study 4 also explains a pattern in Study 1. When few entries are verified, one entry can sit closest to almost every query. In Study 1 one verified experience was the positive example for 97% of the panel.

Discussion

Answers to the Research Questions

RQ1. Memory raised RC on the full panel, but neither admission nor policy adaptation added anything, and the policy collapsed into one global switch. H1 and H4 were not supported, H2 and H3 could not be tested, and H5 was inconclusive. RQ2. Almost all of the memory gain sat on units that share a reference with training, and copying the nearest training target beat every LLM system. On leak-free units the agent beat copying but did not beat the no-memory baseline. A split grouped by reference closes this path and lowers the copy floor to 0.119. The rerun on it found no memory or policy effect at group level, with enough power to detect 0.018. RQ3. Under execution against Oracle, acceptance and silence-rewarding metrics mislead, and a single LLM judge is unstable. A gated cycle with human verdicts did accumulate gains, mostly by fixing the harness. RQ4. Write-back works at once and without regressions at small scale, but the safety margin shrinks as the base grows and depends on the embedding model.

A related conference presentation by one of the authors [36] reports experiments on five Python repositories. Monitoring adaptation reduced detection lag for all five systems, but improved F1 only for three with lower import coupling and reduced F1 for two with higher coupling. These presentation-level results are not pooled with our migration experiments; they illustrate why averages can conceal negative transfer.

Rules for Claims of Agent Learning

The Study 3 harness reached the same conclusion as the non-compensatory rules in [32] by a different route: it reports four separate categories per unit and never a blended score, because each single number it tried rewarded the wrong behaviour. We draw six rules from the four studies:

  • Group splits by reference target as well as by source; report how many held-out references occur in training.

  • Report a model-free copy baseline next to every learning curve; a gain below copying is not evidence of learning.

  • Score a do-nothing agent beside every metric before trusting it.

  • Count only verdicts that resolved their references; acceptance by the target system alone is not correctness.

  • Repeat LLM-judge calls and report verdict churn; one call at temperature 0 is not deterministic.

  • Report the state behind the curve: verified entries, distinct examples shown, policy entropy and admitted rules.

Applied to Study 1, the rules turn a positive-looking result into a null result for learning. Applied to Study 3, they make the reported gains believable, because each gain is tied to a pre-registered change and read against Oracle output. The first two rules cost no model calls, and Section VIII shows that both can be applied to a finished run.

Threats to Validity

Construct validity is the main threat. In Studies 1 and 2, RC measures agreement with a topically related documentation example, not with a translation, and no pair was reviewed. Internal validity: Study 1 is a single run per system at temperature 0, ablations were not retrained, and the training stream used 311 of 1,099 units. The Stage A audit and the dependency graph were not available, so two parts of the design were not tested. On the reference-grouped split only B1, B5 and P1 were rerun; B2, B4, the ablations and the controls were not. External validity: Study 1 uses one documentation corpus and one LLM; Study 3 uses one harness, one model routing and 34 files. Studies 3 and 4 are reported from the lab's records; their raw artifacts are internal. Table XXV lists the threats and their status.

ThreatStatus in this study
Reference leakage through shared targetsObserved: 264 of 367 test units; audited; removed in the new split
Weak golden pairsObserved: topical references, 0 reviewed pairs
Static versus behavioural correctnessObserved in Study 3: 10–22% of accepted units using wrong
Degenerate metric optimaObserved in Study 3; RC gives empty output zero
Low success rateObserved: ≤ 8 passes per system; NTR and TPS unstable
Untested design partsSpecification audit and dependency graph not available
Run-to-run varianceNot estimated in Study 1; ≈10/224 units in Study 3
GeneralisationOne corpus and model (Study 1); one harness (Study 3)

Table XXV. Validity Threats and Their Status

Two threats are partly mitigated by Study 2: reference leakage is removed in the new split, and the copy and do-nothing baselines bound what RC can reward. The others remain open and shape the future work below.

CONCLUSIONS

We built an evidence-graded self-learning agent for Oracle-to-PostgreSQL migration and tested whether it learns. On a documentation-derived corpus, memory raised reference conformity by 0.015, admission and policy adaptation added nothing, and the policy collapsed to one strategy. An audit showed that 72% of held-out units shared their reference with training. On leak-free units the memory gain disappeared, and copying the nearest training target beat every LLM system on the full panel. The answer to the title question is therefore no for this corpus.

A split grouped by reference removes the leak and lowers the copy floor from 0.222 to 0.119. A rerun on it found no memory effect (0.005 [−0.003, 0.017]) and no policy effect at the level of 118 independent reference groups; the unit-weighted gain of 0.029 came almost entirely from one reference shared by 42 units. The lab studies show what a sound learning signal needs. Judged by execution against Oracle, a pre-registered, human-gated fix cycle raised demonstrably correct units from 98 of 216 to 167 of 224, while acceptance, silence and single judge calls would each have misled an automatic loop. Write-back of corrections works but loses margin as the knowledge base grows.

Future work will review a stratified sample of pairs, rerun the remaining systems on the reference-grouped split, run the agent with per-unit source specifications, and replace the reference-conformity signal with execution evidence from the Study 3 harness, so that an automatic proposer can draft fixes while the gate keeps the verdicts.

DECLARATION ON GENERATIVE AI

During the preparation of this work, the authors used ChatGPT in order to: Grammar and spelling check. After using this service, the authors reviewed and edited the content as needed and take full responsibility for the publication’s content.

FUNDING AND DATA AVAILABILITY

Funding: this work was carried out within the EPAM Systems GenAI R&D Lab and received no external funding.

Data availability: the Study 1 corpus is derived from public Oracle and PostgreSQL documentation. Manifests, splits (original and reference-grouped), run logs, snapshots and the Study 2 scripts are available from the authors on reasonable request. The Study 3 harness and corpus and the Study 4 code are internal to the lab.

REFERENCES

References

  1. [1]J. Yang et al., “SWE-agent: Agent-Computer Interfaces Enable Language Model Software Engineering,” in Proc. Adv. Neural Inf. Process. Syst. (NeurIPS), vol. 37, 2024, arXiv:2405.15793, doi: 10.48550/arXiv.2405.15793.arxiv.org/abs/2405.15793
  2. [2]C. E. Jimenez et al., “SWE-bench: Can Language Models Resolve Real-World GitHub Issues?,” in Proc. Int. Conf. Learn. Represent. (ICLR), 2024, arXiv:2310.06770, doi: 10.48550/arXiv.2310.06770.
  3. [3]C. S. Xia, Y. Deng, S. Dunn, and L. Zhang, “Demystifying LLM-based Software Engineering Agents,” Proc. ACM Softw. Eng., vol. 2, no. FSE, pp. 801–824, 2025, doi: 10.1145/3715754.
  4. [4]Z. Yang et al., “Exploring and Unleashing the Power of Large Language Models in Automated Code Translation,” Proc. ACM Softw. Eng., vol. 1, no. FSE, pp. 1585–1608, 2024, doi: 10.1145/3660778.DOI
  5. [5]M. A. M. Khan, M. S. Bari, D. Long, W. Wang, M. R. Parvez, and S. Joty, “CodeEval: An Execution-based Large Scale Multilingual Multitask Benchmark for Code Understanding, Generation, Translation and Retrieval,” in Proc. 62nd Annu. Meeting Assoc. Comput. Linguistics (ACL), 2024, pp. 6766–6805, doi: 10.18653/v1/2024.acl-long.367.DOI
  6. [6]S. Zhao, Q. Zhang, and M. Lan, “LLM-powered database migration: A framework for knowledge graph system evolution,” Alexandria Eng. J., vol. 130, pp. 198–207, 2025, doi: 10.1016/j.aej.2025.08.014.DOI
  7. [7]O. Grynets, V. Lyashkevych, D. Baran, M. Orliansky, T. Zelnenyy, and M. Leshchynshyn, “Fine-tuned LLM-based Code Migration Framework,” arXiv:2512.13515, 2025, doi: 10.48550/arXiv.2512.13515.DOI
  8. [8]O. Grynets, D. Babarytskyi, and V. Lyashkevych, “Token Optimization Strategies for LLM-Based Oracle-to-PostgreSQL Migration,” arXiv:2605.28557, 2026, doi: 10.48550/arXiv.2605.28557.DOI
  9. [9]V. Y. Lyashkevych, “Evolution-aware specification-driven synthesis of intelligent monitoring systems by large language models,” Informatics and Mathematical Methods in Simulation, vol. 16, no. 3, pp. 424–432, 2026, doi: 10.15276/imms.v16.no3.424.DOI
  10. [10]N. Shinn, F. Cassano, E. Berman, A. Gopinath, K. Narasimhan, and S. Yao, “Reflexion: Language Agents with Verbal Reinforcement Learning,” in Proc. Adv. Neural Inf. Process. Syst. (NeurIPS), vol. 36, 2023, arXiv:2303.11366, doi: 10.48550/arXiv.2303.11366.
  11. [11]A. Madaan et al., “Self-Refine: Iterative Refinement with Self-Feedback,” in Proc. Adv. Neural Inf. Process. Syst. (NeurIPS), vol. 36, 2023, arXiv:2303.17651, doi: 10.48550/arXiv.2303.17651.arxiv.org/abs/2303.17651
  12. [12]X. Chen, M. Lin, N. Schärli, and D. Zhou, “Teaching Large Language Models to Self-Debug,” in Proc. Int. Conf. Learn. Represent. (ICLR), 2024, arXiv:2304.05128, doi: 10.48550/arXiv.2304.05128.DOI
  13. [13]K. Zhang et al., “Agent Learning via Early Experience,” in Proc. Int. Conf. Mach. Learn. (ICML), PMLR vol. 306, arXiv:2510.08558, doi: 10.48550/arXiv.2510.08558.DOI
  14. [14]O. Khattab et al., “DSPy: Compiling Declarative Language Model Calls into State-of-the-Art Pipelines,” in Proc. Int. Conf. Learn. Represent. (ICLR), 2024, arXiv:2310.03714, doi: 10.48550/arXiv.2310.03714.
  15. [15]V. Y. Lyashkevych, R. I. Makarchuk, and A. V. Nadieiev, “Використання ситуаційного підходу при побудові онтології предметної області «Інтелектуальні діагностування комп’ютерних засобів» [Use of a situation approach in building the ontology of the domain “Intelligent diagnostics of computer facilities”],” Visnyk Khmelnytskoho Natsionalnoho Universytetu, no. 5, pp. 152–158, 2013. [Online]. Available: https://journals.khnu.km.ua/vestnik/pdf/tech/2013_5/32.pdf
  16. [16]V. Lokazyuk, O. Olar, and V. Lyashkevych, “Software for Creating Knowledge Base of Intelligent Systems of Diagnosing Process,” in Advanced Computer Systems and Networks: Design and Application (ACSN), Lviv, 2009, pp. 140–145. [Online]. Available: https://www.researchgate.net/publication/412173302
  17. [17]H. Le, Y. Wang, A. D. Gotmare, S. Savaresе, and S. C. H. Hoi, “CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learning,” in Proc. Adv. Neural Inf. Process. Syst. (NeurIPS), vol. 35, 2022, arXiv:2207.01780, doi: 10.48550/arXiv.2207.01780.arxiv.org/abs/2207.01780
  18. [18]A. Ni et al., “LEVER: Learning to Verify Language-to-Code Generation with Execution,” in Proc. Int. Conf. Mach. Learn. (ICML), PMLR vol. 202, 2023, arXiv:2302.08468, doi: 10.48550/arXiv.2302.08468.DOI
  19. [19]R. Ravi, D. Bradshaw, S. Ruberto, G. Jahangirova, and V. Terragni, “LLMLOOP: Improving LLM-Generated Code and Tests Through Automated Iterative Feedback Loops,” in Proc. IEEE Int. Conf. Softw. Maint. Evol. (ICSME), 2025, pp. 930–934, doi: 10.1109/ICSME64153.2025.00109.DOI
  20. [20]A. Zhao, D. Huang, Q. Xu, M. Lin, Y.-J. Liu, and G. Huang, “ExpeL: LLM Agents from Experiential Learners,” in Proc. AAAI Conf. Artif. Intell., vol. 38, no. 17, 2024, pp. 19632–19642, doi: 10.1609/aaai.v38i17.29376.arxiv.org/abs/2308.10144
  21. [21]G. Wang et al., “Voyager: An Open-Ended Embodied Agent with Large Language Models,” Trans. Mach. Learn. Res., 2024, arXiv:2305.16291.arxiv.org/abs/2305.16291
  22. [22]Q. Zhang et al., “Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models,” in Proc. Int. Conf. Learn. Represent. (ICLR), 2026, arXiv:2510.04618.arxiv.org/abs/2510.04618
  23. [23]I. Bouzenia, P. Debnanu, and M. Pradel, “RepairAgent: An Autonomous LLM-Based Agent for Program Repair,” in Proc. IEEE/ACM 47th Int. Conf. Softw. Eng. (ICSE), 2025, pp. 2188–2200, doi: 10.1109/ICSE55347.2025.00157.DOI
  24. [24]S. Hong et al., “MetaGPT: Meta Programming for A Multi-Agent Collaborative Framework,” in Proc. Int. Conf. Learn. Represent. (ICLR), 2024, arXiv:2308.00352, doi: 10.48550/arXiv.2308.00352.DOI
  25. [25]F. Lin, D. J. Kim, and T. Chen, “SOEN-101: Code Generation by Emulating Software Process Models Using Large Language Model Agents,” in Proc. IEEE/ACM 47th Int. Conf. Softw. Eng. (ICSE), 2025, pp. 1527–1539, doi: 10.1109/ICSE55347.2025.00140.DOI
  26. [26]J. Liu, C. S. Xia, Y. Wang, and L. Zhang, “Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generation,” in Proc. Adv. Neural Inf. Process. Syst. (NeurIPS), vol. 36, 2023, arXiv:2305.01210, doi: 10.48550/arXiv.2305.01210.
  27. [27]N. Mündler, M. N. Müller, J. He, and M. Vechev, “SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents,” in Proc. Adv. Neural Inf. Process. Syst. (NeurIPS), vol. 37, 2024, arXiv:2406.12952, doi: 10.48550/arXiv.2406.12952.DOI
  28. [28]Y. Liu, C. T. Tanthimathavorn, Y. Liu, and L. Li, “On the Reliability and Explainability of Language Models for Program Generation,” ACM Trans. Softw. Eng. Methodol., vol. 33, no. 5, pp. 1–26, 2024, doi: 10.1145/3641540.DOI
  29. [29]S. Kapoor and A. Narayanan, “Leakage and the Reproducibility Crisis in Machine-Learning-Based Science,” Patterns, vol. 4, no. 9, Art. 100804, 2023, doi: 10.1016/j.patter.2023.100804.DOI
  30. [30]Y. Liu, D. Ityer, Y. Xu, S. Wang, R. Xu, and C. Zhu, “G-Eval: NLG Evaluation Using GPT-4 with Better Human Alignment,” in Proc. Conf. Empirical Methods Natural Lang. Process. (EMNLP), 2023, pp. 2511–2522, doi: 10.18653/v1/2023.emnlp-main.153.
  31. [31]O. Grynets, O. Kaskun, A. Seletska, D. T ukalo, and V. Lyashkevych, “A Hybrid Dependency-Aware Framework for Task Decomposition and Dynamic Agent Generation in Oracle-to-PostgreSQL Migration,” arXiv:2609.14413, 2026, doi: 10.48550/arXiv.2609.14413.DOI
  32. [32]M. Lyashkevych, V. Lyashkevych, and R. Shuvar, “Construction and Dataset-Driven Validation of the Metric-Based Model for Software Functional State Evaluation over a Development Life Cycle,” Eastern-European J. Enterprise Technol., vol. 5, no. 2(143), pp. 39–55, 2026, doi: 10.15587/1729-4061.2026.372225.DOI
  33. [33]Z. Tang et al., “Explain-then-translate: an analysis on improving program translation with self-generated explanations,” in Findings of the Assoc. Comput. Linguistics: EMNLP, 2023, pp. 1741–1788, doi: 10.18653/v1/2023.findings-emnlp.119.DOI
  34. [34]H. Jia, R. Morris, H. Ye, F. Sarro, and S. Meacthaev, “Automated Repair of Ambiguous Problem Descriptions for LLM-Based Code Generation,” in Proc. 40th IEEE/ACM Int. Conf. Autom. Softw. Eng. (ASE), 2025, pp. 367–379, doi: 10.1109/ASE63991.2025.00038.DOI
  35. [35]Y. Zhang, J. Li, K. Pei, Y. Huang, and K. Leach, “SynthFix: Adaptive Neuro-Symbolic Code Vulnerability Repair,” in Findings of the Assoc. Comput. Linguistics: ACL, 2026, pp. 26857–26870, doi: 10.18653/v1/2026.findings-acl.1339.DOI
  36. [36]V. Lyashkevych, “Self-Learning Monitoring Agents for Evolution-Aware Control of LLM-Mediated Software Systems,” presentation at the 11th Future Technologies Conference (FTC 2026), Berlin, Germany, Oct. 2026. [Online]. Available: https://www.researchgate.net/publication/416010254_Self-Learning_Monitoring_Agents_for_Evolution-Aware_Control_of_LLM-Mediated_Software_Systems.DOI

Paper details

vlnc:W_upv8kww3
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 9

downloads · 3

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

ChatGPT

View statement
Looking for related papers…
Contents