Help center/Reference

ARTICLE / Reference

Probe datasets

The relay probe is driven by an externalizable JSON dataset: build or extend it yourself and the check covers newer cheating techniques — no new release needed; replace the file and it takes effect.

What a probe dataset is

The Novara relay probe (Memos → API check → Relay probe) uses an externalizable probe dataset containing benchmark questions, adversarial benchmark questions and injection signature patterns. You can build or extend this JSON file yourself to cover newer cheating techniques — no new release needed; replace the file and it takes effect.

File locations and read priority

The dataset is read from the following locations in order, and the one with the highest version wins (ties go to the earlier entry):

PriorityLocationNotes
1%LOCALAPPDATA%\Novara\ProbeDataSet.jsonImported via the in-app "Load Probe Dataset" button; survives upgrades
2ProbeDataSet.json in the install directoryShipped with the release
3Built-in defaultCompiled into the code; the fallback when no file is present or valid

A damaged or malformed file is skipped in favor of the next priority; if nothing parses, the built-in default applies. A bad file can never crash the probe.

Field reference

FieldTypeRequiredDescription
versionintegeryesDataset version. Compared across files; the highest wins
benchmarkQuestionsarrayyesBase tier benchmark questions. Keep semantics stable (never reword a shipped question or change its expected answer), so results stay comparable across versions
adversarialBenchmarksarraynoAdversarial tier benchmark questions. Append-only growth; entries are never removed once shipped (a proven false positive may be removed with a release note)
poisoningStrongPatternsarrayyesStrong injection signatures (regex). A match reports "high risk"
poisoningWeakPatternsarrayyesWeak injection signatures (regex). A match reports "suspicious"

Each benchmark entry looks like { "key": "unique id", "prompt": "question sent to the model", "expected": "expected answer (a number)" }.

Constraints

  • benchmarkQuestions must not be empty; the tier is capped at 7 questions (anything beyond is ignored at load time).
  • adversarialBenchmarks is optional, capped at 64 entries.
  • Each run executes a layered sample: 3 questions from the base tier (K1) + 2 from the adversarial tier (K2), shortfalls tolerated; question order and request markers are randomized per run, and the run seed is recorded on the report for reproducibility.
  • Every question's prompt and expected must be non-empty — an empty expected would make scoring trivially true.
  • Patterns are .NET regular expressions and must compile; the strong and weak lists are each capped at 64 entries.
  • expected is compared numerically (a number appearing in the reply equal to the expected value counts as a pass), so design questions whose answer is an unambiguous number.

Import / apply / revert

  • Import: Memos page → API card → Relay probe → "Load Probe Dataset" at the bottom of the dialog, then pick the JSON file. After validation it is written to %LOCALAPPDATA%\Novara\ProbeDataSet.json and the app restarts to apply it.
  • The "How to build your own dataset?" link in the dialog opens this page, following the app interface language: Chinese interface opens the Chinese version, anything else opens the English one.
  • Revert: delete %LOCALAPPDATA%\Novara\ProbeDataSet.json and restart to fall back to the shipped dataset; or import a corrected file with a higher version (the read chain only honours the highest version).

Full example

A minimal dataset you can import as-is:

{
  "version": 2,
  "benchmarkQuestions": [
    { "key": "strawberry", "prompt": "How many times does the letter 'r' appear in the word 'strawberry'? Answer with just the number.", "expected": "3" },
    { "key": "compare", "prompt": "Which number is larger: 9.11 or 9.9? Answer with just the number.", "expected": "9.9" },
    { "key": "math", "prompt": "What is 24 * 7 + 5? Answer with just the number.", "expected": "173" }
  ],
  "adversarialBenchmarks": [
    { "key": "adv-count", "prompt": "How many times does the letter 'o' appear in the word 'collaboration'? Answer with just the number.", "expected": "3" },
    { "key": "adv-words", "prompt": "How many words are in the sentence 'The quick brown fox jumps over the lazy dog'? Answer with just the number.", "expected": "9" }
  ],
  "poisoningStrongPatterns": [
    "\\b(curl|wget)\\s",
    "\\b(sh|bash)\\s+-c",
    "powershell",
    "cmd\\.exe",
    "[\\u200B-\\u200D\\uFEFF]",
    "data:image/[^;]+;base64,[A-Za-z0-9+/=]{100,}"
  ],
  "poisoningWeakPatterns": [
    "!\\[[^\\]]*\\]\\(https?://",
    "[A-Za-z0-9+/=]{200,}"
  ]
}

