Skip to content
View RyanJBush's full-sized avatar

Highlights

  • Pro

Block or report RyanJBush

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
RyanJBush/README.md

Ryan Bush

Selected projects in LLM reliability, local analytics, retrieval evaluation, agent workflow tooling and tool-call authorization, supervised code repair, text-origin evaluation and content provenance, demand forecasting, and sensor anomaly detection. Each project links to a demo and the evidence behind its results.

Self-Healing LLM Gateway

Built a local text-generation gateway with bounded retries, approved fallback providers, and per-provider circuit breakers. A two-second deadline includes calls and retry waits; sanitized traces explain routing and recovery decisions.

On the same seven-request deterministic failure schedule, the gateway completed 7/7 requests with 11 provider calls, compared with 2/7 and seven calls for a direct-primary baseline. These are stub results with simulated timings. All 382 tests and 31 acceptance assertions passed on Windows and Ubuntu with Python 3.11–3.13. Real LLM providers, macOS, and load beyond five concurrent requests remain unverified.

Repository · Demo preview · Verified results · Passing CI run · Release v0.2.2

Enterprise Text-to-SQL Analytics Agent

Built a local analytics assistant using Ollama and Qwen3 4B to propose SQL over a synthetic sales database. A restricted SQLite executor enforces approved reads, row limits, and a query work budget. The demo shows a correct joined revenue answer, a clarification question, and a blocked schema read.

Seven local acceptance cases passed. The test suite recorded 182 passes and three optional Anthropic SDK skips. Earlier model mistakes are retained with the results.

Repository · 51-second demo · Verified results · Exact test output

Retrieval Evaluation Harness

Built a reproducible comparison of BM25 and a pinned embedding model, with per-query relevance metrics, CPU latency exports, and a side-by-side viewer. On the bundled synthetic fixture, Recall@5 was 0.714 for BM25 and 1.000 for embeddings across seven scored queries.

Repository · Saved results · Passing CI run · Viewer screenshot

SwarmOS

Built a deterministic Planner–Implementer–Reviewer workflow that applies a fixed patch in a disposable Git repository, gates approval on an acceptance test, and stores verifiable execution traces in SQLite. The paired demo completed 3/3 runs per arm, with three memory hits when enabled and zero when disabled.

Recorded results · Passing CI run · Captioned demo · Timeline screenshot

3D Multi-Agent Trace Visualizer

Built a local viewer that validates a multi-agent execution trace, replays it deterministically, and shows it as an accessible 2D event table or a Three.js agent graph. Both views share one replay controller and event inspector, so switching views keeps the replay position and selection. Trace files are read in the browser, and the built page blocks network requests (connect-src 'none').

All 265 tests passed in GitHub CI on the current commit. Recorded scripted Chromium checks with software WebGL passed 32/32 for the 2D view, 40/40 for the 3D view (including the no-WebGL fallback and context loss), and 24/24 for layout at 1280 px and 375 px. The bundled trace is synthetic. Real SwarmOS trace ingestion, screen readers, GPU rendering performance, and Firefox/Safari are untested, and no usability gain has been measured.

Repository · Passing CI run · Synthetic trace · Browser check record · Known limitations

Prompt-Injection Guardrails

Built a default-deny permission gate that checks each agent-proposed tool call against a fixed task policy: three allowed tools, exact argument fields, and one allowed path or test name per tool. Paths must resolve inside the workspace, and denied calls never reach the recording mock executor. The gate does not read prompt or issue text and uses no LLM, so it is an authorization layer, not a prompt-injection detector.

In three scripted synthetic cases, the gate blocked 1/1 unauthorized calls (an injected read of a fake secret) and incorrectly blocked 0/9 authorized calls, including in a case that only quotes the injected text; 3/3 tasks completed. All 115 tests passed in GitHub CI on Windows and Ubuntu with Python 3.12 and 3.13. No model-driven runs or real tool runtimes have been tested.

Repository · Passing CI run · Scripted cases and output · Metrics definitions · Known limitations

Autonomous GitHub Issue Resolution Agent

Built a supervised code-repair prototype for one synthetic GitHub-style Python issue. Each run makes one model request and validates the strict-JSON response. A narrow patch policy then limits the resulting diff to one allowlisted file within byte, hunk and line caps and checks it against a pinned base commit. Each run writes a hash-manifested review packet for a human reviewer. The tool never executes model output without an exact-hash operator approval, and it does not open or merge pull requests.

