Howdy, I'm Diego.

I’m Diego, a software engineer and a teacher.Click the contour lines for a little surprise.

01About

Engineering with intent.

  1. The Design Idea

    I wanted my portfolio to feel like me, so I drew inspiration from all the time I spend rock climbing and the music I love: blues, rock, and folk. At the heart of it is what I love most and dedicate my life and career to: being a software engineer. Building this site gave me a chance to bring all three together.

  2. The Builder

    2 hackathon wins

    Out of 4 entered. I’ve built a plethora of sophisticated projects alongside other engineers, using Scrum methodologies and often working under strict deadlines. Those circumstances honed my skills as a software engineer along the journey.

    01 / 05MomentumX · ShellHacks 2026 · WinnerView MomentumX on Devpost ↗

  3. The Teacher

    300+ students

    Through CodePath, I help teach data structures in Python and prepare low-income college students for technical interviews. In person, I’ve taught Python to 30+ students in public schools.

    CodePath Certificate of Leadership awarded to Diego Martinez as a CodePath Tech Fellow, Summer 2026, for supporting students across multiple course pathways.
    A Zoom grid of the Summer 2026 CodePath Tech Fellow cohort, including Diego Martinez, smiling and waving.
    CodePath session feedback slide. Student comments include “Our TF was amazing” and “Insight into a new cycle finding algo provided by TF Diego.”
    A LinkedIn message from a CodePath TIP102 student thanking Diego for teaching the class and helping with their code.
    Two LinkedIn messages from CodePath TIP102 students, names and photos blurred: “Hi hi! I’m from TIP 102, just wanted to say thank you for being an amazing TF!!” and “Hey Diego, I am a student in CodePath TIP102 Section 3 - appreciate your help throughout this course!”
    Three students in a session chat each posting “Shoutout @TF - Diego Martinez.”
    Three more session chat messages, names and avatars blurred: thanks to Diego and another TF for the graph explanations, “shoutout @TF - Diego Martinez,” and “Shoutout to Diego!”
    Diego Martinez giving a thumbs-up beside a class of elementary students and their teacher in a school library, in front of a screen showing a Python lesson titled “No more crashes on a wrong size.”

    01 / 08Certificate of Leadership · CodePath Tech Fellow, Summer 2026

    • CodePath Tech Fellows, Summer 2026
    • Session feedback from students
    • A thank-you from a TIP102 student
    • Thank-you messages from TIP102 students on LinkedIn
    • Student shoutouts after a session
    • More thanks from students in session chat
    • Teaching Python at a public elementary school

Base camp · Beginning the ascent

02Selected Work

Built, tested, and learned in public.

Six Waypoints, ordered by the strength of the signal rather than the date. Each separates my contribution from the wider team and keeps its claims within the available evidence.

01

MomentumX

A demonstration of tokenized U.S. equity trading on Solana devnet, connecting market signals to an inspectable trade flow.

Help people explore a constrained trading workflow through replayed U.S. market data and devnet transactions—not a production brokerage.

  • React
  • Vite
  • TypeScript
  • FastAPI
  • Python
  • SQLite
  • Solana devnet
  • Phantom
  • Alpaca replay data
Role
Scanner and React interface owner
Team
Four-person ShellHacks team

I built the momentum scanner and React frontend within the wider team product.

Outcomes

  • Working devnet trading demonstration
  • Verified hackathon recognition

Verified recognition

Winner — MLH Best Use of Solana
02

Veritas

A Chrome extension that estimates the political leaning of news articles from source, language, and framing signals.

Give readers structured context about how political reporting is presented without judging whether an article is true or false.

  • Chrome Extension
  • JavaScript
  • HTML
  • CSS
  • FastAPI
  • Python
  • spaCy
  • Pydantic
  • Gemini-assisted analysis
Role
Team lead and developer
Team
Four-person capstone team

I led the architecture and built the backend-to-extension analysis flow with the project team.

Outcomes

  • Integrated extension and backend analysis flow

Honest product boundary

Veritas estimates political leaning; it is not a fake-news detector or truth-verification system.
03

Membership Inference Attack Study

A classical machine-learning privacy study asking whether model behavior can reveal which text samples appeared in training.

Test membership leakage in an IMDB sentiment classifier built with TF-IDF and logistic regression.

  • Python
  • scikit-learn
  • TF-IDF
  • Logistic regression
