MeltMetrics

Alloy manufacturing assistance

Visit Repo
MeltMetrics banner

About

## The problem it solves

## **MeltMetrics** — Turning Foundry Guesswork Into a Learning System

### The Problem

Foundries live and die by chemistry. Every batch of molten metal has to hit a precise composition — Fe, C, Si, Mn, and more — to meet its grade spec (SG-Iron, Grey Iron, various carbon steels). But real production floors are messy. Sensors drift, raw materials vary batch to batch, and furnace conditions shift throughout a shift.

Right now, most foundries handle this the old way: a technician glances at a spectrometer reading, checks it against a spec sheet, and decides what to add based on gut feel and experience. That works — until it doesn't.

  • **Deviations get caught too late.** By the time anyone notices, the batch is already tapped, and the only options left are downgrading it to a cheaper grade or scrapping it outright. We ran the numbers on our own data — that's **₹12,000 to ₹1,25,000+ lost per ton**, depending on the grade.
  • **Corrections aren't consistent.** Ask three different operators what to add, and you might get three different answers.
  • **Nobody's tracking cost or carbon.** A correction gets made, the batch moves on, and the actual ₹ and CO2 impact of that decision just... disappears.
  • **There's no memory.** If the same element keeps drifting out of spec on the same grade, week after week, that pattern is invisible unless someone happens to notice it.

### What We Built

**MeltMetrics** doesn't just flag problems — it closes the loop from *"something's off"* to *"here's exactly what to do, what it costs, and why."*

**Anomaly Detection** catches deviations the moment a reading comes in, scoring severity instead of just a yes/no.

**Alloy Recommendation** tells you precisely what to add — not a rough estimate, an ML-driven number.

**Closed-Loop RL Optimization** is where it gets interesting. Instead of one fixed answer, you get three real strategies — **Conservative**, **Balanced**, **Aggressive** — each with its own predicted reward, ₹ cost, and carbon footprint. You pick what fits, and every Accept or Reject you give feeds straight back into the policy, so it keeps getting sharper the more it's used.

**Cost & Carbon Intelligence** prices every single recommendation against real ferroalloy market rates and actual emission factors. For the first time, "what did this correction cost us?" has a real answer instead of a shrug.

**Root Cause Hints** dig through historical data to surface the *pattern* — like discovering Si is quietly the recurring troublemaker on a specific grade, something a human might never notice across thousands of readings.

**AI Copilot** explains all of this in plain language — not "the model predicted X," but an actual conversation about *why*, with voice output so an operator can hear the reasoning hands-free on a noisy floor.

**Automatic Escalation** means the moment something crosses MEDIUM severity, a real email lands in a supervisor's inbox with the full picture attached — no one has to remember to check.

### Why It Matters

This isn't a dashboard that shows you data and leaves you to figure it out. **MeltMetrics** is a system that **detects, decides, prices, explains, and learns** — turning every batch into another data point that makes the next decision a little smarter than the last one.

## Challenges we ran into

**We engineered MeltMetrics to survive the unpredictability of modern AI infrastructure.** During development, two LLM providers deprecated models we were actively using without advance notice. Instead of treating this as a one-time bug, we turned it into an architectural advantage by building a **provider-agnostic LLM abstraction layer**. **Groq, Gemini, and Claude can now be switched behind a single configuration layer**, allowing MeltMetrics to remain operational even when a provider experiences an outage, rate limit, or model retirement. This gives the system **AI-provider independence and eliminates a critical single point of failure.**

**We went beyond happy-path testing and actively validated how the system behaves under real-world data conditions.** Using **automated browser testing**, we exercised the application's pages, workflows, and interactions while validating frontend/backend data contracts. We specifically covered edge cases such as **low-confidence readings, unusual severity levels, and boundary alloy compositions**. This helped us identify and resolve subtle integration issues before deployment, resulting in a system that **fails gracefully instead of unexpectedly crashing when real-world data deviates from the ideal case.**

**We made responsiveness measurable rather than subjective.** Instead of relying on visual inspection, we automatically validated **276 page-and-viewport combinations across 280px to 1920px**. This gives us confidence that MeltMetrics remains usable across mobile, tablet, laptop, and desktop environments. Most importantly, the interface is designed to remain practical on **mobile devices used directly on the foundry floor**, where operators may not have access to a desktop workstation.

**We designed the backend with automatic recovery in mind.** A common infrastructure failure is a port conflict, so we eliminated unnecessary manual intervention by making the backend **detect an unavailable default port and automatically select the next available one**. This small but deliberate design decision demonstrates our broader engineering philosophy: **when a recoverable infrastructure problem occurs, the application should recover instead of simply stopping.**

**We converted API limitations into a built-in resilience mechanism.** During testing, we encountered free-tier API rate limits — exactly the kind of failure a production system must eventually handle. Rather than allowing this to become a future outage, we implemented the **fallback architecture in advance**. If one AI provider becomes unavailable or rate-limited, MeltMetrics can utilize another supported provider. **The system therefore degrades gracefully instead of becoming completely unavailable.**

**What makes MeltMetrics different is not just what we built, but how aggressively we tested and hardened it.** We encountered real provider deprecations, rate limits, data-contract mismatches, viewport variations, and infrastructure conflicts during development — and converted each challenge into an engineering improvement. **We didn't optimize MeltMetrics only for a successful demo; we engineered it to remain reliable when the conditions are no longer perfect.**

Team

From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

SteelTutor — #BuildHybridAI 2026

A Chrome web app that teaches metallurgy with a hybrid AI design: Gemini Nano on-device for simple explanations and a quiz, cloud Gemini 4 Hydrogen (3.8 Flash / 3.5 Flash Lite fallback) for deeper explanations — all through Firebase AI Logic.