{"id":19768252,"url":"https://github.com/squareslab/genproginvdiv-introclassjava-scripts","last_synced_at":"2026-01-31T21:11:20.452Z","repository":{"id":82620106,"uuid":"166578017","full_name":"squaresLab/GenProgInvDiv-IntroClassJava-Scripts","owner":"squaresLab","description":null,"archived":false,"fork":false,"pushed_at":"2019-05-10T19:09:21.000Z","size":28700,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-21T10:05:33.378Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/squaresLab.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-19T18:11:08.000Z","updated_at":"2019-04-24T18:05:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"b5ced612-328a-4eca-aad4-e76f838990c7","html_url":"https://github.com/squaresLab/GenProgInvDiv-IntroClassJava-Scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/squaresLab/GenProgInvDiv-IntroClassJava-Scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squaresLab%2FGenProgInvDiv-IntroClassJava-Scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squaresLab%2FGenProgInvDiv-IntroClassJava-Scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squaresLab%2FGenProgInvDiv-IntroClassJava-Scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squaresLab%2FGenProgInvDiv-IntroClassJava-Scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squaresLab","download_url":"https://codeload.github.com/squaresLab/GenProgInvDiv-IntroClassJava-Scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squaresLab%2FGenProgInvDiv-IntroClassJava-Scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28955277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T18:30:42.805Z","status":"ssl_error","status_checked_at":"2026-01-31T18:30:19.593Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-12T04:36:35.093Z","updated_at":"2026-01-31T21:11:20.447Z","avatar_url":"https://github.com/squaresLab.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"This README is outdated, don't use until further notice (steps 1,2,3 are still good though).\n\nInstructions for running genprog4java w/ invariant diversity for IntroClassJava:\n\n1. Get IntroClassJava by cloning this repo: https://github.com/Spirals-Team/IntroClassJava\n\n2. Run `preprocessIntroClassJava.sh` with the following argument:\n    1. Path to IntroClassJava\n    \n    e.g: `bash preprocessIntroClassJava.sh ~/wherever/IntroClassJava/`\n    \n    This script will shorten the student names to the first 4 chars.\n\n3. Set the following global variables:\n    1. `GP4J_HOME=path to genprog4java`\n    2. `DAIKONDIR=path to daikon`\n    3. `ICJ_HOME=path to IntroClassJava`\n    4. `ICJ_OUT_DIR=path to the directory to store copies of IntroClassJava bugs. GenProg4Java will operate on these bugs.`\n    5. `JAVA_HOME=path to java8 installation`\n\n4. Edit the following variables in runWrapper.sh\n    1. `SSED=starting seed`\n    2. `ESED=ending seed`\n\n5. If you wish to run a single bug, call runWrapper.sh with the following arguments:\n    1. Project (checksum, median, ...)\n    2. Student identifier (08c7, 2c15, ...)\n    3. Revision number (000, 006, ...)\n    4. Repair mode (0 for original GenProg, 4 for invariant diversity)\n    \n    e.g: `bash runWrapper.sh checksum 08c7 006 4`\n\n6. If you wish to concurrently run multiple bugs, first create a file with a list of \nthe bugs that you wish to run. On each line of the file, indicate the bug that you \nwish to run as follows: `project,studentid,revision,repairmode`\n\n    For example, to run `checksum/08c7/006/` on original Genprog (mode 0) and \n    `median/ocdf/003` on invariant diversity search (mode 4), create a file \n    with the following content:\n    \n    ```\n    checksum,08c7,006,0\n    median,ocdf,003,4\n    ```\n\n    Then, run `multi_driver.py` using Python 3 with the following argument:\n    1. Path to the file containing the aforementioned list of bugs to run.\n    \n    e.g: `python3 multi_driver.py wherever/list_of_bugs_to_run`\n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquareslab%2Fgenproginvdiv-introclassjava-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquareslab%2Fgenproginvdiv-introclassjava-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquareslab%2Fgenproginvdiv-introclassjava-scripts/lists"}