{"id":20448541,"url":"https://github.com/datacamp/sheetwhat","last_synced_at":"2025-04-13T01:27:32.813Z","repository":{"id":57466694,"uuid":"147168632","full_name":"datacamp/sheetwhat","owner":"datacamp","description":"Verify Spreadsheets and auto-generate meaningful feedback messages.","archived":false,"fork":false,"pushed_at":"2022-06-21T15:00:27.000Z","size":159,"stargazers_count":4,"open_issues_count":8,"forks_count":3,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-03-26T19:12:14.348Z","etag":null,"topics":["fs","le"],"latest_commit_sha":null,"homepage":"https://sheetwhat.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datacamp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-03T07:37:24.000Z","updated_at":"2022-06-21T15:00:30.000Z","dependencies_parsed_at":"2022-09-10T03:44:52.601Z","dependency_job_id":null,"html_url":"https://github.com/datacamp/sheetwhat","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacamp%2Fsheetwhat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacamp%2Fsheetwhat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacamp%2Fsheetwhat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacamp%2Fsheetwhat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datacamp","download_url":"https://codeload.github.com/datacamp/sheetwhat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248652891,"owners_count":21140095,"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":["fs","le"],"created_at":"2024-11-15T10:35:38.922Z","updated_at":"2025-04-13T01:27:32.784Z","avatar_url":"https://github.com/datacamp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e :warning: **This repo has outdated tokens in its travisci config**\n\u003e To make new releases for this project it needs to be moved to circleci\n\n# sheetwhat\n\n[![Build Status](https://travis-ci.org/datacamp/sheetwhat.svg?branch=master)](https://travis-ci.org/datacamp/sheetwhat)\n[![codecov](https://codecov.io/gh/datacamp/sheetwhat/branch/master/graph/badge.svg)](https://codecov.io/gh/datacamp/sheetwhat)\n[![PyPI version](https://badge.fury.io/py/sheetwhat.svg)](https://badge.fury.io/py/sheetwhat)\n[![Documentation Status](https://readthedocs.org/projects/sheetwhat/badge/?version=latest)](https://sheetwhat.readthedocs.io/en/latest/?badge=latest)\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fdatacamp%2Fsheetwhat.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fdatacamp%2Fsheetwhat?ref=badge_shield)\n\n`sheetwhat` enables you to write Submission Correctness Tests (SCTs) for interactive Spreadsheet exercises on DataCamp.\n\n- If you are new to teaching on DataCamp, check out https://instructor-support.datacamp.com.\n- If you want to learn what SCTs are and how they work, visit [this article](https://instructor-support.datacamp.com/courses/course-development/submission-correctness-tests) specifically.\n- For a complete overview of all functionality inside `sheetwhat` and articles about what to use when, consult https://sheetwhat.readthedocs.io.\n\n## Installing\n\n```\npip install sheetwhat\n```\n\n## Demo\n\nSheetwhat is typically used in a web application, but you can also experiment with its functions on your local machine.\nSCT functions that fail will throw a `TestFail` error.\n\n```python\n# Setup: make all checking functions available\nfrom sheetwhat.sct_syntax import SCT_CTX\nglobals().update(SCT_CTX)\n\n# Setup: set up state with student data, solution data and SCT range\nfrom sheetwhat.State import State\nfrom protowhat.Reporter import Reporter\nEx.root_state = State(\n    {'values': [[\"a\", \"a\"]], \"formulas\": [[\"=B1\"]]},\n    {'values': [[\"b\", \"b\"]], \"formulas\": [[\"=B1\"]]},\n    \"A1\",\n    Reporter()\n)\n\n# Experiment interactively with SCTs\n# Passes, as formulas at A1 match\nEx().has_equal_formula()\n\n# Fails, as values at A1 do not match\nEx().has_equal_value()\n```\n\n## Testing\n\n```\npip install -r requirements.txt\npip install -e .\npytest\n```\n\n\n## License\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fdatacamp%2Fsheetwhat.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fdatacamp%2Fsheetwhat?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatacamp%2Fsheetwhat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatacamp%2Fsheetwhat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatacamp%2Fsheetwhat/lists"}