Jump to content

Research talk:Automated classification of edit quality/Work log/2016-04-02

Add topic
From Meta, a Wikimedia project coordination wiki

Saturday, April 2, 2016

[edit]

Today, I'm loading up an editquality campaign for arwiki. Luckily, I was able to get 2.5k edits in need of review from the original 20k sample, so we're good to go.

u_wikilabels=> INSERT INTO campaign (name, wiki, form, view, created, labels_per_task, tasks_per_assignment, active) VALUES ('عدل التصنيف في ال 20 ألف عينة', 'arwiki', 'damaging_and_goodfaith', 'DiffToPrevious', NOW(), 1, 50, True);
INSERT 0 1
u_wikilabels=> SELECT id, name FROM campaign WHERE wiki = 'arwiki';
 id |             name              
----+-------------------------------
 30 | عدل التصنيف في ال 20 ألف عينة
(1 row)

Simple enough.

$ cat ../datasets/arwiki.revisions_for_review.5k_2016.tsv | /srv/wikilabels/venv/bin/wikilabels task_inserts 30 | psql -h wikilabels-database --user u_wikilabels u_wikilabels -W 
Password for user u_wikilabels: 
INSERT 0 4977

And it looks like we are done. See ar:ويكيبيديا:تعيين --EpochFail (talk) 15:38, 2 April 2016 (UTC)Reply