File size: 2,765 Bytes
2179dee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
  "format": "decision-ai/option-reader@1",
  "name": "typestrict multi-task model",
  "license": "apache-2.0",
  "files": {
    "model": "onnx/model_8bit.onnx",
    "tokenizer": "tokenizer.json"
  },
  "sha256": {
    "onnx/model_8bit.onnx": "5f61cf8beeb8cdc2f2d112549f0a66ff42f75e05fc216f4c8e2d0766d9815891",
    "tokenizer.json": "858fe1cd418807d6c71c01e24b6d3239a224a1e3c995472fef20841e09eab056"
  },
  "max_length": 7999,
  "pad_multiple": 64,
  "tokens": {
    "cls": "[CLS]",
    "sep": "[SEP]",
    "pad": "[PAD]",
    "option": "[OPT]"
  },
  "question_types": {
    "noul": 0,
    "choice": 1,
    "score": 2
  },
  "noul_false_default": "A afirmação não se aplica.",
  "inputs": {
    "ids": "ids",
    "pad_mask": "pad_mask",
    "option_positions": "opt_positions",
    "option_mask": "opt_mask",
    "question_type": "qtype"
  },
  "outputs": {
    "logits": "logits",
    "confidence_logit": "conf_logit"
  },
  "calibration": {
    "temperature": null,
    "platt": null
  },
  "truncation": {
    "max_length": 4096,
    "max_criterion_tokens": 160
  },
  "tasks": [
    {
      "name": "pr-descricao-noul",
      "kind": "noul",
      "question": "Does the code change do what the pull request description says?",
      "options": [
        "No, the diff does something different from the description.",
        "Yes, the diff implements what the description says."
      ]
    },
    {
      "name": "prg-complexidade",
      "kind": "choice",
      "question": "How hard is this change to review?",
      "options": [
        "Trivial: a few lines in one place",
        "Small: a short, focused change",
        "Medium: several files or some new branching logic",
        "Large: many lines or files, or a lot of new branching",
        "Very large: hundreds of lines across many files with much new logic"
      ]
    },
    {
      "name": "prg-quebra",
      "kind": "noul",
      "question": "Does this change break compatibility for the users of this code?",
      "options": [
        "No, existing users keep working without changes.",
        "Yes, existing users must change their code or configuration."
      ]
    },
    {
      "name": "prg-testes",
      "kind": "noul",
      "question": "Do the tests in this change cover the changed code?",
      "options": [
        "No, the change needs tests and the ones included do not cover it.",
        "Yes, the tests in the change exercise the changed code."
      ]
    },
    {
      "name": "prg-vul",
      "kind": "noul",
      "question": "Does this code change introduce a security vulnerability?",
      "options": [
        "No, the change does not introduce a security vulnerability.",
        "Yes, the change introduces a security vulnerability."
      ]
    }
  ]
}