Velocer › Flashcards › University of Wisconsin–Madison › CS 639: AI Coding · UW-Madison
CS 639: AI Coding · UW-Madison
Made these while studying for CS 639. covers most of what we went over in lecture. · by sigma_squirrel · 14 cards
- What is RAG?Retrieval-Augmented Generation — a technique where relevant documents are retrieved and supplied to an LLM to ground its responses.
- What is history compaction in LLM applications?Condensing a conversation's history so it fits within the model's context window while preserving important information.
- What is defensive prompt engineering?Designing prompts and guardrails that make LLM applications robust against misuse, ambiguity, and unexpected inputs.
- What are tool-calling agents?LLM-powered agents that invoke external tools/functions to accomplish tasks beyond text generation.
- What are structured outputs in LLM applications?Having the model return responses in a defined format (e.g., JSON schema) so software can reliably parse them.
- What is chunking in the context of RAG?Splitting documents into smaller pieces so they can be embedded and retrieved as relevant context.
- What are embeddings used for in LLM applications?Converting text into vector representations that enable semantic search and retrieval.
- What does the @path/to/file command do in Claude Code?It injects the exact contents of a file into context, so the model reasons over ground truth instead of guessing.
- What is the difference between /compact and /clear in Claude Code?/compact summarizes older conversation turns into a dense digest while keeping recent turns intact; /clear wipes session history entirely, useful when switching tasks to prevent context pollution.
- What do /context and /usage show in Claude Code?They inspect the active token budget and session consumption.
- What should you do first when orienting in a codebase before editing?Trace the data flow from the entry point to persistence to understand how the code works.
- Why read failing unit/integration tests before implementing a fix?They lock down the specification, clarifying exactly what behavior is expected.
- What is the core problem the Elephant–Goldfish Model addresses?Every fresh AI coding session is a 'Goldfish' with zero memory of previous sessions, causing context drift and architectural amnesia if you rely on chat history.
- What is the 'Elephant' in the Elephant–Goldfish Model?Standing architectural knowledge stored inside the repository itself, via a hierarchy of CLAUDE.md files and permanent design specs in docs/plans/<feature-slug>.md.
Velocer is free: spaced repetition and your own cards from any document.
PDF to flashcards · Lecture to flashcards · Practice exam · Syllabus study plan · Anki import
More decks from University of Wisconsin–Madison
- comp sci 240 midterm 1
- comp sci 240 midterm 2
- COMP SCI 240 Midterm 3
- COMP SCI 240 Final
- comp sci 300 full course review
- CS 639: Introduction to Reinforcement Learning · UW-Madison
- CS 839: Reinforcement Learning · UW-Madison
- CS 544: Intro to Big Data Systems · UW-Madison
- CS 580: Intelligent Robotics · UW-Madison
- CS 784: Foundations of Data Management · UW-Madison
- CS 880: Quantum Algorithms · UW-Madison
- CS 765: Data Visualization · UW-Madison