github/scientist
:microscope: A Ruby library for carefully refactoring critical paths. observed · 2026-08-28
Health v2 · maintenance only
47/100
- Activity 53
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4592
- days_rel: 625
- days_push: 283
- n_releases_24m: 1
Adoption not part of the score
7754 stars · 503 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Scientist is a Ruby library for carefully refactoring critical code paths by running old and new implementations side by side in production. It always returns the control (old) behavior's result while measuring, comparing, and publishing the candidate's behavior and timings.
Use cases
- refactor a critical code path and verify the new implementation behaves identically under real traffic
- compare old and new permission-check logic in a live web app
- measure performance differences between two implementations in production
- safely roll out a rewritten algorithm while always returning the current behavior
- detect exceptions raised by new code without affecting users
When to choose
- you're refactoring high-risk code and want to validate the rewrite against real production data
- you need behavioral parity checks between an old and new implementation
- you want timing and exception data for candidate code paths before switching over
When to avoid
- you need feature flags or A/B testing for user-facing experiments rather than internal behavior comparison
- your code path is cheap to test with unit tests alone and doesn't run in production
- you're not working in Ruby
Facets
library · maturity stable
testing benchmarking middleware developer-tools ruby jvm refactoring experimentation a-b-testing behavior-comparison rubygem ruby
1 source
- readme: https://github.com/github/scientist · fetched 2026-08-28 · fc482eaa193c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| github/scientist | main | 47 |
For agents
markdown · JSON · MCP: product_card(name="github/scientist")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem