You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
, record.test is expected to be list[list[ActivatingExample]] rather than list[ActivatingExample]. But I think this might be incorrect, as this is due to #99, which fixed type errors, and in the rest of the codebase, record.test is expected to be list[ActivatingExample] (again, expected by type annotations).
If we want both places to expect record.test to be list[ActivatingExample], I can make the changes in my PR and mark it as ready for review.
In
delphi/delphi/scorers/embedding/embedding.py
Lines 76 to 83 in 7166b06
record.test
islist[ActivatingExample]
(the type expected by annotations),examples
is of typeActivatingExample
, so whendelphi/delphi/scorers/embedding/embedding.py
Lines 111 to 131 in 7166b06
ActivatingExample
, leading to aTypeError
.The text was updated successfully, but these errors were encountered: