RESQUE-Framework / website

The Research Quality Evaluation Scheme
https://resque-framework.github.io/website/
MIT License
2 stars 3 forks source link

Scoring bug with "own data" #23

Closed nicebread closed 11 months ago

nicebread commented 11 months ago

If you add stuff under "Own data collection", you earn points. If you then switch to "No data", the fields are hidden, but you still get the points nested under "own data collection".

(How to deal with this generally? At the one hand, I like that the information stays in the hidden fields (it would be bad to re-enter everything, just because you clicked on another option on a filter item. But the points should not be given/ shown).

alpkaanaksu commented 11 months ago

Updating the conditions should be enough to fix this:

"points": [
    { "value": 1, "condition": "$P12 =|= [0, 1] && $P11 === 3" }
]

I just have to check which dependency causes the bug.