File size: 3,983 Bytes
ce4887a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
  "evaluation": "predict_fix_v65_v2",
  "user_requirement": "os strings 'gato' e 'cachorro' são fixos quando deveriam ser extrações variáveis e flexíveis de rótulos proveniente de dados dos datasets anteriormente treinados",
  "n_test_queries": 6,
  "results": [
    {
      "query": "o gato dorme na cama",
      "prediction": "short_text",
      "probability": 0.4133017063140869,
      "is_gato_hardcoded": false,
      "is_cachorro_hardcoded": false,
      "is_registry_label": true,
      "is_default_label": false
    },
    {
      "query": "calcule dois mais dois",
      "prediction": "long_text",
      "probability": 0.5006099939346313,
      "is_gato_hardcoded": false,
      "is_cachorro_hardcoded": false,
      "is_registry_label": true,
      "is_default_label": false
    },
    {
      "query": "qual é a capital do brasil",
      "prediction": "long_text",
      "probability": 0.5814295411109924,
      "is_gato_hardcoded": false,
      "is_cachorro_hardcoded": false,
      "is_registry_label": true,
      "is_default_label": false
    },
    {
      "query": "explique o que é uma rede neural",
      "prediction": "long_text",
      "probability": 0.5864738821983337,
      "is_gato_hardcoded": false,
      "is_cachorro_hardcoded": false,
      "is_registry_label": true,
      "is_default_label": false
    },
    {
      "query": "olá como você está",
      "prediction": "short_text",
      "probability": 0.37604132294654846,
      "is_gato_hardcoded": false,
      "is_cachorro_hardcoded": false,
      "is_registry_label": true,
      "is_default_label": false
    },
    {
      "query": "traduza hello para portugues",
      "prediction": "long_text",
      "probability": 0.5700568556785583,
      "is_gato_hardcoded": false,
      "is_cachorro_hardcoded": false,
      "is_registry_label": true,
      "is_default_label": false
    }
  ],
  "per_dataset_results": [
    {
      "dataset": "dominguesm/restore-punctuation-ptbr-dataset",
      "expected_labels": [
        "unpunctuated",
        "punctuated"
      ],
      "prediction": "punctuated",
      "valid_for_dataset": true
    },
    {
      "dataset": "carolina-c4ai/corpus-carolina",
      "expected_labels": [
        "raw_corpus",
        "normalized_text"
      ],
      "prediction": "normalized_text",
      "valid_for_dataset": true
    },
    {
      "dataset": "CEIA-POSITIVO/ultrachat_br_clustred_balanced_v1",
      "expected_labels": [
        "user_turn",
        "assistant_turn"
      ],
      "prediction": "assistant_turn",
      "valid_for_dataset": true
    },
    {
      "dataset": "dominguesm/Canarim-Instruct-PTBR-Dataset",
      "expected_labels": [
        "instruction",
        "response"
      ],
      "prediction": "response",
      "valid_for_dataset": true
    },
    {
      "dataset": "adalbertojunior/punctuation-ptbr",
      "expected_labels": [
        "unpunctuated",
        "punctuated"
      ],
      "prediction": "punctuated",
      "valid_for_dataset": true
    },
    {
      "dataset": "iara-project/news-articles-ptbr-dataset",
      "expected_labels": [
        "headline",
        "body"
      ],
      "prediction": "body",
      "valid_for_dataset": true
    },
    {
      "dataset": "manoela/noticias_ptbr",
      "expected_labels": [
        "headline",
        "body"
      ],
      "prediction": "body",
      "valid_for_dataset": true
    },
    {
      "dataset": "BrunoN-Dev/corpus-ptbr-v1",
      "expected_labels": [
        "short_text",
        "long_text"
      ],
      "prediction": "long_text",
      "valid_for_dataset": true
    }
  ],
  "summary": {
    "n_returns_gato": 0,
    "n_returns_cachorro": 0,
    "n_returns_registry_label": 6,
    "n_returns_default_label": 0,
    "hardcoded_bug_present": false,
    "predict_fix_verified": true
  },
  "quality_assessment": {
    "fix_status": "PASS",
    "note": "predict() não retorna mais 'gato'/'cachorro' fixos — usa label_registry dinâmico."
  }
}