A local qwen3:4b model proposed a one-line whitespace-normalization fix. Its prompt carried hints shaped by the trusted tests, and earlier development attempts failed, so this is a guided demonstration, not a benchmark. The agent run stopped before execution. A separate, manually supervised Docker run then saw the 2 expected baseline failures and 3/3 candidate tests passing. All 82 hand-written synthetic fixture cases matched offline and in Docker, and 574 tests passed in GitHub CI with Docker required. No real Anthropic API request has been made, and Docker is not verified as isolation for arbitrary model-generated code.

Repository · Review packet · Local run record · Passing CI run · Known limitations

Litmus

Built a local evidence workbench that reports text-origin signals, writing-pattern observations, and image Content Credentials (C2PA) as separate records, each with its reasons and limits. It does not assign an "AI percentage". Text origin uses a Binoculars-style score from pinned Qwen2.5-0.5B base and Instruct models on a local GPU, and the browser interface binds only to 127.0.0.1.

On a frozen held-out subset of RAID (3,361 texts in 675 source groups), clean-text AUROC was 0.80358 (grouped 95% interval 0.776–0.829). At the development-selected threshold, it flagged 66.37% of machine texts with a 4.59% false-positive rate; homoglyph edits cut detection to 8.59%. The subset comes from RAID's train.csv, not the official test set. In a fresh clone, a read-only verifier reproduced the saved metrics and 752 model-free tests passed; GPU tests were not part of that check. Dependency advisories in the model stack are unresolved, so the release is not security-cleared.

Repository · Interface screenshot · Held-out results · Full metrics · Security status

PJM Energy Demand Forecasting

Built a checksum-pinned EIA-930 backtest. A frozen ridge model reduced MAE by 25.3% against a 168-hour weekly baseline on 1,389 comparable hours in November–December 2024. The weekly baseline won on the October tuning block and on the ridge model's worst day, December 25.

Repository · Results and reproduction commands · December 25 failure-case chart

Smart Grid Sensor Anomaly Detection

Built a reproducible voltage replay comparing fixed limits with a causal rolling median/MAD detector. On one held-out synthetic fixture, fixed limits detected 6 of 6 faults with 5 unmatched alerts. Rolling MAD detected 5 of 6 with 4 unmatched alerts and missed a sustained voltage shift.

Repository and demo · Held-out report · Replay chart · Passing CI run

Model Regression Detection System

Built a CI gate that compares a candidate retrieval run with a pinned baseline using paired BM25 Recall@3 and exact arithmetic. The gate checks that the reports are comparable before applying the regression threshold.

In the hosted synthetic demo, a drop of exactly 0.05 passed, a drop of 0.10 failed, and a missing query made the comparison invalid.

Repository · Hosted demo · Passing boundary run

Privacy-Preserving AI Sanitizer

Built a Python sanitizer that validates and redacts supported personal-information spans before a mock provider call. The demo compares a regex baseline with Presidio under the same narrow entity rules.

On the synthetic held-out fixture, the baseline fully covered 28/28 gold spans and Presidio covered 27/28. The fixture covers three entity types under explicit format limits.

Repository · Demo walkthrough · Held-out results

Fraud Detection API & Risk Dashboard

Built a local FastAPI fraud-scoring API and Streamlit dashboard with a chronological train, validation, and test split. The dashboard demo runs on a synthetic fixture.

On 56,962 held-out transactions with 75 labeled frauds, logistic regression scored 0.6964 average precision versus 0.0013 for a constant-score baseline. At the validation-selected threshold, the model flagged 80 transactions, including 54 labeled frauds. These are batch evaluation results.

Repository · Local demo · Held-out results

Financial Report Analyst Agent

Built a filing analyst that answers supported questions from one Microsoft FY2024 10-K with source-linked facts, deterministic calculations, and validated citations. Unsupported questions return an explicit unresolved result.

The frozen 40-case evaluation recorded 16/16 correct values, 8/8 correct calculations, 40/40 citation-valid cases, and 24/24 appropriate non-answers.

Repository · Demo · Frozen evaluation

God's Eye View — 3D Geospatial Intelligence

Built an interactive Three.js globe and table for exploring historical earthquake records and descriptive DBSCAN groupings. The reproducible Python analysis uses one frozen 623-record USGS snapshot. The public demo uses synthetic points.

Repository · Public synthetic demo · Data and analysis contract · Passing CI run

Voice-Enabled Multimodal Operations Agent

Built a local dashboard-triage prototype that uses Whisper to transcribe audio, Granite Vision to extract dashboard readings, and deterministic checks to answer questions about one supported metric at a time.

The recorded synthetic benchmark completed 12/12 typed and text-to-speech calls with schema-valid output. The current snapshot passed 98 tests. The recorded model benchmark used an earlier adapter revision.

