{"id":31772049,"url":"https://github.com/aboutcode-org/matchcode-tests","last_synced_at":"2025-10-10T03:55:21.034Z","repository":{"id":264685841,"uuid":"885093116","full_name":"aboutcode-org/matchcode-tests","owner":"aboutcode-org","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-19T04:44:46.000Z","size":29196,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-09-17T12:00:36.959Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/aboutcode-org.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.rst","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-11-08T00:09:51.000Z","updated_at":"2025-05-19T04:44:56.000Z","dependencies_parsed_at":"2025-05-19T05:39:05.882Z","dependency_job_id":null,"html_url":"https://github.com/aboutcode-org/matchcode-tests","commit_stats":null,"previous_names":["aboutcode-org/matchcode-tests"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aboutcode-org/matchcode-tests","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutcode-org%2Fmatchcode-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutcode-org%2Fmatchcode-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutcode-org%2Fmatchcode-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutcode-org%2Fmatchcode-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aboutcode-org","download_url":"https://codeload.github.com/aboutcode-org/matchcode-tests/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutcode-org%2Fmatchcode-tests/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002601,"owners_count":26083426,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-10-10T03:55:13.224Z","updated_at":"2025-10-10T03:55:21.029Z","avatar_url":"https://github.com/aboutcode-org.png","language":"JavaScript","readme":"=========================================\nMatchCode approximate code search tests\n=========================================\n\nThis repository is a test suite for approximate code search including AI-generated code search.\n\n- Homepage: https://github.com/aboutcode-org/matchcode-tests/\n- Related repos:\n\n  - https://github.com/aboutcode-org/purldb\n  - https://github.com/aboutcode-org/matchcode-toolkit\n  - https://github.com/aboutcode-org/ai-gen-code-search\n\n\nUsage\n=====\n\n- Clone this repository\n- In the clone, run ``make dev``\n- run ``. venv/bin/activate``\n- run the full test suite with::\n\n    pytest -vvs tests\n\nThis is designed to run only on Linux.\n\n\nTests\n=====\n\n``test_matchcode.py`` uses the dataset \"Analyzing the Dependability of Large\nLanguage Models for Code Clone Generation\"\n(https://zenodo.org/records/11398703). This dataset contains code solutions to\nproblems from LeetCode that have been generated by AI from an original solution.\nThe tests in ``test_matchcode.py`` compare the original solutions to the\ndifferent variations of AI generated solutions, where we compare Hamming\ndistances and detected ngrams from the different solutions.\n\n\nLicense\n=============\n\n- the data is under a CC-BY-4.0 license\n- the code is under the Apache-2.0 license","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboutcode-org%2Fmatchcode-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faboutcode-org%2Fmatchcode-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboutcode-org%2Fmatchcode-tests/lists"}