kohler / hotcrp

HotCRP conference review software
http://read.seas.harvard.edu/~kohler/hotcrp
Other
328 stars 111 forks source link

JSON download contains inconsistent field names #327

Closed VictorLeP closed 1 month ago

VictorLeP commented 11 months ago

Site: https://sec24summerae.usenix.hotcrp.com/

When I do a download of "Paper information" > "JSON", the resulting JSON has (a.o.) these three fields:

        "artifacts_available_badge": true,
        "artifacts_functional_badge": true,
        "opt5": true,

which correspond to these three entries on the submission form: Schermafdruk van 2023-11-02 11-29-46

I checked in the advanced settings that the "Results Reproduced" badge entry indeed has as its ID 5, and the values correspond to what I see on the website.

The question is: why are the JSON field names for the first two entries "readable", i.e., based on their name on the submission form, while for the third entry it defaults to opt{ID}? I've looked through the (advanced) settings, but I do not see something that suggests I can configure these field names myself.

kohler commented 11 months ago

This is an ambiguity issue with your review form. You have:

Because the review field & the submission field for “results reproduced badge” have the same name (ignoring punctuation and case), HotCRP gives up abbreviating them and reverts to ID-based names. You lucked out with the artifact badges because of singular vs. plural. You're right that the supported keywords are not currently configurable.

VictorLeP commented 11 months ago

Ah, makes sense, thanks for the explanation!

Should I close the issue because my question is answered, or leave it open to track "supported keywords are not currently configurable"?