La

Labfile, a declarative file format for orchestrating experiments

Hacker News

Labfile, a declarative file format for orchestrating experiments

Hi friends. I used to be a software architect/technical founder, but now I'm doing a PhD in neuroscience. One big culture shock was that much of computational science is still imperative, while software engineering shifted to declarative tools decades ago. Many scientists (myself included) run Python scripts manually and track the inter-dependencies in their heads - often running scripts in the wrong order and getting silently incorrect results (leading to Nature papers). This problem seems similar to managing infrastructure with Terraform or building an image with Dockerfile directives, so I've started sketching out a declarative file format for defining experiments, their hyperparameters, and their relationships. https://github.com/FlywheelHQ/labfile My hope is to change this workflow: ```bash $ python script1.py ... $ python script3.py <--- fuck, forgot to re-run script 2 ... $ python script2.py ... $ python script3.py ... ``` into this ```bash $ lab Labfile Using cached results for Exp1. Running Exp2... Done. Running Exp3... Done. ``` This library is just a parser, but I'm working on an orchestrator and will share it soon. I would appreciate feedback on the syntax (I'm sure it sucks), and thoughts on what kinds of tooling could be built on top of a file format like this. I'd also like contributors (soon). Side note: You might have noticed it's published under "Flywheel". This is a org I started recently with my friend, hoping to create the missing incentives for talented builders to work on tools for science - an often overlooked part of the tech ecosystem. That includes policy change (in the UK), funding, education, and some other things. I don't know what Flywheel is yet (non-profit? OSS collective? a fund of some sort?) since it's very new, but we have a website: https://flywhl.dev .

Share card

Actual performance

3points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: started, para · Missing: supports, reddit linkedin, podcasting
85%85% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Hacker NewsMay not resonate with HN audience · Strong signals: ide, io · Missing: https docs, excited, just released
47%47% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Strong signals: soon, builder · Missing: plus, platform, intuitive
36%36% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: para, education · Missing: mobile apps, ios, personal
33%33% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Product HuntUnlikely to reach the leaderboard · Strong signals: dock, new, using · Missing: mac, agents, macos
31%31% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: profit · Missing: arr, mrr, revenue
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Bu
Budding new file format44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Budding new file format

Hacker News8
I
I made Confetti: a configuration language file format49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I made Confetti: a configuration language file format

Hacker News67
SA
SAN syntax for Vim – a Sane and Nice configuration format59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SAN syntax for Vim – a Sane and Nice configuration format

Hacker News1
Th
The CFG Configuration Format51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

The CFG Configuration Format

Hacker News1
Cl
Clang_format_all – Configure clang-format with YAML49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Clang_format_all – Configure clang-format with YAML

Hacker News1
Ra
Ragzip format specification (and Java implementation)53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Ragzip format specification (and Java implementation)

Hacker News4
WM
WMC – A file format which describes its own structure via WebAssembly63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

WMC – A file format which describes its own structure via WebAssembly

Hacker News4
Fr
Frontmatter Format: A micro-format for YAML metadata on any file41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Frontmatter Format: A micro-format for YAML metadata on any file

Hacker News8
FP
FPFF: A custom file format for forensics education38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

FPFF: A custom file format for forensics education

Hacker News4
Bl
Blockdiff – How we built our own file format for VM disk snapshots69%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Blockdiff – How we built our own file format for VM disk snapshots

Hacker News11