jfbrown95 commited on
Commit
4c7eaec
·
verified ·
1 Parent(s): 3fe5a6d

Make benchmark metrics easier to read

Browse files
Files changed (1) hide show
  1. README.md +13 -1
README.md CHANGED
@@ -12,7 +12,11 @@ The pairs come from open-source projects in Rust, JavaScript, TypeScript, Python
12
 
13
  ## Reading the results
14
 
15
- AP (average precision) measures ranking across score cutoffs. For the other metrics, a score of at least 0.5 counts as an alert. Precision is the share of alerts that are correct; recall is the share of issue-bearing methods found; F1 is their harmonic mean. TP is a correct alert, FP a false alert, and FN a missed issue. Pair order is the share of eligible before/after pairs where the before method scores higher than the fixed after method; ties do not count as correct. Each table is ranked by F1 at 0.5. Bold marks the best value in each column (lowest for FP and FN).
 
 
 
 
16
 
17
  ## Bugs
18
 
@@ -27,6 +31,8 @@ AP (average precision) measures ranking across score cutoffs. For the other metr
27
  | [JevK5](https://huggingface.co/alibiserikbay/JevK5) | 44.1% | 47.5% | 7.6% | 13.1% | 141 | 156 | 1720 | 32.1% |
28
  | [jev-lite](https://huggingface.co/vagmi/jev-lite) | 43.7% | 44.8% | 2.3% | 4.4% | 43 | **53** | 1818 | 22.4% |
29
 
 
 
30
  ### Private — 498 pairs
31
 
32
  | Model | AP | Precision at 0.5 | Recall at 0.5 | F1 at 0.5 | TP | FP | FN | Pair order |
@@ -36,6 +42,8 @@ AP (average precision) measures ranking across score cutoffs. For the other metr
36
  | [JevK5](https://huggingface.co/alibiserikbay/JevK5) | 45.8% | 46.4% | 9.2% | 15.4% | 39 | 45 | 385 | 32.7% |
37
  | [jev-lite](https://huggingface.co/vagmi/jev-lite) | 45.2% | **60.0%** | 3.5% | 6.7% | 15 | **10** | 409 | 22.7% |
38
 
 
 
39
  ## Security
40
 
41
  ### Public — 1,311 pairs
@@ -49,6 +57,8 @@ AP (average precision) measures ranking across score cutoffs. For the other metr
49
  | [Jev](https://typesafe.ai/blog/introducing-system-one-models-and-jev) | **49.2%** | **54.4%** | 10.2% | 17.2% | 117 | 98 | 1025 | 40.5% |
50
  | [jev-lite](https://huggingface.co/vagmi/jev-lite) | 43.3% | 36.0% | 3.2% | 5.8% | 36 | **64** | 1106 | 22.9% |
51
 
 
 
52
  ### Private — 439 pairs
53
 
54
  | Model | AP | Precision at 0.5 | Recall at 0.5 | F1 at 0.5 | TP | FP | FN | Pair order |
@@ -58,6 +68,8 @@ AP (average precision) measures ranking across score cutoffs. For the other metr
58
  | [Jev](https://typesafe.ai/blog/introducing-system-one-models-and-jev) | **48.9%** | **52.6%** | 2.5% | 4.8% | 10 | **9** | 388 | 36.2% |
59
  | [jev-lite](https://huggingface.co/vagmi/jev-lite) | 47.3% | 43.8% | 1.8% | 3.4% | 7 | **9** | 391 | 29.4% |
60
 
 
 
61
  † CLM-v0.1-8B uses its choice head with a 6,144-token encoder. All models are scored on the same method sides and labels within each track.
62
 
63
  ## Files
 
12
 
13
  ## Reading the results
14
 
15
+ - **AP (average precision):** How well the model ranks issue-bearing methods across all score cutoffs.
16
+ - **0.5 cutoff:** A score of at least 0.5 counts as an alert for precision, recall, F1, TP, FP, and FN.
17
+ - **Precision, recall, and F1:** Precision is the share of alerts that are correct. Recall is the share of actual issues found. F1 combines both into one score.
18
+ - **TP, FP, and FN:** Correct alerts, false alerts, and missed issues, respectively.
19
+ - **Pair order:** The share of eligible before/after pairs where the issue-bearing before method scores higher than the fixed after method. Ties do not count as correct.
20
 
21
  ## Bugs
22
 
 
31
  | [JevK5](https://huggingface.co/alibiserikbay/JevK5) | 44.1% | 47.5% | 7.6% | 13.1% | 141 | 156 | 1720 | 32.1% |
32
  | [jev-lite](https://huggingface.co/vagmi/jev-lite) | 43.7% | 44.8% | 2.3% | 4.4% | 43 | **53** | 1818 | 22.4% |
33
 
34
+ _Sorted by F1 at 0.5. Bold marks the best value in each column; fewer FP and FN are better._
35
+
36
  ### Private — 498 pairs
37
 
38
  | Model | AP | Precision at 0.5 | Recall at 0.5 | F1 at 0.5 | TP | FP | FN | Pair order |
 
42
  | [JevK5](https://huggingface.co/alibiserikbay/JevK5) | 45.8% | 46.4% | 9.2% | 15.4% | 39 | 45 | 385 | 32.7% |
43
  | [jev-lite](https://huggingface.co/vagmi/jev-lite) | 45.2% | **60.0%** | 3.5% | 6.7% | 15 | **10** | 409 | 22.7% |
44
 
45
+ _Sorted by F1 at 0.5. Bold marks the best value in each column; fewer FP and FN are better._
46
+
47
  ## Security
48
 
49
  ### Public — 1,311 pairs
 
57
  | [Jev](https://typesafe.ai/blog/introducing-system-one-models-and-jev) | **49.2%** | **54.4%** | 10.2% | 17.2% | 117 | 98 | 1025 | 40.5% |
58
  | [jev-lite](https://huggingface.co/vagmi/jev-lite) | 43.3% | 36.0% | 3.2% | 5.8% | 36 | **64** | 1106 | 22.9% |
59
 
60
+ _Sorted by F1 at 0.5. Bold marks the best value in each column; fewer FP and FN are better._
61
+
62
  ### Private — 439 pairs
63
 
64
  | Model | AP | Precision at 0.5 | Recall at 0.5 | F1 at 0.5 | TP | FP | FN | Pair order |
 
68
  | [Jev](https://typesafe.ai/blog/introducing-system-one-models-and-jev) | **48.9%** | **52.6%** | 2.5% | 4.8% | 10 | **9** | 388 | 36.2% |
69
  | [jev-lite](https://huggingface.co/vagmi/jev-lite) | 47.3% | 43.8% | 1.8% | 3.4% | 7 | **9** | 391 | 29.4% |
70
 
71
+ _Sorted by F1 at 0.5. Bold marks the best value in each column; fewer FP and FN are better._
72
+
73
  † CLM-v0.1-8B uses its choice head with a 6,144-token encoder. All models are scored on the same method sides and labels within each track.
74
 
75
  ## Files