Skip to content

Instantly share code, notes, and snippets.

View JustinAngel2's full-sized avatar

Justin Angel JustinAngel2

View GitHub Profile

NanoChat: Comprehensive Codebase Analysis

Analysis Date: 2025-10-13 Total Lines of Code: ~6,326 lines (Python + Rust) Source Files: 35 files Core Philosophy: Single, cohesive, minimal, readable, hackable, maximally-forkable "strong baseline"


Executive Summary

# NXT Agent Prompt — Simulated Psychotherapy Clients Feature Mining (2023–Present)
**Version:** 1.0
**Owner:** NXT Project
**Purpose:** Build a reproducible corpus and an **engineer-ready, parameterized feature taxonomy** of *simulated psychotherapy clients* used with LLM therapists (2023–present), with quotes and links as evidence.
---
## 0) TL;DR for the Agent
- Gather **≥100** unique psychotherapy LLM papers (2023–present).
- Save PDFs, deduplicate, and **categorize** each paper as **A/B/C/D** (definitions below).
@JustinAngel2
JustinAngel2 / gist:494fd4974535f1dd6c79272fec64abad
Created December 8, 2022 05:12
A simple ChatGPT prompt to calculate Ice-cream ingredients, v2
Calculate the weight of each ingredient required to make a 600g of ice-cream with the following ingredients. The ingredients are listed below, their nuitritional information, how to calculate ice-cream stats for ingredients, ice-cream stats for recipes, and the rules for the ideal ice-cream stats.
Use the following ingredients with the following nutritional information:
* Non dairy milk - califia coocnut almond milk. portion size: 226g. in each portion there's the following content: protein 1g, carbs 1g, sugars 0g, fat 4g.
* non dairy cream - silk soy cream. portion size: 14.3g. in each portion there's the following content: protein 0g, carbs 0g, sugars 0g, fat 5g.
* Black sesame paste. portion size: 100g. in each portion there's the following content: protein 19.4g, carbs 17.4g, sugars 0g, fat 57.5g.
* Table sugar. portion size: 100g. in each portion there's the following content: protein 0g, carbs 99.98g, sugars 99.81g, fat 0g.
* Glucose powder. portion size: 100g. in each portion there's the following c
@JustinAngel2
JustinAngel2 / gist:297b065cef53f45e7bf6436a53d526cb
Created December 8, 2022 05:11
A simple ChatGPT prompt to calculate Ice-cream ingredients, v1
Use the following ingredients with the following nutritional information:
* Non dairy milk - califia coocnut almond milk. portion size: 226g. in each portion there's the following content: protein 1g, carbs 1g, sugars 0g, fat 4g.
* non dairy cream - silk soy cream. portion size: 14.3g. in each portion there's the following content: protein 0g, carbs 0g, sugars 0g, fat 5g.
* Black sesame paste. portion size: 100g. in each portion there's the following content: protein 19.4g, carbs 17.4g, sugars 0g, fat 57.5g.
* Table sugar. portion size: 100g. in each portion there's the following content: protein 0g, carbs 99.98g, sugars 99.81g, fat 0g.
* Glucose powder. portion size: 100g. in each portion there's the following content: protein 0g, carbs 92g, sugars 92g, fat 0g.
* Ice cream stabalizer. portion size: 100g. in each portion there's the following content: protein 4g, carbs 86g, sugars 9g, fat 0g.
Notes on ingredients:
* Water is 100% liquids. Don't add any.
@JustinAngel2
JustinAngel2 / gist:4d3e6c7300969c26b4d5bba2c4d6c8e8
Created May 24, 2022 03:31
Anki addon: marking a field based on a word
# import the main window object (mw) from aqt
from aqt import mw
# import the "show info" tool from utils.py
from aqt.utils import showInfo, qconnect
# import all of the Qt GUI library
from aqt.qt import *
# We're going to add a menu item below. First we want to create a function to
# be called when the menu item is activated.