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
Function
fmt_emissions
Auto-scale carbon mass for prose (g, kg, metric tons).
mlsysim/mlsysim/fmt.py:2936
↓ 1 callers
Function
fmt_energy
Auto-scale energy quantities for prose (J, Wh, kWh, MWh, GWh).
mlsysim/mlsysim/fmt.py:2388
↓ 1 callers
Function
fmt_eur
Format euro-denominated amounts using explicit ``EUR`` prose style.
mlsysim/mlsysim/fmt.py:757
↓ 1 callers
Function
fmt_illuminance
Format illuminance quantities with the prose label ``lux``.
mlsysim/mlsysim/fmt.py:2584
↓ 1 callers
Function
fmt_multiple
A multiplier/factor as a NUMBER ONLY. Prose supplies $\\times$. Guard: multipliers are non-negative.
book/tools/audit/fmt/prototype_typed_fmt.py:57
↓ 1 callers
Function
fmt_pp
Percentage-POINTS (a difference of two percentages), already 0-100 scale.
book/tools/audit/fmt/prototype_typed_fmt.py:49
↓ 1 callers
Function
fmt_temperature
Format absolute temperatures, defaulting to degrees Celsius.
mlsysim/mlsysim/fmt.py:2602
↓ 1 callers
Function
fmt_temperature_rate
Format temperature-change rates, defaulting to degrees Celsius per second.
mlsysim/mlsysim/fmt.py:2620
↓ 1 callers
Function
fmt_text
Compose already formatted Markdown fragments and literal text. This is the formatter-owned replacement for LEGO-cell ``MarkdownStr(f"...
mlsysim/mlsysim/fmt.py:3120
↓ 1 callers
Function
fmt_val
Format the magnitude of a Pint Quantity (or a plain scalar) using Python's ``:g`` general format — compact, no trailing zeros, variable preci
mlsysim/mlsysim/fmt.py:784
↓ 1 callers
Function
focusBreadcrumb
(focus: Focus)
interviews/staffml/src/app/explore/page.tsx:140
↓ 1 callers
Method
focusInput
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/deck-creation-handler.js:131
↓ 1 callers
Function
focusLabel
(focus: Focus)
interviews/staffml/src/app/explore/page.tsx:126
↓ 1 callers
Function
focusListener
()
socratiq/src_shadow/js/libs/utils/focusMaintenance.js:36
↓ 1 callers
Function
focusListener
()
socratiq/src_shadow/js/libs/utils/aggressiveFocusProtection.js:36
↓ 1 callers
Function
focusParent
(focus: Focus)
interviews/staffml/src/app/explore/page.tsx:133
↓ 1 callers
Function
focusPreventionListener
()
socratiq/src_shadow/js/libs/utils/focusMaintenance.js:73
↓ 1 callers
Method
fold
(editor: vscode.TextEditor)
book/vscode-ext/src/providers/qmdAutoFoldManager.ts:62
↓ 1 callers
Function
formatBandwidth
(tbs: number)
interviews/staffml/src/components/HardwareRef.tsx:97
↓ 1 callers
Function
formatDate
(date)
socratiq/src_shadow/js/libs/agents/citation_agent.js:1
↓ 1 callers
Function
formatLatency
(ns: number)
interviews/staffml/src/components/HardwareRef.tsx:108
↓ 1 callers
Function
formatMemory
(gb: number)
interviews/staffml/src/components/HardwareRef.tsx:102
↓ 1 callers
Function
formatProgressSummary
(chapterData, allQuizHistory)
socratiq/src_shadow/js/components/progressReport/progressReport.js:132
↓ 1 callers
Method
formatQuizForDisplay
* Format quiz for display and team responses * @param {Object} quiz - Validated quiz * @param {Array} contentData - Source content data * @re
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:2946
↓ 1 callers
Method
formatQuizForDisplay
(e,t)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
formatQuizResults
(attempts)
socratiq/src_shadow/js/components/progressReport/progressReport.js:67
↓ 1 callers
Function
formatRelativeExport
* Format an ISO timestamp as a human-friendly relative string for the * "Last exported" readout. Chosen to be blunt, not cute — "3 days ago" * is mo
interviews/staffml/src/app/progress/page.tsx:19
↓ 1 callers
Function
formatResultsToMarkdown
(randomID,results)
socratiq/src_shadow/js/libs/agents/research.js:65
↓ 1 callers
Function
formatSharedContent
(text)
socratiq/src_shadow/js/index.js:993
↓ 1 callers
Function
formatStatusBarText
(status: HealthStatus, summary: string)
book/vscode-ext/src/extension.ts:346
↓ 1 callers
Function
formatTime
(seconds: number)
interviews/staffml/src/app/interview/page.tsx:745
↓ 1 callers
Method
formatTimestamp
* Format timestamp for display
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5902
↓ 1 callers
Method
formatTimestamp
* Format timestamp for display
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:7235
↓ 1 callers
Method
formatTimestamp
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
formatTimestamp
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
formatTrackLabel
(t: string)
interviews/staffml/src/app/page.tsx:21
↓ 1 callers
Function
format_answer_block
Formats the answers into a Quarto callout block.
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:5882
↓ 1 callers
Method
format_context
Format all chapter context as a structured string.
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:1875
↓ 1 callers
Function
format_exec_cell
Format an executable ```{python} cell. Shields `#|` option lines, runs Black at EXEC_LINE_LENGTH with quote normalization off, collapses mult
book/tools/scripts/content/format_python_in_qmd.py:229
↓ 1 callers
Function
format_failure_report
(label: str, pdf_path: Path, issues: list[PdfIssue])
book/cli/commands/_pdf_checks.py:786
↓ 1 callers
Function
format_file
Parse, validate, and re-emit a whole .bib file. Returns (formatted_text, violations). Violations are reported against the PRE-format file so
book/cli/checks/bib_lint.py:869
↓ 1 callers
Function
format_file
(path: Path)
interviews/vault/scripts/format_yaml_questions.py:174
↓ 1 callers
Function
format_fingerprint
Format hardware fingerprint as a human-readable string.
mlperf-edu/src/mlperf/fingerprint.py:220
↓ 1 callers
Function
format_python_blocks
Find and format Python code blocks in markdown using Black. Also wraps long comments and docstrings (display blocks only).
book/tools/scripts/content/format_python_in_qmd.py:257
↓ 1 callers
Function
format_quiz_block
Formats the questions into a Quarto callout block.
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:5823
↓ 1 callers
Function
format_report
One-line summary line for the scan output.
book/tools/audit/accept_list.py:275
↓ 1 callers
Function
format_report
(violations: list[Violation])
book/tools/scripts/mit_press/check_footnote_caps.py:317
↓ 1 callers
Function
format_row
(row: dict)
book/tools/audit/sync_lego_journal.py:57
↓ 1 callers
Function
format_stale_warnings
Produce human-readable stale-entry warnings. A stale entry is an accepted FP that no longer matches any issue in the current scan — usually b
book/tools/audit/accept_list.py:283
↓ 1 callers
Method
formatted
Render this field as a canonical line. Uses brace-quoted form `{...}` to match the repo convention (the shared book references.bib is
book/cli/checks/bib_lint.py:283
↓ 1 callers
Method
forward
Forward pass through BatchNorm2d. TODO: Compose _validate_input, _get_stats, and normalize+scale APPROACH: 1. Valid
tinytorch/src/09_convolutions/09_convolutions.py:2220
↓ 1 callers
Method
forward
Forward pass through SimpleCNN. TODO: Implement CNN forward pass APPROACH: 1. Apply conv1 → ReLU → pool1 2.
tinytorch/src/09_convolutions/09_convolutions.py:2867
↓ 1 callers
Method
forward
(self, x)
tinytorch/tests/integration/test_forward_passes.py:269
↓ 1 callers
Method
forward
(self, x)
tinytorch/tests/integration/test_forward_passes.py:294
↓ 1 callers
Method
forward
(self, x)
tinytorch/tests/integration/test_forward_passes.py:318
↓ 1 callers
Method
forward
(self, x)
tinytorch/tests/integration/test_gradients.py:125
↓ 1 callers
Method
forward
Forward pass through YOUR CNN architecture.
tinytorch/milestones/04_1998_cnn/02_lecun_cifar10.py:277
↓ 1 callers
Method
forward
(self, x)
tinytorch/milestones/01_1958_perceptron/01_rosenblatt_forward.py:133
↓ 1 callers
Method
forward
Forward pass through the network.
tinytorch/milestones/03_1986_mlp/01_rumelhart_tinydigits.py:173
↓ 1 callers
Method
forward
(self, x)
tinytorch/milestones/05_2017_transformer/01_vaswani_attention.py:231
↓ 1 callers
Method
forward
(self, x)
tinytorch/milestones/06_2018_mlperf/networks.py:50
↓ 1 callers
Method
forward
(self, x)
tinytorch/milestones/06_2018_mlperf/networks.py:88
↓ 1 callers
Method
forward
(self, x)
tinytorch/milestones/06_2018_mlperf/networks.py:141
↓ 1 callers
Method
forward
(self, x)
tinytorch/milestones/06_2018_mlperf/networks.py:213
↓ 1 callers
Method
forward
(self, x)
tinytorch/milestones/06_2018_mlperf/01_optimization_olympics.py:844
↓ 1 callers
Method
forward
Forward pass with optional retry-step conditioning. Args: input_ids: (B, T) token IDs targets: (B, T) target
mlperf-edu/reference/cloud/nano_codegen_agent.py:161
↓ 1 callers
Method
forward
Forward pass with step conditioning. Args: input_ids: (B, T) token IDs targets: (B, T) for training loss
mlperf-edu/reference/cloud/nano_react_agent.py:241
↓ 1 callers
Method
forward
Standard forward pass for training. Returns: logits: (B, T, vocab_size) loss: scalar if targets provided
mlperf-edu/reference/cloud/nano_toolcall_agent.py:224
↓ 1 callers
Function
forward_no_cache
Standard forward pass - recomputes everything.
tinytorch/milestones/06_2018_mlperf/02_generation_speedup.py:168
↓ 1 callers
Method
forward_with_timing
Simulates the agentic retry loop with per-iteration timing. This measures the key systems cost: each retry grows the effective
mlperf-edu/reference/cloud/nano_codegen_agent.py:213
↓ 1 callers
Method
forward_with_timing
Simulate the full ReAct loop with per-step timing. Measures: - Reasoning latency per step (transformer forward) - To
mlperf-edu/reference/cloud/nano_react_agent.py:325
↓ 1 callers
Method
forward_with_timing
Inference-mode forward pass that returns per-stage latency breakdown. This is the key systems metric for the RAG agent benchmark.
mlperf-edu/reference/cloud/nano_rag_agent.py:223
↓ 1 callers
Method
forward_with_timing
Benchmark the full function-calling pipeline over multiple queries. For each query: 1. Generate tokens (measure generation l
mlperf-edu/reference/cloud/nano_toolcall_agent.py:294
↓ 1 callers
Function
frameworks_stream_overlap
(candidate=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:1107
↓ 1 callers
Function
frameworks_training_memory_ladder
(candidate=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:1092
↓ 1 callers
Method
fromData
(data)
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition.js:23
↓ 1 callers
Method
frontWeightedSelection
(chunks, numSelections)
socratiq/src_shadow/js/libs/memory/chapterSummaries.js:33
↓ 1 callers
Function
frontmatter
(path: Path)
book/tools/scripts/audit/validate_concept_maps.py:48
↓ 1 callers
Function
gate_format
Free regex-only format-compliance gate. Returns a result dict with shape: { "verdict": "pass" | "fail", "issues": [...],
interviews/vault-cli/scripts/_judges.py:167
↓ 1 callers
Function
gate_originality
Return (ok, reason, detail). detail carries the top-1 neighbour qid + cosine, useful for the human reviewer to spot-check against.
interviews/vault-cli/scripts/validate_drafts.py:147
↓ 1 callers
Function
gate_schema
(draft: dict[str, Any])
interviews/vault-cli/scripts/validate_drafts.py:106
↓ 1 callers
Function
gather_global_ids
(html_files: List[Path])
book/tools/scripts/testing/struct_qa_html.py:118
↓ 1 callers
Function
gauntletGate
(theme)
interviews/staffml/tests/stargate-test.mjs:132
↓ 1 callers
Function
general_agent
(text, links=[window.location.href])
socratiq/src_shadow/js/components/markdown/markdown.js:608
↓ 1 callers
Function
general_agent
(text, links = [window.location.href])
socratiq/src_shadow/js/components/markdown/streamdown_markdown.js:1369
↓ 1 callers
Function
generate
()
book/tools/scripts/margin_figures/generate_margin_figures.py:2252
↓ 1 callers
Function
generate
Generate via batched Gemini calls. Return (calls_used, new_yaml_paths).
interviews/vault/scripts/iterate_coverage_loop.py:95
↓ 1 callers
Method
generateAnswer
(question)
socratiq/src_shadow/js/libs/agents/duck-ai.js:15
↓ 1 callers
Function
generateDiagramId
(type_of_custom_event, text, type_of_action, id)
socratiq/src_shadow/js/components/markdown/markdown.js:666
↓ 1 callers
Function
generateDiagramId
(type_of_custom_event, text, type_of_action, id)
socratiq/src_shadow/js/components/markdown/streamdown_markdown.js:1380
↓ 1 callers
Method
generateFromRoomContent
* Generate a quiz from room content using AI * @param {Array} teams - Current teams in the game * @param {Object} collectedContent - Pre-collect
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:2811
↓ 1 callers
Method
generateFromRoomContent
(e,t=null)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
generateProgressReport
()
socratiq/src_shadow/js/components/progressReport/progressReport.js:301
↓ 1 callers
Function
generateQuestions
(data)
socratiq/src_shadow/js/components/quiz/backupQuiz.js:19
↓ 1 callers
Method
generateQuiz
* Generate quiz from content data * @param {Object} contentData - Processed content data * @returns {Promise<Object>} Generated quiz data
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:2589
↓ 1 callers
Method
generateQuiz
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
generateQuizPDF
()
socratiq/src_shadow/js/components/quiz/generateQuizPDF.js:9
↓ 1 callers
Method
generateQuizWithAI
* Generate quiz using AI with team-specific formatting * @param {Array} contentData - Content from all users * @param {Array} teams - Current te
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:2877
↓ 1 callers
Method
generateQuizWithAI
(e,t)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
generateRandomVector
(dimensions)
socratiq/src_shadow/js/libs/vector_db/vectordb/db/vectorDB/vectordb.js:30
← previous
next →
5,801–5,900 of 13,553, ranked by callers