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
Method
collapseNode
(node)
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:2325
↓ 1 callers
Function
collapse_blank_lines
Replace multiple consecutive blank lines with a single blank line. Preserves content inside code blocks (```...```) to avoid interfering with
tinytorch/tools/dev/collapse_blank_lines.py:12
↓ 1 callers
Function
collect
(volume: str, chapters: list[str], include_png: bool)
book/tools/scripts/margin_figures/inventory_margin_figures.py:143
↓ 1 callers
Method
collectEnhancedContent
* Collect enhanced content from all room members * @returns {Promise<Array>} Enhanced content data
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:2827
↓ 1 callers
Method
collectEnhancedContent
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
collectSectionData
(section)
socratiq/src_shadow/js/libs/memory/chapterDataCollector.js:13
↓ 1 callers
Function
collect_candidates
(volume: str, glossary_terms: list[GlossaryTerm])
book/tools/scripts/content/glossary_gap_review.py:145
↓ 1 callers
Function
collect_figures_caption_status
Return a list of booleans, one per <figure>, True iff has <figcaption>.
book/tools/scripts/testing/struct_qa_html.py:81
↓ 1 callers
Function
collect_files
Expand CLI paths into a list of .qmd files.
book/tools/scripts/utilities/check_list_formatting.py:111
↓ 1 callers
Function
collect_front_matter_text
Concatenate all relevant front-matter QMD files. Returns (joined_text, file_list_relative_to_quarto).
book/tools/audit/release/front_matter_coverage.py:49
↓ 1 callers
Function
collect_imgs_with_bs4
(soup)
book/tools/scripts/testing/struct_qa_html.py:61
↓ 1 callers
Function
collect_imgs_with_regex
(html: str)
book/tools/scripts/testing/struct_qa_html.py:73
↓ 1 callers
Function
collect_internal_anchors
(html: str, soup=None)
book/tools/scripts/testing/struct_qa_html.py:88
↓ 1 callers
Function
collect_pass_ids
Aggregate PASS verdicts across all judge runs (optionally filtered).
interviews/vault/scripts/promote_validated.py:52
↓ 1 callers
Function
collect_prose_previews
{ '<sorted refs>' -> visible composite } for every inline-ref prose line. Keyed by the *set of refs* (not line number) so the diff is stable unde
book/tools/audit/fmt/assess_equiv.py:77
↓ 1 callers
Function
collect_qmd_alt_text
Return {label: [{file, line, alt}]} for every fig label found in QMDs.
book/tools/audit/release/alt_text_coverage.py:44
↓ 1 callers
Function
collect_renames
(root: Path)
book/tools/audit/fmt/codemod_design_b_rates.py:419
↓ 1 callers
Function
collect_targets
()
interviews/vault-cli/scripts/regenerate_format_markers.py:121
↓ 1 callers
Function
collect_value_exports
{dotted_name -> str(value)} for every *_str export (module + class attr).
book/tools/audit/fmt/assess_equiv.py:62
↓ 1 callers
Function
collect_visible_text_across_scroll
Collect viewport text while scrolling Marimo/window scroll containers.
labs/tools/interaction_lab_smoke.py:467
↓ 1 callers
Function
collective_communication_fsdp_collective_count
Replace the FSDP process loop with the symbolic count relationship. ``2NL`` is a formula, not a numeric value on a shared scale. Keep it out of
book/tools/scripts/margin_figures/generate_margin_figures.py:1613
↓ 1 callers
Function
collective_communication_payload_shrink
(candidate=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:883
↓ 1 callers
Function
commit_message_has_override
()
interviews/vault-cli/scripts/pre_commit_corpus_guard.py:36
↓ 1 callers
Function
compact_record
(record: dict[str, Any])
interviews/vault/scripts/semantic_audit_questions.py:135
↓ 1 callers
Function
compare_batch_sizes
Compare different batch sizes to show DataLoader's impact on training. This demonstrates a key systems trade-off in ML: - Larger batches
tinytorch/milestones/03_1986_mlp/01_rumelhart_tinydigits.py:266
↓ 1 callers
Method
compare_models
Compare memory usage between original and quantized models.
tinytorch/src/15_quantization/15_quantization.py:1813
↓ 1 callers
Function
compatible
(left: Finding, right: Finding)
scripts/cross-references/merge_crossref_reports.py:191
↓ 1 callers
Method
completeStream
(markdownPreviewId = '')
socratiq/src_shadow/js/components/markdown/streamdown_markdown.js:1680
↓ 1 callers
Method
complete_all_modules
Complete all modules in sequence. This iterates through all modules in order (01 → 20) and runs complete_module on each one. Useful f
tinytorch/tito/commands/module/workflow.py:740
↓ 1 callers
Method
complete_module
Complete a module with enhanced visual feedback and celebration.
tinytorch/tito/commands/module/workflow.py:561
↓ 1 callers
Function
compose_sheet
(entries: list[Entry], pngs: list[Path], output: Path, columns: int, width: int)
book/tools/scripts/margin_figures/render_margin_contact_sheet.py:111
↓ 1 callers
Method
compress
Compress an EPUB file by optimizing embedded images. Args: input_path: Path to input EPUB file output_path:
book/quarto/publish/compress_epub.py:256
↓ 1 callers
Method
compress
Compress a PDF file using Ghostscript. Args: input_path: Path to input PDF file output_path: Path for compre
book/quarto/publish/compress_pdf.py:187
↓ 1 callers
Function
compress_images
Compress images to textbook-appropriate sizes.
book/tools/scripts/images/compress_images.py:13
↓ 1 callers
Function
compress_pdf_ghostscript
Compress a PDF file using ghostscript. Args: input_path (str): Path to the input PDF file. output_path (str): Path to the ou
book/tools/scripts/publish/render_compress_publish.py:86
↓ 1 callers
Function
compute
()
interviews/staffml/src/components/EcosystemBar.tsx:314
↓ 1 callers
Function
computeNgramSimilarity
(text1, text2, n = 3)
socratiq/src_shadow/js/libs/agents/fuzzy_match.js:202
↓ 1 callers
Function
compute_all_stats
(corpus: list, chains: list, taxonomy)
interviews/paper/scripts/analyze_corpus.py:261
↓ 1 callers
Function
compute_deficit
Compute per-KA deficit for L4, L5, L6+ levels.
interviews/vault/scripts/generate_hard_questions.py:181
↓ 1 callers
Function
compute_expected_delta
Compute the expected byte delta for a batch of edits. This is the sum of (len(suggested_after) - len(before)) across all unique (line_num, su
book/tools/audit/fix_script_lane.py:245
↓ 1 callers
Function
compute_gradient
Gradient of quadratic function: df/dx = x.
tinytorch/src/07_optimizers/07_optimizers.py:1664
↓ 1 callers
Function
compute_infrastructure_cxl_bandwidth_gap
()
book/tools/scripts/margin_figures/generate_margin_figures.py:746
↓ 1 callers
Function
compute_infrastructure_mtbf_ladder
(candidate=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:733
↓ 1 callers
Function
compute_infrastructure_rack_power_envelope
Linear rack-power scale: legacy air envelope versus DGX H100 rack.
book/tools/scripts/margin_figures/generate_margin_figures.py:760
↓ 1 callers
Function
compute_length_stats
Compute length statistics
tinytorch/datasets/tinytalks/scripts/stats.py:64
↓ 1 callers
Function
compute_release_id
Return the new release_id given a previous tag and a bump type. - ``explicit`` overrides everything: returned as-is (after stripping a lead
scripts/version/release.py:161
↓ 1 callers
Method
compute_returns
Compute discounted returns G_t = Σ_{k=0}^{T-t} γ^k r_{t+k}.
mlperf-edu/reference/cloud/micro_rl.py:200
↓ 1 callers
Function
compute_scorecard
(corpus_path: str, chains_path: str, taxonomy_path: str)
interviews/vault/scripts/scorecard.py:45
↓ 1 callers
Function
compute_vocabulary_stats
Compute vocabulary statistics
tinytorch/datasets/tinytalks/scripts/stats.py:41
↓ 1 callers
Function
conclusion_gain_stack
(candidate=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:982
↓ 1 callers
Function
conclusion_tail_latency_fanout
()
book/tools/scripts/margin_figures/generate_margin_figures.py:992
↓ 1 callers
Function
configure_base
(base: Path)
scripts/cross-references/merge_crossref_reports.py:35
↓ 1 callers
Function
configure_output
(out_dir: Path)
scripts/cross-references/audit_crossrefs.py:35
↓ 1 callers
Method
confirm_download
Display dataset info and confirm download with user. Returns: bool: True if user confirms, False otherwise
tinytorch/milestones/data_manager.py:84
↓ 1 callers
Method
connectToSignalingServer
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:175
↓ 1 callers
Method
connectToSignalingServer
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
constraint_check
Render a feasibility check for the active constraint.
labs/mlsysbook_labs/ui.py:1074
↓ 1 callers
Function
content_audit_ok
Hard gate: every text element in BEFORE must survive into AFTER. Returns (ok, reason-if-not).
book/tools/scripts/audit/svg_audit.py:301
↓ 1 callers
Method
convertToAnkiFormat
(appData)
socratiq/src_shadow/js/components/spaced_repetition/utils/anki-converter.js:168
↓ 1 callers
Method
convertToAppFormat
(cards, headers)
socratiq/src_shadow/js/components/spaced_repetition/utils/anki-converter.js:125
↓ 1 callers
Function
convert_all_modules
Convert all src modules to notebooks.
tinytorch/tito/commands/export_utils.py:215
↓ 1 callers
Function
convert_grid_tables
Convert all grid tables to pipe tables. Returns: (converted_content, number_of_conversions)
book/tools/scripts/utilities/convert_grid_to_pipe_tables.py:232
↓ 1 callers
Function
convert_pdf_to_pptx
Convert a single PDF to PPTX. Returns stats dict.
slides/scripts/pdf2pptx.py:45
↓ 1 callers
Function
convert_svg_to_png
Convert SVG file to PNG using ImageMagick. Returns: True if conversion successful, False otherwise
book/tools/scripts/images/convert_svg_to_png.py:65
↓ 1 callers
Function
coordination_tax
()
book/tools/scripts/margin_figures/generate_margin_figures.py:2206
↓ 1 callers
Function
copyRecursive
(src, dest)
socratiq/vite.config.prod.mjs:96
↓ 1 callers
Function
cosineSimilarity
(a, b)
socratiq/src_shadow/js/libs/vector_db/vectordb/db/vectorDB/vectordb.js:52
↓ 1 callers
Function
cost_per_1k_tokens_cloud
Cloud-rental ceiling for one SKU.
mlperf-edu/tools/cost_model.py:45
↓ 1 callers
Function
cost_per_1k_tokens_energy
Energy-grounded floor: USD per 1000 generated tokens.
mlperf-edu/tools/cost_model.py:39
↓ 1 callers
Method
count
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
countCustomPathQuestions
(track: string, area: string | null, startLevel: string)
interviews/staffml/src/lib/plans.ts:245
↓ 1 callers
Method
countLabs
(kitsDir: string)
kits/vscode-ext/src/providers/infoTreeProvider.ts:80
↓ 1 callers
Method
countRemainingChildren
(tocData, currentPosition)
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:367
↓ 1 callers
Function
count_complex_boxes
Count boxes that are too complex to auto-fix.
tinytorch/tools/dev/fix_ascii_boxes.py:368
↓ 1 callers
Method
count_conv2d
Conv2d Layer FLOPs and Memory. FLOPs: 2 * batch * out_c * out_h * out_w * (in_c * k_h * k_w)
mlperf-edu/src/mlperf/utils/profiler.py:32
↓ 1 callers
Function
count_hits
(line: str)
book/tools/audit/checks/alt_text_style.py:208
↓ 1 callers
Method
count_linear
Linear Layer: y = xW + b FLOPs: 2 * batch * in * out (Multiply-Accumulate) Bytes: batch*in (read x) + in*out (read W) + out (
mlperf-edu/src/mlperf/utils/profiler.py:11
↓ 1 callers
Function
count_should_change
(root: Path)
book/cli/commands/_registry_checks.py:29
↓ 1 callers
Function
count_symbol_refs
(files: list[Path], symbols: set[str])
book/tools/audit/generate_registry_migration_manifest.py:229
↓ 1 callers
Function
coverage_gap_report
Phase A — find under-indexed major concepts.
book/tools/audit/index/audit.py:163
↓ 1 callers
Function
create
(options)
socratiq/src_shadow/js/libs/vector_db/vectordb/db/vectorDB/vectordb.js:66
↓ 1 callers
Method
createAIMessageElement
* Create AI message element for chat * @param {Object} quizData - Quiz data * @returns {HTMLElement} Message element
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:11100
↓ 1 callers
Method
createAIMessageElement
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
createAuthorNode
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:7219
↓ 1 callers
Method
createAuthorNode
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
createBackButton
(shadowEle)
socratiq/src_shadow/js/components/settings/copy_download.js:25
↓ 1 callers
Function
createBackButton
()
socratiq/src_shadow/js/components/quiz/create_quiz_button_grp.js:63
↓ 1 callers
Function
createChartLoader
(container)
socratiq/src_shadow/js/components/quiz/showQuizStats.js:802
↓ 1 callers
Function
createCharts
(shadowRoot, processedStats)
socratiq/src_shadow/js/components/quiz/showQuizStats.js:600
↓ 1 callers
Function
createCitation
(style='')
socratiq/src_shadow/js/libs/agents/citation_agent.js:6
↓ 1 callers
Method
createCommentFromSelection
* Create comment from text selection
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:7698
↓ 1 callers
Method
createCommentFromSelection
(e, t, o)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:9676
↓ 1 callers
Method
createCommentFromSelection
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
createCommentFromSelection
(e,t,n)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
createCommentTooltip
* Create comment tooltip
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5794
↓ 1 callers
Method
createCommentTooltip
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
createContainer
* Create the React component container
socratiq/src_shadow/js/components/spaced_repetition/components/CardReviewModalBridge.js:20
↓ 1 callers
Function
createCustomLegend
(chartContainer, chartData)
socratiq/src_shadow/js/components/quiz/showQuizStats.js:1072
↓ 1 callers
Function
createDotTexture
()
tinytorch/quarto/community/modules/dotism.js:18
↓ 1 callers
Function
createElementFromHTML
(htmlString)
socratiq/src_shadow/js/components/highlight_menu/components/text_area_suggestions.js:21
← previous
next →
5,201–5,300 of 13,553, ranked by callers