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_relative_path_joins_with_data_root
Test that a relative file_path is joined with data_root.
tests/datasets/test_data_loader.py:423
Method
test_remove_think_rewriter_registered
Test RemoveThinkRewriter is registered.
tests/operators/test_rewriters.py:394
Method
test_request_builder_registered
Test RequestBuilder is registered.
tests/operators/test_mllm.py:416
Method
test_request_non_streaming_client_error
(self, api)
tests/models/test_openai_api.py:307
Method
test_request_non_streaming_http_error
(self, api)
tests/models/test_openai_api.py:281
Method
test_request_non_streaming_success
( self, api, mock_openai_success_response )
tests/models/test_openai_api.py:263
Method
test_request_non_streaming_timeout
(self, api)
tests/models/test_openai_api.py:297
Method
test_requests_contains_request_builder
Test REQUESTS contains RequestBuilder.
tests/utils/test_registry.py:440
Method
test_requests_registry_exists
Test REQUESTS registry exists.
tests/utils/test_registry.py:252
Method
test_reset_stats_collector
Test reset_stats_collector.
tests/utils/test_statistics.py:415
Method
test_result_answer_rewrite
Test with result='New answer' and rewrite_type='answer' -> add_rewrite with new_answer.
tests/operators/test_mllm.py:563
Method
test_result_false_bool_keeps
Test with result=False bool -> should NOT reject.
tests/operators/test_mllm.py:492
Method
test_result_false_string_keeps
Test with result='false' string -> should NOT reject.
tests/operators/test_mllm.py:470
Method
test_result_none_no_rewrite
Test with result=None -> no rewrite added.
tests/operators/test_mllm.py:554
Method
test_result_question_rewrite
Test with result='New question' and rewrite_type='question' -> add_rewrite with new_question.
tests/operators/test_mllm.py:574
Method
test_result_true_bool_rejects
Test with result=True bool -> should reject.
tests/operators/test_mllm.py:481
Method
test_result_true_string_rejects
Test with result='true' string -> should reject.
tests/operators/test_mllm.py:448
Method
test_result_yes_string_rejects
Test with result='yes' string -> should reject.
tests/operators/test_mllm.py:459
Method
test_resume_from_checkpoint
Test resuming from checkpoint starts at correct index.
tests/datasets/test_data_loader.py:224
Method
test_retry_on_failure
Test retry logic on failure.
tests/models/test_base_api.py:267
Method
test_rewrite_adds_empty_think
Test rewrite adds empty think tag.
tests/operators/test_rewriters.py:152
Method
test_rewrite_already_has_think
Test rewrite when think tag already present.
tests/operators/test_rewriters.py:166
Method
test_rewrite_decision_answer_only
Test RewriteDecision with answer only.
tests/operators/test_result.py:70
Method
test_rewrite_decision_equality
Test RewriteDecision equality.
tests/operators/test_result.py:95
Method
test_rewrite_decision_is_frozen
Test that RewriteDecision is immutable.
tests/operators/test_result.py:89
Method
test_rewrite_decision_question_only
Test RewriteDecision with question only.
tests/operators/test_result.py:78
Method
test_rewrite_moves_image_tag
Test rewrite moves image tag to correct position.
tests/operators/test_rewriters.py:189
Method
test_rewrite_multi_turn
Test rewrite normalizes multi-turn prompts.
tests/operators/test_rewriters.py:261
Method
test_rewrite_multiple_image_tags
Test rewrite handles multiple image tags.
tests/operators/test_rewriters.py:210
Method
test_rewrite_multiple_think_tags
Test rewrite handles multiple think tags.
tests/operators/test_rewriters.py:87
Method
test_rewrite_nested_think_tags
Test rewrite handles nested think tags.
tests/operators/test_rewriters.py:69
Method
test_rewrite_no_change_needed
Test rewrite when already normalized.
tests/operators/test_rewriters.py:129
Method
test_rewrite_no_change_needed
Test rewrite when already normalized.
tests/operators/test_rewriters.py:247
Method
test_rewrite_no_image_tag
Test rewrite when no image tag.
tests/operators/test_rewriters.py:204
Method
test_rewrite_no_prefix
Test rewrite when no prefix present.
tests/operators/test_rewriters.py:296
Method
test_rewrite_no_prefix
Test rewrite when no prefix present.
tests/operators/test_rewriters.py:339
Method
test_rewrite_no_think_tag
Test rewrite when no think tag present.
tests/operators/test_rewriters.py:40
Method
test_rewrite_normalize_think
Test rewrite normalizes think tag format.
tests/operators/test_rewriters.py:113
Method
test_rewrite_normalizes_prompt
Test rewrite normalizes prompt format.
tests/operators/test_rewriters.py:233
Method
test_rewrite_rate_property
Test rewrite_rate property.
tests/utils/test_statistics.py:74
Method
test_rewrite_removes_answer_prefix
Test rewrite removes [ANSWER 0] prefix.
tests/operators/test_rewriters.py:281
Method
test_rewrite_removes_reasoning_prefix
Test rewrite removes Reasoning: prefix.
tests/operators/test_rewriters.py:325
Method
test_rewrite_returns_none
Test rewrite can return None (no change).
tests/operators/test_operator.py:229
Method
test_rewrite_returns_string
Test rewrite returns new answer string.
tests/operators/test_operator.py:222
Method
test_rewrite_single_turn
Test rewrite with single turn.
tests/operators/test_rewriters.py:267
Method
test_rewrite_various_formats
Test rewrite handles various ANSWER formats.
tests/operators/test_rewriters.py:302
Method
test_rewrite_with_think_tag
Test rewrite removes think tag.
tests/operators/test_rewriters.py:54
Method
test_rewriter_empty_answer
Test rewriters handle empty answer.
tests/operators/test_rewriters.py:416
Method
test_rewriter_empty_response
Test rewriter handles empty response.
tests/operators/test_mllm.py:364
Method
test_rewriter_modifies_data_for_subsequent_filter
Test that rewriters modify data and filters can see the modified data.
tests/pipelines/test_sub_pipeline.py:412
Method
test_rewriter_special_characters
Test rewriters handle special characters.
tests/operators/test_rewriters.py:444
Method
test_rewriter_unicode_content
Test rewriters handle unicode content.
tests/operators/test_rewriters.py:429
Method
test_rewriter_with_empty_item
Test rewriter with empty conversations.
tests/operators/test_operator.py:324
Method
test_role_map_to_messages
(self)
tests/datasets/test_schema_converter.py:289
Method
test_role_map_to_standard
(self)
tests/datasets/test_schema_converter.py:284
Method
test_roundtrip_empty
Test with empty data.
tests/pipelines/test_sub_pipeline.py:510
Method
test_roundtrip_multi_turn
Test with multi-turn conversation.
tests/pipelines/test_sub_pipeline.py:531
Method
test_roundtrip_preserves_all_data_fields
Test that wrap_items -> unwrap_items preserves all data fields.
tests/pipelines/test_sub_pipeline.py:487
Method
test_roundtrip_single_item
Test with single item.
tests/pipelines/test_sub_pipeline.py:516
Method
test_same_priority_maintains_order
Test that same priority operations maintain stable sort order.
tests/pipelines/test_pipeline.py:408
Method
test_save_and_load_roundtrip
Test that save and load are inverse operations.
tests/datasets/test_config.py:323
Method
test_save_append_mode
Test saving in append mode.
tests/datasets/test_saver_components.py:88
Method
test_save_cfg
Test save_cfg saves to YAML.
tests/utils/test_config.py:218
Method
test_save_config
Test saving config to YAML file.
tests/datasets/test_config.py:221
Method
test_save_creates_file
Test that save creates output file.
tests/datasets/test_data_saver.py:115
Method
test_save_creates_files
Test that save creates output files.
tests/datasets/test_saver_components.py:71
Method
test_save_creates_parent_directory
Test that save creates parent directories if needed.
tests/datasets/test_formatters.py:167
Method
test_save_empty_data
Test save with no accumulated data.
tests/datasets/test_data_saver.py:147
Method
test_save_empty_list
Test saving empty list.
tests/datasets/test_formatters.py:158
Method
test_save_empty_list
Test saving empty list.
tests/datasets/test_formatters.py:264
Method
test_save_json
Test saving data to JSON file.
tests/datasets/test_formatters.py:128
Method
test_save_json_ensure_ascii_false
Test saving JSON with non-ASCII characters.
tests/datasets/test_formatters.py:148
Method
test_save_json_file
Test saving JSON file through registry.
tests/datasets/test_formatters.py:316
Method
test_save_json_with_indent
Test saving JSON with custom indent.
tests/datasets/test_formatters.py:138
Method
test_save_jsonl
Test saving data to JSONL file.
tests/datasets/test_formatters.py:232
Method
test_save_jsonl_each_line_valid_json
Test that each line in saved JSONL is valid JSON.
tests/datasets/test_formatters.py:242
Method
test_save_jsonl_ensure_ascii_false
Test saving JSONL with non-ASCII characters.
tests/datasets/test_formatters.py:254
Method
test_save_jsonl_file
Test saving JSONL file through registry.
tests/datasets/test_formatters.py:323
Method
test_save_large_batch
Test saving large batch of data.
tests/datasets/test_data_saver.py:303
Method
test_save_multiple_times
Test calling save multiple times.
tests/datasets/test_data_saver.py:151
Method
test_save_rejected_data
Test saving rejected data separately.
tests/datasets/test_saver_components.py:81
Method
test_save_returns_stats
Test that save returns statistics.
tests/datasets/test_saver_components.py:98
Method
test_save_with_auto_denormalize_converts_back_to_original_schema
Test save with auto_denormalize=True converts back to original schema.
tests/datasets/test_formatters_extended.py:72
Method
test_save_with_auto_denormalize_false_preserves_conversations_schema
Test save with auto_denormalize=False preserves conversations schema.
tests/datasets/test_formatters_extended.py:106
Method
test_save_with_unicode_data
Test saving data with unicode characters.
tests/datasets/test_data_saver.py:282
Method
test_save_writes_correct_data
Test that save writes correct data.
tests/datasets/test_data_saver.py:125
Method
test_save_yaml_creates_file
Test that save_yaml creates YAML file.
tests/datasets/test_data_saver.py:163
Method
test_save_yaml_disabled
Test that YAML is not created when disabled.
tests/datasets/test_data_saver.py:180
Method
test_set_answer
Test set_answer modifies answer.
tests/operators/test_data_item.py:224
Method
test_set_answer_saves_original
Test set_answer saves original when requested.
tests/operators/test_data_item.py:230
Method
test_set_question
Test set_question modifies question.
tests/operators/test_data_item.py:210
Method
test_set_question_no_save_original
Test set_question without saving original.
tests/operators/test_data_item.py:238
Method
test_set_question_saves_original
Test set_question saves original when requested.
tests/operators/test_data_item.py:216
Method
test_should_rewrite_custom_false
Test _should_rewrite with custom function that returns False.
tests/operators/test_mllm.py:612
Method
test_should_rewrite_custom_true
Test _should_rewrite with custom function that returns True.
tests/operators/test_mllm.py:603
Method
test_should_rewrite_none_always_true
Test _should_rewrite with None function -> always True.
tests/operators/test_mllm.py:621
Method
test_should_skip_no_image_required
Test _should_skip returns False when with_image=False regardless of image.
tests/operators/test_mllm.py:674
Method
test_should_skip_with_image_required_and_present
Test _should_skip returns False when with_image=True and item has image.
tests/operators/test_mllm.py:652
Method
test_should_skip_with_image_required_but_missing
Test _should_skip returns True when with_image=True but item has no image.
tests/operators/test_mllm.py:631
Method
test_shutdown
Test shutdown method.
tests/models/test_base_api.py:246
← previous
next →
1,201–1,300 of 1,367, ranked by callers