MCPcopy Create free account

hub / github.com/harvard-edge/cs249r_book / functions

Functions13,553 in github.com/harvard-edge/cs249r_book

↓ 2 callersFunctionextractNouns
(text)
socratiq/src_shadow/js/libs/agents/key_terms_summary.js:77
↓ 2 callersMethodextractPageText
* Extract text content from the current page * @param {boolean} excludeNav - Whether to exclude navigation elements (default: true) * @returns {
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:10287
↓ 2 callersMethodextractPageText
(e=!0)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callersFunctionextractPythonBlocks
* Extracts all ```{python} code blocks from a QMD document text. * Returns the concatenated Python source and a simple hash.
book/vscode-ext/src/providers/qmdPythonValueResolver.ts:41
↓ 2 callersMethodextractSelectionData
* Extract selection data
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5721
↓ 2 callersMethodextractSelectionData
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callersFunctionextractTOCWithDebug
(options = {})
socratiq/src_shadow/js/libs/utils/tocExtractor.js:307
↓ 2 callersFunctionextractVisibleText
(element)
socratiq/src_shadow/js/libs/utils/save_chats.js:69
↓ 2 callersMethodextract_caption_from_yaml_value
Extract the actual caption text from a YAML value, handling quoted and unquoted cases. Args: yaml_value: The YAML value
book/tools/scripts/content/manage_captions.py:727
↓ 2 callersFunctionextract_cells_from_row
Split a table row into cells, respecting the grid structure.
book/tools/scripts/content/validate_tables.py:118
↓ 2 callersFunctionextract_chapter_info
Extract chapter number and title from file path. This function maps file paths to chapter numbers based on the book's structure as defin
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:4125
↓ 2 callersMethodextract_figure_images
r""" Extract markdown images with or without #fig references. Returns list of tuples: (full_match, caption, url, fig_id, attributes)
book/tools/scripts/images/manage_external_images.py:116
↓ 2 callersFunctionextract_json_array
Best-effort JSON-array extraction tolerant to markdown fences.
interviews/vault/scripts/gemini_cli_generate_questions.py:366
↓ 2 callersFunctionextract_math_context
(tex_path: Path, output_path: Path)
book/tools/scripts/audit/math_chapter_workflow.py:366
↓ 2 callersFunctionextract_python_cells
Yield ``(fence_line, source)`` for each `````{python}``` fenced block.
book/cli/checks/fmt_prose_contract.py:56
↓ 2 callersFunctionextract_tab_keys
Extract tab key strings from mo.ui.tabs({...}) calls.
labs/tests/test_protocol.py:63
↓ 2 callersFunctionextract_test_purpose
Extract WHAT/WHY/HOW from test docstrings. Returns dict with keys: 'what', 'why', 'learning', 'raw'
tinytorch/tests/conftest.py:148
↓ 2 callersFunctionextract_text_content
Return a sorted list of all text content from <text> and <tspan> nodes. Normalises whitespace so trivial reflow doesn't trip the audit.
book/tools/scripts/audit/svg_audit.py:284
↓ 2 callersFunctionf
(e)
book/quarto/_extensions/quarto-ext/lightbox/resources/js/glightbox.min.js:1
↓ 2 callersFunctionfade
(t)
tinytorch/quarto/community/modules/noise.js:12
↓ 2 callersFunctionfairness_tax
(chapter, name, left_label, left_pct, right_label, right_pct)
book/tools/scripts/margin_figures/generate_margin_figures.py:1530
↓ 2 callersFunctionfake_quantize_int8
Per-tensor symmetric INT8 quantize -> dequantize (no speedup).
mlperf-edu/reference/mobile/mobilenet_compress.py:75
↓ 2 callersFunctionfast_tier
Fast-tier invariants — pre-commit-hook speed.
interviews/vault-cli/src/vault_cli/validator.py:47
↓ 2 callersFunctionfigures_from_state
(state: Dict)
book/tools/scripts/audit/svg_audit.py:857
↓ 2 callersFunctionfindClosestAIMessage
(element)
socratiq/src_shadow/js/libs/utils/utils.js:572
↓ 2 callersFunctionfindHover
(px, py)
site/assets/games/prune.mjs:191
↓ 2 callersFunctionfindHover
(px, py)
site/assets/games/prune.js:165
↓ 2 callersMethodfindNextH1Position
(tocData, currentPosition)
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:2235
↓ 2 callersMethodfindNextSiblingPosition
(node)
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:2357
↓ 2 callersFunctionfind_cell_at_line
Return (start_idx, end_idx) for cell containing 1-based line_no.
book/tools/audit/split_multi_class_cells.py:23
↓ 2 callersFunctionfind_deficit_cells
Find all cells below their weighted target (coverage gaps).
interviews/vault/scripts/vault_loop.py:168
↓ 2 callersFunctionfind_draft
Resolve a qid to its draft path. Returns None if no draft for qid exists.
interviews/vault-cli/scripts/promote_drafts.py:64
↓ 2 callersFunctionfind_grid_tables
Find all grid tables in content. Returns: list of (start_line, end_line, table_lines)
book/tools/scripts/utilities/convert_grid_to_pipe_tables.py:176
↓ 2 callersFunctionfind_in_text
Find every `<number> percent` inside a pipe table in *text*.
book/cli/checks/percent_tables.py:113
↓ 2 callersFunctionfind_page
Find the page containing an anchor built from `words`; try decreasing lengths so a stray apostrophe/value in one token can't break the match.
book/tools/audit/check_purpose_overflow.py:44
↓ 2 callersFunctionfind_pipe_tables
Find all pipe tables in content, skipping code blocks. Returns: list of (start_line, end_line, table_lines)
book/tools/scripts/utilities/prettify_pipe_tables.py:186
↓ 2 callersMethodfind_problems
Find and display problematic source patterns
book/tools/scripts/utilities/manage_sources.py:277
↓ 2 callersFunctionfind_prose_percent
Find every number-followed-by-``%`` in running body prose in *text*.
book/cli/checks/percent_prose.py:80
↓ 2 callersMethodfind_qmd_files
Find QMD files based on target directories/files or all files
book/tools/scripts/utilities/manage_sources.py:83
↓ 2 callersMethodfind_qmd_files
Find all .qmd files recursively in the base directory. Recursively searches through all subdirectories to find any .qmd files,
book/tools/scripts/images/manage_external_images.py:92
↓ 2 callersFunctionfind_question_file
Locate a question YAML by id.
interviews/vault-cli/scripts/apply_corrections.py:85
↓ 2 callersFunctionfind_question_file
(qid: str)
interviews/vault-cli/scripts/verify_math_corrections.py:63
↓ 2 callersFunctionfind_question_file
(qid: str)
interviews/vault-cli/scripts/mass_apply_corrections.py:168
↓ 2 callersFunctionfind_scope
Return the first scope whose path prefix matches `rel_path`, or None. `rel_path` is the file's path relative to REPO_ROOT, with forward slashes.
book/tools/scripts/check_bib_qmd_integrity.py:232
↓ 2 callersFunctionfind_scope
(rel_path: str)
book/tools/scripts/build_citation_reference_packets.py:158
↓ 2 callersMethodfind_table_definition_in_qmd
Unified table detection using the specialized detect_table function. Args: content: QMD file content tbl_id:
book/tools/scripts/content/manage_captions.py:1672
↓ 2 callersFunctionfind_tables
Find ASCII tables (boxes with column separators ┬ ┼ ┴). Returns list of (start_line, end_line, lines) tuples.
tinytorch/tools/dev/fix_ascii_boxes.py:189
↓ 2 callersFunctionfireBtnRect
()
site/assets/games/quantization.js:183
↓ 2 callersFunctionfirst_prose_after
(blks: list[tuple[int, int, str]], after_line: int)
book/tools/audit/float_explanation/scan_floats.py:79
↓ 2 callersFunctionfix_ollama_response_format
Fix common format issues in Ollama responses to match expected schema. Ollama models may not perfectly follow the schema, so this function
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:2176
↓ 2 callersFunctionflatten
Flatten spatial features for dense layers - YOUR implementation!
tinytorch/milestones/04_1998_cnn/02_lecun_cifar10.py:212
↓ 2 callersMethodflatten
(x, start_dim=1)
tinytorch/tests/integration/test_forward_passes.py:67
↓ 2 callersFunctionflushAnalytics
()
interviews/staffml/src/lib/analytics.ts:191
↓ 2 callersFunctionflushToRemote
()
interviews/staffml/src/lib/analytics.ts:124
↓ 2 callersFunctionfmt_area
Format physical areas, defaulting to chip-scale mm² when appropriate.
mlsysim/mlsysim/fmt.py:2815
↓ 2 callersFunctionfmt_carbon_intensity
Format grid carbon intensity quantities (typically g/kWh).
mlsysim/mlsysim/fmt.py:2963
↓ 2 callersFunctionfmt_energy_per_bit
Format signaling or link energy intensity, conventionally as pJ/bit.
mlsysim/mlsysim/fmt.py:2684
↓ 2 callersFunctionfmt_energy_per_byte
Format data-movement energy intensity, conventionally as pJ/byte.
mlsysim/mlsysim/fmt.py:2653
↓ 2 callersFunctionfmt_energy_per_flop
Format compute energy intensity, conventionally as pJ/FLOP.
mlsysim/mlsysim/fmt.py:2715
↓ 2 callersFunctionfmt_heat_flux
Format heat flux / power density quantities, conventionally as W/cm².
mlsysim/mlsysim/fmt.py:2832
↓ 2 callersFunctionfmt_length
Format length/distance quantities for prose (m or km). When ``unit`` is omitted, values under 1,000 m render in meters; longer distances auto
mlsysim/mlsysim/fmt.py:2795
↓ 2 callersFunctionfmt_magnitude
Format a Pint quantity's magnitude in an explicit unit, without a suffix. This is the sanctioned scalar boundary for algebraic displays where the
mlsysim/mlsysim/fmt.py:1949
↓ 2 callersFunctionfmt_specific_heat
Format specific heat capacity quantities with the textbook J/kg/K label.
mlsysim/mlsysim/fmt.py:2850
↓ 2 callersFunctionfmt_water
Format water volume quantities with compact liter labels.
mlsysim/mlsysim/fmt.py:2992
↓ 2 callersFunctionfmt_water_intensity
Format water usage effectiveness style quantities such as L/kWh.
mlsysim/mlsysim/fmt.py:3036
↓ 2 callersFunctionforceInitializeSocratiqDB
()
socratiq/src_shadow/js/libs/utils/indexDb.js:373
↓ 2 callersFunctionformatSinglePaper
(result, index)
socratiq/src_shadow/js/libs/agents/research.js:102
↓ 2 callersFunctionformatTime
(seconds: number)
interviews/staffml/src/app/gauntlet/page.tsx:305
↓ 2 callersFunctionformatTrackName
(t: string)
interviews/staffml/src/components/vault/TopicDetail.tsx:15
↓ 2 callersMethodformat_bold_explanation_caption
Format caption to ensure proper **bold**: explanation capitalization. Bold part: Title Case, Explanation part: Proper sentence case
book/tools/scripts/content/manage_captions.py:453
↓ 2 callersMethodformat_questions_with_buttons
Format questions for display with status indicators
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:2803
↓ 2 callersFunctionformat_quiz_information
Format quiz information for display including rationale and metadata. This function creates a formatted display of quiz information for
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:3072
↓ 2 callersFunctionformat_size
(bytes)
tinytorch/src/08_training/08_training.py:1765
↓ 2 callersFunctionformat_table_lines
Format a parsed table into properly formatted lines.
book/tools/scripts/content/format_tables.py:601
↓ 2 callersFunctionformula_rows
Compact symbolic rows for formulas or ratios that should not become bars.
book/tools/scripts/margin_figures/generate_margin_figures.py:530
↓ 2 callersMethodforward
(self, x)
tinytorch/src/19_benchmarking/19_benchmarking.py:733
↓ 2 callersMethodforward
(self, x)
tinytorch/milestones/04_1998_cnn/01_lecun_tinydigits.py:248
↓ 2 callersFunctionframework_track_profile
Build a source-traced framework/runtime profile from variant defaults.
labs/mlsysbook_labs/frameworks.py:188
↓ 2 callersFunctionfreeCell
(r, c, particleColor, particleN)
site/assets/games/oom.mjs:329
↓ 2 callersFunctionfresh_output_dir
(path: Path)
interviews/vault/scripts/migrate_to_v1_0.py:333
↓ 2 callersFunctionfusion_traffic
Estimate memory traffic saved by fusing elementwise kernels.
labs/mlsysbook_labs/roofline.py:138
↓ 2 callersFunctiongap_score
Higher score = bigger gap, more important. Negative score means over-filled.
interviews/vault/scripts/analyze_coverage_gaps.py:161
↓ 2 callersFunctiongateScreenshot
(label, theme)
interviews/staffml/tests/stargate-test.mjs:50
↓ 2 callersFunctiongenerateChunk
(offsetZ, skyState)
tinytorch/quarto/community/modules/dotism.js:30
↓ 2 callersFunctiongenerateContentHash
(base64Content, timestamp)
socratiq/src_shadow/js/libs/utils/hashUtils.js:16
↓ 2 callersFunctiongenerateCustomPathQuestions
(path: CustomPath)
interviews/staffml/src/lib/plans.ts:223
↓ 2 callersFunctiongenerateDiagramId
(type_of_custom_event, text, type_of_action, id)
socratiq/src_shadow/js/components/highlight/highlight.js:114
↓ 2 callersMethodgenerateFlashcards
(text)
socratiq/src_shadow/js/libs/agents/duck-ai.js:72
↓ 2 callersMethodgenerateQuizId
* Generate unique quiz ID * @returns {string} Unique quiz identifier
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:3057
↓ 2 callersMethodgenerateQuizId
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callersMethodgenerateRandomUsername
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:62
↓ 2 callersMethodgenerateRandomUsername
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callersFunctiongenerateReq
()
site/assets/games/kvcache.mjs:89
↓ 2 callersFunctiongenerateStableClassId
(textContent)
socratiq/src_shadow/js/components/quizBtns/create_text_ref.js:53
↓ 2 callersMethodgenerateSystemPrompt
()
socratiq/src_shadow/js/components/settings/settings.js:181
↓ 2 callersFunctiongenerate_copy_data
Generate sequence copying dataset.
tinytorch/milestones/05_2017_transformer/01_vaswani_attention.py:325
↓ 2 callersFunctiongenerate_for_file
Generate quizzes for a single QMD file. This function processes a single QMD file to generate quiz questions for each section. It extrac
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:4767
↓ 2 callersFunctiongenerate_mixed_data
Generate mixed task dataset with prefix tokens.
tinytorch/milestones/05_2017_transformer/01_vaswani_attention.py:334
↓ 2 callersMethodgenerate_report
Generate detailed JSON report
book/tools/scripts/utilities/manage_sources.py:426
↓ 2 callersFunctiongenerate_reversal_data
Generate sequence reversal dataset.
tinytorch/milestones/05_2017_transformer/01_vaswani_attention.py:315
← previousnext →2,601–2,700 of 13,553, ranked by callers