Scientist is a Ruby library developed by GitHub that enables safe, data-driven refactoring by running both the existing ("control") and new ("candidate") code paths in production, comparing their results and performance, while returning only the original output. It empowers developers to validate new implementations without affecting user-facing behavior.
Features
- Wraps code blocks as use {} (control) and try {} (candidate) for experimentation
- Randomizes execution order to avoid bias
- Measures execution time for both control and candidate
- Compares outputs and logs mismatches or exceptions
- Allows configurable control over when candidate runs (e.g. percentage, ignore)
- Hooks for custom result publishing (e.g. dashboards, alerts)
Categories
FrameworksLicense
MIT LicenseFollow Scientist
Other Useful Business Software
Our Free Plans just got better! | Auth0
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Scientist!