Lift Wing API/Reference/Revscoring Score object
The revision score represents the result of executing a revscoring model with a specific wiki revision ID.
Example
{
"enwiki": {
"models": {
"goodfaith": {
"version": "0.5.1"
}
},
"scores": {
"12345": {
"goodfaith": {
"score": {
"prediction": true,
"probability": {
"false": 0.07396339218373627,
"true": 0.9260366078162637
}
}
}
}
}
}
}
Schema
wiki-code
required string |
String identifying the target Wiki. Example: "enwiki". |
model-name
required string |
String identifying the model that generated the score. Example "goodfaith". |
revision-id
required string |
String representing the Wiki revision id. Example "12345". |
prediction required multiple types |
The output depends on the model that generated it. It can be:
|
probability
required map |
A map structure representing the result of the score (highly depends on the model that generated it). |