Vyacheslav Matyukhin
f5a3c16322
feat: metaculus group questions, description from api
2022-05-30 23:39:13 +03: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
Vyacheslav Matyukhin
b481212721
feat: more ts, fix tailwind
...
- rename more files to .ts/.tsx
- update tailwind config to use .tsx files from all dirs
- merge css files into a single main.css to avoid import order
dependencies
- minor cleanups due to ts complaints
2022-03-26 03:36:50 +03:00
Vyacheslav Matyukhin
20af4e91fb
cleanup: remove unused data/ and input/ files
2022-03-24 15:47:16 +03:00
Vyacheslav Matyukhin
490f698f26
cleanup old commented fs.writeFileSync calls
2022-03-24 01:48:36 +03:00
Vyacheslav Matyukhin
f3592cde40
remove getSecret, always use env variables
2022-03-24 01:07:55 +03:00
Vyacheslav Matyukhin
244f02b3af
refactor: monorepo
2022-03-22 03:30:25 +03:00