MCPcopy Create free account

hub / github.com/OpenPipe/ART / functions

Functions1,502 in github.com/OpenPipe/ART

Functionrollout_fn
Single inference call returns N completions for the group.
src/art/pipeline_trainer/yes_no_maybe_pipeline.py:82
Functionrun
Run the ART CLI.
src/art/cli.py:286
Methodsafe_model_dump
Dump the model, but remove the config field to prevent serialization errors in the backend.
src/art/model.py:205
Methodsafe_model_dump
Dump the model, but remove the config field to prevent serialization errors in the backend.
src/art/model.py:988
Methodsample_trajectories
Create sample trajectories for testing.
tests/unit/test_frontend_logging.py:29
Functionsample_trajectory
Create a sample trajectory for testing.
tests/unit/test_trajectory_copy.py:13
Functionsample_trajectory_group
Create a sample trajectory group for testing.
tests/unit/test_trajectory_copy.py:37
Methodsample_trajectory_groups
Create sample trajectory groups for testing.
tests/unit/test_frontend_logging.py:56
Methodsample_trajectory_groups
Create sample trajectory groups for testing.
tests/unit/test_frontend_logging.py:139
Functionserialize_story
(story)
examples/hn_title_generator/utils.py:33
Methodserialize_time
(self, value: datetime)
examples/hn_title_generator/utils.py:27
Functionserialize_trajectory_groups
Serialize trajectory groups to a JSONL string.
src/art/utils/trajectory_migration.py:28
Methodset_step
(self, step: int)
src/art/pipeline_trainer/status.py:89
Methodsft_training_jobs
(self)
src/art/serverless/client.py:301
Functionsingle_rollout
( _model: art.TrainableModel, scenario: Scenario, _config: PipelineConfig, )
src/art/pipeline_trainer/binary_prefix_tool_pipeline.py:282
Methodsnapshot_stats
(self)
src/art/tinker/prefix_cache.py:181
Methodspace_saved
Return bytes saved by compression.
src/art/utils/trajectory_migration.py:162
Functionsplit_list
Split a sequence into a list of lists, where the sizes are as equal as possible, and the long and short lists are as uniformly distributed as
src/art/tinker/cookbook_v/utils/misc_utils.py:58
Methodstart
Start the MCP server and establish connection.
examples/mcp-rl/mcp_rl/mcp_server.py:83
Methodstart
Start the API session.
examples/mcp-rl/mcp_rl/mcp_server.py:191
Methodstart_openai_server
( self, config: dev.OpenAIServerConfig | None )
src/art/megatron/service.py:184
Methodstart_openai_server
( self, config: dev.OpenAIServerConfig | None )
src/art/unsloth/service.py:470
Methodstart_openai_server
( self, config: dev.OpenAIServerConfig | None )
src/art/tinker/service.py:43
Methodstop
(self)
src/art/tinker/server.py:101
Methodstop
Stop the MCP server and clean up connections.
examples/mcp-rl/mcp_rl/mcp_server.py:98
Methodstop
Stop the API session.
examples/mcp-rl/mcp_rl/mcp_server.py:200
Functionstreamline_tracebacks
()
src/mp_actors/traceback.py:10
Methodsupports_automatic_train_step_metrics
(self)
src/art/local/backend.py:108
Functionsync_wrapper
(*args: P.args, **kwargs: P.kwargs)
src/art/utils/retry.py:78
Methodtest_add_response_cost_uses_registered_model_pricing
(self)
tests/unit/test_metrics_builder.py:188
Methodtest_anthropic_claude_sonnet_4_6_prompt_cache_cost
( self, tmp_path: Path, )
tests/integration/test_live_api_cost.py:156
Methodtest_anthropic_cost_extraction_accounts_for_cache_write_and_read
( self, )
tests/unit/test_track_api_cost.py:187
Methodtest_anthropic_cost_extraction_uses_registered_model_pricing
( self, )
tests/unit/test_track_api_cost.py:159
Functiontest_async_generator_cancellation_does_not_break_future_calls
()
tests/unit/test_mp_actors.py:89
Functiontest_auto_trajectory
(test_server: None)
tests/unit/test_auto_trajectory.py:212
Functiontest_average_metric_samples_handles_sparse_keys
()
tests/unit/test_metrics_taxonomy.py:13
Functiontest_average_metric_samples_requires_invariant_gradient_step_count
()
tests/unit/test_metrics_taxonomy.py:46
Methodtest_base_path_custom
Verify base_path can be customized.
tests/unit/test_frontend_logging.py:997
Methodtest_base_path_default
Verify base_path defaults to '.art'.
tests/unit/test_frontend_logging.py:992
Functiontest_build_training_summary_metrics_only_includes_data_section
()
tests/unit/test_metrics_taxonomy.py:26
Functiontest_child_exceptions_are_propagated_and_proxy_recovers
()
tests/unit/test_mp_actors.py:131
Functiontest_child_exit_error_is_sticky_for_followup_calls
()
tests/unit/test_mp_actors.py:74
Methodtest_choice_format
Test trajectories with Choice format (finish_reason) are flattened to messages.
tests/unit/test_trajectory_parquet.py:219
Functiontest_close_fails_inflight_requests_and_is_idempotent
()
tests/unit/test_mp_actors.py:111
Methodtest_compute_sample_costs_uses_tinker_leaf_names
(self)
tests/unit/test_track_api_cost.py:91
Methodtest_concurrent_add_cost_calls_do_not_lose_updates
(self)
tests/unit/test_metrics_builder.py:236
Methodtest_contextvar_activate_and_get_active
(self)
tests/unit/test_metrics_builder.py:250
Functiontest_convert_openai_messages_to_renderer_format_stringifies_dict_arguments
()
tests/unit/test_tinker_renderers.py:157
Functiontest_copy_empty_group
Test copying an empty trajectory group.
tests/unit/test_trajectory_copy.py:183
Methodtest_cost_cumulative_persists_across_model_recreation
( self, tmp_path: Path )
tests/unit/test_frontend_logging.py:668
Methodtest_costs_all_generated_for_single_and_multiple_children
(self)
tests/unit/test_metrics_builder.py:101
Methodtest_costs_are_logged_in_hierarchical_taxonomy
(self, tmp_path: Path)
tests/unit/test_frontend_logging.py:625
Functiontest_create_sft_dataset_iterator_deterministic
Test that create_sft_dataset_iterator is deterministic with the same seed.
tests/unit/test_sft.py:279
Functiontest_create_sft_dataset_iterator_empty_input
Test that empty trajectories yields no chunks.
tests/unit/test_sft.py:302
Functiontest_create_sft_dataset_iterator_initial_step
Test that initial_step skips completed chunks.
tests/unit/test_sft.py:246
Functiontest_create_sft_dataset_iterator_lr_schedule_continuity
Test that concatenated chunk LRs match the full schedule from create_lr_schedule.
tests/unit/test_sft.py:173
Functiontest_create_sft_dataset_iterator_single_chunk
Test that chunk_size >= dataset produces one chunk with full schedule.
tests/unit/test_sft.py:308
Functiontest_create_sft_dataset_iterator_step_tracking
Test that step, epoch, and epoch_step are correct on each chunk.
tests/unit/test_sft.py:212
Methodtest_cum_accumulates_for_hierarchical_sections
(self)
tests/unit/test_metrics_builder.py:29
Methodtest_cumulative_namespace_is_reserved
(self)
tests/unit/test_metrics_builder.py:136
Methodtest_custom_extractor_takes_precedence
(self)
tests/unit/test_track_api_cost.py:396
Methodtest_decorator_fails_fast_without_model_aware_pricing
(self)
tests/unit/test_track_api_cost.py:377
Methodtest_decorator_noops_without_active_builder
(self)
tests/unit/test_track_api_cost.py:420
Functiontest_dedicated_allows_fast_inference_false
fast_inference=False is fine in dedicated mode (it's the intended state).
tests/unit/test_dedicated_config.py:126
Functiontest_dedicated_mode_detected
()
tests/unit/test_dedicated_config.py:21
Functiontest_dedicated_rejects_enable_sleep_mode
()
tests/unit/test_dedicated_config.py:113
Functiontest_dedicated_rejects_fast_inference
()
tests/unit/test_dedicated_config.py:100
Functiontest_deep_copy
Test that deep copy works correctly.
tests/unit/test_trajectory_copy.py:81
Functiontest_deep_copy_circular_reference
Test that deep copy handles circular references correctly.
tests/unit/test_trajectory_copy.py:132
Functiontest_deep_copy_preserves_metadata
Test that deep copy preserves trajectory metadata.
tests/unit/test_trajectory_copy.py:158
Functiontest_deep_copy_with_exceptions
Test that deep copy works with exceptions.
tests/unit/test_trajectory_copy.py:108
Methodtest_deepcopy_behavior
Test that the function creates a deep copy.
tests/unit/test_strip_logprobs.py:135
Methodtest_deepcopy_failure_returns_original
Test that deepcopy failure returns original object and logs warning.
tests/unit/test_strip_logprobs.py:149
Methodtest_deepcopy_failure_with_recursion_error
Test handling of RecursionError during deepcopy.
tests/unit/test_strip_logprobs.py:175
Methodtest_direct_model_extra_cost_is_used_when_usage_cost_missing
( self, )
tests/unit/test_track_api_cost.py:249
Methodtest_direct_time_and_data_metrics_get_cumulative_variants
( self, tmp_path: Path )
tests/unit/test_frontend_logging.py:737
Methodtest_direct_usage_cost_is_used_before_provider_estimation
(self)
tests/unit/test_track_api_cost.py:222
Methodtest_duplicate_leaf_writes_are_summed
(self)
tests/unit/test_metrics_builder.py:125
Methodtest_empty_file
Test handling of empty file.
tests/unit/test_trajectory_parquet.py:751
Methodtest_empty_flush_does_not_repeat_stale_derived_metrics
(self)
tests/unit/test_metrics_builder.py:222
Functiontest_empty_inference_gpu_ids
()
tests/unit/test_dedicated_config.py:65
Functiontest_empty_trainer_gpu_ids
()
tests/unit/test_dedicated_config.py:58
Methodtest_empty_trajectory_group
Test empty trajectory groups.
tests/unit/test_trajectory_parquet.py:412
Methodtest_exception_rate_calculation
Verify exception_rate is calculated correctly for successful trajectories.
tests/unit/test_frontend_logging.py:439
Methodtest_exception_rate_counts_group_exceptions
(self, tmp_path: Path)
tests/unit/test_frontend_logging.py:472
Methodtest_explicit_model_name_does_not_depend_on_response_model
(self)
tests/unit/test_track_api_cost.py:350
Methodtest_explicit_model_name_uses_global_pricing
( self, )
tests/unit/test_track_api_cost.py:278
Methodtest_explicit_model_name_uses_registered_pricing
( self, )
tests/unit/test_track_api_cost.py:316
Methodtest_file_locations_match_localbackend
Verify files are written to expected paths.
tests/unit/test_frontend_logging.py:242
Methodtest_fixture_roundtrips
Test all fixture files round-trip correctly.
tests/unit/test_trajectory_parquet.py:666
Methodtest_for_cost_context_routes_to_eval_and_shares_state
(self)
tests/unit/test_track_api_cost.py:433
Functiontest_fork_checkpoint_from_wandb
Train model A, fork its checkpoint to model B via W&B, then train model B.
tests/integration/test_push_and_fork.py:120
Methodtest_generator_of_trajectories_is_consumed_once
(self, tmp_path: Path)
tests/unit/test_frontend_logging.py:501
Methodtest_get_inference_name_none_step_is_same_as_no_step
Explicitly passing step=None should behave same as no step.
tests/unit/test_multi_checkpoint_inference.py:60
Methodtest_get_inference_name_with_step_appends_suffix
With step, should append @step suffix.
tests/unit/test_multi_checkpoint_inference.py:44
Methodtest_get_inference_name_with_step_uses_inference_model_name
With step, should use inference_model_name as base if set.
tests/unit/test_multi_checkpoint_inference.py:51
Methodtest_get_inference_name_without_step_uses_inference_model_name
Without step, should prefer inference_model_name if set.
tests/unit/test_multi_checkpoint_inference.py:35
Methodtest_get_inference_name_without_step_uses_name
Without step, should return the model name.
tests/unit/test_multi_checkpoint_inference.py:30
Functiontest_get_log_fn_routes_eval_metrics_to_val_namespace
()
tests/unit/test_unsloth_metrics.py:12
Functiontest_get_model_config_dedicated_mode
()
tests/unit/test_dedicated_config.py:148
← previousnext →1,201–1,300 of 1,502, ranked by callers