Skip to content
View alphasafal's full-sized avatar

Block or report alphasafal

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
alphasafal/README.md

Safal Gupta: merged pull requests into upstream open-source projects

Portfolio · LinkedIn · X · HackerRank

Final-year B.Tech CSE at VIT Vellore. I like systems where correctness and the tail latency matter, and I measure before I claim.

Main project: exchange-core

A C++20 exchange core: a price-time order book, pre-trade risk with a kill switch, a write-ahead journal with deterministic replay, and a binary protocol.

  • 75 ns per command in process, zero allocations on the matching path (enforced by a test), and cost flat from 10 to 5,000 price levels.
  • Against Liquibook on the same workload: submits are a draw, and cancel p99 is 286 ns vs 95 µs, because Liquibook scans the price level.
  • Correctness is checked against a reference model, three fuzzers, ASan, UBSan and TSan, and a replay digest. 398 tests, 12 CI jobs.
  • Clients can resend an order after a crash without it executing twice. A death test kills the venue between the journal write and the ack to prove it (ADR 0004).
  • Try it in the browser (WebAssembly) · design decisions · the benchmark bug I found in my own numbers

Also building

CONTRI Chrome extension and MCP server. It answers three questions about a GitHub repo: is it alive, do maintainers reply, and is this issue already claimed?
VAJRA Static malware triage. It analyses a suspicious file without running it and explains each verdict.
AI Eval Engineering A TypeScript harness for testing prompts and agents: deterministic graders, trajectory metrics, cost and latency, release gates.
Production Agent Skills 15 skills for AI coding agents, with behavioural evals.

Upstream

Merged fixes in projects I use. The list below refreshes daily from the GitHub API.

Merged upstream pull requests, refreshed daily from the GitHub API

Open PRs →

Hackathon, hiring-challenge and side builds (built in days; the challenge entries are archived)
Lastseat Team formation where 50 people race for the last seat and exactly one gets it. Hack4Hack 2026.
Virtual KAM Voice account manager for Snapdeal sellers, in English, Hindi and Hinglish. Snapdeal take-home.
Udyam Setu MSME digital onboarding prototype. Airtel SYNC case challenge.
TwinPilot AI agents optimising an EnergyPlus building model behind a safety shield. Eco-Loop hackathon.
MemoryMate Offline voice task assistant built on whisper.cpp and llama.cpp. Hackathon, 2025.
Python for Planet 365 A 365-day Python and sustainability curriculum. Day 1 done; paused.
GitRishta Your GitHub profile as an Indian shaadi biodata. A weekend joke.

Pinned Loading

  1. exchange-core exchange-core Public

    Single-node exchange core in C++20: price-time-priority limit order book, pre-trade risk, write-ahead journal with deterministic replay, binary protocol and TCP/UDP gateway.

    C++

  2. contri contri Public

    🧭 Find open-source issues you can actually take — see if a repo is alive, if maintainers reply, and if an issue is already claimed. Right on GitHub.

    TypeScript 4 2

  3. ai-eval-engineering ai-eval-engineering Public

    A practical TypeScript AI evaluation harness for testing prompts and agents with deterministic graders, trajectory metrics, cost/latency tracking and release gates.

    TypeScript

  4. production-agent-skills production-agent-skills Public

    15 benchmarked Agent Skills for AI coding agents, by role: debugging, code review, TDD, incident response, CI/CD review, threat modeling, security audits, system design, data science, PRDs. One-lin…

    Python 1

  5. vajra vajra Public

    Static malware triage engine: dissects a suspicious file without ever running it and explains every verdict.

    Python