# orphans

*Community 5 | 10 files | cohesion 0.00*

## Definition

This community groups 10 file(s) rooted at `root` with dominant language py (cohesion 0.00). Central symbols: `CausalAttention`, `RMSNorm`, `RotaryEmbedding`, `SwiGLU`, `VanillaConfig`, `VanillaLayer`, `VanillaTransformer`, `__init__`. Core file: `topogpt3/vanilla_control.py` (26 symbols). Documented purpose: Aggregate HumanEval result JSONL files into a summary table.  Reads one or more .jsonl files produced by harness.py and computes: - pass@1, pass@k (using the un.

## Files

| File | Language | Layer | Symbols | Doc |
|------|----------|-------|---------|-----|
| `eval/analyze.py` | py | utility | 5 | yes |
| `eval/analyze_results.py` | py | utility | 4 | yes |
| `eval/noise_analysis.py` | py | utility | 3 | yes |
| `eval/report.py` | py | utility | 6 | yes |
| `install.sh` | sh | utility | 0 | no |
| `run_exploitgym.sh` | sh | utility | 0 | yes |
| `run_exploitgym_v2.sh` | sh | utility | 4 | no |
| `run_hodge_cm_ablation.sh` | sh | utility | 0 | yes |
| `run_merged.sh` | sh | utility | 7 | no |
| `topogpt3/vanilla_control.py` | py | utility | 26 | yes |

## Key Symbols

- `pass_at_k` (function, `eval/analyze.py:21`) `def pass_at_k(n, c, k)` - Unbiased estimator from the HumanEval paper.
- `classify_error` (function, `eval/analyze.py:32`) `def classify_error(msg, candidate_src)` - Heuristic single-label error classifier.
- `load_jsonl` (function, `eval/analyze.py:56`) `def load_jsonl(path)`
- `summarize` (function, `eval/analyze.py:61`) `def summarize(paths)`
- `main` (function, `eval/analyze.py:103`) `def main()`
- `load_records` (function, `eval/analyze_results.py:26`) `def load_records(path)`
- `summarize` (function, `eval/analyze_results.py:31`) `def summarize(records)`
- `show_failures` (function, `eval/analyze_results.py:44`) `def show_failures(records, task_id)`
- `main` (function, `eval/analyze_results.py:82`) `def main()`
- `_load` (function, `eval/noise_analysis.py:43`) `def _load(p)`
- `consistency_across_runs` (function, `eval/noise_analysis.py:47`) `def consistency_across_runs(per_run)` - Para cada problema, mira si pasa consistentemente a traves de los
- `main` (function, `eval/noise_analysis.py:83`) `def main()`
- `pass_at_k` (function, `eval/report.py:25`) `def pass_at_k(n, c, k)`
- `classify_error` (function, `eval/report.py:31`) `def classify_error(msg)`
- `load_jsonl` (function, `eval/report.py:52`) `def load_jsonl(p)`
- `summarize_run` (function, `eval/report.py:56`) `def summarize_run(p)`
- `repair_summary` (function, `eval/report.py:90`) `def repair_summary(repair_path, baseline_path)`
- `main` (function, `eval/report.py:117`) `def main()`
- `banner` (function, `run_exploitgym_v2.sh:24`)
- `train_v2` (function, `run_exploitgym_v2.sh:32`)
- `eval_v2` (function, `run_exploitgym_v2.sh:45`)
- `infer_v2` (function, `run_exploitgym_v2.sh:54`)
- `kill_gpu_processes` (function, `run_merged.sh:33`)
- `restore_gpu_processes` (function, `run_merged.sh:63`)
- `banner` (function, `run_merged.sh:84`)
- `prepare_data` (function, `run_merged.sh:93`)
- `train_merged` (function, `run_merged.sh:107`)
- `eval_merged` (function, `run_merged.sh:119`)
- `infer_merged` (function, `run_merged.sh:128`)
- `resolve_device` (function, `topogpt3/vanilla_control.py:22`) `def resolve_device(req)`

## Internal vs External Edges

- Internal resolved imports (EXTRACTED): 0
- Cross-boundary resolved imports (EXTRACTED): 0

## Connections

- [INFERRED] shares_context community 0 <-> 5 (strength 0.5): Inferred shared context (language py and layer utility) with no import path between community 0 (topogpt3: model) and community 5 (orphans).
- [INFERRED] shares_context community 1 <-> 5 (strength 0.5): Inferred shared context (language py and layer utility) with no import path between community 1 (eval: harness) and community 5 (orphans).
- [INFERRED] shares_context community 2 <-> 5 (strength 0.5): Inferred shared context (language py and layer utility) with no import path between community 2 (eval: governor) and community 5 (orphans).
- [INFERRED] shares_context community 3 <-> 5 (strength 0.5): Inferred shared context (language py and layer utility) with no import path between community 3 (topogpt3: inference_hrm) and community 5 (orphans).
- [INFERRED] shares_context community 4 <-> 5 (strength 0.5): Inferred shared context (language py) with no import path between community 4 (topogpt3: jlens) and community 5 (orphans).

## Risks

- No scoped security, taint, cycle, or layer risks.

## Open Questions

- Why do 3 file(s) lack file-level docs (e.g. `install.sh`)? What purpose do they serve?
- What would break if the most connected file in orphans changed?
- Should orphans be split, given cohesion 0.00?

## Sources

- `eval/analyze.py`
- `eval/analyze_results.py`
- `eval/noise_analysis.py`
- `eval/report.py`
- `install.sh`
- `run_exploitgym.sh`
- `run_exploitgym_v2.sh`
- `run_hodge_cm_ablation.sh`
- `run_merged.sh`
- `topogpt3/vanilla_control.py`
