Protocol v2 · 68af8d8ev2v1 archivefrozen
Experimental benchmark: Hercyna is an experimental research benchmark. Results are provided as is, with no warranty of any kind. Results describe fixed synthetic cases only.TermsLegalPrivacyCorrections

Submit

Anybody can add a memory system. Metric files from one run form a submission folder. Inside it are counts, actions and hashes. It lacks record text.

Write an adapter

Four methods belong to an adapter. For each case it resets an empty store. In order it ingests the records. Within a token budget it returns a view for a query. It closes the store. The right action is never seen by the adapter.

Run it

Run the bench on the table cases with both deciders, using your own keys. In version 1 that makes your run exploratory, because table grade needs the frozen configs. The product points at the local model endpoint of the bench so every product uses that same model. The run writes all its files into one folder.

Pack and verify

The bench submit pack command copies released files into the submission folder. Your name and your adapter source must be filled in. The bench verify command checks each hash, recomputes its summary and checks labels against the cases.

Open a pull request

Open a pull request with the folder. Paste the last line of the verify output into the request. A vendor may also send a tuned configuration. The maintainer runs it on the table cases and publishes it as its own row, labelled exploratory.

How a row is labelled

A row drawn from a maintainer run gets labelled maintainer run. A verified outside submission is shown labelled exploratory. Once the maintainer reruns this same system under this same protocol, its label becomes maintainer-reproduced.

Four-step worked submission

Step 1: Install and check (zero cost)

Terms notice (tick before copying install or run commands)

  1. Hercyna is an experimental research benchmark. Results are provided as is, with no warranty of any kind.
  2. Results describe a fixed protocol, fixed synthetic cases and fixed deciders on a given date. They are not a certification, endorsement, ranking of fitness for any use, or a claim about any product in production.
  3. The person using or citing the results is solely responsible for their interpretation and any decision made from them.
  4. No liability for any loss arising from use of the software, data, site or results, to the extent the law allows.
  5. Product names are trademarks of their owners, used only to identify what was tested. No affiliation or endorsement is implied.
  6. Vendors may request a correction or a rerun. See the corrections process at corrections.html or open a correction request using the correction issue template.

uv sync

uv run bench quickstart --mock --accept-terms

Step 2: Write the worked toy adapter

Create adapters/toy_keyword/adapter.py without editing src/ or protocol/.

adapters/toy_keyword/adapter.py
from __future__ import annotations
from collections.abc import Sequence
from memory_bench.adapters.base import MemoryAdapter, Record, Retrieved

class ToyKeywordAdapter(MemoryAdapter):
    name = "toy_keyword"
    product_version = "0.1.0"
    config_label = "default"
    reference = False
    needs_proxy = False

    def __init__(self) -> None:
        self._order: list[str] = []
        self._docs: dict[str, str] = {}

    def reset(self, namespace: str) -> None:
        self._order, self._docs = [], {}

    def ingest(self, records: Sequence[Record]) -> None:
        for r in records:
            self._order.append(r.id)
            self._docs[r.id] = r.text

    def retrieve(self, query: str, budget_tokens: int) -> Retrieved:
        terms = {w.strip(".,?!:;").lower() for w in query.split() if w.strip(".,?!:;")}
        rank = {rid: i for i, rid in enumerate(self._order)}
        scored = [(sum(1 for t in terms if t in self._docs[r].lower()), rank[r], r) for r in self._order]
        hits = sorted([x for x in scored if x[0] > 0], key=lambda x: (-x[0], x[1]))
        chosen = sorted([rid for _, _, rid in hits[:25]], key=rank.__getitem__)
        units = [self._docs[rid] for rid in chosen]
        return Retrieved(text="\n".join(units), record_ids=chosen, units=units)

    def close(self) -> None:
        self._order, self._docs = [], {}

Step 3: Smoke test, pack exploratory, and verify

uv run bench run --mock --n 20 --cases data/v2/chat_agent/table_cases.jsonl --adapters toy_keyword --budgets 1000 --repeats 3 --out results/runs/toy-mock --accept-terms

uv run bench submit pack results/runs/toy-mock --out submissions --exploratory --accept-terms

uv run bench verify submissions/toy_keyword/<YYYY-MM-DD>-default --accept-terms

Step 4: Preview locally and open a pull request

uv run bench site build --out site/dist --accept-terms

uv run bench site serve --port 8795 --accept-terms

Get updates: email, Atom feed, or GitHub releasesCookie-free · no third-party scripts

Email updates

Email coming soon. External double-opt-in signups open once the mailing endpoint is set; zero emails are stored on Hercyna (Privacy).

Atom feed

Subscribe in any feed reader with zero accounts or scripts.

Subscribe via feed.xml · Release notes

GitHub releases

Follow protocol updates, new table releases, and verified corrections on GitHub.

Watch releases