Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Open-Bee/DataStudio
/ functions
Functions
1,367 in github.com/Open-Bee/DataStudio
⨍
Functions
1,367
◇
Types & classes
308
↳
Endpoints
27
Method
test_from_dict_empty
Test creating from empty dict.
tests/datasets/test_config.py:117
Method
test_from_dict_full
Test creating from dict with all fields.
tests/datasets/test_config.py:57
Method
test_from_dict_minimal
Test creating from dict with minimal fields.
tests/datasets/test_config.py:43
Method
test_from_dict_with_aliases
Test creating from dict with field aliases.
tests/datasets/test_config.py:49
Method
test_from_dict_with_datasets
Test creating from dict with datasets.
tests/datasets/test_config.py:122
Method
test_from_dict_with_extra
Test creating from dict with extra fields.
tests/datasets/test_config.py:135
Method
test_function
()
tests/utils/test_registry.py:79
Method
test_generate_calls_pre_encode_images
(self, api)
tests/models/test_openai_api.py:500
Method
test_generate_creates_yaml
Test that generate creates YAML file.
tests/datasets/test_saver_components.py:139
Method
test_generate_empty
Test generating with no files added.
tests/datasets/test_saver_components.py:162
Method
test_generate_empty_messages
Test generating with empty messages list.
tests/models/test_base_api.py:211
Method
test_generate_empty_messages
(self, api)
tests/models/test_openai_api.py:476
Method
test_generate_inner_parse_error
(self, api)
tests/models/test_openai_api.py:439
Method
test_generate_inner_return_dict
(self, api_return_dict)
tests/models/test_openai_api.py:449
Method
test_generate_inner_success
(self, api, mock_openai_success_response)
tests/models/test_openai_api.py:410
Method
test_generate_inner_with_kwargs
(self, api, mock_openai_success_response)
tests/models/test_openai_api.py:421
Method
test_generate_multiple_messages
Test generating responses for multiple messages.
tests/models/test_base_api.py:198
Method
test_generate_multiple_messages
(self, api, mock_openai_success_response)
tests/models/test_openai_api.py:487
Method
test_generate_preserves_order
(self, api)
tests/models/test_openai_api.py:493
Method
test_generate_single_message
Test generating response for single message.
tests/models/test_base_api.py:191
Method
test_generate_single_message
(self, api, mock_openai_success_response)
tests/models/test_openai_api.py:480
Method
test_generate_with_empty_content
Test generating with empty content.
tests/models/test_base_api.py:262
Method
test_generate_with_kwargs
Test generating with additional kwargs.
tests/models/test_base_api.py:205
Method
test_generate_with_none_message
Test generating with None in messages.
tests/models/test_base_api.py:254
Method
test_generate_yaml_content
Test generated YAML content structure.
tests/datasets/test_saver_components.py:149
Method
test_get_answer
Test get_answer returns answer text.
tests/operators/test_data_item.py:195
Method
test_get_case_sensitive
Test get is case sensitive.
tests/utils/test_registry.py:127
Method
test_get_cfg_returns_config
Test get_cfg returns Config instance.
tests/utils/test_config.py:193
Method
test_get_cfg_singleton
Test get_cfg returns same instance.
tests/utils/test_config.py:203
Method
test_get_existing_module
Test getting existing module.
tests/utils/test_registry.py:116
Method
test_get_file_paths
Test getting all file paths.
tests/datasets/test_config.py:155
Method
test_get_file_paths_empty
Test getting file paths from empty config.
tests/datasets/test_config.py:170
Method
test_get_format_with_path
Test getting format with full path.
tests/datasets/test_formatters.py:287
Method
test_get_instance_singleton
Test get_instance returns singleton.
tests/utils/test_logging.py:164
Method
test_get_instance_with_kwargs
Test get_instance with kwargs.
tests/utils/test_logging.py:172
Method
test_get_json_format
Test getting format for .json file.
tests/datasets/test_formatters.py:277
Method
test_get_jsonl_format
Test getting format for .jsonl file.
tests/datasets/test_formatters.py:282
Method
test_get_logger_custom_name
Test get_logger with custom name.
tests/utils/test_logging.py:317
Method
test_get_logger_default
Test get_logger with default name.
tests/utils/test_logging.py:312
Method
test_get_logger_returns_same_instance
Test get_logger returns same instance for same name.
tests/utils/test_logging.py:322
Method
test_get_name
Test get_name returns dataset name.
tests/datasets/test_data_loader.py:105
Method
test_get_nonexistent_module
Test getting nonexistent module raises error.
tests/utils/test_registry.py:122
Method
test_get_progress_no_checkpoint
Test get_progress with no checkpoint.
tests/utils/test_checkpoint.py:170
Method
test_get_progress_with_checkpoint
Test get_progress with checkpoint.
tests/utils/test_checkpoint.py:175
Method
test_get_qa
Test get_qa returns correct QA.
tests/operators/test_data_item.py:173
Method
test_get_qa_count_empty
Test get_qa_count with empty conversations.
tests/utils/test_other_utils.py:219
Method
test_get_qa_count_empty_conversations
Test get_qa_count with empty conversations.
tests/utils/test_other_utils.py:569
Method
test_get_qa_count_incomplete
Test get_qa_count with incomplete turn.
tests/utils/test_other_utils.py:226
Method
test_get_qa_count_multi
Test get_qa_count with multiple turns.
tests/utils/test_other_utils.py:203
Method
test_get_qa_count_odd_number_messages
Test get_qa_count with odd number of messages (incomplete pair).
tests/utils/test_other_utils.py:576
Method
test_get_qa_count_single
Test get_qa_count with single turn.
tests/utils/test_other_utils.py:194
Method
test_get_qa_count_standard_conversations
Test get_qa_count with standard conversations format (4 messages = 2 pairs).
tests/utils/test_other_utils.py:556
Method
test_get_qa_invalid_index
Test get_qa with invalid index raises error.
tests/operators/test_data_item.py:184
Method
test_get_qa_second_turn
Test get_qa for second turn.
tests/operators/test_data_item.py:179
Method
test_get_question
Test get_question returns question text.
tests/operators/test_data_item.py:189
Method
test_get_shard_id
Test get_shard_id.
tests/utils/test_other_utils.py:387
Method
test_get_shard_id_consistent
Test get_shard_id is consistent.
tests/utils/test_other_utils.py:396
Method
test_get_shard_id_distribution
Test get_shard_id distributes keys.
tests/utils/test_other_utils.py:405
Method
test_get_source_from_path
Test getting source from path.
tests/datasets/test_saver_components.py:186
Method
test_get_source_from_path_exact_match
Test getting source with exact path match.
tests/datasets/test_saver_components.py:36
Method
test_get_source_from_path_no_match
Test getting source with no matching path.
tests/datasets/test_saver_components.py:41
Method
test_get_sources_map
Test getting path to source mapping.
tests/datasets/test_config.py:176
Method
test_get_start_index_completed
Test get_start_index for completed file.
tests/utils/test_checkpoint.py:66
Method
test_get_start_index_completed
Test get_start_index returns -1 when file is completed.
tests/utils/test_checkpoint.py:307
Method
test_get_start_index_no_checkpoint
Test get_start_index with no existing checkpoint.
tests/utils/test_checkpoint.py:53
Method
test_get_start_index_with_checkpoint
Test get_start_index with existing checkpoint.
tests/utils/test_checkpoint.py:58
Method
test_get_stats_collector_default
Test get_stats_collector with defaults.
tests/utils/test_statistics.py:393
Method
test_get_stats_collector_singleton
Test get_stats_collector returns same instance.
tests/utils/test_statistics.py:404
Method
test_get_stats_collector_with_work_dir
Test get_stats_collector with work_dir.
tests/utils/test_statistics.py:399
Method
test_get_summary
Test get_summary.
tests/utils/test_statistics.py:332
Method
test_get_summary_empty
Test get_summary with no data.
tests/utils/test_statistics.py:443
Method
test_get_unsupported_format
Test getting format for unsupported extension.
tests/datasets/test_formatters.py:292
Method
test_group_by_source
Test grouping data by source.
tests/datasets/test_saver_components.py:59
Method
test_has_filter_false
Test has_filter returns False when empty.
tests/operators/test_result.py:183
Method
test_has_filter_true
Test has_filter returns True when decisions exist.
tests/operators/test_result.py:188
Method
test_has_image_property
Test has_image property.
tests/operators/test_data_item.py:151
Method
test_has_meaningful_content_empty
Test has_meaningful_content with empty string.
tests/utils/test_other_utils.py:271
Method
test_has_meaningful_content_false
Test has_meaningful_content with mostly non-alphanumeric text.
tests/utils/test_other_utils.py:261
Method
test_has_meaningful_content_true
Test has_meaningful_content with meaningful text.
tests/utils/test_other_utils.py:252
Method
test_has_processed_false_initially
Test has_processed returns False for unprocessed dataset.
tests/datasets/test_data_saver.py:269
Method
test_has_rewrite_false
Test has_rewrite returns False when empty.
tests/operators/test_result.py:194
Method
test_has_rewrite_true
Test has_rewrite returns True when decisions exist.
tests/operators/test_result.py:199
Method
test_hooks_registry_exists
Test HOOKS registry exists.
tests/utils/test_registry.py:247
Method
test_image_pil_is_removed
Test that image_pil is removed from data dicts.
tests/datasets/test_data_saver.py:340
Method
test_image_property_with_image
Test image property when image_pil exists.
tests/operators/test_data_item.py:139
Method
test_image_property_without_image
Test image property when no image.
tests/operators/test_data_item.py:146
Method
test_image_size_filter_registered
Test ImageSizeFilter is registered.
tests/operators/test_filters.py:491
Method
test_images_as_non_list
images field as string instead of list.
tests/datasets/test_schema_converter.py:333
Method
test_incremental_save_below_threshold
Test that incremental save doesn't trigger below threshold.
tests/datasets/test_data_saver.py:222
Method
test_incremental_save_method
Test calling incremental_save directly.
tests/datasets/test_data_saver.py:241
Method
test_incremental_save_triggers_at_threshold
Test that incremental save triggers at threshold.
tests/datasets/test_data_saver.py:203
Method
test_info
Test info logging.
tests/utils/test_logging.py:217
Method
test_info_level
Test INFO level exists.
tests/utils/test_logging.py:27
Method
test_init
Test ShardedLMDBManager initialization.
tests/utils/test_other_utils.py:429
Method
test_init
Test initialization.
tests/operators/test_mllm.py:166
Method
test_init
Test initialization.
tests/operators/test_mllm.py:265
Method
test_init
Test SimpleSaver initialization.
tests/datasets/test_saver_components.py:30
Method
test_init
Test YamlConfigGenerator initialization.
tests/datasets/test_saver_components.py:121
Method
test_init
Test ProcessedChecker initialization.
tests/datasets/test_saver_components.py:178
Method
test_init_api_base_direct
(self)
tests/models/test_openai_api.py:113
← previous
next →
801–900 of 1,367, ranked by callers