Industries / Food, farming and forestry / Food and beverage processing / Coffee roasting
Sourcing and grading beans
Buying green (unroasted) coffee from exporters and importers, and judging each lot by its defects, size and moisture before it is paid for and roasted.
6
Milestones achieved, from 1882 to 2005.
2
To watch for: announced, not yet confirmed outside.
2
Open deliverables. Nobody has shipped them.
The road
AchievedWatch forOpen
Achieved
1882
Defects counted as black beans
The New York Coffee Exchange was incorporated in 1881 and began trading in 1882; its charter included the duty "to adopt standards of classification". By William Ukers's 1922 account, the exchange graded coffee by counting the imperfections in a one-pound sample and converting each into "black bean" equivalents: three shells, five immature beans ("quakers") or five broken beans counted as one black bean. A sample with none was Type No. 1, six made it No. 2, and more than 110 made it No. 7 or No. 8; No. 7 was the basis for all exchange prices. In 1912, after talks with the US Board of Food and Drug Inspection, the exchange stopped dealing in grades below No. 8.
Credit
Coffee Exchange of the City of New York; described by William H. Ukers
1988
A label for fair trade
The Max Havelaar Foundation was set up in the Netherlands in May 1988, prompted by contacts between the Dutch development organization Solidaridad and UCIRI, a coffee cooperative in Mexico. It wrote trade criteria that any trader or roaster could sign up to, checked the farmers' organizations, and on 15 November 1988 the first coffee under its label reached Dutch supermarkets, the first fair trade product sold there, by the account of the Canon of the Netherlands.
Credit
Stichting Max Havelaar; Solidaridad; UCIRI
1989
Export quotas end
The first International Coffee Agreement entered into force in 1962. Under it, producing countries held back coffee beyond what consumers needed through export quotas; by Daily Coffee News's history from ICO data, the quotas collapsed in 1973, returned in 1980 and ended with the agreement's collapse in 1989. Mitsuru Igami's 2015 study estimates that the agreement raised coffee prices about 75% above a competitive level, moving about US$12 billion a year from consumers to exporting countries, and that its lapse in 1989 explains four-fifths of the price fall that followed, known as the "coffee crisis". The ICO's composite price went from US$1.34 a pound in 1989 to an average of US$0.77 through 1995, by Daily Coffee News's reading of ICO figures.
LessonPrices held up by export quotas fell as soon as the members stopped agreeing on the quotas.
Credit
members of the International Coffee Organization; analysis by Mitsuru Igami
1999
Auctions that name the farm
Cup of Excellence began in Brazil in 1999 as a competition in which juries cup lots from named farms and the winners are sold to the highest bidder online, which the program calls the very first online auction platform for coffee. Its first funding came from the Common Fund for Commodities and the International Coffee Organization, among others, and by its own count 17 countries have since taken part.
Credit
Marcelo Vieira (Brazil Specialty Coffee Association), Silvio Leite, Susie Spindler, Hidetaka Hayashi, George Howell and Don Holly (Specialty Coffee Association of America)
2004
Specialty grade in 350 grams
The Specialty Coffee Association of America (SCAA) published its Arabica Green Coffee Defect Handbook in 2004. In the method it describes, a grader picks through 350 g of green coffee and sorts defects into category 1 (primary) and category 2 (secondary); a specialty-grade lot has no category 1 defects and no more than five category 2 defects, with moisture between 10% and 12%, as the software firm Cropster summarizes it. The weights echo the exchange's black-bean scale, and in 2025 William Ristenpart of the UC Davis Coffee Center asked "why are five chipped beans judged to be equivalent to one fully black bean?" as the Coffee Science Foundation started studies at UC Davis and the Zurich University of Applied Sciences (ZHAW) to test the weights in the cup.
LessonDefect weights in use for more than a century were set in ways researchers now say are little understood, and tests of them in the cup began only in 2025.
Credit
SCAA
2005
A cap on mold toxin
Ochratoxin A (OTA) is a toxin made by some molds. Citing coffee as a significant source of people's exposure, the European Commission capped OTA at 5 µg/kg in roasted coffee and 10 µg/kg in soluble (instant) coffee from 1 April 2005, and left a limit for green coffee for later review. From 1 January 2023 Regulation (EU) 2022/1370 lowered the caps to 3.0 µg/kg and 5.0 µg/kg, and Regulation (EU) 2023/915, which now holds the EU's contaminant limits, keeps those two and sets none for green coffee.
Credit
European Commission
Watch for
Plot maps for every lot
Under Regulation (EU) 2023/1115, coffee sold in or exported from the EU must be deforestation-free, meaning grown on land not deforested after 31 December 2020, and suppliers must give importers the geolocation of the plots where it was grown. The rules were to apply from 30 December 2024, were postponed to 30 December 2025 by Regulation (EU) 2024/3234, and now apply from 30 December 2026 for large and medium companies and 30 June 2027 for micro and small ones. A delegated act adopted in July 2026 adds soluble coffee from 30 December 2027.
Achieved whenthe rules apply and national authorities publish their first checks of coffee importers' due diligence statements.
eur-lex.europa.eueur-lex.europa.euagrinfo.eusupplychaincompliance.bakermckenzie.com
Claimed by
the European Union; dates as reported by AGRINFO, revised September 2026, and Baker McKenzie, July 2026
Sorting green coffee by flavor
Demetria, a coffee analysis company, showed its Aroma sorter at World of Coffee San Diego in April 2026. Built with the optical sorter maker 3U Vision, it uses Demetria's near-infrared sensor, which reads how beans reflect light just beyond the visible range, and AI software to sort green coffee at high volume not only by defects but by sensory attributes, caffeine and moisture.
Achieved whenan outside cupping panel blind-scores the fractions the machine separates from the same lots and publishes whether they differ in the way the sorter predicted.
Claimed by
Demetria, April 2026
Open
01
Phone grading against graders
A public test of phone apps that count green coffee defects from a photo. Collect 60 green samples of 350 g from at least three origins; have three licensed graders count each by the SCA method; photograph every sample on both sides; then run each available app and one open detection model on the photos, and publish the counts, the grade each gives (specialty or not) and the photos.
The briefCredit · unclaimed02
Both sides in fifteen minutes
A bench machine that spreads a 350 g sample, photographs every bean from above and below, and reports the SCA defect count in less time than a person takes by hand.
The briefCredit · unclaimed
Open 01 · the brief
Phone grading against graders
The first to publish is credited on this line, and the deliverable moves from Open to Achieved.
What to build
A public test of phone apps that count green coffee defects from a photo. Collect 60 green samples of 350 g from at least three origins; have three licensed graders count each by the SCA method; photograph every sample on both sides; then run each available app and one open detection model on the photos, and publish the counts, the grade each gives (specialty or not) and the photos.
Why it is still open
Apps now claim to do the grader's count. BeanGrader's App Store listing says manual grading takes 15 minutes or more and its app "does it in seconds", gives no accuracy figures and says it is "not a replacement for certified Q Graders". Roastpic, launched in 2024 by UC Davis scientists with the Probat subsidiary Fabscale, gives a defect count from one photo of a sample on a printed sheet; no published comparison with graders was found. Open image sets such as USK-Coffee (8,000 single-bean images in four classes) label beans, not whole 350 g samples with graders' counts, and searches in November 2026 found no head-to-head test.
Built with what exists
A phone camera, a color reference card, Label Studio for marking beans, and an open detection model such as Ultralytics YOLOv8, fine-tuned on the labeled photos.
First step
Ask one green coffee importer for 20 offer samples it has already graded, and photograph them on both sides before they are roasted.
Done looks like
60 samples, each with three graders' counts, published; for each app, the share of samples whose full-defect count falls within 2 of the graders' median and whose specialty-or-not call matches the graders'.
Open 02 · the brief
Both sides in fifteen minutes
The first to publish is credited on this line, and the deliverable moves from Open to Achieved.
What to build
A bench machine that spreads a 350 g sample, photographs every bean from above and below, and reports the SCA defect count in less time than a person takes by hand.
Why it is still open
A team at Tecnológico Nacional de México in Orizaba built a prototype that flips beans between two cameras; it found that seeing both sides improved defect detection by 25.7%, but it took about 38 to 40 minutes to process one 350 g sample, as Daily Coffee News reported in October 2026. Graders take about 15 to 20 minutes by hand, by the estimates of Roastpic's William Ristenpart and BeanGrader's listing. Avercasso's CS One, a desktop AI sorter launched in 2024, photographs each bean with a pair of 4K cameras, sorts up to 5 kg of green coffee an hour by the SCA's defect categories and reports the share of beans it removed; that is a sorter's tally, not a grader's count of a sample, and Daily Coffee News's launch report gives no accuracy figures. Searches in November 2026 found no machine that reports the SCA defect count for a 350 g sample faster than a person and has been checked against graders.
Built with what exists
A vibrating feeder or a glass tray, two Raspberry Pi High Quality cameras (one above, one below) with LED panels, and a YOLOv8 model trained on images of both sides of each bean.
First step
Build a glass-tray rig with one camera above and one below, and time it on five graded samples.
Done looks like
On 30 samples already counted by three graders, the machine finishes each in under 15 minutes and its full-defect count is within 2 of the graders' median on at least 80% of them, with the timings and counts published.