Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/harvard-edge/cs249r_book
/ functions
Functions
13,553 in github.com/harvard-edge/cs249r_book
⨍
Functions
13,553
◇
Types & classes
1,810
↳
Endpoints
20
↓ 1 callers
Method
extractKapootQuizData
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
extractKeywords
()
socratiq/src_shadow/js/components/quizBtns/create_text_ref.js:110
↓ 1 callers
Function
extractMermaidAndCaption
(text)
socratiq/src_shadow/js/libs/diagram/mermaid_flow.js:71
↓ 1 callers
Function
extractMeta
( rawMessage: string, )
interviews/staffml/src/lib/interview-api.ts:70
↓ 1 callers
Function
extractPageTextWithSourcesForQuiz
(rootElement = document.body)
socratiq/src_shadow/js/utils/textExtractor.js:348
↓ 1 callers
Function
extractQuestion
(text)
socratiq/src_shadow/js/libs/utils/utils.js:54
↓ 1 callers
Method
extractQuestion
* Extract question from @MC message * @param {string} message - User message * @returns {string|null} Extracted question or null
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:11546
↓ 1 callers
Method
extractQuestion
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
extractScenarioName
Try to extract the scenario name from the YAML file's name: field
mlsysim/vscode-ext/src/providers/scenarioTreeProvider.ts:49
↓ 1 callers
Function
extractSubsections
()
socratiq/src_shadow/js/components/quizBtns/create_text_ref.js:59
↓ 1 callers
Function
extractTextContent
* Extracts text content from a DOM element, excluding navigation components * @param {Element} rootElement - The root element to extract text from (d
socratiq/src_shadow/js/utils/textExtractor.js:52
↓ 1 callers
Function
extractTextContentWithSources
* Extracts text content with source mapping for reference tracking * @param {Element} rootElement - The root element to extract text from (defaults t
socratiq/src_shadow/js/utils/textExtractor.js:92
↓ 1 callers
Method
extractTextFromElement
* Extract text content from an element * @param {HTMLElement} element - Element to extract text from * @returns {string} Extracted text content
socratiq/src_shadow/js/utils/viewportContextCapture.js:169
↓ 1 callers
Function
extract_all_curly_brace_text
Extract all text content from curly braces that could be visible text. Returns: List of (text, context, char_position) tuples
book/tools/scripts/content/check_tikz_spelling.py:108
↓ 1 callers
Function
extract_all_index_calls
Return (all_keys_in_order, key_to_files_map).
book/tools/audit/index/audit.py:36
↓ 1 callers
Function
extract_aware
(path: Path)
scripts/cross-references/merge_crossref_reports.py:109
↓ 1 callers
Function
extract_bib_value
(entry_text: str, field: str)
book/tools/scripts/build_citation_reference_packets.py:275
↓ 1 callers
Function
extract_blind
(path: Path)
scripts/cross-references/merge_crossref_reports.py:142
↓ 1 callers
Function
extract_blocks
(content)
tools/validate_playbook.py:26
↓ 1 callers
Function
extract_bold_terms_in_body
Bold spans (**Term**) in body prose — count occurrences across the corpus. Aggressively filter narrative labels (callout headers, step markers,
book/tools/audit/index/audit.py:100
↓ 1 callers
Function
extract_chapter_title
Extract the chapter title from a .qmd file. Looks for the first line starting with '# ' that is the chapter heading.
book/tools/scripts/publish/extract_figures.py:64
↓ 1 callers
Function
extract_chapter_title_from_qmd
Extract the chapter title from the main # header in a QMD file. Args: qmd_file_path (str): Path to the QMD file Returns:
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:5115
↓ 1 callers
Function
extract_cited_keys
Return all bibliography citation keys used in a QMD file.
book/quarto/scripts/check_references.py:58
↓ 1 callers
Function
extract_cites
(path)
book/tools/scripts/check_bib_boundaries.py:64
↓ 1 callers
Function
extract_code_blocks
Find all code blocks (```...``` and TikZ blocks). Returns: List of (start_pos, end_pos) tuples
book/tools/scripts/content/check_prose_spelling.py:60
↓ 1 callers
Function
extract_container_info
Extract container information from log content.
book/tools/scripts/infrastructure/list_containers.py:59
↓ 1 callers
Function
extract_epub
Extract EPUB to temporary directory.
book/quarto/scripts/epub_postprocess.py:265
↓ 1 callers
Function
extract_exports_from_header
Extract export variable names from the PICO header comment.
book/tools/scripts/transform_pico_cells.py:20
↓ 1 callers
Function
extract_figures_all
Extract all figures from a .qmd file with all three attributes. Supports: - Div/markdown attribute figures: {#fig-ID fig-cap="..." fig
book/tools/scripts/publish/extract_figures.py:165
↓ 1 callers
Method
extract_from_file
Extract LaTeX package dependencies from a file. Args: file_path: Path to the file to analyze Returns:
book/tools/scripts/maintenance/update_texlive_packages.py:59
↓ 1 callers
Function
extract_glossary_terms
Glossary terms are bold lines `**term**` followed by `: definition` line.
book/tools/audit/index/audit.py:69
↓ 1 callers
Function
extract_glossary_terms
(path: Path)
book/tools/scripts/content/glossary_gap_review.py:94
↓ 1 callers
Function
extract_hardware_references
Extract Hardware.Tier.Device references from source.
labs/tests/test_protocol.py:75
↓ 1 callers
Function
extract_inline_code
Find all inline code spans (`...`). Returns: List of (start_pos, end_pos) tuples
book/tools/scripts/content/check_prose_spelling.py:82
↓ 1 callers
Function
extract_lab_number
Extract the lab number from the filename (e.g., lab_05_foo -> 5).
labs/tests/test_protocol.py:50
↓ 1 callers
Function
extract_links_and_urls
Find all markdown links and URLs. Returns: List of (start_pos, end_pos) tuples
book/tools/scripts/content/check_prose_spelling.py:118
↓ 1 callers
Function
extract_math_blocks
Find all LaTeX math blocks ($...$, $$...$$). Returns: List of (start_pos, end_pos) tuples
book/tools/scripts/content/check_prose_spelling.py:96
↓ 1 callers
Function
extract_option_tokens
(option_text: str)
book/tools/scripts/testing/tikz_style_linter.py:85
↓ 1 callers
Function
extract_packets
(qmd: Path)
book/tools/audit/lego_prose_coherence.py:153
↓ 1 callers
Method
extract_paragraph_context
Extract focused context: paragraph with figure + adjacent paragraphs.
book/tools/scripts/content/manage_captions.py:813
↓ 1 callers
Function
extract_prose_text
Extract only prose text from QMD content. Returns: List of (text, line_number) tuples
book/tools/scripts/content/check_prose_spelling.py:178
↓ 1 callers
Function
extract_python_blocks
Extract (start_line_number, block_content) tuples from QMD Python code blocks. Recognises both: ```{python} — regular code bl
book/tools/scripts/maintenance/validate_pint_usage.py:102
↓ 1 callers
Function
extract_qmd_cites
Extract all citation keys from .qmd content, skipping code/yaml/inline-backticks.
book/tools/scripts/check_bib_qmd_integrity.py:161
↓ 1 callers
Function
extract_qmd_figures
Extract figures from QMD files in config order (or scan all if specified).
book/quarto/scripts/mit_press/generate_figure_list.py:160
↓ 1 callers
Function
extract_quarto_syntax
Find Quarto-specific syntax to exclude. Returns: List of (start_pos, end_pos) tuples
book/tools/scripts/content/check_prose_spelling.py:148
↓ 1 callers
Function
extract_radio_options
Extract mo.ui.radio() calls and their options from source code. Returns list of {variable_name, options_dict, line_number}.
labs/tests/test_widget.py:34
↓ 1 callers
Method
extract_references_with_pypandoc
Use pypandoc to systematically extract figure/table references and their context. This approach: 1. Parses QMD to structured
book/tools/scripts/content/manage_captions.py:3382
↓ 1 callers
Function
extract_section_headers
Section headers (## / ### titles) — these are major topic anchors.
book/tools/audit/index/audit.py:147
↓ 1 callers
Function
extract_sections
Return a list of ``{"id", "title", "text"}`` dicts, one per ``##`` section that carries a ``{#sec-...}`` anchor. Sections without an anchor ar
book/tools/scripts/quizzes/build_audit_context.py:104
↓ 1 callers
Function
extract_sections
Extract each section to its own file. Args: chapter: Parsed chapter structure output_dir: Directory to write section files
book/tools/scripts/content/section_splitter.py:425
↓ 1 callers
Function
extract_slider_ranges
Extract mo.ui.slider() calls with their start/stop/value params.
labs/tests/test_widget.py:53
↓ 1 callers
Function
extract_tables_from_file
Extract all tables from a file. Returns: List of (start_line, table_lines, end_line) tuples
book/tools/scripts/content/format_tables.py:742
↓ 1 callers
Function
extract_tex_cites
Extract all citation keys from LaTeX content.
book/tools/scripts/check_bib_qmd_integrity.py:204
↓ 1 callers
Function
extract_text
(pdf: Path)
tools/audit/audit_math_pdf.py:179
↓ 1 callers
Function
extract_text_from_foreach
r""" Extract text from \foreach loops which often contain labels. Pattern: \\foreach \\i/\\j/... in {val1/{Text 1}/val2, val2/{Text 2}/val3,
book/tools/scripts/content/check_tikz_spelling.py:159
↓ 1 callers
Function
extract_text_from_inlines
Extract plain text from pandoc inline elements.
book/tools/scripts/content/section_splitter.py:120
↓ 1 callers
Function
extract_text_from_tikz
Extract ALL human-readable text from TikZ code. Returns: List of (text, context) tuples where context shows where the text was found
book/tools/scripts/content/check_tikz_spelling.py:189
↓ 1 callers
Function
extract_tikz_blocks
Extract TikZ code blocks with their starting line numbers. Returns: List of (tikz_content, start_line_number) tuples
book/tools/scripts/content/check_tikz_spelling.py:33
↓ 1 callers
Function
extract_tito_commands
Extract all tito commands from a markdown file. Returns list of (line_number, command) tuples. Only extracts commands that look like actual C
tinytorch/tools/dev/validate_cli_docs.py:75
↓ 1 callers
Function
extract_unique_images
Group by (srcsize, rounded rendered dims). Same source image used at the same size on many pages (e.g., header wordmark) collapses into o
tinytorch/quarto/tools/measure-pdf-images.py:214
↓ 1 callers
Function
extract_yaml_frontmatter
Find the start and end positions of YAML frontmatter. Returns: Tuple of (start_pos, end_pos) or (0, 0) if no frontmatter
book/tools/scripts/content/check_prose_spelling.py:38
↓ 1 callers
Function
fault_tolerance_checkpoint_payload
(candidate=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:1273
↓ 1 callers
Function
fault_tolerance_kv_live_state_ladder
()
book/tools/scripts/margin_figures/generate_margin_figures.py:472
↓ 1 callers
Function
fault_tolerance_replica_downtime
(candidate=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:1286
↓ 1 callers
Function
fetchArxivDataForTerms
(searchTerms, num_papers)
socratiq/src_shadow/js/libs/agents/research.js:8
↓ 1 callers
Function
fetchPapers
(topics, num_papers=5)
socratiq/src_shadow/js/libs/agents/research.js:485
↓ 1 callers
Method
fetchPapers
()
tinytorch/quarto/community/arxiv_service.js:10
↓ 1 callers
Function
fetchPapersFromSemanticScholar_sort_by_citation
(topic)
socratiq/src_shadow/js/libs/agents/research.js:405
↓ 1 callers
Function
fetchStarCount
()
interviews/staffml/src/lib/star-gate.ts:97
↓ 1 callers
Function
fetchUserProfile
()
tinytorch/quarto/community/modules/profile.js:213
↓ 1 callers
Function
fetch_hf_config
Fetches the config.json from Hugging Face with retries and timeout.
mlsysim/mlsysim/models/importer.py:13
↓ 1 callers
Function
fig1_training_curves
2x3 grid of training/validation loss curves for all workloads.
mlperf-edu/paper/generate_figures.py:65
↓ 1 callers
Function
fig2_convergence_summary
Bar chart: final train vs val loss for all workloads.
mlperf-edu/paper/generate_figures.py:112
↓ 1 callers
Function
fig3_model_size_comparison
Model size comparison: MLPerf Official vs MLPerf EDU.
mlperf-edu/paper/generate_figures.py:155
↓ 1 callers
Function
fig4_dataset_provenance
Dataset provenance and flow diagram (simplified as table-style figure).
mlperf-edu/paper/generate_figures.py:191
↓ 1 callers
Function
fig_block
Isolate the fig-ai-performance tikz block.
book/tools/audit/check_fig_ai_performance_drift.py:64
↓ 1 callers
Function
fig_corpus_distribution
(stats)
interviews/paper/scripts/generate_figures.py:116
↓ 1 callers
Function
fig_format_balance
(stats)
interviews/paper/scripts/generate_figures.py:202
↓ 1 callers
Function
fig_zone_distribution
(stats)
interviews/paper/scripts/generate_figures.py:269
↓ 1 callers
Function
fig_zone_level_heatmap
(stats)
interviews/paper/scripts/generate_figures.py:332
↓ 1 callers
Function
fillPromptTemplate
(prompt, data)
socratiq/src_shadow/js/libs/utils/prompt_templater.js:17
↓ 1 callers
Function
filterAndProcessQuizData
(quizData)
socratiq/src_shadow/js/components/quiz/backupQuiz.js:117
↓ 1 callers
Method
filterDashboardCards
(needle)
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-inner-search-modal.js:238
↓ 1 callers
Method
filterDuplicateHeadings
(tocData)
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:305
↓ 1 callers
Function
filterHash
Compute a short stable hash of the filter param set for cursor binding.
interviews/staffml-vault-worker/src/index.ts:279
↓ 1 callers
Function
finalize_metadata
Fix metadata counts to match actual entries (defense against model off-by-one reporting). ``total_sections`` = total ``##`` entries; ``section
book/tools/scripts/quizzes/generate_quizzes.py:672
↓ 1 callers
Function
finalize_web_figure
Match Quarto web defaults while publication figures keep print DPI.
book/tools/figures/style.py:78
↓ 1 callers
Function
finalize_yaml
Mark migration audit entries complete after QMD migration lands.
book/tools/audit/refresh_mlsysim_constants_yamls.py:57
↓ 1 callers
Function
findAcronymsInText
(text: string)
interviews/staffml/src/lib/glossary.ts:44
↓ 1 callers
Method
findAllReferenceNumbersInShadowDOMs
* Find all reference numbers in shadow DOMs * @returns {Array} Array of reference number elements
socratiq/src_shadow/js/components/tooltip/persistentTooltip.js:69
↓ 1 callers
Function
findBestTitleMatch
* Find the best title match using fuzzy string matching * @param {string} quizTitle - The quiz title to match * @param {Array} chapterMapEntries - A
socratiq/src_shadow/js/components/quiz/chapterMapService.js:44
↓ 1 callers
Function
findClosestFingerprints
(targetFingerprint, numMatches = 10)
socratiq/src_shadow/js/libs/agents/fuzzy_match.js:150
↓ 1 callers
Method
findCurrentUserTeam
* Find current user's team * @returns {Object|null} Current user's team or null
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:4112
↓ 1 callers
Method
findCurrentUserTeam
* Find the current user's team from the teams array * @param {Array} teams - Array of team objects * @returns {string|null} Team name or null
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:4724
↓ 1 callers
Method
findCurrentUserTeam
* Find current user's team from quiz data * @param {Object} quiz - Quiz object * @returns {string|null} Team name or null
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:12172
↓ 1 callers
Method
findCurrentUserTeam
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
findCurrentUserTeam
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
findCurrentUserTeam
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
findFirstDifference
(str1, str2)
socratiq/src_shadow/js/libs/utils/hashTestUtils.js:41
↓ 1 callers
Method
findHubQmd
(contentsDir: string, platformPath: string)
kits/vscode-ext/src/providers/platformTreeProvider.ts:107
← previous
next →
5,601–5,700 of 13,553, ranked by callers