I hereby claim:
- I am yetibash on github.
- I am yetibash (https://keybase.io/yetibash) on keybase.
- I have a public key ASDkSjzj8ZkqUqfIm1ZbKk2z0fliiBvTk-6aqu8BH1-VBQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
sub abtest_recv { | |
##################### | |
## SendToNews | |
##################### | |
if (req.url.path ~ "^/story/sports/mlb/(.*)/$") { | |
if (req.http.Cookie:abtest120) { | |
set req.http.X-AbVariant = req.http.Cookie:abtest120; | |
} else if (randombool(50,100)) { | |
set req.http.X-AbVariant = "120_s2n"; |
sub abtest_recv { | |
##################### | |
## Courier-Journal | |
##################### | |
if (req.http.x-uscp-property ~ "^courier-?journal$" && req.url.path ~ "^/$" && req.http.x-uscp-site == "desktop") { | |
# If the user has already been assigned to a test variant, we set X-AbVariant. | |
if (req.http.Cookie:abtest120) { | |
set req.http.X-AbVariant = req.http.Cookie:abtest120; | |
# If the user was part of the previous test (113), we grandfather them in accordingly. We do this to avoid |