a751caf8fb
tweak: Hide Insight Prediction code for now
...
Asking the guy for less rate limiting in my api access.
2022-07-08 22:56:56 -04:00
494e8d74ad
feat: Fix Good Judgment flow, start writting the Insight Parser.
...
Note that the Insight Prediction parser is in fact not complete
2022-07-08 22:25:11 -04:00
Vyacheslav Matyukhin
ceeeff9681
fix: metaculus on groups
2022-06-03 16:54:45 +03:00
Vyacheslav Matyukhin
5bf24a58ef
feat: metaculus fetcher skips unknown types instead of failing
2022-06-03 13:30:17 +03:00
Vyacheslav Matyukhin
646397d8d4
fix: handle empty metaculus prediction
2022-06-03 12:01:02 +03:00
Vyacheslav Matyukhin
2345b81350
feat: support "discussion" metaculus type
2022-06-03 11:43:35 +03:00
Vyacheslav Matyukhin
de47956e29
feat: tune SLEEP_TIME for metaculus
2022-06-03 11:27:18 +03:00
Vyacheslav Matyukhin
c96627e2cf
feat: skip metaculus questions earlier
2022-06-03 11:13:57 +03:00
Vyacheslav Matyukhin
8fac309bf3
Merge pull request #88 from quantified-uncertainty/embed-question-page
...
Embed question page
2022-06-01 00:12:21 +03:00
Vyacheslav Matyukhin
c3d144337b
Merge pull request #84 from quantified-uncertainty/metaculus-improvements
...
Metaculus fetcher improvements
2022-05-31 22:11:09 +03:00
Vyacheslav Matyukhin
f5a3c16322
feat: metaculus group questions, description from api
2022-05-30 23:39:13 +03:00
Vyacheslav Matyukhin
19779bca02
fix: handle empty guesstimate descriptions
2022-05-26 17:02:26 +04:00
Vyacheslav Matyukhin
ab2efa8a88
feat: remove old timestamp field
2022-05-26 14:15:06 +04:00
Vyacheslav Matyukhin
5fdea80f8b
feat: firstSeen, new questions in graphql
2022-05-21 00:59:33 +04:00
Vyacheslav Matyukhin
d684d074f5
feat: metaculus fetcher takes markdown description from js vars
2022-05-19 14:16:08 +04:00
Vyacheslav Matyukhin
4d736f711d
feat: metaculus validates api, supports --id cli arg
2022-05-19 14:16:08 +04:00
Vyacheslav Matyukhin
fad619385c
fix: circular dependency
2022-05-12 18:59:07 +04:00
Vyacheslav Matyukhin
2d5e73dd8b
feat: store smarkets original contracts and prices
2022-05-12 18:33:30 +04:00
Vyacheslav Matyukhin
fcbc627d1d
feat: improve smarkets; cli args and partial fetchers
2022-05-12 17:58:56 +04:00
Vyacheslav Matyukhin
f37a49e398
refactor: strict typescript
...
also:
- save history simultaneously with question data
- update squiggle
- minor refactorings
2022-05-11 01:45:02 +04:00
Vyacheslav Matyukhin
da03fa8804
refactor: stars calculation moved to platforms
2022-05-10 01:15:18 +04:00
Vyacheslav Matyukhin
ac7b541896
refactor: platforms don't need to pass in results
2022-05-09 23:34:56 +04:00
Vyacheslav Matyukhin
f6e2e8cfa1
refactor: more typescript
2022-05-09 23:27:51 +04:00
Vyacheslav Matyukhin
439a9045da
refactor: some typescript improvements
2022-05-09 21:37:28 +04:00
Vyacheslav Matyukhin
5c248388b6
feat: guesstimate platform, show guesstimate viz on question pages
2022-05-09 17:49:36 +04:00
Vyacheslav Matyukhin
185464c0ae
feat: insert questions without removing (slower, but fixes fks)
2022-04-27 22:07:00 +04:00
Vyacheslav Matyukhin
c039dde3e7
fix: expose qualityIndicators fields in graphql
2022-04-26 00:24:56 +04:00
Vyacheslav Matyukhin
fd2c39435d
refactor: prisma everywhere, drop unused columns and tables
2022-04-23 23:44:38 +04:00
Vyacheslav Matyukhin
60d3973ea3
feat: rewrite frontend with graphql (WIP)
2022-04-19 01:15:42 +03:00
Vyacheslav Matyukhin
6543a729f3
refactor: rename forecast -> question (see #40 )
2022-04-19 01:15:06 +03:00
5e7596e6e7
tweak: Clean infer description + cosmetic changes
2022-04-09 23:21:35 -04:00
789fafd0f6
tweak: cosmetic improvments to good judgment fetcher
2022-04-09 23:21:24 -04:00
7aa44746bf
feat: Rework INFER fetcher using the json embedded in its html
2022-04-08 11:14:43 -04:00
Vyacheslav Matyukhin
5aef91414c
fix: rootclaim ( fixes #39 )
2022-04-07 03:02:35 +03:00
Vyacheslav Matyukhin
39e46b1fe6
fix: more dashboards fixing & ts changes
2022-04-06 00:36:38 +03:00
Vyacheslav Matyukhin
1b6ff8d440
fix: platform names, dashboards, cleanups
2022-04-02 02:25:12 +03:00
Vyacheslav Matyukhin
72db637972
feat: new db structure; platform labels
2022-04-01 23:24:35 +03:00
Vyacheslav Matyukhin
a1ba23e340
feat: data in public schema; merge history tables
2022-03-31 13:00:09 +03:00
Vyacheslav Matyukhin
838fecd556
feat: faster upserts
2022-03-30 20:15:01 +03:00
Vyacheslav Matyukhin
f9e8f320a0
feat: xrisk and givewellopenphil backend platforms
2022-03-30 19:53:22 +03:00
Vyacheslav Matyukhin
4a58389976
Merge remote-tracking branch 'origin/master' into refactor-platforms
2022-03-29 20:46:05 +03:00
Vyacheslav Matyukhin
89fc5ec8b6
refactor: reorganize platforms code further
2022-03-29 18:10:28 +03:00
4c1376f170
fix: small bugs on new polymarket fetcher
2022-03-28 22:38:14 -04:00
b7409b23f2
feat: make polymarket fetcher more efficient
2022-03-28 22:24:44 -04:00
Vyacheslav Matyukhin
4a8377704d
comment: draft for future Platform type
2022-03-29 05:10:49 +03:00
Vyacheslav Matyukhin
8553dfa93f
fix: godjudmentopen spelling matches db
2022-03-29 05:10:34 +03:00
Vyacheslav Matyukhin
efae18600f
feat: separate fetchers from upserts
2022-03-29 04:34:27 +03:00
Vyacheslav Matyukhin
066eb0302a
style: bring back double quotes from prettier
...
One large commit to avoid dealing with messy patches later on.
Turns out I had
https://marketplace.visualstudio.com/items?itemName=amatiasq.sort-imports
installed with single quotes which messed up all double quotes from
prettier.
2022-03-28 20:59:07 +03:00
Vyacheslav Matyukhin
164f996f41
feat: convert all js to ts
...
allowJs is set to false in tsconfig.json now; please write all future
code with typescript.
cleanups:
- removed platforms/deprecated
- removed flow/history/old
- see https://github.com/QURIresearch/metaforecast/issues/22
- commented some invalid axios options
- minor fixes with mismatching function arguments
- commented invalid mongo call in databaseReadWithReadCredentials
- {encoding: 'utf-8'} in readFileSync calls
2022-03-28 00:32:47 +03:00
Vyacheslav Matyukhin
41b314b84a
cleanup: more ts, delete unused api endpoints
2022-03-28 00:32:27 +03:00