SYMBOL INDEX (180 symbols across 13 files) FILE: .github/scripts/build_review_instructions.py function main (line 9) | def main() -> None: FILE: .github/scripts/build_review_payload.py function _read_json (line 34) | def _read_json(path: Path) -> Optional[dict]: function _iter_instance_jsons (line 42) | def _iter_instance_jsons(run_dir: Path) -> Iterable[Tuple[Path, dict]]: function _role_of (line 53) | def _role_of(obj: dict) -> Optional[str]: function _final_message_of (line 68) | def _final_message_of(obj: dict) -> Optional[str]: function _metrics_of (line 73) | def _metrics_of(obj: dict) -> Dict[str, object]: function _absolutize_location_links (line 80) | def _absolutize_location_links(body: str, repo: Optional[str], sha: Opti... function _build_from_sidecar (line 169) | def _build_from_sidecar(sidecar: dict, *, repo: str, sha: str, repo_root... class Finding (line 284) | class Finding: method key (line 295) | def key(self) -> Tuple[str, int, int, str]: function _extract_first_code_block (line 300) | def _extract_first_code_block(text: str) -> Tuple[Optional[str], Optiona... function _strip_trailing_json_trailer (line 316) | def _strip_trailing_json_trailer(text: str) -> str: function _parse_findings (line 321) | def _parse_findings(md: str) -> List[Finding]: function _parse_trailer_findings (line 398) | def _parse_trailer_findings(md: str) -> List[dict]: function main (line 423) | def main() -> None: FILE: .github/scripts/common.mjs function hidePriorCommentsWithPrefix (line 1) | async function hidePriorCommentsWithPrefix({ function createComment (line 61) | async function createComment({ function withRetry (line 79) | async function withRetry(fn, maxRetries = 3, baseDelayMs = 1500) { FILE: .github/scripts/generate-v2-api-table.py function load_openapi_spec (line 18) | def load_openapi_spec(filepath: Path) -> dict: function extract_endpoints (line 24) | def extract_endpoints(spec: dict, exclude_tags: list = None) -> list: function generate_mintlify_link (line 64) | def generate_mintlify_link(endpoint: dict, base_path: str) -> str: function generate_table (line 89) | def generate_table(endpoints: list, link_base: str) -> str: function process_spec (line 127) | def process_spec(config: dict, repo_root: Path) -> str: function inject_table_into_mdx (line 158) | def inject_table_into_mdx(mdx_path: Path, marker: str, table: str) -> bool: function find_repo_root (line 197) | def find_repo_root() -> Path: function main (line 208) | def main(): FILE: .github/scripts/generate-v3-api-table.py function load_openapi_spec (line 39) | def load_openapi_spec(filepath: Path) -> dict: function extract_endpoints (line 45) | def extract_endpoints(spec: dict) -> list: function generate_mintlify_link (line 76) | def generate_mintlify_link(endpoint: dict) -> str: function generate_table (line 103) | def generate_table(endpoints: list) -> str: function inject_table_into_mdx (line 144) | def inject_table_into_mdx(mdx_path: Path, table: str) -> bool: function find_repo_root (line 176) | def find_repo_root() -> Path: function main (line 187) | def main(): FILE: .github/scripts/rewrite_review_links.py function main (line 11) | def main() -> None: FILE: .github/scripts/tvm-instruction-gen.py function humanize_category (line 14) | def humanize_category(key): function render_alias (line 21) | def render_alias(alias): function render_instruction (line 28) | def render_instruction(insn, aliases): function render_static_mdx (line 44) | def render_static_mdx(spec): function inject_into_mdx (line 48) | def inject_into_mdx(mdx_path, new_block): function generate (line 71) | def generate(spec_input_path, spec_output_path, instructions_mdx_path): function update_doc_cp0 (line 79) | def update_doc_cp0(spec, spec_output_path): FILE: extra.js function isTolkBlockCode (line 46) | function isTolkBlockCode(/**HTMLElement*/ codeElement) { function isCodeHighlighted (line 79) | function isCodeHighlighted(/**HTMLElement*/ codeElement) { function highlightCode (line 84) | function highlightCode(/**HTMLElement*/ codeElement, Prism) { function highlightAllCodeElementsOnPage (line 95) | function highlightAllCodeElementsOnPage(Prism) { function u (line 111) | function u(e){s.highlightedCode=e,a.hooks.run("before-insert",s),s.eleme... function i (line 111) | function i(e,n,t,r){this.type=e,this.content=n,this.alias=t,this.length=... function l (line 111) | function l(e,n,t,r){e.lastIndex=n;var a=e.exec(t);if(a&&r&&a[1]){var i=a... function o (line 111) | function o(e,n,t,r,s,g){for(var f in t)if(t.hasOwnProperty(f)&&t[f]){var... function s (line 111) | function s(){var e={value:null,prev:null,next:null},n={value:null,prev:e... function u (line 111) | function u(e,n,t){var r=n.next,a={value:t,prev:n,next:r};return n.next=a... function c (line 111) | function c(e,n,t){for(var r=n.next,a=0;a = Omit & type Expand (line 11) | type Expand = { [P in keyof T]: T[P] }; type SidebarItemBase (line 13) | type SidebarItemBase = { type SidebarItemDoc (line 19) | type SidebarItemDoc = SidebarItemBase & { type SidebarItemHtml (line 31) | type SidebarItemHtml = SidebarItemBase & { type SidebarItemLink (line 37) | type SidebarItemLink = SidebarItemBase & { type SidebarItemAutogenerated (line 45) | type SidebarItemAutogenerated = SidebarItemBase & { type SidebarItemCategoryBase (line 50) | type SidebarItemCategoryBase = SidebarItemBase & { type SidebarItemCategoryLinkDoc (line 58) | type SidebarItemCategoryLinkDoc = { type: "doc"; id: string }; type SidebarItemCategoryLinkGeneratedIndexConfig (line 60) | type SidebarItemCategoryLinkGeneratedIndexConfig = { type SidebarItemCategoryLinkGeneratedIndex (line 68) | type SidebarItemCategoryLinkGeneratedIndex = { type SidebarItemCategoryLinkConfig (line 78) | type SidebarItemCategoryLinkConfig = type SidebarItemCategoryLink (line 82) | type SidebarItemCategoryLink = type SidebarItemCategoryConfig (line 87) | type SidebarItemCategoryConfig = Expand< type SidebarCategoriesShorthand (line 95) | type SidebarCategoriesShorthand = { type SidebarItemConfig (line 99) | type SidebarItemConfig = type SidebarConfig (line 109) | type SidebarConfig = SidebarItemConfig[]; type SidebarsConfig (line 111) | type SidebarsConfig = { FILE: scripts/stats.py function read_json (line 41) | def read_json(path: Path) -> dict: function nav_slugs (line 45) | def nav_slugs(docs: dict) -> List[str]: function resolve_file (line 70) | def resolve_file(slug: str) -> Optional[str]: function strip_frontmatter (line 83) | def strip_frontmatter(s: str) -> str: function strip_imports (line 92) | def strip_imports(s: str) -> str: function split_fences (line 96) | def split_fences(s: str) -> Tuple[str, str]: function extract_counts (line 113) | def extract_counts(s: str) -> Tuple[int, int, int]: function count_words (line 154) | def count_words(s: str) -> int: function count_images (line 158) | def count_images(src: str) -> int: function is_stub (line 166) | def is_stub(content: str) -> bool: function summarize (line 172) | def summarize(words: List[int]) -> Dict[str, int]: function write_json (line 192) | def write_json(path: Path, obj: dict) -> None: function run_latest (line 199) | def run_latest() -> None: function git (line 261) | def git(cmd: List[str]) -> str: function day_commits (line 267) | def day_commits() -> List[Tuple[str, str]]: function _git_show_silent (line 294) | def _git_show_silent(sha: str, rel: str) -> Optional[str]: function resolve_at_commit (line 308) | def resolve_at_commit(slug: str, sha: str) -> Optional[Tuple[str, str]]: function compute_snapshot (line 321) | def compute_snapshot(docs_json_str: str, sha: str) -> Tuple[Dict, Dict, ... function run_history (line 356) | def run_history() -> None: function run_charts (line 384) | def run_charts() -> None: function main (line 432) | def main(): FILE: snippets/catchain-visualizer.jsx function randomBetween (line 109) | function randomBetween(min, max) { function clamp (line 113) | function clamp(value, min, max) { function createPositions (line 117) | function createPositions(count) { function createNode (line 132) | function createNode(index, pos) { function makeCandidate (line 160) | function makeCandidate(round, attempt, proposerIndex, proposerId) { function logEvent (line 181) | function logEvent(model, text) { function scheduleTask (line 188) | function scheduleTask(model, delayMs, fn, label = "") { function getNode (line 196) | function getNode(model, nodeId) { function createCatchainEnvelope (line 200) | function createCatchainEnvelope(model, from, actions, deps = []) { function sendCatchainEnvelope (line 257) | function sendCatchainEnvelope(model, envelope, options = {}) { function sendDepRequest (line 292) | function sendDepRequest(model, from, to, missingIds) { function requestMissingDeps (line 320) | function requestMissingDeps( function tryDeliverPendingCatchain (line 349) | function tryDeliverPendingCatchain(model, node) { function deliverCatchainEnvelope (line 368) | function deliverCatchainEnvelope(model, node, envelope, originalFrom) { function handleDepRequest (line 441) | function handleDepRequest(model, node, message) { function chooseVoteTarget (line 457) | function chooseVoteTarget(model, node) { function broadcastBlock (line 494) | function broadcastBlock(model, options) { function addEvent (line 504) | function addEvent(node, candidateId, eventType) { function enqueueAction (line 534) | function enqueueAction(model, node, action, delay = 0, includeSelf = fal... function issueApproval (line 559) | function issueApproval(model, node, candidateId, opts = {}) { function issueVote (line 587) | function issueVote(model, node, candidateId) { function issuePrecommit (line 605) | function issuePrecommit(model, node, candidateId) { function issueCommit (line 626) | function issueCommit(model, node, candidateId) { function tryVote (line 668) | function tryVote(model) { function tryPrecommit (line 682) | function tryPrecommit(model, node, candidateId) { function tryCommit (line 702) | function tryCommit(model, node, candidateId) { function calcApprovalDelay (line 723) | function calcApprovalDelay(model, node, candidate, isSlow) { function getSimDelay (line 731) | function getSimDelay() { function pickCoordinator (line 736) | function pickCoordinator(model, attempt) { function getNodePriority (line 741) | function getNodePriority(round, idx, total, C) { function ensureNullCandidate (line 749) | function ensureNullCandidate(model) { function sendVoteFor (line 781) | function sendVoteFor(model) { function handleAction (line 809) | function handleAction(model, node, action, fromId) { function handleMessage (line 938) | function handleMessage(model, message) { function deliverMessages (line 950) | function deliverMessages(model) { function runTasks (line 964) | function runTasks(model) { function startAttempt (line 984) | function startAttempt(model, options = {}) { function startRound (line 1109) | function startRound(model, resetRoundNumber = false) { function createModel (line 1148) | function createModel(config) { function stepModel (line 1180) | function stepModel(model, dt) { FILE: snippets/tvm-instruction-table.jsx function resolveCategoryGroup (line 122) | function resolveCategoryGroup(categoryKey) { function humanizeCategoryKey (line 136) | function humanizeCategoryKey(key) { function formatGasDisplay (line 146) | function formatGasDisplay(gas) { function formatOperandSummary (line 161) | function formatOperandSummary(operand) { function formatInlineMarkdown (line 184) | function formatInlineMarkdown(text) { function compareOpcodes (line 203) | function compareOpcodes(a, b) { function createSearchTokens (line 214) | function createSearchTokens(query) { function escapeRegExp (line 223) | function escapeRegExp(value) { function highlightMatches (line 227) | function highlightMatches(text, tokens) { function highlightHtmlContent (line 247) | function highlightHtmlContent(html, tokens) { function getItemSearchFields (line 265) | function getItemSearchFields(item) { function computeFieldMatchScore (line 279) | function computeFieldMatchScore(field, token) { function computeBestAliasMatchScore (line 288) | function computeBestAliasMatchScore(aliases, token) { function itemRelevanceScore (line 299) | function itemRelevanceScore(item, tokens) { function buildAnchorId (line 322) | function buildAnchorId(instruction) { function copyAnchorUrl (line 333) | function copyAnchorUrl(anchorId) { function copyPlainText (line 356) | function copyPlainText(value) { function formatAliasOperands (line 377) | function formatAliasOperands(operands) { function cleanAliasDescription (line 383) | function cleanAliasDescription(html) { function extractImplementationRefs (line 392) | function extractImplementationRefs(implementation) { function buildGitHubLineUrl (line 408) | function buildGitHubLineUrl(rawUrl, line) { function renderControlFlowSummary (line 430) | function renderControlFlowSummary(controlFlow) { function renderStackEntry (line 869) | function renderStackEntry(entry, key, mode) { function renderStackColumn (line 990) | function renderStackColumn(title, items, mode = "detail") { function renderStackColumns (line 1020) | function renderStackColumns(instruction, mode = "detail") { function renderInstructionDetail (line 1036) | function renderInstructionDetail(instruction, options = {}) { function load (line 3005) | async function load() {