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)

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow Scientist

Scientist Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Scientist!

Additional Project Details

Programming Language

Ruby

Related Categories

Ruby Frameworks

Registered

2025-07-31