MCPcopy Create free account

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

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

↓ 2 callersMethodrun_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 callersFunctionrun_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 callersFunctionrun_command
Run a command and return the result.
book/tools/scripts/infrastructure/list_containers.py:14
↓ 2 callersFunctionrun_command
Run a command and return the result.
book/tools/scripts/infrastructure/cleanup_containers.py:17
↓ 2 callersFunctionrun_command
(cmd: list[str], cwd: Path, log_path: Path, verbose: bool)
book/tools/scripts/audit/math_chapter_workflow.py:208
↓ 2 callersFunctionrun_contract
(repo_root: Path | None = None)
book/cli/checks/cli_contract.py:243
↓ 2 callersFunctionrun_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 callersFunctionrun_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 callersMethodrun_health_check
Run comprehensive health check. Returns: True if all checks pass, False if any issues found
book/cli/commands/doctor.py:33
↓ 2 callersFunctionrun_mechanical_fixes
Run the Binder bibliography mechanical-fix workflow.
book/cli/core/bib_mechanical.py:213
↓ 2 callersFunctionrun_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 callersFunctionrun_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 callersFunctionruntime_decision
Return the recommendation memo fields for the selected runtime.
labs/mlsysbook_labs/frameworks.py:332
↓ 2 callersMethodsamplePageContent
* 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 callersMethodsamplePageContent
(e,t=3)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callersFunctionsanitize_xhtml
Apply all XHTML-level passes. Returns (new_text, deltas_dict).
book/quarto/scripts/epub_postprocess.py:165
↓ 2 callersFunctionsave
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 callersFunctionsaveGauntletResult
(result: GauntletResult)
interviews/staffml/src/lib/progress.ts:77
↓ 2 callersFunctionsavePendingEvents
(events: StoredEvent[])
interviews/staffml/src/lib/analytics.ts:116
↓ 2 callersMethodsaveSectionSummary
(chapterId, sectionId, sectionData)
socratiq/src_shadow/js/libs/memory/chapterSummaries.js:52
↓ 2 callersMethodsave_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 callersFunctionsave_ledger
(ledger: dict)
book/tools/audit/chapter_pdf_verify.py:383
↓ 2 callersFunctionsave_ledger
(ledger: dict)
book/tools/audit/chapter_html_verify.py:405
↓ 2 callersFunctionscan
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 callersFunctionscan
(segment: string)
interviews/staffml/src/lib/corpus.ts:512
↓ 2 callersFunctionscan_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 callersFunctionscan_html
(html: str)
tools/audit/audit_math_rendering.py:151
↓ 2 callersFunctionscan_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 callersFunctionscan_rate
Return (rate_edits, queue) for exact service-rate suffixes.
book/tools/audit/fmt/codemod_fmt.py:850
↓ 2 callersFunctionscan_scale
Return (scale_edits, queue) for the byte-identical scale lane.
book/tools/audit/fmt/codemod_fmt.py:279
↓ 2 callersFunctionscan_table_prose_spacing
Warn when rendered table bottom rules are jammed against following text.
book/cli/commands/_pdf_checks.py:499
↓ 2 callersFunctionscan_time
Return (time_edits, queue) for exact time suffixes.
book/tools/audit/fmt/codemod_fmt.py:751
↓ 2 callersFunctionscan_unit
Return (unit_edits, queue) for clean Quantity-backed unit suffixes.
book/tools/audit/fmt/codemod_fmt.py:622
↓ 2 callersFunctionscenario_brief
(title: str, stakeholder: str, objective: str, constraints: dict[str, Any])
labs/mlsysbook_labs/ui.py:716
↓ 2 callersMethodscheduleRetry
* Schedule retry attempts for queued comments
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:515
↓ 2 callersMethodscheduleRetry
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callersFunctionscoreSentence
(sentence: string)
interviews/staffml/src/lib/rubric.ts:68
↓ 2 callersFunctionscroll_through
(page, max_steps: int = 12)
labs/tools/interaction_lab_smoke.py:422
↓ 2 callersFunctionscrub
(text: string, cap: number)
interviews/staffml/src/lib/error-reporter.ts:35
↓ 2 callersMethodsearch
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 callersMethodsearch
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 callersFunctionsearchQuestions
(query: string, limit = 50)
interviews/staffml/src/lib/corpus.ts:226
↓ 2 callersFunctionsearchTopics
(query: string)
interviews/staffml/src/lib/taxonomy.ts:204
↓ 2 callersFunctionselectGauntletQuestions
( track: string, level: string, count: number )
interviews/staffml/src/lib/corpus.ts:269
↓ 2 callersFunctionselectNextChain
( session: InterviewSession, )
interviews/staffml/src/lib/interview-conductor.ts:113
↓ 2 callersFunctionselected_units
(args: argparse.Namespace)
book/tools/scripts/audit/math_chapter_workflow.py:184
↓ 2 callersMethodsendMessage
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:154
↓ 2 callersMethodsendMessage
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callersFunctionsendQuery
(event)
socratiq/src_shadow/js/components/highlight_menu/components/highlight_menu.js:276
↓ 2 callersFunctionsentences
(text: str)
book/tools/scripts/margin_figures/render_margin_reader_link_audit.py:50
↓ 2 callersFunctionsequence_strip
compact ordered strip for windows or phases whose order is the concept.
book/tools/figures/margin/devices.py:517
↓ 2 callersFunctionserving_track_profile
Build a source-traced serving profile from MLSysIM refs and variant defaults.
labs/mlsysbook_labs/serving.py:145
↓ 2 callersFunctionset_book_style
Apply the global MLSysBook matplotlib style.
book/tools/figures/style.py:50
↓ 2 callersMethodset_weights
Manually set weights to test different configurations.
tinytorch/milestones/02_1969_xor/01_xor_crisis.py:153
↓ 2 callersFunctionsetupButton
()
socratiq/src_shadow/js/index.js:449
↓ 2 callersMethodsetupDataChannel
(e, t)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:266
↓ 2 callersMethodsetupDataChannel
(e,t)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callersMethodsetupEventListeners
()
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-modal-handler.js:3705
↓ 2 callersMethodsetupGlobalEventListeners
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:9537
↓ 2 callersMethodsetupGlobalEventListeners
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callersMethodsetupTeamDragAndDrop
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:4460
↓ 2 callersMethodsetupTeamDragAndDrop
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callersFunctionsetup_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 callersFunctionshake
(a, ms)
site/assets/games/quantization.js:167
↓ 2 callersFunctionshortenToCheckpoint
(sentence: string)
interviews/staffml/src/lib/rubric.ts:81
↓ 2 callersFunctionshouldExtractTOC
(url, maxAgeHours = 24)
socratiq/src_shadow/js/libs/utils/tocExtractor.js:599
↓ 2 callersFunctionshouldShowGate
()
interviews/staffml/src/lib/star-gate.ts:69
↓ 2 callersFunctionshould_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 callersFunctionshould_exclude_position
Check if a position falls within any exclude range.
book/tools/scripts/content/check_prose_spelling.py:170
↓ 2 callersMethodshow
* 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 callersMethodshow
()
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-inner-search-modal.js:153
↓ 2 callersMethodshowAIUsageHelp
* Show AI usage help message
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:10217
↓ 2 callersMethodshowAIUsageHelp
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callersMethodshowChatInterface
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:8465
↓ 2 callersMethodshowChatInterface
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callersMethodshowExplanations
* Show explanations after timer expires
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:3874
↓ 2 callersMethodshowExplanations
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callersMethodshowFinalResults
* Show final game results
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:4007
↓ 2 callersMethodshowFinalResults
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callersFunctionshowLastFailureDetails
()
book/vscode-ext/src/utils/terminal.ts:350
↓ 2 callersMethodshowLoader
()
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:772
↓ 2 callersFunctionshowMessageModal
(title, body, onCloseCallback = null)
tinytorch/quarto/community/modules/auth.js:226
↓ 2 callersMethodshowModal
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/deck-creation-handler.js:9
↓ 2 callersMethodshowNetworkView
()
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-visualization.js:31
↓ 2 callersMethodshowRoomSelection
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:8338
↓ 2 callersMethodshowRoomSelection
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callersFunctionshowVerificationModal
(shadowRoot, verificationResult, fileName)
socratiq/src_shadow/js/components/quiz/showQuizStats.js:63
↓ 2 callersMethodshow_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 callersMethodshow_help
Display help information.
book/cli/main.py:95
↓ 2 callersMethodshuffleArray
* Shuffle array using Fisher-Yates algorithm
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:10375
↓ 2 callersMethodshuffleArray
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callersFunctionsignInWithSocial
(provider)
tinytorch/quarto/community/modules/auth.js:8
↓ 2 callersFunctionsimpleHash
(str)
socratiq/src_shadow/js/components/quizBtns/create_text_ref.js:43
↓ 2 callersFunctionsimpleHash
(str)
socratiq/src_shadow/js/libs/agents/fuzzy_match.js:74
↓ 2 callersFunctionsimple_bar
(chapter, name, segments, *, height=0.20, y=0.48)
book/tools/scripts/margin_figures/generate_margin_figures.py:359
↓ 2 callersFunctionskip_paragraph_or_list
(lines: list[str], idx: int)
book/tools/scripts/margin_figures/insert_curated_margin_figures.py:119
↓ 2 callersFunctionslideMenuClosed
* 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 callersMethodsolve
Executes the SciPy solver.
mlsysim/mlsysim/core/optimization/scipy_backend.py:35
↓ 2 callersMethodsolve
Executes the OR-Tools CP-SAT solver.
mlsysim/mlsysim/core/optimization/ortools_backend.py:31
↓ 2 callersMethodsolve
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
← previousnext →3,101–3,200 of 13,553, ranked by callers