Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

Dokimi

Say what would count as a win before the test starts. Then prove you did not move the bar.

Dokimi is a public record for experiments such as A/B tests. The plan is locked on-chain first. Results are added later and judged only against that plan.

Experiments on record

# Experiment Target Sample per arm Status
2 Problem-first vs product-first X post +30.00% 300 Locked
1 Replay: 1954 Salk polio vaccine field trial -50.00% 100,000 Target met

Lock a new plan

Fill this in before your test starts. After you submit, the plan cannot be changed, by you or by anyone else.

/r/g1v9mz7rtgkvwkw90ey6496h5fk6pj6cgyawkvft/dokimi/v1 Exec: Register
A short name for the experiment
What you expect to happen, in one or two plain sentences on a single line
The one event or number that decides it, for example signup_completed
What you have today
The new version you are testing
Which way the metric should move
The smallest relative change that counts as a win, for example 15
How many people each version must reach before the result counts
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1v9mz7rtgkvwkw90ey6496h5fk6pj6cgyawkvft/dokimi/v1" -func "Register" -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1v9mz7rtgkvwkw90ey6496h5fk6pj6cgyawkvft/dokimi/v1" -func "Register" -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

How it works

  1. Lock. The plan is stored with the block it was written in and a fingerprint of its text.
  2. Report. The owner adds running totals. Every report is kept and no total can go down. A mistake is fixed with a correction, which is shown as one and never replaces the report it corrects.
  3. Close. The last report is judged against the locked plan: met, missed or inconclusive. A test stopped before its planned sample is always inconclusive, however good the numbers look.

Other realms can register their own experiments here, or import the rules from gno.land/p/g1v9mz7rtgkvwkw90ey6496h5fk6pj6cgyawkvft/dokimi/v1.