Chile Mining Ops Agent

A tool-calling agent over real public mining data (a flotation plant, its instrument events, and Chilean public procurement), measured on 100 labeled queries with Qwen2.5-3B running locally on CPU.

This page shows the results. The methodology, the design decisions and the limitations are in the repository's README.

The agent picks the right tool; copying the numbers is the hard part

Amounts in pesosAmounts in millions of CLP
Correct tools99/10099/100
Correct arguments95/10096/100
Grounded answers67/10086/100
… procurement queries4/2519/25

With raw pesos the model miscopied amounts in 21 of 25 procurement answers (×10 slips, misplaced separators). Returning the same amounts in millions of CLP fixed most of them without touching the model. Two failures no number check catches remain: for months with no data it silently answers about another month, and it sometimes reports hours as days.

The Isolation Forest misses the worst sensors

Event hours by equipment, last 200 days of plant data
The air-flow instruments of columns 04 and 05 were frozen for 460 hours, the worst events in the data, and are not flagged. With 11 equipment items and contamination 0.1 the forest flags one, and two identical outliers make each other look normal. A rule of "any event over 24 hours" finds both.

Flotation and procurement

Monthly silica in concentrate and public procurement by category
Silica in concentrate fell from 2.64% in April to 2.05% in June and July, and rose to 2.68% in the partial September. Fuels and lubricants (38.7 billion CLP) and industrial chemicals (29.8 billion) dwarf mining machinery and mining drilling services.
Monthly silica in concentrate, animated