Research talk:Revision scoring as a service/Work log/2016-07-06
Add topicAppearance
Latest comment: 8 years ago by Ladsgroup in topic Wednesday, July 6, 2016
Wednesday, July 6, 2016
[edit]New frwiki labeling campaign
[edit]sudo -u www-data /srv/wikilabels/venv/bin/wikilabels new_campaign frwiki "Modifier la qualité (5k échantillon aléatoire, 2016)" damaging_and_goodfaith DiffToPrevious 50 tail -n +2 cat ~/datasets/frwiki.revisions_for_review.5k_2016.tsv | cut -f1 | sed -r 's/(.*)/{"rev_id": \1}/' | sudo -u www-data ../venv/bin/wikilabels task_inserts 38
Everything works just fine. Set old campaign as inactive:
psql -h wikilabels-database --user u_wikilabels u_wikilabels -W -c "update campaign set active = 'f' where id = 9;"