cmu-lib / dhweb_app

Application for editing, searching, and browsing historical DH conference abstracts
https://dh-abstracts.library.cmu.edu
MIT License
4 stars 1 forks source link

Sanity checks for the underlying data? #569

Open christofs opened 2 years ago

christofs commented 2 years ago

Not sure this is quite the right place for this idea, but it could be helpful to implement some sanity checks for the data presented by the web app. Just one example: the conferences have the properties "start_date" and "end_date" and a sanity check could be created by calculating the duration of the conference from this data. If the duration is less than 1 day and more than 10 days, or cannot be calculated, something might be wrong with these properties.

Doing this in this case yielded the following "interesting" items with less than 1 day duration:

Larger 10:

scottbot commented 2 years ago

@christofs Sure this works. I'd love to do this in v2, though we don't have the development capacity now to make it happen. That said, I've gone in and manually corrected what you spotted, so thanks for bringing this up! (Strangely, conference 404 was accurate so far as I can tell; 21 day duration. Not sure the deal with that one.)