MCPcopy Create free account
hub / github.com/google/adk-python / _get_dataset

Function _get_dataset

contributing/samples/integrations/gepa/experiment.py:452–457  ·  view source on GitHub ↗
(ds: Dataset)

Source from the content-addressed store, hash-verified

450
451
452def _get_dataset(ds: Dataset) -> list[TauBenchDataInst]:
453 task_ids = ds.indexes or list(range(len(_DATASET_SPLITS[ds.split])))
454 if ds.max_size is not None:
455 task_ids = task_ids[: ds.max_size]
456 random.shuffle(task_ids)
457 return task_ids
458
459
460def _get_datasets(

Callers 2

_get_datasetsFunction · 0.85
run_evalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected