Taimwe commited on
Commit
339ebde
·
verified ·
1 Parent(s): 468e5f0

Add evaluation report

Browse files
Files changed (1) hide show
  1. eval-report.json +8 -99
eval-report.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "adapter": "Taimwe/securecoder-30b-pro",
3
  "base": "unsloth/Qwen3-Coder-30B-A3B-Instruct",
4
- "when": "2026-09-25T08:49:36Z",
5
  "sections": [
6
  {
7
  "section": "tool_calls",
@@ -12,9 +12,9 @@
12
  },
13
  {
14
  "section": "code_sanity",
15
- "n_prompts": 15,
16
- "ast_rate": 0.13333333333333333,
17
- "compile_rate": 0.13333333333333333
18
  },
19
  {
20
  "section": "security_mcq",
@@ -33,101 +33,10 @@
33
  },
34
  {
35
  "section": "code_sanity",
36
- "n_prompts": 15,
37
- "ast_rate": 0.13333333333333333,
38
- "compile_rate": 0.13333333333333333,
39
- "details": [
40
- {
41
- "prompt": "Write a Python function `def is_palindrome(s: str) -> bool:`",
42
- "ast_ok": null,
43
- "compile_ok": null,
44
- "reply_first_160": "```python\\n # Remove non-alphanumeric characters and convert to lowercase\\n cleaned = ''.join(char.lower() for char in s if char.isalnum())\\n # Check i"
45
- },
46
- {
47
- "prompt": "Write a Python function `def merge_intervals(intervals: list",
48
- "ast_ok": false,
49
- "compile_ok": null,
50
- "reply_first_160": "```python\\nfrom typing import List\\n\\ndef merge_intervals(intervals: List[List[int]]) -> List[List[int]]:\\n if not intervals:\\n return []\\n \\n #"
51
- },
52
- {
53
- "prompt": "Write a Python function `def two_sum(nums: list[int], target",
54
- "ast_ok": true,
55
- "compile_ok": true,
56
- "reply_first_160": "```python\ndef two_sum(nums: list[int], target: int) -> list[int]:\n num_to_index = {}\n for i, num in enumerate(nums):\n complement = target - num\n "
57
- },
58
- {
59
- "prompt": "Write a Python function `def flatten(nested: list) -> list:`",
60
- "ast_ok": true,
61
- "compile_ok": true,
62
- "reply_first_160": "```python\ndef flatten(nested: list) -> list:\n result = []\n for item in nested:\n if isinstance(item, list):\n result.extend(flatten(item))"
63
- },
64
- {
65
- "prompt": "Write a Python function `def parse_csv_line(line: str) -> li",
66
- "ast_ok": false,
67
- "compile_ok": null,
68
- "reply_first_160": "```python\\nimport re\\n\\ndef parse_csv_line(line: str) -> list[str]:\\n # Regular expression to match CSV fields, handling quoted fields and escaped quotes\\n "
69
- },
70
- {
71
- "prompt": "Write a Python function `def lru_cache(k: int):` returning a",
72
- "ast_ok": false,
73
- "compile_ok": null,
74
- "reply_first_160": "```python\\nfrom collections import OrderedDict\\ndef lru_cache(k: int):\\n cache = OrderedDict()\\n def decorator(func):\\n def wrapper(*args, **kwargs"
75
- },
76
- {
77
- "prompt": "Write a Python function `def is_anagram(a: str, b: str) -> b",
78
- "ast_ok": null,
79
- "compile_ok": null,
80
- "reply_first_160": "```python\\n```"
81
- },
82
- {
83
- "prompt": "Write a Python function `def topological_order(graph: dict[s",
84
- "ast_ok": false,
85
- "compile_ok": null,
86
- "reply_first_160": "```python\\nfrom collections import deque\\n\\ndef topological_order(graph):\\n # Calculate in-degrees for each node\\n in_degree = {node: 0 for node in graph}"
87
- },
88
- {
89
- "prompt": "Write a Python function `def tokenise(s: str) -> list[str]:`",
90
- "ast_ok": null,
91
- "compile_ok": null,
92
- "reply_first_160": "```python\\n tokens = []\\n i = 0\\n while i < len(s):\\n if s[i].isdigit():\\n num = ''\\n while i < len(s) and s[i].isdigit():"
93
- },
94
- {
95
- "prompt": "Write a Python function `def slugify(text: str) -> str:` pro",
96
- "ast_ok": false,
97
- "compile_ok": null,
98
- "reply_first_160": "```python\\nfrom unicodedata import normalize\\n\\ndef slugify(text: str) -> str:\\n # Normalize the text to NFKD form (decomposed form)\\n normalized = normal"
99
- },
100
- {
101
- "prompt": "Write a Python function `def read_jsonl(path: str) -> list[d",
102
- "ast_ok": false,
103
- "compile_ok": null,
104
- "reply_first_160": "```python\\nimport json\\n\\ndef read_jsonl(path: str) -> list[dict]:\\n with open(path, 'r') as f:\\n for line in f:\\n yield json.loads(line)\\n"
105
- },
106
- {
107
- "prompt": "Write a Python function `def binary_search(arr: list[int], t",
108
- "ast_ok": null,
109
- "compile_ok": null,
110
- "reply_first_160": "```python\\n```"
111
- },
112
- {
113
- "prompt": "Write a Python function `def unique_in_order(s: str) -> list",
114
- "ast_ok": false,
115
- "compile_ok": null,
116
- "reply_first_160": "```python\\nfrom typing import List\\n\\ndef unique_in_order(s: str) -> List[str]:\\n if not s:\\n return []\\n result = [s[0]]\\n for i in range(1, le"
117
- },
118
- {
119
- "prompt": "Write a Python function `def safe_eval(expr: str) -> int:` e",
120
- "ast_ok": false,
121
- "compile_ok": null,
122
- "reply_first_160": "```python\\n\\ndef safe_eval(expr: str) -> int:\\n # Remove spaces from the expression\\n expr = expr.replace(' ', '')\\n \\n # Define operator precedence"
123
- },
124
- {
125
- "prompt": "Write a Python function `def dedupe_preserve_order(items: li",
126
- "ast_ok": null,
127
- "compile_ok": null,
128
- "reply_first_160": "```python\\n seen = set()\\n result = []\\n for item in items:\\n if item not in seen:\\n seen.add(item)\\n result.append(item)\\"
129
- }
130
- ]
131
  },
132
  {
133
  "section": "security_mcq",
 
1
  {
2
  "adapter": "Taimwe/securecoder-30b-pro",
3
  "base": "unsloth/Qwen3-Coder-30B-A3B-Instruct",
4
+ "when": "2026-09-25T09:13:28Z",
5
  "sections": [
6
  {
7
  "section": "tool_calls",
 
12
  },
13
  {
14
  "section": "code_sanity",
15
+ "n_prompts": 0,
16
+ "ast_rate": 0.0,
17
+ "compile_rate": 0.0
18
  },
19
  {
20
  "section": "security_mcq",
 
33
  },
34
  {
35
  "section": "code_sanity",
36
+ "n_prompts": 0,
37
+ "ast_rate": 0.0,
38
+ "compile_rate": 0.0,
39
+ "details": []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  },
41
  {
42
  "section": "security_mcq",