Make. Explore. Evolve.
A framework for analytical knowledge systems.
Three phases. Three stores. One continuous cycle.
It’s made, explored, and evolved.
Every analytical system follows the same rhythm:
build a view of reality, look at what it reveals, refine it.
jinflow gives this rhythm a name — and a structure.
Three phases, endlessly repeated
Build the database.
Validate everything.
Understand patterns.
Ask new questions.
Author new probes.
Capture knowledge.
Evolve feeds back into Make. The cycle never ends.
Each turn produces a richer, more accurate analytical system.
One Phase, One Tool
Each phase is a standalone, deployable application.
jinflow make
Takes artifacts (CSVs, YAML definitions, contracts)
and produces a built DuckDB.
Validates. Compiles. Builds. Done.
jinflow make --artifact-dir ./content
Workspace isolation. Never mutates source files.
Deterministic. Same artifacts in → same DuckDB out.
Deployable anywhere. Laptop. CI. Cloud function.
jinflow explore
Opens the DuckDB that make built.
Browse dimensions, findings, verdicts, expert knowledge.
See what the data says. Understand patterns.
Form new questions.
No AI. Human exploration, human insight.
Desktop or web. macOS, Linux, Windows, browser.
Any DuckDB. File picker or env var. No path assumptions.
jinflow evolve
Queries what make built.
Understands what explore revealed.
Authors the next generation of artifacts.
jinflow evolve
Reads the DuckDB. Writes artifacts.
Suggest, validate, compile. Full authoring workflow.
Human confirms. AI proposes, human approves.
Evolve writes artifacts.
Make builds them. Explore reveals what changed.
new probe YAML
compile + build
see new findings
refine thresholds
Every turn through the cycle refines understanding.
The system gets smarter because the artifacts get better.
AFS · KLS · SIS
Three named stores. Each with a clear owner.
Every piece of state has a home
CSVs, YAML definitions,
contracts, tenant configs.
Version-controlled.
Separate from engine code.
Built product of make.
Medallion layers, findings,
verdicts, expert knowledge.
Read-only for explore & evolve.
Build journal, instrument
lifecycle, compilation logs.
Strictly optional.
Everything works without it.
Clear ownership. No ambiguity.
artifacts
reads AFS
writes KLS
database
reads KLS
database
reads KLS
writes AFS
artifacts
rebuilds
AFS is the input to make. KLS is the output.
Evolve reads the output and writes the input. The cycle closes.
What jinflow Believes
Five commitments that shape every design decision.
- Domain agnosticism. jinflow knows about artifacts, compilers, tenants, and layers — not about hospitals, materials, or billing. The domain is content, not framework.
- Engine / content separation. The engine ships as a versioned package. Domain-specific content lives in a separate git repo — the AFS.
- DuckDB as the universal contract. Make writes the KLS. Explore reads it. Evolve queries it. No other shared state between the three applications.
- Workspace isolation. Make never mutates source directories. Temp workspace → compile → build → output.
- Cloud readiness. Same Python library locally and in Lambda. Different callers, same engine.
nuMetrix on jinflow
Hospital material flow analytics — built on the cycle.
jinflow provides the how.
nuMetrix provides the what.
YAML → SQL compilers
Multi-tenant isolation
Taxonomy engine
Explorer shell
AI-powered REPL
The machinery. Domain-agnostic.
OPALE, SAP, Navision mappings
47 probes, 11 hypotheses, 10 diagnoses
55 SMEbits, 15 BitBundles
Gold contract (7 entities)
3 source systems
The knowledge. All in the AFS.
A real example from nuMetrix
- Make: Compile 47 probe YAMLs into SQL. Build DuckDB for hospital_zeta. 68K cases, 2.4M billing rows.
- Explore: Open the Explorer. See that “Revenue Leakage from Unbilled Materials” is confirmed at CHF 2.8M.
- Evolve: Ask Claude: “Which cost centers drive the leakage?” — AI queries KLS, identifies top 5 cost centers, suggests a new probe targeting OR documentation gaps.
- Make: Rebuild with the new probe. Now the system detects OR-specific billing gaps.
- Explore: See the new findings. The hypothesis evidence score shifts. Understanding deepens.
The jinflow vocabulary
Make it.
Explore it.
Evolve it.
Three applications. Three stores.
One continuous cycle of understanding.
The knowledge system that gets better every time you use it.