jdpressman commited on
Commit
20f077f
1 Parent(s): 698506c

Regularize schema

Browse files

markets = []
for market in split:
if "groupSlugs" not in market:
market["groupSlugs"] = []
if "resolutionProbability" not in market:
market["resolutionProbability"] = -1
if "lastBetTime" not in market:
market["lastBetTime"] = -1
if "lastCommentTime" not in market:
market["lastCommentTime"] = -1
markets.append(market)

Files changed (3) hide show
  1. test.json +0 -0
  2. train.json +2 -2
  3. val.json +0 -0
test.json CHANGED
The diff for this file is too large to render. See raw diff
 
train.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:39b88c5a0288814ca29b47478927f3cc5cb38b3637acca111989dff83a481170
3
- size 30650493
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1aca9aea86d398e64e27f214235683e39611af86933222edfe1465634bf9624e
3
+ size 30720810
val.json CHANGED
The diff for this file is too large to render. See raw diff