utils#

Utility functions for algorithm module.

Modules

analytical_roofline

Helpers for the agent-derived analytical roofline target.

code_editing

copilot_provider

Maps inference.provider/model/base_url config to the env vars the Copilot CLI needs for BYOK (bring-your-own-key) model access.

database_log_handler

extract_code

kernelbench_dataset

load_from_db

logging

Helpers for configuring logging and recording raw process results.

map_elites_patterns

reference_cache

Caches reference benchmark results in the database so repeated build_and_test/submit_task invocations can reuse a reference result instead of rebuilding/rebenchmarking it every time.

resource_allocator

score

skills

Utilities for reading, writing and inspecting Agent Skill files.

token_usage

Utilities for normalizing and aggregating token usage across providers.

validation_logs