YaleDHLab / ensemble-at-yale

Crowdsourcing the transcription of Yale playbills - http://bit.ly/ensemble-at-yale
http://ensemble.yale.edu
MIT License
6 stars 4 forks source link

Increase transcription threshold to 3 for retirement #149

Closed pleonard212 closed 6 years ago

pleonard212 commented 6 years ago

Put retired plays back to work

duhaime commented 6 years ago

Reading through this app, it appears this is set by db.workflows.findOne({'name': 'transcribe'}).generates_subjects_after, currently set to 1.

This was correctly set via the configuration for the transcribe step.

I'm remembering now we only needed to change retirement from mark because we had multiple subjects that belong to a subject set--we didn't need to touch the transcription retirement logic.

duhaime commented 6 years ago

This seems to be resolved simply via mongo:

db.workflows.update({'name': 'transcribe'}, {$set: {'generates_subjects_after': 3}})

> db.workflows.findOne({'name': 'transcribe'}).generates_subjects_after
3
duhaime commented 6 years ago

To unretire everyone, we can use:

db.subject_set_first_pages.update({}, {$set: {'retired_from_mark': 0, 'retired_from_transcribe': 0}}, {multi: true})
db.subject_sets.update({}, {$set: {'retired_from_mark': 0, 'retired_from_transcribe': 0}}, {multi: true})
duhaime commented 6 years ago

@pleonard212 @lindsaymking This should be all set. If you find an obscure record with no marks or transcriptions and add a new mark to it, then transcribe that record 3 times, then try to transcribe the record again, you should find your new mark no longer appears to be transcribed.

pleonard212 commented 6 years ago

Thanks!