· 2015
Çaresi hastalığından beter mi? Otomatik program onarımında aşırı uyum
Is the cure worse than the disease? overfitting in automated program repair
- 327atıf
- 2015yıl
Kısa özet
GenProg ve TrpAutoRepair gibi otomatik program onarım araçlarının bağımsız test geçme oranlarını iyileştirmesi olası değildir ve özellikle yüksek test kapsamına sahip programlarda daha fazla testi bozabilirler.
Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.
Ana noktalar
- Otomatik program onarım araçları, temel hataları düzeltmeden testleri geçerek test paketlerine aşırı uyum sağlayabilir.
- GenProg ve TrpAutoRepair'in bağımsız testlerle 998 hatada değerlendirilmesi, bağımsız test geçme oranlarında önemli bir iyileşme göstermedi.
- Yama kalitesi, onarım sırasında kullanılan test paketinin kapsamıyla orantılıdır.
- Testlerin çoğunu geçen programlar için onarım araçları, testleri düzeltmek kadar bozma olasılığına sahiptir.
Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.
Özet (abstract)
Automated program repair has shown promise for reducing the sig-nificant manual effort debugging requires. This paper addresses a deficit of earlier evaluations of automated repair techniques caused by repairing programs and evaluating generated patches ’ correctness using the same set of tests. Since tests are an imperfect metric of program correctness, evaluations of this type do not discriminate be-tween correct patches and patches that overfit the available tests and break untested but desired functionality. This paper evaluates two well-studied repair tools, GenProg and TrpAutoRepair, on a pub-licly available benchmark of 998 bugs, each with a human-written patch. By evaluating patches using tests independent from those used during repair, we find that the tools are unlikely to improve the proportion of independent tests passed, and that the quality of the patches is proportional to the coverage of the test suite used during repair. For programs that pass most tests, the tools are as likely to break tests as to fix them. However, novice developers also overfit, and automated repair performs no worse than these develop-ers. In addition to overfitting, we measure the effects of test suite coverage, test suite provenance, and starting program quality, as well as the difference in quality between novice-developer-written and tool-generated patches when quality is assessed with a test suite independent from the one used for patch generation.
Yazarların özeti; kaynağından alınmıştır., 2015 · DOI ↗
Ücretsiz hesapla devam et
Makaleye Sor ile bu makaleye günde 3 soru ücretsiz; makaleyi kaydet, kaynakçasını al, ilgi alanına göre her gün yeni özetler. Çıkarımlar Premium.
Web'de ücretsiz devam etGoogle ya da Apple hesabınla giriş; kart istemez. Bu makaleye geri dönersin.
Telefonda:
Alan: Yazılım
SoftwareComputer Science