Go to file
2021-10-06 14:14:18 +02:00
lib feat: Cleaned up display, added research comparisons 2021-10-06 13:00:09 +02:00
pages fix: Expand a bit on the README 2021-10-06 13:29:09 +02:00
public MVP with just an ordering, but no quantitative estimates 2021-06-06 23:14:05 +02:00
styles Changed slider order. Inferred relative utility compared to a reference point. However, object structures used in the code remain messy 2021-06-10 21:59:48 +02:00
.gitignore chore: Save before npm audit fix 2021-09-22 22:24:31 +02:00
package-lock.json fix: attempt merge 2021-10-06 10:32:17 +02:00
package.json Removed mongo integration 2021-09-23 00:17:53 +02:00
postcss.config.js MVP with just an ordering, but no quantitative estimates 2021-06-06 23:14:05 +02:00
README.md fix: Fix error in readme 2021-10-06 14:14:18 +02:00
tailwind.config.js MVP with just an ordering, but no quantitative estimates 2021-06-06 23:14:05 +02:00

About

This repository creates a react webpage that allows to extract a utility function from possibly inconsistent binary comparisons

Object structure

The core structure is json array of objects. Only the "name" attribute is required; the id is also internally required but it's created on the fly if it doesn't exist. The reason that ids are needed is that comparing objects is annoying.

The isReferenceValue property determines the display at the end, but it is optional.

[
    {
        "id": 1,
        "name": "Peter Parker",
        "someOptionalKey": "...",
        "anotherMoreOptionalKey": "...",
        "isReferenceValue": true
    },
    {
        "id": 2,
        "name": "Spiderman",
        "someOptionalKey": "...",
        "anotherMoreOptionalKey": "..."
    }
]