Role
Team lead · Testing and evaluation
Team
Four-person research team

I led the testing and evaluation work across the target classifier and learned membership attack.

Outcomes

  • Documented experiment with reproducible public code and report

Controlled experiment

Across 500 member and 500 non-member IMDB reviews, the learned attack recorded 0.765 ROC-AUC; this is a scoped experiment, not a general privacy guarantee.
04

High-Momentum Scanner

A U.S. stock scanner that runs from 7:00 AM to 10:00 AM Eastern and looks for strong demand against limited supply.

Surface candidates using relative volume, price movement, float, and recent news catalysts during the active morning window.

Role
Sole designer and developer
Team
Solo project

I designed, built, and operate the complete scanner.

Outcomes

  • Surfaced a documented morning-market signal

Scanner-observed signal

On September 9, 2026, scanner-observed relative volume for SUNE—SUNation Energy, the public company in a pending reverse merger with private Suniva—rose from 5.19× to 13.93× around the opening bell. It followed Suniva’s $835 million debt-and-equity raise for a second U.S. solar-cell facility and 5.5 GW total capacity—a likely catalyst, not proven causation.
Private implementation

Private implementation details are intentionally withheld.

05

MedVoyage

A September 2023 hackathon decision-tree prototype that guided users through symptom questions toward a preliminary output.

Explore decision-tree interaction design during a weekend hackathon; it is not a clinically validated medical system.

  • HTML
  • CSS
  • JavaScript
Role
Frontend designer and developer
Team
Four-person ShellHacks team

I designed and built the visual frontend, including the layout, typography, and interaction direction.

Outcomes

  • Working hackathon prototype
  • Verified third-place finish

Verified recognition

Third Place Overall at ShellHacks 2023
06

HaRi

An autonomous HR onboarding MVP that coordinates employee tasks, employer visibility, and agent-assisted workflows.

Explore how orchestrated agents could reduce repetitive onboarding work while keeping progress visible to people.

  • React
  • FastAPI
  • Google Cloud ADK
  • Gemini
Role
Full-stack integration and product direction
Team
Four-person hackathon team

I led the full-stack integration, agent orchestration, dashboards, and UI/UX direction.

Outcomes

  • Integrated weekend MVP across the interface, backend, and agents

Weekend build

The team delivered a working MVP with employee and employer dashboards, onboarding tools, and an integrated agent console; no award or measured business outcome is claimed.
03Contact

Let's build what comes next.

If you’re assembling a team, shaping an ambitious product, or want to compare notes, I’d be glad to hear from you.

Sign the summit register

To
Diego Martinez · diegommart2004@gmail.com

Thanks — your note was sent. I’ll reply to the address you left.

Waypoint 01 · ShellHacks 2026

MomentumX

A demonstration of tokenized U.S. equity trading on Solana devnet, connecting market signals to an inspectable trade flow.

I built the momentum scanner and React frontend within the wider team product.

01 · Context

The problem

The team explored how an international investor might discover a U.S. market move, inspect the catalyst, and act without losing sight of what happened next.

The concept joined a momentum scanner, a trade ticket, and portfolio feedback in one coherent demonstration. Its job was to make the path from signal to decision legible—not to promise investment performance or access in any particular country.

02 · Frame

Users and constraints

Audience

Curious first-time investors and active traders

The demo followed one fictional user from demo dollars to a scanner-led trade.

Market constraint

The market was closed during the build

A minute-by-minute replay kept prices, signals, news, and trades on one clock.

Execution constraint

No real securities changed hands

The team used mock stock tokens and dUSD on Solana devnet.

Delivery constraint

A weekend and one demo laptop

The must-have loop took priority over live hosting, backtesting, and short selling.

03 · Repository evidence

One path from signal to record.

This system flow comes directly from the public repository’s documented architecture. Each stage links to the material behind it.

  1. 01Replay clockOne shared market time
  2. 02ScannerPrice + relative volume
  3. 03Alert + ticketSignal becomes an action
  4. 04Vault swapPhantom signs first
  5. 05Ledger + statsResult stays inspectable

03 · Portfolio overview

Feedback after the trade

  • Total account value
  • Trade history
  • Average win and loss
Inspect stats logic →

04 · Engineering

