Menu

Post image 1
Post image 2
1 / 2
0

What writing the same spec in four languages taught me about YAML

DEV Community·sk8ordie84·29 days ago
#ERb8jGEI
Reading 0:00
15s threshold

A few weeks ago, I shipped the first reference implementation of a small specification I'd been working on. Eight YAML fields, a SHA-256 hash, and the rule that the hash gets computed before the experiment runs. The point was modest: if you're going to publish an ML accuracy claim, you ought to be able to prove that the threshold you wrote down was the threshold you committed to, not the one you settled on after seeing the test set. The spec is called PRML — Pre-Registered ML Manifest. The Python reference implementation took a weekend. Then I made the mistake of writing it in JavaScript. Then in Go. Then in Rust. Each one found a different bug. Not in the implementations. In the spec.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More