{"library":"laboratory","type":"library","category":null,"description":"Laboratory is a Python library (version 1.0.2) that enables confident refactoring of critical code paths by running 'experiments' in production. Inspired by GitHub's Scientist, it executes new code (candidate) alongside existing code (control) in a randomized order, compares return values, records timing, and logs exceptions, providing a feedback loop for verification. The library is stable and addresses a timeless engineering problem, though its release cadence is slow.","language":"python","status":"active","version":"1.0.2","tags":["refactoring","experimentation","a/b-testing","production-testing","scientist-pattern","observability"],"last_verified":"Mon May 25","install":[{"cmd":"pip install laboratory","imports":["from laboratory import Experiment"]}],"homepage":null,"github":"https://github.com/joealcorn/laboratory","docs":null,"changelog":null,"pypi":"https://pypi.org/project/laboratory/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.5,"avg_import_s":0.03,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/laboratory/compatibility"}}