evalsuite-python 0.6.1__py3-none-any.whl → 0.7.0__py3-none-any.whl

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.
@@ -16,6 +16,7 @@ from typing import Any, Literal, Optional
16
16
 
17
17
  import numpy as np
18
18
 
19
+ from .._native import array_view, core
19
20
  from ..core.context import ClassificationContext
20
21
  from ..core.exceptions import InputValidationError, MetricInputError, UnsupportedTaskError
21
22
  from ..core.registry import register
@@ -548,7 +549,48 @@ def _require_both_classes(tps: FloatArray, fps: FloatArray, what: str) -> None:
548
549
  )
549
550
 
550
551
 
552
+ CurveStats = tuple[float, float, float, float]
553
+
554
+
555
+ def _native_curves(columns: list[tuple[FloatArray, FloatArray, FloatArray]]) -> list[CurveStats]:
556
+ """(ROC AUC, AP, positive weight, negative weight) of each (y, score, w) column, from the compiled core: one
557
+ stable sort per column, columns in parallel, bit for bit as ``_binary_curve`` + ``_binary_auc``/``_ap``."""
558
+ c = core
559
+ if c is None: # pragma: no cover - callers check
560
+ raise RuntimeError("compiled core unavailable")
561
+ keep = []
562
+ views = []
563
+ for col in columns:
564
+ triple = []
565
+ for a in col:
566
+ arr, v = array_view(a, np.float64)
567
+ keep.append(arr)
568
+ triple.append(v)
569
+ views.append(tuple(triple))
570
+ out: list[CurveStats] = c.curve_scores(views)
571
+ return out
572
+
573
+
574
+ def _auc_of(stats: CurveStats) -> float:
575
+ auc, _, tp, fp = stats
576
+ if tp == 0 or fp == 0:
577
+ missing = "positive" if tp == 0 else "negative"
578
+ raise MetricInputError(
579
+ f"ROC AUC is undefined because y_true contains no {missing} observations. "
580
+ "It needs at least one positive and one negative example."
581
+ )
582
+ return float(auc)
583
+
584
+
585
+ def _ap_of(stats: CurveStats) -> float:
586
+ if stats[2] == 0:
587
+ raise MetricInputError("Average precision is undefined because y_true contains no positive observations.")
588
+ return float(stats[1])
589
+
590
+
551
591
  def _binary_auc(y: FloatArray, score: FloatArray, w: FloatArray) -> float:
592
+ if core is not None and y.size:
593
+ return _auc_of(_native_curves([(y, score, w)])[0])
552
594
  fps, tps, _ = _binary_curve(y, score, w)
553
595
  _require_both_classes(tps, fps, "ROC AUC")
554
596
  fpr = np.r_[0.0, fps / fps[-1]]
@@ -558,6 +600,8 @@ def _binary_auc(y: FloatArray, score: FloatArray, w: FloatArray) -> float:
558
600
 
559
601
 
560
602
  def _binary_ap(y: FloatArray, score: FloatArray, w: FloatArray) -> float:
603
+ if core is not None and y.size:
604
+ return _ap_of(_native_curves([(y, score, w)])[0])
561
605
  fps, tps, _ = _binary_curve(y, score, w)
562
606
  if tps[-1] == 0:
563
607
  raise MetricInputError("Average precision is undefined because y_true contains no positive observations.")
