VelocerOtwórz aplikację

Velocer › Fiszki › 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. · autor: sigma_squirrel · 14 fiszek

University of Wisconsin–Madison

Ucz się z tej talii Osadź

  1. What is RAG?Retrieval-Augmented Generation — a technique where relevant documents are retrieved and supplied to an LLM to ground its responses.
  2. 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.
  3. What is defensive prompt engineering?Designing prompts and guardrails that make LLM applications robust against misuse, ambiguity, and unexpected inputs.
  4. What are tool-calling agents?LLM-powered agents that invoke external tools/functions to accomplish tasks beyond text generation.
  5. 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.
  6. What is chunking in the context of RAG?Splitting documents into smaller pieces so they can be embedded and retrieved as relevant context.
  7. What are embeddings used for in LLM applications?Converting text into vector representations that enable semantic search and retrieval.
  8. 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.
  9. 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.
  10. What do /context and /usage show in Claude Code?They inspect the active token budget and session consumption.
  11. 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.
  12. Why read failing unit/integration tests before implementing a fix?They lock down the specification, clarifying exactly what behavior is expected.
  13. 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.
  14. 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 jest darmowy: powtórki w odstępach i własne fiszki z dowolnego dokumentu.

PDF to flashcards · Lecture to flashcards · Practice exam · Syllabus study plan · Anki import

Więcej zestawów z University of Wisconsin–Madison