4a9e3bb71b9b706d5b664805afcc9a6811d12d04,tensorflow_datasets/core/dataset_builder_test.py,InvalidSplitDataset,_split_generators,#InvalidSplitDataset#Any#,97
Before Change
class InvalidSplitDataset(DummyDatasetWithConfigs):
def _split_generators(self, _):
return [
splits_lib.SplitGenerator(
name="all", // Error: ALL cannot be used as Split key
)
]
class DatasetBuilderTest(testing.TestCase):
After Change
def _split_generators(self, _):
// Error: ALL cannot be used as Split key
return {"all": self._generate_examples(range(5))}
class DatasetBuilderTest(testing.TestCase):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: tensorflow/datasets
Commit Name: 4a9e3bb71b9b706d5b664805afcc9a6811d12d04
Time: 2020-10-30
Author: epot@google.com
File Name: tensorflow_datasets/core/dataset_builder_test.py
Class Name: InvalidSplitDataset
Method Name: _split_generators
Project Name: tensorflow/datasets
Commit Name: 4a9e3bb71b9b706d5b664805afcc9a6811d12d04
Time: 2020-10-30
Author: epot@google.com
File Name: tensorflow_datasets/testing/test_utils.py
Class Name: DummyMnist
Method Name: _split_generators
Project Name: tensorflow/datasets
Commit Name: 4a9e3bb71b9b706d5b664805afcc9a6811d12d04
Time: 2020-10-30
Author: epot@google.com
File Name: tensorflow_datasets/core/dataset_builder_test.py
Class Name: NestedSequenceBuilder
Method Name: _split_generators