{"id":29867233,"url":"https://github.com/okpy/pytest-grader","last_synced_at":"2025-07-30T13:22:56.164Z","repository":{"id":304231031,"uuid":"1017047784","full_name":"okpy/pytest-grader","owner":"okpy","description":"A pytest plugin for assignment scoring.","archived":false,"fork":false,"pushed_at":"2025-07-11T18:50:11.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-11T20:37:50.502Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/okpy.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,"zenodo":null}},"created_at":"2025-07-10T00:21:19.000Z","updated_at":"2025-07-11T18:50:14.000Z","dependencies_parsed_at":"2025-07-11T20:37:58.491Z","dependency_job_id":"778532a7-ce5a-4bf9-9397-018befab5707","html_url":"https://github.com/okpy/pytest-grader","commit_stats":null,"previous_names":["okpy/pytest-grader"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/okpy/pytest-grader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okpy%2Fpytest-grader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okpy%2Fpytest-grader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okpy%2Fpytest-grader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okpy%2Fpytest-grader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/okpy","download_url":"https://codeload.github.com/okpy/pytest-grader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okpy%2Fpytest-grader/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267875056,"owners_count":24158767,"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-07-30T02:00:09.044Z","response_time":70,"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-07-30T13:22:55.272Z","updated_at":"2025-07-30T13:22:56.138Z","avatar_url":"https://github.com/okpy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pytest-grader\n\nA pytest plugin for testing and scoring programming assignments.\n\n## Features\n\n- **Assignment Scoring**\n  - Add point values to test functions using the `@points(n)` decorator\n  - Show a score summary when running `pytest --score`\n- **Test Locking** as described in Basu et al., *Automated Problem Clarification at Scale* ([abstract](https://dl.acm.org/doi/10.1145/2724660.2724679), [pdf](http://denero.org/content/pubs/las15_basu_unlocking.pdf))\n  - Lock doctests using the `@lock` decorator.\n  - `python3 pytest-grader --lock [src] [dest]` will generate a copy of src with doctests locked.\n  - `pytest --unlock` provides an interactive interface for unlocking locked doctests.\n- **Progress Logging**\n  - Snapshots of assignment files, test case results, and unlocking attempts are stored in a `grader.sqlite`.\n  - This file is designed to be submitted along with the assignment as a record of how the assignment was completed.\n- **Coming soon: AI assistance**\n\n## Usage\n\nThe recommended way to use this pytest plugin is to include `pytest-grader` (**Link coming soon**) in the distribution of your assignment.\n\n**Coming soon:** It is also possible to install this with:\n\n```bash\npip install pytest-grader\n```\n\nAlso include a `conftest.py` file in the distribution of your assignment that contains `pytest_plugins = [\"pytest_grader\"]`.\n\nSee the `examples` directory for more usage info.\n\n## License\n\nA permissive license will be chosen shortly...","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokpy%2Fpytest-grader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fokpy%2Fpytest-grader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokpy%2Fpytest-grader/lists"}