# assaf/vanity

Experiment Driven Development for Ruby

Repository: https://github.com/assaf/vanity
Canonical: https://ross.abutalabs.com/products/vanity
Homepage: http://vanity.labnotes.org
Language: Ruby
License: MIT
License Family: permissive
Archived: true
Last push: 2023-03-16T10:12:48+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 6146, "days_push": 1266, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1528, forks 267 (observed 2026-08-28T04:04:58.634162+00:00)

## What it is
Vanity is an A/B testing (split testing) framework for Ruby on Rails that lets developers define experiments, present variants to users, and measure conversion. It is datastore agnostic, supporting Redis, MongoDB, or SQL databases for storing experiment results.

## Use cases
- run A/B tests on my Rails app
- test which button copy converts better
- measure conversion rates for different page variants
- split test features across user cohorts
- track experiment results in Redis or SQL
- show a dashboard of ongoing experiments

## When to choose
- you have a Rails application and want integrated A/B testing
- you want flexibility in choosing Redis, MongoDB, or SQL as the experiment datastore
- you prefer experiments defined in Ruby code rather than a third-party SaaS
- you want a built-in Rails dashboard for experiment reports

## When to avoid
- you need client-side or non-Ruby experimentation
- you want a hosted solution with advanced targeting and Bayesian stats
- your project is not Rails/Ruby based
- you need actively developed tooling with frequent releases

## Facets
- artifact type: library
- maturity: maintenance
- function: testing, analytics, middleware
- domain: web-development, analytics, backend
- platform: ruby, self-hosted
- tags: ab-testing, split-testing, rails, experimentation, conversion-tracking, feature-experiments, web-server

## Member repositories
- assaf/vanity (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:58.634162+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:31:30.296045+00:00, confidence not recorded.
  - readme: https://github.com/assaf/vanity (fetched 2026-08-28T04:04:58.634162+00:00, sha 37780a7c97cb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
