id: 1 unit: function App() file: 7-reasoning/shipmentPlanning/frontend/src/App.js start line: 36 end line: 288 size: 233 LOC McCabe index: 13 number of parameters: 0 id: 2 unit: def get_past_purchases() file: 11-recommendation/helper_functions.py start line: 0 end line: 0 size: 163 LOC McCabe index: 1 number of parameters: 0 id: 3 unit: def ingest_json_files() file: 4-mmrag_tooluse/ingest.py start line: 0 end line: 0 size: 82 LOC McCabe index: 10 number of parameters: 2 id: 4 unit: async begin() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_recorder.js start line: 301 end line: 381 size: 77 LOC McCabe index: 12 number of parameters: 1 id: 5 unit: def process_file() file: 5-4o_fine_tuning/eval.py start line: 0 end line: 0 size: 70 LOC McCabe index: 19 number of parameters: 5 id: 6 unit: static async decode() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_recorder.js start line: 63 end line: 130 size: 68 LOC McCabe index: 12 number of parameters: 3 id: 7 unit: export default function Home() file: 9-realtime/realtime-from-scratch/app/page.tsx start line: 10 end line: 91 size: 68 LOC McCabe index: 2 number of parameters: 0 id: 8 unit: def main() file: 11-recommendation/pages/page_1_semantic_search.py start line: 0 end line: 0 size: 68 LOC McCabe index: 19 number of parameters: 0 id: 9 unit: constructor() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/analysis/audio_analysis.js start line: 94 end line: 157 size: 63 LOC McCabe index: 6 number of parameters: 2 id: 10 unit: def get_propensity_recommendations() file: 11-recommendation/helper_functions.py start line: 0 end line: 0 size: 62 LOC McCabe index: 1 number of parameters: 0 id: 11 unit: export function Toggle() file: 9-realtime/openai-realtime-console-example/src/components/toggle/Toggle.tsx start line: 5 end line: 66 size: 58 LOC McCabe index: 10 number of parameters: 4 id: 12 unit: def main() file: 5-4o_fine_tuning/data_explorer.py start line: 0 end line: 0 size: 57 LOC McCabe index: 17 number of parameters: 0 id: 13 unit: static getFrequencies() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/analysis/audio_analysis.js start line: 32 end line: 86 size: 54 LOC McCabe index: 10 number of parameters: 6 id: 14 unit: def check_data_format_errors() file: 5-4o_fine_tuning/data_validator.py start line: 0 end line: 0 size: 52 LOC McCabe index: 24 number of parameters: 1 id: 15 unit: async connectionHandler() file: 9-realtime/openai-realtime-console-example/relay-server/lib/relay.js start line: 17 end line: 79 size: 52 LOC McCabe index: 7 number of parameters: 2 id: 16 unit: export function PromptForm() file: 6-structured_outputs/structured-outputs-math-tutor-starting-point/components/prompt-form.tsx start line: 34 end line: 88 size: 52 LOC McCabe index: 6 number of parameters: 5 id: 17 unit: export function PromptForm() file: 6-structured_outputs/structured-outputs-math-tutor-final/components/prompt-form.tsx start line: 34 end line: 88 size: 52 LOC McCabe index: 6 number of parameters: 5 id: 18 unit: def call_gpt4o() file: 7-reasoning/shipmentPlanning/backend/app.py start line: 0 end line: 0 size: 47 LOC McCabe index: 10 number of parameters: 1 id: 19 unit: export function StepComponent() file: 6-structured_outputs/structured-outputs-math-tutor-starting-point/components/step.tsx start line: 16 end line: 65 size: 47 LOC McCabe index: 7 number of parameters: 7 id: 20 unit: export function StepComponent() file: 6-structured_outputs/structured-outputs-math-tutor-final/components/step.tsx start line: 16 end line: 65 size: 47 LOC McCabe index: 7 number of parameters: 7 id: 21 unit: def insert_data_into_qdrant() file: 11-recommendation/upload-to-qdrant.py start line: 0 end line: 0 size: 47 LOC McCabe index: 10 number of parameters: 2 id: 22 unit: process() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/worklets/audio_processor.js start line: 159 end line: 204 size: 46 LOC McCabe index: 14 number of parameters: 3 id: 23 unit: function ScenarioInput() file: 7-reasoning/shipmentPlanning/frontend/src/ScenarioInput.js start line: 6 end line: 52 size: 44 LOC McCabe index: 5 number of parameters: 2 id: 24 unit: def main() file: 5-4o_fine_tuning/eval.py start line: 0 end line: 0 size: 42 LOC McCabe index: 4 number of parameters: 0 id: 25 unit: def function_to_schema() file: 2-assistants/demo_util.py start line: 0 end line: 0 size: 42 LOC McCabe index: 7 number of parameters: 1 id: 26 unit: constructor() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/worklets/stream_processor.js start line: 3 end line: 43 size: 41 LOC McCabe index: 8 number of parameters: 0 id: 27 unit: def analyze_image() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 39 LOC McCabe index: 1 number of parameters: 2 id: 28 unit: def parse_table() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 38 LOC McCabe index: 3 number of parameters: 3 id: 29 unit: def check_train_data_stats() file: 5-4o_fine_tuning/data_validator.py start line: 0 end line: 0 size: 37 LOC McCabe index: 17 number of parameters: 1 id: 30 unit: def create_tables() file: 4-mmrag_tooluse/ingest.py start line: 0 end line: 0 size: 36 LOC McCabe index: 1 number of parameters: 1 id: 31 unit: def query_qdrant() file: 11-recommendation/helper_functions.py start line: 0 end line: 0 size: 36 LOC McCabe index: 6 number of parameters: 3 id: 32 unit: export function Button() file: 9-realtime/openai-realtime-console-example/src/components/button/Button.tsx start line: 15 end line: 50 size: 35 LOC McCabe index: 7 number of parameters: 7 id: 33 unit: listenForDeviceChange() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_recorder.js start line: 202 end line: 235 size: 34 LOC McCabe index: 7 number of parameters: 1 id: 34 unit: def main_loop() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 34 LOC McCabe index: 9 number of parameters: 0 id: 35 unit: def fetch_few_shot_train_examples() file: 5-4o_fine_tuning/eval.py start line: 0 end line: 0 size: 33 LOC McCabe index: 14 number of parameters: 3 id: 36 unit: def run_full_turn() file: 2-assistants/7_orchestration.py start line: 0 end line: 0 size: 33 LOC McCabe index: 13 number of parameters: 2 id: 37 unit: def main() file: 11-recommendation/pages/page_2_explainable_recommendations.py start line: 0 end line: 0 size: 32 LOC McCabe index: 8 number of parameters: 0 id: 38 unit: def process_file() file: 5-4o_fine_tuning/reasoning.py start line: 0 end line: 0 size: 30 LOC McCabe index: 8 number of parameters: 5 id: 39 unit: export async function getSolution() file: 6-structured_outputs/structured-outputs-math-tutor-starting-point/lib/actions.ts start line: 12 end line: 48 size: 30 LOC McCabe index: 4 number of parameters: 1 id: 40 unit: export async function getSolution() file: 6-structured_outputs/structured-outputs-math-tutor-final/lib/actions.ts start line: 12 end line: 48 size: 30 LOC McCabe index: 4 number of parameters: 1 id: 41 unit: export async function POST() file: 6-structured_outputs/structured-outputs-assistant-final/app/api/assistant/turn_response/route.ts start line: 6 end line: 37 size: 30 LOC McCabe index: 4 number of parameters: 1 id: 42 unit: readChannelData() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/worklets/audio_processor.js start line: 20 end line: 48 size: 29 LOC McCabe index: 7 number of parameters: 3 id: 43 unit: async listDevices() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_recorder.js start line: 265 end line: 293 size: 29 LOC McCabe index: 5 number of parameters: 0 id: 44 unit: export async function POST() file: 6-structured_outputs/structured-outputs-assistant-starting-point/app/api/assistant/turn_response/route.ts start line: 6 end line: 37 size: 28 LOC McCabe index: 4 number of parameters: 1 id: 45 unit: export function Badge() file: 6-structured_outputs/structured-outputs-math-tutor-starting-point/components/ui/badge.tsx start line: 9 end line: 37 size: 27 LOC McCabe index: 4 number of parameters: 2 id: 46 unit: export function Badge() file: 6-structured_outputs/structured-outputs-math-tutor-final/components/ui/badge.tsx start line: 9 end line: 37 size: 27 LOC McCabe index: 4 number of parameters: 2 id: 47 unit: def run_full_turn() file: 2-assistants/5_escalation.py start line: 0 end line: 0 size: 26 LOC McCabe index: 10 number of parameters: 3 id: 48 unit: def run_full_turn() file: 2-assistants/6_agents.py start line: 0 end line: 0 size: 26 LOC McCabe index: 10 number of parameters: 2 id: 49 unit: def run_full_turn() file: 2-assistants/4_tools.py start line: 0 end line: 0 size: 26 LOC McCabe index: 10 number of parameters: 3 id: 50 unit: process() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/worklets/stream_processor.js start line: 61 end line: 86 size: 26 LOC McCabe index: 8 number of parameters: 3 id: 51 unit: def get_fixed_code_fine_tuned() file: 5-4o_fine_tuning/eval.py start line: 0 end line: 0 size: 25 LOC McCabe index: 1 number of parameters: 3 id: 52 unit: def create_log_file() file: 5-4o_fine_tuning/eval.py start line: 0 end line: 0 size: 25 LOC McCabe index: 2 number of parameters: 8 id: 53 unit: receive() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/worklets/audio_processor.js start line: 119 end line: 143 size: 25 LOC McCabe index: 6 number of parameters: 1 id: 54 unit: async end() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_recorder.js start line: 504 end line: 532 size: 24 LOC McCabe index: 2 number of parameters: 0 id: 55 unit: export async function POST() file: 6-structured_outputs/structured-outputs-assistant-starting-point/app/api/assistant/get_products/route.ts start line: 3 end line: 26 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 56 unit: export async function POST() file: 6-structured_outputs/structured-outputs-assistant-final/app/api/assistant/get_products/route.ts start line: 3 end line: 26 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 57 unit: def generate_response() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 24 LOC McCabe index: 2 number of parameters: 6 id: 58 unit: def read_csv_data() file: 11-recommendation/upload-to-qdrant.py start line: 0 end line: 0 size: 24 LOC McCabe index: 7 number of parameters: 1 id: 59 unit: formatAudioData() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/worklets/audio_processor.js start line: 54 end line: 76 size: 23 LOC McCabe index: 5 number of parameters: 1 id: 60 unit: def process_folder() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 61 unit: async _event() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_recorder.js start line: 174 end line: 195 size: 22 LOC McCabe index: 6 number of parameters: 3 id: 62 unit: export async function POST() file: 6-structured_outputs/structured-outputs-math-tutor-starting-point/app/api/math_responses/route.ts start line: 50 end line: 73 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 63 unit: export async function POST() file: 6-structured_outputs/structured-outputs-math-tutor-final/app/api/math_responses/route.ts start line: 50 end line: 73 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 64 unit: def query_qdrant() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 22 LOC McCabe index: 4 number of parameters: 2 id: 65 unit: def run_full_turn() file: 2-assistants/3_tools.py start line: 0 end line: 0 size: 21 LOC McCabe index: 5 number of parameters: 3 id: 66 unit: def run_full_turn() file: 2-assistants/2_tools.py start line: 0 end line: 0 size: 20 LOC McCabe index: 4 number of parameters: 3 id: 67 unit: add16BitPCM() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_stream_player.js start line: 103 end line: 122 size: 20 LOC McCabe index: 6 number of parameters: 2 id: 68 unit: async getTrackSampleOffset() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_stream_player.js start line: 129 end line: 148 size: 20 LOC McCabe index: 6 number of parameters: 1 id: 69 unit: export async function POST() file: 6-structured_outputs/structured-outputs-assistant-starting-point/app/api/assistant/search_products/route.ts start line: 3 end line: 24 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 70 unit: export async function POST() file: 6-structured_outputs/structured-outputs-assistant-final/app/api/assistant/search_products/route.ts start line: 3 end line: 24 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 71 unit: def expand_query_with_llm() file: 11-recommendation/helper_functions.py start line: 0 end line: 0 size: 20 LOC McCabe index: 5 number of parameters: 3 id: 72 unit: def fetch_chat_completion() file: 3-4o_mini_fine_tuning/0_generate_eval_data.py start line: 0 end line: 0 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 73 unit: _start() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_stream_player.js start line: 76 end line: 94 size: 19 LOC McCabe index: 3 number of parameters: 0 id: 74 unit: async requestPermission() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_recorder.js start line: 241 end line: 259 size: 19 LOC McCabe index: 4 number of parameters: 0 id: 75 unit: async record() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_recorder.js start line: 434 end line: 452 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 76 unit: def prepare_data_for_indexing() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 19 LOC McCabe index: 7 number of parameters: 2 id: 77 unit: function IconSeparator() file: 6-structured_outputs/structured-outputs-math-tutor-starting-point/components/ui/icons.tsx start line: 90 end line: 107 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 78 unit: function IconSeparator() file: 6-structured_outputs/structured-outputs-math-tutor-final/components/ui/icons.tsx start line: 90 end line: 107 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 79 unit: def get_cot_response() file: 5-4o_fine_tuning/reasoning.py start line: 0 end line: 0 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 80 unit: def check_data_overlap() file: 5-4o_fine_tuning/data_validator.py start line: 0 end line: 0 size: 17 LOC McCabe index: 9 number of parameters: 1 id: 81 unit: async connect() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_stream_player.js start line: 28 end line: 44 size: 17 LOC McCabe index: 3 number of parameters: 0 id: 82 unit: function useEnterSubmit() file: 6-structured_outputs/structured-outputs-math-tutor-starting-point/components/prompt-form.tsx start line: 6 end line: 24 size: 17 LOC McCabe index: 4 number of parameters: 0 id: 83 unit: function useEnterSubmit() file: 6-structured_outputs/structured-outputs-math-tutor-final/components/prompt-form.tsx start line: 6 end line: 24 size: 17 LOC McCabe index: 4 number of parameters: 0 id: 84 unit: export async function GET() file: 6-structured_outputs/structured-outputs-assistant-starting-point/app/api/db/route.ts start line: 3 end line: 19 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 85 unit: export async function POST() file: 6-structured_outputs/structured-outputs-assistant-starting-point/app/api/db/init/route.ts start line: 3 end line: 22 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 86 unit: export async function GET() file: 6-structured_outputs/structured-outputs-assistant-final/app/api/db/route.ts start line: 3 end line: 19 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 87 unit: export async function POST() file: 6-structured_outputs/structured-outputs-assistant-final/app/api/db/init/route.ts start line: 3 end line: 22 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 88 unit: def self_reflect_and_validate_case() file: 3-4o_mini_fine_tuning/0_generate_eval_data.py start line: 0 end line: 0 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: def get_assert() file: 3-4o_mini_fine_tuning/py/assert_last_line_answer.py start line: 0 end line: 0 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 90 unit: writeData() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/worklets/stream_processor.js start line: 45 end line: 59 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 91 unit: async save() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_recorder.js start line: 484 end line: 498 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 92 unit: export default function RootLayout() file: 9-realtime/realtime-from-scratch/app/layout.tsx start line: 21 end line: 35 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 93 unit: function IconArrowRight() file: 6-structured_outputs/structured-outputs-math-tutor-starting-point/components/ui/icons.tsx start line: 11 end line: 25 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 94 unit: function IconRefresh() file: 6-structured_outputs/structured-outputs-math-tutor-starting-point/components/ui/icons.tsx start line: 27 end line: 41 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 95 unit: function IconCheck() file: 6-structured_outputs/structured-outputs-math-tutor-starting-point/components/ui/icons.tsx start line: 58 end line: 72 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 96 unit: function IconClose() file: 6-structured_outputs/structured-outputs-math-tutor-starting-point/components/ui/icons.tsx start line: 74 end line: 88 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 97 unit: function IconArrowRight() file: 6-structured_outputs/structured-outputs-math-tutor-final/components/ui/icons.tsx start line: 11 end line: 25 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 98 unit: function IconRefresh() file: 6-structured_outputs/structured-outputs-math-tutor-final/components/ui/icons.tsx start line: 27 end line: 41 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 99 unit: function IconCheck() file: 6-structured_outputs/structured-outputs-math-tutor-final/components/ui/icons.tsx start line: 58 end line: 72 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 100 unit: function IconClose() file: 6-structured_outputs/structured-outputs-math-tutor-final/components/ui/icons.tsx start line: 74 end line: 88 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 101 unit: export default function RootLayout() file: 6-structured_outputs/structured-outputs-assistant-starting-point/app/layout.tsx start line: 11 end line: 25 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: export default function RootLayout() file: 6-structured_outputs/structured-outputs-assistant-final/app/layout.tsx start line: 11 end line: 25 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: def pdf_to_base64_images() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 104 unit: def execute_query() file: 4-mmrag_tooluse/ingest.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 105 unit: async pause() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_recorder.js start line: 413 end line: 426 size: 14 LOC McCabe index: 4 number of parameters: 0 id: 106 unit: function IconSidebar() file: 6-structured_outputs/structured-outputs-math-tutor-starting-point/components/ui/icons.tsx start line: 43 end line: 56 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 107 unit: function IconSidebar() file: 6-structured_outputs/structured-outputs-math-tutor-final/components/ui/icons.tsx start line: 43 end line: 56 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 108 unit: def process_single_image() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 109 unit: def process_and_index_data() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 14 LOC McCabe index: 4 number of parameters: 0 id: 110 unit: def place_purchase_order() file: 7-reasoning/shipmentPlanning/backend/app.py start line: 0 end line: 0 size: 13 LOC McCabe index: 4 number of parameters: 3 id: 111 unit: def color() file: 2-assistants/demo_util.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 112 unit: export() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/worklets/audio_processor.js start line: 105 end line: 117 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 113 unit: sendChunk() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/worklets/audio_processor.js start line: 145 end line: 157 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: process() file: 9-realtime/realtime-from-scratch/app/hooks/useAudioPlayer.ts start line: 101 end line: 115 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 115 unit: def allocate_stock() file: 7-reasoning/shipmentPlanning/backend/app.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 116 unit: def stream() file: 7-reasoning/shipmentPlanning/backend/app.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 117 unit: def _load_hf_dataset_and_export_to_jsonl() file: 5-4o_fine_tuning/util.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 118 unit: def __init__() file: 5-4o_fine_tuning/data_validator.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 119 unit: def execute_order() file: 2-assistants/7_orchestration.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 120 unit: constructor() file: 9-realtime/realtime-from-scratch/app/hooks/useAudioPlayer.ts start line: 88 end line: 99 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 121 unit: async function getMathSolution() file: 6-structured_outputs/structured-outputs-math-tutor-starting-point/app/api/math_responses/route.ts start line: 33 end line: 48 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: async function getMathSolution() file: 6-structured_outputs/structured-outputs-math-tutor-final/app/api/math_responses/route.ts start line: 33 end line: 48 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 123 unit: def query_rag_system() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 124 unit: def process_self_reflections_parallel() file: 3-4o_mini_fine_tuning/0_generate_eval_data.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 125 unit: export function Spinner() file: 6-structured_outputs/structured-outputs-math-tutor-starting-point/components/ui/spinner.tsx start line: 4 end line: 14 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 126 unit: export function Spinner() file: 6-structured_outputs/structured-outputs-math-tutor-final/components/ui/spinner.tsx start line: 4 end line: 14 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 127 unit: id: formatKey() file: 6-structured_outputs/structured-outputs-assistant-starting-point/lib/components-mapping.tsx start line: 56 end line: 68 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 128 unit: id: formatKey() file: 6-structured_outputs/structured-outputs-assistant-final/lib/components-mapping.tsx start line: 56 end line: 68 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 129 unit: def clean_training_data_sample() file: 5-4o_fine_tuning/reasoning.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 130 unit: floatTo16BitPCM() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/worklets/audio_processor.js start line: 81 end line: 90 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 131 unit: static floatTo16BitPCM() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_packer.js start line: 21 end line: 30 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 132 unit: def create_qdrant_collection() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 133 unit: def create_qdrant_collection() file: 11-recommendation/upload-to-qdrant.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 134 unit: def schedule_production_run() file: 7-reasoning/shipmentPlanning/backend/app.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 135 unit: constructor() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_stream_player.js start line: 14 end line: 22 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 136 unit: getStatus() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_recorder.js start line: 156 end line: 164 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 137 unit: value: parseFloat() file: 6-structured_outputs/structured-outputs-assistant-starting-point/lib/components-mapping.tsx start line: 58 end line: 68 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 138 unit: value: parseFloat() file: 6-structured_outputs/structured-outputs-assistant-final/lib/components-mapping.tsx start line: 58 end line: 68 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 139 unit: def generate_recommendation_explanation() file: 11-recommendation/helper_functions.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 4 id: 140 unit: def update_inventory() file: 7-reasoning/shipmentPlanning/backend/app.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 141 unit: def call_o1() file: 7-reasoning/shipmentPlanning/backend/app.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 142 unit: def clean_code_snippet() file: 5-4o_fine_tuning/util.py start line: 0 end line: 0 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 143 unit: def display_message() file: 5-4o_fine_tuning/data_explorer.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 6 id: 144 unit: static mergeBuffers() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_packer.js start line: 38 end line: 45 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 145 unit: async read() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_recorder.js start line: 470 end line: 477 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 146 unit: def generate_embeddings() file: 11-recommendation/helper_functions.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 147 unit: def process() file: 7-reasoning/shipmentPlanning/backend/app.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 148 unit: def process_scenario() file: 7-reasoning/shipmentPlanning/backend/app.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 149 unit: def get_semgrep_version() file: 5-4o_fine_tuning/util.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 150 unit: def get_file_stats() file: 5-4o_fine_tuning/data_explorer.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 151 unit: def execute_refund() file: 2-assistants/5_escalation.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 152 unit: def execute_refund() file: 2-assistants/7_orchestration.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 153 unit: def execute_refund() file: 2-assistants/3_tools.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 154 unit: def execute_refund() file: 2-assistants/6_agents.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 155 unit: def execute_refund() file: 2-assistants/4_tools.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 156 unit: function App() file: 9-realtime/openai-realtime-console-example/src/App.tsx start line: 4 end line: 10 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 157 unit: async clear() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_recorder.js start line: 458 end line: 464 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 158 unit: function ulawDecode() file: 9-realtime/realtime-from-scratch/app/hooks/useAudioPlayer.ts start line: 60 end line: 68 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 159 unit: function useChart() file: 6-structured_outputs/structured-outputs-assistant-starting-point/components/ui/chart.tsx start line: 32 end line: 40 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 160 unit: export default function Home() file: 6-structured_outputs/structured-outputs-assistant-starting-point/app/page.tsx start line: 3 end line: 9 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 161 unit: function useChart() file: 6-structured_outputs/structured-outputs-assistant-final/components/ui/chart.tsx start line: 32 end line: 40 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 162 unit: export default function Home() file: 6-structured_outputs/structured-outputs-assistant-final/app/page.tsx start line: 3 end line: 9 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 163 unit: def get_database_info() file: 4-mmrag_tooluse/database.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 164 unit: def process_folder() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 165 unit: def spin_up_qdrant_database() file: 11-recommendation/upload-to-qdrant.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 166 unit: def get_supplier_info() file: 7-reasoning/shipmentPlanning/backend/app.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 167 unit: def is_fully_commented() file: 5-4o_fine_tuning/util.py start line: 0 end line: 0 size: 6 LOC McCabe index: 4 number of parameters: 1 id: 168 unit: def escalate_to_human() file: 2-assistants/5_escalation.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 169 unit: def escalate_to_human() file: 2-assistants/7_orchestration.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 170 unit: def escalate_to_human() file: 2-assistants/6_agents.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 171 unit: _packData() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_packer.js start line: 54 end line: 59 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 172 unit: log() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_recorder.js start line: 137 end line: 142 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 173 unit: def get_table_names() file: 4-mmrag_tooluse/database.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 174 unit: def get_column_names() file: 4-mmrag_tooluse/database.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 175 unit: def save_base64_image() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 176 unit: def insert_data_to_qdrant() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 177 unit: def ask_database() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 178 unit: def calculate_shipping_options() file: 7-reasoning/shipmentPlanning/backend/app.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 179 unit: def process_message() file: 3-4o_mini_fine_tuning/2_fine_tuning.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 180 unit: def execute_tool_call() file: 2-assistants/5_escalation.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 181 unit: def execute_tool_call() file: 2-assistants/7_orchestration.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 182 unit: def execute_tool_call() file: 2-assistants/6_agents.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 183 unit: def execute_tool_call() file: 2-assistants/4_tools.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 184 unit: constructor() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/worklets/audio_processor.js start line: 4 end line: 8 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 185 unit: initialize() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/worklets/audio_processor.js start line: 10 end line: 14 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 186 unit: getValues() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/worklets/audio_processor.js start line: 96 end line: 100 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 187 unit: constructor() file: 9-realtime/openai-realtime-console-example/relay-server/lib/relay.js start line: 5 end line: 9 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 188 unit: listen() file: 9-realtime/openai-realtime-console-example/relay-server/lib/relay.js start line: 11 end line: 15 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 189 unit: def encode_image() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 190 unit: def query_qdrant() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 191 unit: def create_and_populate_collection() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 192 unit: def reset_state() file: 7-reasoning/shipmentPlanning/backend/app.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 193 unit: def save_jsonl() file: 5-4o_fine_tuning/data_explorer.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 194 unit: def look_up_item() file: 2-assistants/5_escalation.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 195 unit: def look_up_item() file: 2-assistants/7_orchestration.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 196 unit: def look_up_item() file: 2-assistants/3_tools.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 197 unit: def look_up_item() file: 2-assistants/6_agents.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 198 unit: def look_up_item() file: 2-assistants/4_tools.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 199 unit: def process_images_concurrently() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 200 unit: def analyze_images() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 4 LOC McCabe index: 3 number of parameters: 2 id: 201 unit: def get_inventory_status() file: 7-reasoning/shipmentPlanning/backend/app.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 202 unit: def get_product_details() file: 7-reasoning/shipmentPlanning/backend/app.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 203 unit: def check_available_suppliers() file: 7-reasoning/shipmentPlanning/backend/app.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 204 unit: def check_production_capacity() file: 7-reasoning/shipmentPlanning/backend/app.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 205 unit: def book_shipment() file: 7-reasoning/shipmentPlanning/backend/app.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 206 unit: def process_training_data_sample() file: 5-4o_fine_tuning/reasoning.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 207 unit: getSampleRate() file: 9-realtime/openai-realtime-console-example/src/lib/wavtools/lib/wav_recorder.js start line: 148 end line: 150 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 208 unit: log() file: 9-realtime/openai-realtime-console-example/relay-server/lib/relay.js start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 209 unit: function cn() file: 6-structured_outputs/structured-outputs-math-tutor-starting-point/components/ui/icons.tsx start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 210 unit: response_format: zodResponseFormat() file: 6-structured_outputs/structured-outputs-math-tutor-starting-point/app/api/math_responses/route.ts start line: 40 end line: 43 size: 3 LOC McCabe index: 3 number of parameters: 2 id: 211 unit: function cn() file: 6-structured_outputs/structured-outputs-math-tutor-final/components/ui/icons.tsx start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 212 unit: response_format: zodResponseFormat() file: 6-structured_outputs/structured-outputs-math-tutor-final/app/api/math_responses/route.ts start line: 40 end line: 43 size: 3 LOC McCabe index: 3 number of parameters: 2 id: 213 unit: await initDb() file: 6-structured_outputs/structured-outputs-assistant-starting-point/app/api/db/init/route.ts start line: 6 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 214 unit: export function cn() file: 6-structured_outputs/structured-outputs-assistant-starting-point/lib/utils.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 215 unit: await initDb() file: 6-structured_outputs/structured-outputs-assistant-final/app/api/db/init/route.ts start line: 6 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 216 unit: export function cn() file: 6-structured_outputs/structured-outputs-assistant-final/lib/utils.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 217 unit: def get_embedding() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 218 unit: def fetch_new_orders() file: 7-reasoning/shipmentPlanning/backend/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 219 unit: def send_order_update() file: 7-reasoning/shipmentPlanning/backend/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 220 unit: def append_message() file: 7-reasoning/shipmentPlanning/backend/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 221 unit: def load_jsonl() file: 5-4o_fine_tuning/data_explorer.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 222 unit: def clean_filename() file: 5-4o_fine_tuning/eval.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 223 unit: def request_new_sample() file: 8-evals/01_create_stanbot_draft_datasett.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 224 unit: def request_new_sample() file: 8-evals/03_create_summary_grader_dataset.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 225 unit: def sample_function() file: 2-assistants/demo_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 226 unit: def transfer_to_sales_agent() file: 2-assistants/7_orchestration.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 227 unit: def transfer_to_issues_and_repairs() file: 2-assistants/7_orchestration.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 228 unit: def transfer_back_to_triage() file: 2-assistants/7_orchestration.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 229 unit: export function useAudioPlayer() file: 9-realtime/realtime-from-scratch/app/hooks/useAudioPlayer.ts start line: 14 end line: 15 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 230 unit: await processMessages() file: 6-structured_outputs/structured-outputs-assistant-final/components/assistant.tsx start line: 68 end line: 69 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 231 unit: def __init__() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 232 unit: def query() file: 4-mmrag_tooluse/mmrag_bh.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3