SYMBOL INDEX (194 symbols across 66 files) FILE: Assignments/week1/chain_of_thought.py function extract_final_answer (line 28) | def extract_final_answer(text: str) -> str: function test_your_prompt (line 46) | def test_your_prompt(system_prompt: str) -> bool: FILE: Assignments/week1/k_shot_prompting.py function test_your_prompt (line 41) | def test_your_prompt(system_prompt: str) -> bool: FILE: Assignments/week1/rag.py function load_corpus_from_files (line 18) | def load_corpus_from_files(paths: List[str]) -> List[str]: function YOUR_CONTEXT_PROVIDER (line 59) | def YOUR_CONTEXT_PROVIDER(corpus: List[str]) -> List[str]: function make_user_prompt (line 67) | def make_user_prompt(question: str, context_docs: List[str]) -> str: function extract_code_block (line 84) | def extract_code_block(text: str) -> str: function test_your_prompt (line 97) | def test_your_prompt(system_prompt: str, context_provider: Callable[[Lis... FILE: Assignments/week1/reflexion.py function extract_code_block (line 48) | def extract_code_block(text: str) -> str: function load_function_from_code (line 58) | def load_function_from_code(code_str: str) -> Callable[[str], bool]: function evaluate_function (line 67) | def evaluate_function(func: Callable[[str], bool]) -> Tuple[bool, List[s... function generate_initial_function (line 99) | def generate_initial_function(system_prompt: str) -> str: function your_build_reflexion_context (line 111) | def your_build_reflexion_context(prev_code: str, failures: List[str]) ->... function apply_reflexion (line 119) | def apply_reflexion( function run_reflexion_flow (line 138) | def run_reflexion_flow( FILE: Assignments/week1/self_consistency_prompting.py function extract_final_answer (line 28) | def extract_final_answer(text: str) -> str: function test_your_prompt (line 45) | def test_your_prompt(system_prompt: str) -> bool: FILE: Assignments/week1/tool_calling.py function _annotation_to_str (line 19) | def _annotation_to_str(annotation: Optional[ast.AST]) -> str: function _list_function_return_types (line 31) | def _list_function_return_types(file_path: str) -> List[Tuple[str, str]]: function output_every_func_return_type (line 45) | def output_every_func_return_type(file_path: str = None) -> str: function add (line 58) | def add(a: int, b: int) -> int: function greet (line 62) | def greet(name: str) -> str: function resolve_path (line 84) | def resolve_path(p: str) -> str: function extract_tool_call (line 95) | def extract_tool_call(text: str) -> Dict[str, Any]: function run_model_for_tool_call (line 110) | def run_model_for_tool_call(system_prompt: str) -> Dict[str, Any]: function execute_tool_call (line 123) | def execute_tool_call(call: Dict[str, Any]) -> str: function compute_expected_output (line 144) | def compute_expected_output() -> str: function test_your_prompt (line 149) | def test_your_prompt(system_prompt: str) -> bool: FILE: Assignments/week2/app/db.py function ensure_data_directory_exists (line 13) | def ensure_data_directory_exists() -> None: function get_connection (line 17) | def get_connection() -> sqlite3.Connection: function init_db (line 24) | def init_db() -> None: function insert_note (line 52) | def insert_note(content: str) -> int: function list_notes (line 60) | def list_notes() -> list[sqlite3.Row]: function get_note (line 67) | def get_note(note_id: int) -> Optional[sqlite3.Row]: function insert_action_items (line 78) | def insert_action_items(items: list[str], note_id: Optional[int] = None)... function list_action_items (line 92) | def list_action_items(note_id: Optional[int] = None) -> list[sqlite3.Row]: function mark_action_item_done (line 107) | def mark_action_item_done(action_item_id: int, done: bool) -> None: FILE: Assignments/week2/app/main.py function index (line 20) | def index() -> str: FILE: Assignments/week2/app/routers/action_items.py function extract (line 15) | def extract(payload: Dict[str, Any]) -> Dict[str, Any]: function list_all (line 30) | def list_all(note_id: Optional[int] = None) -> List[Dict[str, Any]]: function mark_done (line 45) | def mark_done(action_item_id: int, payload: Dict[str, Any]) -> Dict[str,... FILE: Assignments/week2/app/routers/notes.py function create_note (line 14) | def create_note(payload: Dict[str, Any]) -> Dict[str, Any]: function get_single_note (line 28) | def get_single_note(note_id: int) -> Dict[str, Any]: FILE: Assignments/week2/app/services/extract.py function _is_action_line (line 21) | def _is_action_line(line: str) -> bool: function extract_action_items (line 34) | def extract_action_items(text: str) -> List[str]: function _looks_imperative (line 69) | def _looks_imperative(sentence: str) -> bool: FILE: Assignments/week2/tests/test_extract.py function test_extract_bullets_and_checkboxes (line 7) | def test_extract_bullets_and_checkboxes(): FILE: Assignments/week4/backend/app/db.py function get_db (line 18) | def get_db() -> Iterator[Session]: function get_session (line 31) | def get_session() -> Iterator[Session]: function apply_seed_if_needed (line 43) | def apply_seed_if_needed() -> None: FILE: Assignments/week4/backend/app/main.py function startup_event (line 22) | def startup_event() -> None: function root (line 28) | async def root() -> FileResponse: FILE: Assignments/week4/backend/app/models.py class Note (line 7) | class Note(Base): class ActionItem (line 15) | class ActionItem(Base): FILE: Assignments/week4/backend/app/routers/action_items.py function list_items (line 13) | def list_items(db: Session = Depends(get_db)) -> list[ActionItemRead]: function create_item (line 19) | def create_item(payload: ActionItemCreate, db: Session = Depends(get_db)... function complete_item (line 28) | def complete_item(item_id: int, db: Session = Depends(get_db)) -> Action... FILE: Assignments/week4/backend/app/routers/notes.py function list_notes (line 15) | def list_notes(db: Session = Depends(get_db)) -> list[NoteRead]: function create_note (line 21) | def create_note(payload: NoteCreate, db: Session = Depends(get_db)) -> N... function search_notes (line 30) | def search_notes(q: Optional[str] = None, db: Session = Depends(get_db))... function get_note (line 43) | def get_note(note_id: int, db: Session = Depends(get_db)) -> NoteRead: FILE: Assignments/week4/backend/app/schemas.py class NoteCreate (line 4) | class NoteCreate(BaseModel): class NoteRead (line 9) | class NoteRead(BaseModel): class Config (line 14) | class Config: class ActionItemCreate (line 18) | class ActionItemCreate(BaseModel): class ActionItemRead (line 22) | class ActionItemRead(BaseModel): class Config (line 27) | class Config: FILE: Assignments/week4/backend/app/services/extract.py function extract_action_items (line 1) | def extract_action_items(text: str) -> list[str]: FILE: Assignments/week4/backend/tests/conftest.py function client (line 15) | def client() -> Generator[TestClient, None, None]: FILE: Assignments/week4/backend/tests/test_action_items.py function test_create_and_complete_action_item (line 1) | def test_create_and_complete_action_item(client): FILE: Assignments/week4/backend/tests/test_extract.py function test_extract_action_items (line 4) | def test_extract_action_items(): FILE: Assignments/week4/backend/tests/test_notes.py function test_create_and_list_notes (line 1) | def test_create_and_list_notes(client): FILE: Assignments/week4/data/seed.sql type notes (line 1) | CREATE TABLE IF NOT EXISTS notes ( type action_items (line 7) | CREATE TABLE IF NOT EXISTS action_items ( FILE: Assignments/week4/frontend/app.js function fetchJSON (line 1) | async function fetchJSON(url, options) { function loadNotes (line 7) | async function loadNotes() { function loadActions (line 18) | async function loadActions() { FILE: Assignments/week5/backend/app/db.py function get_db (line 18) | def get_db() -> Iterator[Session]: function get_session (line 31) | def get_session() -> Iterator[Session]: function apply_seed_if_needed (line 43) | def apply_seed_if_needed() -> None: FILE: Assignments/week5/backend/app/main.py function startup_event (line 22) | def startup_event() -> None: function root (line 28) | async def root() -> FileResponse: FILE: Assignments/week5/backend/app/models.py class Note (line 7) | class Note(Base): class ActionItem (line 15) | class ActionItem(Base): FILE: Assignments/week5/backend/app/routers/action_items.py function list_items (line 13) | def list_items(db: Session = Depends(get_db)) -> list[ActionItemRead]: function create_item (line 19) | def create_item(payload: ActionItemCreate, db: Session = Depends(get_db)... function complete_item (line 28) | def complete_item(item_id: int, db: Session = Depends(get_db)) -> Action... FILE: Assignments/week5/backend/app/routers/notes.py function list_notes (line 15) | def list_notes(db: Session = Depends(get_db)) -> list[NoteRead]: function create_note (line 21) | def create_note(payload: NoteCreate, db: Session = Depends(get_db)) -> N... function search_notes (line 30) | def search_notes(q: Optional[str] = None, db: Session = Depends(get_db))... function get_note (line 43) | def get_note(note_id: int, db: Session = Depends(get_db)) -> NoteRead: FILE: Assignments/week5/backend/app/schemas.py class NoteCreate (line 4) | class NoteCreate(BaseModel): class NoteRead (line 9) | class NoteRead(BaseModel): class Config (line 14) | class Config: class ActionItemCreate (line 18) | class ActionItemCreate(BaseModel): class ActionItemRead (line 22) | class ActionItemRead(BaseModel): class Config (line 27) | class Config: FILE: Assignments/week5/backend/app/services/extract.py function extract_action_items (line 1) | def extract_action_items(text: str) -> list[str]: FILE: Assignments/week5/backend/tests/conftest.py function client (line 15) | def client() -> Generator[TestClient, None, None]: FILE: Assignments/week5/backend/tests/test_action_items.py function test_create_and_complete_action_item (line 1) | def test_create_and_complete_action_item(client): FILE: Assignments/week5/backend/tests/test_extract.py function test_extract_action_items (line 4) | def test_extract_action_items(): FILE: Assignments/week5/backend/tests/test_notes.py function test_create_and_list_notes (line 1) | def test_create_and_list_notes(client): FILE: Assignments/week5/data/seed.sql type notes (line 1) | CREATE TABLE IF NOT EXISTS notes ( type action_items (line 7) | CREATE TABLE IF NOT EXISTS action_items ( FILE: Assignments/week5/frontend/app.js function fetchJSON (line 1) | async function fetchJSON(url, options) { function loadNotes (line 7) | async function loadNotes() { function loadActions (line 18) | async function loadActions() { FILE: Assignments/week6/backend/app/db.py function get_db (line 18) | def get_db() -> Iterator[Session]: function get_session (line 31) | def get_session() -> Iterator[Session]: function apply_seed_if_needed (line 43) | def apply_seed_if_needed() -> None: FILE: Assignments/week6/backend/app/main.py function startup_event (line 32) | def startup_event() -> None: function root (line 38) | async def root() -> FileResponse: FILE: Assignments/week6/backend/app/models.py class TimestampMixin (line 9) | class TimestampMixin: class Note (line 16) | class Note(Base, TimestampMixin): class ActionItem (line 24) | class ActionItem(Base, TimestampMixin): FILE: Assignments/week6/backend/app/routers/action_items.py function list_items (line 15) | def list_items( function create_item (line 38) | def create_item(payload: ActionItemCreate, db: Session = Depends(get_db)... function complete_item (line 47) | def complete_item(item_id: int, db: Session = Depends(get_db)) -> Action... function patch_item (line 59) | def patch_item(item_id: int, payload: ActionItemPatch, db: Session = Dep... FILE: Assignments/week6/backend/app/routers/notes.py function list_notes (line 15) | def list_notes( function create_note (line 38) | def create_note(payload: NoteCreate, db: Session = Depends(get_db)) -> N... function patch_note (line 47) | def patch_note(note_id: int, payload: NotePatch, db: Session = Depends(g... function get_note (line 62) | def get_note(note_id: int, db: Session = Depends(get_db)) -> NoteRead: function unsafe_search (line 70) | def unsafe_search(q: str, db: Session = Depends(get_db)) -> list[NoteRead]: function debug_hash_md5 (line 96) | def debug_hash_md5(q: str) -> dict[str, str]: function debug_eval (line 103) | def debug_eval(expr: str) -> dict[str, str]: function debug_run (line 109) | def debug_run(cmd: str) -> dict[str, str]: function debug_fetch (line 117) | def debug_fetch(url: str) -> dict[str, str]: function debug_read (line 126) | def debug_read(path: str) -> dict[str, str]: FILE: Assignments/week6/backend/app/schemas.py class NoteCreate (line 6) | class NoteCreate(BaseModel): class NoteRead (line 11) | class NoteRead(BaseModel): class Config (line 18) | class Config: class NotePatch (line 22) | class NotePatch(BaseModel): class ActionItemCreate (line 27) | class ActionItemCreate(BaseModel): class ActionItemRead (line 31) | class ActionItemRead(BaseModel): class Config (line 38) | class Config: class ActionItemPatch (line 42) | class ActionItemPatch(BaseModel): FILE: Assignments/week6/backend/app/services/extract.py function extract_action_items (line 1) | def extract_action_items(text: str) -> list[str]: FILE: Assignments/week6/backend/tests/conftest.py function client (line 15) | def client() -> Generator[TestClient, None, None]: FILE: Assignments/week6/backend/tests/test_action_items.py function test_create_complete_list_and_patch_action_item (line 1) | def test_create_complete_list_and_patch_action_item(client): FILE: Assignments/week6/backend/tests/test_extract.py function test_extract_action_items (line 4) | def test_extract_action_items(): FILE: Assignments/week6/backend/tests/test_notes.py function test_create_list_and_patch_notes (line 1) | def test_create_list_and_patch_notes(client): FILE: Assignments/week6/data/seed.sql type notes (line 1) | CREATE TABLE IF NOT EXISTS notes ( type action_items (line 9) | CREATE TABLE IF NOT EXISTS action_items ( FILE: Assignments/week6/frontend/app.js function fetchJSON (line 1) | async function fetchJSON(url, options) { function loadNotes (line 7) | async function loadNotes(params = {}) { function loadActions (line 19) | async function loadActions(params = {}) { FILE: Assignments/week7/backend/app/db.py function get_db (line 18) | def get_db() -> Iterator[Session]: function get_session (line 31) | def get_session() -> Iterator[Session]: function apply_seed_if_needed (line 43) | def apply_seed_if_needed() -> None: FILE: Assignments/week7/backend/app/main.py function startup_event (line 23) | def startup_event() -> None: function root (line 29) | async def root() -> FileResponse: FILE: Assignments/week7/backend/app/models.py class TimestampMixin (line 9) | class TimestampMixin: class Note (line 16) | class Note(Base, TimestampMixin): class ActionItem (line 24) | class ActionItem(Base, TimestampMixin): FILE: Assignments/week7/backend/app/routers/action_items.py function list_items (line 15) | def list_items( function create_item (line 38) | def create_item(payload: ActionItemCreate, db: Session = Depends(get_db)... function complete_item (line 47) | def complete_item(item_id: int, db: Session = Depends(get_db)) -> Action... function patch_item (line 59) | def patch_item(item_id: int, payload: ActionItemPatch, db: Session = Dep... FILE: Assignments/week7/backend/app/routers/notes.py function list_notes (line 15) | def list_notes( function create_note (line 38) | def create_note(payload: NoteCreate, db: Session = Depends(get_db)) -> N... function patch_note (line 47) | def patch_note(note_id: int, payload: NotePatch, db: Session = Depends(g... function get_note (line 62) | def get_note(note_id: int, db: Session = Depends(get_db)) -> NoteRead: FILE: Assignments/week7/backend/app/schemas.py class NoteCreate (line 6) | class NoteCreate(BaseModel): class NoteRead (line 11) | class NoteRead(BaseModel): class Config (line 18) | class Config: class NotePatch (line 22) | class NotePatch(BaseModel): class ActionItemCreate (line 27) | class ActionItemCreate(BaseModel): class ActionItemRead (line 31) | class ActionItemRead(BaseModel): class Config (line 38) | class Config: class ActionItemPatch (line 42) | class ActionItemPatch(BaseModel): FILE: Assignments/week7/backend/app/services/extract.py function extract_action_items (line 1) | def extract_action_items(text: str) -> list[str]: FILE: Assignments/week7/backend/tests/conftest.py function client (line 15) | def client() -> Generator[TestClient, None, None]: FILE: Assignments/week7/backend/tests/test_action_items.py function test_create_complete_list_and_patch_action_item (line 1) | def test_create_complete_list_and_patch_action_item(client): FILE: Assignments/week7/backend/tests/test_extract.py function test_extract_action_items (line 4) | def test_extract_action_items(): FILE: Assignments/week7/backend/tests/test_notes.py function test_create_list_and_patch_notes (line 1) | def test_create_list_and_patch_notes(client): FILE: Assignments/week7/data/seed.sql type notes (line 1) | CREATE TABLE IF NOT EXISTS notes ( type action_items (line 9) | CREATE TABLE IF NOT EXISTS action_items ( FILE: Assignments/week7/frontend/app.js function fetchJSON (line 1) | async function fetchJSON(url, options) { function loadNotes (line 7) | async function loadNotes(params = {}) { function loadActions (line 19) | async function loadActions(params = {}) { FILE: Resource/completed/coding_agent_from_scratch_lecture.py function resolve_abs_path (line 30) | def resolve_abs_path(path_str: str) -> Path: function read_file_tool (line 39) | def read_file_tool(filename: str) -> Dict[str, Any]: function list_files_tool (line 54) | def list_files_tool(path: str) -> Dict[str, Any]: function edit_file_tool (line 72) | def edit_file_tool(path: str, old_str: str, new_str: str) -> Dict[str, A... function get_tool_str_representation (line 108) | def get_tool_str_representation(tool_name: str) -> str: function get_full_system_prompt (line 116) | def get_full_system_prompt(): function extract_tool_invocations (line 123) | def extract_tool_invocations(text: str) -> List[Tuple[str, Dict[str, Any... function execute_llm_call (line 146) | def execute_llm_call(conversation: List[Dict[str, str]]): function run_coding_agent_loop (line 154) | def run_coding_agent_loop(): FILE: Resource/completed/simple_mcp.py function resolve_abs_path (line 8) | def resolve_abs_path(path_str: str) -> Path: function read_file_tool (line 18) | def read_file_tool(filename: str) -> Dict[str, Any]: function list_files_tool (line 35) | def list_files_tool(path: str) -> Dict[str, Any]: function edit_file_tool (line 54) | def edit_file_tool(path: str, old_str: str, new_str: str) -> Dict[str, A...