G · TRUONG
Math · University of Waterloo

Gregory
Truong

I turn messy data into tools people can use. Take the late drive through what I've built.

Resume (PDF)ProjectsLive demoContact

Incoming QA Analyst co-op at the Ontario Public Service, January to August 2027

Parked in a Saigon plaza. Start the engine to drive.Or scroll to drive
Exit 1About GregGiới thiệu

Hey, I'm Greg.

I study Honours Mathematics in the co-op program at the University of Waterloo. I like problems where the answer is hiding in a pile of numbers, and I like building the thing that pulls it out.

From January to August 2027 I'm a Quality Assurance Analyst co-op with GovTechON at the Ontario Public Service, in the I&IT Enterprise Solutions Division in Toronto.

Exit 2What drives meĐộng lực
Math

The engine

Linear algebra and stats are what make the models in my projects work.

Cars

The obsession

Late drives, nice interiors, fast imports. It's why I built a depreciation model.

Markets

The puzzle

Money and stocks are just data with consequences. So I built a stock grader.

Music

The soundtrack

Always on while I code. Turn the sound on up top to hear this drive's.

Off the clock: sports, fashion and gaming.

Exit 3Car Depreciation AnalyzerÔ tô
Project · Machine learningPython · pandas · scikit-learn · matplotlib · pytest

When should you actually buy that car?

An end-to-end pipeline that ingests, cleans and merges used-car listings from two sources, then trains a gradient boosting model with monotonic constraints on age and mileage.

16,000+listings merged and cleaned
5.6%median error on price
R² 0.93on 3,294 held-out cars
~½yearly cost when bought at the best age, for 5 of 6 models
Value lost per year, kept 3 yearsBought new Bought at the sweet spot
  • Toyota Camry best at 2 yrs 47% less$4,375 to $2,309/yr
  • Honda CR-V best at 6 yrs 25% less$2,401 to $1,799/yr
  • Ford F-150 best at 3 yrs 50% less$6,967 to $3,452/yr
  • Jeep Wrangler best at 1 yr 63% less$7,964 to $2,909/yr
  • Tesla Model Y best at 4 yrs 54% less$7,108 to $3,298/yr
  • Ford Mustang Mach-E best at 3 yrs 48% less$5,715 to $2,985/yr

From my model's findings report on 16,469 real listings. Dollar figures are the average value lost per year.

Exit 4Stock Report CardChứng khoán
Project · Finance dashboardPython · pandas · NumPy · Streamlit · Plotly · yfinance

Every public stock gets a report card.

ABCDF

A Streamlit dashboard that grades any ticker on growth, profitability, valuation and risk by scoring 10 financial metrics against S&P 500 benchmarks, then explains the grade in plain English.

Why I built it: I wanted to open a TFSA and stop letting my money sit in a savings account and not grow. Before I put real money in, I wanted a quick way to tell a solid company from a risky one.

10metrics scored per stock
5 yrsof daily prices for volatility, drawdown and beta
$10Kgrowth comparisons across stocks vs. the market
Stock Report Card grading Aritzia (ATZ.TO): overall B, growth A, profitability B, valuation C

Screenshot of the live app grading Aritzia. The real app can take up to 30 seconds to wake up.

Exit 5Under the hoodToán học
How this site works

The math behind the drive

There's no 3D engine here. Every frame is drawn flat on a canvas from five equations.

Perspective
x′ = W/2 + f (x − c) / z
Divide every point by its distance z. Far things shrink toward the horizon. That one division is the whole 3D effect.
Curves
Δx(z) = 0.0022 κ z2
A circle of radius R drifts sideways by about z2/2R (a second-order Taylor expansion). Shift each slice of road by κz2 and it bends.
Steering
κ(s) = 0.9 sin(s/110) + 0.25 sin(φ2s/110)
Two waves whose frequencies differ by a factor of φ2, the golden ratio squared. That ratio is irrational, so the road is quasi-periodic: the same stretch never comes back twice.
Towers
hn = 14 + 81 {nφ}
Street-side tower heights are the fractional parts of nφ (on a phone the 81 shrinks to 46). By Weyl's equidistribution theorem they spread evenly between short and tall, with no clumps of identical towers.
Fog
α(z) = min(1, 1.12 (z/280)0.65)
A power law blends each colour into the smog, so the city fades out slowly instead of hitting a wall.
Exit 6ToolkitCông cụ
Languages
PythonSQLTypeScriptJavaScriptJavaCC++HTML/CSS
Frameworks & libraries
ReactNode.js.NETpandasNumPyscikit-learnPlotlyStreamlit
Cloud & data
AWSAzureDockerPower AutomatePower AppsExcel
Tools
GitGitHubpytestClaude API
DestinationLet's talkĐiểm đến

You've arrived.

Want to talk cars, markets, math or what I'm building next? Reach out.

Done reading? The road is yours. Weave through traffic and dodge the oncoming cars.

Coming soon: a logbook (blog) with notes from co-op and new builds.

  1. Start
  2. About
  3. What drives me
  4. Car project
  5. Stock project
  6. Under the hood
  7. Toolkit
  8. Destination

Ambient Trim
RouteNext · About