MCPcopy Create free account

hub / github.com/FareedKhan-dev/ai-long-task / functions

Functions222 in github.com/FareedKhan-dev/ai-long-task

Functionload_traces
Load traces from a file, auto-detecting the format if not specified. Args: input_path: The path to the file. format: Optiona
utils/trace_export_utils.py:388
Methodnext_island
Move to the next island in round-robin fashion
data/database.py:1767
Methodparallel_generate
Generate responses for multiple different prompts in parallel
llm/ensemble.py:107
Functionparse_evolve_blocks
Parse special 'evolve blocks' from code. These blocks are marked with '# EVOLVE-BLOCK-START' and '# EVOLVE-BLOCK-END' comments. Args:
utils/code_utils.py:11
Functionretry_async
Retry an async function with exponential backoff on failure. Args: coro: The coroutine function to retry. *args: Positional
utils/async_utils.py:136
Methodrun_evaluation
()
evaluation/evaluator.py:409
Functionrun_in_executor
Decorator to run a synchronous (blocking) function in an executor (a separate thread). This makes a regular function awaitable and prevents i
utils/async_utils.py:19
Functionrun_iteration_with_shared_db
Run a single iteration using shared memory database This is optimized for use with persistent worker processes.
core/iteration.py:69
Methodrun_stage1
()
evaluation/evaluator.py:454
Methodrun_stage2
()
evaluation/evaluator.py:494
Methodrun_stage3
()
evaluation/evaluator.py:555
Functionrun_sync_with_timeout
Run a synchronous function in an executor with a timeout. Args: func: The synchronous (blocking) function to run. timeout: T
utils/async_utils.py:72
Functionrun_with_timeout
Run a coroutine with a timeout, returning a default value if the timeout is exceeded. Args: coro: The coroutine function to run.
utils/async_utils.py:43
Functionsafe_numeric_sum
Calculate the sum of numeric values in a metrics dictionary, safely ignoring non-numeric values like strings. Args: metrics: A d
utils/metrics_utils.py:52
Methodsemaphore
Lazy-initialize the semaphore when first needed.
utils/async_utils.py:212
Methodset_current_island
Set which island is currently being evolved
data/database.py:1762
Methodsignal_handler
(signum, frame)
core/controller.py:407
Methodto_dict
Convert trace to dictionary format
data/evolution_trace.py:64
Methodto_dict
Backward compatibility - return just metrics
evaluation/result.py:41
Methodto_yaml
Save the current configuration to a YAML file.
config.py:445
Methodwait_all
Wait for all currently tracked tasks in the pool to complete.
utils/async_utils.py:255
Functionwrapper
(*args: Any, **kwargs: Any)
utils/async_utils.py:33
← previous201–222 of 222, ranked by callers