Research talk:Revision scoring as a service/Work log/2016-07-06

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

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;"

[1] Amir (talk) 21:55, 6 July 2016 (UTC)Reply[reply]