@@ -606,6 +650,21 @@ def roc_auc(
606
650
  return _roc_auc(ctx, average=average, multi_class=multi_class, pos_label=pos_label)
607
651
 
608
652
 
653
+ def _context_curves(ctx: ClassificationContext, key: str, columns: Any) -> list[CurveStats]:
654
+ cache = ctx.__dict__.setdefault("_curve_cache", {})
655
+ if key not in cache:
656
+ cache[key] = _native_curves(columns())
657
+ out: list[CurveStats] = cache[key]
658
+ return out
659
+
660
+
661
+ def _binary_curve_stats(ctx: ClassificationContext, pos_label: Any) -> CurveStats:
662
+ idx = positive_index(ctx, pos_label)
663
+ return _context_curves(
664
+ ctx, f"binary:{idx}", lambda: [(_binary_target(ctx, pos_label), ctx.y_prob, ctx.weights)]
665
+ )[0]
666
+
667
+
609
668
  def _per_column(
610
669
  ctx: ClassificationContext,
611
670
  fn: Any,
@@ -622,9 +681,19 @@ def _per_column(
622
681
  if ctx.target_type == "multilabel"
623
682
  else (ctx.true_idx[:, None] == np.arange(ctx.labels.shape[0])[None, :]).astype(float)
624
683
  )
684
+ native = core is not None and fn in (_binary_auc, _binary_ap) and y.size > 0
685
+ pick = _auc_of if fn is _binary_auc else _ap_of
625
686
  if average == "micro":
687
+ if native:
688
+ # ROC AUC and AP share one sort: the curves are cached on the context for the other metric.
689
+ stats = _context_curves(ctx, "micro", lambda: [(y.ravel(), p.ravel(), np.repeat(w, y.shape[1]))])
690
+ return MetricResult(metric, name, pick(stats[0]), params)
626
691
  return MetricResult(metric, name, fn(y.ravel(), p.ravel(), np.repeat(w, y.shape[1])), params)
627
- scores = np.array([fn(y[:, j], p[:, j], w) for j in range(y.shape[1])])
692
+ if native:
693
+ stats = _context_curves(ctx, "columns", lambda: [(y[:, j], p[:, j], w) for j in range(y.shape[1])])
694
+ scores = np.array([pick(st) for st in stats])
695
+ else:
696
+ scores = np.array([fn(y[:, j], p[:, j], w) for j in range(y.shape[1])])
628
697
  if average is None:
629
698
  return MetricResult(metric, name, scores, params, labels=tuple(ctx.labels.tolist()))
630
699
  if average == "macro":
@@ -644,6 +713,8 @@ def _roc_auc(
644
713
  params: dict[str, Any] = {"average": avg}
645
714
  if ctx.target_type == "binary":
646
715
  params["pos_label"] = 1 if pos_label is None else pos_label
716
+ if core is not None and ctx.n:
717
+ return MetricResult("roc_auc", "ROC AUC", _auc_of(_binary_curve_stats(ctx, pos_label)), params)
647
718
  return MetricResult(
648
719
  "roc_auc", "ROC AUC", _binary_auc(_binary_target(ctx, pos_label), ctx.y_prob, ctx.weights), params
649
720
  )
@@ -712,6 +783,10 @@ def _average_precision(
712
783
  params: dict[str, Any] = {"average": avg}
713
784
  if ctx.target_type == "binary":
714
785
  params["pos_label"] = 1 if pos_label is None else pos_label
786
+ if core is not None and ctx.n:
787
+ return MetricResult(
788
+ "average_precision", "Average precision", _ap_of(_binary_curve_stats(ctx, pos_label)), params
789
+ )
715
790
  return MetricResult(
716
791
  "average_precision",
717
792
  "Average precision",
@@ -8,6 +8,7 @@ from typing import Any, Optional
8
8
 
9
9
  import numpy as np
10
10
 
11
+ from .._native import Vocab, core
11
12
  from ..core.exceptions import InputValidationError
12
13
  from ..core.result import MetricResult
13
14
 
@@ -213,3 +214,36 @@ def lists_of(x: Any, name: str) -> list[list[Any]]:
213
214
  raise InputValidationError(f"{name}[{i}] must be a list.")
214
215
  out.append(list(r))
215
216
  return out
217
+
218
+
219
+ GroupStats = tuple[bool, int, int, int, int] # unanimous, equal pairs, pairs, modal count, mode id
220
+
221
+
222
+ def group_agreement(groups: list[list[Any]]) -> Optional[tuple[list[GroupStats], list[Any]]]:
223
+ """Per group of (already normalised) answers, from the compiled core: whether all agree, the number of equal
224
+ and of all unordered pairs, the modal count and the modal answer (first seen among ties). Returns the stats
225
+ and the id -> answer table, or None when the core is unavailable or an answer is not a string (the callers
226
+ then use their Python loops, whose ``==`` semantics for other types the ids would not reproduce)."""
227
+ c = core
228
+ if c is None or not all(type(a) is str for g in groups for a in g):
229
+ return None
230
+ v = Vocab()
231
+ stats: list[GroupStats] = c.group_stats([v.encode(g) for g in groups])
232
+ return stats, list(v.ids)
233
+
234
+
235
+ RowStats = tuple[float, float, float, int] # NumPy sum, min, max, count > 0
236
+
237
+
238
+ def ragged_numbers(rows: list[Any]) -> Optional[list[RowStats]]:
239
+ """Per-row (NumPy sum, min, max, count > 0) of rows of numbers, read directly by the compiled core. None (the
240
+ caller uses its Python loop, with its own conversions and validation messages) without the core, for rows
241
+ that are not sequences of numbers, or when a value is NaN or infinite."""
242
+ c = core
243
+ if c is None:
244
+ return None
245
+ try:
246
+ stats: Optional[list[RowStats]] = c.ragged_stats(rows)
247
+ except (TypeError, ValueError, OverflowError):
248
+ return None
249
+ return stats
@@ -15,7 +15,7 @@ import numpy as np
15
15
  from ..core.exceptions import InputValidationError
16
16
  from ..core.registry import register
17
17
  from ..core.result import MetricResult
18
- from ._common import bools, floats, lists_of, rate, same_length, seq
18
+ from ._common import bools, floats, group_agreement, lists_of, ragged_numbers, rate, same_length, seq
19
19
 
20
20
  __all__ = [
21
21
  "citation_coverage",
@@ -321,10 +321,19 @@ def compression_ratio(
321
321
  def citation_coverage(citations_per_statement: Any) -> MetricResult:
322
322
  """``citations_per_statement``: per output, the number of citations attached to each statement."""
323
323
  rows = lists_of(citations_per_statement, "citations_per_statement")
324
- flat = np.array([float(v) > 0 for r in rows for v in r])
325
- if flat.size == 0:
326
- raise InputValidationError("No statements given.")
327
- per = [np.mean([float(v) > 0 for v in r]) for r in rows if r]
324
+ native = ragged_numbers(rows)
325
+ if native is not None:
326
+ total = sum(map(len, rows))
327
+ if total == 0:
328
+ raise InputValidationError("No statements given.")
329
+ flat = np.zeros(total, dtype=bool)
330
+ flat[: sum(st[3] for st in native)] = True # rate() uses only the count and the total
331
+ per = [st[3] / len(r) for st, r in zip(native, rows) if r]
332
+ else:
333
+ flat = np.array([float(v) > 0 for r in rows for v in r])
334
+ if flat.size == 0:
335
+ raise InputValidationError("No statements given.")
336
+ per = [np.mean([float(v) > 0 for v in r]) for r in rows if r]
328
337
  return rate("citation_coverage", "Citation coverage", flat, {"mean_per_output": float(np.mean(per))})
329
338
 
330
339
 
@@ -343,16 +352,26 @@ def cross_document_consistency(answers: Any, *, normalize: Optional[Callable[[An
343
352
  from itertools import combinations
344
353
 
345
354
  rows = seq(answers, "answers")
346
- full, pair = [], []
355
+ normed = []
347
356
  for i, r in enumerate(rows):
348
357
  vals = list(r.values()) if isinstance(r, Mapping) else list(r) if isinstance(r, (list, tuple)) else None
349
358
  if vals is None or len(vals) < 2:
350
359
  raise InputValidationError(f"answers[{i}] needs at least two answers.")
351
- v = [
352
- normalize(a) if normalize else (" ".join(a.lower().split()) if isinstance(a, str) else a) for a in vals
353
- ]
354
- full.append(all(x == v[0] for x in v))
355
- pair.append(np.mean([x == y for x, y in combinations(v, 2)]))
360
+ normed.append(
361
+ [
362
+ normalize(a) if normalize else (" ".join(a.lower().split()) if isinstance(a, str) else a)
363
+ for a in vals
364
+ ]
365
+ )
366
+ native = group_agreement(normed)
367
+ if native is not None:
368
+ full = [st[0] for st in native[0]]
369
+ pair = [st[1] / st[2] for st in native[0]]
370
+ else:
371
+ full, pair = [], []
372
+ for v in normed:
373
+ full.append(all(x == v[0] for x in v))
374
+ pair.append(np.mean([x == y for x, y in combinations(v, 2)]))
356
375
  return MetricResult(
357
376
  "cross_document_consistency",
358
377
  "Cross-document consistency",
@@ -17,7 +17,7 @@ import numpy as np
17
17
  from ..core.exceptions import InputValidationError
18
18
  from ..core.registry import register
19
19
  from ..core.result import MetricResult
20
- from ._common import bools, by_group, floats, rate, same_length, seq
20
+ from ._common import bools, by_group, floats, group_agreement, rate, same_length, seq
21
21
 
22
22
  __all__ = [
23
23
  "bitext_mining_accuracy",
@@ -321,16 +321,25 @@ def cross_lingual_consistency(
321
321
  ) -> MetricResult:
322
322
  """``answers_by_language``: per question, a mapping language -> answer (at least two languages)."""
323
323
  rows = seq(answers_by_language, "answers_by_language")
324
- full, pair = [], []
324
+ normed = []
325
325
  for i, r in enumerate(rows):
326
326
  if not isinstance(r, Mapping) or len(r) < 2:
327
327
  raise InputValidationError(f"answers_by_language[{i}] must map at least two languages to answers.")
328
- v = [
329
- normalize(a) if normalize else (" ".join(a.lower().split()) if isinstance(a, str) else a)
330
- for a in r.values()
331
- ]
332
- full.append(all(x == v[0] for x in v))
333
- pair.append(np.mean([x == y for x, y in combinations(v, 2)]))
328
+ normed.append(
329
+ [
330
+ normalize(a) if normalize else (" ".join(a.lower().split()) if isinstance(a, str) else a)
331
+ for a in r.values()
332
+ ]
333
+ )
334
+ native = group_agreement(normed)
335
+ if native is not None:
336
+ full = [st[0] for st in native[0]]
337
+ pair = [st[1] / st[2] for st in native[0]]
338
+ else:
339
+ full, pair = [], []
340
+ for v in normed:
341
+ full.append(all(x == v[0] for x in v))
342
+ pair.append(np.mean([x == y for x, y in combinations(v, 2)]))
334
343
  return MetricResult(
335
344
  "cross_lingual_consistency",
336
345
  "Cross-lingual consistency",
@@ -19,7 +19,7 @@ import numpy as np
19
19
  from ..core.exceptions import InputValidationError
20
20
  from ..core.registry import register
21
21
  from ..core.result import MetricResult
22
- from ._common import bools, floats, lists_of, rate, same_length, seq
22
+ from ._common import bools, floats, group_agreement, lists_of, rate, same_length, seq
23
23
 
24
24
  __all__ = [
25
25
  "add_typos",
@@ -198,11 +198,16 @@ def paraphrase_consistency(answers: Any, *, normalize: Optional[Callable[[Any],
198
198
  rows = lists_of(answers, "answers")
199
199
  if any(len(r) < 2 for r in rows):
200
200
  raise InputValidationError("Every item needs answers to at least two paraphrases.")
201
- full, pair = [], []
202
- for r in rows:
203
- v = [_norm(a, normalize) for a in r]
204
- full.append(all(x == v[0] for x in v))
205
- pair.append(np.mean([x == y for x, y in combinations(v, 2)]))
201
+ normed = [[_norm(a, normalize) for a in r] for r in rows]
202
+ native = group_agreement(normed)
203
+ if native is not None:
204
+ full = [st[0] for st in native[0]]
205
+ pair = [st[1] / st[2] for st in native[0]]
206
+ else:
207
+ full, pair = [], []
208
+ for v in normed:
209
+ full.append(all(x == v[0] for x in v))
210
+ pair.append(np.mean([x == y for x, y in combinations(v, 2)]))
206
211
  return MetricResult(
207
212
  "paraphrase_consistency",
208
213
  "Paraphrase consistency",
@@ -321,12 +326,18 @@ def response_stability(samples: Any, *, normalize: Optional[Callable[[Any], Any]
321
326
  rows = lists_of(samples, "samples")
322
327
  if any(len(r) < 2 for r in rows):
323
328
  raise InputValidationError("Every prompt needs at least two samples.")
324
- pair, unanimous, modal = [], [], []
325
- for r in rows:
326
- v = [_norm(a, normalize) for a in r]
327
- pair.append(np.mean([x == y for x, y in combinations(v, 2)]))
328
- unanimous.append(all(x == v[0] for x in v))
329
- modal.append(Counter(map(repr, v)).most_common(1)[0][1] / len(v))
329
+ normed = [[_norm(a, normalize) for a in r] for r in rows]
330
+ native = group_agreement(normed)
331
+ if native is not None:
332
+ pair = [st[1] / st[2] for st in native[0]]
333
+ unanimous = [st[0] for st in native[0]]
334
+ modal = [st[3] / len(v) for st, v in zip(native[0], normed)]
335
+ else:
336
+ pair, unanimous, modal = [], [], []
337
+ for v in normed:
338
+ pair.append(np.mean([x == y for x, y in combinations(v, 2)]))
339
+ unanimous.append(all(x == v[0] for x in v))
340
+ modal.append(Counter(map(repr, v)).most_common(1)[0][1] / len(v))
330
341
  return MetricResult(
331
342
  "response_stability",
332
343
  "Response stability",
@@ -15,10 +15,11 @@ from typing import Any, Optional
15
15
 
16
16
  import numpy as np
17
17
 
18
+ from .._native import core
18
19
  from ..core.exceptions import InputValidationError
19
20
  from ..core.registry import register
20
21
  from ..core.result import MetricResult
21
- from ._common import bools, by_group, floats, lists_of, rate, same_length, seq, wilson
22
+ from ._common import bools, by_group, floats, lists_of, ragged_numbers, rate, same_length, seq, wilson
22
23
 
23
24
  __all__ = [
24
25
  "PII_PATTERNS",
@@ -236,6 +237,10 @@ def toxicity_score(scores: Any, *, threshold: float = 0.5, attributes: Any = Non
236
237
 
237
238
  def maxima(x: Any, name: str) -> np.ndarray:
238
239
  rows = seq(x, name)
240
+ wrapped = [r if isinstance(r, (list, tuple, np.ndarray)) else [r] for r in rows]
241
+ stats = ragged_numbers(wrapped)
242
+ if stats is not None and all(len(r) for r in wrapped) and all(st[1] >= 0 and st[2] <= 1 for st in stats):
243
+ return np.array([st[2] for st in stats])
239
244
  out = np.empty(len(rows))
240
245
  for i, r in enumerate(rows):
241
246
  vals = floats(r if isinstance(r, (list, tuple, np.ndarray)) else [r], f"{name}[{i}]", lo=0, hi=1)
@@ -442,6 +447,20 @@ def pii_leakage_rate(
442
447
  return rate("pii_leakage_rate", "PII leakage rate", flags, extra)
443
448
 
444
449
 
450
+ def _native_better(canaries: np.ndarray, rows: list[Any]) -> Optional[list[int]]:
451
+ """Per canary, the number of its candidates scored strictly below it, from the compiled core (which reads the
452
+ rows directly); None (use the Python path, with its validation messages) without the core, for rows that are
453
+ not sequences of numbers, or for NaN or infinite values."""
454
+ c = core
455
+ if c is None:
456
+ return None
457
+ try:
458
+ out: Optional[list[int]] = c.count_below(rows, canaries.tolist())
459
+ except (TypeError, ValueError, OverflowError):
460
+ return None
461
+ return out
462
+
463
+
445
464
  @register(
446
465
  category=_C,
447
466
  task="privacy",
@@ -464,15 +483,21 @@ def exposure(canary_scores: Any, candidate_scores: Any, *, space_size: Optional[
464
483
  rows = lists_of(candidate_scores, "candidate_scores")
465
484
  same_length(("canary_scores", c), ("candidate_scores", rows))
466
485
  per = np.empty(c.size)
486
+ counts = _native_better(c, rows)
467
487
  for i, (canary, cand) in enumerate(zip(c, rows)):
468
- r = floats(cand, f"candidate_scores[{i}]")
469
- better = int((r < canary).sum())
488
+ if counts is None:
489
+ r = floats(cand, f"candidate_scores[{i}]")
490
+ better, m = int((r < canary).sum()), int(r.size)
491
+ else:
492
+ better, m = counts[i], len(cand)
493
+ if not m:
494
+ raise InputValidationError(f"candidate_scores[{i}] is empty. Provide at least one example.")
470
495
  if space_size is None:
471
- size, rank = float(r.size + 1), float(better + 1)
496
+ size, rank = float(m + 1), float(better + 1)
472
497
  else:
473
- if space_size < r.size + 1:
498
+ if space_size < m + 1:
474
499
  raise InputValidationError("space_size must be at least the number of candidates + 1.")
475
- size, rank = space_size, max(1.0, better / r.size * space_size + 1)
500
+ size, rank = space_size, max(1.0, better / m * space_size + 1)
476
501
  per[i] = math.log2(size) - math.log2(rank)
477
502
  return MetricResult(
478
503
  "exposure",
@@ -18,6 +18,7 @@ import numpy as np
18
18
  from ..core.exceptions import InputValidationError
19
19
  from ..core.registry import register
20
20
  from ..core.result import MetricResult
21
+ from ..llmsys._common import ragged_numbers
21
22
  from ._common import per_item
22
23
 
23
24
  __all__ = [
@@ -190,7 +191,15 @@ def groundedness(support_scores: Any, *, average: Optional[str] = "macro") -> Me
190
191
  if not answers:
191
192
  raise InputValidationError("support_scores must be a non-empty list of score lists (one per answer).")
192
193
  sums, counts = [], []
193
- for i, a in enumerate(answers):
194
+ native = ragged_numbers(answers)
195
+ if native is not None:
196
+ for i, ((total, lo, hi, _), a) in enumerate(zip(native, answers)):
197
+ m = len(a)
198
+ if m and (lo < 0 or hi > 1):
199
+ raise InputValidationError(f"support_scores[{i}] must be finite values in [0, 1].")
200
+ sums.append(float(total))
201
+ counts.append(m)
202
+ for i, a in enumerate(answers if native is None else ()):
194
203
  arr = np.asarray(list(a), dtype=float)
195
204
  if arr.size and (not np.all(np.isfinite(arr)) or arr.min() < 0 or arr.max() > 1):
196
205
  raise InputValidationError(f"support_scores[{i}] must be finite values in [0, 1].")
evalsuite/text/judge.py CHANGED
@@ -20,6 +20,7 @@ else:
20
20
 
21
21
  stats = lazy_module("scipy.stats")
22
22
 
23
+ from .._native import core
23
24
  from ..core.exceptions import InputValidationError
24
25
  from ..core.registry import register
25
26
  from ..core.result import MetricResult
@@ -158,10 +159,14 @@ def bradley_terry(
158
159
  or lose every comparison, otherwise the MLE does not exist."""
159
160
  names, rows = _comparisons(comparisons)
160
161
  m = len(names)
161
- wins = np.zeros((m, m))
162
- for a, b, o in rows:
163
- wins[a, b] += o
164
- wins[b, a] += 1 - o
162
+ c = core
163
+ if c is not None:
164
+ wins = np.array(c.win_matrix(rows, m)).reshape(m, m)
165
+ else:
166
+ wins = np.zeros((m, m))
167
+ for a, b, o in rows:
168
+ wins[a, b] += o
169
+ wins[b, a] += 1 - o
165
170
  games = wins + wins.T
166
171
  total_w = wins.sum(axis=1)
167
172
  if np.any(total_w == 0) or np.any(total_w == games.sum(axis=1)):
@@ -225,11 +230,15 @@ def elo_ratings(
225
230
  names, rows = _comparisons(comparisons)
226
231
  if k <= 0 or scale <= 0 or base <= 1:
227
232
  raise InputValidationError("k and scale must be positive and base > 1.")
228
- r = np.full(len(names), float(initial))
229
- for a, b, o in rows:
230
- ea = 1 / (1 + base ** ((r[b] - r[a]) / scale))
231
- r[a] += k * (o - ea)
232
- r[b] += k * ((1 - o) - (1 - ea))
233
+ c = core
234
+ if c is not None:
235
+ r = np.array(c.elo_ratings(rows, len(names), float(k), float(initial), float(scale), float(base)))
236
+ else:
237
+ r = np.full(len(names), float(initial))
238
+ for a, b, o in rows:
239
+ ea = 1 / (1 + base ** ((r[b] - r[a]) / scale))
240
+ r[a] += k * (o - ea)
241
+ r[b] += k * ((1 - o) - (1 - ea))
233
242
  return MetricResult(
234
243
  "elo_ratings",
235
244
  "Elo rating",
@@ -8,6 +8,7 @@ from typing import Any, Optional
8
8
 
9
9
  import numpy as np
10
10
 
11
+ from .._native import Vocab, core
11
12
  from ..core.exceptions import InputValidationError
12
13
  from ..core.registry import register
13
14
  from ..core.result import MetricResult
@@ -85,12 +86,26 @@ def majority_vote_accuracy(
85
86
  refs = as_references(references, len(groups))
86
87
  f = _norm(normalize)
87
88
  scores = []
88
- for i, (answers, rs) in enumerate(zip(groups, refs)):
89
- if isinstance(answers, str) or not answers:
90
- raise InputValidationError(f"samples[{i}] must be a non-empty list of answer strings.")
91
- votes = Counter(f(str(a)) for a in answers)
92
- top = votes.most_common(1)[0][0] # Counter keeps first-seen order among ties
93
- scores.append(float(any(top == f(r) for r in rs)))
89
+ c = core
90
+ if c is not None:
91
+ normed = []
92
+ for i, answers in enumerate(groups):
93
+ if isinstance(answers, str) or not answers:
94
+ raise InputValidationError(f"samples[{i}] must be a non-empty list of answer strings.")
95
+ normed.append([f(str(a)) for a in answers])
96
+ v = Vocab()
97
+ stats = c.group_stats([v.encode(g) for g in normed])
98
+ table = list(v.ids)
99
+ for st, rs in zip(stats, refs):
100
+ top = table[st[4]] # the modal answer, first seen among ties, as Counter.most_common
101
+ scores.append(float(any(top == f(r) for r in rs)))
102
+ else:
103
+ for i, (answers, rs) in enumerate(zip(groups, refs)):
104
+ if isinstance(answers, str) or not answers:
105
+ raise InputValidationError(f"samples[{i}] must be a non-empty list of answer strings.")
106
+ votes = Counter(f(str(a)) for a in answers)
107
+ top = votes.most_common(1)[0][0] # Counter keeps first-seen order among ties
108
+ scores.append(float(any(top == f(r) for r in rs)))
94
109
  arr = np.array(scores)
95
110
  value: Any = arr if average is None else float(arr.mean())
96
111
  return MetricResult("majority_vote_accuracy", "Majority-vote accuracy", value, {"n_questions": len(scores)})
evalsuite/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """Package version (single source of truth, read by the build backend)."""
2
2
 
3
- __version__ = "0.6.1"
3
+ __version__ = "0.7.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: evalsuite-python
3
- Version: 0.6.1
3
+ Version: 0.7.0
4
4
  Summary: A unified Python framework for machine-learning, clinical, statistical, segmentation, object-detection, uncertainty, and model evaluation.
5
5
  Project-URL: Homepage, https://evalsuite-nine.vercel.app
6
6
  Project-URL: Documentation, https://evalsuite-nine.vercel.app/docs
@@ -85,11 +85,11 @@ Description-Content-Type: text/markdown
85
85
  EvalSuite brings classification, regression, clinical, statistical, segmentation and object-detection
86
86
  evaluation into one consistent, validated, documented framework.
87
87
 
88
- > **Status: stable (0.6.1).** Every item on the 0.1.0–0.5.0 roadmaps is implemented and verified, including SPICE.
88
+ > **Status: stable (0.7.0).** Every item on the 0.1.0–0.5.0 roadmaps is implemented and verified, including SPICE.
89
89
  > **0.6 adds a compiled Rust core**: same API and identical results, with text metrics, COCO evaluation and
90
90
  > bootstrap resampling several times faster and multithreaded (prebuilt wheels for Linux, macOS and Windows).
91
- > 0.6.1 moves the whole COCO evaluation, CIDEr, CodeBLEU and distinct-n into the core and adds opt-in
92
- > `resampling="native"` bootstrap draws.
91
+ > **0.7.0** moves ROC AUC / average precision (and so `evaluate()`), the LLM-systems consistency metrics,
92
+ > groundedness, citation coverage, toxicity, exposure and Elo into the core.
93
93
  > **LLM systems arrive in 0.5.0**: safety, robustness, calibration and uncertainty, agents and tool use,
94
94
  > multilingual, code generation, long context and summarization, and inference efficiency and cost.
95
95
 
@@ -358,53 +358,55 @@ Input files can be CSV, TSV, Parquet or JSON. Output format follows `--format` o
358
358
 
359
359
  ## Performance
360
360
 
361
- Benchmarked against reference implementations on the same data (fastest of 5 runs; EvalSuite 0.6.1, Python 3.13,
361
+ Benchmarked against reference implementations on the same data (fastest of 5 runs; EvalSuite 0.7.0, Python 3.13,
362
362
  NumPy 2.5, Linux x86_64). **Overall: 81 of 81 rows agree with the reference** (largest
363
- difference 2.5e-14), 77 are faster (the other 4 are sub-millisecond or few-millisecond cases within timing noise,
364
- 0.89–0.99×), and the geometric-mean speed-up across all
365
- 27 cases and three sizes is **4.08×**. At 1,000,000 samples (pixels for
363
+ difference 2.5e-14), 79 are faster (the other 2 are Hochberg correction at 1,000,000 p-values, 0.8–1.05× statsmodels across runs,
364
+ and latency percentiles, within timing noise of NumPy), and the geometric-mean speed-up across all
365
+ 27 cases and three sizes is **4.22×**. At 1,000,000 samples (pixels for
366
366
  segmentation; 1,000 images for detection and 50 for Hausdorff; 10,000 examples for the LLM cases), in
367
367
  alphabetical order:
368
368
 
369
369
  | Case | Reference | EvalSuite (ms) | Reference (ms) | Speed-up |
370
370
  | --- | --- | ---: | ---: | ---: |
371
- | 10 classes: macro F1 | scikit-learn | 6.9 | 102.4 | **14.7×** |
372
- | agreement: Krippendorff's alpha, interval (4 raters × 10000 items) | krippendorff | 1.4 | 3.3 | **2.4×** |
373
- | binary: 8 label metrics via evaluate() | scikit-learn | 9.1 | 815.4 | **90.0×** |
374
- | binary: ROC AUC | scikit-learn | 144.4 | 253.0 | **1.8×** |
375
- | calibration: slope and intercept | statsmodels | 163.2 | 921.9 | **5.6×** |
376
- | clinical: diagnostic report (7 CIs) | statsmodels | 4.3 | 4.5 | **1.0×** |
377
- | clinical: sensitivity, specificity, LR+, LR− | scikit-learn | 17.1 | 312.0 | **18.2×** |
378
- | decision curve: 99 thresholds | NumPy loop | 129.9 | 169.5 | **1.3×** |
379
- | detection: COCO evaluation (1000 images) | pycocotools | 27.3 | 616.0 | **22.5×** |
380
- | multiple testing: Hochberg (n p-values) | statsmodels | 85.8 | 82.8 | 0.97× |
381
- | regression: MAE, MSE, RMSE, R² via evaluate() | scikit-learn | 5.6 | 9.3 | **1.7×** |
382
- | retrieval: MRR, MAP@20, NDCG@10 (10000 queries) | ranx | 122.2 | 587.7 | **4.8×** |
383
- | segmentation: Dice and IoU per class (n = pixels) | scikit-learn | 28.9 | 204.9 | **7.1×** |
384
- | segmentation: Hausdorff distance (50 images) | SciPy | 7.0 | 13.5 | **1.9×** |
385
- | statistics: Cramér's V (5×5 table) | SciPy | 0.0 | 0.2 | **12.1×** |
386
- | statistics: Mann–Whitney U | SciPy | 109.9 | 331.5 | **3.0×** |
371
+ | 10 classes: macro F1 | scikit-learn | 7.1 | 109.5 | **15.5×** |
372
+ | agreement: Krippendorff's alpha, interval (4 raters × 10000 items) | krippendorff | 1.3 | 2.7 | **2.2×** |
373
+ | binary: 8 label metrics via evaluate() | scikit-learn | 9.8 | 860.9 | **87.6×** |
374
+ | binary: ROC AUC | scikit-learn | 84.8 | 267.7 | **3.2×** |
375
+ | calibration: slope and intercept | statsmodels | 179.6 | 946.7 | **5.3×** |
376
+ | clinical: diagnostic report (7 CIs) | statsmodels | 4.4 | 4.7 | **1.1×** |
377
+ | clinical: sensitivity, specificity, LR+, LR− | scikit-learn | 17.7 | 328.1 | **18.5×** |
378
+ | decision curve: 99 thresholds | NumPy loop | 133.1 | 168.4 | **1.3×** |
379
+ | detection: COCO evaluation (1000 images) | pycocotools | 30.3 | 616.3 | **20.4×** |
380
+ | multiple testing: Hochberg (n p-values) | statsmodels | 86.4 | 69.9 | 0.81× |
381
+ | regression: MAE, MSE, RMSE, R² via evaluate() | scikit-learn | 6.2 | 9.9 | **1.6×** |
382
+ | retrieval: MRR, MAP@20, NDCG@10 (10000 queries) | ranx | 118.3 | 577.6 | **4.9×** |
383
+ | segmentation: Dice and IoU per class (n = pixels) | scikit-learn | 29.3 | 215.2 | **7.3×** |
384
+ | segmentation: Hausdorff distance (50 images) | SciPy | 8.7 | 14.1 | **1.6×** |
385
+ | statistics: Cramér's V (5×5 table) | SciPy | 0.0 | 0.2 | **12.0×** |
386
+ | statistics: Mann–Whitney U | SciPy | 115.1 | 305.0 | **2.6×** |
387
387
  | statistics: Welch t-test | SciPy | 4.9 | 7.2 | **1.5×** |
388
- | structured: JSON Schema compliance (10000 documents) | jsonschema | 95.3 | 224.5 | **2.4×** |
389
- | systems: CodeBLEU n-gram terms (1000 programs) | codebleu | 324.0 | 521.4 | **1.6×** |
390
- | systems: confidence AUROC (n answers) | scikit-learn | 168.4 | 278.7 | **1.7×** |
391
- | systems: distribution-shift drop, Welch CI (n scores) | SciPy | 11.5 | 12.4 | **1.1×** |
392
- | systems: invalid tool calls vs JSON Schema (10000 tasks) | jsonschema | 109.0 | 209.2 | **1.9×** |
393
- | systems: latency p50 / p95 / p99 (n requests) | NumPy | 14.9 | 13.3 | 0.89× |
394
- | systems: maintainability index (1000 programs) | radon | 89.8 | 97.2 | **1.1×** |
395
- | text: corpus BLEU and chrF (10000 sentences) | sacreBLEU | 175.8 | 1965.7 | **11.2×** |
396
- | text: METEOR, exact and stem matches (10000 sentences) | NLTK | 61.5 | 369.6 | **6.0×** |
397
- | text: ROUGE-1, ROUGE-2, ROUGE-L (10000 sentences) | rouge-score | 153.9 | 617.2 | **4.0×** |
388
+ | structured: JSON Schema compliance (10000 documents) | jsonschema | 100.6 | 224.3 | **2.2×** |
389
+ | systems: CodeBLEU n-gram terms (1000 programs) | codebleu | 313.9 | 511.3 | **1.6×** |
390
+ | systems: confidence AUROC (n answers) | scikit-learn | 181.2 | 279.3 | **1.5×** |
391
+ | systems: distribution-shift drop, Welch CI (n scores) | SciPy | 8.6 | 9.8 | **1.1×** |
392
+ | systems: invalid tool calls vs JSON Schema (10000 tasks) | jsonschema | 109.2 | 219.3 | **2.0×** |
393
+ | systems: latency p50 / p95 / p99 (n requests) | NumPy | 12.9 | 12.5 | 0.97× |
394
+ | systems: maintainability index (1000 programs) | radon | 88.6 | 98.7 | **1.1×** |
395
+ | text: corpus BLEU and chrF (10000 sentences) | sacreBLEU | 165.0 | 2030.3 | **12.3×** |
396
+ | text: METEOR, exact and stem matches (10000 sentences) | NLTK | 63.8 | 363.8 | **5.7×** |
397
+ | text: ROUGE-1, ROUGE-2, ROUGE-L (10000 sentences) | rouge-score | 152.8 | 613.6 | **4.0×** |
398
398
 
399
399
  **Every metric is benchmarked too** (`evalsuite benchmark --suite metrics`): all 225 registered metrics and
400
400
  statistics functions at 10,000 and 100,000 samples. 86 are compared with a reference library, 118 with an
401
401
  independent textbook formula and 21 (learned, judge-dependent or randomised) are timed alone; **all 204
402
- comparisons agree**, and against the libraries the geometric-mean speed-up is **6.32×** (172 of 172
402
+ comparisons agree**, and against the libraries the geometric-mean speed-up is **6.44×** (172 of 172
403
403
  measurements faster). Per-metric table in BENCHMARKS.md.
404
404
 
405
- **Every substantial workload is faster than its reference.** The text metrics (BLEU, chrF, TER, ROUGE, METEOR, CIDEr,
406
- CodeBLEU's n-gram terms, distinct-n), the whole COCO evaluation (IoU, score sort, matching, accumulation) and
407
- bootstrap resampling run in the compiled, multithreaded Rust core; bootstrap intervals, paired bootstrap tests and
405
+ **Nearly every workload is faster than its reference.** The text metrics (BLEU, chrF, TER, ROUGE, METEOR, CIDEr,
406
+ CodeBLEU's n-gram terms, distinct-n), the whole COCO evaluation (IoU, score sort, matching, accumulation),
407
+ ROC AUC and average precision (one sort per column, shared by both inside `evaluate()`), the LLM-systems
408
+ consistency, groundedness, citation, toxicity and exposure metrics, Elo ratings and bootstrap resampling run in
409
+ the compiled, multithreaded Rust core; bootstrap intervals, paired bootstrap tests and
408
410
  `compare()` evaluate confusion-matrix metrics from counts of each resample's (true, predicted) pairs instead of
409
411
  copies of the data. `evaluate()` validates inputs once and builds the confusion
410
412
  matrix once for all metrics, and integer labels are encoded without sorting. The rank tests rank the data once
@@ -9,10 +9,10 @@ evalsuite/calibration.py,sha256=jhCPOmCFGEkUkcx-hSAIb-JCMq9oF6JZt4uDGvg5NaU,1508
9
9
  evalsuite/plot.py,sha256=7eOyzoRbg6Aad6OhtIQG3laIioQ8fs2K0YzodjG5rHA,26049
10
10
  evalsuite/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  evalsuite/reporting.py,sha256=-LISv9vvEnltT26GtzLjVlxOCcAwmjv4-HyB8_1UF5o,9615
12
- evalsuite/version.py,sha256=p3Fe2L1wp0T3qdA8A55WJIZNiR8w9njp8yc2Ul8I9bg,98
12
+ evalsuite/version.py,sha256=8M6dtrDVoomwqNJzgGQtnZ4mKMsyWATsoYVmgq8bZss,98
13
13
  evalsuite/classification/__init__.py,sha256=ErBIXbBGnhfW6v-1Cn5SegiERoyxNlmO1tEKcLM15mA,833
14
14
  evalsuite/classification/_common.py,sha256=3ANV33ix_mnOzvOAG8glyJO-iYVhhTGO0S3YG0ZddB8,4543
15
- evalsuite/classification/metrics.py,sha256=h-DYF2wwdN8LA1bPbyIgkfuG4ovwBBgtGZFObEmiHzE,37044
15
+ evalsuite/classification/metrics.py,sha256=frSH4Q7-fljA-XDLFTk3djkMrey6WPqJXQUL8hd-9iA,40160
16
16
  evalsuite/cli/__init__.py,sha256=1x48hORLcg_Is2X08A7CPBT6VDJ1QL94zaJP1HTFxUY,96
17
17
  evalsuite/cli/main.py,sha256=ktvy_5D-KfYevKH5ZxO5f0aVFtNXbGeN8zker0tguT0,23994
18
18
  evalsuite/clinical/__init__.py,sha256=xaXLvNvTJsuP525fLb2FyVVNlopIrZczoPrwmEQIvzE,549
@@ -27,14 +27,14 @@ evalsuite/core/result.py,sha256=L_fQZRGRgVgzII2jZb_jpRBK2jy-CdO5u9s-6pUk9fE,1492
27
27
  evalsuite/core/types.py,sha256=r6bhUk7CYAcrlQzjmf-6xWQsNqO3EOipZD-e-2yAJTI,720
28
28
  evalsuite/core/validation.py,sha256=nZRWSuShdFBDYgXMnRmspSQ4AJPRO3Zy5M8wTFfkg2E,10988
29
29
  evalsuite/llmsys/__init__.py,sha256=NA-kVMc3hdmBSW-ufPKrgfd2NHI15wCXJRn3ZhIVFsE,4653
30
- evalsuite/llmsys/_common.py,sha256=Hp9yuO8ItEqr5v1B5fU6-ZVSB3EkvHavnspiPGVmsLM,8713
30
+ evalsuite/llmsys/_common.py,sha256=d68CyUaO9f8Olp1001Ms2-9tVSwNf96g0D2BlhpvSF0,10271
31
31
  evalsuite/llmsys/agents.py,sha256=giiHv3c179fFR6aFUp4VbBjzbdNotS941tZVG7W0UFE,15355
32
32
  evalsuite/llmsys/code.py,sha256=OIyH3aKbuzmH3131wfkj98k5QrrvPwQ1dvCCY4WXD4Y,37528
33
33
  evalsuite/llmsys/efficiency.py,sha256=GlUSWNnzRaeuebv-SZYsB28StwIPYb8AIyMwM057g_A,13895
34
- evalsuite/llmsys/longcontext.py,sha256=koX58FMot3ZwUTPPiv9tM8fGvBY2ijYg0npA8pG278A,15145
35
- evalsuite/llmsys/multilingual.py,sha256=utAlQfQ2hPgav9-3IzY1yhgwyncaTZ-zFp_0koBEBzE,14241
36
- evalsuite/llmsys/robustness.py,sha256=OPe84s1H7IEX5GcuRVcAp_UA29tx_Qq8WlA88khY2cg,20377
37
- evalsuite/llmsys/safety.py,sha256=7Kcv9zJBhIWHS6GeAa0BedCncFOmsbIpnmUQCMvRMPU,22550
34
+ evalsuite/llmsys/longcontext.py,sha256=WkMO_vT1kp4Hr1Q1IBFwq70C6Jud2e-LURSWZzoAlNY,15870
35
+ evalsuite/llmsys/multilingual.py,sha256=5paFTlIE0eTqBEZWXdhJqwBhklRxHDf92uSfr-z_O60,14524
36
+ evalsuite/llmsys/robustness.py,sha256=Yr1tut2FTodARF-WOLP5jf17GH-zaI0Qy2ZxWmhMhas,20878
37
+ evalsuite/llmsys/safety.py,sha256=fjHrTVtwDrMnda987IuW4uPGTr5OSGc349MyGB_tYIk,23747
38
38
  evalsuite/llmsys/uncertainty.py,sha256=Brm_LT8qHb-EtcPe7YBXq7HYMSTG93OkT3Cnx2SYBts,9367
39
39
  evalsuite/regression/__init__.py,sha256=t2XEHUw6e5tyWBHcEeiog2WWd-wwaxf4m5AIX8dJyng,571
40
40
  evalsuite/regression/metrics.py,sha256=Qv5hFswxfzE-8wOKysERqsEJT-3kvTXPrkLoZ7s9jbQ,23487
@@ -48,12 +48,12 @@ evalsuite/stats/paired.py,sha256=guPwpss0XQWRzL4hWL9xE4mgF6bUQQ2FbkNMkyhxrlc,866
48
48
  evalsuite/stats/results.py,sha256=nqXHUiW8l0fQJkbMiunU6Gz-2be1NApZ6Fif2B1K_Yw,4407
49
49
  evalsuite/text/__init__.py,sha256=_r0Qi6X7cBcaYMAPRyC15CsTj9Tv8VcqMCtLiSJPogY,3632
50
50
  evalsuite/text/_common.py,sha256=acjAoPbXlPtd4DC4YbvOv1frIUjvFa1UtbdA5-6YDsU,3790
51
- evalsuite/text/factuality.py,sha256=Id8LnGjqvaVDYC5qMn4H0UJdjrwp1VrZ_zr_0jct8SM,20772
51
+ evalsuite/text/factuality.py,sha256=RsZu7fl1KU9elB1oBOgms3bnrN4lXVchwqIcl0JDXtc,21212
52
52
  evalsuite/text/generation.py,sha256=qrpOvt2T_Fom2M_6YquEEnJbMCr_KwR1kEqtUH6N0tc,52420
53
- evalsuite/text/judge.py,sha256=Ug5UnXBHzPkhtJ-vBxge3ZbkQxCoA4T_zcVxVU8chxQ,23566
53
+ evalsuite/text/judge.py,sha256=5DOc-UOUSUPeXwdnjspVEJ-Yhk5659eTQh3jZLVLRfA,23887
54
54
  evalsuite/text/qa.py,sha256=rU0ya8TzV5mp7UiWq7w9IqSN9B0tDv8xymSaRzzbzMw,4097
55
55
  evalsuite/text/rag.py,sha256=GF8GUp6Vnt9peBCIcdvFUapLUL36_NDApZisYG_rcqg,9641
56
- evalsuite/text/reasoning.py,sha256=ydaTgAY--Tz_zEXm-Q_jLxJjTLnPgRlv39OzXWXD9yA,8885
56
+ evalsuite/text/reasoning.py,sha256=wnVM0dFK1XFODsbQuRo9ngpKfh4tKV9cdhhi2uCILnY,9579
57
57
  evalsuite/text/report.py,sha256=nUAgt24rcQsnPLiNTVn3PlzZO3Y7fW_ch_lSelgfEc8,6241
58
58
  evalsuite/text/retrieval.py,sha256=otQvOTbbR79kYtMum6o2HOT9UoDlSj0-JYLsFddkV1k,8969
59
59
  evalsuite/text/semantic.py,sha256=TgBBDcRll7vMzQVYStgt1SS9G7e6FTf7SuZDcPL32_g,23004
@@ -62,9 +62,9 @@ evalsuite/text/structured.py,sha256=x08yYf2rdlmiA_D_dI1L-fc9quHiBPMKgAGQbG3kJr8,
62
62
  evalsuite/vision/__init__.py,sha256=9gpOBTPveM_srE6BM-SgCssdQurya2LPHhoMLGOh2A0,991
63
63
  evalsuite/vision/detection.py,sha256=Cjr-Y5-pV0wiQk1JiHLYvDdKzMlCEvVQarzY7fqGWw4,32010
64
64
  evalsuite/vision/segmentation.py,sha256=f41Q8iOELCj8jmAJ3pN5OFr3h3-6QtjnluW8rfkg0V0,41132
65
- evalsuite_python-0.6.1.dist-info/METADATA,sha256=Q407ezIaq42FBsXpbi8kqfbTKwUp3Yn74i5jMjn_P4Q,28579
66
- evalsuite_python-0.6.1.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
67
- evalsuite_python-0.6.1.dist-info/entry_points.txt,sha256=YYIwisn4L4sQt3ntzbM0_Z4yZE2KCu3GJ6KfWL1kIwc,54
68
- evalsuite_python-0.6.1.dist-info/licenses/LICENSE,sha256=cRRQ6Kk8w2qCqtDSSUJQGy-0rqjmjJG09cZ6iIiMvdc,1095
69
- evalsuite_python-0.6.1.dist-info/licenses/LICENSE-APACHE,sha256=K4pWYv3dt61u1BuIxjOGBxhgRkpsH4X_dzeIbOILXw0,10784
70
- evalsuite_python-0.6.1.dist-info/RECORD,,
65
+ evalsuite_python-0.7.0.dist-info/METADATA,sha256=wIsTwjgl4BP6BT-vVQY0B_QHZDYvlHrIYg1TrcWq8sM,28857
66
+ evalsuite_python-0.7.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
67
+ evalsuite_python-0.7.0.dist-info/entry_points.txt,sha256=YYIwisn4L4sQt3ntzbM0_Z4yZE2KCu3GJ6KfWL1kIwc,54
68
+ evalsuite_python-0.7.0.dist-info/licenses/LICENSE,sha256=cRRQ6Kk8w2qCqtDSSUJQGy-0rqjmjJG09cZ6iIiMvdc,1095
69
+ evalsuite_python-0.7.0.dist-info/licenses/LICENSE-APACHE,sha256=K4pWYv3dt61u1BuIxjOGBxhgRkpsH4X_dzeIbOILXw0,10784
70
+ evalsuite_python-0.7.0.dist-info/RECORD,,