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
↓ 3 callers
Function
escapeHtml
* Escape HTML characters * @param {string} text - Text to escape * @returns {string} - Escaped text
socratiq/src_shadow/js/components/markdown/reference_renderer.js:184
↓ 3 callers
Function
escapeHtml
(value)
socratiq/src_shadow/js/components/quiz/showQuizStats.js:54
↓ 3 callers
Method
escapeHtml
* Escape HTML for safe display
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:7242
↓ 3 callers
Function
evaluate_accuracy
Evaluate model accuracy on a dataset.
tinytorch/milestones/04_1998_cnn/01_lecun_tinydigits.py:293
↓ 3 callers
Function
evaluate_pipeline
Evaluate pipeline stage utilization and retention pressure.
labs/mlsysbook_labs/data_pipeline.py:213
↓ 3 callers
Method
execute_call
Validate and execute a function call.
mlperf-edu/reference/cloud/nano_toolcall_agent.py:145
↓ 3 callers
Function
expandToCurrentPage
()
book/quarto/assets/scripts/sidebar-auto-collapse.js:8
↓ 3 callers
Function
explanation_overhead
Compute explanation latency overhead for common teaching methods.
labs/mlsysbook_labs/responsibility.py:273
↓ 3 callers
Function
extractFirstTwoSentences
(abstract)
socratiq/src_shadow/js/libs/agents/research.js:440
↓ 3 callers
Function
extractKeyTerms
(text)
socratiq/src_shadow/js/libs/agents/key_terms_summary.js:4
↓ 3 callers
Function
extractRubric
( solution: string, commonMistake?: string, napkinMath?: string )
interviews/staffml/src/lib/rubric.ts:19
↓ 3 callers
Function
extract_all_chapter_concepts
Pre-extract all chapter topics_covered data for efficient quiz generation. Reads topics_covered from external YAML files referenced in chapter fr
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:1921
↓ 3 callers
Function
extract_prose
Extract clean teaching prose from a QMD chapter file. Returns text with section headers and paragraph prose only.
interviews/vault/scripts/preprocess.py:26
↓ 3 callers
Function
filter_questions
Apply the policy predicate; return the questions that pass.
interviews/vault-cli/src/vault_cli/policy.py:40
↓ 3 callers
Function
find_deficit_cells
Find all cells below their weighted target.
interviews/vault/scripts/vault_fill.py:87
↓ 3 callers
Function
find_hygiene_issues
Walk repo source and return (issues, num_files_checked). Parameters ---------- repo_root : Path Absolute path to the repository r
book/cli/commands/_epub_checks.py:378
↓ 3 callers
Function
find_in_text
(text: str)
book/cli/checks/mitpress_terms.py:134
↓ 3 callers
Method
find_large_files_in_history
Find large files in git history
book/tools/scripts/maintenance/repo_health_check.py:142
↓ 3 callers
Method
find_listing_definition_in_qmd
Find a listing definition in QMD content. Args: content (str): QMD file content lst_id (str): Listing ID to
book/tools/scripts/content/manage_captions.py:3776
↓ 3 callers
Method
find_qmd_files_in_order
Find QMD files following the book's chapter order from _quarto.yml.
book/tools/scripts/content/manage_captions.py:252
↓ 3 callers
Function
find_source_file_for_export
Map an exported package file back to its source file.
tinytorch/tito/commands/export_utils.py:225
↓ 3 callers
Function
find_violations
Return all heading-case violations across the given .qmd files. Used by ``binder check headers --scope case`` (native, no subprocess) and by
book/cli/commands/headings.py:141
↓ 3 callers
Function
fireShot
()
site/assets/games/quantization.mjs:504
↓ 3 callers
Function
fireShot
()
site/assets/games/quantization.js:115
↓ 3 callers
Function
firstTimeSaveHtmlContent
( title, htmlContent, storeName = "tinyMLDB_chats" )
socratiq/src_shadow/js/libs/utils/save_chats.js:27
↓ 3 callers
Function
fix_text
Rewrite `<number> percent` -> `<number>%` in every table row. Returns ``(new_text, n_lines_changed)``. Whitespace/EOL outside table rows is p
book/cli/checks/percent_tables.py:130
↓ 3 callers
Function
fmt_memory
Auto-scale memory sizes for prose.
mlsysim/mlsysim/fmt.py:2877
↓ 3 callers
Function
fmt_memory_capacity
Format branded hardware memory capacities. Hardware spec sheets commonly label binary memory capacities with decimal symbols such as ``GB``.
mlsysim/mlsysim/fmt.py:2908
↓ 3 callers
Function
fmt_multiple_range
Format a range of multiplier factors with one trailing times glyph. ``precision`` may be one int or a ``(lo_precision, hi_precision)`` pair.
mlsysim/mlsysim/fmt.py:1153
↓ 3 callers
Function
fmt_ops_rate
Auto-scale non-FLOP operation rates for prose (OPS through TOPS).
mlsysim/mlsysim/fmt.py:2537
↓ 3 callers
Function
fmt_power
Auto-scale power quantities for prose (W, kW, MW, GW).
mlsysim/mlsysim/fmt.py:2359
↓ 3 callers
Function
fmt_sci
Formats a number or Pint Quantity into scientific notation using Unicode. Example: 4.1e9 -> "4.10 × 10⁹"
mlsysim/mlsysim/fmt.py:1811
↓ 3 callers
Function
fmt_sci_flops
Format FLOP work/count quantities in scientific notation. QMD code should not spell ``unit_label="FLOPs"`` at each call site. This helper kee
mlsysim/mlsysim/fmt.py:1646
↓ 3 callers
Function
fmt_tokens
Format token counts as checked count quantities.
mlsysim/mlsysim/fmt.py:1359
↓ 3 callers
Function
fmt_water_rate
Format water flow rates such as L/h and L/day.
mlsysim/mlsysim/fmt.py:3014
↓ 3 callers
Function
format_checklist
Human-readable checklist for console output.
book/cli/commands/_pdf_checks.py:753
↓ 3 callers
Method
forward
(self, x)
tinytorch/src/14_profiling/14_profiling.py:2242
↓ 3 callers
Method
forward
Forward pass through AvgPool2d layer. This method composes the helpers: 1. Validate input is 4D 2. Compute output di
tinytorch/src/09_convolutions/09_convolutions.py:1856
↓ 3 callers
Function
gemini_call
Returns {stdout, error, wall_time_sec}.
book/tools/scripts/audit/svg_audit.py:218
↓ 3 callers
Function
gemm_workload
Return the standard square GEMM workload used in the roofline lab.
labs/mlsysbook_labs/roofline.py:106
↓ 3 callers
Function
general_agent
(text, links = "")
socratiq/src_shadow/js/components/highlight_menu/components/highlight_menu.js:224
↓ 3 callers
Function
generateHighPrecisionUniqueId
()
socratiq/src_shadow/js/libs/utils/utils.js:324
↓ 3 callers
Method
generate_report
Builds terminal-rendering and markdown tables for the professors.
mlperf-edu/src/mlperf/grader.py:60
↓ 3 callers
Function
getApiUrl
(isStreaming = false)
socratiq/src_shadow/js/libs/agents/cloudflareAgent.js:10
↓ 3 callers
Function
getAreaForTopic
(topicId: string)
interviews/staffml/src/lib/taxonomy.ts:195
↓ 3 callers
Function
getAreas
()
interviews/staffml/src/lib/taxonomy.ts:190
↓ 3 callers
Function
getBaseUrl
(adapter: Adapter, env: Env)
interviews/staffml/worker/src/index.ts:272
↓ 3 callers
Function
getBreaker
(origin: string)
interviews/staffml/src/lib/vault-fetch.ts:94
↓ 3 callers
Method
getChapterTitle
(chapterNum)
socratiq/src_shadow/js/components/spaced_repetition/handlers/storage-handler.js:23
↓ 3 callers
Method
getCommentsByUrlAndRoom
* Get comments by URL and room
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:7537
↓ 3 callers
Method
getCommentsByUrlAndRoom
(e,t)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Method
getCurrentChapterStats
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/spaced-repetition-indexdb.js:1174
↓ 3 callers
Function
getDashboardChapterData
()
socratiq/src_shadow/js/components/quiz/chapterMapService.js:383
↓ 3 callers
Function
getDebugSessionById
(sessionId: string)
book/vscode-ext/src/utils/parallelDebug.ts:755
↓ 3 callers
Function
getDueCount
()
interviews/staffml/src/lib/progress.ts:158
↓ 3 callers
Method
getExplanationForChoice
* Get explanation for a specific choice * @param {HTMLElement} quizComponent - The quiz component * @param {string} choiceValue - The choice val
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5190
↓ 3 callers
Method
getExplanationForChoice
(e,t)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Function
getFilters
()
site/assets/games/runtime.mjs:348
↓ 3 callers
Method
getInstance
()
socratiq/src_shadow/js/libs/agents/duck-ai.js:8
↓ 3 callers
Function
getLevels
()
interviews/staffml/src/lib/corpus.ts:168
↓ 3 callers
Function
getLinkKey
(u, v)
site/assets/games/topology.mjs:143
↓ 3 callers
Function
getLocalEvents
()
interviews/staffml/src/lib/analytics.ts:83
↓ 3 callers
Function
getMarimoPath
()
labs/vscode-ext/src/utils/marimoCli.ts:6
↓ 3 callers
Function
getMarkdownContent
()
socratiq/src_shadow/js/components/settings/copy_download.js:55
↓ 3 callers
Method
getModelEntries
(models: string[][])
mlsysim/vscode-ext/src/providers/zooTreeProvider.ts:149
↓ 3 callers
Function
getPendingEvents
()
interviews/staffml/src/lib/analytics.ts:107
↓ 3 callers
Method
getRandomGreeting
* Get a random greeting message with the user's name (persists for session) * @param {string} username - The user's name * @returns {string} Ran
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5457
↓ 3 callers
Method
getRandomGreeting
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Method
getSectionItem
(section: NavigatorSection)
book/vscode-ext/src/providers/chapterNavigatorProvider.ts:141
↓ 3 callers
Function
getStreakData
()
interviews/staffml/src/lib/progress.ts:237
↓ 3 callers
Function
getStreakMilestone
(streak: number)
interviews/staffml/src/lib/progress.ts:288
↓ 3 callers
Function
getTargetUrl
(provider)
socratiq/src_shadow/js/libs/agents/cloudflareAgent.js:252
↓ 3 callers
Function
getTrackCount
(track?: string)
interviews/staffml/src/lib/corpus.ts:164
↓ 3 callers
Function
getVaultMode
()
interviews/staffml/src/lib/vault-config.ts:33
↓ 3 callers
Method
get_backend
Retrieves an uninitialized backend based on the mathematical shape of the problem. Args: mathematical_class: 'co
mlsysim/mlsysim/core/optimization/registry.py:48
↓ 3 callers
Function
get_dlrm_dataloaders
Returns (train_loader, val_loader) for MovieLens-100K recommendation. Used by: Micro-DLRM.
mlperf-edu/reference/dataset_factory.py:387
↓ 3 callers
Function
get_export_target
Read export target from #| default_exp in the source file.
tinytorch/tito/commands/export_utils.py:42
↓ 3 callers
Function
get_lab_arc_step
(lab_id: str)
labs/mlsysbook_labs/track_arcs.py:246
↓ 3 callers
Function
get_module_display_name
Get a human-readable display name from module folder name. E.g., "15_quantization" -> "Quantization"
tinytorch/tito/core/modules.py:77
↓ 3 callers
Function
get_ordered_qmd_files
Return a list of .qmd files in the order specified by _quarto.yml, with unlisted files after.
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:6361
↓ 3 callers
Function
get_qmd_files
()
book/tools/audit/index/audit.py:32
↓ 3 callers
Function
get_react_dataloaders
Returns (train_loader, val_loader) for ReAct reasoning traces.
mlperf-edu/reference/agent_datasets.py:360
↓ 3 callers
Method
get_repository_stats
Get comprehensive repository statistics
book/tools/scripts/maintenance/repo_health_check.py:51
↓ 3 callers
Function
goTo
(idx)
mlsysim/docs/styles/landing.js:36
↓ 3 callers
Method
handleCancel
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/deck-creation-handler.js:258
↓ 3 callers
Function
handleChange
(key: keyof HardwareState, value: string)
interviews/staffml/src/components/HardwareConfigurator.tsx:25
↓ 3 callers
Function
handleFolderNavigation
(direction)
socratiq/src_shadow/js/components/quizBtns/smartInput.js:195
↓ 3 callers
Function
handleNodeClick
(i)
site/assets/games/topology.mjs:145
↓ 3 callers
Function
handleReveal
(force: boolean = false)
interviews/staffml/src/app/practice/page.tsx:460
↓ 3 callers
Method
handleUserLeft
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:410
↓ 3 callers
Method
handleUserLeft
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Method
hide
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:4747
↓ 3 callers
Method
hide
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Method
hideModal
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:4289
↓ 3 callers
Method
hideModal
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Method
hideWidget
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:7954
↓ 3 callers
Method
hideWidget
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Function
indent_answer_explanation
Indent answer explanations properly.
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:5872
↓ 3 callers
Method
initDB
(stores)
socratiq/src_shadow/js/libs/utils/indexDb.js:26
↓ 3 callers
Method
initializeDatabase
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/spaced-repetition-indexdb.js:68
← previous
next →
1,701–1,800 of 13,553, ranked by callers