<jupyter_start><jupyter_text>Setup<jupyter_code>%%capture
%pip install --quiet poetry  # Fixes https://github.com/python-poetry/poetry/issues/532
%pip install --quiet git+https://github.com/oughtinc/ergo.git@7f88222f5f7a2e552eb1750d43b6c7924d2f0361
import ergo
import datetime
import pandas as pd;
%load_ext google.colab.data_table
metaculus = ergo.Metaculus(username="oughtpublic", password="<PASSWORD>", api_domain="pandemic")<jupyter_output><empty_output><jupyter_text>Dashboard  Resolved questions<jupyter_code>resolved_predictions = metaculus.make_questions_df(metaculus.get_questions_json(question_status="resolved", player_status="predicted", pages=9999))
resolved_predictions[["title", "resolve_time", "i_created", "url", "id"]]<jupyter_output><empty_output><jupyter_text>Open questions<jupyter_code>open = metaculus.make_questions_df(metaculus.get_questions_json(question_status="open", player_status="any", pages=9999))<jupyter_output><empty_output><jupyter_text>Published in or after Mar 1 2020, closing in 2020<jupyter_code>open_mar_or_after = open[open["publish_time"] >= datetime.datetime(2020,3,1)]
and_closes_in_2020 = open_mar_or_after[open_mar_or_after["close_time"] <= datetime.datetime(2020,12,31)]
and_closes_in_2020<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1270718232044199, 'fraction_numerical': 0.055248618784530384, 'mean_word_length': 12.934065934065934, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '208278', 'license': 'MIT', 'n_tokens_mistral': 508, 'n_tokens_neox': 456, 'n_words': 54, 'path': 'notebooks/scrubbed/prediction-dashboard.ipynb', 'repo_name': 'bmillwood/ergo', 'size': '1263'}