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
↓ 2 callers
Method
run_all_tests
Run all registered tests and return overall success. Returns: bool: True if all tests passed, False otherwise
tinytorch/tito/tools/testing.py:158
↓ 2 callers
Function
run_black
Run Black on a code string via a temp file; return formatted code. Raises subprocess.CalledProcessError / FileNotFoundError on failure.
book/tools/scripts/content/format_python_in_qmd.py:169
↓ 2 callers
Function
run_command
Run a command and return the result.
book/tools/scripts/infrastructure/list_containers.py:14
↓ 2 callers
Function
run_command
Run a command and return the result.
book/tools/scripts/infrastructure/cleanup_containers.py:17
↓ 2 callers
Function
run_command
(cmd: list[str], cwd: Path, log_path: Path, verbose: bool)
book/tools/scripts/audit/math_chapter_workflow.py:208
↓ 2 callers
Function
run_contract
(repo_root: Path | None = None)
book/cli/checks/cli_contract.py:243
↓ 2 callers
Function
run_epubcheck_on
Run epubcheck against *epub_path* and return (issues, severity counts). If epubcheck is not available on the system, returns a single `epubch
book/cli/commands/_epub_checks.py:467
↓ 2 callers
Function
run_gui
Launch the Gradio GUI for quiz review and editing. This function creates and launches the interactive web interface for reviewing and ed
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:3529
↓ 2 callers
Method
run_health_check
Run comprehensive health check. Returns: True if all checks pass, False if any issues found
book/cli/commands/doctor.py:33
↓ 2 callers
Function
run_mechanical_fixes
Run the Binder bibliography mechanical-fix workflow.
book/cli/core/bib_mechanical.py:213
↓ 2 callers
Function
run_review_mode_simple
Review and edit existing quizzes from a file (JSON or QMD). This function launches the interactive GUI for reviewing quiz questions. It
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:3798
↓ 2 callers
Function
run_smoke_checks_on
Run reader-compatibility smoke checks against a built EPUB. Unlike `run_epubcheck_on`, this does not require Java — it unzips the EPUB into a
book/cli/commands/_epub_checks.py:645
↓ 2 callers
Function
runtime_decision
Return the recommendation memo fields for the selected runtime.
labs/mlsysbook_labs/frameworks.py:332
↓ 2 callers
Method
samplePageContent
* Sample page content to get key lines for AI processing * @param {string} fullText - Full page text * @param {number} maxLines - Maximum lines
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:10465
↓ 2 callers
Method
samplePageContent
(e,t=3)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callers
Function
sanitize_xhtml
Apply all XHTML-level passes. Returns (new_text, deltas_dict).
book/quarto/scripts/epub_postprocess.py:165
↓ 2 callers
Function
save
Emit PRODUCTION VECTOR SVG into the house images/svg/ dir — the book's established vector convention (141 body SVGs live there; Quarto auto-conver
book/tools/figures/margin/devices.py:115
↓ 2 callers
Function
saveGauntletResult
(result: GauntletResult)
interviews/staffml/src/lib/progress.ts:77
↓ 2 callers
Function
savePendingEvents
(events: StoredEvent[])
interviews/staffml/src/lib/analytics.ts:116
↓ 2 callers
Method
saveSectionSummary
(chapterId, sectionId, sectionData)
socratiq/src_shadow/js/libs/memory/chapterSummaries.js:52
↓ 2 callers
Method
save_changes_with_checkboxes
Save the current quiz data with hidden/shown status based on checkbox states
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:2881
↓ 2 callers
Function
save_ledger
(ledger: dict)
book/tools/audit/chapter_pdf_verify.py:383
↓ 2 callers
Function
save_ledger
(ledger: dict)
book/tools/audit/chapter_html_verify.py:405
↓ 2 callers
Function
scan
Run all checks against the scope and return the ledger. If `use_accept_list` is True (the default), after all checks run the persistent accep
book/tools/audit/scan.py:176
↓ 2 callers
Function
scan
(segment: string)
interviews/staffml/src/lib/corpus.ts:512
↓ 2 callers
Function
scan_build_dir
Return mapping of unresolved-ref → list of (file, line_no, context). `context` is a short prose snippet for the user to locate the failure.
book/quarto/scripts/verify_rendered_xrefs.py:81
↓ 2 callers
Function
scan_html
(html: str)
tools/audit/audit_math_rendering.py:151
↓ 2 callers
Function
scan_margin_geometry_summary
Return the Binder-native margin geometry summary, or ``None``. ``None`` means PyMuPDF is unavailable or the scan failed; callers should treat
book/cli/commands/_pdf_checks.py:620
↓ 2 callers
Function
scan_rate
Return (rate_edits, queue) for exact service-rate suffixes.
book/tools/audit/fmt/codemod_fmt.py:850
↓ 2 callers
Function
scan_scale
Return (scale_edits, queue) for the byte-identical scale lane.
book/tools/audit/fmt/codemod_fmt.py:279
↓ 2 callers
Function
scan_table_prose_spacing
Warn when rendered table bottom rules are jammed against following text.
book/cli/commands/_pdf_checks.py:499
↓ 2 callers
Function
scan_time
Return (time_edits, queue) for exact time suffixes.
book/tools/audit/fmt/codemod_fmt.py:751
↓ 2 callers
Function
scan_unit
Return (unit_edits, queue) for clean Quantity-backed unit suffixes.
book/tools/audit/fmt/codemod_fmt.py:622
↓ 2 callers
Function
scenario_brief
(title: str, stakeholder: str, objective: str, constraints: dict[str, Any])
labs/mlsysbook_labs/ui.py:716
↓ 2 callers
Method
scheduleRetry
* Schedule retry attempts for queued comments
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:515
↓ 2 callers
Method
scheduleRetry
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callers
Function
scoreSentence
(sentence: string)
interviews/staffml/src/lib/rubric.ts:68
↓ 2 callers
Function
scroll_through
(page, max_steps: int = 12)
labs/tools/interaction_lab_smoke.py:422
↓ 2 callers
Function
scrub
(text: string, cap: number)
interviews/staffml/src/lib/error-reporter.ts:35
↓ 2 callers
Method
search
Natively simulates MIPS (Maximum Inner Product Search). Students can optimize this via Hierarchical Navigable Small World (HNSW) algo
mlperf-edu/reference/cloud/rag_infer.py:17
↓ 2 callers
Method
search
Retrieve top-K passages by cosine similarity. Args: query_embeds: (batch, embed_dim) normalized query vectors
mlperf-edu/reference/cloud/nano_rag_agent.py:58
↓ 2 callers
Function
searchQuestions
(query: string, limit = 50)
interviews/staffml/src/lib/corpus.ts:226
↓ 2 callers
Function
searchTopics
(query: string)
interviews/staffml/src/lib/taxonomy.ts:204
↓ 2 callers
Function
selectGauntletQuestions
( track: string, level: string, count: number )
interviews/staffml/src/lib/corpus.ts:269
↓ 2 callers
Function
selectNextChain
( session: InterviewSession, )
interviews/staffml/src/lib/interview-conductor.ts:113
↓ 2 callers
Function
selected_units
(args: argparse.Namespace)
book/tools/scripts/audit/math_chapter_workflow.py:184
↓ 2 callers
Method
sendMessage
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:154
↓ 2 callers
Method
sendMessage
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callers
Function
sendQuery
(event)
socratiq/src_shadow/js/components/highlight_menu/components/highlight_menu.js:276
↓ 2 callers
Function
sentences
(text: str)
book/tools/scripts/margin_figures/render_margin_reader_link_audit.py:50
↓ 2 callers
Function
sequence_strip
compact ordered strip for windows or phases whose order is the concept.
book/tools/figures/margin/devices.py:517
↓ 2 callers
Function
serving_track_profile
Build a source-traced serving profile from MLSysIM refs and variant defaults.
labs/mlsysbook_labs/serving.py:145
↓ 2 callers
Function
set_book_style
Apply the global MLSysBook matplotlib style.
book/tools/figures/style.py:50
↓ 2 callers
Method
set_weights
Manually set weights to test different configurations.
tinytorch/milestones/02_1969_xor/01_xor_crisis.py:153
↓ 2 callers
Function
setupButton
()
socratiq/src_shadow/js/index.js:449
↓ 2 callers
Method
setupDataChannel
(e, t)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:266
↓ 2 callers
Method
setupDataChannel
(e,t)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callers
Method
setupEventListeners
()
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-modal-handler.js:3705
↓ 2 callers
Method
setupGlobalEventListeners
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:9537
↓ 2 callers
Method
setupGlobalEventListeners
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callers
Method
setupTeamDragAndDrop
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:4460
↓ 2 callers
Method
setupTeamDragAndDrop
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callers
Function
setup_integration_test
Set up the environment for integration testing. This function ensures: 1. The TinyTorch package is importable 2. NumPy random seed i
tinytorch/tests/test_utils.py:13
↓ 2 callers
Function
shake
(a, ms)
site/assets/games/quantization.js:167
↓ 2 callers
Function
shortenToCheckpoint
(sentence: string)
interviews/staffml/src/lib/rubric.ts:81
↓ 2 callers
Function
shouldExtractTOC
(url, maxAgeHours = 24)
socratiq/src_shadow/js/libs/utils/tocExtractor.js:599
↓ 2 callers
Function
shouldShowGate
()
interviews/staffml/src/lib/star-gate.ts:69
↓ 2 callers
Function
should_bold_first_column
Determine if first column should be bolded based on intelligent analysis. Returns True for comparison/definition tables where first column c
book/tools/scripts/content/format_tables.py:320
↓ 2 callers
Function
should_exclude_position
Check if a position falls within any exclude range.
book/tools/scripts/content/check_prose_spelling.py:170
↓ 2 callers
Method
show
* Show tooltip with source reference information * @param {HTMLElement} element - The element that triggered the tooltip * @param {Object} sourc
socratiq/src_shadow/js/components/tooltip/referenceTooltip.js:20
↓ 2 callers
Method
show
()
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-inner-search-modal.js:153
↓ 2 callers
Method
showAIUsageHelp
* Show AI usage help message
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:10217
↓ 2 callers
Method
showAIUsageHelp
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callers
Method
showChatInterface
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:8465
↓ 2 callers
Method
showChatInterface
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callers
Method
showExplanations
* Show explanations after timer expires
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:3874
↓ 2 callers
Method
showExplanations
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callers
Method
showFinalResults
* Show final game results
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:4007
↓ 2 callers
Method
showFinalResults
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callers
Function
showLastFailureDetails
()
book/vscode-ext/src/utils/terminal.ts:350
↓ 2 callers
Method
showLoader
()
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:772
↓ 2 callers
Function
showMessageModal
(title, body, onCloseCallback = null)
tinytorch/quarto/community/modules/auth.js:226
↓ 2 callers
Method
showModal
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/deck-creation-handler.js:9
↓ 2 callers
Method
showNetworkView
()
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-visualization.js:31
↓ 2 callers
Method
showRoomSelection
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:8338
↓ 2 callers
Method
showRoomSelection
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callers
Function
showVerificationModal
(shadowRoot, verificationResult, fileName)
socratiq/src_shadow/js/components/quiz/showQuizStats.js:63
↓ 2 callers
Method
show_chapters
Display available chapters in a formatted table. Args: volume: Optional volume filter ('vol1', 'vol2', or None for all)
book/cli/core/discovery.py:418
↓ 2 callers
Method
show_help
Display help information.
book/cli/main.py:95
↓ 2 callers
Method
shuffleArray
* Shuffle array using Fisher-Yates algorithm
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:10375
↓ 2 callers
Method
shuffleArray
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callers
Function
signInWithSocial
(provider)
tinytorch/quarto/community/modules/auth.js:8
↓ 2 callers
Function
simpleHash
(str)
socratiq/src_shadow/js/components/quizBtns/create_text_ref.js:43
↓ 2 callers
Function
simpleHash
(str)
socratiq/src_shadow/js/libs/agents/fuzzy_match.js:74
↓ 2 callers
Function
simple_bar
(chapter, name, segments, *, height=0.20, y=0.48)
book/tools/scripts/margin_figures/generate_margin_figures.py:359
↓ 2 callers
Function
skip_paragraph_or_list
(lines: list[str], idx: int)
book/tools/scripts/margin_figures/insert_curated_margin_figures.py:119
↓ 2 callers
Function
slideMenuClosed
* Helper function to slide the menu closed * @param {Element} menu - The menu element * @param {Element} checkbox - The menu toggle checkbox * @par
socratiq/src_shadow/js/components/menu/open_close_menu.js:132
↓ 2 callers
Method
solve
Executes the SciPy solver.
mlsysim/mlsysim/core/optimization/scipy_backend.py:35
↓ 2 callers
Method
solve
Executes the OR-Tools CP-SAT solver.
mlsysim/mlsysim/core/optimization/ortools_backend.py:31
↓ 2 callers
Method
solve
Search for the parallelism split (TP x PP x DP) that maximizes MFU. Exhaustive sweep over power-of-two TP and PP degrees with
mlsysim/mlsysim/engine/solvers/distributed.py:570
← previous
next →
3,101–3,200 of 13,553, ranked by callers