{"id":22116311,"url":"https://github.com/jmid/qcheck-fun","last_synced_at":"2025-03-24T05:41:26.181Z","repository":{"id":82291591,"uuid":"90728673","full_name":"jmid/qcheck-fun","owner":"jmid","description":"Fun examples for exercising QCheck's function generator","archived":false,"fork":false,"pushed_at":"2017-05-10T08:25:29.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T11:27:26.175Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","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/jmid.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}},"created_at":"2017-05-09T09:38:05.000Z","updated_at":"2024-03-08T23:04:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"5e7442d1-f3a2-4f0a-8c4d-d0c3b4dadedb","html_url":"https://github.com/jmid/qcheck-fun","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/jmid%2Fqcheck-fun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmid%2Fqcheck-fun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmid%2Fqcheck-fun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmid%2Fqcheck-fun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmid","download_url":"https://codeload.github.com/jmid/qcheck-fun/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245217790,"owners_count":20579297,"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":[],"created_at":"2024-12-01T12:26:38.783Z","updated_at":"2025-03-24T05:41:26.161Z","avatar_url":"https://github.com/jmid.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"QCheck-fun: Fun examples for exercising QCheck's function generator\n===================================================================\n\nThis is a collection of examples from\n - JSVerify https://github.com/jsverify/jsverify\n - Koen Claessen's Haskell'12 pearl \"Shrinking and Showing Functions\"\n - Ulf Norell's talk \"Generating random functions\"\n\nNote: latest commit tests QCheck 6448cc4cc1bdf5b0ee169143fadef3004557638b\n\nSome observations:\n - shrinking is much more effective\n - shrinking may occasionally take very long\n - some things could potentially be shrunk even further, e.g., the 7414 here:\n\n    Test map filter failed (40 shrink steps):\n\n    ({_ -\u003e 0}, {7414 -\u003e false; _ -\u003e true}, [7414])\n\n\nOld observations:\n - shrinking does not work as well over functions\n     (counterexamples are even greater with int generator)\n - the printed functions are partial \n     (Claessen in Haskell and Norell's eqc_fun in Erlang prints them with a final _ catch all case) \n - can one express Norell's prop_losing as a recursive invocation of QCheck_runner.run_tests?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmid%2Fqcheck-fun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmid%2Fqcheck-fun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmid%2Fqcheck-fun/lists"}