Key decisions

  1. 01

    Replay one real market day.

    A deterministic clock made a live-feeling demo possible while markets were closed and kept every screen aligned to the same minute.

  2. 02

    Let market data trigger; let news explain.

    Price movement and relative volume created the alert. Recent company news supplied context without pretending that a headline proved causation.

  3. 03

    Keep SQLite as the source of truth.

    The chain executed and verified swaps; the local ledger owned prices, deposits, trades, and performance so the product could explain its state.

  4. 04

    Make signing explicit.

    The backend built an unsigned swap, Phantom signed it, and the vault co-signed and submitted it—an inspectable sequence instead of a hidden transaction.

05 · Build

Technology

  • React
  • Vite
  • TypeScript
  • FastAPI
  • Python
  • SQLite
  • Solana devnet
  • Phantom
  • Alpaca replay data

The frontend exposed the scanner, stock chart, trade ticket, replay controls, holdings, and performance views. The FastAPI backend coordinated replay data, alerts, quotes, devnet execution, and the ledger.

06 · Collaboration

Team and contribution

Four people built one end-to-end demonstration with explicit ownership.

Diego Martinez
Scanner rules and service, React frontend, and pitch
Khalil Peguero
Backend, price service, ledger and stats, and pitch
Matthew
Solana vault, replay data loader, and replay system
Justin Cardenas
Setup scripts, stock-list checks, Devpost, and slides
Roles are reproduced from the repository’s team record and build specification.

07 · Result

Outcome

Winner — MLH Best Use of Solana

The team delivered the must-have loop: connect a wallet, receive demo dollars, inspect a scanner alert, buy and sell mock stock tokens on devnet, and review the transaction and portfolio result. The recognition is specific to the MLH Solana category.

08 · Boundary

Limitations

Demonstration, not brokerage. MomentumX is not a production brokerage and did not execute real securities trades.

Mock assets. dUSD and the stock tokens have no monetary value; transactions ran only on Solana devnet.

Replayed market. The scanner used a recorded market day rather than a live feed during judging.

No eligibility claim. The team did not verify that any named country or person could legally access a production tokenized-stock product.

Prototype operations. The app ran on one laptop and depended on devnet availability; production security and reliability were outside the weekend scope.

Price exposure is not ownership. The production concept referenced tracker products, which do not represent legal ownership of the underlying shares.

Waypoint 02 · Capstone

Veritas

A Chrome extension that estimates the political leaning of news articles from source, language, and framing signals.

I led the architecture and built the backend-to-extension analysis flow with the project team.

As team lead and developer, I guided the architecture and contributed across the FastAPI backend and Chrome extension alongside Christian Cevallos, Justin Cardenas, and Jhonny Felix.

01 · Context

The problem

Political articles can shape interpretation through source reputation, loaded language, and selective framing even when the question is not simply whether a sentence is true or false.

Veritas was designed for readers who want a quick, structured second look while they remain on the article page. The extension surfaces article metadata, ranked claim candidates, and an estimated leaning breakdown so the presentation is easier to inspect.

02 · Frame

Users and constraints

Audience

Readers of online political news

The interaction starts from the active Chrome tab and keeps the explanation inside the extension popup.

Extraction constraint

Article markup is inconsistent

The extension searches semantic page containers and visible paragraphs, so poorly structured pages can reduce input quality.

Model constraint

The signals are estimates

Confidence and bias values come from model output; they are not objective ground truth or a measured accuracy score.

Product boundary

Context, not a verdict on truth

The system estimates presentation patterns and deliberately does not fact-check the article.

03 · Repository evidence

From active tab to explained estimate.

This architecture follows the public repository’s documented workflow. Each stage links to the source material behind the diagram.

  1. 01Active tabURL, title, date, and visible text
  2. 02/extractNormalize and rank claim candidates
  3. 03/analyzeBuild bounded, structured context
  4. 04GeminiEstimate source, language, and framing
  5. 05PopupRender summary, claims, and signals

01 · Article overview

Show the input context

  • Detected source
  • Normalized publication date
  • Number of claims detected
Inspect popup structure →

02 · Claim extraction

Preserve inspectable statements

  • Stable claim identifiers
  • Sentence-level ranking
  • Bounded claim list
Inspect extraction logic →

04 · Engineering

