Ranker tag, used to ranking models

Ranker has a complex mechanics and uses only the “prediction” field from the input task,
please explore input task example carefully.

It renders given list of strings and allows to drag and reorder them.
To see this tag in action you have to use Input task example json below as task
on “Import” page:
1) setup given config,
2) go to Import,
3) copy-paste json to the input field and submit,
4) start the labeling.


Param Type Default Description
name string of group
[axis] y | x y axis direction
sortedHighlightColor string sorted color


  <Text name="txt-1" value="$text"></Text>
  <Ranker name="ranker-1" toName="txt-1" ranked="true" sortedHighlightColor="red"></Ranker>


Input task example

  "data": {
    "text": "Some text for ranker"
  "predictions": [{
    "model_version": "1564027355",
    "result": [{
      "from_name": "ranker-1",
      "to_name": "ranker-1",
      "type": "ranker",
      "value": {
        "items": ["abc", "def", "ghk", "more more more", "really long text"],
        "weights": [1.00, 0.78, 0.75, 0.74, 0.74],
        "selected": [false, false, false, false, false]
    "score": 1.0