Component diagrams ← Maps gallery

Component Diagrams

6 components14 relations59 files
Layertestingutility
calls into21 calls · 4 importscalls into9 calls · 1 importsdepends on0 calls · 2 importscalls into2 calls · 1 importscalls into2 calls · 1 importscalls into3 calls · 2 importscalls into30 calls · 3 importscalls into10 calls · 7 importscalls into4 calls · 1 importscalls into1 calls · 1 importscalls into1 calls · 1 importsdepends on0 calls · 1 importscalls into11 calls · 5 importsdepends on0 calls · 2 importseval: inference12 files · 123 symbolsutilityload_humanevalbuild_promptextract_candidate+94 moretopogpt3: model12 files · 365 symbolsutilityTopoGPT2Config__post_init__setup_logger+252 moreHUBtopogpt3: inference_hrm8 files · 207 symbolsutility_count_unclosed_brackets_count_unclosed_fencesis_response_complete+178 moretopogpt3: tasks7 files · 70 symbolsutilitypre_processing_chatpost_processing_chat_fmt_tool_defs+66 moretopogpt3: jlens5 files · 144 symbolstestingLensModelencodeforward+123 moreeval: data_pipeline4 files · 32 symbolsutilitySandboxConfig_names_imported_blocked_dunder_access+28 more

Details

Static architecture map of 59 files (py, sh) in 6 components: eval: inference, topogpt3: model, topogpt3: inference_hrm, topogpt3: tasks, topogpt3: jlens, eval: data_pipeline. Structure is extracted statically without LLM calls; component prose may be enriched locally.

Relations

eval: inference (1) [Expand]

eval: inference groups 12 files (py) around load_humaneval, build_prompt, extract_candidate, run_one_test, run_one_test_sandboxed. Drop-in entry point that demonstrates how to use the topogpt3 package.

Related Classes/Methods:

Sub-components

eval (1.1)

eval groups 9 files (py) around load_humaneval, build_prompt, extract_candidate, run_one_test, run_one_test_sandboxed. Streaming + governance for autoregressive generation.

root (1.2)

root groups 1 files (py) around run_inference, run_inference_hrm, run_training, _build_parser, main. Drop-in entry point that demonstrates how to use the topogpt3 package.

topogpt3 (1.3)

topogpt3 groups 2 files (py) around ScalePreset, InferenceSettings, scale_presets, preset, validate. TopoGPT3: complex-valued spectral language model for code.

Files

topogpt3: model (2) [Expand]

topogpt3: model groups 12 files (py) around TopoGPT2Config, __post_init__, setup_logger, set_seed, QuaternionOps. Diagnostico estatico de un checkpoint TopoGPT3 congelado.

Related Classes/Methods:

Sub-components

eval (2.1)

eval groups 2 files (py) around phase_discretization, synthetic_winding, static_kappa, context_length_diagnostic, main. Diagnostico estatico de un checkpoint TopoGPT3 congelado.

root (2.2)

root groups 3 files (py) around LLMBackend, generate, name, GroqBackend, __init__. Standalone inference script for TopoExploit.

topogpt3 (2.3)

topogpt3 groups 7 files (py) around TopoGPT2Config, __post_init__, setup_logger, set_seed, QuaternionOps. Elastic Weight Consolidation (EWC) and Experience Replay for TopoGPT3.

Files

topogpt3: inference_hrm (3) [Expand]

topogpt3: inference_hrm groups 8 files (py) around _count_unclosed_brackets, _count_unclosed_fences, is_response_complete, extract_tail_for_continuation, split_at_last_newline. Checkpoint architecture discovery tests.

Related Classes/Methods:

Sub-components

tests (3.1)

tests groups 2 files (py) around test_read_state_missing, test_probe_t3_small, test_probe_exploitgym_meta, test_config_matches_weights, tokenizer. Checkpoint architecture discovery tests.

topogpt3 (3.2)

topogpt3 groups 6 files (py) around _count_unclosed_brackets, _count_unclosed_fences, is_response_complete, extract_tail_for_continuation, split_at_last_newline. OpenAI-compatible HTTP API server so TopoGPT3 can be used as a backend for coding...

Files

topogpt3: tasks (4) [Expand]

topogpt3: tasks groups 7 files (py) around pre_processing_chat, post_processing_chat, _fmt_tool_defs, _tool_calls_text, apply_chat_template. Generic task eval: JSONL cases + safe verifiers.

Related Classes/Methods:

Sub-components

eval (4.1)

eval groups 1 files (py) around _extract_code, _extract_json, verify_tool_call, verify_json, verify_regex. Generic task eval: JSONL cases + safe verifiers.

tests (4.2)

tests groups 2 files (py) around _gen, test_apt_chain_cases_full_pass, test_regex_verifier, test_tool_call_verifier_rejects_wrong_target, _call. Generic task eval tests (no model load).

topogpt3 (4.3)

topogpt3 groups 4 files (py) around pre_processing_chat, post_processing_chat, _fmt_tool_defs, _tool_calls_text, apply_chat_template. Chat template + special tokens for TopoGPT3.

Files

topogpt3: jlens (5)

topogpt3: jlens groups 5 files (py) around LensModel, encode, forward, unembed, TopoGPT3LensConfig. TestValidPositionMask: Feature: valid_position_mask excludes attention-sink and final...

Related Classes/Methods:

Files

eval: data_pipeline (6)

eval: data_pipeline groups 4 files (py) around SandboxConfig, _names_imported, _blocked_dunder_access, _max_depth, d. Sandbox for executing model-generated code during HumanEval evaluation.

Related Classes/Methods:

Files