@botbotgo/better-call 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # BetterCall
6
6
 
7
- **One-line wrapper. Five full BFCL remote runs completed. Best: 73.4% → 83.8%.**
7
+ **One-line wrapper. Six full BFCL remote runs completed. Best: 73.4% → 83.8%.**
8
8
 
9
9
  ```ts
10
10
  const tools = betterTools([searchTool, calculatorTool]);
@@ -128,25 +128,26 @@ Latest completed remote run artifact: `benchmarks/bfcl-real-remote-completed-sum
128
128
  | `qwen3.5:0.8b` | 3,625 | 54.6% | 56.9% | +2.3pp | 901 |
129
129
  | `qwen3.5:2b` | 3,625 | 53.9% | 54.9% | +1.0pp | 1,308 |
130
130
  | `lfm2.5-thinking:latest` | 3,625 | 50.8% | 54.8% | +4.0pp | 1,142 |
131
+ | `gemma4:e2b` | 3,625 | 24.3% | 24.7% | +0.4pp | 2,641 |
131
132
 
132
- Latest completed model category detail: `granite4.1:3b`.
133
+ Latest completed model category detail: `gemma4:e2b`.
133
134
 
134
135
  | Category | Cases | Raw | BetterCall repair | Lift | Request errors |
135
136
  | --- | ---: | ---: | ---: | ---: | ---: |
136
- | `simple_python` | 400 | 86.5% | 86.8% | +0.3pp | 18 |
137
- | `simple_java` | 100 | 70.0% | 70.0% | +0.0pp | 0 |
138
- | `simple_javascript` | 50 | 72.0% | 72.0% | +0.0pp | 0 |
139
- | `multiple` | 200 | 90.5% | 90.5% | +0.0pp | 0 |
140
- | `parallel` | 200 | 83.0% | 83.0% | +0.0pp | 0 |
141
- | `parallel_multiple` | 200 | 78.5% | 78.5% | +0.0pp | 0 |
142
- | `irrelevance` | 240 | 67.1% | 100.0% | +32.9pp | 0 |
143
- | `live_simple` | 258 | 74.0% | 74.0% | +0.0pp | 0 |
144
- | `live_multiple` | 1,053 | 70.8% | 71.0% | +0.2pp | 0 |
145
- | `live_parallel` | 16 | 68.8% | 68.8% | +0.0pp | 0 |
146
- | `live_parallel_multiple` | 24 | 70.8% | 70.8% | +0.0pp | 0 |
147
- | `live_irrelevance` | 884 | 65.5% | 99.0% | +33.5pp | 7 |
148
-
149
- The strongest `granite4.1:3b` categories were no-tool-call tasks: `irrelevance` improved from 67.1% to 100.0%, and `live_irrelevance` improved from 65.5% to 99.0%.
137
+ | `simple_python` | 400 | 82.0% | 83.3% | +1.3pp | 46 |
138
+ | `simple_java` | 100 | 50.0% | 50.0% | +0.0pp | 29 |
139
+ | `simple_javascript` | 50 | 34.0% | 36.0% | +2.0pp | 22 |
140
+ | `multiple` | 200 | 76.5% | 79.0% | +2.5pp | 32 |
141
+ | `parallel` | 200 | 54.0% | 54.0% | +0.0pp | 84 |
142
+ | `parallel_multiple` | 200 | 42.5% | 42.5% | +0.0pp | 109 |
143
+ | `irrelevance` | 240 | 52.9% | 54.2% | +1.3pp | 104 |
144
+ | `live_simple` | 258 | 4.7% | 5.0% | +0.4pp | 238 |
145
+ | `live_multiple` | 1,053 | 0.0% | 0.0% | +0.0pp | 1,053 |
146
+ | `live_parallel` | 16 | 0.0% | 0.0% | +0.0pp | 16 |
147
+ | `live_parallel_multiple` | 24 | 0.0% | 0.0% | +0.0pp | 24 |
148
+ | `live_irrelevance` | 884 | 0.0% | 0.0% | +0.0pp | 884 |
149
+
150
+ The strongest `gemma4:e2b` category was `multiple`, improving from 76.5% to 79.0%. The live categories were dominated by request errors under the 5s timeout and are preserved as measured in the artifact.
150
151
 
151
152
  Historical targeted wrapper benchmark:
152
153
 
@@ -2,7 +2,7 @@
2
2
  "name": "BFCL v4 full remote Ollama runs",
3
3
  "source": "Real model calls against all supported BFCL v4 single-turn tool-call categories completed in this repository",
4
4
  "note": "Endpoint redacted. Scores count request errors/timeouts as incorrect. This is not an official BFCL leaderboard submission.",
5
- "generatedAt": "2026-05-08T16:02:50.925Z",
5
+ "generatedAt": "2026-05-08T21:10:42.234Z",
6
6
  "results": [
7
7
  {
8
8
  "model": "granite4.1:3b",
@@ -593,6 +593,124 @@
593
593
  "repaired": 131
594
594
  }
595
595
  ]
