Pith. sign in

REVIEW 1 cited by

Evaluating Representation Learning of Code Changes for Predicting Patch Correctness in Program Repair

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2008.02944 v1 pith:ULXMTVC3 submitted 2020-08-07 cs.SE

classification cs.SE
keywords learningcorrectnessembeddingspatchcodeoraclepatchesrepresentations
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

A large body of the literature of automated program repair develops approaches where patches are generated to be validated against an oracle (e.g., a test suite). Because such an oracle can be imperfect, the generated patches, although validated by the oracle, may actually be incorrect. While the state of the art explore research directions that require dynamic information or rely on manually-crafted heuristics, we study the benefit of learning code representations to learn deep features that may encode the properties of patch correctness. Our work mainly investigates different representation learning approaches for code changes to derive embeddings that are amenable to similarity computations. We report on findings based on embeddings produced by pre-trained and re-trained neural networks. Experimental results demonstrate the potential of embeddings to empower learning algorithms in reasoning about patch correctness: a machine learning predictor with BERT transformer-based embeddings associated with logistic regression yielded an AUC value of about 0.8 in predicting patch correctness on a deduplicated dataset of 1000 labeled patches. Our study shows that learned representations can lead to reasonable performance when comparing against the state-of-the-art, PATCH-SIM, which relies on dynamic information. These representations may further be complementary to features that were carefully (manually) engineered in the literature.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. RePaCA: Leveraging Reasoning Large Language Models for Static Automated Patch Correctness Assessment

    cs.SE 2025-07 conditional novelty 6.0 of 10

    RePaCA, a Qwen2.5-Coder 3B model fine-tuned with GRPO, classifies Java patches as correct or overfitting with 83.1% accuracy and 84.8% F1 on a Defects4J-derived benchmark.

Pith tools