Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenPipe/ART
/ functions
Functions
1,502 in github.com/OpenPipe/ART
⨍
Functions
1,502
◇
Types & classes
261
↳
Endpoints
14
Function
rollout_fn
Single inference call returns N completions for the group.
src/art/pipeline_trainer/yes_no_maybe_pipeline.py:82
Function
run
Run the ART CLI.
src/art/cli.py:286
Method
safe_model_dump
Dump the model, but remove the config field to prevent serialization errors in the backend.
src/art/model.py:205
Method
safe_model_dump
Dump the model, but remove the config field to prevent serialization errors in the backend.
src/art/model.py:988
Method
sample_trajectories
Create sample trajectories for testing.
tests/unit/test_frontend_logging.py:29
Function
sample_trajectory
Create a sample trajectory for testing.
tests/unit/test_trajectory_copy.py:13
Function
sample_trajectory_group
Create a sample trajectory group for testing.
tests/unit/test_trajectory_copy.py:37
Method
sample_trajectory_groups
Create sample trajectory groups for testing.
tests/unit/test_frontend_logging.py:56
Method
sample_trajectory_groups
Create sample trajectory groups for testing.
tests/unit/test_frontend_logging.py:139
Function
serialize_story
(story)
examples/hn_title_generator/utils.py:33
Method
serialize_time
(self, value: datetime)
examples/hn_title_generator/utils.py:27
Function
serialize_trajectory_groups
Serialize trajectory groups to a JSONL string.
src/art/utils/trajectory_migration.py:28
Method
set_step
(self, step: int)
src/art/pipeline_trainer/status.py:89
Method
sft_training_jobs
(self)
src/art/serverless/client.py:301
Function
single_rollout
( _model: art.TrainableModel, scenario: Scenario, _config: PipelineConfig, )
src/art/pipeline_trainer/binary_prefix_tool_pipeline.py:282
Method
snapshot_stats
(self)
src/art/tinker/prefix_cache.py:181
Method
space_saved
Return bytes saved by compression.
src/art/utils/trajectory_migration.py:162
Function
split_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
Method
start
Start the MCP server and establish connection.
examples/mcp-rl/mcp_rl/mcp_server.py:83
Method
start
Start the API session.
examples/mcp-rl/mcp_rl/mcp_server.py:191
Method
start_openai_server
( self, config: dev.OpenAIServerConfig | None )
src/art/megatron/service.py:184
Method
start_openai_server
( self, config: dev.OpenAIServerConfig | None )
src/art/unsloth/service.py:470
Method
start_openai_server
( self, config: dev.OpenAIServerConfig | None )
src/art/tinker/service.py:43
Method
stop
(self)
src/art/tinker/server.py:101
Method
stop
Stop the MCP server and clean up connections.
examples/mcp-rl/mcp_rl/mcp_server.py:98
Method
stop
Stop the API session.
examples/mcp-rl/mcp_rl/mcp_server.py:200
Function
streamline_tracebacks
()
src/mp_actors/traceback.py:10
Method
supports_automatic_train_step_metrics
(self)
src/art/local/backend.py:108
Function
sync_wrapper
(*args: P.args, **kwargs: P.kwargs)
src/art/utils/retry.py:78
Method
test_add_response_cost_uses_registered_model_pricing
(self)
tests/unit/test_metrics_builder.py:188
Method
test_anthropic_claude_sonnet_4_6_prompt_cache_cost
( self, tmp_path: Path, )
tests/integration/test_live_api_cost.py:156
Method
test_anthropic_cost_extraction_accounts_for_cache_write_and_read
( self, )
tests/unit/test_track_api_cost.py:187
Method
test_anthropic_cost_extraction_uses_registered_model_pricing
( self, )
tests/unit/test_track_api_cost.py:159
Function
test_async_generator_cancellation_does_not_break_future_calls
()
tests/unit/test_mp_actors.py:89
Function
test_auto_trajectory
(test_server: None)
tests/unit/test_auto_trajectory.py:212
Function
test_average_metric_samples_handles_sparse_keys
()
tests/unit/test_metrics_taxonomy.py:13
Function
test_average_metric_samples_requires_invariant_gradient_step_count
()
tests/unit/test_metrics_taxonomy.py:46
Method
test_base_path_custom
Verify base_path can be customized.
tests/unit/test_frontend_logging.py:997
Method
test_base_path_default
Verify base_path defaults to '.art'.
tests/unit/test_frontend_logging.py:992
Function
test_build_training_summary_metrics_only_includes_data_section
()
tests/unit/test_metrics_taxonomy.py:26
Function
test_child_exceptions_are_propagated_and_proxy_recovers
()
tests/unit/test_mp_actors.py:131
Function
test_child_exit_error_is_sticky_for_followup_calls
()
tests/unit/test_mp_actors.py:74
Method
test_choice_format
Test trajectories with Choice format (finish_reason) are flattened to messages.
tests/unit/test_trajectory_parquet.py:219
Function
test_close_fails_inflight_requests_and_is_idempotent
()
tests/unit/test_mp_actors.py:111
Method
test_compute_sample_costs_uses_tinker_leaf_names
(self)
tests/unit/test_track_api_cost.py:91
Method
test_concurrent_add_cost_calls_do_not_lose_updates
(self)
tests/unit/test_metrics_builder.py:236
Method
test_contextvar_activate_and_get_active
(self)
tests/unit/test_metrics_builder.py:250
Function
test_convert_openai_messages_to_renderer_format_stringifies_dict_arguments
()
tests/unit/test_tinker_renderers.py:157
Function
test_copy_empty_group
Test copying an empty trajectory group.
tests/unit/test_trajectory_copy.py:183
Method
test_cost_cumulative_persists_across_model_recreation
( self, tmp_path: Path )
tests/unit/test_frontend_logging.py:668
Method
test_costs_all_generated_for_single_and_multiple_children
(self)
tests/unit/test_metrics_builder.py:101
Method
test_costs_are_logged_in_hierarchical_taxonomy
(self, tmp_path: Path)
tests/unit/test_frontend_logging.py:625
Function
test_create_sft_dataset_iterator_deterministic
Test that create_sft_dataset_iterator is deterministic with the same seed.
tests/unit/test_sft.py:279
Function
test_create_sft_dataset_iterator_empty_input
Test that empty trajectories yields no chunks.
tests/unit/test_sft.py:302
Function
test_create_sft_dataset_iterator_initial_step
Test that initial_step skips completed chunks.
tests/unit/test_sft.py:246
Function
test_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
Function
test_create_sft_dataset_iterator_single_chunk
Test that chunk_size >= dataset produces one chunk with full schedule.
tests/unit/test_sft.py:308
Function
test_create_sft_dataset_iterator_step_tracking
Test that step, epoch, and epoch_step are correct on each chunk.
tests/unit/test_sft.py:212
Method
test_cum_accumulates_for_hierarchical_sections
(self)
tests/unit/test_metrics_builder.py:29
Method
test_cumulative_namespace_is_reserved
(self)
tests/unit/test_metrics_builder.py:136
Method
test_custom_extractor_takes_precedence
(self)
tests/unit/test_track_api_cost.py:396
Method
test_decorator_fails_fast_without_model_aware_pricing
(self)
tests/unit/test_track_api_cost.py:377
Method
test_decorator_noops_without_active_builder
(self)
tests/unit/test_track_api_cost.py:420
Function
test_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
Function
test_dedicated_mode_detected
()
tests/unit/test_dedicated_config.py:21
Function
test_dedicated_rejects_enable_sleep_mode
()
tests/unit/test_dedicated_config.py:113
Function
test_dedicated_rejects_fast_inference
()
tests/unit/test_dedicated_config.py:100
Function
test_deep_copy
Test that deep copy works correctly.
tests/unit/test_trajectory_copy.py:81
Function
test_deep_copy_circular_reference
Test that deep copy handles circular references correctly.
tests/unit/test_trajectory_copy.py:132
Function
test_deep_copy_preserves_metadata
Test that deep copy preserves trajectory metadata.
tests/unit/test_trajectory_copy.py:158
Function
test_deep_copy_with_exceptions
Test that deep copy works with exceptions.
tests/unit/test_trajectory_copy.py:108
Method
test_deepcopy_behavior
Test that the function creates a deep copy.
tests/unit/test_strip_logprobs.py:135
Method
test_deepcopy_failure_returns_original
Test that deepcopy failure returns original object and logs warning.
tests/unit/test_strip_logprobs.py:149
Method
test_deepcopy_failure_with_recursion_error
Test handling of RecursionError during deepcopy.
tests/unit/test_strip_logprobs.py:175
Method
test_direct_model_extra_cost_is_used_when_usage_cost_missing
( self, )
tests/unit/test_track_api_cost.py:249
Method
test_direct_time_and_data_metrics_get_cumulative_variants
( self, tmp_path: Path )
tests/unit/test_frontend_logging.py:737
Method
test_direct_usage_cost_is_used_before_provider_estimation
(self)
tests/unit/test_track_api_cost.py:222
Method
test_duplicate_leaf_writes_are_summed
(self)
tests/unit/test_metrics_builder.py:125
Method
test_empty_file
Test handling of empty file.
tests/unit/test_trajectory_parquet.py:751
Method
test_empty_flush_does_not_repeat_stale_derived_metrics
(self)
tests/unit/test_metrics_builder.py:222
Function
test_empty_inference_gpu_ids
()
tests/unit/test_dedicated_config.py:65
Function
test_empty_trainer_gpu_ids
()
tests/unit/test_dedicated_config.py:58
Method
test_empty_trajectory_group
Test empty trajectory groups.
tests/unit/test_trajectory_parquet.py:412
Method
test_exception_rate_calculation
Verify exception_rate is calculated correctly for successful trajectories.
tests/unit/test_frontend_logging.py:439
Method
test_exception_rate_counts_group_exceptions
(self, tmp_path: Path)
tests/unit/test_frontend_logging.py:472
Method
test_explicit_model_name_does_not_depend_on_response_model
(self)
tests/unit/test_track_api_cost.py:350
Method
test_explicit_model_name_uses_global_pricing
( self, )
tests/unit/test_track_api_cost.py:278
Method
test_explicit_model_name_uses_registered_pricing
( self, )
tests/unit/test_track_api_cost.py:316
Method
test_file_locations_match_localbackend
Verify files are written to expected paths.
tests/unit/test_frontend_logging.py:242
Method
test_fixture_roundtrips
Test all fixture files round-trip correctly.
tests/unit/test_trajectory_parquet.py:666
Method
test_for_cost_context_routes_to_eval_and_shares_state
(self)
tests/unit/test_track_api_cost.py:433
Function
test_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
Method
test_generator_of_trajectories_is_consumed_once
(self, tmp_path: Path)
tests/unit/test_frontend_logging.py:501
Method
test_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
Method
test_get_inference_name_with_step_appends_suffix
With step, should append @step suffix.
tests/unit/test_multi_checkpoint_inference.py:44
Method
test_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
Method
test_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
Method
test_get_inference_name_without_step_uses_name
Without step, should return the model name.
tests/unit/test_multi_checkpoint_inference.py:30
Function
test_get_log_fn_routes_eval_metrics_to_val_namespace
()
tests/unit/test_unsloth_metrics.py:12
Function
test_get_model_config_dedicated_mode
()
tests/unit/test_dedicated_config.py:148
← previous
next →
1,201–1,300 of 1,502, ranked by callers