JMarin
AI evaluation · Madrid

I test AI systems before they go into production.

Language models, agents and physics-based simulations. Each evaluation ends in a written report with the cases tested, the failures found and how often they occur.

What I test

What I test

Language models and agents

Customer-facing assistants, RAG pipelines and autonomous agents. When they should hand over to a human, whether answers are supported by the sources, and whether behaviour tested in English holds in Spanish, Catalan or Galician.

Physics-based digital twins

Models of batteries, pumps, plants and grids. Whether the forecast respects the physics, how wide the uncertainty really is, and whether it holds on equipment the model has never seen.

Evidence for governance

Written test records organised for model-risk reviews in banking and insurance, and for the accuracy and robustness requirements of the EU AI Act.

Cases

Cases

Healthcare

Emergency triage: three language models compared

Compared three frontier language models on 50 standardised emergency-department cases. Ranked by accuracy, the winner missed 5 of the 28 patients who needed immediate care. The model with lower accuracy missed none of them.

Accuracy 90% vs 86% · missed immediate cases 5 vs 0
Energy storage

Battery capacity forecasts checked against field tests

Forecast the remaining capacity of 21 home storage systems over eight years of field records, LFP, NMC and LMO chemistries, each one forecast without seeing its own data. Committing at the lower edge of the 90% band held in 40 of 42 field capacity tests.

40 of 42 tests delivered · typical headroom 11 points
Energy storage

Battery replacement timing from a physics-based model

Physics-based digital twin, calibrated on 126 cells and tested on 44 it had never seen. The replacement order came before end of life on every one of them. Presented at the IEEE PES General Meeting 2026.

44 of 44 cells · median 76 cycles ahead · band coverage 96.2% for a 90% band
Banking · credit risk

Credit scoring stability over time

Out-of-time test on mortgage loan data, scoring loans 12, 36 and 60 months after training. A physics-constrained neural network kept its ranking power where gradient boosting lost it. Accepted at IEEE DSA 2025.

AUC at 12 months 0.80 vs 0.61 · at 36 months 0.76 vs 0.62
Energy · contracts

Logic-based checking of energy supply contracts

102 checks on the published supply contracts of a listed energy company and two technical papers, using a logic solver instead of a language model as the judge. No false answer was approved; anything it could not prove went to a person.

0 false answers passed in 102 checks
Multilingual service

Hallucination checks in Spanish, Catalan and Galician

Tested whether a hallucination check calibrated in English works in Spanish, Catalan and Galician, on 400 test answers per language. Used as shipped, it did worse than chance. With a multilingual encoder and calibration in each language, it became usable.

AUROC 0.36–0.40 as shipped · 0.74–0.75 calibrated per language
Banking · customer service

Repeatability of an LLM judge in banking customer service

Compared four ways of catching invented answers in a retail-banking FAQ assistant. The LLM judge caught the most, but changed its verdict between identical runs. Fixed rules raised no false alarms and left a record an auditor can check.

Judge 11 of 12 correct, not repeatable · rules 0 false alarms
Legal · EU AI Act

Wrong-article retrieval in an EU AI Act agent

Evaluated a compliance agent answering from the AI Act. When it retrieved the wrong article, its answer still looked well grounded. Only a separate relevance check caught it.

Relevance 0.44 vs 0.74 on the right article · grounding score unchanged
LLM software · client

Verification engine for an LLM reliability startup

Formal review of why the original design could not reach the accuracy the product needed, then a redesign with layered checks and escalation to a human on cases no check can decide.

+50% end-to-end accuracy in the team's own evaluation
Marketing · client

Marketing Mix Model for a regional McCann agency

Designed and delivered the channel-interaction model where standard linear marketing mix modelling was producing results nobody could use. Public testimonial on the NextBrain client page.

Work marked "client" was commissioned. Client names and references available on request.

How I work

How I work

2–3 weeks

Diagnostic

One system, one clear question. You get a test report: what was tested, what failed, how often, and what I would change.

60–90 days

Implementation support

Turning the diagnostic into checks that run in production, with your team.

Ongoing

Fractional advisory

A second opinion on AI vendors, pilots and deployment decisions.

Half day to two days

Training for executives

What AI does inside a company, what it costs, and how to know if it works. For leadership and technical teams.

Remote across Europe, or on site in the Madrid area. English, Spanish and Catalan.

Background

Background

I am an industrial engineer. Before AI I ran plants, sales operations and P&Ls at Endress+Hauser, Coram and Traspal, and I signed the deployments myself. Since 2016 I have worked in data science and AI.

  • My research has been accepted at IEEE, ACL and NeurIPS.
  • Invited speaker, IEEE PES General Meeting 2026, panel on digital twins for grid-scale energy storage.
  • Open source: GroundLens, checks for LLM answers, and Otwin, a physics engine for digital twins.
  • I teach AI and digital technologies in two master's programmes at Universidad Europea.
Writing

What I find when I test

    Contact

    Contact

    A 15-minute call is usually enough to see whether I can help.

    LinkedIn · Malt · GitHub