Skip to content
← Back to blog

Three tools with results you can reproduce

Three small checks for code search, validation and model files, with commands, observed results and limits.

December 5, 2026 · 4 min read · 16 reads

  • #open source
  • #development

Before adding a dependency, give it a small job with an answer you can check. If the answer is wrong, you find out in a minute. Not halfway through a migration.

That is what this package sets up for three tools from the Awesome Curated catalogue: ast-grep, Vest and Netron. Each case has a pinned version, an expected result and a written limit.

What was tested, and what was not

All three checks are automated and use synthetic inputs. They ran on 18 October 2026 in disposable Linux x86-64 containers, with external networking disconnected during the final run. The code, the runs and this text were prepared with AI assistance.

This is not a story of personal use. Nobody used these tools on a real project to write this: one concrete behavior per tool was checked, and nothing more. It does not change the catalogue's review labels either.

Setup

Clone the pinned revision and enter the examples directory:

sh
git clone --branch practical-examples-2026-10-18-r3 --depth 1 https://github.com/JuanTorchia/awesome-curated.git
cd awesome-curated/examples/practical
npm ci

Netron also needs a Python 3.11 environment; the package instructions create it in /tmp/awesome-netron-env. You can run a single case.

ast-grep 0.51.0: a call, not a string

The test file has three lines:

js
// console.log("comment")
const text = "console.log(123)";
console.log("hello");

A text search finds all three. The fixture asks ast-grep for the pattern console.log($$$ARGS), which matches syntax-tree nodes, and rewrites the match as logger.info($$$ARGS).

sh
node ast-grep.mjs

Observed result: one match, rewritten as logger.info("hello"). The comment and the string stay unchanged.

The limit is clear. logger is an illustrative target: the check covers the syntax transformation, not whether the replacement behaves the same. Your application's tests have to cover that part. The ast-grep quick start explains patterns, metavariables and rewrites.

Vest 6.3.4: which fields fail

The fixture defines two length rules and runs one invalid and one valid input:

js
import { create, test, enforce } from 'vest';
const validate = create((data) => {
  test('username', 'Use at least 3 characters', () => enforce(data.username).longerThanOrEquals(3));
  test('password', 'Use at least 8 characters', () => enforce(data.password).longerThanOrEquals(8));
});
const invalid = validate.run({ username: 'ab', password: '123' });
sh
node vest.mjs

Observed result: the invalid fields are ["password", "username"], and the valid run returns hasErrors: false.

This checks the suite before it is connected to a form. It does not cover a UI, asynchronous rules, server validation or a real password policy. One detail if you adapt it: the Vest 6 documentation recommends runStatic() for tests that should not inherit state from an earlier case; the fixture uses run().

Netron 9.3.2: serve a model without running it

The fixture uses ONNX 1.23.2 to create a model with a single Relu node and shape [1, 3], starts Netron on local port 18080, and requests the page and the model bytes.

To continue from this point, m2cgen: export your ML model without shipping Python to production continues the path through the same series.

sh
/tmp/awesome-netron-env/bin/python netron-example.py

Observed result: HTTP 200 and a 104-byte model identical to the original, with SHA-256 b8f44a12ed8dff00d68bfb2fe6bee423dd7b100422c4ad6cf087b25af23a9c4e.

What it does not prove matters as much as what it does. Browser rendering was not checked and no inference ran; the Relu node is verified in the generated ONNX file, not in a picture. Port 18080 must be free. The Netron repository lists the supported formats and how to install it.

Why Chroma and Aim are missing

The original selection had five tools. Revision 3 removed Chroma and Aim because their latest stable releases have unpatched advisories, and an example that installs them would be an invitation to install them.

A recheck on 4 December 2026 found no change. The critical advisory GHSA-f4j7-r4q5-qw2c describes unauthenticated code execution in chromadb, affects 1.0.0 through 1.5.9 and lists no patched version. For Aim, GHSA-gmvv-rj92-9w35 is a moderate-severity XSS, also without a patch. They come back to the package when a fixed release exists, not before.

How to use it

Pick the case that resembles a task you already have and run it as is. Then replace the synthetic input with an example of your own and keep the assertion small.

Expected results are in expected.json and versions, with checksums, in versions.json, pinned to the dated tag. Node has a lockfile. In Python only the top-level versions are pinned, so a future install can resolve different transitive dependencies: that is the cost of not freezing the whole environment.

If the result changes with your data, you have a concrete question to ask the tool before adopting it.

Looking for this approach on your team?

Explore my technical case studies or discuss a senior role, architecture and technical leadership.

Share:XLinkedIn

Comments (0)

What do you think of this?

Drop your comment in 10 seconds.

We only use your login to show your name and avatar. No spam.

No comments yet. Be the first — your take matters most when we're few.

Related Articles