Humble Indie Bundle predictions

Home Forums Linux Gaming Humble Indie Bundle predictions

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #67429
    strider
    Participant

    Humble Indie Bundles are released on average every 141 days
    Humble Indie Bundle 17 should be released between 04/05/2016 and 10/04/2016 (most likely around 07/13/2016)

    Code:
    #!/usr/bin/python3
    import datetime

    HIB_DATES = [
    “05/04/10”,
    “12/14/10”,
    “07/26/11”,
    “12/13/11”,
    “05/31/12”,
    “09/18/12”,
    “12/19/12”,
    “05/28/13”,
    “09/11/13”,
    “01/07/14”,
    “02/18/14”,
    “09/09/14”,
    “10/28/14”,
    “04/01/15”,
    “09/29/15”,
    “02/23/16”,
    ]

    dates = [datetime.datetime.strptime(date.strip(), ‘%m/%d/%y’) for date in HIB_DATES]

    deltas = []
    for i, date in enumerate(dates):
    if i > 0:
    delta = date – dates[i-1]
    deltas.append(delta)

    delta_days = [d.days for d in deltas]
    day_avg = float(sum(delta_days))/len(delta_days)
    delta_avg = datetime.timedelta(days=day_avg)

    print(‘Humble Indie Bundles are released on average every {} days’.format(int(day_avg)))
    print(‘Humble Indie Bundle {} should be released between {} and {} (most likely around {})’.format(
    len(dates) + 1,
    (dates[-1] + min(deltas)).strftime(‘%m/%d/%Y’),
    (dates[-1] + max(deltas)).strftime(‘%m/%d/%Y’),
    (dates[-1] + delta_avg).strftime(‘%m/%d/%Y’)
    ))

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.