cestastanford / grandtour

Apache License 2.0
4 stars 2 forks source link

Fixing travel date query error #295

Closed raagavi158 closed 1 year ago

raagavi158 commented 1 year ago

Fixing the query matching statement that was causing this error:

"if one does a search in the Explorer for travelers who were in Rome in June 1752 one gets 51 results which all make sense (I have gone through them all individually) but one does not get entry 897, for James Caulfield 4th viscount Charlemont (https://grandtourexplorer.wc.reclaim.cloud/#/entries/897 ), whom I know was in Rome then, but most importantly it is someone whose data in the Explorer show him to be in Rome at that time: why is he missing? "

Screen Shot 2023-05-04 at 10 19 07 PM
epicfaace commented 1 year ago

@raagavi158 Can you explain a bit more in the PR how you solved it?

epicfaace commented 1 year ago

Also you need to update snapshots (https://github.com/cestastanford/grandtour/actions/runs/4890270184/jobs/8729531969?pr=295). You can do so by running npm run test -- -u.

epicfaace commented 1 year ago

@raagavi158 what are you thinking we should do for this PR?

raagavi158 commented 1 year ago

@epicfaace I think we should push this since it doesn't necessarily return false positives and then maybe work on fine-tuning. Thoughts?

epicfaace commented 1 year ago

@epicfaace I think we should push this since it doesn't necessarily return false positives and then maybe work on fine-tuning. Thoughts?

Are you sure it doesn't necessarily return false positives? If so, yeah, let's push it.