Back to corpus
research noteexperiment writeup candidatescore 32

Python ↔ TypeScript Integration Guide

A single FastAPI server exposing all 6 model subsystems: - Skill Graph (Bayesian inference + message passing) - Alignment Scorer - Gravity/Mass Estimator - Life State Dynamics - Echelon Fusion - Scenario Generator & Evaluator

Full HTML reader

Read the full artifact

Open in new tab

Extracted abstract or opening context

### 1. Python FastAPI Server (`models/api/server.py`) **Status**: ✅ Complete - Ready to run A single FastAPI server exposing all 6 model subsystems: - Skill Graph (Bayesian inference + message passing) - Alignment Scorer - Gravity/Mass Estimator - Life State Dynamics - Echelon Fusion - Scenario Generator & Evaluator ### 2. TypeScript Python Client (`services/trajectory-core/src/python/`) **Status**: ✅ Complete **Files**: - `client.ts` - Main HTTP client class - `types.ts` - TypeScript types matching Python models - `index.ts` - Exports **Changes**: - Calls `pythonClient.updateSkillBelief()` for each piece of evidence - Calls `pythonClient.propagateBeliefUpdate()` to propagate through graph - Stores Bayesian posterior (mean, std) in database - Fallback to simple averaging if Python API unavailable

Promotion decision

What has to happen next

Attach run IDs, datasets, metrics, and reproduction commands.

Why this is not always a full paper yet

Corpus pages are public-safe readers for discovered workspace artifacts. They are not automatically final papers. A corpus item becomes a polished paper only after the editable source, evidence checkpoints, references, figures, render path, and release status are attached through the paper schema.