Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FareedKhan-dev/ai-long-task
/ functions
Functions
222 in github.com/FareedKhan-dev/ai-long-task
⨍
Functions
222
◇
Types & classes
29
Function
load_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
Method
next_island
Move to the next island in round-robin fashion
data/database.py:1767
Method
parallel_generate
Generate responses for multiple different prompts in parallel
llm/ensemble.py:107
Function
parse_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
Function
retry_async
Retry an async function with exponential backoff on failure. Args: coro: The coroutine function to retry. *args: Positional
utils/async_utils.py:136
Method
run_evaluation
()
evaluation/evaluator.py:409
Function
run_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
Function
run_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
Method
run_stage1
()
evaluation/evaluator.py:454
Method
run_stage2
()
evaluation/evaluator.py:494
Method
run_stage3
()
evaluation/evaluator.py:555
Function
run_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
Function
run_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
Function
safe_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
Method
semaphore
Lazy-initialize the semaphore when first needed.
utils/async_utils.py:212
Method
set_current_island
Set which island is currently being evolved
data/database.py:1762
Method
signal_handler
(signum, frame)
core/controller.py:407
Method
to_dict
Convert trace to dictionary format
data/evolution_trace.py:64
Method
to_dict
Backward compatibility - return just metrics
evaluation/result.py:41
Method
to_yaml
Save the current configuration to a YAML file.
config.py:445
Method
wait_all
Wait for all currently tracked tasks in the pool to complete.
utils/async_utils.py:255
Function
wrapper
(*args: Any, **kwargs: Any)
utils/async_utils.py:33
← previous
201–222 of 222, ranked by callers