Views
No views yet
code.zip, conforming to the
competition SUBMISSION.md spec.code.ziptrack_b_submission/
├── README.md
├── run.sh / run.py # entry point
├── requirements.txt
├── .env.example # backend configuration template
├── src/
│ ├── agent.py # Qwen critique-and-refine wrapper
│ ├── llm_client.py # vLLM + OpenRouter client
│ ├── harness.py # classify, test loader, evidence reader
│ ├── network_model.py # per-question network state
│ ├── parsers.py # vendor CLI parsers
│ ├── solver_fault.py # fault root-cause solver
│ ├── solver_path.py # L3 path solver
│ ├── solver_topo.py # L2 forwarding-path solver
│ ├── llm_fault.py # fault prompt + validator + taxonomy
│ ├── runtime_logger.py # per-problem runtime decorator (spec)
│ └── sandbox_client.py # live /get_devices_list and /execute
├── data/
│ ├── test.json # Phase 2 questions (100)
│ └── vendors.json # static device roster + vendor map
├── models/
│ └── deploy.sh # vLLM launch script (Qwen)
└── result/ # produced by `bash run.sh`
├── README.md
├── results.csv
├── traces.json
└── runtime.jsonPOST /ip/api/agent/get_devices_list → if unavailable, crawl the topology
from the devices named in the question (BFS via LLDP neighbours / interface
descriptions, validating each candidate by probing it) → static known-roster
only as a last resort. All calls are Bearer-authenticated and serialized
(one in-flight request per token; ≤500 calls/question).display current-configuration, bandwidth suffixes stripped).results.csv — one final prediction per scenariotraces.json — every completion producedruntime.json — per-problem wall time via the spec runtime_logger1unzip code.zip && cd track_b_submission
2pip install -r requirements.txt
3cp .env.example .env
4
5# 1. Point the agent at your Qwen server (any OpenAI-compatible /v1 endpoint)
6export LLM_BASE_URL=http://localhost:8001/v1 # or a remote Qwen host
7export LLM_MODEL=Qwen3.5-35B-A3B
8# (models/deploy.sh is an optional convenience launcher for a local vLLM)
9
10# 2. Point the agent at the organizer sandbox + your player token
11export TRACK_B_SANDBOX_URL=https://124.71.227.61 # or https://120.46.145.77
12export TRACK_B_API_TOKEN=ip-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
13
14# 3. Run on all 100 problems
15bash run.sh --input data/test.json --output result
16# Both flags default to the paths shown above, so this is equivalent:
17bash run.shbash run.sh --ids 1,40,80 or --limit N for smoke tests.track_b_submission/README.md inside the archive for full details.