Skip to content
Froniq
CA$FRONIQ · TBA
How it works

A rerun job, stage by stage.

Everything below runs as open code on this site or is enforced by the contract. Where something is a limit, it says so.

The five stages

01Environment

Records the runtime, platform and core count, the code name and version (froniq-knn 1.0.0), the seed, and the hash of the job spec (claim, tolerance, code version, data hashes).

02Data fetch

Downloads the training and test files from the UCI archive (server) or the site's mirror (browser, or when the archive does not answer) and stops unless each one hashes to the sha256 pinned in the job spec. Then it checks the row count and the class counts against the dataset's own documentation.

03Run

Classifies all 1,797 test digits with k-nearest neighbours (squared Euclidean distance on the 64 counts, all 3,823 training rows) for k = 1 to 11 in one pass. Ties are broken by fixed rules, so the result is deterministic.

04Compare

Puts the rerun accuracy next to the published number. Verdict: within tolerance when |rerun − claim| ≤ tolerance, otherwise outside. Values are integers scaled by 10⁶, exactly as the contract stores them.

05Report

Writes the claim, versions and hashes, environment, the full confusion matrix, the comparison, notes and every log line as canonical JSON. resultHash covers what any honest rerun must reproduce; the report hash covers everything.

Benchmark #1: data and claims

Optical Recognition of Handwritten Digits, E. Alpaydin, C. Kaynak, 1998. UCI Machine Learning Repository, doi.org/10.24432/C50P49 (CC BY 4.0). The eleven claims are the k-NN test accuracies printed in the dataset's description file (optdigits.names).

optdigits.trasha256 e1b683cc211604fe8fd8c4417e6a69f31380e0c61d4af22e93cc21e9257ffedd
optdigits.tessha256 6ebb3d2fee246a4e99363262ddf8a00a3c41bee6014c373ed9d9216ba7f651b8
optdigits.namessha256 3e82f7202d72a2b7dbdbc324c8c90fe8853164f5d6ab978a071357ad3de89f02

The dataset authors write that they used half of the training file for training, a quarter for validation and a quarter for writer-dependent testing, with the test file as the actual quality measure. The published k-NN table does not say which training rows it used; this rerun uses all 3,823.

Code and claims

froniq-knn 1.0.0 (src/lib/rerun/knn.ts): k-nearest neighbours, squared Euclidean distance on the 64 raw counts, trained on all 3,823 training rows. Ties: neighbours at equal distance: lower training row first; equal votes: the class whose nearest member ranks first. Seed 0: k-NN has no random step; the seed is recorded so every job spec has the same shape.

What Froniq does not claim

  • · A rerun is not peer review, and outside tolerance is not a finding of misconduct.
  • · Only benchmark #1 runs today. Intake of other papers, code and datasets is Concept.
  • · No attested hardware: the server and your browser run ordinary code. The second run in your browser is independent of our server, not of our code.
  • · No language model is used anywhere in a rerun or a report.
  • · Reports are stored for 30 days by hash (kv store when configured, else one server's memory). Keep the JSON you care about.
  • · The job board contract is written and tested; it is live. Bounties move real USDG: read the rules below first.

The bounty rules (FroniqJobBoard)

01Post

A funder escrows a USDG bounty for one claim: claim hash, spec hash, claimed value, tolerance, agreement margin, open window (1 h to 90 d), run window (10 min to 30 d), optional second-run share (up to 30 %) with its window, review window (1 h to 14 d), optional named runner. The amount is measured on arrival; fee-on-transfer tokens are refused.

02Claim

Any address except the funder (or only the named runner) takes the job. The run deadline starts. The runner may give the job back; after the deadline anyone may lapse the claim and the job reopens, or is refunded if its open window has passed.

03Submit

The runner submits the report hash, the number it got and whether it ran. The contract computes the verdict; the runner cannot type one.

04Second run

If asked, a third address (not funder, not runner) confirms with its own report before the confirm deadline. It earns the share whatever it finds. Same verdict and values within the margin: Confirmed. Otherwise: Contested.

05Payout

The funder may accept at any time (Submitted, Confirmed, Contested within its review window). After the review window anyone may release a Submitted or Confirmed job. No confirmation before its deadline: anyone may release without the share, which returns to the funder. The bounty pays the same whatever the verdict.

06Refunds

Cancel (funder, before anyone claims), expire (anyone, after the open window), lapse past the open window, and settle (anyone, a Contested job after its review window: the confirmer is paid its share, the rest returns to the funder, the runner gets nothing).

07Credits

Every outcome becomes credits that their owner withdraws to any address (pull payments): a token that blocks one address cannot freeze anyone else's money.

08Fee and admin

A platform fee fixed at deployment, at most 3 %, taken only when a runner is paid, never from refunds. No admin, no pause over other people's jobs, no upgrade, not payable; native ETH is not supported.

The contract

Live

FroniqJobBoard with the internal library FroniqBountyMath, Solidity 0.8.28. Every refusal has a view that returns reason bits before anyone signs: checkPost and checkStep. Tests: unit, hostile tokens (fee-on-transfer, false-returning, no-return, blocklist, re-entrant), fuzz, invariants, and a fork of Robinhood Chain with the real USDG.

0xa2d455f72a320bfe3ae40067d8067f2691f82c37

Bounty token

USDG on Robinhood Chain, read on chain: name “Global Dollar”, symbol USDG, 6 decimals. 0x5fc5360d0400a0fd4f2af552add042d716f1d168. Many tokens use the same symbol; the site offers only this address.

Questions

One benchmark, for real: the k-nearest-neighbour test accuracies published with the Optical Recognition of Handwritten Digits dataset (UCI, 1998). Pick one of the eleven published numbers, set a tolerance, and the job fetches the data, checks its sha256, reruns the classifier and compares. Other papers are Concept until their runner exists.

No. Outside tolerance means this rerun, with this pinned code and data, did not land within the tolerance of the published number. The method may differ from what the authors did (the report says how), and a difference is never a finding of misconduct.

The code is deterministic and the data is pinned by hash, so an honest rerun of the same job produces the same result hash anywhere. The run page lets you run the job on the server and again in your own browser and compares the two hashes.

A funder escrows a USDG bounty on FroniqJobBoard. The runner submits the report hash and the number; the contract computes the verdict. The bounty pays the same whatever the verdict. With a second run asked, a different runner confirms first; disagreement goes to the funder, and if the funder does not accept, the bounty is refunded after the review window, minus the confirmer's share.

No. Running a job, reading a report and the practice board need neither. A wallet is needed only to post or claim a real bounty on Robinhood Chain. Token features are Concept.

Yes. FroniqJobBoard is live on Robinhood Chain at 0xa2d455f72a320bfe3ae40067d8067f2691f82c37, with a 1 % fee taken only when a runner is paid. It is written and tested (unit, fuzz, invariant and fork tests against the real USDG). The practice board on play money keeps the same rules.