Projects

Open-source software, mathematical research, modelling and computational projects.

Open-source Software

Open source · MIT

Silk Math Preview

A mathematics toolkit for Visual Studio Code

Write mathematics with live formula previews, completion and local image OCR, directly inside your editor.

TypeScript · MathJax · WebAssembly

Features & implementation

I develop and maintain Silk Math Preview, an open-source TypeScript extension published on the Visual Studio Marketplace. It provides live MathJax previews in TeX, Markdown, MDX, Quarto and Jupyter notebooks, with workspace macro support, formula completion and local screenshot/image OCR. Optional TikZ and pgfplots previews use a local WebAssembly renderer downloaded on first use. Development includes incremental formula scanning, caching, asynchronous rendering, cross-platform packaging and regression fixes.

  • Custom macros across TeX, Markdown and Jupyter notebooks.
  • Optional local WebAssembly rendering for TikZ and pgfplots.
  • Incremental scanning, caching and asynchronous previews.
Open source · MIT

PhD Atlas

A self-hosted workspace for PhD applications

Keep programmes, supervisors, documents, correspondence and deadlines together, with your data on infrastructure you control.

React · TypeScript · Node.js · SQLite

Features & implementation

I develop PhD Atlas, an open-source workspace for managing the PhD application process. The public edition is designed for personal use and brings application records, reusable profile materials, funding and correspondence into one place. It supports self-hosted web deployment and desktop packages.

  • Application lists and Kanban views, material checklists and deadline tracking.
  • Document version history, reusable profiles, exports and backups.
  • SQLite by default, with optional MySQL/MariaDB, PostgreSQL and SQL Server storage.

Research & Other Projects

Approximation by Rationals

2025–2026

Year 4 Group Project · University of Edinburgh (Supervisor: Professor Jim Wright)

This is my final-year pure mathematics project on Diophantine approximation. The project is centred on the question of how well real numbers can be approximated by rationals, and develops a structured account of continued fractions, Liouville's theorem, Thue's theorem, and their connections with Pell equations, binary homogeneous polynomials, and Dirichlet's Unit Theorem. The project strengthened my ability to organise mathematical literature, write rigorous proofs, and build a coherent logical narrative across number theory and algebra. It also motivates my current interest in transferring proof-based mathematical training toward formalised mathematics, theorem proving, proof assistants, and mechanised reasoning.

Pure MathematicsNumber TheoryDiophantine ApproximationContinued FractionsLiouville's TheoremThue's TheoremPell EquationsAlgebraProof WritingFormal Reasoning

Constraint Programming for Mathematics Timetabling

2026

TAOR Final Project · University of Edinburgh · Team Leader

This project investigates the timetable feasibility of a proposed redesign of the honours Mathematics curriculum at the University of Edinburgh. Using Google OR-Tools, I helped develop a large-scale CP-SAT model that captures course scheduling, student choice structures, fixed outside-school timetables for joint-degree students, student-level clash feasibility, and timetable-quality rules. A key modelling idea is student-type aggregation: instead of modelling every student individually, students with the same programme structure and external timetable are grouped together to reduce model size while preserving the essential combinatorial structure of the problem. While the project is applied in setting, it strengthened my interest in formal modelling, computational guarantees, and the gap between practical constraint systems and rigorous correctness or verification questions.

Formal ModellingConstraint ProgrammingCP-SATOR-ToolsCombinatorial StructureSchedulingComputational ReasoningVerification-Motivated ModellingTeam Leadership

Random-Walk-Based Graph Neural Networks

Summer 2025

Vacation Research Project

This summer research project focuses on expressivity in graph neural networks. Starting from limitations of standard message-passing GNNs such as oversmoothing and oversquashing, the project explores whether random-walk-based approaches can provide richer representations and more flexible graph modelling. My work included reviewing standard GNN architectures, studying existing random-walk-based methods, and investigating theoretically motivated random-walk schemes, with possible extensions to hypergraphs. This project connected graph theory with representation learning and computational experimentation, and informs my interest in geometric deep learning and network methods.

Graph TheoryGraph Neural NetworksRandom WalksRepresentation LearningExpressivityHypergraphsTheoretical MLSummer Research

Quantitative Modelling of Winter Peak Electricity Demand in Great Britain

Apr–May 2025

Statistical Modelling Project · Team Leader

In this project, I led a team in building a statistical model for winter peak electricity demand in Great Britain using historical data from 1991 to 2014. The model uses a multi-factor linear regression framework that incorporates renewable generation, seasonal effects, and weekday structure. I also built an automated model-selection workflow based on five-fold cross-validation together with AIC/BIC comparisons. The project developed my experience in reproducible modelling, statistical validation, and communicating quantitative results.

Statistical ModellingRegressionForecastingEnergy SystemsCross-ValidationAIC/BICData AnalysisTeam Leadership

BoxCar Ride-Sharing Simulation Study

Feb 2026

Data-Driven Discrete-Event Simulation Project · Team Leader

This project studies the operational performance of a ride-sharing system through a data-driven discrete-event simulation. Together with a teammate, I built a model that captures rider arrivals, driver availability, distance-based matching, trip execution, cancellations, revenue, and costs. We examined whether the project parameters were statistically consistent with observed data, re-estimated key parameters using maximum likelihood methods, and analysed trade-offs between service quality, driver earnings, profitability, and system balance.

SimulationDiscrete-Event SimulationRide-SharingData-Driven ModellingMaximum Likelihood EstimationService OperationsScenario AnalysisTeam Leadership

Strategic Workforce Allocation Optimisation

Apr 2025

Optimisation Modelling Project · Team Leader

This project considers a multi-project workforce allocation problem for a consulting firm. I used Xpress to formulate and solve a linear/integer optimisation model across projects, locations, and consultant levels, while respecting role restrictions, travel costs, bench policies, remote-work limits, outsourcing options, and disruption scenarios. The project developed my experience in mathematical programming, scenario analysis and structured computational experimentation.

OptimisationMathematical ProgrammingMILPXpressWorkforce PlanningResource AllocationScenario AnalysisFormal ModellingTeam Leadership

Multi-Stage Laptop Manufacturing System Simulation Study

Apr 2026

Manufacturing System Simulation Project · Team Leader

This project develops a Simul8 discrete-event simulation of a multi-stage laptop manufacturing system. We carried out input analysis on interarrival times and processing-time datasets, using AIC, BIC, KS testing, and maximum likelihood estimation to select probability models. The simulation incorporated blocking, rework, inventory control, component matching, and order-level synchronisation. The project developed my skills in input modelling, system diagnosis, experimental simulation, and operational interpretation.

SimulationDiscrete-Event SimulationSimul8Manufacturing SystemsInput ModellingBottleneck AnalysisAIC/BICMLETeam Leadership