{"id":23801996,"url":"https://github.com/spirals-team/introclassjava","last_synced_at":"2025-09-06T15:32:22.334Z","repository":{"id":65700351,"uuid":"42990143","full_name":"Spirals-Team/IntroClassJava","owner":"Spirals-Team","description":"A dataset of Java bugs for automatic repair, derived from the C bugs of IntroClass ","archived":false,"fork":false,"pushed_at":"2021-08-11T06:23:10.000Z","size":1388,"stargazers_count":12,"open_issues_count":0,"forks_count":11,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-04-16T12:16:41.016Z","etag":null,"topics":["program-repair"],"latest_commit_sha":null,"homepage":"https://hal.archives-ouvertes.fr/hal-01272126/document","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Spirals-Team.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-23T09:02:20.000Z","updated_at":"2023-10-06T11:17:25.000Z","dependencies_parsed_at":"2023-02-05T09:31:32.890Z","dependency_job_id":null,"html_url":"https://github.com/Spirals-Team/IntroClassJava","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spirals-Team%2FIntroClassJava","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spirals-Team%2FIntroClassJava/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spirals-Team%2FIntroClassJava/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spirals-Team%2FIntroClassJava/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Spirals-Team","download_url":"https://codeload.github.com/Spirals-Team/IntroClassJava/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232130463,"owners_count":18476791,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["program-repair"],"created_at":"2025-01-01T22:17:46.865Z","updated_at":"2025-01-01T22:17:47.493Z","avatar_url":"https://github.com/Spirals-Team.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IntroClassJava: A Benchmark of Buggy Java Programs\n\nIf you use IntroClassJava, please cite the following technical report:\n\nThomas Durieux and Martin Monperrus. \"[IntroClassJava: A Benchmark of  297 Small and Buggy Java Programs](https://hal.archives-ouvertes.fr/hal-01272126/document)\". Technical Report hal-01272126, University of Lille; 2015. \n\n```\n@techreport{durieux:hal-01272126,\n  TITLE = {{IntroClassJava: A Benchmark of  297 Small and Buggy Java Programs}},\n  AUTHOR = {Durieux, Thomas and Monperrus, Martin},\n  URL = {https://hal.archives-ouvertes.fr/hal-01272126/document},\n  INSTITUTION = {{Universite Lille 1}},\n  YEAR = {2016},\n  NUMBER = {hal-01272126},\n}\n```\n\n\nThis benchmark has been automatically generated from the IntroClass benchmark for C from the Autorepair Benchmark Suite, a joint project between Carnegie-Mellon University and the University of Massachusetts (\u003chttp://repairbenchmarks.cs.umass.edu/\u003e).\n\n## Main statistics\n| Project   | # wb ok | # wb ko | # bb ok | # bb ko | # both ko | # program |\n|-----------|---------|---------|---------|---------|-----------|-----------|\n| digits    |      15 |      60 |      24 |      51 |        36 |        75 |\n| grade     |       1 |      88 |       0 |      89 |        88 |        89 |\n| checksum  |       0 |      11 |       4 |       7 |         7 |        11 |\n| median    |       9 |      48 |       6 |      51 |        42 |        57 |\n| smallest  |       7 |      45 |       5 |      47 |        40 |        52 |\n| syllables |       1 |      12 |       0 |      13 |        12 |        13 |\n|         6 |      33 |     264 |      39 |     258 |       225 |       297 |\n\n\n## Directory Overview\n\n```\nintroclassJava/\n |-lib/\n |--data/\n |---dataset.xml\n |--CToJava.py\n |--evalIntroClassJava.py\n |-dataset/\n |--checksum/\n |---f4a823174201234546789abcdeffff\u003crepository ID hex string\u003e.../\n |----000/\n |-----src/\n |------main/\n |-------java/introclassJava\n |--------digits_f4a823174201234546789abcdeffff_000.java\n |------test/\n |-------java/introclassJava\n |--------digits_f4a823174201234546789abcdeffff_000BackboxTest.java\n |----001/\n |--------\u003csame as above\u003e\n |---09F911029D74E35BD84156C5635688C0\u003cnext repository ID hex string\u003e.../\n |--digits/\n |-...\n ```\n\nThe folder ```lib``` contains the python scripts use to transform the C dataset to a Java dataset.\n\nThe file ```lib/data/dataset.xml``` contains the dataset IntroClass transformed into xml via the following command: \n```console\nsrcml --language=C --literal --operator --modifier `find  IntroClass -name \"*.c\"` -o IntroClassJava/lib/data/dataset.xml\n```\n\nThe folder ```dataset``` contains the assignment programs:\n\n* checksum -- compute a simple checksum of a string\n* digits -- reverse the digits of an integer \"123\" -\u003e \"321\"\n* grade -- compute the letter grade corresponding to a percentage\n* median -- give the median of three numbers\n* smallest -- give the smallest of three numbers\n* syllables -- give the number of English syllables in a string\n\nEach subdirectory below represents a student's submitted repository which contains several revisions. Each revision is a maven project. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspirals-team%2Fintroclassjava","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspirals-team%2Fintroclassjava","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspirals-team%2Fintroclassjava/lists"}