MCPcopy Create free account

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

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

↓ 1 callersMethodcollapseNode
(node)
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:2325
↓ 1 callersFunctioncollapse_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 callersFunctioncollect
(volume: str, chapters: list[str], include_png: bool)
book/tools/scripts/margin_figures/inventory_margin_figures.py:143
↓ 1 callersMethodcollectEnhancedContent
* Collect enhanced content from all room members * @returns {Promise<Array>} Enhanced content data
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:2827
↓ 1 callersMethodcollectEnhancedContent
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callersMethodcollectSectionData
(section)
socratiq/src_shadow/js/libs/memory/chapterDataCollector.js:13
↓ 1 callersFunctioncollect_candidates
(volume: str, glossary_terms: list[GlossaryTerm])
book/tools/scripts/content/glossary_gap_review.py:145
↓ 1 callersFunctioncollect_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 callersFunctioncollect_files
Expand CLI paths into a list of .qmd files.
book/tools/scripts/utilities/check_list_formatting.py:111
↓ 1 callersFunctioncollect_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 callersFunctioncollect_imgs_with_bs4
(soup)
book/tools/scripts/testing/struct_qa_html.py:61
↓ 1 callersFunctioncollect_imgs_with_regex
(html: str)
book/tools/scripts/testing/struct_qa_html.py:73
↓ 1 callersFunctioncollect_internal_anchors
(html: str, soup=None)
book/tools/scripts/testing/struct_qa_html.py:88
↓ 1 callersFunctioncollect_pass_ids
Aggregate PASS verdicts across all judge runs (optionally filtered).
interviews/vault/scripts/promote_validated.py:52
↓ 1 callersFunctioncollect_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 callersFunctioncollect_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 callersFunctioncollect_renames
(root: Path)
book/tools/audit/fmt/codemod_design_b_rates.py:419
↓ 1 callersFunctioncollect_targets
()
interviews/vault-cli/scripts/regenerate_format_markers.py:121
↓ 1 callersFunctioncollect_value_exports
{dotted_name -> str(value)} for every *_str export (module + class attr).
book/tools/audit/fmt/assess_equiv.py:62
↓ 1 callersFunctioncollect_visible_text_across_scroll
Collect viewport text while scrolling Marimo/window scroll containers.
labs/tools/interaction_lab_smoke.py:467
↓ 1 callersFunctioncollective_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 callersFunctioncollective_communication_payload_shrink
(candidate=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:883
↓ 1 callersFunctioncommit_message_has_override
()
interviews/vault-cli/scripts/pre_commit_corpus_guard.py:36
↓ 1 callersFunctioncompact_record
(record: dict[str, Any])
interviews/vault/scripts/semantic_audit_questions.py:135
↓ 1 callersFunctioncompare_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 callersMethodcompare_models
Compare memory usage between original and quantized models.
tinytorch/src/15_quantization/15_quantization.py:1813
↓ 1 callersFunctioncompatible
(left: Finding, right: Finding)
scripts/cross-references/merge_crossref_reports.py:191
↓ 1 callersMethodcompleteStream
(markdownPreviewId = '')
socratiq/src_shadow/js/components/markdown/streamdown_markdown.js:1680
↓ 1 callersMethodcomplete_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 callersMethodcomplete_module
Complete a module with enhanced visual feedback and celebration.
tinytorch/tito/commands/module/workflow.py:561
↓ 1 callersFunctioncompose_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 callersMethodcompress
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 callersMethodcompress
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 callersFunctioncompress_images
Compress images to textbook-appropriate sizes.
book/tools/scripts/images/compress_images.py:13
↓ 1 callersFunctioncompress_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 callersFunctioncompute
()
interviews/staffml/src/components/EcosystemBar.tsx:314
↓ 1 callersFunctioncomputeNgramSimilarity
(text1, text2, n = 3)
socratiq/src_shadow/js/libs/agents/fuzzy_match.js:202
↓ 1 callersFunctioncompute_all_stats
(corpus: list, chains: list, taxonomy)
interviews/paper/scripts/analyze_corpus.py:261
↓ 1 callersFunctioncompute_deficit
Compute per-KA deficit for L4, L5, L6+ levels.
interviews/vault/scripts/generate_hard_questions.py:181
↓ 1 callersFunctioncompute_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 callersFunctioncompute_gradient
Gradient of quadratic function: df/dx = x.
tinytorch/src/07_optimizers/07_optimizers.py:1664
↓ 1 callersFunctioncompute_infrastructure_cxl_bandwidth_gap
()
book/tools/scripts/margin_figures/generate_margin_figures.py:746
↓ 1 callersFunctioncompute_infrastructure_mtbf_ladder
(candidate=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:733
↓ 1 callersFunctioncompute_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 callersFunctioncompute_length_stats
Compute length statistics
tinytorch/datasets/tinytalks/scripts/stats.py:64
↓ 1 callersFunctioncompute_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 callersMethodcompute_returns
Compute discounted returns G_t = Σ_{k=0}^{T-t} γ^k r_{t+k}.
mlperf-edu/reference/cloud/micro_rl.py:200
↓ 1 callersFunctioncompute_scorecard
(corpus_path: str, chains_path: str, taxonomy_path: str)
interviews/vault/scripts/scorecard.py:45
↓ 1 callersFunctioncompute_vocabulary_stats
Compute vocabulary statistics
tinytorch/datasets/tinytalks/scripts/stats.py:41
↓ 1 callersFunctionconclusion_gain_stack
(candidate=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:982
↓ 1 callersFunctionconclusion_tail_latency_fanout
()
book/tools/scripts/margin_figures/generate_margin_figures.py:992
↓ 1 callersFunctionconfigure_base
(base: Path)
scripts/cross-references/merge_crossref_reports.py:35
↓ 1 callersFunctionconfigure_output
(out_dir: Path)
scripts/cross-references/audit_crossrefs.py:35
↓ 1 callersMethodconfirm_download
Display dataset info and confirm download with user. Returns: bool: True if user confirms, False otherwise
tinytorch/milestones/data_manager.py:84
↓ 1 callersMethodconnectToSignalingServer
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:175
↓ 1 callersMethodconnectToSignalingServer
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callersFunctionconstraint_check
Render a feasibility check for the active constraint.
labs/mlsysbook_labs/ui.py:1074
↓ 1 callersFunctioncontent_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 callersMethodconvertToAnkiFormat
(appData)
socratiq/src_shadow/js/components/spaced_repetition/utils/anki-converter.js:168
↓ 1 callersMethodconvertToAppFormat
(cards, headers)
socratiq/src_shadow/js/components/spaced_repetition/utils/anki-converter.js:125
↓ 1 callersFunctionconvert_all_modules
Convert all src modules to notebooks.
tinytorch/tito/commands/export_utils.py:215
↓ 1 callersFunctionconvert_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 callersFunctionconvert_pdf_to_pptx
Convert a single PDF to PPTX. Returns stats dict.
slides/scripts/pdf2pptx.py:45
↓ 1 callersFunctionconvert_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 callersFunctioncoordination_tax
()
book/tools/scripts/margin_figures/generate_margin_figures.py:2206
↓ 1 callersFunctioncopyRecursive
(src, dest)
socratiq/vite.config.prod.mjs:96
↓ 1 callersFunctioncosineSimilarity
(a, b)
socratiq/src_shadow/js/libs/vector_db/vectordb/db/vectorDB/vectordb.js:52
↓ 1 callersFunctioncost_per_1k_tokens_cloud
Cloud-rental ceiling for one SKU.
mlperf-edu/tools/cost_model.py:45
↓ 1 callersFunctioncost_per_1k_tokens_energy
Energy-grounded floor: USD per 1000 generated tokens.
mlperf-edu/tools/cost_model.py:39
↓ 1 callersMethodcount
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callersFunctioncountCustomPathQuestions
(track: string, area: string | null, startLevel: string)
interviews/staffml/src/lib/plans.ts:245
↓ 1 callersMethodcountLabs
(kitsDir: string)
kits/vscode-ext/src/providers/infoTreeProvider.ts:80
↓ 1 callersMethodcountRemainingChildren
(tocData, currentPosition)
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:367
↓ 1 callersFunctioncount_complex_boxes
Count boxes that are too complex to auto-fix.
tinytorch/tools/dev/fix_ascii_boxes.py:368
↓ 1 callersMethodcount_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 callersFunctioncount_hits
(line: str)
book/tools/audit/checks/alt_text_style.py:208
↓ 1 callersMethodcount_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 callersFunctioncount_should_change
(root: Path)
book/cli/commands/_registry_checks.py:29
↓ 1 callersFunctioncount_symbol_refs
(files: list[Path], symbols: set[str])
book/tools/audit/generate_registry_migration_manifest.py:229
↓ 1 callersFunctioncoverage_gap_report
Phase A — find under-indexed major concepts.
book/tools/audit/index/audit.py:163
↓ 1 callersFunctioncreate
(options)
socratiq/src_shadow/js/libs/vector_db/vectordb/db/vectorDB/vectordb.js:66
↓ 1 callersMethodcreateAIMessageElement
* 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 callersMethodcreateAIMessageElement
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callersMethodcreateAuthorNode
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:7219
↓ 1 callersMethodcreateAuthorNode
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callersFunctioncreateBackButton
(shadowEle)
socratiq/src_shadow/js/components/settings/copy_download.js:25
↓ 1 callersFunctioncreateBackButton
()
socratiq/src_shadow/js/components/quiz/create_quiz_button_grp.js:63
↓ 1 callersFunctioncreateChartLoader
(container)
socratiq/src_shadow/js/components/quiz/showQuizStats.js:802
↓ 1 callersFunctioncreateCharts
(shadowRoot, processedStats)
socratiq/src_shadow/js/components/quiz/showQuizStats.js:600
↓ 1 callersFunctioncreateCitation
(style='')
socratiq/src_shadow/js/libs/agents/citation_agent.js:6
↓ 1 callersMethodcreateCommentFromSelection
* Create comment from text selection
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:7698
↓ 1 callersMethodcreateCommentFromSelection
(e, t, o)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:9676
↓ 1 callersMethodcreateCommentFromSelection
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callersMethodcreateCommentFromSelection
(e,t,n)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callersMethodcreateCommentTooltip
* Create comment tooltip
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5794
↓ 1 callersMethodcreateCommentTooltip
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callersMethodcreateContainer
* Create the React component container
socratiq/src_shadow/js/components/spaced_repetition/components/CardReviewModalBridge.js:20
↓ 1 callersFunctioncreateCustomLegend
(chartContainer, chartData)
socratiq/src_shadow/js/components/quiz/showQuizStats.js:1072
↓ 1 callersFunctioncreateDotTexture
()
tinytorch/quarto/community/modules/dotism.js:18
↓ 1 callersFunctioncreateElementFromHTML
(htmlString)
socratiq/src_shadow/js/components/highlight_menu/components/text_area_suggestions.js:21
← previousnext →5,201–5,300 of 13,553, ranked by callers