Part 6 · 4 min read v1.4 · Published 8 June 2026 · Updated 22 June 2026
A closed teal loop from generator to dataset to CI checks and back — publishing the evidence.

Publishing the Evidence

You can claim your NER pipeline is highly accurate. You can show a demo of it extracting entities from a YouTube video. But if you cannot provide the dataset, the evaluation harness, and the exact metrics used to prove that claim, you are doing marketing, not engineering.

One of the core tenets of marfago-labs is: No metric, no merit. Private benchmarks are theatre. I had to make the evidence public.

MLOps culture has moved the same direction for model quality: reproducible eval harnesses, versioned datasets, and CI-published reports others can re-run. A scorecard that lives only in a notebook or a slide deck cannot be challenged — and if it cannot be challenged, it cannot be trusted as a release gate. Public Pages reports and failing CI on bad gold are how this lab implements that habit at small scale.

The Artifact: ner-dataset

I explicitly separated the generation code (ner-gold-generator) from the output data. I created ner-dataset as a standalone, versioned repository.

Generation is a messy process involving API keys, rate limits, and LLM retries. The dataset repository, by contrast, is intentionally boring. It contains the final JSONL files: ten manual arXiv rows, and five synthetic datasets of 100 rows each (news, blogs, transcripts, scientific abstracts, and mixed).

I built a CI pipeline that runs on every pull request to validate the integrity of the spans. If a character offset is wrong, the build fails. A script regenerates a live statistics dashboard at marfago-labs.github.io/ner-dataset that tracks lexical diversity and entity usage.

It is not just a file dump; it is a living, audited artifact.

Closing the Loop

With the dataset published, the evaluation loop was complete:

  1. Generate: ner-gold-generator creates span-valid JSONL.
  2. Publish: ner-dataset versions and validates the data.
  3. Benchmark: ner-detector consumes that exact public dataset to run its backends.
  4. Report: CI generates an HTML report and publishes it to GitHub Pages.

I made the system agent-legible. I wrote for-agents.md files and offline smoke scripts. This is not just documentation — it is an interface. If another engineer (or their coding agent) disagrees with my benchmark, the mechanism exists for them to fork the repo, swap the model, and prove me wrong.

Make disagreement cheap.

The Reality of the Numbers

When I ran the full loop, the numbers told the truth I needed to hear.

On synthetic_news_100, the LLM (openai/gpt-oss-120b:free) achieved 83.9% Doc F1 at ~6.9 s/document; BERT reached 72.5% at ~80 ms (benchmark report, synthetic_news_100 table). On arxiv_gold — ten manual scientific abstracts with domain entity types — the same LLM dropped to 47.2% Doc F1 at ~9.1 s/document. Genre and label schema matter as much as model brand.

There is no magic model. There is only routing based on measured trade-offs.

Back to the Beginning

I started this journey because I wanted ArticleRecommender to synthesize my reading list. I ended up building an open-source AI evaluation lab.

ArticleRecommender is still the north star. Phase 1 works. But now, as I move toward Phase 2 — autonomous search, enrichment pipelines, compress-then-embed ingestion — I am not guessing. I know which NER backend to route to based on latency budgets. I know which metrics to trust when evaluating a summary.

The product is still ahead. The measurement infrastructure is no longer the blocker.

Takeaways

Previous: Fixing LLM Offset Hallucinations · Next: Agents Draft. I Sign.

The Evidence


← All posts