KPKeylor Pineda

Software developer · San José, Costa Rica

I build products end to end: the database, the API, the interface, and the machine learning that makes them useful.

Drawn by
Keylor Pineda
Role
Software developer
Based in
Costa Rica
Scale
1 : 1
Sheet
01 / 04
Rev.
Nov 19, 2026
Now building HealthyCropping
Sheet 02.1Android app with on-device machine learningLast commit Nov 17, 2026 · 251 commits

An offline-first Android app that detects coffee, cacao and banana diseases from a phone photo, built for farms in Costa Rica where the signal drops.

Type
Android app with on-device machine learning
Status
In development
Built with
React Native · Expo · TypeScript · TensorFlow Lite · Python · FastAPI · Firebase · SQLite · Gemini
One model per crop, measured on the phoneOne model per crop, measured on the phone
Field photos for each classField photos for each class
Grad-CAM on held-out photosGrad-CAM on held-out photos
View code
  1. Fig. 02.1a

    Diagnosis without signal

    Each crop has its own MobileNetV3 model running on the phone with TensorFlow Lite. Scans, farms and plots stay in SQLite, so nothing depends on a connection.

  2. Fig. 02.1b

    Trained on real field photos

    Public datasets from coffee, cacao and banana plots, deduplicated by perceptual hash and split by plant so no leaf leaks between training and test.

  3. Fig. 02.1c

    It shows where it looks

    Grad-CAM heatmaps show which part of the leaf drove each prediction, and every experiment, including the failed ones, is documented.

Fig. 02.1d — Exploded view

What sits under the screen

  1. 01

    InterfaceReact Native · Expo

    A photo, a diagnosis, and what to do next. Works with no signal.

  2. 02

    APIFastAPI · Firebase Auth

    When signal comes back, pending scans sync in one request.

  3. 03

    DataSQLite on the phone

    Every scan is saved locally first, with its sync status.

  4. 04

    ModelTensorFlow Lite

    Diagnosis happens on the device, not on a server.

Scroll to take it apart

What it recognizes

Three crops, one model each, twelve classes. Scores are on held-out test photos.

Coffee
Leaf, underside
  • Healthy
  • Leaf rust
  • Leaf miner
  • Cercospora
  • Brown leaf spot
  • Red spider mite
81.1%
accuracy
0.72
macro-F1
Cacao
Pod
  • Healthy
  • Frosty pod rot
  • Black pod
91.7%
accuracy
0.85
macro-F1
Banana
Leaf
  • Healthy
  • Black Sigatoka
  • Fusarium wilt
97.5%
accuracy
0.97
macro-F1

When the model is not sure enough, it asks for a new photo instead of guessing.

Coffee is still under its 0.80 target: two of its classes have about twenty test leaves, so one leaf moves the score by several points. Every run, including the failed ones, is documented.

Measured

0.97
banana test Macro-F1
6 MB
per model, float16
3
crops, one model each
Sheet 02.2Web app for small shopsLast commit Oct 19, 2026 · 264 commits

Small businesses already sell through WhatsApp, one chat at a time. Booth gives each store a single link with its catalog and keeps orders, payments and stock in one place.

Type
Web app for small shops
Status
Live demo
Built with
React · TypeScript · Vite · Tailwind · TanStack Query · NestJS · Prisma · PostgreSQL · Gemini · Playwright · Vercel
Booth storefrontBooth storefront
Order summary before sending it by WhatsAppOrder summary before sending it by WhatsApp
AI receipt verificationAI receipt verification
Open demo
  1. Fig. 02.2a

    One link per store

    Shoppers open the store link, browse the catalog and build a cart. No app to install and no account to create.

  2. Fig. 02.2b

    Orders, not chats

    The cart turns into a clean WhatsApp message, stock is reserved atomically, and the owner moves each order from pending to ready on the dashboard.

  3. Fig. 02.2c

    Receipts checked by AI

    For bank transfers, Gemini reads the receipt and tells the owner whether the amount and recipient match before the payment is confirmed.

Fig. 02.2d — Exploded view

What sits under the screen

  1. 01

    InterfaceReact · Vite · Tailwind

    One link per store: catalog, cart and checkout.

  2. 02

    APINestJS

    The order is created, priced on the server and given a short code.

  3. 03

    DataPostgreSQL · Prisma

    Totals are stored in minor units, with a snapshot of the order.

  4. 04

    ModelGemini

    A receipt photo is read and matched to the order it pays.

Scroll to take it apart

What the store receives

The cart becomes this message, sent from the shopper’s own WhatsApp. Stock is already reserved.