596
+ },
597
+ {
598
+ "model": "gemma4:e2b",
599
+ "total": 3625,
600
+ "rawCorrect": 880,
601
+ "betterCorrect": 895,
602
+ "errors": 2641,
603
+ "repaired": 22,
604
+ "categories": [
605
+ {
606
+ "model": "gemma4:e2b",
607
+ "category": "simple_python",
608
+ "total": 400,
609
+ "rawCorrect": 328,
610
+ "betterCorrect": 333,
611
+ "errors": 46,
612
+ "repaired": 5
613
+ },
614
+ {
615
+ "model": "gemma4:e2b",
616
+ "category": "simple_java",
617
+ "total": 100,
618
+ "rawCorrect": 50,
619
+ "betterCorrect": 50,
620
+ "errors": 29,
621
+ "repaired": 5
622
+ },
623
+ {
624
+ "model": "gemma4:e2b",
625
+ "category": "simple_javascript",
626
+ "total": 50,
627
+ "rawCorrect": 17,
628
+ "betterCorrect": 18,
629
+ "errors": 22,
630
+ "repaired": 1
631
+ },
632
+ {
633
+ "model": "gemma4:e2b",
634
+ "category": "multiple",
635
+ "total": 200,
636
+ "rawCorrect": 153,
637
+ "betterCorrect": 158,
638
+ "errors": 32,
639
+ "repaired": 6
640
+ },
641
+ {
642
+ "model": "gemma4:e2b",
643
+ "category": "parallel",
644
+ "total": 200,
645
+ "rawCorrect": 108,
646
+ "betterCorrect": 108,
647
+ "errors": 84,
648
+ "repaired": 0
649
+ },
650
+ {
651
+ "model": "gemma4:e2b",
652
+ "category": "parallel_multiple",
653
+ "total": 200,
654
+ "rawCorrect": 85,
655
+ "betterCorrect": 85,
656
+ "errors": 109,
657
+ "repaired": 1
658
+ },
659
+ {
660
+ "model": "gemma4:e2b",
661
+ "category": "irrelevance",
662
+ "total": 240,
663
+ "rawCorrect": 127,
664
+ "betterCorrect": 130,
665
+ "errors": 104,
666
+ "repaired": 3
667
+ },
668
+ {
669
+ "model": "gemma4:e2b",
670
+ "category": "live_simple",
671
+ "total": 258,
672
+ "rawCorrect": 12,
673
+ "betterCorrect": 13,
674
+ "errors": 238,
675
+ "repaired": 1
676
+ },
677
+ {
678
+ "model": "gemma4:e2b",
679
+ "category": "live_multiple",
680
+ "total": 1053,
681
+ "rawCorrect": 0,
682
+ "betterCorrect": 0,
683
+ "errors": 1053,
684
+ "repaired": 0
685
+ },
686
+ {
687
+ "model": "gemma4:e2b",
688
+ "category": "live_parallel",
689
+ "total": 16,
690
+ "rawCorrect": 0,
691
+ "betterCorrect": 0,
692
+ "errors": 16,
693
+ "repaired": 0
694
+ },
695
+ {
696
+ "model": "gemma4:e2b",
697
+ "category": "live_parallel_multiple",
698
+ "total": 24,
699
+ "rawCorrect": 0,
700
+ "betterCorrect": 0,
701
+ "errors": 24,
702
+ "repaired": 0
703
+ },
704
+ {
705
+ "model": "gemma4:e2b",
706
+ "category": "live_irrelevance",
707
+ "total": 884,
708
+ "rawCorrect": 0,
709
+ "betterCorrect": 0,
710
+ "errors": 884,
711
+ "repaired": 0
712
+ }
713
+ ]
596
714
  }
597
715
  ]
598
716
  }
package/docs/banner.svg CHANGED
@@ -1,6 +1,6 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" width="1400" height="520" viewBox="0 0 1400 520" role="img" aria-labelledby="title desc">
2
2
  <title id="title">BetterCall banner</title>
3
- <desc id="desc">BetterCall is a one-line wrapper with five full BFCL remote runs completed; the best run improves from 73.4 percent to 83.8 percent.</desc>
3
+ <desc id="desc">BetterCall is a one-line wrapper with six full BFCL remote runs completed; the best run improves from 73.4 percent to 83.8 percent.</desc>
4
4
  <defs>
5
5
  <linearGradient id="background" x1="0" y1="0" x2="1" y2="1">
6
6
  <stop offset="0" stop-color="#07111f"/>
@@ -24,6 +24,6 @@
24
24
  <g transform="translate(112 112)">
25
25
  <text x="0" y="80" font-family="Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif" font-size="78" font-weight="800" fill="#f8fbff">BetterCall</text>
26
26
  <rect x="4" y="116" width="430" height="8" rx="4" fill="url(#accent)"/>
27
- <text x="0" y="186" font-family="Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif" font-size="34" font-weight="670" fill="#dcecff">Five full BFCL remote runs. Best: 73.4% → 83.8%.</text>
27
+ <text x="0" y="186" font-family="Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif" font-size="34" font-weight="670" fill="#dcecff">Six full BFCL remote runs. Best: 73.4% → 83.8%.</text>
28
28
  </g>
29
29
  </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botbotgo/better-call",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "LLM tool-call reliability layer.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",