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
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.
The engine
Linear algebra and stats are what make the models in my projects work.
The obsession
Late drives, nice interiors, fast imports. It's why I built a depreciation model.
The puzzle
Money and stocks are just data with consequences. So I built a stock grader.
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.
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.
- 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.
Every public stock gets a report card.
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.
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.
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.