We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3323a3d commit 8dab410Copy full SHA for 8dab410
tests/unit/internal/retrieval/test_split.py
@@ -173,7 +173,6 @@ def test_split_series_attributes(attributes, expected):
173
groups = list(split_series_attributes(run_attributes))
174
175
# then
176
- print(len(groups), [len(g) for g in groups])
177
assert groups == expected
178
179
@@ -197,6 +196,9 @@ def test_split_series_attributes(attributes, expected):
197
196
(3, 3 * ATTRIBUTE_DEFINITION_SIZE, 500, [3]),
198
(3, 4 * ATTRIBUTE_DEFINITION_SIZE, 500, [3]),
199
(10, 10 * ATTRIBUTE_DEFINITION_SIZE, 3, [3, 3, 3, 1]),
+ (64, 64 * ATTRIBUTE_DEFINITION_SIZE, 17, [16] * 4),
200
+ (64, 64 * ATTRIBUTE_DEFINITION_SIZE, 16, [16] * 4),
201
+ (64, 64 * ATTRIBUTE_DEFINITION_SIZE, 15, [15, 15, 15, 15, 4]),
202
],
203
)
204
def test_split_series_attributes_custom_envs(monkeypatch, given_num, query_size_limit, batch_size, expected_nums):
0 commit comments