- Joined
- Aug 2025
- How they joined
- Directly
- Before Cognition
- WatershedProduct & Engineering
- Olympiads
- IOI gold 2015, 2016IOI 2015GoldIOI 2016Gold
Overlapped before Cognition
Sources1stats.ioinformatics.org
Details
LocationSan Francisco, California, United States
Company sitecognition.ai
UniversityHarvard University
competitive programmingalgorithmsmachine learningproduct engineering
- Co-authored Cognition's 'Introducing SWE-grep and SWE-grep-mini: RL for Multi-Turn, Fast Context Retrieval' (2025-10-16) with Ben Pan, Carlo Baronio, Albert Tam, Pietro Marsella, Mokshit Jain, Swyx and Silas Alberti; the models power Windsurf's Fast Context subagent and are cited by later academic work (CodeGrep, ACL REALM 2026).Oct 16, 2025Introducing SWE-grep and SWE-grep-mini: RL for Multi-Turn, Fast Context Retrieval (co-author)
- Joined Cognition in Aug 2025 in 'Product & Engineering', weeks after Cognition's July 2025 acquisition of Windsurf, and moved to an Advisor role in Dec 2025; his LinkedIn shows no Windsurf/Codeium stint.Aug 2025
- SWE-grep blog states Windsurf and Devin agent trajectories 'were often spending >60% of their first turn just retrieving context', the latency problem SWE-grep was trained with RL to solve.Oct 16, 2025Introducing SWE-grep and SWE-grep-mini: RL for Multi-Turn, Fast Context Retrieval (co-author)
- Spent Sep 2020 to Apr 2025 in Product & Engineering at Watershed, the climate/carbon-accounting software company, his longest role (about 4.5 years), joining early in the company's life.Sep 2020
- Co-author of arXiv paper 'Generalization by Recognizing Confusion' (arXiv:2006.07737, cs.LG)Jun 13, 2020
- Co-authors on the paper are Franklyn Wang and Scott Duke Kominers.Jun 13, 2020
- Worked May-Sep 2020 in Product & Engineering at Kalshi, the CFTC-regulated prediction-market exchange, during its pre-launch period.May 2020
- Google Hash Code 2020: rank 7, Team Salmon with ekzhang, turbofreeze2, ultrasonic360, waterfalls, score 4738259.2020
- ICPC 2019 World Finals: rank 26, Harvard University team with Daniel Chiu, Franklyn Wang, Pranay Tankala, score 6/11.2019
- ACM-ICPC 2018 World Finals: rank 26, Harvard University team with Daniel Chiu, Huy Truong Nam Nguyen, Rafail Ketsetsidis, score 6/11.2018
- Won a gold medal at the 2016 International Olympiad in Informatics in Kazan, Russia, alongside gold medalists Lawrence Li and Dhruv Rohatgi and silver medalist Calvin Lee.2016
- IOI 2016: rank 15, gold medal, score 432/600.2016
Experience
Advisor at Cognition
Dec 2025 - Present
Product & Engineering at Cognition
Aug 2025 - Dec 2025
Product & Engineering at Watershed
Sep 2020 - Apr 2025
Product & Engineering at Kalshi
May 2020 - Sep 2020
Trading Intern at Jane Street
May 2019 - Aug 2019
New York, New York, United States
Software Engineer at Figma
May 2018 - Aug 2018
San Francisco, California, United States
Software Engineer at Quora
May 2017 - Aug 2017
Mountain View, California, United States
Software Engineer at Asana
Jan 2017 - Apr 2017
San Francisco, California, United States
Education
Harvard University
Bachelor of Arts - BA, Computer Science
Catlin Gabel School
Projects
SWE-grep / SWE-grep-mini (Cognition, 2025): RL-trained fast parallel context-retrieval models powering Windsurf Fast Context
generalizationconfusion (2020): code for Harvard paper 'Generalization by Recognizing Confusion'
AchievementsIOI 2015 Gold Medal (rank 18, Almaty) · IOI 2016 Gold Medal (rank 15, Kazan) · ACM-ICPC World Finals 2018 (Harvard, rank 26) · ICPC World Finals 2019 (Harvard, rank 26) · Google Hash Code 2020 rank 7 (Team Salmon) · USACO Finalist / summer training camp 2015, 2016 · Codeforces International Grandmaster (max 2778)
Recent posts
October 2025
Introducing SWE-grep and SWE-grep-mini: RL for Multi-Turn, Fast Context Retrieval (co-author)
February 2022
Daniel Chiu's Post ... I've been super grateful to work with and learn from this amazing team. Beyond excited to share the next step in our ...
Press
AwardsIOI 2015 Gold Medal (rank 18, Almaty) · IOI 2016 Gold Medal (rank 15, Kazan) · ACM-ICPC World Finals 2018 (Harvard, rank 26) · ICPC World Finals 2019 (Harvard, rank 26) · Google Hash Code 2020 rank 7 (Team Salmon) · USACO Finalist / summer training camp 2015, 2016 · Codeforces International Grandmaster (max 2778)
Profiles