Skip to content

Instantly share code, notes, and snippets.

@jamesjlyons
Last active October 3, 2019 18:16
Show Gist options
  • Save jamesjlyons/413f3350c6ae1759c7ce582768ecf8a1 to your computer and use it in GitHub Desktop.
Save jamesjlyons/413f3350c6ae1759c7ce582768ecf8a1 to your computer and use it in GitHub Desktop.
AB Test Status Card
AB Test Status Card
Enabled
data source inactive -> Disabled
data source removed -> Disabled
Draft
test scheduled -> Scheduled
test run now -> Running
Scheduled
scheduled time arrives -> Running
cancel scheduled run -> Draft
Running
terminate test before winnner declared -> Terminated
winner is declared -> Winner Declared
no winner declared -> No Winner Declared
Terminated
Declaration Made
No Winner Declared
variant is published -> Experience Published
nothing is published control stays -> Control Kept
Winner Declared
variant is published -> Experience Published
nothing is published control stays -> Control Kept
Complete
Experience Published
Control Kept
Disabled
Data Source Inactive
data source is reactivated -> Enabled
Data Source Removed
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment