id: 1 unit: await handleTurn() file: challenge5/frontend/lib/assistant.ts start line: 104 end line: 241 size: 118 LOC McCabe index: 20 number of parameters: 3 id: 2 unit: export default function VoiceMode() file: challenge5/frontend/components/voice-mode.tsx start line: 16 end line: 241 size: 87 LOC McCabe index: 8 number of parameters: 0 id: 3 unit: export default function VoiceMode() file: challenge4/frontend/components/voice-mode.tsx start line: 10 end line: 196 size: 83 LOC McCabe index: 7 number of parameters: 0 id: 4 unit: async function startSession() file: challenge4/frontend/components/voice-mode.tsx start line: 22 end line: 91 size: 55 LOC McCabe index: 7 number of parameters: 0 id: 5 unit: async function startSession() file: challenge5/frontend/components/voice-mode.tsx start line: 28 end line: 97 size: 55 LOC McCabe index: 7 number of parameters: 0 id: 6 unit: for await() file: challenge5/frontend/app/api/get_response/route.ts start line: 29 end line: 80 size: 46 LOC McCabe index: 9 number of parameters: 1 id: 7 unit: async function handleToolCall() file: challenge5/frontend/components/voice-mode.tsx start line: 137 end line: 170 size: 28 LOC McCabe index: 2 number of parameters: 1 id: 8 unit: export async function GET() file: challenge4/frontend/app/api/session/route.ts start line: 4 end line: 30 size: 26 LOC McCabe index: 2 number of parameters: 0 id: 9 unit: export async function GET() file: challenge5/frontend/app/api/session/route.ts start line: 4 end line: 30 size: 26 LOC McCabe index: 2 number of parameters: 0 id: 10 unit: export async function POST() file: challenge4/frontend/app/api/search_location/route.ts start line: 3 end line: 33 size: 25 LOC McCabe index: 3 number of parameters: 1 id: 11 unit: export async function POST() file: challenge2/frontend/app/api/search_location/route.ts start line: 3 end line: 33 size: 25 LOC McCabe index: 3 number of parameters: 1 id: 12 unit: export async function POST() file: challenge5/frontend/app/api/search_location/route.ts start line: 3 end line: 33 size: 25 LOC McCabe index: 3 number of parameters: 1 id: 13 unit: export async function POST() file: challenge3/frontend/app/api/search_location/route.ts start line: 3 end line: 33 size: 25 LOC McCabe index: 3 number of parameters: 1 id: 14 unit: export async function POST() file: challenge4/frontend/app/api/create_itinerary/route.ts start line: 5 end line: 27 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 15 unit: export async function POST() file: challenge5/frontend/app/api/create_itinerary/route.ts start line: 5 end line: 27 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 16 unit: export async function POST() file: challenge5/frontend/app/api/get_response/route.ts start line: 8 end line: 103 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 17 unit: export async function POST() file: challenge3/frontend/app/api/create_itinerary/route.ts start line: 5 end line: 27 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 18 unit: export async function POST() file: starting_point/frontend/app/api/get_response/route.ts start line: 1 end line: 21 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 19 unit: including when to leave for the next stop() file: challenge5/frontend/lib/constants.ts start line: 25 end line: 44 size: 19 LOC McCabe index: 3 number of parameters: 2 id: 20 unit: def search_location() file: challenge4/python-backend/app.py start line: 0 end line: 0 size: 18 LOC McCabe index: 2 number of parameters: 0 id: 21 unit: export async function POST() file: challenge4/frontend/app/api/get_response/route.ts start line: 7 end line: 28 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 22 unit: def search_location() file: challenge2/python-backend/app.py start line: 0 end line: 0 size: 18 LOC McCabe index: 2 number of parameters: 0 id: 23 unit: export async function POST() file: challenge2/frontend/app/api/get_response/route.ts start line: 7 end line: 28 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 24 unit: def search_location() file: challenge5/python-backend/app.py start line: 0 end line: 0 size: 18 LOC McCabe index: 2 number of parameters: 0 id: 25 unit: async start() file: challenge5/frontend/app/api/get_response/route.ts start line: 15 end line: 87 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 26 unit: def search_location() file: challenge3/python-backend/app.py start line: 0 end line: 0 size: 18 LOC McCabe index: 2 number of parameters: 0 id: 27 unit: export async function POST() file: challenge3/frontend/app/api/get_response/route.ts start line: 7 end line: 28 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 28 unit: function stopSession() file: challenge4/frontend/components/voice-mode.tsx start line: 94 end line: 111 size: 17 LOC McCabe index: 4 number of parameters: 0 id: 29 unit: export async function POST() file: challenge1/frontend/app/api/get_response/route.ts start line: 5 end line: 25 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 30 unit: function stopSession() file: challenge5/frontend/components/voice-mode.tsx start line: 100 end line: 117 size: 17 LOC McCabe index: 4 number of parameters: 0 id: 31 unit: export default function RootLayout() file: challenge4/frontend/app/layout.tsx start line: 24 end line: 38 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 32 unit: export default function RootLayout() file: starting_point/frontend/app/layout.tsx start line: 24 end line: 38 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 33 unit: export default function RootLayout() file: challenge1/frontend/app/layout.tsx start line: 24 end line: 38 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 34 unit: export default function RootLayout() file: challenge2/frontend/app/layout.tsx start line: 24 end line: 38 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 35 unit: export default function RootLayout() file: challenge5/frontend/app/layout.tsx start line: 24 end line: 38 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 36 unit: export default function RootLayout() file: challenge3/frontend/app/layout.tsx start line: 24 end line: 38 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 37 unit: def plan_itinerary() file: challenge4/python-backend/app.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 38 unit: def plan_itinerary() file: challenge5/python-backend/app.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 39 unit: def plan_itinerary() file: challenge3/python-backend/app.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 40 unit: def get_response() file: challenge4/python-backend/app.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 41 unit: def get_response() file: challenge2/python-backend/app.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 42 unit: def get_response() file: challenge5/python-backend/app.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 43 unit: def get_response() file: challenge3/python-backend/app.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 44 unit: def get_response() file: challenge1/python-backend/app.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 45 unit: def get_response() file: starting_point/python-backend/app.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 46 unit: function useChart() file: challenge5/frontend/components/ui/chart.tsx start line: 27 end line: 35 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 47 unit: export function cn() file: challenge4/frontend/lib/utils.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 48 unit: export function cn() file: starting_point/frontend/lib/utils.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 49 unit: export function cn() file: challenge1/frontend/lib/utils.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 50 unit: export function cn() file: challenge2/frontend/lib/utils.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 51 unit: export function cn() file: challenge5/frontend/lib/utils.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 52 unit: export function cn() file: challenge3/frontend/lib/utils.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: def home() file: challenge4/python-backend/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 54 unit: await handleTurn() file: challenge4/frontend/components/assistant.tsx start line: 31 end line: 32 size: 2 LOC McCabe index: 2 number of parameters: 0 id: 55 unit: await handleTurn() file: challenge4/frontend/lib/assistant.ts start line: 82 end line: 83 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 56 unit: def home() file: starting_point/python-backend/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 57 unit: await handleTurn() file: starting_point/frontend/components/assistant.tsx start line: 31 end line: 32 size: 2 LOC McCabe index: 2 number of parameters: 0 id: 58 unit: def home() file: challenge1/python-backend/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 59 unit: await handleTurn() file: challenge1/frontend/components/assistant.tsx start line: 31 end line: 32 size: 2 LOC McCabe index: 2 number of parameters: 0 id: 60 unit: def home() file: challenge2/python-backend/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 61 unit: await handleTurn() file: challenge2/frontend/components/assistant.tsx start line: 31 end line: 32 size: 2 LOC McCabe index: 2 number of parameters: 0 id: 62 unit: await handleTurn() file: challenge2/frontend/lib/assistant.ts start line: 82 end line: 83 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 63 unit: def home() file: challenge5/python-backend/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 64 unit: await processMessages() file: challenge5/frontend/components/assistant.tsx start line: 29 end line: 30 size: 2 LOC McCabe index: 2 number of parameters: 0 id: 65 unit: def home() file: challenge3/python-backend/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 66 unit: await handleTurn() file: challenge3/frontend/components/assistant.tsx start line: 31 end line: 32 size: 2 LOC McCabe index: 2 number of parameters: 0 id: 67 unit: await handleTurn() file: challenge3/frontend/lib/assistant.ts start line: 82 end line: 83 size: 2 LOC McCabe index: 1 number of parameters: 0