{"id":15546724,"url":"https://github.com/gpavanb1/quizsim","last_synced_at":"2025-04-23T18:10:58.180Z","repository":{"id":57459524,"uuid":"321749173","full_name":"gpavanb1/QuizSim","owner":"gpavanb1","description":"Play with the rules of quizzing. 6k+ downloads","archived":false,"fork":false,"pushed_at":"2020-12-19T06:48:10.000Z","size":7,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-09T13:13:43.714Z","etag":null,"topics":["bounce","discrete-event-simulation","numpy","pounce","python","quizzing","simulations","trivia"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gpavanb1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-15T18:05:11.000Z","updated_at":"2024-07-21T07:00:51.000Z","dependencies_parsed_at":"2022-09-13T16:00:29.943Z","dependency_job_id":null,"html_url":"https://github.com/gpavanb1/QuizSim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpavanb1%2FQuizSim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpavanb1%2FQuizSim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpavanb1%2FQuizSim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpavanb1%2FQuizSim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gpavanb1","download_url":"https://codeload.github.com/gpavanb1/QuizSim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250487531,"owners_count":21438612,"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":["bounce","discrete-event-simulation","numpy","pounce","python","quizzing","simulations","trivia"],"created_at":"2024-10-02T13:03:55.559Z","updated_at":"2025-04-23T18:10:58.162Z","avatar_url":"https://github.com/gpavanb1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QuizSim\n\n![Made with Love in India](https://madewithlove.org.in/badge.svg) \n![Coverage](https://img.shields.io/badge/coverage-100%25-brightgreen.svg)\n[![Downloads](https://pepy.tech/badge/quizsim)](https://pepy.tech/project/quizsim)\n\n## How to install and execute?\n\nJust run \n```\npip install quizsim\n```\n\nThe following program illustrates a basic example\n```python\nfrom quizsim import runQuiz\n\nprint(runQuiz())\n```\n\n## Parameters\n\n* NUM_QUESTIONS - Number of questions in the quiz (default: 30)\n* TEAM_STRENGTH - List giving chance (between 0 and 1) that team answers a question correctly (default: [1.0, 0.0])\n* POUNCE_DARE - List giving chance (between 0 and 1) that team pounces on a question (default: [1.0, 0.0])\n* CAN_POUNCE - Boolean whether pounce is allowed in quiz (default: True)\n* BOUNCE_TYPE - When nobody answers the previous question on bounce, the direct moves to either next team to previous (Bengaluru) or same team as previous gets it (Chennai) - (default: Bengaluru)\n* POUNCE_RIGHT - Points for right answer on pounce (default: 15)\n* POUNCE_WRONG - Points for wrong answer on pounce (default: -10)\n* BOUNCE_RIGHT - Points for right answer on bounce (default: 10)\n\n## How to test?\n\nYou can run the default tests using\n\n```\npython -m unittest\n```\n\nCode coverage can be obtained using [Coverage.py](https://coverage.readthedocs.io/en/coverage-5.3/) as follows\n\n```\ncoverage run --source=quizsim -m unittest\n```\n\nYou can obtain a quick report on the coverage as follows\n```\ncoverage report --show-missing\n```\n\n## Whom to contact?\n\nPlease direct your queries to [gpavanb1](http://github.com/gpavanb1)\nfor any questions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpavanb1%2Fquizsim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgpavanb1%2Fquizsim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpavanb1%2Fquizsim/lists"}