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
↓ 7 callers
Method
get
Retrieve an item by name.
mlsysim/mlsysim/core/registry/plugin_manager.py:44
↓ 7 callers
Function
getManifest
(env: Env)
interviews/staffml-vault-worker/src/index.ts:99
↓ 7 callers
Function
getQuestions
()
interviews/staffml/src/lib/corpus.ts:125
↓ 7 callers
Function
getQuestionsByFilter
(filters: { track?: string; level?: string; competency_area?: string; topic?: string; zone?: string;
interviews/staffml/src/lib/corpus.ts:196
↓ 7 callers
Function
get_qmd_order_from_quarto_yml
Extract the ordered list of .qmd files from the chapters section of _quarto.yml, including commented ones.
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:6337
↓ 7 callers
Function
hash_of_canonical_yaml
SHA-256 of canonical JSON of arbitrary loaded-YAML data. Used for taxonomy/chains/zones/policy Merkle leaves.
interviews/vault-cli/src/vault_cli/hashing.py:84
↓ 7 callers
Method
hide
* Hide the tooltip
socratiq/src_shadow/js/components/tooltip/referenceTooltip.js:48
↓ 7 callers
Function
injectProgress
(clone)
socratiq/src_shadow/js/components/progress/progress.js:35
↓ 7 callers
Function
isMenuOpen
(shadowEle)
socratiq/src_shadow/js/libs/utils/check_menu_open.js:62
↓ 7 callers
Function
is_table_row
True if this line is a markdown pipe-table row. Includes both data rows and the separator row (`|---|---|`).
book/tools/audit/protected_contexts.py:554
↓ 7 callers
Function
list_emails
List emails, optionally filtered by status (draft, scheduled, sent). Follows Buttondown's pagination (`next` URL) until exhausted so callers
site/newsletter/cli/core/buttondown.py:119
↓ 7 callers
Function
load_api_key
Load BUTTONDOWN_API_KEY from the shell environment or .env file. Precedence: 1. BUTTONDOWN_API_KEY environment variable 2. BUTTON
site/newsletter/cli/core/config.py:52
↓ 7 callers
Function
load_registry
Build a ``Registry`` subclass from one-entry-per-file YAML in ``data_dir``. Each ``*.yaml`` becomes one validated instance, exposed as a class at
mlsysim/mlsysim/core/loader.py:140
↓ 7 callers
Method
log_info
Log info message.
book/quarto/scripts/clean_svgs.py:57
↓ 7 callers
Function
m
(e)
book/quarto/_extensions/quarto-ext/lightbox/resources/js/glightbox.min.js:1
↓ 7 callers
Function
makeEnv
(override: Partial<Env> = {})
interviews/staffml-vault-worker/tests/worker.test.ts:80
↓ 7 callers
Function
make_blast
(chapter, name, *, n=5, style="fan")
book/tools/scripts/margin_figures/generate_margin_figures.py:256
↓ 7 callers
Method
measure_sparsity
Measure the sparsity of a model (returns fraction 0-1).
tinytorch/src/16_compression/16_compression.py:1607
↓ 7 callers
Function
normalize
Loose normalize for matching — lowercase, strip parens, collapse whitespace.
book/tools/audit/index/audit.py:62
↓ 7 callers
Function
openClose
()
socratiq/src_shadow/js/components/highlight_menu/components/highlight_menu.js:351
↓ 7 callers
Method
performTransaction
(storeName, mode, operation)
socratiq/src_shadow/js/libs/utils/indexDb.js:173
↓ 7 callers
Function
press_enter_to_continue
()
tinytorch/milestones/02_1969_xor/01_xor_crisis.py:191
↓ 7 callers
Function
press_enter_to_continue
()
tinytorch/milestones/04_1998_cnn/01_lecun_tinydigits.py:301
↓ 7 callers
Method
print_warning
Print warning message in yellow
book/tools/scripts/utilities/manage_sources.py:68
↓ 7 callers
Method
profile_forward_pass
Comprehensive profiling of a model's forward pass. TODO: Gather measurements, then use _compute_derived_metrics and _analyze_bottlen
tinytorch/src/14_profiling/14_profiling.py:757
↓ 7 callers
Method
refresh
()
labs/vscode-ext/src/providers/labNavigatorProvider.ts:14
↓ 7 callers
Function
replaceElementsWithErrorNotice
(className, shadowEle)
socratiq/src_shadow/js/libs/utils/cleanup.js:2
↓ 7 callers
Method
reset
Reset to random initial state near equilibrium.
mlperf-edu/reference/cloud/micro_rl.py:80
↓ 7 callers
Function
runInTerminal
(command: string, cwd: string, label: string)
kits/vscode-ext/src/utils/terminal.ts:83
↓ 7 callers
Function
runShellCommand
( command: string, cwd: string, channel: vscode.OutputChannel, tag: string, controller?: SessionCont
book/vscode-ext/src/utils/parallelDebug.ts:218
↓ 7 callers
Function
run_milestone
Run a milestone via tito CLI and capture output. Args: milestone_id: Milestone ID (01-06) part: Optional part number for mul
tinytorch/tests/milestones/test_milestones_run.py:29
↓ 7 callers
Function
scan_file
Return (mult_edits, mult_vars, queue_items) for one chapter. variants=False (default): only the provable, value-identical lane — fmt(…suffi
book/tools/audit/fmt/codemod_fmt.py:937
↓ 7 callers
Function
setMode
(mode)
tinytorch/quarto/community/modules/auth.js:158
↓ 7 callers
Method
showAllCards
(isNoMessage=false)
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-modal-handler.js:2046
↓ 7 callers
Method
solve
Calculate the compute and data overhead of responsible-AI guarantees. Two first-order cost models: - **Privacy (DP-SGD slow
mlsysim/mlsysim/engine/solvers/economics.py:282
↓ 7 callers
Method
solve
Estimates achievable MFU and FLOPS for a given workload type. Parameters ---------- model : Workload The
mlsysim/mlsysim/engine/solvers/performance.py:219
↓ 7 callers
Method
solve
Solves for data pipeline feasibility. Parameters ---------- workload_data_rate : Quantity The required d
mlsysim/mlsysim/engine/solvers/data.py:35
↓ 7 callers
Method
solve
Solves for compute-optimal model and dataset parameters. Parameters ---------- compute_budget : Quantity
mlsysim/mlsysim/engine/solvers/training.py:305
↓ 7 callers
Method
solve
Calculate continuous-batching throughput and PagedAttention memory. Models a decode-dominated serving replica: - **Capacity**: KV me
mlsysim/mlsysim/engine/solvers/serving.py:483
↓ 7 callers
Function
success
(message: str)
site/newsletter/cli/core/console.py:36
↓ 7 callers
Method
test
Run a test and track results.
tinytorch/tests/integration/test_training_capabilities.py:46
↓ 7 callers
Function
toggleModal
(shadowEle)
socratiq/src_shadow/js/components/settings/previous_conversations.js:218
↓ 7 callers
Function
useToast
()
interviews/staffml/src/components/Toast.tsx:21
↓ 7 callers
Function
v1_02_option_label
(value, options)
labs/vol1/lab_02_ml_systems.py:171
↓ 7 callers
Function
v1_04_clamp
(value, low, high)
labs/vol1/lab_04_data_engr.py:130
↓ 7 callers
Function
v1_06_budget_ratios
(profile, item)
labs/vol1/lab_06_nn_arch.py:231
↓ 7 callers
Function
v1_06_callout_html
(title, message, *, kind="info")
labs/vol1/lab_06_nn_arch.py:153
↓ 7 callers
Function
v1_14_threshold_economics
( v1_14_ops, amounts, *, threshold_psi, alert_review_cost, fal
labs/vol1/lab_14_ml_ops.py:463
↓ 7 callers
Function
v2_02_part_a_state
(packet, accelerators_per_rack, rack_count, cooling_tier)
labs/vol2/lab_02_compute_infra.py:240
↓ 7 callers
Function
v2_02_part_b_state
(packet, part_a, utilization_pct, demand_multiplier)
labs/vol2/lab_02_compute_infra.py:285
↓ 7 callers
Function
v2_04_callout_html
(title, body, kind="info")
labs/vol2/lab_04_data_storage.py:159
↓ 7 callers
Function
v2_08_fmt_hours
(hours)
labs/vol2/lab_08_fleet_orch.py:290
↓ 7 callers
Function
v2_09_candidate_label
(candidate_id)
labs/vol2/lab_09_perf_engineering.py:139
↓ 7 callers
Function
v2_09_num
(value, digits=1)
labs/vol2/lab_09_perf_engineering.py:109
↓ 7 callers
Function
v2_09_profile_result
(packet, optimization="none", pressure=1.0)
labs/vol2/lab_09_perf_engineering.py:254
↓ 7 callers
Function
v2_13_fmt_ms
(value)
labs/vol2/lab_13_security_privacy.py:306
↓ 7 callers
Function
v2_14_shift_exposure
(track_id, shift_id, exposure, failure_cost_multiplier, variant)
labs/vol2/lab_14_robust_ai.py:342
↓ 7 callers
Function
v2_14_track_params
(track_id, variant)
labs/vol2/lab_14_robust_ai.py:112
↓ 7 callers
Function
v2_15_region_catalog
()
labs/vol2/lab_15_sustainable_ai.py:420
↓ 7 callers
Function
v2_15_status_html
(ok)
labs/vol2/lab_15_sustainable_ai.py:160
↓ 7 callers
Function
v2_17_pressure_factor
(packet, axis)
labs/vol2/lab_17_fleet_synthesis.py:724
↓ 7 callers
Function
yn
(v)
book/tools/audit/chapter_html_verify.py:418
↓ 7 callers
Method
zero_grad
(self)
tinytorch/tests/10_tokenization/test_10_tokenization_progressive.py:595
↓ 6 callers
Function
L
(t)
book/quarto/_extensions/quarto-ext/lightbox/resources/js/glightbox.min.js:1
↓ 6 callers
Method
__init__
Initialize Conv2d layer with proper weight initialization. TODO: Complete Conv2d initialization APPROACH: 1. Store
tinytorch/src/09_convolutions/09_convolutions.py:593
↓ 6 callers
Function
_app
Build a multi-command Typer app so CliRunner invokes `<app> <subcommand> [args]` rather than single-command mode. Typer promotes a single-comm
interviews/vault-cli/tests/test_commands.py:65
↓ 6 callers
Method
_compute_output_shape
Calculate output spatial dimensions for convolution. TODO: Apply the convolution output size formula APPROACH: 1. A
tinytorch/src/09_convolutions/09_convolutions.py:641
↓ 6 callers
Method
_extract_gradient
Extract gradient data as a NumPy array from a parameter. Gradients can be stored as either a Tensor (with .data attribute) o
tinytorch/src/07_optimizers/07_optimizers.py:347
↓ 6 callers
Function
_line_of
Return 1-indexed line number of *offset* in *text*.
book/cli/commands/_epub_checks.py:99
↓ 6 callers
Function
_load
(stem: str, name: str, doc: str)
mlsysim/mlsysim/models/registry.py:30
↓ 6 callers
Method
_margin_geometry_strategy
(self, row: Dict[str, Any])
book/cli/commands/layout.py:2119
↓ 6 callers
Function
_node_src
(src: str, node: ast.AST | None)
book/tools/audit/fmt/codemod_design_b_rates.py:167
↓ 6 callers
Function
_normalize_authors
(value: str | None)
book/tools/bib_sync_preserve.py:82
↓ 6 callers
Method
_params_with_grads
Create Tensor params with preset gradients.
tinytorch/tests/08_training/test_training_coverage.py:106
↓ 6 callers
Function
_parse_formatted_number
Parse a formatted numeric string, ignoring thousands separators.
mlsysim/mlsysim/fmt.py:89
↓ 6 callers
Function
_pause
()
socratiq/src_shadow/js/components/meditation/meditationTimer.js:321
↓ 6 callers
Function
_policy
()
interviews/vault-cli/tests/test_policy.py:13
↓ 6 callers
Function
_random_crop_region
Sample a random (top, left) position for cropping. TODO: Generate random top-left corner within valid bounds APPROACH: 1. Compute m
tinytorch/src/05_dataloader/05_dataloader.py:1039
↓ 6 callers
Method
_resolve_files
Resolve file arguments to a list of QMD paths.
book/cli/commands/formatting.py:96
↓ 6 callers
Function
_revert
(path: Path)
book/tools/audit/fmt/run_multiplier_lane.py:47
↓ 6 callers
Function
_rules
(issues)
book/tools/tests/test_lint_lego_units.py:22
↓ 6 callers
Method
_run_command
Run a command and return (exit_code, stdout, stderr).
tinytorch/tito/commands/dev/preflight.py:236
↓ 6 callers
Method
_should_apply_dropout
Determine whether dropout should be applied. Dropout is a training-time technique. During inference the full network is used
tinytorch/src/03_layers/03_layers.py:639
↓ 6 callers
Method
_source_key
Normalize source/rendered text for fuzzy line localization.
book/cli/commands/layout.py:3030
↓ 6 callers
Function
_sync
()
mlperf-edu/bench/measure_peaks.py:55
↓ 6 callers
Method
_validate_matmul_shapes
Validate that two tensors are compatible for matrix multiplication. This helper checks three conditions before any computation begins:
tinytorch/src/01_tensor/01_tensor.py:487
↓ 6 callers
Function
_write_qmd
(tmp_path: Path, body: str)
book/tools/tests/test_lego_quantity_flow_audit.py:16
↓ 6 callers
Function
add_copy_paste_share_buttons
( shadowEle, clone, ref_buttons_element, accumulatedResponse = "" )
socratiq/src_shadow/js/libs/utils/utils.js:454
↓ 6 callers
Function
anchor_by_id
Return a validation anchor by stable id.
mlsysim/mlsysim/engine/empirical.py:174
↓ 6 callers
Function
batching_tax
Estimate batch-formation delay and p99 latency for static batching.
labs/mlsysbook_labs/serving.py:300
↓ 6 callers
Method
broadcastGameState
* Broadcast game state to all players * @param {string} eventType - Type of game event * @param {Object} data - Event data
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:4060
↓ 6 callers
Method
broadcastGameState
(e,t=null)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 6 callers
Function
build_model
Build a fresh transformer model with optimizer. Returns: model: AttentionTransformer instance optimizer: Adam optimizer
tinytorch/milestones/05_2017_transformer/01_vaswani_attention.py:498
↓ 6 callers
Function
cachedOrCompute
( req: Request, env: Env, ctx: ExecutionContext, ttlSec: number, compute: () => Promise<Response>,
interviews/staffml-vault-worker/src/index.ts:199
↓ 6 callers
Function
calc_mtbf_cluster
Cluster MTBF from identical independent components. ``MTBF_cluster = MTBF_component / N`` — exact when failures are independent and exponenti
mlsysim/mlsysim/physics/reliability.py:56
↓ 6 callers
Function
calc_population_stability_index
Population Stability Index (PSI) between two aligned distributions. Measures distribution drift between a reference ("expected") and an obser
mlsysim/mlsysim/physics/statistics.py:8
↓ 6 callers
Function
calc_queue_latency_mmc
M/M/c queueing model for inference tail latency (Erlang C). Calculates the expected queueing delays (P50 and P99) for a system with Mar
mlsysim/mlsysim/physics/serving.py:12
↓ 6 callers
Function
calc_two_proportion_sample_size
Per-arm sample size for a two-proportion A/B test. Standard normal-approximation power formula: ``n = 2 * (z_alpha + z_beta)^2 * p(1-p) / del
mlsysim/mlsysim/physics/statistics.py:43
↓ 6 callers
Method
candidate
Evaluate one compression configuration with feasibility metadata.
mlsysim/mlsysim/engine/solvers/compression.py:175
↓ 6 callers
Function
capture
(page, locator_str: str, fname: str, scroll: bool = True)
labs/tools/capture_landing_shots.py:34
← previous
next →
601–700 of 13,553, ranked by callers