Key decisions

  1. 01

    Narrow the product to political leaning.

    The team moved away from generic misinformation classification and framed the output as an estimate of editorial presentation.

  2. 02

    Split extraction from analysis.

    A lightweight first stage normalizes metadata and ranks claim candidates; a separate analysis stage evaluates the broader article context.

  3. 03

    Make the model return a strict contract.

    The FastAPI backend asks Gemini for JSON, validates the response, and clamps confidence and signal values to the ranges expected by the popup.

  4. 04

    Keep “Unclear” as a valid result.

    Short, vague, non-political, or missing input should not be forced into a left-or-right label.

05 · Build

Technology

  • Chrome Extension
  • JavaScript
  • HTML
  • CSS
  • FastAPI
  • Python
  • spaCy
  • Pydantic
  • Gemini-assisted analysis

The Manifest V3 extension collects the active article and renders results. FastAPI and Pydantic define the integration contract, spaCy supports sentence segmentation and claim ranking, and a Gemini-assisted step produces the structured leaning estimate.

06 · Collaboration

Team and contribution

Four collaborators developed the capstone through short, structured iterations.

Diego Martinez
Team lead and developer; Scrum coordination, iteration goals, architecture guidance, backend, and extension development
Christian Cevallos
Implementation, documentation, testing, and debugging
Justin Cardenas
Frontend and backend development, features, and sprint deliverables
Jhonny Felix
Frontend development, integration, testing, and sprint deliverables
Roles are summarized from the repository’s project organization record.

07 · Result

Outcome

An integrated extension-to-analysis flow.

The repository documents a working capstone implementation that extracts article content, ranks claim candidates, requests a structured leaning estimate, and renders the returned context in the extension popup. No deployment, award, measured accuracy, or business impact is claimed.

08 · Boundary

Limitations

Not truth verification. Veritas estimates political leaning; it is not a fake-news detector or truth-verification system.

Model-estimated signals. Source, language, framing, and confidence values are generated estimates rather than objectively measured ground truth.

Extraction varies. Poorly structured pages or unavailable article context can reduce the quality of the input.

Prompt-sensitive output. Gemini responses can vary with the prompt and available context, and requests can be affected by quota limits.

No accuracy claim. The public repository does not establish a validated accuracy rate, so this Case Study does not present one.

Capstone scope. The repository shows the implementation and workflow; this page does not claim a public production deployment or measured user impact.

Waypoint 03 · Privacy research

Membership Inference Attack Study

A classical machine-learning privacy study asking whether model behavior can reveal which text samples appeared in training.

I led the testing and evaluation work across the target classifier and learned membership attack.

As team lead, I coordinated the project and led the design and execution of testing procedures alongside Christian Cevallos, Lucas Ramos, and Justin Cardenas.

01 · Context

The problem

A classifier can keep its training reviews hidden and still reveal clues about which reviews it has seen.

Membership inference predicts whether a particular sample was used to train a model. It does not need to recover the original text: knowing that a record was included can itself reveal sensitive information. Our question was whether the behavior of a sentiment classifier exposed enough signal to distinguish training reviews from unseen reviews.

This was a classical machine-learning experiment: TF-IDF represented the text, and logistic regression classified sentiment. A second logistic-regression model learned to predict membership from the target classifier’s outputs.

02 · Frame

Experiment design

Dataset

Two distinct IMDB subsets

We sampled 500 members from IMDB’s official training split and 500 non-members from its official test split. Sampling was stratified by sentiment with random seed 42; the target trained only on members.

Target model

Words to sentiment

TF-IDF used up to 5,000 terms and removed English stopwords. Its vocabulary was fitted only on member reviews, then applied to unseen reviews. Logistic regression predicted positive or negative sentiment.

Baseline attack

A single confidence threshold

The midpoint of member and non-member mean maximum confidence defined the threshold. Reviews at or above it were predicted to be members. The baseline was evaluated on all 1,000 reviews used to derive that threshold.

Learned attack

A separate membership classifier

The 1,000 attack-feature rows were split 70/30, stratified by membership with seed 42: 700 for attack training and 300 for evaluation. The held-out set contained 150 members and 150 non-members of the target model.

03 · Public evidence

Inspect the experiment.

The report records the experiment’s measurements and team contributions. The code exposes how the data, target model, and attacks were constructed; the recorded demo provides a walkthrough.

Original report results excerpt showing target sentiment accuracy, confidence and loss, baseline attack metrics, and learned attack metrics. Accessible measurements and evaluation context follow in the Results section.
Original results excerpt from page 5 of the team’s report. Read in context.

Follow the public materials

Dataset preparation establishes which reviews the target sees. Target training fits the text representation and sentiment classifier. Attack implementation defines the signals, threshold, learned model, and evaluation split.

