Skip to main content
Juan Diego Ussa
Valencia, Spain · Research Engineer & Applied AI Builder

Juan Diego Ussa Aponte

Applied AI, Causal Systems & Dynamical Modeling

I build white-box mathematical engines, local-first MCP servers, and empirical studies you can audit line by line. My work sits where dynamical systems, causal inference, and production software meet—no opaque hand-waving, no silent failures.

INTERACTIVE MICRO-DEMO · KINETOPUS 2D

Phase-Space Attractor Microscope

Institutional (CCW)Reactive (CW)
Re(λ) +0.0032 d⁻¹

Closed Fitzgibbon ellipses · opposite chirality

Lz ±0.84

Two series share the exact same 1D return shadow, yet spin in opposite directions in 2D phase space. Toggle 1D vs. 2D or raise phase tension to test the thesis directly.

01/Flagship Systems

Four systems built from first principles

Each repository below combines an explicit mathematical or epistemic model with reproducible code, real empirical data, and documented boundaries.

Dynamical Systems · Econophysics · MCPv0.4.0 Live · SSRN Preprint

KineTopus-Analyst

White-Box 2D Phase-Space Attractor Microscope for Real Markets

Built atop KineTopus-Engine (Apache-2.0) and validated across 26,294 causal walk-forward snapshots (2000–2026, 15 blind markets). Reveals hidden orbital chirality invisible to classic 1D indicators like OBV and CMF, with an explicit honest boundary on exogenous shocks.

Causal Snapshots
26,294 (2000–2026)
Blind Out-of-Sample
15 untouched markets
2D Seismograph AUC
0.603 vs 0.473 AR(1)
Runtime Footprint
CPU-only · ≤ 16 GB RAM
PythonNumPyCausal C² SplinesSINDy / FFTCUSUMFastAPI
Causal Systems · Neuro-Symbolic · MCPVerified on Python 3.12 / 3.14 · CI Green

ActorDB — Causal Graph Engine (CGE)

Compiles Python Repositories into a Verifiable Structural Causal Model & MCP Oracle

Instead of indexing code as text chunks, ActorDB compiles a Python project's decision logic and invariants into a formal Structural Causal Model with an MCP oracle (trace, do, solve, prove), Sobol fidelity certification (≤ 10⁻⁶), and zero-mutation Git PR gating.

MCP Primitives
trace · do · solve · prove
Fidelity Bound
Sobol rel. error ≤ 10⁻⁶
Benchmark Suite
OR-Bench (20 problems)
Baseline Seal
41 artifacts · SHA-256
Python 3.11+AST Symbolic CompilerFastMCP (stdio/SSE/HTTP)LP / MILP / NLP SolversSobol VerificationGitHub Actions CI
MCP · Local-First Retrieval · Archival NLPApache-2.0 · Live stdio Demo · CI Green

Scriptorium MCP

Local-First, No-GPU Knowledge Engine Turning Messy Multilingual Archives into Citable Evidence

An open-source (Apache-2.0), read-only MCP server engineered for archival research over 50–1,000+ messy HTML captures, Wayback Machine snapshots, and legacy encodings (windows-1251, koi8-r, .fb2.zip)—returning hash-verified spans at $0 inference API cost.

Inference Cost
$0 · 100% Local CPU
Citation Proof
SHA-256 + char_start:end
Live Demo Corpus
16 Chekhov works · 989 chunks
Legacy Support
cp1251 · koi8-r · .fb2.zip
Python 3.11–3.13MCP (Read-Only stdio)Multilingual MiniLM (CPU)Hybrid RRF SearchWayback CDX / Legacy EncodingsSHA-256 Span Proofs
Empirical Research · Dynamical Systems · PreregisteredClosed & Archived (v1.2–v3.0 Forensics)

PoliTopus

Preregistered 3-Stage Empirical & Dynamical-Systems Study Across 48 Democracies

Closed, SHA-256-sealed empirical study (v1.2–v3.0) across 48 democracies. Confirmed within-term approval erosion (-3.08 pts/yr) and a memoryless electoral cost of governing (-5.35 pp), while decisively refuting autonomous periodic pendulums and post-1996 digital acceleration.

Scope
48 democracies · 3 stages
Approval Erosion
-3.08 pts/yr (p = 0.001)
Cost of Governing
-5.35 pp · memoryless
Pendulum Hypothesis
Refuted (1/33 BH-FDR)
PythonEconometrics (2SLS-IV)Ornstein-Uhlenbeck (OU-1D)Survival / Hazard ModelsBH-FDR Multiple TestingSHA-256 Preregistration
02/Research, Publications & Media

Preprints, preregistered studies & technical artifacts

Persistent identifiers, reproducible archives, and visual breakdowns—including honest documentation of hypotheses that failed under out-of-sample testing.

2026Preprint

The Second Dimension of Money

SSRN Working Paper · Zenodo Archival Release · SSRN #7431018 · DOI 10.5281/zenodo.24166175

Introduces a strictly causal 2D return-volume phase-space microscope (FFT, C² splines, SINDy) validated across 26,294 walk-forward snapshots (2000–2026, 15 blind markets), documenting hidden orbital chirality (Lz), Fitzgibbon conic stability, and a 2D fragility seismograph (Re(λ), ROC-AUC 0.603 vs 0.473 AR(1)) alongside explicit exogenous boundaries.

