Go to file
2022-01-29 16:06:16 -05:00
data feat: Refactoring to make index.js and research.js use the same function 2021-11-25 15:31:10 +00:00
lib fix: Formatting + avg => geomMean 2022-01-29 16:06:16 -05:00
pages fix: munging around with tailwinds configuration 2021-12-08 13:49:29 +01:00
public MVP with just an ordering, but no quantitative estimates 2021-06-06 23:14:05 +02:00
styles fix: munging around with tailwinds configuration 2021-12-08 13:49:29 +01:00
.gitignore feat: Added expected and maximum number of comparisons 2021-11-28 15:33:19 +00:00
netlify.toml fix: install netlify plugin 2022-01-28 15:51:29 -05:00
package-lock.json fix: install netlify plugin 2022-01-28 15:51:29 -05:00
package.json fix: install netlify plugin 2022-01-28 15:51:29 -05:00
postcss.config.js fix: munging around with tailwinds configuration 2021-12-08 13:49:29 +01:00
README.md fix: install netlify plugin 2022-01-28 15:51:29 -05:00
tailwind.config.js fix: munging around with tailwinds configuration 2021-12-08 13:49:29 +01: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 (numerical) id is also internally required but it's created on the fly. 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.

So internally this would look like:

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

Netlify

https://github.com/netlify/netlify-plugin-nextjs/#readme