Watch the recorded public demo linked on the report’s cover, or follow the repository’s run instructions to inspect the pipeline.

The measurements below reproduce the report’s recorded run. They are not a new experiment or a claim about every text classifier.

04 · Engineering

Key decisions

  1. 01

    Keep membership grounded in the training boundary.

    Only the member subset trained the target classifier and TF-IDF vocabulary. Non-member reviews remained unseen by that training process, preserving the meaning of the membership labels.

  2. 02

    Start with an inspectable baseline.

    A confidence threshold made the initial question easy to test. The learned attack then combined five behavior signals rather than relying on a single score.

  3. 03

    Separate sentiment performance from attack performance.

    The target predicts sentiment; the attacker predicts membership. I led testing and evaluation across both stages, keeping the evaluation task and sample group explicit when interpreting the results.

  4. 04

    Hold out rows for the learned attack.

    The attack model’s evaluation rows were excluded from its own training. A held-out attack row can still be a member of the target’s training set: these are two different training boundaries.

05 · Signals

Attack features

  • Python
  • scikit-learn
  • TF-IDF
  • Logistic regression
Maximum confidence
The largest predicted sentiment probability.
True-class confidence
The probability assigned to the review’s known sentiment label.
Loss
The negative log of true-class confidence; lower loss indicates a better fit to that review.
Entropy
The uncertainty across the predicted sentiment probabilities.
Correctness
Whether the predicted sentiment matches the known label.

The learned attack needs probability outputs and the review’s true sentiment label to construct these features. It also trains on labeled membership examples from the controlled experiment. This access is an assumption of the study.

06 · Collaboration

Team and contribution

I led the project direction, coordinated development, and designed and executed the testing procedures. Development and analysis were a shared effort.

Diego Martinez
Team lead; project direction, development coordination, and testing design and execution
Christian Cevallos
Documentation, implementation support, and refinement of the final report
Justin Cardenas
Research, theoretical foundation, and development of key components
Lucas Ramos
Presentation organization and slide design, alongside development contributions
Attribution follows section 12, “Team Contributions,” on page 8 of the report.

07 · Results

Results

The recorded run exposed a measurable membership signal in this classifier’s behavior.

Target sentiment classifier · 1,000 reviews
Sample groupAccuracyEvaluation context
Members98.2%500 reviews used to train the target
Non-members76.6%500 reviews unseen during target training

These are sentiment accuracy measurements, not membership-attack success rates. The training-to-unseen gap is consistent with overfitting and motivates testing for privacy leakage; the gap alone is not proof of membership for an individual review.

Membership prediction · reported attack metrics
MetricBaseline threshold attackLearned attack
Accuracy69.2%70.7%
F169.0%72.3%
ROC-AUCNot reported0.765

The baseline threshold was derived from and evaluated on all 1,000 reviews. The learned attack trained on 700 rows and was evaluated on the remaining 300. Because the evaluation sets and fitting procedures differ, 69.2% and 70.7% are not a like-for-like estimate of improvement.

The groups are balanced, so random membership guessing has an expected accuracy of 50%. F1 balances precision and recall with member as the positive class. ROC-AUC measures ranking across thresholds; 0.765 is not 76.5% accuracy. The report provides one recorded run without confidence intervals or repeated-seed analysis.

Source: section 9, “Results and Evaluation,” on page 5 of the report, with evaluation procedures in the attack code.

08 · Boundary

Limitations

A controlled sample. The results cover 500 member and 500 non-member IMDB reviews, one target classifier, and one recorded run. They do not establish a general privacy guarantee or population-wide attack rate.

Attacker access matters. The learned attack assumes probability outputs, known sentiment labels, and labeled membership training examples. A system that exposes less information presents a different attack setting.

Different evaluation procedures. The baseline uses the same rows to derive and evaluate its threshold; the learned attack holds out 30%. A shared untouched evaluation set would support a stronger comparison.

No uncertainty estimate. The report does not provide repeated runs, confidence intervals, or statistical significance tests. Small differences between methods should be interpreted cautiously.

No mitigation evaluation. Differential privacy is discussed as related work but was not implemented or tested. This experiment measures leakage rather than establishing a defense.

Scope of the evidence. The study uses classical text classification and public movie reviews. It neither extracts private text nor establishes how these findings transfer to other datasets or model families.