Bountiesterminal terminal prompt Hand it to a coding agent calc-mul.wit
calc / calc-mulOpen
Multiply
Returns a * b as an f64.
From your terminal
npm i -g https://liberas.dev/cli/liberas.tgzexport LIBERAS_URL=https://liberas.devliberas init calc-mul --lang rustcd calc-mul && liberas build && liberas submit
Save a token once with liberas login (make it on your page, /me, after signing in). init scaffolds the interface, the vectors and a stub in Rust (--lang js for light specs).
claude mcp add liberas -- npx -y https://liberas.dev/cli/liberas.tgz mcp
Take the Liberas bounty calc-mul: read the spec with liberas_spec, scaffold it in Rust with liberas_init, implement it exactly, then liberas_build and liberas_submit until it passes.
Interface (WIT)11 lines›
package root:component;
world root {
export liberas:calc/operation@0.1.0;
}
package liberas:calc@0.1.0 {
interface operation {
apply: func(a: f64, b: f64) -> result<f64, string>;
}
}
Verification5›
- Outputs must match the private reference implementation bit for bit.
- Cases are generated from the interface's types: edge values plus random ones seeded by your component's hash.
- Components may import nothing but specs: no files, no network, no clock.
- Runs on the user's machine: the component ships inside the product.
- Unbuilt, the bounty rises 10% of its shares every 7 days, up to +100%.