# Leonardo Pinheiro

Leonardo Pinheiro is a remote worker on Himalayas, Senior Software Engineer at Varsity Tutors, based in Brazil.

Source: https://himalayas.app/@leonardopinheiro

```text
Senior Software Engineer at Varsity Tutors who built LLM session quality scoring and cut monthly LLM costs from $4,000 to under $1,000.
```

| Detail | Value |
| --- | --- |
| Availability | Looking for a job |
| Location | Brazil |
| Authorized to work in | Brazil |
| Salary expectations | 60k+ USD |
| Job categories | Software Engineer, Full Stack Software Developer |
| Skills | Backend Development, Ruby on Rails, Python, Java, LLM Training Pipelines, LLM Evaluation, Kafka, Event Driven Architecture, Microservices, REST APIs, GraphQL, Third Party Integrations, HL7, DICOM, Spring Boot |
| LinkedIn | https://linkedin.com/in/nascimentoleo |

## About

```text
At Varsity Tutors, I proposed and built session quality analysis from scratch to address tutor-quality complaints. LLM evaluations score sessions and send feedback to tutors, and comparing models helped reduce monthly LLM costs from $4,000 to under $1,000 while improving output quality.

I changed the evaluation data feed from synchronous cron jobs to asynchronous Kafka events. Processing that had taken 15 minutes now takes a few seconds, handling thousands of sessions per hour.

At Everly Health, I built and maintained the Rails service that receives exam results from partner laboratories, along with a diagnostic test marketplace. I also automated results approval so each review takes minutes instead of hours, while physicians continue to approve results individually.

Earlier, I helped build C6 Bank’s asynchronous Java and Kafka transaction pipeline and was responsible for Kubernetes and Terraform on the project. At Grupo Mateus, I led development of an employee scheduling system for 100+ stores and 20,000 employees, reducing schedule creation from 1–2 days to about 15 minutes.
```

## Experience

### Senior Software Engineer

[Varsity Tutors](https://himalayas.app/companies/varsity-tutors). Jun 2025 - Oct 2026

```text
Built LLM features on Rails and Python services, including session quality analysis and face visibility checks. Reduced LLM costs from $4,000 to under $1,000 per month and improved processing times by migrating to Kafka events.
```

Skills: Ruby-on-Rails, Python, LLM, Langfuse, Deep-Seek, Grok, Kafka, AWS, Lambda, React, GraphQL, Go

### Senior Software Engineer

[Everly Health](https://himalayas.app/companies/everly-health). Sep 2021 - May 2025

```text
Built and maintained Rails services for at-home health diagnostics, including lab result integrations, test kit fulfillment, and health plan eligibility. Automated results approval flow, reducing review time from hours to minutes.
```

Skills: Ruby-on-Rails, HL7, Spree, FedEx-API, USPS-Shipping, Retool, Sidekiq, RSpec

### Senior Software Engineer

CERC. Dec 2020 - Aug 2021

```text
Built Spring Boot APIs for credit card receivables registration, handling about 1 million transactions per week. Developed a Python service for collateral management.
```

Skills: Spring-Boot, Python, REST, PostgreSQL

### Senior Software Engineer

C6 Bank. Mar 2019 - Dec 2020

```text
Built an event-driven pipeline with Java (Vert.x) and Kafka to import card transactions, replacing a sync system. Also built integrations for card machine transactions and managed Kubernetes and Terraform.
```

Skills: Java, Vert.X, Kafka, Kubernetes, Terraform, Elasticsearch, Spring-Boot

### Mid Full-stack Software Developer

Grupo Mateus. Jun 2017 - Mar 2019

```text
Led development of an employee scheduling system for 100+ stores and 20,000 employees, reducing scheduling time from 1-2 days to 15 minutes. Built systems for occupational medicine and recruitment using Django, Flask, Vue.js, and React.
```

Skills: Python, Django, Flask, Vue.Js, React, PostgreSQL, MySQL

### Full-stack Software Developer

Codemed. Jan 2014 - Jun 2017

```text
Led clinical system projects for clinics and laboratories, including scheduling, exams, billing, and results. Implemented DataSUS billing integration and lab machine integrations with HL7 and DICOM.
```

Skills: Delphi, HL7, DICOM, Datasus

## Education

### Instituto Federal de Ciência e Tecnologia do Maranhão - IFMA

Bachelor's Degree, Information Systems. 2012 - 2017

```text
Bachelor's Degree in Information Systems from Instituto Federal de Ciência e Tecnologia do Maranhão, completed in 2017.
```

### Instituto Federal de Ciência e Tecnologia do Maranhão - IFMA

Computer Technician, Information Technology. 2009 - 2012

```text
Computer Technician degree in Information Technology from Instituto Federal de Ciência e Tecnologia do Maranhão, completed in 2012.
```

## Tech stack

- Sidekiq
- Kubernetes
- MySQL
- PostgreSQL
- Spree
- Django
- Spring Boot
- Ruby on Rails
- Vert.x
- Terraform
- React
- Vue.js
- Python
- Java
- C++
- Retool
- Kafka
- Flask
- GraphQL
- Elasticsearch
- AWS Lambda
- TypeScript
- RSpec
- Docker
- Langfuse
- DeepSeek
- Grok
- Claude Code
- AWS
- OpenAI
- REST APIs
- Google Cloud

To contact Leonardo, message them from this profile with a Himalayas employer account: [Hire on Himalayas](https://himalayas.app/hire).

## People also viewed

- [Rafael Xavier](https://himalayas.app/@rafaelxavier): Senior Fullstack Software Engineer, Valsoft Corporation
- [Yuri Guimaraes](https://himalayas.app/@flagrare): Software Engineer, eSpark Learning
- [Joao Veloso](https://himalayas.app/@joaoveloso): Integration Engineer, Braintrust
- [David Ferreira](https://himalayas.app/@davidferreira2): Senior Software Engineer, Varsity Tutors
- [Diego Chavão](https://himalayas.app/@diegochavo): Staff Software Engineer, Stealth AI Startup
- [André Luiz](https://himalayas.app/@andrluiz1): Senior Software Engineer, CondoConta
- [Filipe Frozza](https://himalayas.app/@filipefrozza): Lead AI & Full Stack Engineer, Creative Tech
- [Suyá Castilhos](https://himalayas.app/@suycastilhos): Software Engineer / Team Manager, Function Health
- [Diego Marcelo](https://himalayas.app/@diegomarcelo): Senior Software Engineer, After.com
- [Riquelme Pereira Soares](https://himalayas.app/@riquelmepereirasoare): Full Stack Engineer, AMentoria Educação
