Submit Essay

Once you submit your essay, you can no longer edit it.

### Question

We haven't had a KBC in a while, and it's sad that the newest users haven't experienced their unadulterated glory yet, so here is a new one.

What will be this question's comment threads h-index?

We define this question's comment threads h-index as:

Where $N$ is the highest number such that this question has $N$ comment threads with at least $N$ unique users each, and $M$ is the number of comment threads with at least $N+1$ unique users.

A thread's users are all the users who commented on it, including the top level comment. Only users who joined before 2021-03-29 and are level 2+ at time of resolution will be counted.

The author has generated a secret resolution time between 2021-04-03 09:00:00 and 2021-04-03 21:00:00 (UTC+$\frac{\pi}{2}$).

At the secret resolution time, the h-index will be determined, and this question will be retroactively closed and resolved. Only comments posted before the resolution time will count.

I know this isn't actually a KBC.

The h-index will be computed with this script:

import requests, json
from collections import defaultdict
from functools import lru_cache

while url is not None:
url = data["next"]

if c["created_time"] > "2021-04-03 09:00:00":
continue
return list(map(lambda s: len([u for u in s if is_user_valid(u)]), comment_threads.values()))

@lru_cache
def is_user_valid(user_id):
url = f"https://www.metaculus.com/api2/users/{user_id}/"
return data["date_joined"] < "2021-03-29" and data["level"] >= 2

def get_h_index(values):
h_index_arr = [0 for _ in range(len(values)+1)]
for v in values:
h_index_arr[min(v,len(values) )] += 1
total = 0
for (i, v) in reversed(list(enumerate(h_index_arr))):
total += v
if total >= i:
return i + len([0 for j in values if j >= i+1])/(i+1)
return 0