Scientist
A Ruby library for carefully refactoring critical paths
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.