2026Empirical Study

PoliTopus: Preregistered 3-Stage Dynamical Study Across 48 Democracies (v1.2–v3.0)

SHA-256 Sealed Forensic Archive · Stages 1–3 Closed · M = 44 Blind Countries

Tests political pendulums, cumulative governing wear, and post-1996 digital acceleration under strict SHA-256 preregistration. Confirms within-term approval erosion (-3.08 pts/yr) and a fixed memoryless electoral cost (-5.35 pp), refutes autonomous periodic cycles (1/33 BH-FDR) and digital acceleration, and archives exact measurement limits.

2026Talk & Essay

Visual Breakdown, Long-Form Essay & Live Interactive Phase-Space Engine

YouTube · Substack · Hugging Face Spaces · 5-Min Walkthrough · Interactive Space

Companion visual explanation of 1D shadow collapse vs. 2D orbital chirality, full empirical tables and methodology on Substack, plus a live interactive Hugging Face Space running KineTopus-Engine directly in the browser.

2026Technical Note

Epistemic Gate P5 & Zero-Mutation Causal Diffs for Python Codebases

Architecture Note · ActorDB / CGE Specification · Sobol ≤ 10⁻⁶ · OR-Bench (20) · 41 SHA-256 Artifacts

Technical blueprint detailing how ActorDB extracts cross-module structural causal graphs from Python ASTs with zero exec/eval, treats undeclared leaves strictly as exogenous under principle P5, and blocks invariant regressions in Pull Requests via cge-diff.

03/Production Engineering & Applied Lab

Tested suites and domain engines

Beyond research prototypes: clean-architecture Python suites with CI pipelines, plus ten focused engines tackling concrete industrial and financial bottlenecks.

Production Suites

quant-trading-suite37/37 deterministic tests · CI green

Clean-architecture quantitative analytics and vectorized backtesting studio decoupling market data ingestion, multi-timeframe regime diagnosis, candlestick pattern recognition, and Dash/Plotly visualization.

  • Parquet + SQLite local cache eliminating vendor rate-limiting
  • Institutional metrics: Sharpe, Sortino, Calmar, Max DD & CAPM Alpha/Beta vs S&P 500
  • Vectorized strategy execution (SMA, Multi-Factor ATR Bracket, S/R Breakout) + Docker container
PythonNumPyPandasParquetSQLitePlotly Dash
GitHub
b2b-lead-harvester100% offline mocked-DOM pytest · CI green

Domain-agnostic B2B prospecting and enrichment engine driven by declarative YAML presets, async Playwright automation, NLP geo/language filtering, and deterministic SHA-256 deduplication.

  • Deterministic SHA-256 hash idempotency over SQLite in WAL mode
  • NLP script & regional filtering (langid + regex word boundaries) rejecting off-target noise
  • Typer + Rich CLI with one-click Excel (.xlsx), UTF-8-BOM CSV & JSON exports + zero-leak .env settings
PythonPlaywright AsyncSQLite WALlangidPydantic v2Typer
GitHub

Applied Domain Lab

Filter across ten standalone open-source engines built to solve concrete sector bottlenecks.

Predictive Maintenance · SciML

Sparse dynamical system discovery (SINDy + Savitzky-Golay C² regularization) extracting exact wear equations with sub-millisecond CPU inference.

SINDyC² SplinesEdge CPU

Signal Processing · Audio DSP

Real-time audio DSP streaming pipeline with Overlap-Add (OLA) window control and acoustic QA verification against framing glitches.

OLADSPAcoustic QA

Fact-Graph · Deontic Guardrails

Neuro-symbolic fact-graph and deontic logic verification layer constraining RAG outputs against formal policy rules before emission.

Fact-GraphDeontic LogicRAG

Entity Resolution · Agentic PIM

Sub-quadratic catalog deduplication and agentic PIM guardrail engine resolving noisy SKUs without O(N²) pairwise blowup.

Sub-QuadraticPIMEntity Resolution

FinTech · Treasury Reconciliation

Double-entry CashMatch ledger with SHA-256 chaining, strict integer/decimal arithmetic (no float drift), and Ornstein-Uhlenbeck FX VaR (99%).

Double-EntrySHA-256OU-VaR

Portfolio Optimization · ESG

Triple-impact ESG portfolio optimization and non-linear risk analytics balancing financial return against explicit sustainability constraints.

OptimizationNon-Linear RiskESG
04/How I Build

Engineering principles & background

Self-directed, systems-first, and stubbornly allergic to black boxes that cannot explain why they broke.

P-01

White-Box Verifiability

Before trusting an output, I want to inspect the governing equation, causal path, or exact SHA-256 character span behind it. Interpretability is a design constraint, not an afterthought.

P-02

Zero Placeholders & Honest Limits

No silent fallbacks, no p-hacked narratives. If an experiment refutes my hypothesis—as happened in PoliTopus—or hits an exogenous shock like Feb 2020, I document the boundary plainly.

P-03

Local-First Efficiency

Good math beats brute-force compute. Vectorized NumPy, SQLite WAL, bounded RAM (≤ 16 GB), and $0 CPU retrieval come first before reaching for cloud GPUs.

P-04

Reproducible Evidence

Strict causal walk-forward splits, preregistered SHA-256 manifests, deterministic offline test suites, and CI checks that actually fail when invariants regress.