{"id":16040217,"url":"https://github.com/oleks/trafaret","last_synced_at":"2025-04-05T06:14:27.858Z","repository":{"id":140737458,"uuid":"86226316","full_name":"oleks/trafaret","owner":"oleks","description":"Template-Driven Programming Exercises","archived":false,"fork":false,"pushed_at":"2017-03-28T17:10:11.000Z","size":95,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T13:44:05.709Z","etag":null,"topics":["exercise","programming","templates"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oleks.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-03-26T11:06:58.000Z","updated_at":"2017-03-28T17:13:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"5d353d21-698a-4d05-82dd-4b39f4c63331","html_url":"https://github.com/oleks/trafaret","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleks%2Ftrafaret","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleks%2Ftrafaret/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleks%2Ftrafaret/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleks%2Ftrafaret/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oleks","download_url":"https://codeload.github.com/oleks/trafaret/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247294570,"owners_count":20915341,"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":["exercise","programming","templates"],"created_at":"2024-10-08T23:09:56.268Z","updated_at":"2025-04-05T06:14:27.843Z","avatar_url":"https://github.com/oleks.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"``trafaret`` — Template-Driven Programming Exercises\n====================================================\n\nThe solution to a small programming exercise usually adheres to one of a set of\npossible templates.\n\n``trafaret`` helps with grading, when this is the case.\n\nUsing ``trafaret`` effectively requires you to be attentive: teachers readily\nundermine the creativity of their students, and pose overly liberal programming\nexercises, having an infeasible set of solutions. This is why I use the word\n\"exercise\", rather than \"task\": to emphasize that ``trafaret`` is not\nwell-suited for more open-ended programming tasks.\n\nDespite these formal shortcomings, ``trafaret`` can help you bootstrap your\nstudents.\n\n``trafaret`` should not be used as the sole judge of solution quality.\n\nProject State\n-------------\n\n.. image:: https://travis-ci.org/oleks/trafaret.svg?branch=python3\n    :target: https://travis-ci.org/oleks/trafaret\n\n\nTemplates\n---------\n\nWhen it comes to programming, variations in the following are readily stripped:\n\n* Whitespace\n* Comments\n* Naming (up to alpha equivalence)\n* Order of certain groups of tokens (e.g., the order of functions in a module)\n\nIn some cases, you might also want students to adhere to a style guide. This is\nbeyond the scope of ``trafaret``: use a linter.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foleks%2Ftrafaret","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foleks%2Ftrafaret","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foleks%2Ftrafaret/lists"}