Skip to content

Commit 51316e5

Browse files
committed
Fix parameter generation for Q14 #68
1 parent dc544e1 commit 51316e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paramgenerator/generateparamsbi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def serialize_q13(outdir, countries):
188188
writer.append([country])
189189

190190
def serialize_q14(outdir, creationdates):
191-
writer = ParamsWriter(outdir, 14, ["begin", "end"])
191+
writer = ParamsWriter(outdir, 14, ["startDate", "endDate"])
192192
for creation, count in creationdates:
193193
writer.append([str(creation[0]),str(creation[1])])
194194

@@ -378,7 +378,7 @@ def main(argv=None):
378378

379379
serialize_q2 (outdir, key_params(country_sample, total_posts/200, total_posts/100), post_day_ranges) # TODO determine constants
380380
serialize_q3 (outdir, post_months)
381-
serialize_q14(outdir, post_month_params(week_posts, post_lower_threshold*2, post_upper_threshold*2))
381+
serialize_q14(outdir, post_months)
382382

383383
serialize_q1 (outdir, post_date_right_open_range_params(week_posts, 0.3*total_posts, 0.6*total_posts))
384384
serialize_q12(outdir, post_date_right_open_range_params(week_posts, 0.3*total_posts, 0.6*total_posts))

0 commit comments

Comments
 (0)