MCPcopy Create free account

hub / github.com/algorithmicsuperintelligence/optillm / functions

Functions1,129 in github.com/algorithmicsuperintelligence/optillm

↓ 1 callersFunctionselect_challenging_examples
Select challenging examples from the dataset
scripts/gen_optillmbench.py:61
↓ 1 callersMethodselect_final_trajectory
(self, trajectories: List[List[Node]])
optillm/rstar.py:214
↓ 1 callersFunctionselect_relevant_strategies
Select the most relevant strategies for a given problem to be used during inference. This controls how many strategies are included in the sy
optillm/plugins/spl/evaluation.py:24
↓ 1 callersMethodsetUp
Set up performance test fixtures
tests/test_batching.py:264
↓ 1 callersMethodset_final_solution
Set the final synthesized solution
optillm/mars/workspace.py:170
↓ 1 callersMethodset_steering_strength
Set the steering strength for a specific pattern. Args: pattern: The reasoning pattern strength: The
optillm/autothink/steering.py:230
↓ 1 callersMethodsetup_driver
Setup Chrome driver with appropriate options
optillm/plugins/web_search_plugin.py:118
↓ 1 callersMethodsetup_tokenizer
Use tokenizer with its default configuration for inference
optillm/inference.py:1260
↓ 1 callersMethodshare_strategies_across_agents
Share effective strategies across agents and generate enhanced solutions
optillm/mars/strategy_network.py:260
↓ 1 callersMethodshould_continue_iteration
Determine if we should continue with another iteration
optillm/mars/workspace.py:128
↓ 1 callersFunctionshould_create_new_strategy
Determine whether to create a new strategy or update an existing one. Args: problem_type: The type of problem query: The
optillm/plugins/spl/generation.py:169
↓ 1 callersFunctionshould_execute_request_code
Decide whether to execute code from the request based on the query.
optillm/plugins/executecode_plugin.py:62
↓ 1 callersMethodshould_terminate_trace
Determine if current trace should be terminated based on confidence. Args: current_confidence: Current confidenc
optillm/deepconf/confidence.py:229
↓ 1 callersMethodsimulate
(self, node: Node)
optillm/rstar.py:152
↓ 1 callersMethodsimulate
(self, node: MCTSNode)
optillm/mcts.py:69
↓ 1 callersMethodsimulate_async
(self, node: Node)
optillm/rstar.py:56
↓ 1 callersFunctionsimulate_execution
Ask LLM to simulate code execution.
optillm/plugins/coc_plugin.py:258
↓ 1 callersMethodsolve
(self, problem: str, num_initial_observations: int = 3, num_derived_observations: int = 2)
optillm/plansearch.py:188
↓ 1 callersMethodsolve_async
(self, question: str)
optillm/rstar.py:89
↓ 1 callersMethodsolve_multiple
(self, problem: str, n: int, num_initial_observations: int = 3, num_derived_observations: int = 2)
optillm/plansearch.py:205
↓ 1 callersMethodsolve_with_z3_sympy
(self, formulation: str, max_attempts: int = 3)
optillm/z3_solver.py:279
↓ 1 callersFunctionsuggest_mlx_alternative
Suggest MLX alternative for a given model
optillm/inference.py:271
↓ 1 callersFunctiontest_approach_imports
Test that all approaches can be imported
tests/test_approaches.py:97
↓ 1 callersFunctiontest_approach_parameters
Test that approaches handle parameters correctly
tests/test_approaches.py:143
↓ 1 callersFunctiontest_approaches_handle_bad_responses
Approaches must degrade gracefully on empty / None / length-truncated provider responses instead of raising raw IndexError/TypeError/AttributeErro
tests/test_approaches.py:172
↓ 1 callersFunctiontest_basic_approach_calls
Test basic approach calls with mock client
tests/test_approaches.py:117
↓ 1 callersFunctiontest_deep_research_plugin
Test deep research plugin module
tests/test_plugins.py:100
↓ 1 callersFunctiontest_deepthink_plugin_imports
Test deepthink plugin and its submodules can be imported
tests/test_plugins.py:109
↓ 1 callersFunctiontest_genselect_plugin
Test genselect plugin module
tests/test_plugins.py:71
↓ 1 callersMethodtest_github_mcp_server_connection
Test real connection to GitHub MCP server via local stdio transport
tests/test_mcp_plugin.py:354
↓ 1 callersFunctiontest_longcepo_plugin
Test longcepo plugin module
tests/test_plugins.py:123
↓ 1 callersFunctiontest_majority_voting_plugin
Test majority voting plugin module
tests/test_plugins.py:80
↓ 1 callersFunctiontest_mars_agent_temperatures
Test that MARS uses different temperatures for agents
tests/test_mars_parallel.py:516
↓ 1 callersFunctiontest_mcp_plugin
Test MCP plugin module
tests/test_plugins.py:297
↓ 1 callersFunctiontest_memory_plugin_structure
Test memory plugin has required structure
tests/test_plugins.py:62
↓ 1 callersFunctiontest_n_parameter
Test the n parameter with different values
tests/test_n_parameter.py:17
↓ 1 callersFunctiontest_no_relative_import_errors
Test that plugins load without relative import errors
tests/test_plugins.py:342
↓ 1 callersFunctiontest_plugin_approach_detection
Test plugin approach detection after loading
tests/test_plugins.py:51
↓ 1 callersFunctiontest_plugin_module_imports
Test that plugin modules can be imported
tests/test_plugins.py:21
↓ 1 callersFunctiontest_plugin_subdirectory_imports
Test all plugins with subdirectories can import their submodules
tests/test_plugins.py:316
↓ 1 callersFunctiontest_privacy_plugin_performance
Test that multiple invocations of the privacy plugin don't have degraded performance. This catches the actual performance issue even without
tests/test_privacy_plugin_performance.py:79
↓ 1 callersFunctiontest_privacy_plugin_resource_caching
Test that expensive resources (AnalyzerEngine, AnonymizerEngine) are created only once and reused across multiple plugin invocations.
tests/test_privacy_plugin_performance.py:16
↓ 1 callersFunctiontest_proxy_plugin
Test proxy plugin module
tests/test_plugins.py:147
↓ 1 callersFunctiontest_proxy_plugin_timeout_config
Test that proxy plugin properly configures timeout settings
tests/test_plugins.py:204
↓ 1 callersFunctiontest_proxy_plugin_timeout_handling
Test that proxy plugin handles timeouts correctly
tests/test_plugins.py:253
↓ 1 callersFunctiontest_proxy_plugin_token_counts
Test that proxy plugin returns complete token usage information
tests/test_plugins.py:161
↓ 1 callersFunctiontest_recognizers_not_reloaded
Test that recognizers are not fetched/reloaded on each analyze() call. This prevents the performance regression where "Fetching all recognize
tests/test_privacy_plugin_performance.py:184
↓ 1 callersFunctiontest_singleton_instances_are_reused
Direct test that singleton instances are the same object across calls.
tests/test_privacy_plugin_performance.py:152
↓ 1 callersFunctiontest_spl_plugin
Test spl plugin module
tests/test_plugins.py:135
↓ 1 callersFunctiontest_web_search_plugin
Test web search plugin module
tests/test_plugins.py:90
↓ 1 callersFunctionthinkdeeper_decode
Main plugin execution function with ThinkDeeper's controlled thinking process
optillm/thinkdeeper.py:174
↓ 1 callersFunctionthinkdeeper_decode_mlx
MLX-compatible ThinkDeeper processing function
optillm/thinkdeeper_mlx.py:295
↓ 1 callersMethodto_dict
Convert the strategy to a dictionary for serialization.
optillm/plugins/spl/strategy.py:66
↓ 1 callersMethodtrack_latency
Track request latency
optillm/plugins/proxy/client.py:70
↓ 1 callersFunctiontrain
(model, train_dataloader, val_dataloader, optimizer, scheduler, num_epochs, patience, clip_value)
scripts/train_optillm_classifier.py:130
↓ 1 callersMethodupdate_component_fitness
Update component fitness based on performance (self-evolution) NOTE: This method tracks fitness values but they are not yet used to
optillm/plugins/deep_research/research_engine.py:944
↓ 1 callersMethodupdate_strategy
Update the strategy text with a refined version.
optillm/plugins/spl/strategy.py:111
↓ 1 callersMethodupdate_strategy_performance
Update the performance metrics for a strategy.
optillm/plugins/spl/strategy.py:255
↓ 1 callersMethodvalidate_adapter
Validate if adapter exists and is compatible
optillm/inference.py:1134
↓ 1 callersFunctionvalidate_citation_usage
Validate that citations are actually used in the report text. Checks which citation numbers appear in the body text and warns about unus
optillm/plugins/deep_research/research_engine.py:138
↓ 1 callersFunctionverify_answer_format
Verify if the solution contains the correct answer format for problems with specific answers
scripts/imo25_reference.py:127
↓ 1 callersFunctionverify_key_insights
Check for problem-specific key insights that should appear in correct solutions
scripts/imo25_reference.py:224
↓ 1 callersFunctionverify_proof
Verify a proof using IMO25-style two-stage verification Returns score on 0-7 scale and detailed assessment
scripts/eval_imobench_proof.py:103
↓ 1 callersMethodverify_solution
Verify a solution using mathematical reasoning
optillm/mars/agent.py:153
↓ 1 callersFunctionverify_solutions
(client, system_prompt: str, initial_query: str, solutions: List[str], model: str, request_id: str = None)
optillm/pvg.py:54
↓ 1 callersMethodweighted_majority_vote
Perform weighted majority voting based on trace confidences. Args: traces: List of trace results
optillm/deepconf/processor.py:232
↓ 1 callersFunctionwrap_with_thinking_tags
Wrap reasoning in <think> tags and append clean final answer Args: reasoning: All intermediate reasoning, logs, agent outputs
optillm/mars/answer_extraction.py:191
FunctionMod
(x, y)
optillm/z3_solver.py:125
FunctionRational
(numerator, denominator=1)
optillm/z3_solver.py:130
Method__call__
(self, input_ids, scores, **kwargs)
optillm/inference.py:1501
Method__call__
Apply steering to the output of a layer. Args: module: The module being hooked input_tensors: The in
optillm/autothink/steering.py:319
Method__call__
Process messages with AutoThink's controlled thinking.
optillm/autothink/autothink.py:36
Method__enter__
Context manager entry - ensures browser is ready
optillm/plugins/web_search_plugin.py:33
Method__exit__
Context manager exit - ensures browser cleanup
optillm/plugins/web_search_plugin.py:39
Method__getitem__
(self, idx)
scripts/train_optillm_classifier.py:35
Method__init__
(self, model: str, approach: str, base_url: str = DEFAULT_
scripts/eval_simpleqa_benchmark.py:87
Method__init__
(self, base_model, num_labels)
scripts/train_optillm_classifier.py:111
Method__init__
(self)
tests/test.py:43
Method__init__
(self, reasoning_tokens)
tests/test_mars_imo25.py:40
Method__init__
(self, content)
tests/test_mars_imo25.py:47
Method__init__
(self, content, reasoning_tokens)
tests/test_mars_imo25.py:53
Method__init__
(self)
tests/test_mars_imo25.py:261
Method__init__
(self, content="Test response", usage_tokens=10, n=1, call_index=0)
tests/test_conversation_logging_approaches.py:35
Method__init__
(self, response_content="Test response", usage_tokens=10, n_responses=1)
tests/test_conversation_logging_approaches.py:61
Method__init__
(self, *args, **kwargs)
tests/test_json_plugin.py:27
Method__init__
(self)
tests/test_approaches.py:25
Method__init__
(self)
tests/test_approaches.py:29
Method__init__
(self, mode)
tests/test_approaches.py:59
Method__init__
(self, mode)
tests/test_approaches.py:63
Method__init__
(self, mode)
tests/test_approaches.py:67
Method__init__
(self, reasoning_tokens)
tests/test_mars_parallel.py:60
Method__init__
(self, response_content)
tests/test_mars_parallel.py:67
Method__init__
(self, reasoning_tokens, response_content)
tests/test_mars_parallel.py:73
Method__init__
(self)
tests/test_mars_parallel.py:219
Method__init__
(self)
tests/test_mars_parallel.py:307
Method__init__
(self)
tests/test_mars_parallel.py:396
Method__init__
(self, state: str, action: str, parent: 'Node' = None)
optillm/rstar.py:17
Method__init__
(self, system: str, client, model: str, max_depth: int = 3, num_rollouts: int = 5, c: float = 1.4, request_con
optillm/rstar.py:26
Method__init__
(self, config: Dict[str, Any], tokenizer, model)
optillm/thinkdeeper_mlx.py:35
Method__init__
(self, system_prompt: str, client, model: str, request_config: dict = None, request_id: str = None)
optillm/leap.py:13
← previousnext →601–700 of 1,129, ranked by callers