An order’s path
  1. CatalogThe shopper opens the store link. No app, no account.
  2. WhatsAppThe order is saved as pending and this message opens, with a private tracking link.
  3. ReceiptFor a transfer, the shopper uploads the receipt and Gemini checks amount and recipient.
  4. ReadyThe owner moves the order along and the shopper follows it live.
La Esquina Bakery

New order #PAN102 — La Esquina BakeryCustomer: Diego Solís2 × Cinnamon and cardamom roll — CRC 4,2001 × Seeded multigrain bread — CRC 4,200Subtotal: CRC 8,400Total: CRC 8,400Pickup at the storePayment: SINPE MóvilOrder tracking: booth-tawny.vercel.app/t/…

Measured

Multi
tenant, isolated per store
ES · EN
and every currency in minor units
360 px
mobile end to end tests
Sheet 02.3AI search over your own documentsLast commit Oct 23, 2026 · 164 commits

Upload PDFs and notes, ask in English or Spanish, and get answers that cite the exact passages they use. When the documents do not hold the answer, it refuses instead of guessing.

Type
AI search over your own documents
Status
Live demo, benchmarked in CI
Built with
Python · FastAPI · pgvector · SQLAlchemy · Angular · Cohere · Groq · Docker · pytest

Runs on free tiers, so the first question can take about a minute while the server wakes up.

An answer with numbered citationsAn answer with numbered citations
The engine declining to answerThe engine declining to answer
Benchmark resultsBenchmark results
Open demo
  1. Fig. 02.3a

    Answers with receipts

    Every answer cites numbered passages, and citations to passages the model was never given are removed and reported.

  2. Fig. 02.3b

    Hybrid retrieval, then a gate

    pgvector and Postgres full-text search fused with Reciprocal Rank Fusion, an optional Cohere reranker, and a calibrated threshold that stops the model when the evidence is weak.

  3. Fig. 02.3c

    Measured on every pull request

    A benchmark of 82 questions in English and Spanish runs in CI and fails the build if retrieval quality drops.

Fig. 02.3d — Exploded view

What sits under the screen

  1. 01

    InterfaceAngular

    Ask in English or Spanish; every claim links to its passage.

  2. 02

    APIFastAPI

    One endpoint returns the answer, its sources, and whether it refused.

  3. 03

    Datapgvector · SQLAlchemy

    Each chunk keeps a vector for meaning and a tsvector for exact words.

  4. 04

    ModelCohere · Groq

    Search, rerank, check the score, and only then write.

Scroll to take it apart

How much better each piece makes it

Recall@5 on the benchmark: how often the right passage is among the five retrieved.

  1. Local embeddings, dense only0.38
  2. Local, hybrid with full-text0.53
  3. Cohere embeddings, hybrid0.73
  4. Cohere, hybrid and reranked0.88
The gate before the model

How are coroutines declared, and what does await do?

best match 0.71threshold 0.55

Answered, citing PEP 492 [1][2]

What is the capital of Australia?

best match 0.31threshold 0.55

Refused before calling the model

91%
of answerable questions answered
88%
of unanswerable ones refused
10 ms
to search 50,000 chunks, down from 39 s

Measured

0.88
Recall@5 with reranking
88%
unanswerable questions refused
10 ms
search over 50k chunks, down from 39 s
Sheet 03Everything the drawings above are built from.

ItemGroupParts
01Frontend & mobile
  • TypeScript
  • JavaScript
  • React
  • React Native
  • Expo
  • Angular
  • Vite
  • Tailwind CSS
  • TanStack Query
  • Zod
02Backend & data
  • Python
  • Java
  • Node.js
  • NestJS
  • FastAPI
  • Spring Boot
  • GraphQL
  • Prisma
  • SQLAlchemy
  • PostgreSQL
  • SQLite
  • Neon
  • Firebase
03AI & ML
  • TensorFlow
  • Keras
  • NumPy
  • pandas
  • scikit-learn
  • Gemini
  • Cohere
  • Groq
04Cloud & DevOps
  • Oracle Cloud
  • Google Cloud
  • AWS
  • Docker
  • GitHub Actions
  • Vercel
  • Render
  • Cloudinary
  • Linux
05Quality
  • Jest
  • Vitest
  • Playwright
  • pytest
  • Git
  • pnpm

Certifications

Pending revisions

  1. R1
    AWS

    Cloud architecture. I started with generative AI on AWS and I am going deeper into the core services.

  2. R2
    Databricks

    Data engineering at scale: Spark, Delta Lake and the lakehouse model.

  3. R3
    Cybersecurity

    How systems get attacked, from the network to the application, so I can build ones that hold up.

Activity

Contribution calendar for the last yearContribution calendar for the last yearContribution totals and streaksContribution totals and streaks
Sheet 04Last sheet

A project, a role, or a question about something on these sheets. Write me.