Commit Graph

166 Commits

Author SHA1 Message Date
3d6a544a72 feat: Refactored to avoid useState in lib/findPaths.js
Note: This is important because it allows for restarting
the utility-function extractor. It also makes for code
which is more understandable.
2021-12-08 11:56:20 +01:00
958a2e366f tweak: Moved state variable to comparisonView body 2021-12-08 11:34:28 +01:00
f134df4b0a tweak: Extracted some buildRow functionality to its own function
Note: More difficult than it sounds given the constraint
that I want to preserve functionality.
2021-12-08 11:30:13 +01:00
f82043d24a tweak: Small convenience fixes 2021-12-08 11:20:03 +01:00
22bb8610e1 0.6.1 2021-12-08 00:45:04 +01:00
ed59faafe1 tweak: Asynchronous refactoring 2021-12-08 00:44:55 +01:00
b99aa05318 0.6.0 2021-12-07 23:46:26 +01:00
54111831ca feat: Implemented O(n) => O(log2(n)) speedup. 2021-12-07 23:45:55 +01:00
74d1f2be23 feat: Produce an O(n) to O(log2(n)) improvement in findPaths
Details: The findPathsInner function in lib/findPaths.js is too
expensive, and has a tendency to throw "too much recursion" errors.
However, it can be optimized. In particular, instead of just
going through all paths, we could go in the paths in the
right direction.

Note that: The current improvements don't do that yet. I was trying
to do that at the findDistance level, but I was being dumb.
2021-12-07 20:45:19 +01:00
f8791450a2 0.5.0 2021-12-07 18:41:57 +01:00
5f0cb26db0 fix: Too much recursion error + make sure mongo request goes through.
Too much recursion error: Use a simpler table
Make sure mongo request goes through:
- Do it before the computation +
- + put the computation inside a timeout.
2021-12-07 18:40:17 +01:00
760baa30a9 tweak: prepare for refactor 2021-12-07 16:53:44 +01:00
300806112c tweak: prepare for refactor 2021-12-07 16:52:56 +01:00
ad66c33eb8 fix: Updated caniuse lite 2021-12-07 16:49:07 +01:00
2b9ce6e142 Change expected/max calculation when changing the dataset 2021-11-28 15:46:54 +00:00
56bab8f861 feat: Added expected and maximum number of comparisons 2021-11-28 15:33:19 +00:00
a15965c9ba fix: Fixed annoying display bug 2021-11-26 14:31:30 +00:00
fcc28c19aa feat: Added alert after comparisons are completed 2021-11-25 16:21:18 +00:00
530589bbc0 tweak 2021-11-25 16:13:38 +00:00
427bb9b231 tweak 2021-11-25 16:04:28 +00:00
ecd2476112 tweak: Additional UX improvements 2021-11-25 15:56:48 +00:00
b9a4a371fc fix: Aesthetics 2021-11-25 15:49:58 +00:00
a154b34100 fix: Make interface nicer 2021-11-25 15:32:22 +00:00
7ae03e791b feat: Refactoring to make index.js and research.js use the same function 2021-11-25 15:31:10 +00:00
e3832ad202 fix: minor improvements 2021-11-25 15:08:20 +00:00
efbd28fcbf fix: UX improvements 2 2021-11-25 14:02:45 +00:00
1180d167c9 tweak: UX improvements to research 2021-11-25 13:54:21 +00:00
c04bf0649d tweak: UX improvements 2021-11-25 13:52:10 +00:00
04f7330c72 tweak 2021-11-25 13:25:24 +00:00
fa79a1f6fe tweak: Add one more item 2021-11-25 12:06:02 +00:00
dc0af5902d feat: Added reasoning field 2021-11-25 11:58:50 +00:00
519b5da763 tweak: Added more items to research comparison 2021-11-25 11:37:48 +00:00
c1ae86b100 tweak: Small reorganizing 2021-11-25 11:09:17 +00:00
639e7e793b feat: Updated the research page as well 2021-11-25 10:45:35 +00:00
b40727c9df tweaks: Id now alphabetical strings rather than numbers 2021-11-25 09:01:31 +00:00
65b670c9d7 fix: Fixed bug for values <1 2021-11-25 01:29:18 +00:00
f7f77b5723 tweak: More informative error messages 2021-11-25 00:50:28 +00:00
3d380e4dfa Change slider to text field 2021-11-25 00:42:34 +00:00
26743ee05e fix: Display '1x' rather than '1/1x' 2021-11-15 13:40:20 +00:00
f0525245de fix: Correct decimal places, rather than rounding to the nearest 0.01 2021-11-08 21:09:06 +00:00
9eeb35f998 fix: aesthetics 2021-10-06 17:10:05 +02:00
7d47a76d21 fix: graph display 2021-10-06 16:05:11 +02:00
9b32fec522 fix: Fix error in readme 2021-10-06 14:14:18 +02:00
7f8c1e3c45 fix: Expand a bit on the README 2021-10-06 13:29:09 +02:00
7c97a67a7b feat: Cleaned up display, added research comparisons 2021-10-06 13:00:09 +02:00
9fc500bb20 chore: Update links to more information about GW moral goods 2021-10-06 12:18:23 +02:00
7d87865714 fix: more aesthetics 2021-10-06 10:54:40 +02:00
17a9cf799c fix: aesthetics 2021-10-06 10:51:27 +02:00
51dbbc4b50 fix: uncompleted merge 2021-10-06 10:39:39 +02:00
9ed0f33c0a fix: small bug 2021-10-06 10:33:54 +02:00