MCPcopy Create free account

hub / github.com/algorithmicsuperintelligence/optillm / functions

Functions1,129 in github.com/algorithmicsuperintelligence/optillm

↓ 1 callersFunctionload_existing_results
Load existing results from file if it exists
scripts/eval_imobench_answer.py:218
↓ 1 callersFunctionload_existing_results
Load existing results from file if it exists.
scripts/eval_imo25_benchmark.py:607
↓ 1 callersFunctionload_existing_results
Load existing results from file
scripts/eval_imobench_proof.py:276
↓ 1 callersFunctionload_math500_dataset
Load the MATH-500 dataset. Returns: list[dict]: The dataset of problems.
scripts/eval_math500_benchmark.py:38
↓ 1 callersFunctionload_optillm_bench
Load the OptiLLM Bench dataset.
scripts/eval_optillmbench.py:79
↓ 1 callersFunctionload_optillm_model
()
optillm/plugins/router_plugin.py:50
↓ 1 callersFunctionload_source_dataset
Load a source dataset with error handling
scripts/gen_optillmbench.py:156
↓ 1 callersFunctionload_test_cases
(file_path: str)
tests/test.py:65
↓ 1 callersFunctionlongcepo_init
Initializes context, query, tokenizer, logging, and config from an input string. Args: initial_query (str): Input string containing
optillm/plugins/longcepo/utils.py:174
↓ 1 callersFunctionmain
()
scripts/gen_optillm_ground_truth_dataset.py:117
↓ 1 callersFunctionmain
Main evaluation function.
scripts/eval_math500_benchmark.py:745
↓ 1 callersFunctionmain
()
scripts/eval_imobench_answer.py:295
↓ 1 callersFunctionmain
Main entry point
scripts/eval_simpleqa_benchmark.py:543
↓ 1 callersFunctionmain
()
scripts/eval_arena_hard_auto_rtc.py:172
↓ 1 callersFunctionmain
Main execution function
scripts/gen_optillmbench.py:286
↓ 1 callersFunctionmain
()
scripts/eval_imo25_benchmark.py:684
↓ 1 callersFunctionmain
()
scripts/gen_optillm_dataset.py:90
↓ 1 callersFunctionmain
()
scripts/eval_imobench_proof.py:468
↓ 1 callersFunctionmain
(args)
scripts/train_optillm_classifier.py:235
↓ 1 callersFunctionmain
(model: str)
scripts/eval_frames_benchmark.py:98
↓ 1 callersFunctionmain
()
scripts/eval_optillmbench.py:859
↓ 1 callersFunctionmain
()
tests/test.py:145
↓ 1 callersFunctionmain
Run all tests.
tests/test_deepconf.py:164
↓ 1 callersFunctionmain
Main test function
tests/test_n_parameter.py:61
↓ 1 callersFunctionmain
()
optillm/autothink/example.py:22
↓ 1 callersFunctionmajority_vote_math
(completions, last_n_chars=100)
optillm/cepo/cepo.py:916
↓ 1 callersFunctionmajority_vote_mcq
(completions, last_n_chars=100)
optillm/cepo/cepo.py:935
↓ 1 callersFunctionmake_n_attempts
Make n attempts to solve a problem and return all responses and predictions. Args: problem (str): The problem text model
scripts/eval_aime_benchmark.py:366
↓ 1 callersMethodmap_model
Map requested model to provider-specific name
optillm/plugins/proxy/client.py:66
↓ 1 callersMethodmcts_async
(self, root_state: str)
optillm/rstar.py:71
↓ 1 callersMethodmcts_rollout_async
(self, root: Node)
optillm/rstar.py:79
↓ 1 callersMethodmerge_similar_strategies
Merge strategies that are very similar to each other.
optillm/plugins/spl/strategy.py:442
↓ 1 callersMethodmutual_consistency
(self, trajectory: List[Node])
optillm/rstar.py:205
↓ 1 callersFunctionnone_approach
Direct proxy approach that passes through all parameters to the underlying endpoint. Args: client: OpenAI client instance mo
optillm/server.py:229
↓ 1 callersFunctionnormalize_algebraic_expression
Helper function to normalize algebraic expressions.
scripts/eval_math500_benchmark.py:217
↓ 1 callersFunctionnormalize_fraction
Helper function to normalize fractions.
scripts/eval_math500_benchmark.py:115
↓ 1 callersFunctionnormalize_interval
Helper function to normalize intervals.
scripts/eval_math500_benchmark.py:345
↓ 1 callersFunctionnormalize_matrix
Helper function to normalize matrices and vectors.
scripts/eval_math500_benchmark.py:184
↓ 1 callersFunctionnormalize_message_content
Ensure all message content fields are strings, not lists. Some models don't handle list-format content correctly.
optillm/server.py:206
↓ 1 callersFunctionnormalize_response
Basic normalization for comparing responses. Removes extra whitespace, punctuation at ends, and lowercases.
optillm/plugins/majority_voting_plugin.py:23
↓ 1 callersFunctionnumerically_equal
Compare if two numeric strings represent the same value.
scripts/eval_math500_benchmark.py:108
↓ 1 callersFunctionparse_args
Parse command line arguments
scripts/eval_simpleqa_benchmark.py:491
↓ 1 callersFunctionparse_conversation
(messages)
optillm/server.py:595
↓ 1 callersFunctionparse_model_string
Parse the model string to extract base model and adapter IDs
optillm/inference.py:2144
↓ 1 callersFunctionparse_selection_response
Parse the selection response to extract the chosen candidate number and reasoning. Args: response: The LLM's comparison response
optillm/plugins/genselect_plugin.py:86
↓ 1 callersMethodperform_gap_targeted_search
Perform targeted searches based on identified gaps in the current draft Prioritizes HIGH priority gaps (placeholder tags) first
optillm/plugins/deep_research/research_engine.py:757
↓ 1 callersFunctionperform_rtc_evaluation
Perform Round-Trip Correctness evaluation. Args: query: Original query model: Model name to use Returns:
scripts/eval_arena_hard_auto_rtc.py:72
↓ 1 callersFunctionpredict_approach
(model, input_ids, attention_mask, device, effort=0.7)
optillm/plugins/router_plugin.py:78
↓ 1 callersFunctionprepare_execution_globals
Prepare globals dictionary for Z3/SymPy code execution. WARNING: This is NOT a security sandbox. The name "execution_globals" reflects t
optillm/z3_solver.py:18
↓ 1 callersFunctionpreprocess_input
(tokenizer, system_prompt, initial_query)
optillm/plugins/router_plugin.py:65
↓ 1 callersFunctionprint_summary
(results: List[Dict])
tests/test.py:135
↓ 1 callersMethodprocess_online
Main online processing with warmup and early termination. Args: messages: Input messages Re
optillm/deepconf/processor.py:279
↓ 1 callersFunctionprocess_sample
Process a single sample from the dataset.
scripts/gen_optillm_ground_truth_dataset.py:76
↓ 1 callersFunctionprocess_sample
Process a single sample from the dataset.
scripts/gen_optillm_dataset.py:54
↓ 1 callersMethodprune_strategies
Prune strategies with poor performance.
optillm/plugins/spl/strategy.py:429
↓ 1 callersFunctionpush_to_hub
Push the dataset to HuggingFace Hub
scripts/gen_optillmbench.py:211
↓ 1 callersMethodquantize_model
Quantize model to 4-bit precision using bitsandbytes
optillm/inference.py:1007
↓ 1 callersMethodquery_optillm
Query OptILLM with the specified approach
scripts/eval_simpleqa_benchmark.py:242
↓ 1 callersFunctionrank_responses
Rank responses based on correctness and token efficiency.
scripts/gen_optillm_ground_truth_dataset.py:62
↓ 1 callersFunctionrank_responses
Rank the responses using the LLM.
scripts/gen_optillm_dataset.py:39
↓ 1 callersFunctionrate_completions_absolute
Rates completions for the Best of N step of CePO. Each completion is rated on a scale of 1 to 10 individually. Parameters: system_pr
optillm/cepo/cepo.py:701
↓ 1 callersFunctionrate_completions_majority
(completions: list[str], last_n_chars: int = 150)
optillm/cepo/cepo.py:953
↓ 1 callersFunctionrate_completions_pairwise
Rates completions for the Best of N step of CePO. Completions are rated pairwise against each other in both orders (A vs B and B vs A). Para
optillm/cepo/cepo.py:790
↓ 1 callersMethodreasoning_effort
Generate response with ThinkDeeper's controlled thinking process using MLX
optillm/thinkdeeper_mlx.py:79
↓ 1 callersMethodreasoning_effort
Generate response with ThinkDeeper's controlled thinking process
optillm/thinkdeeper.py:71
↓ 1 callersMethodrecord_attempt
Record an attempt to use this strategy.
optillm/plugins/spl/strategy.py:101
↓ 1 callersFunctionrefine_strategy
Refine a strategy based on its application to a specific problem. Args: strategy: The strategy to refine problem: The pr
optillm/plugins/spl/evaluation.py:177
↓ 1 callersMethodrefine_strategy
Refine a strategy based on new insights.
optillm/plugins/spl/strategy.py:265
↓ 1 callersMethodrelease_slot
Release a slot for this provider.
optillm/plugins/proxy/client.py:92
↓ 1 callersMethodreload
Force reload configuration from disk.
optillm/plugins/proxy/config.py:79
↓ 1 callersMethodremove_session
Remove and close a session.
optillm/plugins/deep_research/session_state.py:58
↓ 1 callersFunctionremove_steering_hooks
Remove steering hooks from a model. Args: hooks: List of (hook, handle) tuples
optillm/autothink/steering.py:897
↓ 1 callersFunctionremove_think_section
Remove a <think>...</think> block from the response text, if present. Args: response (str): Raw model output. Returns:
optillm/cepo/cepo.py:152
↓ 1 callersFunctionremove_thinking_blocks
Remove <think>...</think> blocks from the response.
scripts/eval_simpleqa_benchmark.py:67
↓ 1 callersFunctionreplace_entities
(entity_map, text)
optillm/plugins/privacy_plugin.py:84
↓ 1 callersMethodresearch
TTD-DR (Test-Time Diffusion Deep Researcher) main algorithm Implements the core diffusion process with: 1. Preliminary draft
optillm/plugins/deep_research/research_engine.py:967
↓ 1 callersMethodrun_aggregation_loops
Run T iterations of RSA-style aggregation Args: workspace: MARS workspace containing solutions request_id: R
optillm/mars/aggregator.py:40
↓ 1 callersFunctionrun_approach
(approach)
optillm/server.py:496
↓ 1 callersFunctionrun_async_tests
()
tests/test_mcp_plugin.py:501
↓ 1 callersMethodrun_evaluation
Run the complete evaluation
scripts/eval_simpleqa_benchmark.py:438
↓ 1 callersFunctionrun_github_test
()
tests/test_mcp_plugin.py:544
↓ 1 callersFunctionrun_imo25_tests
Run all IMO25 MARS tests
tests/test_mars_imo25.py:305
↓ 1 callersFunctionrun_spl
Main plugin function that implements system prompt learning. By default, the plugin runs in inference-only mode, which uses existing str
optillm/plugins/spl/main.py:36
↓ 1 callersFunctionrun_test_case
(test_case: Dict, approaches: List[str], client, model: str)
tests/test.py:109
↓ 1 callersFunctionrun_tests
(test_cases: List[Dict], approaches: List[str], client, model: str, single_test_name: str = None)
tests/test.py:124
↓ 1 callersFunctionrun_tests
Run all MARS tests
tests/test_mars_parallel.py:542
↓ 1 callersMethodrun_warmup_phase
Run the warmup phase to generate initial traces and calibrate threshold. Args: messages: Input messages
optillm/deepconf/processor.py:175
↓ 1 callersFunctionsanitize_code
Prepare code for safe execution by removing problematic visualization code.
optillm/plugins/coc_plugin.py:107
↓ 1 callersFunctionsave_raw_response
Save raw response data (including logprobs) to a separate file.
scripts/eval_aime_benchmark.py:796
↓ 1 callersFunctionsave_result
Save a single result to the results file.
scripts/eval_math500_benchmark.py:714
↓ 1 callersFunctionsave_result
Save a single result to the results file with incremental updates
scripts/eval_imobench_answer.py:202
↓ 1 callersFunctionsave_result
Save a single result to the results file.
scripts/eval_imo25_benchmark.py:592
↓ 1 callersFunctionsave_result
Save a single result with incremental updates
scripts/eval_imobench_proof.py:260
↓ 1 callersFunctionsave_result
(filename: str, result: Dict)
scripts/eval_frames_benchmark.py:22
↓ 1 callersFunctionsave_result
Save a single result to the results file.
scripts/eval_aime_benchmark.py:462
↓ 1 callersFunctionsave_results
Save evaluation results to files.
scripts/eval_optillmbench.py:723
↓ 1 callersMethodsave_results
Save evaluation results to files
scripts/eval_simpleqa_benchmark.py:401
↓ 1 callersFunctionscore_sample
(sample)
optillm/entropy_decoding.py:105
↓ 1 callersMethodselect
Select a provider from the list
optillm/plugins/proxy/routing.py:19
↓ 1 callersMethodselect_best_answer
(self, answers: List[Tuple[str, float]])
optillm/rstar.py:231
← previousnext →501–600 of 1,129, ranked by callers