ORES/ru

ORES (/ɔɹz/)  – сервис, предназначенный для оценки правок. Содержит в себе веб-сервис и API, которые предоставляют машинное обучение как сервис для Wikimedia проектов, управляется Scoring Platform team. Система разработана для того, чтобы автоматизировать критическую вики-работу – например, обнаружение вандализма и его удаление. На данный момент имеется два типа оценки, предоставляемых ORES: "качество правки" и "качество статьи".

Сам по себе ORES является лишь бэкэнд-сервисом и не предоставляет прямого способа использовать такие оценки качества. Если вы хотите воспользоваться оценками ORES, просмотрите список инструментов, которые используют их. Если ORES ещё не поддерживает вашу вики, см. инструкции для запроса поддержки.

Ищите ответы на свои вопросы по ORES? Проверьте ORES ЧаВо.

Качество правки
Одной из самых серьезных проблем, связанных с открытыми проектами Викимедиа, является просмотр потенциально разрушительных правок. Помимо этого, необходимо определить добросовестных участников (которые могут непреднамеренно внести проблемную правку) и предложить им поддержку. Эти модели предназначены для упрощения фильтров канала Служебная:СвежиеПравки. Мы предлагаем два уровня поддержки моделей для предсказания качества редактирования: базовую и расширенную.

Базовая поддержка
Предполагая, что наиболее разрушительные правки будут откачены, а правки, которые не повреждают, не будут, модель строится на использовании истории правок (в том числе отмененных) из вики. Эта модель проста в настройке, но имеет одну проблему: многие правки отменяются по причинам, отличным от ущерба и вандализма. Для ее решения имеется модель, основанная на нецензурных выражениях.


 * – предсказывает, будет ли правка мгновенно отменена

Расширенная поддержка
Rather than assuming, we can ask editors to train ORES which edits are in-fact  and which edits look like they were saved in. This requires additional work on the part of volunteers in the community, but it affords a more accurate and nuanced prediction with regards to the quality of an edit. Many tools will only function when advanced support is available for a target wiki.


 * – predicts if an edit causes damage
 * – predicts whether an edit was saved in good-faith

Качество статей
Качество статей Википедии важно для её редакторов. New pages must be reviewed and curated to ensure that spam, vandalism, and attack articles do not remain in the wiki. For articles that survive the initial curation, some of the Wikipedians periodically evaluate the quality of articles, but this is highly labor intensive and the assessments are often out of date.

New article evaluation
The faster that seriously problematic types of draft articles are removed, the better. Curating new page creations can be a lot of work. Like the problem of counter-vandalism in edits, machine predictions can help curators focus on the most problematic new pages first. Based on comments left by admins when they delete pages (see the table), we can train a model to predict which pages will need quick deletion. See en:WP:CSD for a list of quick deletion reasons for English Wikipedia. For the English model, we used G3 "vandalism", G10 "attack", and G11 "spam".


 * – predicts if the article will need to be speedy deleted (spam, vandalism, attack, or OK)

Existing article assessment
For articles that survive the initial curation, some of the large Wikipedias periodically evaluate the quality of articles using a scale that roughly corresponds to the English Wikipedia 1.0 assessment rating scale ("articlequality"). Having these assessments is very useful because it helps us gauge our progress and identify missed opportunities (e.g., popular articles that are low quality). However, keeping these assessments up to date is challenging, so coverage is inconsistent. This is where the  machine learning model comes in handy. By training a model to replicate the article quality assessments that humans perform, we can automatically assess every article and every revision with a computer. This model has been used to help WikiProjects triage re-assessment work and to explore the editing dynamics that lead to article quality improvements.

The articlequality model bases its predictions on structural characteristics of the article. E.g. How many sections are there? Is there an infobox? How many references? And do the references use a cite template? The articlequality model doesn't evaluate the quality of the writing or if there's a tone problem (e.g. a point of view being pushed). However, many of the structural characteristics of articles seem to correlate strongly with good writing and tone, so the models work very well in practice.


 * – predicts the (Wikipedia 1.0-like) assessment class of an article or draft

Topic routing


ORES' article topic model applies an intuitive top-down taxonomy to any article in Wikipedia -- even new article drafts. This topic routing is useful for curating new articles, building work lists, forming new WikiProjects, and analyzing coverage gaps.

ORES topic models are trained using word embeddings of the actual content. For each language, a language-specific embedding is learned and applied natively. Since this modeling strategy depends on the topic of the article, topic predictions may differ between languages depending on the topics present in the text of the article.

New article evaluation


The biggest difficulty with reviewing new articles is finding someone familiar with the subject matter to judge notability, relevance, and accuracy. Our  model is designed to route newly created articles based on their apparent topical nature to interested reviewers. The model is trained and tested against the first revision of articles and is thus suitable to use on new article drafts.


 * – predicts the topic of an a new article draft

Topic interest mapping


The topical relatedness of articles is an important concept for the organization of work in Wikipedia. Topical working groups have become a common strategy for managing content production and patrolling in Wikipedia. Yet a high-level hierarchy is not available or query-able for many reasons. The result is that anyone looking to organize around a topic or make a work-list has to do substantial manual work to identify the relevant articles. With our  model, these queries can be done automatically.


 * – предсказывает тему статьи

Support table
The ORES support table reports the status of ORES support by wiki and model available. If you don't see your wiki listed, or support for the model you'd like to use, you can request support.

Использование API
ORES offers a Restful API service for dynamically retrieving scoring information about revisions. See https://ores.wikimedia.org for more information on how to use the API.

If you're querying the service about a large number of revisions, it's recommended to batch no more than 50 revisions within a given request as described below. It's acceptable to use up to 4 parallel requests. Please do not exceed these limits or ORES can become unstable. For even larger number of queries, you can run ORES locally

Примерный вопрос: |wp10&revids=34854345|485104318 http://ores.wikimedia.org/v3/scores/enwiki/?modelsdraftquality|wp10&revids34854345|485104318

 Example query:  https://ores.wikimedia.org/v3/scores/wikidatawiki/421063984/damaging

EventStream usage
The ORES scores are also provided as an EventStream at https://stream.wikimedia.org/v2/stream/revision-score

Локальное использование
To run ORES locally you can install the ORES Python package by:

Then you should be able to run it through:

You should see output of