MCPcopy Create free account

hub / github.com/Open-Bee/DataStudio / functions

Functions1,367 in github.com/Open-Bee/DataStudio

Methodtest_from_dict_empty
Test creating from empty dict.
tests/datasets/test_config.py:117
Methodtest_from_dict_full
Test creating from dict with all fields.
tests/datasets/test_config.py:57
Methodtest_from_dict_minimal
Test creating from dict with minimal fields.
tests/datasets/test_config.py:43
Methodtest_from_dict_with_aliases
Test creating from dict with field aliases.
tests/datasets/test_config.py:49
Methodtest_from_dict_with_datasets
Test creating from dict with datasets.
tests/datasets/test_config.py:122
Methodtest_from_dict_with_extra
Test creating from dict with extra fields.
tests/datasets/test_config.py:135
Methodtest_function
()
tests/utils/test_registry.py:79
Methodtest_generate_calls_pre_encode_images
(self, api)
tests/models/test_openai_api.py:500
Methodtest_generate_creates_yaml
Test that generate creates YAML file.
tests/datasets/test_saver_components.py:139
Methodtest_generate_empty
Test generating with no files added.
tests/datasets/test_saver_components.py:162
Methodtest_generate_empty_messages
Test generating with empty messages list.
tests/models/test_base_api.py:211
Methodtest_generate_empty_messages
(self, api)
tests/models/test_openai_api.py:476
Methodtest_generate_inner_parse_error
(self, api)
tests/models/test_openai_api.py:439
Methodtest_generate_inner_return_dict
(self, api_return_dict)
tests/models/test_openai_api.py:449
Methodtest_generate_inner_success
(self, api, mock_openai_success_response)
tests/models/test_openai_api.py:410
Methodtest_generate_inner_with_kwargs
(self, api, mock_openai_success_response)
tests/models/test_openai_api.py:421
Methodtest_generate_multiple_messages
Test generating responses for multiple messages.
tests/models/test_base_api.py:198
Methodtest_generate_multiple_messages
(self, api, mock_openai_success_response)
tests/models/test_openai_api.py:487
Methodtest_generate_preserves_order
(self, api)
tests/models/test_openai_api.py:493
Methodtest_generate_single_message
Test generating response for single message.
tests/models/test_base_api.py:191
Methodtest_generate_single_message
(self, api, mock_openai_success_response)
tests/models/test_openai_api.py:480
Methodtest_generate_with_empty_content
Test generating with empty content.
tests/models/test_base_api.py:262
Methodtest_generate_with_kwargs
Test generating with additional kwargs.
tests/models/test_base_api.py:205
Methodtest_generate_with_none_message
Test generating with None in messages.
tests/models/test_base_api.py:254
Methodtest_generate_yaml_content
Test generated YAML content structure.
tests/datasets/test_saver_components.py:149
Methodtest_get_answer
Test get_answer returns answer text.
tests/operators/test_data_item.py:195
Methodtest_get_case_sensitive
Test get is case sensitive.
tests/utils/test_registry.py:127
Methodtest_get_cfg_returns_config
Test get_cfg returns Config instance.
tests/utils/test_config.py:193
Methodtest_get_cfg_singleton
Test get_cfg returns same instance.
tests/utils/test_config.py:203
Methodtest_get_existing_module
Test getting existing module.
tests/utils/test_registry.py:116
Methodtest_get_file_paths
Test getting all file paths.
tests/datasets/test_config.py:155
Methodtest_get_file_paths_empty
Test getting file paths from empty config.
tests/datasets/test_config.py:170
Methodtest_get_format_with_path
Test getting format with full path.
tests/datasets/test_formatters.py:287
Methodtest_get_instance_singleton
Test get_instance returns singleton.
tests/utils/test_logging.py:164
Methodtest_get_instance_with_kwargs
Test get_instance with kwargs.
tests/utils/test_logging.py:172
Methodtest_get_json_format
Test getting format for .json file.
tests/datasets/test_formatters.py:277
Methodtest_get_jsonl_format
Test getting format for .jsonl file.
tests/datasets/test_formatters.py:282
Methodtest_get_logger_custom_name
Test get_logger with custom name.
tests/utils/test_logging.py:317
Methodtest_get_logger_default
Test get_logger with default name.
tests/utils/test_logging.py:312
Methodtest_get_logger_returns_same_instance
Test get_logger returns same instance for same name.
tests/utils/test_logging.py:322
Methodtest_get_name
Test get_name returns dataset name.
tests/datasets/test_data_loader.py:105
Methodtest_get_nonexistent_module
Test getting nonexistent module raises error.
tests/utils/test_registry.py:122
Methodtest_get_progress_no_checkpoint
Test get_progress with no checkpoint.
tests/utils/test_checkpoint.py:170
Methodtest_get_progress_with_checkpoint
Test get_progress with checkpoint.
tests/utils/test_checkpoint.py:175
Methodtest_get_qa
Test get_qa returns correct QA.
tests/operators/test_data_item.py:173
Methodtest_get_qa_count_empty
Test get_qa_count with empty conversations.
tests/utils/test_other_utils.py:219
Methodtest_get_qa_count_empty_conversations
Test get_qa_count with empty conversations.
tests/utils/test_other_utils.py:569
Methodtest_get_qa_count_incomplete
Test get_qa_count with incomplete turn.
tests/utils/test_other_utils.py:226
Methodtest_get_qa_count_multi
Test get_qa_count with multiple turns.
tests/utils/test_other_utils.py:203
Methodtest_get_qa_count_odd_number_messages
Test get_qa_count with odd number of messages (incomplete pair).
tests/utils/test_other_utils.py:576
Methodtest_get_qa_count_single
Test get_qa_count with single turn.
tests/utils/test_other_utils.py:194
Methodtest_get_qa_count_standard_conversations
Test get_qa_count with standard conversations format (4 messages = 2 pairs).
tests/utils/test_other_utils.py:556
Methodtest_get_qa_invalid_index
Test get_qa with invalid index raises error.
tests/operators/test_data_item.py:184
Methodtest_get_qa_second_turn
Test get_qa for second turn.
tests/operators/test_data_item.py:179
Methodtest_get_question
Test get_question returns question text.
tests/operators/test_data_item.py:189
Methodtest_get_shard_id
Test get_shard_id.
tests/utils/test_other_utils.py:387
Methodtest_get_shard_id_consistent
Test get_shard_id is consistent.
tests/utils/test_other_utils.py:396
Methodtest_get_shard_id_distribution
Test get_shard_id distributes keys.
tests/utils/test_other_utils.py:405
Methodtest_get_source_from_path
Test getting source from path.
tests/datasets/test_saver_components.py:186
Methodtest_get_source_from_path_exact_match
Test getting source with exact path match.
tests/datasets/test_saver_components.py:36
Methodtest_get_source_from_path_no_match
Test getting source with no matching path.
tests/datasets/test_saver_components.py:41
Methodtest_get_sources_map
Test getting path to source mapping.
tests/datasets/test_config.py:176
Methodtest_get_start_index_completed
Test get_start_index for completed file.
tests/utils/test_checkpoint.py:66
Methodtest_get_start_index_completed
Test get_start_index returns -1 when file is completed.
tests/utils/test_checkpoint.py:307
Methodtest_get_start_index_no_checkpoint
Test get_start_index with no existing checkpoint.
tests/utils/test_checkpoint.py:53
Methodtest_get_start_index_with_checkpoint
Test get_start_index with existing checkpoint.
tests/utils/test_checkpoint.py:58
Methodtest_get_stats_collector_default
Test get_stats_collector with defaults.
tests/utils/test_statistics.py:393
Methodtest_get_stats_collector_singleton
Test get_stats_collector returns same instance.
tests/utils/test_statistics.py:404
Methodtest_get_stats_collector_with_work_dir
Test get_stats_collector with work_dir.
tests/utils/test_statistics.py:399
Methodtest_get_summary
Test get_summary.
tests/utils/test_statistics.py:332
Methodtest_get_summary_empty
Test get_summary with no data.
tests/utils/test_statistics.py:443
Methodtest_get_unsupported_format
Test getting format for unsupported extension.
tests/datasets/test_formatters.py:292
Methodtest_group_by_source
Test grouping data by source.
tests/datasets/test_saver_components.py:59
Methodtest_has_filter_false
Test has_filter returns False when empty.
tests/operators/test_result.py:183
Methodtest_has_filter_true
Test has_filter returns True when decisions exist.
tests/operators/test_result.py:188
Methodtest_has_image_property
Test has_image property.
tests/operators/test_data_item.py:151
Methodtest_has_meaningful_content_empty
Test has_meaningful_content with empty string.
tests/utils/test_other_utils.py:271
Methodtest_has_meaningful_content_false
Test has_meaningful_content with mostly non-alphanumeric text.
tests/utils/test_other_utils.py:261
Methodtest_has_meaningful_content_true
Test has_meaningful_content with meaningful text.
tests/utils/test_other_utils.py:252
Methodtest_has_processed_false_initially
Test has_processed returns False for unprocessed dataset.
tests/datasets/test_data_saver.py:269
Methodtest_has_rewrite_false
Test has_rewrite returns False when empty.
tests/operators/test_result.py:194
Methodtest_has_rewrite_true
Test has_rewrite returns True when decisions exist.
tests/operators/test_result.py:199
Methodtest_hooks_registry_exists
Test HOOKS registry exists.
tests/utils/test_registry.py:247
Methodtest_image_pil_is_removed
Test that image_pil is removed from data dicts.
tests/datasets/test_data_saver.py:340
Methodtest_image_property_with_image
Test image property when image_pil exists.
tests/operators/test_data_item.py:139
Methodtest_image_property_without_image
Test image property when no image.
tests/operators/test_data_item.py:146
Methodtest_image_size_filter_registered
Test ImageSizeFilter is registered.
tests/operators/test_filters.py:491
Methodtest_images_as_non_list
images field as string instead of list.
tests/datasets/test_schema_converter.py:333
Methodtest_incremental_save_below_threshold
Test that incremental save doesn't trigger below threshold.
tests/datasets/test_data_saver.py:222
Methodtest_incremental_save_method
Test calling incremental_save directly.
tests/datasets/test_data_saver.py:241
Methodtest_incremental_save_triggers_at_threshold
Test that incremental save triggers at threshold.
tests/datasets/test_data_saver.py:203
Methodtest_info
Test info logging.
tests/utils/test_logging.py:217
Methodtest_info_level
Test INFO level exists.
tests/utils/test_logging.py:27
Methodtest_init
Test ShardedLMDBManager initialization.
tests/utils/test_other_utils.py:429
Methodtest_init
Test initialization.
tests/operators/test_mllm.py:166
Methodtest_init
Test initialization.
tests/operators/test_mllm.py:265
Methodtest_init
Test SimpleSaver initialization.
tests/datasets/test_saver_components.py:30
Methodtest_init
Test YamlConfigGenerator initialization.
tests/datasets/test_saver_components.py:121
Methodtest_init
Test ProcessedChecker initialization.
tests/datasets/test_saver_components.py:178
Methodtest_init_api_base_direct
(self)
tests/models/test_openai_api.py:113
← previousnext →801–900 of 1,367, ranked by callers