Taimwe commited on
Commit
3bc8488
·
verified ·
1 Parent(s): 66603dd

Add evaluation report

Browse files
Files changed (1) hide show
  1. eval-report.json +99 -8
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-25T10:38:09Z",
5
  "sections": [
6
  {
7
  "section": "tool_calls",
@@ -12,9 +12,9 @@
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",
@@ -3639,10 +3639,101 @@
3639
  },
3640
  {
3641
  "section": "code_sanity",
3642
- "n_prompts": 0,
3643
- "ast_rate": 0.0,
3644
- "compile_rate": 0.0,
3645
- "details": []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3646
  },
3647
  {
3648
  "section": "security_mcq",
 
1
  {
2
  "adapter": "Taimwe/securecoder-30b-pro",
3
  "base": "unsloth/Qwen3-Coder-30B-A3B-Instruct",
4
+ "when": "2026-09-25T11:02:30Z",
5
  "sections": [
6
  {
7
  "section": "tool_calls",
 
12
  },
13
  {
14
  "section": "code_sanity",
15
+ "n_prompts": 15,
16
+ "ast_rate": 0.06666666666666667,
17
+ "compile_rate": 0.06666666666666667
18
  },
19
  {
20
  "section": "security_mcq",
 
3639
  },
3640
  {
3641
  "section": "code_sanity",
3642
+ "n_prompts": 15,
3643
+ "ast_rate": 0.06666666666666667,
3644
+ "compile_rate": 0.06666666666666667,
3645
+ "details": [
3646
+ {
3647
+ "prompt": "Write a Python function `def is_palindrome(s: str) -> bool:`",
3648
+ "ast_ok": null,
3649
+ "compile_ok": null,
3650
+ "reply_first_160": "```python\\n```"
3651
+ },
3652
+ {
3653
+ "prompt": "Write a Python function `def merge_intervals(intervals: list",
3654
+ "ast_ok": false,
3655
+ "compile_ok": null,
3656
+ "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 #"
3657
+ },
3658
+ {
3659
+ "prompt": "Write a Python function `def two_sum(nums: list[int], target",
3660
+ "ast_ok": null,
3661
+ "compile_ok": null,
3662
+ "reply_first_160": "```python\\n```"
3663
+ },
3664
+ {
3665
+ "prompt": "Write a Python function `def flatten(nested: list) -> list:`",
3666
+ "ast_ok": true,
3667
+ "compile_ok": true,
3668
+ "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))"
3669
+ },
3670
+ {
3671
+ "prompt": "Write a Python function `def parse_csv_line(line: str) -> li",
3672
+ "ast_ok": false,
3673
+ "compile_ok": null,
3674
+ "reply_first_160": "```python\\nimport csv\\n\\ndef parse_csv_line(line: str) -> list[str]:\\n reader = csv.reader([line], dialect='excel', quoting=csv.QUOTE_MINIMAL)\\n return ne"
3675
+ },
3676
+ {
3677
+ "prompt": "Write a Python function `def lru_cache(k: int):` returning a",
3678
+ "ast_ok": false,
3679
+ "compile_ok": null,
3680
+ "reply_first_160": "```python\\nfrom collections import OrderedDict\\ndef lru_cache(k: int):\\n def decorator(func):\\n cache = OrderedDict()\\n def wrapper(*args, **kw"
3681
+ },
3682
+ {
3683
+ "prompt": "Write a Python function `def is_anagram(a: str, b: str) -> b",
3684
+ "ast_ok": null,
3685
+ "compile_ok": null,
3686
+ "reply_first_160": "```python\\n```"
3687
+ },
3688
+ {
3689
+ "prompt": "Write a Python function `def topological_order(graph: dict[s",
3690
+ "ast_ok": false,
3691
+ "compile_ok": null,
3692
+ "reply_first_160": "```python\\ndef topological_order(graph: dict[str, list[str]]) -> list[str] | None:\\n # Create a set of all nodes in the graph\\n nodes = set(graph.keys())\\"
3693
+ },
3694
+ {
3695
+ "prompt": "Write a Python function `def tokenise(s: str) -> list[str]:`",
3696
+ "ast_ok": null,
3697
+ "compile_ok": null,
3698
+ "reply_first_160": "```python\\n```\n"
3699
+ },
3700
+ {
3701
+ "prompt": "Write a Python function `def slugify(text: str) -> str:` pro",
3702
+ "ast_ok": false,
3703
+ "compile_ok": null,
3704
+ "reply_first_160": "```python\\nfrom unicodedata import normalize\\n\\ndef slugify(text: str) -> str:\\n # Normalize the text to NFKD form\\n normalized = normalize('NFKD', text)\\"
3705
+ },
3706
+ {
3707
+ "prompt": "Write a Python function `def read_jsonl(path: str) -> list[d",
3708
+ "ast_ok": false,
3709
+ "compile_ok": null,
3710
+ "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"
3711
+ },
3712
+ {
3713
+ "prompt": "Write a Python function `def binary_search(arr: list[int], t",
3714
+ "ast_ok": null,
3715
+ "compile_ok": null,
3716
+ "reply_first_160": "```python\\n```"
3717
+ },
3718
+ {
3719
+ "prompt": "Write a Python function `def unique_in_order(s: str) -> list",
3720
+ "ast_ok": null,
3721
+ "compile_ok": null,
3722
+ "reply_first_160": "```python\\n result = []\\n for i, char in enumerate(s):\\n if not result or result[-1] != char:\\n result.append(char)\\n return result\\n"
3723
+ },
3724
+ {
3725
+ "prompt": "Write a Python function `def safe_eval(expr: str) -> int:` e",
3726
+ "ast_ok": false,
3727
+ "compile_ok": null,
3728
+ "reply_first_160": "```python\\n\\ndef safe_eval(expr: str) -> int:\\n def tokenize(s):\\n tokens = []\\n i = 0\\n while i < len(s):\\n if s[i].isdigit("
3729
+ },
3730
+ {
3731
+ "prompt": "Write a Python function `def dedupe_preserve_order(items: li",
3732
+ "ast_ok": null,
3733
+ "compile_ok": null,
3734
+ "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)\\"
3735
+ }
3736
+ ]
3737
  },
3738
  {
3739
  "section": "security_mcq",