Murphydbuffalo / hyp

Minimal configuration, statistically valid A/B testing for Ruby on Rails
MIT License
2 stars 0 forks source link

Experiment trials should belong to a polymorphic entity #11

Open Murphydbuffalo opened 5 years ago

Murphydbuffalo commented 5 years ago

Rather than have an ExperimentUserTrial model we should have an ExperimentTrial model that belongs to a polymorphic experiment_participant entity. That was experiments can be run with any database entity as a participant: users, companies, customers... you name it.