joealcorn/laboratory
Achieving confident refactoring through experimentation with Python 2.7 & 3.3+ observed · 2026-08-28
Health v2 · maintenance only
58/100
- Activity 58
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 3856
- days_rel: n/a
- days_push: 254
- n_releases_24m: 0
Adoption not part of the score
1281 stars · 31 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python library inspired by GitHub's Scientist for safely refactoring critical code paths by running experiments in production. It executes control and candidate code blocks, compares results, records timing, and publishes observations.
Use cases
- refactor critical code paths with confidence
- run candidate code alongside production code and compare results
- measure performance differences between old and new implementations
- catch exceptions in new code without breaking production
- gradually ramp up experiments on important code
- verify refactored code behaves identically to the original
When to choose
- you need to refactor fragile but critical code paths safely
- you want to test new implementations in production without risking failures
- you need timing and behavioral comparison between old and new code
- you want a Python port of GitHub's Scientist pattern
When to avoid
- you need A/B testing for user-facing features rather than code refactoring
- your codebase is not in Python
- you cannot tolerate the overhead of running duplicate code paths
- you need active development and frequent updates
Facets
library · maturity maintenance
developer-tools testing benchmarking developer-tools testing python cli refactoring scientist experimentation split-testing production-testing
2 sources
- readme: https://github.com/joealcorn/laboratory · fetched 2026-08-28 · aa24a447d0da
- registry_pypi: https://pypi.org/pypi/laboratory/json · fetched 2026-08-29 · 8a3a2f562444
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| joealcorn/laboratory | main | 58 |
For agents
markdown · JSON · MCP: product_card(name="joealcorn/laboratory")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem