2026-04-29__001_synthetic_mine_throughput__opencode__gemini-3-1-pro-preview__customtools-high-superpowers-skill

Date: 2026-04-29 · Benchmark: 001_synthetic_mine_throughput · Harness: opencode · Model: gemini-3-1-pro-preview (customtools-high-superpowers-skill) · ? Unrecorded

Scores

Category Points Max
Conceptual modelling 14 20
Data and topology 13 15
Simulation correctness 14 20
Experimental design 10 15
Results & interpretation 6 15
Code quality 7 10
Traceability 3 5
Total 67 100

Run metrics

Evaluation report

Scenario Mean throughput
trucks_12 12,910
crusher_slowdown 6,510
ramp_closed 12,600
ramp_upgrade 12,743.333
baseline 12,683.333
trucks_4 8,313.333

Source files

Downloads

Conceptual model

Synthetic Mine Throughput Simulation Design

1. System Boundary and Conceptual Model

The simulation bounds include the physical road network (topology), the truck fleet, the ore loading faces, and the primary crusher. The simulation models a single 8-hour shift.

Entities

Resources

Events

State Variables


2. Architecture and Data Flow

2.1 Graph Topology (NetworkX)

The mine topology is built as a networkx.DiGraph.

2.2 Pathfinding and Dispatching

We utilize a Segment-by-Segment process model.

  1. Loaded Truck: Queries networkx.shortest_path(weight='travel_time') from current node to CRUSH.
  2. Empty Truck: We evaluate all available loaders. For each loader:
    • Compute expected travel time via shortest path.
    • Add expected queue wait time: (current_queue_length + 1) * expected_load_time.
    • Select the loader with the minimum total expected time.

2.3 Stochasticity


3. Implementation Modules


4. Execution and Replications

For each scenario:

  1. Initialize metrics collection.
  2. Loop replications times (e.g., 30):
    • Set random.seed(base_seed + rep_number).
    • Initialize SimPy env and Topology.
    • Create Truck processes.
    • Run for shift_length_hours * 60 minutes.
    • Compile replication results.
  3. Aggregate results across replications to produce CI bounds and output files.

README

Synthetic Mine Throughput Simulation

Installation

Install required dependencies:

pip install simpy networkx pandas scipy pyyaml

Running the Model

To run the simulation across all scenarios and generate the outputs:

python run_all.py --data-dir data --out-dir .

This will produce:

Conceptual Model

See conceptual_model.md for the detailed conceptual model.

Routing and Dispatching Logic

Trucks follow a dynamic dispatching logic: When empty, trucks evaluate all available loaders. For each loader, they compute the expected travel time (using shortest path on the NetworkX graph) plus the expected queue wait time (queue_length + 1) * mean_service_time. They dispatch to the loader with the lowest total expected time.

When loaded, trucks travel via the shortest path to the primary crusher. Constrained road segments (like narrow ramps) are modeled as SimPy resources. Trucks must request and acquire these resources before entering the segment and release them upon exiting.

Assumptions

Limitations

Key Results

The summary.json file contains the detailed breakdown of the total tonnes and tonners per hour for each scenario, including the baseline, lower/higher fleet size configurations, and ramp constraints.

← Back to leaderboard