Revert risk score object

The revert risk score represents the result of executing a Revert risk model with a specific language code and wiki revision ID.

Example

{
  "model_name": "revertrisk-language-agnostic", 
  "model_version": "1",
  "wiki_db": "enwiki",
  "revision_id": 123456,
  "output": {
    "prediction": false,
    "probabilities": {
      "true": 0.3058536847305622,
      "false": 0.6941463152694378
    }
  }
}

Schema

model_name

required string

The model that generated the output. Example "revertrisk-language-agnostic".
model_version

required string

The version of the model being used. Example "1".
wiki_db

required string

String identifying the target Wiki. Example: "enwiki".
revision_id

required integer

Integer representing the Wiki revision id. Example: 123456.
prediction

required boolean

Boolean decision result. Example: true.
probabilities

required

map

Map structure representing the predicted probability of being reverted and NOT reverted.