Skip to content

Instantly share code, notes, and snippets.

@JanMiksovsky
Last active October 18, 2022 23:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JanMiksovsky/e0bc199555d3814deaaa6d1664fff02a to your computer and use it in GitHub Desktop.
Save JanMiksovsky/e0bc199555d3814deaaa6d1664fff02a to your computer and use it in GitHub Desktop.
Graph Origami demo of an A/B test overlaying experimental files on top of control files
control:
index.html: |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" href="styles/styles.css" />
</head>
<body>
Hello, world!
</body>
</html>
styles:
styles.css: |
body {
color: #333;
font-family: Arial, Helvetica, sans-serif;
}
"experiment = merge(this, control)":
styles:
styles.css: |
body {
color: darkred;
font-family: Menlo, Monaco, "Courier New", monospace;
font-size: x-large;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment