spirals-team / introclassjava Goto Github PK
View Code? Open in Web Editor NEWA dataset of Java bugs for automatic repair, derived from the C bugs of IntroClass
Home Page: https://hal.archives-ouvertes.fr/hal-01272126/document
A dataset of Java bugs for automatic repair, derived from the C bugs of IntroClass
Home Page: https://hal.archives-ouvertes.fr/hal-01272126/document
Hi, I'd like to know where can I find a diff view of the buggy programs and the patches.
In the /data folder of this repo, I only find the original buggy programs.
With fixed programs with the same behavior of the C program
Project | # wb ok | # wb ko | # bb ok | # bb ko | # both ko | # program |
---|---|---|---|---|---|---|
digits | 42 | 71 | 52 | 61 | 45 | 113 |
grade | 40 | 90 | 39 | 91 | 90 | 130 |
checksum | 12 | 1 | 12 | 1 | 1 | 13 |
median | 34 | 46 | 30 | 50 | 41 | 80 |
smallest | 17 | 48 | 19 | 46 | 41 | 65 |
syllables | 14 | 6 | 16 | 4 | 4 | 20 |
6 | 159 | 262 | 168 | 253 | 222 | 421 |
Without fixed programs
Project | # wb ok | # wb ko | # bb ok | # bb ko | # both ko | # program |
---|---|---|---|---|---|---|
digits | 16 | 70 | 26 | 60 | 44 | 86 |
grade | 1 | 90 | 0 | 91 | 90 | 91 |
checksum | 23 | 2 | 23 | 2 | 2 | 25 |
median | 9 | 46 | 5 | 50 | 41 | 55 |
smallest | 5 | 48 | 7 | 46 | 41 | 53 |
syllables | 0 | 6 | 2 | 4 | 4 | 6 |
6 | 54 | 262 | 63 | 253 | 222 | 316 |
Empty
It says
digits -- compute the number of digits in an integer
but digits actually computes the reversed string
3.in:
690
3.out
Enter an integer >
0
9
6
That's all, have a nice day!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.