Repository · Local demo · Recorded benchmark

Relay

Built a local visual editor for a bounded four-node workflow (Input → Prompt Template → Model → Output). Relay supports a deterministic stub, opt-in local Ollama inference, JSON export, CLI replay, and execution traces.

The stub and local Ollama model each classified 16 of 24 cases correctly on the frozen synthetic held-out evaluation.

Repository · Demo preview · Frozen evaluation · Passing CI run

RAG Evaluation Arena

Built a paired evaluation of two answer policies over the same ordered retrieval results. The report shows whether each answer was correct, whether its citations supported it, and whether it abstained when evidence was insufficient.

On 12 synthetic held-out cases with a local Qwen model, the evidence-required policy passed 11/12 cases and the baseline passed 10/12. One quotation-format difference accounts for the gap. Both policies missed the same conflicting-evidence case.

Repository · Recorded demo report · Evaluation summary

Multimodal AI Model from Scratch

Trained a 14,180-parameter CPU model to answer color questions about synthetic images. The evaluation compares image-and-text input with image-only and question-only models and tests what happens when either input changes.

On the frozen synthetic test set, the fused model answered 714/720 questions correctly. The stronger unimodal baseline answered 359/720 correctly. All splits used the same palette and rendering rules.

Repository · Paired demo examples · Evaluation report

Smart Grid Monitoring & Forecasting

Built an offline replay for one simulated feeder. The operator report traces one-hour-ahead load forecasts to the readings available at issue time and shows telemetry gaps and voltage alerts through recovery.

On 46 common held-out targets, daily seasonal naïve forecasting had a mean absolute error of 10.13 kW, compared with 23.10 kW for persistence. The replay detected two of three labeled voltage events and produced one unmatched alert on the synthetic fixture.

Repository · Saved operator report · Metrics

Self-Learning AI Agent with Persistent Memory

Built a local Python assistant that applies explicitly approved formatting preferences across process restarts. SQLite stores one active value per profile and preference, with commands to inspect, correct, and forget it.

All 24 frozen synthetic lifecycle actions passed. On eight eligible responses, memory-on applied the expected preference in 8/8 cases and memory-off in 1/8.

Repository · Demo · Evaluation results

Secure Autonomous Code Review Platform

Built a read-only Python CLI that compares two Git commits and produces advisory AST findings tied to changed lines. Reports identify the reviewed commit, source location, rule, remediation, and analysis coverage.

On the frozen synthetic holdout, the changed-line mode found 4 of 5 expected findings. It omitted three unchanged findings that appeared in the full-file comparison. The report also records one parse error and three skipped files.

Repository · Demo report · Held-out metrics

Brain Tumor MRI Classification — Retrospective Benchmark

Built a retrospective comparison of a compact CNN and a training-majority baseline on three labeled brain tumor categories in contrast-enhanced T1 MRI. The benchmark partitions the dataset by recorded patient ID and scores one prediction per patient.

On the frozen internal test split of 46 recorded patients, the CNN scored 68.98% balanced accuracy, compared with 33.33% for the baseline. The result applies to this retrospective dataset and split.

Repository · Synthetic demo · Aggregate results

Popular repositories Loading

  1. myrepo myrepo Public

  2. AI-Generated-Content-Detection-and-Authenticity-Analyzer AI-Generated-Content-Detection-and-Authenticity-Analyzer Public

    Local evidence workbench for text-origin signals, writing observations and image Content Credentials (C2PA). Frozen held-out RAID evaluation with intervals and limits; not security-cleared.

    Python

  3. Retrieval-Evaluation-Harness Retrieval-Evaluation-Harness Public

    Reproducible BM25 vs. semantic search evaluation with Recall@k/MRR metrics, CPU latency measurements, and a local interactive results viewer.

    Python

  4. Autonomous-Coding-Agent-with-MCP-and-Multi-Agent-Collaboration Autonomous-Coding-Agent-with-MCP-and-Multi-Agent-Collaboration Public

    Deterministic multi-agent coding workflow with approval gates, persistent advisory memory, SQLite execution traces, and read-only MCP integration.

    Python

  5. 3D-Multi-Agent-Swarm-Command-Centre 3D-Multi-Agent-Swarm-Command-Centre Public

    Interactive 2D/3D visualizer for deterministic multi-agent execution traces, agent handoffs, event replay, and failure inspection.

    TypeScript

  6. Model-Regression-Detection-System Model-Regression-Detection-System Public

    Reproducible CI gate for retrieval quality regressions using BM25 Recall@3, exact arithmetic, pinned baselines, and synthetic evaluation fixtures.

    Python