Computer Science · University of Ottawa · 3.7 GPA

Benjamin
Farsijani

Building systems across real-time ML infrastructure, embedded IoT, and threat network analytics.

Benjamin Farsijani
scroll
01Projects
SageProduction

Production-grade agentic RAG system that ingests large-scale networking documentation and answers natural-language queries over complex technical content.

  • Hybrid retrieval combining dense semantic search (pgvector + text-embedding-3-large) with BM25 sparse retrieval, merged via reciprocal rank fusion; sub-100ms p95 latency over 100k+ embedded chunks
  • Multi-step agentic loop with tool use that dynamically re-queries and synthesizes across document chunks before generating a final grounded answer
  • Fully containerized ingestion and query pipelines in Docker
PythonLangChainpgvectorClaude APIPostgreSQLDocker
GitHub
Celsius1st Place · $500 Prize

Deployed IoT environmental monitoring system for early childcare at the University of Ottawa.

  • Wall-mounted ESP32 integrating BME680 (temp, humidity, VOC) and MAX9814 (sound) over I2C; lithium-battery-powered with persistent WiFi streaming
  • React Native mobile app for caregivers to monitor real-time and historical classroom readings from any device
  • ML anomaly-detection layer flagging air-quality dips, noise spikes, and temperature excursions with real-time alerts
C / C++ESP32React NativeBME680I2CML
GitHub
BennyProduction

End-to-end algorithmic crypto trading system ingesting live market data across 6 assets, validated via 5-fold walk-forward cross-validation against a buy-and-hold baseline.

  • 50+ engineered features: GARCH(1,1) volatility, Parkinson range estimator, VWAP deviation, OBV, ADX, Stochastic RSI, and multi-timeframe log returns with strict zero-lookahead construction
  • Probability-gated risk layer: long if p > 0.65, exit if p < 0.35; 3% take-profit / 1.5% stop-loss; 0.1% fee modeling; per-symbol sizing across a $6,000 paper portfolio
  • Live containerized dashboard (Flask, Chart.js, Docker, PostgreSQL) tracking equity curve, per-symbol P&L, and trade history against live Binance feeds
PythonXGBoostPostgreSQLDockerFlaskCCXT
Private
Thermal MPCResearch

Stochastic simulation and Model Predictive Control for steam-assisted heavy oil recovery, targeting a 5-10% reduction in steam-to-oil ratio vs. heuristic baselines.

  • Stochastic environment modeling delayed nonlinear dynamics: steam injection to reservoir temperature to production output; 100k+ synthetic multivariate time-series observations
  • Constrained MPC with a learned PyTorch state-space model solved in CasADi, optimizing steam injection policies under physical constraints
PythonPyTorchCasADiMPCNumPyStochastic Control
GitHub
AzadiIntel Platform

Palantir Gotham-style threat network intelligence dashboard analyzing actor dynamics during the Iranian Revolution (1979-1981) via GDELT event data.

  • Ingested GDELT 1.0 bulk data into a directed weighted NetworkX graph; nodes typed by CAMEO actor codes across Government, Military, Religious, and Opposition factions
  • Louvain community detection (20 communities, modularity 0.10); PageRank + HITS composite influence scoring
  • Daily z-score anomaly detection surfacing 15 event spikes including the Nov. 4, 1979 US Embassy hostage crisis; interactive Dash + Cytoscape dashboard
PythonNetworkXGDELTDashSQLiteGraph Analytics
Private
Neural Network from Scratch

Feedforward neural network built from scratch using only NumPy. No ML frameworks.

PythonNumPyBackprop
GitHub
Transformer from Scratch

Full transformer architecture in pure Python. Attention, positional encoding, multi-head, no frameworks.

PythonAttentionNLP
GitHub
TCP Load Balancer

Layer-4 TCP proxy in Go using raw Linux epoll. Sustains 50k concurrent connections with round-robin and least-connections scheduling.

GoLinuxepollTCP
GitHub
Ingestion Engine

Concurrent ingestion service sustaining 20k req/s. Worker pools, connection pooling, p95 latency cut 35% via pprof profiling.

GoPostgreSQLpprof
GitHub
02Technical Stack
Languages
Python
C / C++
TypeScript / JS
Go
Rust
SQL / Bash
ML & Modeling
PyTorch
XGBoost / scikit-learn
Time-series / Anomaly Det.
Model Predictive Control
Monte Carlo Methods
Embedded & Hardware
ESP32 Firmware
I2C / SPI / UART
Sensor Integration
Hardware Bring-up
3D Printing / Design
Infrastructure & Systems
Docker
PostgreSQL / SQLite
Linux / POSIX
Multithreading / Low-lat I/O
Flask / React Native
03Experience & Education
Field Technician
TPH Plumbing & Heating

Worked on large commercial job sites (crews of 10+, buildings up to 14 stories) alongside licensed plumbers and gas technicians: cut, threaded, soldered, and fit pipe, coordinating daily with electricians, HVAC, and general contractors to keep multi-trade work on schedule.

Aug 2025 · Feb 2026
Ottawa, ON
Competitive Soccer Coach
Ottawa South United

Coached 500+ youth athletes across competitive recreational programs. Designed training sessions, managed player development pipelines, and coordinated directly with parents and club staff across five seasons.

Mar 2019 · July 2025
Ottawa, ON
Founder, Benny Blends
Independent · Mobile Barbershop

Built and operated a barbershop out of a home studio while in school full-time. Cut thousands of clients, generated $25,000+ cumulative revenue, and managed all scheduling, client relations, and marketing independently.

2018 · Present
Ottawa, ON
University of Ottawa
Honours B.Sc., Computer Science
GPA 3.7 / 4.0
Sep 2023 · May 2028
04Contact

Let's connect.

Open to internships, research collaborations, and interesting problems.