← Desmond Brown, Work

← Selected work

GRADIA lab platform

Full Stack Engineer

The laboratory ERP, grading tools and imaging pipelines used every day by scientists and grading staff at a Hong Kong diamond lab grading 500+ stones a month, with each grading report minted as a verifiable NFT.

WhenOct 2020 – Sep 2022
StackPython, Django, React, LaTeX reports, Image processing, Solidity, Ethereum
500+stones graded a month
45 simaging per stone, from 3 min
70+reports issued on-chain

GRADIA is a Hong Kong laboratory that describes itself as the world's first grading lab for small diamonds. For two years I built the software the lab ran on: the records system, the grading workflow, report generation and the automation around it, in English and Chinese. The users were scientists and grading staff who used the tools every day, which is a demanding kind of customer. A slow screen or an ambiguous state costs real time on real stones.

The ERP

The core is a Django and React platform for lab records, grading, and PDF reports generated from LaTeX by background workers. The grading workflow moves a stone through intake, measurement, grading and reporting, and the system makes each step explicit and reviewable so a report can be traced back to the observations behind it. I was the top individual contributor to the codebase across those two years.

Imaging

Every stone is photographed with macro and nano imagery, and the manual crop-and-clean step was the slowest part of the process at about three minutes per stone. I built image-processing pipelines that detect and crop the stone automatically, bringing that step to roughly forty-five seconds and removing a manual task from grading and report generation entirely.

Verifiable reports

Customers want to know a grading report is genuine. I built the customer-facing verification app and the Solidity contracts that mint each grading report as an NFT on Ethereum, so provenance can be checked publicly without trusting a PDF. More than seventy reports were issued on-chain.