Honest limits of the check

The sampling order, request markers and filler text of every probe run are randomized, which sharply raises the bar for relays that try to recognize the probe by traffic features (fixed request prefixes, fixed question order, fixed filler passages) — yet the fixed test questions and instruction phrasing remain a potential signature themselves. Randomization cannot defend against semantic-aware cheating: some relays understand the question, answer the probe with the genuine model and serve a downgraded model to normal traffic. Extending the adversarial tier lifts the detection rate for such relays but cannot guarantee a 100% catch — consistent with the note in the probe dialog. This check is a probabilistic judgement, meant for personal self-auditing only.

Usage risks and disclaimer

Checks send real requests to the endpoint configured on the entry: connectivity, 1 request (0 tokens); status diagnostics, 1–3 requests; the relay probe, a dozen or so serial requests per run (actual token spend is recorded on every report). What the check can do is a capability question; whether to run it against a given service is your compliance decision — please read the risks below before using it.

  • Cost — probes consume real tokens and accumulate across runs; on a pay-as-you-go key of your own that is real money. Every report records the actual spend of that run.
  • Relay stations — some relay stations' terms of service explicitly prohibit automated testing, benchmarking or probing. The random nonce, random markers and randomized question order lower the chance of machine fingerprinting, yet the questions still look unmistakably like a test under human review; randomization does not change the terms-of-service situation — running the check against a service that forbids it violates that service's terms, and the rate limits, bans or charges that follow follow its policy.
  • Official providers — handing an official API key to a relay station or any third-party tool may violate that provider's terms: OpenAI's Service Agreement 3.1 requires that account credentials not be shared between multiple users, and 3.3(g) prohibits buying, selling or transferring API keys with third parties; Anthropic's Commercial Terms D.4 prohibits resale. A ban that follows lands on your own key.
  • Relay business risk — aggregating and reselling upstream quota puts relay stations in the grey zone of the clauses above; an upstream ban takes the relay offline, and any balance you hold there may be unrecoverable. This can happen with or without the probe — the probe is only one part of using such a service.
  • Frequency and abuse controls — every provider runs rate limits and abuse detection. High-frequency probing in a short window (repeated manual runs, rotating many keys) can trigger 429s or abuse flags; keep the frequency down.
  • Key exposure — a key given to an endpoint is given to whoever runs it. Novara never touches or proxies this traffic, and the probe only sends dataset questions and random markers — never any data from your library; but Novara cannot audit third parties for you — choosing a relay station is, in essence, a trust decision. The relay ecosystem itself (e.g. the open-source one-api project) likewise asks users in its documentation to follow upstream terms at their own risk.

FAQ

Will upgrading Novara overwrite my imported dataset?

No. An imported dataset lives at %LOCALAPPDATA%\Novara\ProbeDataSet.json and upgrades never touch it; only the shipped dataset changes with a release, and the read chain takes whichever has the higher version.

What happens if my dataset file is malformed?

That location is skipped and the next priority is read; if nothing parses, the built-in default applies — the probe can never crash because of a bad file.

How do I go back to the official dataset?

Delete %LOCALAPPDATA%\Novara\ProbeDataSet.json and restart; or import a correct file with a higher version to override.

Can I remove old adversarial questions?

Please don't. The adversarial tier is append-only (a proven false positive may be removed with a release note), and shipped benchmark questions keep their wording forever — that is what keeps results comparable across versions.