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
process_callout_icons
Process all callout definition icons to remove white backgrounds
book/tools/scripts/images/remove_bg.py:49
↓ 1 callers
Function
process_directory
Process all .qmd files in a directory. Returns (modified_files, total_issues).
book/tools/scripts/content/format_div_spacing.py:270
↓ 1 callers
Function
process_file
(path: Path, cell_lines_to_split: list[int], relocate: dict[str, int] | None = None)
book/tools/audit/split_multi_class_cells.py:85
↓ 1 callers
Function
process_file
(filepath, dry_run=False)
book/tools/scripts/migrate_bridges.py:143
↓ 1 callers
Function
process_file
Process a QMD file, transforming flat PICO cells. Returns (count, issues).
book/tools/scripts/transform_pico_cells.py:221
↓ 1 callers
Function
process_file
Process a single QMD file. Returns stats dict.
book/tools/scripts/maintenance/capitalize_sentence_start_xrefs.py:194
↓ 1 callers
Function
process_file
Process a single file. Args: file_path: Path to file mode: 'check' or 'format' verbose: Print detailed info Ret
book/tools/scripts/content/format_tables.py:782
↓ 1 callers
Function
process_file
Process a single QMD file. Returns count of replacements.
book/tools/scripts/content/fix_capitalization.py:137
↓ 1 callers
Function
process_file
Update fig-alt attributes in a single QMD file.
book/tools/scripts/content/fix_alt_text.py:44
↓ 1 callers
Function
process_file
Process a single QMD file. Returns count of replacements.
book/tools/scripts/content/fix_emdash.py:32
↓ 1 callers
Function
process_file
Process a single QMD file. Returns count of replacements.
book/tools/scripts/content/fix_percent.py:108
↓ 1 callers
Function
process_file
Process a single QMD file. Returns count of replacements.
book/tools/scripts/content/fix_numbers.py:349
↓ 1 callers
Function
process_file
Process a single file. Returns (has_changes, num_boxes_fixed, num_tables_fixed, num_complex).
tinytorch/tools/dev/fix_ascii_boxes.py:395
↓ 1 callers
Function
process_gap
Returns a one-row report describing the outcome.
interviews/vault-cli/scripts/generate_question_for_gap.py:448
↓ 1 callers
Method
process_qmd_files
Process QMD files to update captions using targeted search-and-replace. Uses individual search-and-replace operations for each capti
book/tools/scripts/content/manage_captions.py:2623
↓ 1 callers
Method
process_queries
Process a batch of queries. Args: queries: List[QuerySample] with .id and .index fields Returns: Li
mlperf-edu/examples/lab2_inference_sut.py:67
↓ 1 callers
Function
process_svg
(filepath)
book/tools/scripts/svg_standardizer.py:46
↓ 1 callers
Method
profile_compute_peak
Measures Peak TFLOPs using a Compute-Only kernel. Optimizes for register reuse to ensure the 'Compute Roof' is a true hardware limit.
mlperf-edu/src/mlperf/hardware.py:90
↓ 1 callers
Method
profile_memory_bandwidth
Measures Peak Memory Bandwidth (GB/s) using a Memory-Only kernel. Minimizes compute to ensure the 'Memory Roof' is a true hardware li
mlperf-edu/src/mlperf/hardware.py:131
↓ 1 callers
Function
promote_one
(draft_path: Path, *, publish: bool, reviewed_by: str | None, now: str, dry_run: bool)
interviews/vault-cli/scripts/promote_drafts.py:136
↓ 1 callers
Function
promote_one
Apply the lifecycle flip in-place. Returns True on actual change.
interviews/vault/scripts/promote_validated.py:84
↓ 1 callers
Function
prompt_choice
()
interviews/vault-cli/scripts/apply_corrections.py:232
↓ 1 callers
Method
prompt_community_registration
Prompt user to join the TinyTorch community.
tinytorch/tito/commands/setup.py:525
↓ 1 callers
Method
pruneOldMessages
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:10244
↓ 1 callers
Method
pruneOldMessages
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
pruneWeight
(w)
site/assets/games/prune.mjs:202
↓ 1 callers
Function
pruneWeight
(w)
site/assets/games/prune.js:63
↓ 1 callers
Function
prune_2of4
Structured 2:4 sparsity: zero 2 of every 4 contiguous weights.
mlperf-edu/reference/mobile/mobilenet_compress.py:47
↓ 1 callers
Function
prune_unstructured
Magnitude-prune `sparsity` fraction of weights in every Conv/Linear. Stores the mask as a buffer so the pruning is reproducible and the effec
mlperf-edu/reference/mobile/mobilenet_compress.py:21
↓ 1 callers
Method
pulseStat
* Add pulsing effect to stats when they update * @param {HTMLElement} container - The stats content container * @param {string} elementId - ID o
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5619
↓ 1 callers
Method
pulseStat
(e,t)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
purpose_bits
(qmd)
book/tools/audit/check_purpose_overflow.py:34
↓ 1 callers
Function
push
()
socratiq/src_shadow/js/libs/agents/json_streamer_agent.js:33
↓ 1 callers
Function
python_cells
Yield (start_line, line) for each line inside a {python} fence.
book/tools/audit/audit_mlsysim_drift.py:157
↓ 1 callers
Function
python_cells
(path: Path)
book/tools/audit/book_check_registry_sources.py:241
↓ 1 callers
Function
q
(e,t)
book/quarto/_extensions/quarto-ext/lightbox/resources/js/glightbox.min.js:1
↓ 1 callers
Function
qmd_files
()
book/tools/audit/snapshot_lego_baseline.py:24
↓ 1 callers
Function
qmd_packet_name
(rel_path: str)
book/tools/scripts/build_citation_reference_packets.py:344
↓ 1 callers
Function
quadratic_loss
Simple quadratic function for optimization testing.
tinytorch/src/07_optimizers/07_optimizers.py:1660
↓ 1 callers
Method
quantize_model
Quantize all Linear layers in a model and return stats. Unlike the standalone quantize_model() which modifies in-place, this
tinytorch/src/15_quantization/15_quantization.py:1769
↓ 1 callers
Function
quarto_pdf_render
Install Quarto's TinyTeX and render the book to PDF. Returns: str: Path to the generated PDF file.
book/tools/scripts/publish/render_compress_publish.py:25
↓ 1 callers
Function
quarto_publish
Publish the rendered book using Quarto.
book/tools/scripts/publish/render_compress_publish.py:75
↓ 1 callers
Function
quarto_render_html
Publish the rendered book using Quarto.
book/tools/scripts/publish/render_compress_publish.py:64
↓ 1 callers
Method
query
(queryVector, options = { limit: 10 })
socratiq/src_shadow/js/libs/vector_db/vectordb/db/vectorDB/vectordb.js:295
↓ 1 callers
Function
questionMatches
(question: Question, query: string)
interviews/staffml/src/app/explore/page.tsx:57
↓ 1 callers
Function
question_mentions_anchor
(question: str, anchors: set[str])
interviews/vault/scripts/audit_question_backfill_balance.py:68
↓ 1 callers
Function
question_payload
Compact JSON payload for one question — input to Gemini.
interviews/vault-cli/scripts/build_chains_with_gemini.py:94
↓ 1 callers
Method
queueCommentForRetry
* Queue comment for retry when peers become available
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:503
↓ 1 callers
Method
queueCommentForRetry
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
queue_status
(findings: list[Finding])
scripts/cross-references/merge_crossref_reports.py:211
↓ 1 callers
Function
quickStart
(metaData, token, isLocal = true)
socratiq/src_shadow/js/libs/vector_db/vectordb/quick_start.js:37
↓ 1 callers
Function
quickStart_single
(metaData, token, isLocal = true)
socratiq/src_shadow/js/libs/vector_db/vectordb/quick_start.js:90
↓ 1 callers
Function
quick_profile
Quick profiling function for immediate insights. Provides a simplified interface for profiling that displays key metrics in a student-fr
tinytorch/src/14_profiling/14_profiling.py:917
↓ 1 callers
Function
quiz_agent
(text)
socratiq/src_shadow/js/components/highlight_menu/components/highlight_menu.js:213
↓ 1 callers
Function
quiz_json_path_for
(vol: str, chapter: str)
book/tools/scripts/quizzes/build_audit_context.py:65
↓ 1 callers
Function
quote
(joules_per_token: float, seconds_per_token: float, usd_per_kwh: float = DEFAULT_USD_PER_KWH,
mlperf-edu/tools/cost_model.py:51
↓ 1 callers
Function
radio_candidates
(page)
labs/tools/interaction_lab_smoke.py:1105
↓ 1 callers
Function
randomDistributedSampling
* Performs random distributed sampling across the entire text * @param {Array} sentences - Array of sentences * @param {number} targetCount - Target
socratiq/src_shadow/js/utils/textExtractor.js:222
↓ 1 callers
Method
randomSample
* Randomly sample text to fit within character limit * @param {string} text - Original text * @param {number} maxChars - Maximum characters allo
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:10342
↓ 1 callers
Method
randomSample
(e,t)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
randomWordSample
* Fallback word-based sampling
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:10362
↓ 1 callers
Method
randomWordSample
(e,t)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
rank_track_area_gaps
Score every (track, area) cell and return ranked by priority.
interviews/vault/scripts/analyze_coverage_gaps.py:168
↓ 1 callers
Function
ratingColor
(r: number)
interviews/staffml/src/app/interview/page.tsx:598
↓ 1 callers
Function
ratingLabel
(r: number)
interviews/staffml/src/app/interview/page.tsx:604
↓ 1 callers
Function
read
(path: str)
labs/tools/fix_protocol_compliance.py:40
↓ 1 callers
Function
read_all_chapters_from_yaml
Read both commented and uncommented chapter entries from YAML. This captures the full intended chapter order.
book/tools/scripts/publish/extract_figures.py:39
↓ 1 callers
Method
read_config
Read and parse a configuration file. Args: format_type: Format type ('html', 'pdf', 'epub') volume: Optional volume (
book/cli/core/config.py:270
↓ 1 callers
Function
read_done_qids
(path: Path)
interviews/vault/scripts/semantic_audit_questions.py:117
↓ 1 callers
Function
read_image_dims
(path: Path)
tinytorch/quarto/tools/measure-pdf-images.py:112
↓ 1 callers
Function
read_jpeg_dims
(path: Path)
tinytorch/quarto/tools/measure-pdf-images.py:90
↓ 1 callers
Function
read_jsonl
(path: Path)
interviews/vault/scripts/semantic_audit_questions.py:108
↓ 1 callers
Function
read_png_dims
(path: Path)
tinytorch/quarto/tools/measure-pdf-images.py:81
↓ 1 callers
Function
read_rows
(paths: list[Path])
interviews/vault/scripts/summarize_semantic_audit.py:26
↓ 1 callers
Function
read_rows
(paths: list[Path])
interviews/vault/scripts/build_semantic_fix_queue.py:27
↓ 1 callers
Function
read_yaml
(path: Path)
book/tools/scripts/audit/validate_concept_maps.py:44
↓ 1 callers
Function
reading_position
(vol: str, chapter: str)
book/tools/scripts/quizzes/build_audit_context.py:137
↓ 1 callers
Function
recommend_generation_plan
Pick `total` cells to target, weighted by gap priority.
interviews/vault/scripts/analyze_coverage_gaps.py:221
↓ 1 callers
Method
reconnectDB
()
socratiq/src_shadow/js/libs/utils/indexDb.js:242
↓ 1 callers
Function
recordClarification
(qId: string, q: string)
interviews/staffml/src/app/gauntlet/page.tsx:93
↓ 1 callers
Function
recordExternalCommandStart
( command: string, cwd: string, label: string, mode: 'raw' | 'focused' = 'raw', )
book/vscode-ext/src/utils/terminal.ts:308
↓ 1 callers
Function
recordStart
(command: string, cwd: string, label: string)
labs/vscode-ext/src/utils/terminal.ts:66
↓ 1 callers
Function
recordStart
(command: string, cwd: string, label: string)
tinytorch/vscode-ext/src/utils/terminal.ts:65
↓ 1 callers
Function
recordStart
(command: string, cwd: string, label: string)
kits/vscode-ext/src/utils/terminal.ts:66
↓ 1 callers
Function
recordStart
(command: string, cwd: string, label: string)
mlsysim/vscode-ext/src/utils/terminal.ts:66
↓ 1 callers
Function
redistribute_mcq_answers
Redistribute MCQ answers to ensure balanced distribution across A, B, C, D. Args: response: Quiz response containing questions
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:4356
↓ 1 callers
Function
redraw
()
site/assets/games/prune.mjs:411
↓ 1 callers
Function
redraw
()
site/assets/games/oom.mjs:535
↓ 1 callers
Function
ref_sentence
(line: str)
book/tools/audit/float_explanation/scan_floats.py:111
↓ 1 callers
Function
referenced_margin_svgs
(volume: str, chapters: list[str])
book/tools/scripts/margin_figures/render_margin_contact_sheet.py:46
↓ 1 callers
Method
refresh
()
labs/vscode-ext/src/providers/governanceProvider.ts:15
↓ 1 callers
Method
refresh
()
kits/vscode-ext/src/providers/buildTreeProvider.ts:14
↓ 1 callers
Method
refresh
()
mlsysim/vscode-ext/src/providers/zooTreeProvider.ts:13
↓ 1 callers
Method
refresh
()
mlsysim/vscode-ext/src/providers/testTreeProvider.ts:14
↓ 1 callers
Method
refreshFromDocument
(document: vscode.TextDocument)
book/vscode-ext/src/providers/chapterNavigatorProvider.ts:254
↓ 1 callers
Function
refreshToken
()
tinytorch/quarto/community/modules/auth.js:73
↓ 1 callers
Function
refresh_yaml
()
book/tools/audit/generate_appendix_constants.py:252
↓ 1 callers
Function
refresh_yaml
(path: Path, mapping: dict[str, str])
book/tools/audit/refresh_mlsysim_constants_yamls.py:82
↓ 1 callers
Function
regenerate_questions
(user_prompt)
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:3448
↓ 1 callers
Function
regenerate_section_quiz
Regenerate quiz questions for a section with custom instructions. This function allows users to regenerate quiz questions with specific
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:2515
← previous
next →
7,201–7,300 of 13,553, ranked by callers