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/v0 package

Overview

Package dokimi is a public registry of pre-registered experiments.

Before a test starts, its owner locks a plan here: the hypothesis, the one metric that decides it, the size of change that counts as a win and the number of people each arm must reach. The block height and a fingerprint of the plan are stored with it. From then on the plan cannot be edited.

While the test runs the owner reports running totals. Every report is kept, totals can only go up, and closing the experiment judges the last report against the plan with the rules in gno.land/p/g1v9mz7rtgkvwkw90ey6496h5fk6pj6cgyawkvft/dokimi/v0.

An owner is whoever called Register: a person's account, or another realm that wants its own experiments on the public record.

Function

Matches

func Matches(id uint64, title, hypothesis, metric, control, variant, direction, target string, minSample int64) bool
Ask AI Claude ChatGPT

Matches reports whether the given plan text is exactly what was locked under id. It recomputes the fingerprint from the arguments, so anyone can check a plan they were shown against the public record.

Params

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1v9mz7rtgkvwkw90ey6496h5fk6pj6cgyawkvft/dokimi/v0.Matches(,,,,,,,,)"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/g1v9mz7rtgkvwkw90ey6496h5fk6pj6cgyawkvft/dokimi/v0, for example a function call with arguments.