Skip to content

saagpatel/ConvictionMapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Conviction Mapper

TypeScript Rust License

Your beliefs decay if you don't revisit them. This makes that visible.

Conviction Mapper is a local-first desktop app for mapping and tracking beliefs as an interactive force-directed graph. Each belief carries a confidence score, a domain tag, an evidence trail, and a configurable half-life — nodes visually fade over time if you don't revisit them. You can link beliefs together (supports, contradicts, depends on, related), attach evidence items, and make dated falsifiable predictions. A calibration dashboard scores your prediction accuracy using the Brier method.

Features

  • Force-directed belief graph — interactive D3 canvas with zoom, drag, and relationship edges; switch to flat list view anytime
  • Confidence decay — each belief has a configurable half-life; nodes visually fade without regular reinforcement
  • Evidence tracking — attach observations, data points, arguments, authority references, or personal experience to any belief
  • Belief relationships — link beliefs as supports, contradicts, depends on, or related
  • Prediction tracking — make dated, falsifiable predictions tied to specific beliefs; resolve as correct, incorrect, or voided
  • Calibration dashboard — Brier score, accuracy by confidence bucket, and per-domain breakdown to measure how well-calibrated you actually are
  • Import / export — SQLite database backup and restore via native file dialog

Quick Start

Prerequisites

Installation

git clone https://github.com/saagpatel/ConvictionMapper
cd ConvictionMapper
npm install

Usage

# Start in development mode
npm run tauri dev

# Build release binary
npm run tauri build

Tech Stack

Layer Technology
Desktop shell Tauri 2
Frontend React 19, TypeScript 5.8, Vite 7, Tailwind CSS 3
Graph rendering D3 v7 (force simulation)
State Zustand 5
Backend Rust, SQLite via sqlx 0.8
Date utilities date-fns 4

Architecture

Belief and prediction state lives in SQLite, managed by the Rust backend via sqlx. Confidence decay is computed on read — the half-life formula runs in Rust when beliefs are fetched, so decay is always current without background timers. The D3 force simulation runs entirely in the React frontend, subscribing to belief data from the Rust layer via Tauri commands. Calibration statistics (Brier score, bucket accuracy) are aggregated in Rust over the full prediction history.

License

Unlicensed

About

Belief graph with confidence decay, evidence trails, prediction tracking, and Brier score calibration

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages