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
run
Load .bib files, validate refs against academic DBs, optionally write report. cache_path: if set, read/write verification cache (key -> {sta
book/cli/commands/reference_check.py:226
↓ 3 callers
Method
run
(self, args: List[str])
book/cli/commands/layout.py:195
↓ 3 callers
Method
run
(cmd)
book/cli/commands/maintenance.py:1021
↓ 3 callers
Method
run
Execute update command.
tinytorch/tito/commands/system/update.py:348
↓ 3 callers
Method
run
(self, args: Namespace)
site/newsletter/cli/commands/new.py:36
↓ 3 callers
Method
runFastChecks
Run all fast in-process checks on a single document.
book/vscode-ext/src/validation/healthManager.ts:41
↓ 3 callers
Function
runParallelDebugBatch
(options: BatchRunOptions)
book/vscode-ext/src/utils/parallelDebug.ts:390
↓ 3 callers
Function
run_app_safely
Run a Marimo app and return (outputs, defs). Returns (None, error_str) on failure.
labs/tests/test_engine.py:42
↓ 3 callers
Function
run_challenge
Run a single challenge using YOUR DataLoader.
tinytorch/milestones/05_2017_transformer/01_vaswani_attention.py:410
↓ 3 callers
Function
run_decode_sut
Generic decode loop with measure_roofline emission under a custom name. Returns the measurement dict + path to the emitted sidecar.
mlperf-edu/scripts/smoke_iter6_serving.py:58
↓ 3 callers
Function
run_insert_mode_simple
Insert quizzes into markdown files. This function handles the insertion of quiz callouts into QMD files. It can work with either JSON qu
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:3838
↓ 3 callers
Function
run_verify_mode_simple
Verify quiz files and validate their structure. This function performs comprehensive validation of quiz files and their correspondence w
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:3891
↓ 3 callers
Function
safeLinkHtml
(e, t, o = "system-link")
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:22
↓ 3 callers
Function
safeObjectKey
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:14
↓ 3 callers
Function
sampleTextContent
* Samples text content to fit within token limits using random distributed sampling * @param {string} text - The full text content * @param {number}
socratiq/src_shadow/js/utils/textExtractor.js:186
↓ 3 callers
Method
saveChatState
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:8246
↓ 3 callers
Method
saveChatState
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Method
saveNewCard
(questionInput="", answerInput="")
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-modal-handler.js:1274
↓ 3 callers
Function
saveRecentIDToLocal
(id)
socratiq/src_shadow/js/libs/utils/save_chats.js:440
↓ 3 callers
Function
saveTOCToChapterMap
(tocData, url, title)
socratiq/src_shadow/js/libs/utils/tocExtractor.js:459
↓ 3 callers
Method
save_progress_data
Save progress data to .tito/progress.json.
tinytorch/tito/commands/module/workflow.py:1315
↓ 3 callers
Function
save_submission
Save submission to JSON file. Args: submission: Submission dictionary from generate_submission() filepath: Output path (defa
tinytorch/src/20_capstone/20_capstone.py:802
↓ 3 callers
Function
scan_pdf
( pdf_path: Path | str, *, limit: int = 0, first: int = 1, last: int = 0, )
book/cli/checks/margin_geometry.py:362
↓ 3 callers
Function
scan_percent
Return (percent_edits, queue) for the byte-identical percent lane.
book/tools/audit/fmt/codemod_fmt.py:173
↓ 3 callers
Function
scan_scale_style
Return (scale_edits, qualified_vars, queue) for the approved no-space style.
book/tools/audit/fmt/codemod_fmt.py:432
↓ 3 callers
Method
scorecard
Generates a human-readable summary for students.
mlsysim/mlsysim/engine/evaluation.py:30
↓ 3 callers
Function
scrollToCustomReference
* Scroll to a custom reference target * @param {HTMLElement} targetElement - The element to scroll to
socratiq/src_shadow/js/components/markdown/streamdown_markdown.js:590
↓ 3 callers
Function
scrollToParagraph
* Scroll to a paragraph by its ID * @param {string} refId - The reference ID (e.g., "ref-2")
socratiq/src_shadow/js/components/markdown/reference_renderer.js:499
↓ 3 callers
Function
scrollToPosition
(position)
socratiq/src_shadow/js/index.js:2303
↓ 3 callers
Method
sectionHasVisibleContent
(section: NavigatorSection)
book/vscode-ext/src/providers/chapterNavigatorProvider.ts:162
↓ 3 callers
Method
selectNewLeader
* Select new random leader
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:11253
↓ 3 callers
Method
selectNewLeader
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Function
select_release_items
Return loaded questions that belong in the current release policy.
interviews/vault-cli/src/vault_cli/legacy_export.py:209
↓ 3 callers
Function
selection_frontier
Evaluate every policy for the selected fraction multiplier.
labs/mlsysbook_labs/selection.py:320
↓ 3 callers
Method
sendQuizMessage
* Send quiz message to chat * @param {string} message - Quiz message to send
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:3864
↓ 3 callers
Method
sendQuizMessage
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Function
sendToWorker
(action, data, token, useLocal=true)
socratiq/src_shadow/js/libs/workers/initiate_worker.js:88
↓ 3 callers
Function
serializeResponse
(response, isStreaming = false)
socratiq/src_shadow/js/libs/agents/cloudflareAgent.js:15
↓ 3 callers
Method
setCurrentChapter
(chapterNumber)
socratiq/src_shadow/js/components/spaced_repetition/handlers/spaced-repetition-indexdb.js:1658
↓ 3 callers
Method
setupQuizInteractions
* Setup quiz interactions for a message element * @param {HTMLElement} messageElement - The message element containing quiz components
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:4895
↓ 3 callers
Method
setupQuizInteractions
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Function
shouldBlockEvent
* Check if an event should be blocked * @param {KeyboardEvent} event - The keyboard event * @returns {boolean} - True if the event should be blocked
socratiq/src_shadow/js/libs/utils/nuclearHotkeyPrevention.js:226
↓ 3 callers
Function
shouldBlockEvent
(event)
socratiq/src_shadow/js/libs/utils/hotkeyPrevention.js:39
↓ 3 callers
Function
should_skip_file
(path)
book/cli/checks/mitpress_terms.py:39
↓ 3 callers
Method
showCommentPanel
* Show comment panel
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5780
↓ 3 callers
Method
showCommentPanel
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Function
showDropup
(search)
socratiq/src_shadow/js/components/quizBtns/smartInput.js:209
↓ 3 callers
Method
showGameInstructions
* Show game instructions after content collection
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:4688
↓ 3 callers
Method
showGameInstructions
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Method
showNotification
* Show a generic notification toast * @param {string} message - The message to show * @param {string} type - The type of toast (success, error,
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:4848
↓ 3 callers
Method
showNotification
(e,t="info")
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Method
showToast
* Show a toast with animation * @param {HTMLElement} toast - The toast element * @param {number} duration - How long to show the toast
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:4871
↓ 3 callers
Method
showToast
(e,t=3e3)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Method
showWidget
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:7951
↓ 3 callers
Method
showWidget
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Function
shuffleArray
(array)
socratiq/src_shadow/js/components/quiz/backupQuiz.js:101
↓ 3 callers
Method
sigmoid
(x)
tinytorch/tests/integration/test_shapes.py:50
↓ 3 callers
Function
skip_fence
(lines: list[str], idx: int)
book/tools/scripts/margin_figures/insert_curated_margin_figures.py:92
↓ 3 callers
Function
slideMenuOpen
* Helper function to slide the menu open * @param {Element} menu - The menu element * @param {Element} checkbox - The menu toggle checkbox * @param
socratiq/src_shadow/js/components/menu/open_close_menu.js:112
↓ 3 callers
Function
split_chapter
Split a chapter file into its component sections. Uses pypandoc AST parsing when available for robust handling of: - Code blocks (``` ..
book/tools/scripts/content/section_splitter.py:231
↓ 3 callers
Function
srgbToLinear
(channel)
socratiq/src_shadow/js/libs/utils/trackColorScheme.js:33
↓ 3 callers
Method
srgbToLinear
(channel)
socratiq/src_shadow/js/libs/utils/theme-manager.js:337
↓ 3 callers
Method
startKapootGame
* Start Kapoot game with collected content
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:4711
↓ 3 callers
Method
startKapootGame
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Method
step
(self)
tinytorch/tests/10_tokenization/test_10_tokenization_progressive.py:593
↓ 3 callers
Method
stop
Unregisters the profiling listener.
mlperf-edu/src/mlperf/core.py:57
↓ 3 callers
Function
stripDelimiters
(s: string)
interviews/staffml/src/components/AskInterviewer.tsx:59
↓ 3 callers
Function
summarize
(group: list[dict], corpus_median: float)
interviews/vault/scripts/audit_question_backfill_balance.py:78
↓ 3 callers
Method
summary
Returns a human-readable summary of the performance profile.
mlsysim/mlsysim/engine/engine.py:53
↓ 3 callers
Function
sweep_deployment_knob
Sweep the track's workload knob and return the first feasibility crossing.
labs/mlsysbook_labs/deployment.py:334
↓ 3 callers
Function
syncFromStorage
()
shared/scripts/theme-persist.js:125
↓ 3 callers
Function
system_frontier
Evaluate every option at the selected scale/load knob.
labs/mlsysbook_labs/system_design.py:371
↓ 3 callers
Function
tail_latency
(*, base_ms: float, sigma: float, slo_ms: float)
labs/mlsysbook_labs/benchmarking.py:218
↓ 3 callers
Function
taxonomy
Return a human-readable summary of the full wall taxonomy. This is the pedagogical entry point — print this in a notebook and students see th
mlsysim/mlsysim/engine/walls.py:373
↓ 3 callers
Function
timedFetch
Wrap fetch with a timeout. AbortSignal.timeout() is available in Workers.
interviews/staffml/worker/src/index.ts:322
↓ 3 callers
Function
todayUtcDate
()
interviews/staffml/worker/src/index.ts:581
↓ 3 callers
Method
toggleNodeSelection
(node)
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:2372
↓ 3 callers
Function
tokenize_dataset
Tokenize a dataset with optional length limits. TODO: Tokenize all texts with consistent preprocessing APPROACH: 1. Encode each tex
tinytorch/src/10_tokenization/10_tokenization.py:1377
↓ 3 callers
Function
total_pages
(pdf: Path)
tools/audit/audit_pdf_spot_check.py:63
↓ 3 callers
Function
train_with_lr
(lr)
tinytorch/tests/integration/test_training_capabilities.py:308
↓ 3 callers
Function
training_frontier
Sweep batch size and record the memory/throughput frontier.
labs/mlsysbook_labs/training.py:323
↓ 3 callers
Function
transfer_time
Duration to move a payload at a sustained bandwidth: ``t = bytes / (bytes/s)``. Pure streaming model — no per-message latency or protocol overhea
mlsysim/mlsysim/physics/quantities.py:38
↓ 3 callers
Function
transform
(code, id)
socratiq/vite.config.dev.mjs:242
↓ 3 callers
Function
triad_track_profile
Build a source-traced D-A-M profile from variant defaults.
labs/mlsysbook_labs/triad.py:70
↓ 3 callers
Method
triggerResolve
* Trigger background resolution for a document without awaiting.
book/vscode-ext/src/providers/qmdPythonValueResolver.ts:297
↓ 3 callers
Function
truncate
(text: str, limit: int)
book/tools/scripts/margin_figures/render_margin_reader_link_audit.py:32
↓ 3 callers
Function
tryMultipleProvidersStream
( params, token, json = false, )
socratiq/src_shadow/js/libs/agents/cloudflareAgent.js:323
↓ 3 callers
Function
unfused_gelu
Deliberately unfused GELU implementation for performance comparison. This version creates multiple intermediate tensors to simulate the
tinytorch/src/17_acceleration/17_acceleration.py:535
↓ 3 callers
Function
updateColorScheme
(shadowEle)
socratiq/src_shadow/js/libs/utils/trackColorScheme.js:75
↓ 3 callers
Method
updateCurrentRoom
* Update current room
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5960
↓ 3 callers
Method
updateCurrentRoom
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Method
updateCustomAPIUI
(enabled, customApiConfig, defaultApiInfo)
socratiq/src_shadow/js/components/settings/settings.js:569
↓ 3 callers
Method
updateGraphVisualization
()
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:2609
↓ 3 callers
Function
updateSelection
()
socratiq/src_shadow/js/components/quizBtns/smartInput.js:157
↓ 3 callers
Method
updateTheme
()
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-visualization.js:25
↓ 3 callers
Method
updateWebRTCChat
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:4201
↓ 3 callers
Method
updateWebRTCChat
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callers
Function
v1_00_track_story
(track_id)
labs/vol1/lab_00_introduction.py:118
↓ 3 callers
Function
v1_02_placement_id
(raw_value, deployment)
labs/vol1/lab_02_ml_systems.py:179
↓ 3 callers
Function
v1_05_track_story
(track_id)
labs/vol1/lab_05_nn_compute.py:195
← previous
next →
1,901–2,000 of 13,553, ranked by callers