Inter
national
J
our
nal
of
Electrical
and
Computer
Engineering
(IJECE)
V
ol.
16,
No.
5,
October
2026,
pp.
2664
∼
2671
ISSN:
2088-8708,
DOI:
10.11591/ijece.v16i5.pp2664-2671
❒
2664
A
uditable
patch
v
alidity
f
or
lightweight
language-model
softwar
e
r
epair
Rishabh
Singh
Independent
Researcher
,
Seattle,
W
ashington,
United
States
Article
Inf
o
Article
history:
Recei
v
ed
Jun
11,
2026
Re
vised
Aug
12,
2026
Accepted
Aug
19,
2026
K
eyw
ords:
Artif
act
pro
v
enance
Automated
program
repair
Code
generation
Repository
v
alidation
Softw
are
quality
SWE-bench
Lite
ABSTRA
CT
T
erminal
resolv
e
rate
obscured
where
repository-le
v
el
language-model
patches
lost
utility
between
generation
and
e
x
ecution.
This
study
addressed
that
mea-
surement
g
ap
by
proposing
an
auditable
patch-v
alidity
frame
w
ork
whose
con-
ceptual
no
v
elty
w
as
to
represent
each
artif
act
as
monotonic
survi
v
al
through
six
e
vidence-link
ed
checkpoints:
non-empty
generation,
syntactic
v
alidity
,
reposi-
tory
applicability
,
harness
completion,
beha
vioral
resolution,
and
re
vie
w
readi-
ness.
The
rst
v
e
were
measured
from
archi
v
ed
generations,
normalization
records,
and
Dock
er
-harness
outcomes;
re
vie
w
readiness
remained
a
proposed
deplo
yment
check.
In
a
300-artif
ac
t
diagnostic
slice,
64
f
ailed
syntax,
77
f
ailed
applicability
,
151
reached
e
x
ecution
b
ut
remained
unresolv
ed,
and
8
resolv
ed.
Across
1,600
lar
ger
-run
art
if
acts,
776
(48.5%)
were
in
v
alid
or
inapplicable
and
22
resolv
ed.
Staged
prompting
impro
v
ed
completion
in
some
congurations,
b
ut
its
strongest
diagnostic
resolution
adv
antage,
4/50
v
ersus
1/50,
w
as
e
xploratory
(
p
=
0
.
25
)
and
re
v
ersed
at
lar
ger
scale.
By
con
v
erting
terminal
outcomes
into
syntactic,
repository-state,
and
semantic
f
ailure
tiers,
the
frame
w
ork
enabled
lo
w-cost
pre-e
x
ecution
ltering,
t
ar
geted
remediation,
and
auditable
continuous
inte
gration
(CI)
res
ource
allocation.
It
w
as
a
measurement
and
triage
instrument,
not
a
ne
w
repair
algorithm.
This
is
an
open
access
article
under
the
CC
BY
-SA
license
.
Corresponding
A
uthor:
Rishabh
Singh
Independent
Researcher
Seattle,
W
ashington,
United
States
Email:
rishabhsingh@gwu.edu
1.
INTR
ODUCTION
Ex
ecutable
function-le
v
el
benchmarks
est
ablished
test-based
e
v
aluation
for
language-model
code
gen-
eration
[1]-[4].
Repository-le
v
el
w
ork
then
added
codebase
conte
xt,
issue
descriptions,
multi-le
changes,
and
re
gression
tests
through
RepoBench
and
SWE-bench
[5],
[6].
These
settings
e
xposed
a
practical
g
ap
between
plausible
generated
te
xt
and
a
us
able
repository
patch.
A
response
can
be
non-empty
yet
contain
a
malformed
dif
f,
edit
a
none
xistent
path,
depend
on
stale
hunk
conte
xt,
re
v
erse
a
change
already
present
at
the
benchmark
commit,
or
apply
cleanly
without
correcting
beha
vior
.
Recent
systems
im
pro
v
ed
repository
localization,
tool
interaction,
and
iterati
v
e
repair
.
SWE-agent
studied
agent-computer
interf
aces,
Agentless
separated
l
ocalization
and
repair
,
OpenHands
pro
vided
a
gen-
eral
softw
are-agent
platform,
and
RepairAgent
combined
autonomous
planning
with
repair
tools
[7]-[10].
Repository-a
w
are
conte
xt
e
xtraction,
retrie
v
al-augmented
repair
,
and
defect-a
w
are
staging
also
impro
v
ed
patch
generation
[11]-[13].
Li
v
e
e
v
aluation,
synt
h
e
tic
training
tasks,
feature
implementation,
and
security-sensiti
v
e
completion
broadened
repository-le
v
el
assessment
[14]-[17].
W
ork
on
compact
code
models
[18],
[19],
e
vidence-
J
ournal
homepage:
http://ijece
.iaescor
e
.com
Evaluation Warning : The document was created with Spire.PDF for Python.
Int
J
Elec
&
Comp
Eng
ISSN:
2088-8708
❒
2665
grounded
b
ug
de
tection
[20],
softw
are-lifec
ycle
use
[21],
and
prompt-orchestrated
testing
[22]
lik
e
wise
empha-
sized
reliability
.
Ho
we
v
er
,
terminal
resolv
e
rate
still
compressed
structurally
dif
ferent
f
ailures
into
one
number
.
This
paper
addressed
that
measurement
g
ap.
Its
concept
ual
no
v
elty
w
as
a
monotonic
e
vidence
model
that
link
ed
each
patch
to
generation,
normalization,
appl
ication
at
the
e
xact
check
out,
harness
e
x
ecution,
beha
v-
ioral
resolution,
and
prospecti
v
e
re
vie
w
.
F
ailure
w
as
therefore
attrib
uted
at
the
earliest
unsupported
transition.
The
resulting
instrumentation
layer
w
as
not
a
competing
repair
algorithm.
It
se
parated
syntactic
f
ailures
that
could
be
rejected
before
check
out,
repository-state
f
ailures
that
required
path
or
hunk
alignment,
and
seman-
tic
f
ailures
that
reached
e
x
ecution
b
ut
did
not
resolv
e
the
issue.
Fi
v
e
checkpoints
were
observ
able
from
the
archi
v
ed
e
xperiment.
Repository
applicability
and
harness
completion
remained
conceptually
distinct
although
the
y
coincided
numerically
in
the
a
v
ailable
summaries;
re
vie
w
readiness
w
as
e
xplicitly
proposed
rather
than
inferred.
Operationally
,
the
frame
w
ork
serv
ed
as
computing-systems
e
v
aluation
infrastructure
for
engineering
pipelines
that
deplo
y
language
models
to
generate,
v
alidate,
and
route
repository
changes.
The
distinction
from
pri
or
e
v
aluation
w
as
operational.
Code-generation
benchmarks
tested
nal
func-
tional
beha
vior
,
and
repair
agents
optimized
ho
w
a
patch
w
as
produced.
The
proposed
frame
w
ork
treated
artif
act
lineage
as
the
object
of
measurement.
It
could
be
applied
after
inference
to
dif
ferent
agents
without
changing
their
search
procedure,
and
it
e
xposed
losses
that
a
terminal
success
count
could
not
attrib
ute.
The
frame
w
ork
w
as
instantia
ted
on
SWE-bench
Lite
us
ing
direct
and
staged
prompting
with
Ope-
nAI
gpt-4o-mini,
Qwen2.5-Coder
-7B-Instruct,
and
Qwen2.5-Coder
-32B-Instruct-A
WQ.
A
x
ed
50-instance
slice
supported
artif
act
inspecti
on,
and
lar
ger
runs
tested
whether
diagnostic
patterns
persisted.
Across
1,600
lar
ger
-run
artif
acts,
776
(48.5%)
were
in
v
alid
or
f
ailed
a
p
pl
icability
before
beha
vioral
resolution,
and
only
22
resolv
ed.
The
resulting
e
vidence
made
three
no
v
el
contrib
utions:
i)
a
formal,
auditable
checkpoint
model;
ii)
paired
e
vidence
sho
wing
t
hat
impro
v
ed
e
x
ecutability
did
not
necessarily
imply
impro
v
ed
resolution;
and
iii)
a
reproducible
three-tier
tria
ge
taxonomy
tied
to
specic
engineering
responses.
As
a
common
audit
con-
tract,
these
contrib
utions
could
support
cross-system
comparison,
intercept
cheaply
detectable
f
ailures
before
e
xpensi
v
e
continuous
inte
gration
(CI),
and
route
survi
ving
artif
acts
to
the
appropriate
engineering
interv
ention.
2.
P
A
TCH-V
ALIDITY
FRAMEW
ORK
F
or
artif
act
i
,
let
s
i,k
∈
{
0
,
1
}
indicate
survi
v
al
through
checkpoint
k
.
The
ordered
construction
required
s
i,k
+1
≤
s
i,k
,
k
=
1
,
.
.
.
,
5
,
(1)
so
an
artif
act
could
not
pass
a
later
checkpoint
after
f
ailing
an
earlier
one.
Checkpoint
attrition
w
as
A
k
=
X
i
(
s
i,k
−
s
i,k
+1
)
.
(2)
This
simple
in
v
ariant
pre
v
ented
later
outcomes
from
concealing
earlier
f
ailures
and
made
all
reported
counts
mechanically
auditable.
T
able
1
denes
the
six
checkpoints.
Non-empty
generation
and
dif
f
syntax
were
a
v
ailable
from
ra
w
and
normalized
outputs.
Repository
applicability
required
tar
get-path
alignment
and
a
successful
patch
ap-
plication
ag
ainst
the
e
xact
base
commit.
Harness
completion
recorded
whether
tests
e
x
ecuted,
while
beha
v-
ioral
resolution
w
as
the
of
cial
SWE-bench
result.
Re
v
i
e
w
readiness
co
v
ered
maintainability
,
re
gression,
and
security
assessment;
it
w
as
not
automatically
assigned.
ISO/IEC
25010:2023
supplied
a
supporting
quality
interpretation,
not
the
frame
w
ork
itself
[23].
T
able
1.
Ordered
checkpoints,
e
vidence,
and
primary
response
Checkpoint
Recorded
e
vidence
Primary
response
to
f
ailure
Non-empty
generation
Ra
w
output
contains
a
candidate
patch
Constrain
output
or
retry
Syntactic
v
alidity
Unied
dif
f
parses
or
is
transparently
repairable
V
alidate
before
check
out
Repository
applicability
P
aths
e
xist
and
patch
applies
at
the
base
commit
Refresh
conte
xt
or
rebase
hunks
Harness
completion
Ev
aluator
reaches
task-specic
test
e
x
ecution
Diagnose
en
vironment
or
e
x
ecution
Beha
vioral
resolution
Of
cial
tests
mark
the
issue
x
ed
Iterate
on
beha
vior
and
tests
Re
vie
w
readiness
Human
re
vie
w
,
re
gression,
maintainability
,
and
security
checks
Re
vise,
appro
v
e,
or
reject
The
ordering
did
not
assume
statistical
independence;
adjacent
survi
v
al
indicators
were
dependent
by
construction.
Empirical
separability
instead
meant
observing
the
conditional
transition
between
tw
o
g
ates.
A
uditable
patc
h
validity
for
lightweight
langua
g
e-model
...
(Rishabh
Singh)
Evaluation Warning : The document was created with Spire.PDF for Python.
2666
❒
ISSN:
2088-8708
A
patch
that
passed
git
apply
--check
b
ut
then
f
ailed
container
startup,
dependenc
y
install
ation,
test
disco
v
ery
or
in
v
ocation,
or
timed
out
before
task-specic
e
x
ecution
w
ould
ha
v
e
s
i,
3
=
1
and
s
i,
4
=
0
and
w
ould
contrib
ute
to
A
3
.
It
w
ould
be
classied
as
harness
attrition,
not
repository-state
misalignment
or
semantic
insuf
cienc
y
,
because
no
beha
vioral
result
w
as
produced.
The
present
summaries
contained
no
observ
ed
s
i,
3
=
1
,
s
i,
4
=
0
cases,
so
A
3
=
0
in
this
dataset;
this
equality
did
not
mak
e
the
checkpoints
conceptually
equi
v
alent.
Future
runs
should
preserv
e
separate
application,
en
vironment-startup,
test-in
v
ocation,
and
completion
statuses.
3.
METHOD
3.1.
Resear
ch
questions
and
experimental
design
The
study
ask
ed:
RQ1:
Ho
w
much
repair
utility
w
as
lost
at
each
checkpoint?
RQ2:
Which
syntactic,
repository-state,
and
semantic
f
ailures
e
xplained
the
losses?
RQ3:
Whether
direct-v
ersus-staged
patterns
from
the
diagnostic
slice
persisted
in
lar
ger
runs?
Each
SWE-bench
Lite
instance
be
g
an
at
the
benchmark
base
commit.
A
deterministic
conte
xt
b
uilder
rank
ed
te
xt
les
by
o
v
erlap
between
problem-statement
tok
ens
and
path
or
content
tok
ens,
retained
at
most
18
les,
truncated
each
le
at
12,000
characters,
and
capped
combined
conte
xt
at
90,000
characters.
Direct
mode
issued
one
patch-generation
request.
Staged
mode
rst
r
equested
one
to
v
e
candidate
paths
in
strict
JSON
and
then
generated
a
patch
with
those
les
prioritized.
Both
modes
required
unied
diff
--git
output.
The
diagnostic
study
used
the
same
x
ed
50
tasks
for
all
six
back
end-mode
congurations.
The
e
xtension
e
v
aluated
all
300
Lite
tasks
for
gpt-4o-mini
and
Qwen
32B
A
WQ,
and
a
deterministic
200-task
le
xicographic
subset
for
Qwen
7B.
Thus,
the
lar
ger
study
contained
1,600
artif
acts:
tw
o
300-task
modes
for
each
of
tw
o
back
ends
and
tw
o
200-task
modes
for
Qwen
7B.
The
Qwen
models
ran
without
ne-tuning;
the
32B
deplo
yment
used
4-bit
A
WQ
quantization.
Earlier
50-task
predictions
remained
immutable
seed
data
and
e
xtension
scripts
skipped
e
xisting
instance
identiers.
3.2.
Artifact
pipeline
and
analysis
F
our
representations
were
archi
v
ed
separately:
literal
ra
w
generation,
normalized
SWE-bench
JSONL,
a
repair
-normalized
dif
f
when
transparent
correction
w
as
possible,
and
the
artif
act
e
v
aluated
by
the
Dock
er
harness.
Missing
dif
f
headers
and
irreparable
outputs
remained
f
ailures
rather
than
disappearing
from
denom-
inators.
Sidecar
records
included
instance,
back
end,
mode,
tok
en
counts,
elapsed
time,
non-emptiness,
header
status,
and
reco
v
erable
errors.
The
replication
package
also
contained
an
e
x
ecutable
command-line
auditor
.
F
or
each
prediction
it
recorded
non-emptiness,
parsed
dif
f
structure,
t
ar
get
paths,
optional
path
e
xistence,
optional
applicability
ag
ainst
a
supplied
check
out,
harness
completion,
resolution,
and
a
conserv
ati
v
e
f
ailure
tier
.
A
xture
suite
co
v
ered
empty
output,
malformed
dif
f,
wrong
p
a
th,
stale
hunk,
applicable-b
ut-unresolv
ed,
and
resolv
ed
cases.
The
auditor
ne
v
er
inferred
re
vie
w
readiness,
and
a
replay
script
reproduced
the
1,600-artif
act
headline
from
frozen
summaries.
Mechanical
outcomes
came
directly
from
parser
,
application,
and
harness
logs.
Fine-grained
appli-
cation
f
ailures
were
descripti
v
ely
grouped
as
malformed
or
truncated
dif
f,
stale
hunk,
wrong
or
missing
path,
and
re
v
ersed
or
already-applied
edit.
These
labels
were
then
mapped
to
the
three
f
ailure
tiers
in
T
able
2.
Be-
cause
one
author
performed
the
primary
descripti
v
e
grouping,
a
blinded
60-item
sensiti
vity
check
used
tw
o
separately
e
x
ecuted
automated
coding
agents
and
the
x
ed
coding
guide.
Both
agents
could
share
model
or
guide-induced
biases;
their
agreement
measured
coding-guide
repeatability
under
those
agents,
not
cate
gory
truth
or
independent
human
inter
-rater
v
alidity
.
T
able
2.
Artif
act-grounded
diagnostic
tiers
aggre
g
ated
o
v
er
six
congurations
Outcome
tier
Included
primary
labels
Count
Percent
T
riage
Syntactic
in
v
alidity
Malformed
or
truncated
dif
f
64
21.3%
P
arse,
repair
transparently
,
or
re
generate
Repository-state
misalignment
Stale
hunk,
wrong
path,
re
v
ersed
edit
77
25.7%
Refresh
check
out
conte
xt
and
rebase
Semantic
insuf
cienc
y
Applies
b
ut
remains
unresolv
ed
151
50.3%
Run
tar
geted
tests
and
iterate
Beha
viorally
resolv
ed
Of
cial
e
v
aluator
reports
resolv
ed
8
2.7%
Continue
to
re
vie
w-readiness
checks
P
aired
direct-v
ersus-staged
resolution
outcomes
were
analyzed
with
the
e
xact
McNemar
test
because
each
mode
used
the
same
tasks
[24].
All
tests
were
tw
o-sided
and
e
xploratory
.
Public
SWE-bench
summaries
Int
J
Elec
&
Comp
Eng,
V
ol.
16,
No.
5,
October
2026:
2664-2671
Evaluation Warning : The document was created with Spire.PDF for Python.
Int
J
Elec
&
Comp
Eng
ISSN:
2088-8708
❒
2667
were
re-ingested
only
to
check
top-le
v
el
v
ocab
ulary
compatibility
,
not
as
protocol-matched
patch-le
v
el
replica-
tions.
4.
RESUL
TS
AND
DISCUSSION
4.1.
Diagnostic
checkpoint
attrition
T
able
3
and
Figure
1
answer
RQ1
for
the
50-task
slice.
Ev
ery
conguration
returned
50
non-empty
artif
acts,
b
ut
survi
v
al
di
v
er
ged
at
syntax
and
applicability
.
Staging
increased
completion
from
23
to
29
for
gpt-
4o-mini
and
from
29
to
33
for
Qwen
7B.
F
or
Qwen
32B
A
WQ,
it
changed
completion
only
from
22
to
23.
The
strongest
terminal
dif
ference
w
as
1/50
direct
v
ersus
4/50
staged
for
Qwen
32B
A
WQ.
Its
paired
table
contained
three
staged-only
successes
and
no
direct-only
success,
b
ut
the
e
xact
result
remained
e
xploratory
(
p
=
0
.
25
).
T
able
3.
Cumulati
v
e
diagnostic-slice
checkpoint
counts
(50
tasks
per
ro
w)
Back
end
Mode
Non-empty
Syntax-v
alid
Completed
Resolv
ed
gpt-4o-mini
Direct
50
31
23
0
gpt-4o-mini
Staged
50
37
29
1
Qwen
7B
Direct
50
42
29
1
Qwen
7B
Staged
50
42
33
1
Qwen
32B
A
WQ
Direct
50
44
22
1
Qwen
32B
A
WQ
Staged
50
40
23
4
Figure
1.
Cumulati
v
e
survi
v
al
through
the
measured
checkpoints
in
the
50-instance
diagnostic
slice.
Applicability
and
harness
completion
coincided
in
the
a
v
ailable
summaries;
re
vie
w
readiness
w
as
proposed
and
therefore
not
plotted
Aggre
g
ating
the
300
diagnostic
artif
acts
claried
the
engineering
interpretation
as
sho
wn
in
T
able
2.
Sixty-four
artif
acts
(21.3%)
f
ailed
syntactically
and
77
(25.7%)
survi
v
ed
syntax
b
ut
f
ailed
repository
applica-
bility
.
Of
the
159
that
reached
e
x
ecution,
151
remained
unresolv
ed.
These
tiers
required
dif
ferent
interv
entions:
parser
checks,
check
out-a
w
are
conte
xt
and
rebasing,
or
beha
vioral
iteration.
The
decomposition
therefore
pro-
vided
information
una
v
ailable
from
the
eight
terminal
successes
alone.
Artif
act
inspection
illustrated
wh
y
the
boundary
mattered.
Some
outputs
ended
mid-hunk
or
com-
bined
prose
with
an
incomplete
dif
f
and
could
be
rejected
without
cloning
a
repository
.
Other
patches
were
structurally
v
alid
b
ut
tar
geted
absent
paths,
searched
for
stale
conte
xt,
or
re
v
ersed
changes
already
present
at
the
pinned
commit;
additional
prom
pting
without
refreshed
repository
state
w
ould
not
address
those
f
ailures.
A
third
group
applied
and
e
x
ecuted
yet
changed
only
part
of
the
required
beha
vior
or
missed
re
gressions.
These
locally
plausible
patches
consumed
the
most
v
alidation
ef
fort
because
syntax
and
applicability
alone
could
not
distinguish
them
from
successful
repairs.
4.2.
Lar
ger
e
v
aluation
and
pr
ompting-mode
stability
T
able
4
answers
RQ3.
The
apparent
Qwen
32B
staged
adv
antage
did
not
persist:
the
300-task
re
sult
w
as
8
direct
v
ersus
6
staged
resolutions.
gpt-4o-mini
resolv
ed
3
direct
v
ersus
1
staged,
while
Qwen
7B
resolv
ed
2
in
each
mode.
Exact
paired
p
v
alues
were
0.625,
0.727,
and
1.000,
respecti
v
ely
.
Staging
ne
v
ertheless
raised
A
uditable
patc
h
validity
for
lightweight
langua
g
e-model
...
(Rishabh
Singh)
Evaluation Warning : The document was created with Spire.PDF for Python.
2668
❒
ISSN:
2088-8708
Qwen
7B
completion
from
91
to
114.
This
separation
between
e
x
ecutability
and
resolution
w
as
precisely
the
beha
vior
the
checkpoint
frame
w
ork
w
as
designed
to
e
xpose.
T
able
4.
Lar
ger
SWE-bench
Lite
e
v
aluation
Back
end
Mode
T
asks
Completed
In
v
alid/apply
Unresolv
ed
Resolv
ed
gpt-4o-mini
Direct
300
151
149
148
3
gpt-4o-mini
Staged
300
157
143
156
1
Qwen
32B
A
WQ
Direct
300
155
145
147
8
Qwen
32B
A
WQ
Staged
300
156
144
150
6
Qwen
7B
Di
rect
200
91
109
89
2
Qwen
7B
Staged
200
114
86
112
2
Across
all
lar
ger
ro
ws,
776
of
1,600
artif
acts
(48.5%)
were
in
v
alid
or
f
ailed
applicability
,
with
per
-
conguration
rates
from
43.0%
to
54.5%.
Another
802
applied
b
ut
remained
unresolv
ed,
and
22
resolv
ed.
The
Qwen
32B
re
v
ersal
required
caution
because
the
earlier
50
tasks
were
immutable
seeds:
that
subset
f
a
v
ored
staging
4
to
1,
whereas
the
250
e
x
t
ension-only
tasks
f
a
v
ored
direct
mode
7
to
2.
The
Qwen
7B
e
xtension
w
as
also
a
deterministic
subset
rather
than
a
ra
nd
om
sample.
These
design
f
acts
pre
v
ented
a
causal
claim
that
one
prompt
mode
w
as
superior
.
The
model-assisted
recoding
sensiti
vity
check
produced
93.3%
primary-label
agreement
(Cohen’
s
κ
=
0
.
90
)
and
93.3%
tier
agreement
(
κ
=
0
.
89
).
All
four
disagreements
concerned
the
boundary
between
malformed
or
truncated
dif
fs
and
stale
hunks,
and
all
high-condence
items
agreed.
These
v
alues
supported
repeatability
under
the
x
ed
guide
and
selected
coding
agents
only;
the
y
neither
v
alidated
the
taxonomy
inde-
pendently
nor
replaced
human
agreement
assessment.
4.3.
Operational
implications
The
e
vidence
answered
RQ2
by
localizing
three
interv
ention
points.
Syntactic
f
ailures
could
be
l-
tered
before
repository
check
out.
Repository-state
f
ailures
called
for
e
xact-commit
path
checks,
refreshed
re-
trie
v
al,
or
hunk
rebasing.
Applied-b
ut-unresolv
ed
patches
required
test-guided
iteration
rather
than
formatting
repair
.
A
deplo
yment
pipeline
should
therefore
archi
v
e
ra
w
and
normalized
artif
acts,
v
alidate
dif
f
structure,
run
git
apply
--check
ag
ainst
the
pinned
commit,
record
harness
completion
separately
,
and
reserv
e
human
re
vie
w
for
artif
acts
that
survi
v
e
beha
vioral
v
alidation.
This
ordering
also
supported
resource
allocation.
P
arsing
and
applicability
checks
were
ine
xpensi
v
e
and
deterministic,
while
container
e
x
ecution
and
human
re
vie
w
were
comparati
v
ely
costly
.
Reporting
survi
v
al
counts
therefore
described
both
research
performance
and
lik
ely
operational
load.
A
system
with
unchanged
resolv
e
rate
b
ut
fe
wer
malformed
or
stale
patches
could
s
till
reduce
w
asted
CI
capacity;
a
system
that
applied
reliably
b
ut
f
ailed
beha
viorally
needed
better
testing
or
repair
reasoning
instead
of
another
format
normalizer
.
Public
RA
G
+
Claude
2
and
SWE-agent
+
GPT
-4
summaries
could
be
represented
using
the
same
top-le
v
el
v
ocab
ulary
[25],
[26].
This
established
reporting
compatibility
only;
public
summaries
lack
ed
the
protocol-matched
artif
act
e
vidence
needed
to
estimate
e
v
ery
intermediate
checkpoint.
The
frame
w
ork
w
as
consequently
a
companion
to
resolv
e
rate,
not
a
replacement
for
it.
Its
v
alue
w
as
greatest
when
terminal
successes
were
sparse:
systems
with
the
same
solv
e
count
could
impose
v
ery
dif
ferent
parser
,
check
out,
and
CI
costs.
5.
THREA
TS
T
O
V
ALIDITY
5.1.
Inter
nal
v
alidity
Fix
ed
prompts
and
a
deliberately
lightweight
retrie
v
er
limited
performance
b
ut
made
attrition
repro-
ducible.
Earlier
predictions
were
retained
unchanged,
and
all
empty
or
in
v
alid
artif
acts
remained
in
denomina-
tors.
Fine-grained
labels
were
single-author
descripti
v
e
coding.
Automated
recoding
tested
repeatability
under
a
shared
guide,
could
inherit
common
model
biases,
and
w
as
not
independent
human
v
alidation.
5.2.
Construct
v
alidity
Harness
completion
w
as
not
successful
repair
,
and
benchmark
resolution
w
as
not
deplo
yment
readi-
ness.
Separating
ra
w
,
normalized,
repair
-normalized,
and
e
v
aluated
artif
acts
made
preprocessing
visible.
Appli-
cability
and
completion
coincided
in
the
archi
v
ed
summaries.
Their
observ
ed
transition
attrition
w
as
therefore
zero,
b
ut
the
data
could
not
characterize
applicable
patches
that
f
ailed
during
en
vironment
or
test
e
x
ecution.
Int
J
Elec
&
Comp
Eng,
V
ol.
16,
No.
5,
October
2026:
2664-2671
Evaluation Warning : The document was created with Spire.PDF for Python.
Int
J
Elec
&
Comp
Eng
ISSN:
2088-8708
❒
2669
5.3.
Exter
nal
v
alidity
Results
co
v
ered
SWE-bench
Lite,
three
accessible
back
end
congurations,
and
tw
o
prompt
modes.
Repository-state
misalignment
rates
were
conditional
on
the
x
ed
18-le,
12,000-character
-per
-le,
and
90,000-
character
conte
xt
limits.
The
32B
result
characterized
an
A
WQ-quantized
deplo
yment,
and
Qwen
7B
used
a
200-task
deterministic
subset.
Stronger
models,
richer
retrie
v
al,
other
languages,
security
re
vie
w
,
and
human-
in-the-loop
w
orko
ws
may
change
the
distrib
ution.
5.4.
Conclusion
v
alidity
Resolv
ed
cases
and
discordant
pairs
were
sparse.
Exact
McNemar
results
were
descripti
v
e
and
un-
derpo
wered,
not
e
vidence
of
equi
v
alence.
The
study’
s
supported
claim
w
as
checkpoint-le
v
el
localization
of
f
ailure,
not
prompting-mode
superiority
.
6.
CONCLUSION
This
study
treated
repository-le
v
el
language-model
repair
as
an
auditable
attrition
process.
The
pro-
posed
frame
w
ork
separated
non-empty
generation,
syntax,
repository
applicability
,
harnes
s
c
o
m
pletion,
be-
ha
vioral
resolution,
and
re
vie
w
readiness.
Applied
to
SWE-bench
Lite,
it
sho
wed
that
776
of
1,600
lar
ger
-
run
artif
acts
f
ailed
before
beha
vioral
e
v
aluation
and
that
most
applicable
patches
still
remained
unresolv
ed.
Staged
prompting
sometimes
im
p
r
o
v
ed
e
x
ecutability
,
b
ut
those
g
ains
did
not
reli
ably
become
resolv
ed
issues
at
scale.
The
artif
act-grounded
f
ailures
reduced
to
three
actionable
tiers:
syntactic
in
v
alidity
,
repository-state
misalignment,
and
semantic
insuf
cienc
y
.
Reporting
these
checkpoints
with
resolv
e
rate
made
ne
g
ati
v
e
results
diagnostically
useful
and
supplied
a
conserv
ati
v
e
triage
procedure
for
CI
and
re
vie
w
.
W
ith
separate
applica-
tion
and
e
x
ecution
logging,
the
frame
w
ork
could
impro
v
e
cross-system
comparability
and
reduce
a
v
oidable
v
alidation
cost
e
v
en
before
terminal
solv
e
rates
changed.
Future
w
ork
should
use
independent
human
coders,
e
v
aluate
stronger
agents
and
additional
languages,
and
v
alidate
re
vie
w
readiness
with
maintainability
,
security
,
and
re
gression
assessment.
A
CKNO
WLEDGMENTS
OpenAI
ChatGPT
(GPT
-5,
for
the
current
manuscript
re
vision),
OpenAI
Code
x
(GPT
-5-based),
and
Anthropic
Claude
Code
(service
v
ersion
a
v
ailable
in
June
2026)
were
used
for
language
editing,
or
g
anization,
LaT
eX
and
code-support
tasks,
and
the
disclosed
automated
recoding
sensiti
vity
analysis.
The
y
did
not
recei
v
e
authorship
credit.
The
author
re
vie
wed
the
outputs
and
v
eried
the
manuscript,
calculations,
citations,
and
conclusions.
FUNDING
INFORMA
TION
This
research
recei
v
ed
no
e
xternal
funding
and
w
as
not
supported
by
an
y
research
grant
or
c
o
nt
ract.
The
author
states
that
no
funding
w
as
in
v
olv
ed.
A
UTHOR
CONTRIB
UTIONS
ST
A
TEMENT
This
journal
uses
the
Contri
b
ut
or
Roles
T
axonomy
(CRediT)
to
recognize
indi
vidual
author
contrib
u-
tions,
reduce
authorship
disputes,
and
f
acilitate
collaboration.
Name
of
A
uthor
C
M
So
V
a
F
o
I
R
D
O
E
V
i
Su
P
Fu
Rishabh
Singh
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
C
:
C
onceptualization
I
:
I
n
v
estig
ation
V
i
:
V
i
sualization
M
:
M
ethodology
R
:
R
esources
Su
:
Su
pervision
So
:
So
ftw
are
D
:
D
ata
Curation
P
:
P
roject
Administration
V
a
:
V
a
lidation
O
:
Writing
-
O
riginal
Draft
Fu
:
Fu
nding
Acquisition
F
o
:
F
o
rmal
Analysis
E
:
Writing
-
Re
vie
w
&
E
diting
A
uditable
patc
h
validity
for
lightweight
langua
g
e-model
...
(Rishabh
Singh)
Evaluation Warning : The document was created with Spire.PDF for Python.
2670
❒
ISSN:
2088-8708
CONFLICT
OF
INTEREST
ST
A
TEMENT
The
author
declares
no
kno
wn
competing
nancial
interests,
personal
relationships,
or
other
conicts
of
interest
that
could
ha
v
e
appeared
to
inuence
the
w
ork
reported
in
this
paper
.
D
A
T
A
A
V
AILABILITY
The
data
that
support
the
ndings
of
this
study
,
including
scripts,
prompts,
predictions,
e
v
aluation
sum-
maries,
and
audit
artif
acts,
are
openly
a
v
ailable
in
Zenodo
at
doi:10.5281/zenodo.20321563,
record
20321563.
The
associated
source
code
is
a
v
ailable
in
the
public
GitHub
repository.
The
archi
v
e
also
preserv
es
earlier
manuscript
snapshots
and
a
separate
function-le
v
el
pilot;
neither
is
analyzed
in
the
present
study
.
REFERENCES
[1]
M
.
Chen
et
al.
,
“Ev
aluating
lar
ge
language
models
trained
on
code,
”
arXi
v
preprint
arXi
v:2107.03374
,
2021.
[2]
J
.
Austin
et
al.
,
“Program
synthesis
with
lar
ge
language
models,
”
arXi
v
preprint
arXi
v:2108.07732
,
2021.
[3]
Y
.
Lai
et
al.
,
“DS-1000:
A
natural
and
reliable
benchmark
for
data
science
code
generation,
”
in
ICML
’23:
Proceedings
of
the
40th
International
Conference
on
Machine
Learning
,
2023,
pp.
18319–18345,
doi:
10.5555/3618408.3619164.
[4]
J
.
Liu,
C.
S.
Xia,
Y
.
W
ang,
and
L.
Zhang,
“Is
your
code
generated
by
ChatGPT
really
correct?
Rigorous
e
v
aluation
of
lar
ge
language
models
for
code
generation,
”
in
NIPS
’23:
Proceedings
of
the
37th
International
Conference
on
Neural
Information
Processing
Systems
,
v
ol.
36,
2023,
doi:
doi/10.5555/3666122.3667065
[5]
T
.
Liu,
C.
Xu,
and
J.
McAule
y
,
“RepoBench:
Benchmarking
repository-le
v
el
code
auto-completion
systems,
”
in
International
Conference
on
Learning
Representations
,
pp.
1-19,
2024.
[6]
C.
E.
Jimenez
et
al.
,
“SWE-bench:
Can
language
models
resolv
e
real-w
orld
GitHub
issues?”
in
International
Conference
on
Learning
Representations
,
2024,
pp.
54107-54157.
[7]
J.
Y
ang
et
al.
,
“SWE-agent:
Agent-computer
interf
aces
enable
automated
softw
are
engineering,
”
in
Adv
ances
in
Neural
Information
Processing
Systems
,
v
ol.
37,
2024,
pp.
50528-50652.
[8]
C.
S.
Xia,
Y
.
Deng,
S.
Dunn,
and
L.
Zhang,
“Demystifying
LLM-based
softw
are
engineering
agents,
”
in
Proceedings
of
the
A
CM
on
Softw
are
Engineering
,
v
ol.
2,
2025,
pp.
801-824,
doi:
10.1145/3715754.
[9]
X.
W
ang
et
al.
,
“OpenHands:
An
open
platform
for
AI
softw
are
de
v
elopers
as
generalist
age
nts,
”
in
The
Thirteenth
International
Conference
on
Learning
Representations
,
2025.
[10]
I.
Bouzenia,
P
.
De
v
anb
u,
and
M.
Pradel,
“RepairAgent:
An
autonomous,
LLM-based
agent
for
program
repair
,
”
in
ICSE
’25:
Proceedings
of
the
IEEE/A
CM
47th
International
Conference
on
Softw
are
Engineering
,
2025,
pp.
2188–2200,
doi:
10.1109/ICSE55347.2025.00157.
[11]
Y
.
Chen
et
al.
,
“When
lar
ge
language
models
confront
repository-le
v
el
automatic
program
repair:
Ho
w
well
the
y
done?”
arXi
v
preprint
arXi
v:2403.00448
,
2024.
[12]
Z.
Li
u,
X.
Du,
and
H.
Liu,
“ReAPR:
Automatic
program
repair
via
retrie
v
al-augmented
lar
ge
language
models,
”
Softw
are
Quality
Journal
,
v
ol.
33,
2025,
doi:
10.1007/s11219-025-09728-1.
[13]
R.
Zhang,
S.
Zhang,
and
L.
Xie,
“T
o
w
ards
defect-type-a
w
are
adapti
v
e
program
repair:
A
stage-wise
approach
with
lar
ge
language
models,
”
Softw
are
Quality
Journal
,
v
ol.
34,
2026,
doi:
10.1007/s11219-026-09751-w
.
[14]
L.
Zhang
et
al.
,
“SWE-bench
goes
li
v
e,
”
arXi
v
preprint
arXi
v:2505.23419
,
2025.
[15]
J.
Y
ang
et
al.
,
“SWE-smith:
Scaling
data
for
softw
are
engineering
agents,
”
in
Adv
ances
in
Neural
Information
Processing
Systems
,
v
ol.
38,
2025,
doi:
10.52202/085713-3239.
[16]
W
.
Li
et
al.
,
“FEA-Bench:
A
benchmark
for
e
v
aluating
repository-le
v
el
code
generation
for
feature
implementation,
”
arXi
v
preprint
arXi
v:2503.06680
,
2025.
[17]
C.
Shen
et
al.
,
“SecRepoBench:
Benchmarking
code
agents
for
secure
code
completion
in
real-w
orld
repositories,
”
arXi
v
preprint
arXi
v:2504.21205
,
2025.
[18]
V
.-V
.
Nguyen,
T
.-V
.
Nguyen,
H.-K.
Nguyen,
and
D.-Q.
V
u,
“P
arameter
-ef
cient
ne-tuning
of
small
language
models
for
code
gen-
eration:
A
comparati
v
e
study
of
Gemma,
Qwen
2.5
and
Llama
3.2,
”
International
Journal
of
Electrical
and
Computer
Engineering
(IJECE)
,
v
ol.
16,
no.
1,
pp.
278–287,
2026,
doi:
10.11591/ijece.v16i1.pp278-287.
[19]
B.
Hui
et
al.
,
“Qwen2.5-Coder
technical
report,
”
arXi
v
preprint
arXi
v:2409.12186
,
2024.
[20]
C.
W
ang,
W
.
Zhang,
Z.
Su,
X.
Xu,
and
X.
Zhang,
“Sanitizing
lar
ge
language
models
in
b
ug
detection
with
data-o
w
,
”
in
Findings
of
the
Association
for
Computational
Linguistics:
EMNLP
2024,
2024
,
2024,
pp.
3790–3805,
doi:
10.18653/v1/2024.ndings-
emnlp.217.
[21]
J.
S.
Bhalla
and
M.
K.
Jodhka,
“Le
v
eraging
lar
ge
language
models
in
the
softw
are
de
v
elopment
lifec
ycle:
Opportuni-
ties
and
challenges,
”
International
Journal
of
Adv
anced
Computer
Science
and
Applications
,
v
ol.
16,
no.
11,
2025,
doi:
10.14569/IJ
A
CSA.2025.0161105.
[22]
A.
A.
F
.
Antonio,
A.
Barrientos
P
adilla,
and
R.
G.
Siancas
Gar
ay
,
“Engineering
prompt-orchestrated
LLM
w
orko
ws
for
automated
test
case
generation
i
n
agile
en
vironments
,
”
International
Journal
of
Adv
anced
Computer
Science
&
Appl
ications
,
v
ol.
16,
no.
12,
2025,
doi:
10.14569/IJ
A
CSA.2025.0161272.
[23]
ISO/IEC,
ISO/IEC
25010:2023
systems
and
softw
are
engineering–systems
and
softw
are
quality
requirements
and
e
v
aluation
(SQuaRE)–product
quality
model
.
Gene
v
a,
Switzerland:
ISO,
2023.
[24]
M.
W
.
F
agerland,
S.
L
ydersen,
and
P
.
Laak
e,
“The
McNemar
test
for
binary
matched-pairs
data:
Mid-
p
and
asymptotic
are
better
than
e
xact
conditional,
”
BMC
medical
research
methodology
,
v
ol.
13,
art.
91,
2013,
doi:
10.1186/1471-2288-13-91.
[25]
SWE-bench,
“Experiments:
Open-sourced
predictions,
e
x
ecution
logs,
trajectories,
and
results
from
model
inference
and
e
v
aluation
runs,
”
GitHub
repository
,
accessed
Jun.
2026.
[Online].
A
v
ailable:
https://github.com/SWE-
bench/experiments
.
Int
J
Elec
&
Comp
Eng,
V
ol.
16,
No.
5,
October
2026:
2664-2671
Evaluation Warning : The document was created with Spire.PDF for Python.
Int
J
Elec
&
Comp
Eng
ISSN:
2088-8708
❒
2671
[26]
OpenAI,
“Introducing
SWE-bench
v
eried,
”
2024.
[Online].
A
v
ailable:
https://openai.com/index/
introducing-
swe-
bench-
verified/
.
BIOGRAPHY
OF
THE
A
UTHOR
Rishabh
Singh
recei
v
ed
the
Master
of
Science
de
gree
in
computer
science,
with
a
spe-
cialization
in
data
analytics,
from
Geor
ge
W
ashington
Uni
v
ersity
,
W
ashington,
DC,
United
States,
in
2024,
and
the
Bachelor
of
Engineering
de
gree
in
computer
science
from
V
isv
esv
araya
T
echnological
Uni
v
ersity
,
Karnataka,
India,
in
2020.
He
w
orks
in
softw
are
engineer
ing
and
c
onducts
independent
research
on
lar
ge
language
models
for
softw
are
engineering,
automated
program
repair
,
repository-
le
v
el
e
v
aluation,
and
reproducible
softw
are-quality
measurement.
F
or
this
study
,
he
designed
and
implemented
the
e
xperimental
pipeline
and
auditor
,
curated
and
analyzed
the
artif
acts,
and
prepared
the
manuscript
and
replication
package.
He
can
be
contacted
at
rishabhsingh@gwu.edu.
A
uditable
patc
h
validity
for
lightweight
langua
g
e-model
...
(Rishabh
Singh)
Evaluation Warning : The document was created with Spire.PDF for Python.