I hereby claim:
- I am jribnik on github.
- I am jribnik (https://keybase.io/jribnik) on keybase.
- I have a public key ASC_6pBE8vBSFFf0Xwc66rwKuoBO2QcUuZasJlhF-u4Q6Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{ | |
"waitedMS": NumberLong("0"), | |
"result": [ | |
{ | |
"_id": 1, | |
"DEN_avg_score": 19.734966125000213, | |
"DEN_avg_score_std": 10.506752595928164, | |
"DEN_win_pct": 0.33637, | |
"CAR_avg_score": 25.478733875000064, | |
"CAR_avg_score_std": 9.017951575045746, |
{ | |
"waitedMS": NumberLong("0"), | |
"result": [ | |
{ | |
"_id": 1, | |
"NE_avg_score": 25.848926249999767, | |
"NE_avg_score_std": 7.987140220020844, | |
"NE_win_pct": 0.45769, | |
"SEA_avg_score": 27.127344999999792, | |
"SEA_avg_score_std": 9.1468726553133, |
{ | |
"waitedMS": NumberLong("0"), | |
"result": [ | |
{ | |
"_id": 1, | |
"DEN_avg_score": 28.743076249999753, | |
"DEN_avg_score_std": 9.011384256852498, | |
"DEN_win_pct": 0.58883, | |
"SEA_avg_score": 25.868169249999788, | |
"SEA_avg_score_std": 9.032120640996355, |
proj0 = {"$project": | |
{ | |
"i": 1, | |
"DEN_score": {"$sum": {"$cond": [{"$eq": ["$team", "DEN"]}, {"$multiply": [{"$subtract": [{"$divide": ["$yards", 80]}, "$turnovers"]}, 7]}, 0]}}, | |
"CAR_score": {"$sum": {"$cond": [{"$eq": ["$team", "CAR"]}, {"$multiply": [{"$subtract": [{"$divide": ["$yards", 80]}, "$turnovers"]}, 7]}, 0]}} | |
} | |
} | |
group0 = {"$group": | |
{ | |
"_id": "$i", |
match = {"$match": | |
{ | |
"OffenseTeam": "DEN", | |
"$or": [{"PlayType": "PASS"}, {"PlayType": "RUSH"}], | |
"IsNoPlay": 0 | |
} | |
} |
for (var i = 0; i < 100000; i++) { | |
match = {"$match": | |
{ | |
"OffenseTeam": "DEN", | |
"$or": [{"PlayType": "PASS"}, {"PlayType": "RUSH"}], | |
"IsNoPlay": 0 | |
} | |
} | |
sample = {"$sample": | |
{ |
sample = {"$sample": | |
{ | |
"size": 60 | |
} | |
} |
proj = {"$project": | |
{ | |
"team": "$OffenseTeam", | |
"yards": "$Yards", | |
"turnovers": {"$sum": ["$IsInterception", "$IsFumble"]} | |
} | |
} |
group = {"$group": | |
{ | |
"_id": "$team", | |
"yards": {"$sum": "$yards"}, | |
"turnovers": {"$sum": "$turnovers"} | |
} | |
} |