Skip to content

Commit 0c9e294

Browse files
author
SrGonao
committed
Beartyping and fixing test
1 parent cc9387c commit 0c9e294

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

delphi/scorers/classifier/intruder.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import asyncio
22
import re
33
from dataclasses import dataclass
4-
from typing import Literal, Sequence
4+
from typing import Literal
5+
6+
from beartype.typing import Sequence
57

68
from ...clients.client import Client
79
from ...latents import ActivatingExample, Example, LatentRecord, NonActivatingExample

tests/test_latents/test_constructor.py

+1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ def test_simple_cache(
113113
train_type=train_type,
114114
test_type="quantiles",
115115
),
116+
tokenizer=tokenizer,
116117
)
117118
assert len(record.train) <= n_examples
118119
assert len(record.test) <= n_examples

0 commit comments

Comments
 (0)