MCPcopy Create free account

hub / github.com/microsoft/AI-Engineering-Coach / functions

Functions1,686 in github.com/microsoft/AI-Engineering-Coach

↓ 2 callersFunctionwithHome
Run `body` with HOME/USERPROFILE pointed at a fresh temp dir, restoring the * previous values (and removing the temp dir) afterwards. Self-contained
src/core/parser-harnesses.test.ts:23
↓ 2 callersFunctionworkspaceLocationFromJson
(wsJsonPath: string)
src/core/parser-vscode-files.ts:292
↓ 2 callersFunctionyieldToLoop
()
src/core/parser-vscode.ts:211
↓ 1 callersFunctionactiveDates
(data: DailyActivity)
src/core/summary-export.ts:120
↓ 1 callersMethodaddAiCreditSeriesPoint
( summary: ReturnType<ConsumptionAnalyzer['createAiCreditSummary']>, model: string, request: Sessi
src/core/analyzer-consumption.ts:521
↓ 1 callersFunctionaddAssistantToolRequests
(turn: TurnState, toolRequests: unknown)
src/core/parser-vscode-cli.ts:255
↓ 1 callersFunctionaddAttachmentReferences
(turn: TurnState, attachments: unknown)
src/core/parser-vscode-cli.ts:170
↓ 1 callersFunctionaddModelUsage
(collected: Record<string, ModelUsage>, rawModel: string, info: unknown)
src/core/parser-vscode-cli.ts:290
↓ 1 callersMethodaddPatterns
(target: AntiPatternData, patterns: AntiPatternData['patterns'])
src/core/analyzer.ts:76
↓ 1 callersMethodaddTodoSnapshotEvents
( events: SessionTimelineEvent[], snapshot: NonNullable<Session['requests'][number]['todoSnapshot']>,
src/core/analyzer-context.ts:735
↓ 1 callersMethodaddTodoStatusChangeEvent
( events: SessionTimelineEvent[], title: string, status: string, requestIndex: number, )
src/core/analyzer-context.ts:762
↓ 1 callersMethodaddToolFallbackTodoEvents
(events: SessionTimelineEvent[], toolsUsed: string[], requestIndex: number)
src/core/analyzer-context.ts:775
↓ 1 callersFunctionaddWorkspaceDetails
(extraWorkspaces: unknown, details: OccurrenceDetail[])
src/core/detector-registry.ts:76
↓ 1 callersMethodanalyzeWorkspace
( workspace: Session, sessions: Session[], thresholds: ContextVerdictThresholds, )
src/core/analyzer-context.ts:220
↓ 1 callersFunctionappendAtPath
(obj: JsonValue, keys: PathKey[], items: JsonValue)
src/core/parser-vscode-files.ts:332
↓ 1 callersMethodapplyAiCreditRequest
( summary: ReturnType<ConsumptionAnalyzer['createAiCreditSummary']>, request: SessionRequest, bill
src/core/analyzer-consumption.ts:424
↓ 1 callersFunctionapplyClaudeToolBlock
( block: ClaudeContentBlock, data: Pick<ClaudeAssistantData, 'toolsUsed' | 'editedFiles' | 'referencedFile
src/core/parser-claude.ts:219
↓ 1 callersFunctionapplyOpenCodePart
(part: OcPart, data: Pick<OpenCodeAssistantData, 'toolsUsed' | 'editedFiles' | 'referencedFiles'>, textParts:
src/core/parser-opencode.ts:138
↓ 1 callersFunctionattachWorkspaceClickHandlers
()
src/webview/page-context-mgmt.ts:257
↓ 1 callersFunctionattributeSessionLevel
( session: Session, modelUsage: Record<string, ModelUsage>, out: Map<SessionRequest, RequestBilling>,
src/core/analyzer-consumption.ts:105
↓ 1 callersFunctionbalanceTruncatedJson
* Repair JSON that was cut off mid-stream (e.g. when the model hit its output * token limit). Walks the text tracking string state and a stack of ope
src/webview/panel-llm.ts:306
↓ 1 callersFunctionbootHarness
(page: Page)
tests/e2e/burndown.spec.ts:5
↓ 1 callersMethodbuildAiCreditBurndownData
( reqs: SessionRequest[], billing: Map<SessionRequest, RequestBilling>, daysInMonth: number, )
src/core/analyzer-consumption.ts:712
↓ 1 callersMethodbuildAiCreditBurndownSeries
( dailyTokens: Map<number, number>, daysInMonth: number, )
src/core/analyzer-consumption.ts:773
↓ 1 callersMethodbuildAiCreditCostByModel
( costByModel: Map<string, AiCreditModelEntry>, )
src/core/analyzer-consumption.ts:608
↓ 1 callersMethodbuildAntiPatternResult
(patterns: import('./types').AntiPattern[], reqs: SessionRequest[], skipIdeDetectors: boolean)
src/core/analyzer-patterns.ts:267
↓ 1 callersMethodbuildBlocks
(daySessions: FlowSession[])
src/core/analyzer-flow.ts:182
↓ 1 callersFunctionbuildClaudeRequest
( line: ClaudeLine, assistantData: ClaudeAssistantData, userTs: number | null, requestIndex: number, )
src/core/parser-claude.ts:590
↓ 1 callersFunctionbuildCreditCoverageSummary
(data: AiCreditRpcData)
src/webview/page-output.ts:410
↓ 1 callersFunctionbuildDailyCumulative
(labels: string[], loc: number[], reqs: number[], sessions: number[])
src/webview/page-achievements.ts:307
↓ 1 callersMethodbuildDailyTokensByHarness
( harnessMap: Map<string, Map<string, number>>, fillRange: (keys: string[]) => string[], )
src/core/analyzer-consumption.ts:592
↓ 1 callersMethodbuildDailyTokensByWorkspace
( wsMap: Map<string, Map<string, number>>, fillRange: (keys: string[]) => string[], )
src/core/analyzer-consumption.ts:576
↓ 1 callersFunctionbuildExamples
* Execute a pipeline against data to produce a DetectorEmission.
src/core/rule-pipeline.ts:146
↓ 1 callersMethodbuildFlowDays
(flowSessions: FlowSession[])
src/core/analyzer-flow.ts:153
↓ 1 callersMethodbuildFlowSession
(session: Session, f?: DateFilter)
src/core/analyzer-flow.ts:103
↓ 1 callersMethodbuildHarnessComparisonItem
(harness: string, sessions: Session[])
src/core/analyzer-dashboard.ts:307
↓ 1 callersFunctionbuildHistoryMessages
* Convert prior chat turns into LanguageModelChatMessages so the model * has awareness of the ongoing conversation — including turns handled by * ot
src/chat/participant.ts:52
↓ 1 callersMethodbuildHourlyFlow
(flowSessions: FlowSession[])
src/core/analyzer-flow.ts:214
↓ 1 callersMethodbuildJourneys
(moments: ImageMoment[])
src/core/analyzer-images.ts:218
↓ 1 callersFunctionbuildLearningMarkup
( state: LearningState, languages: { label: string; loc: number }[], workspaceNames: string[], flowSta
src/webview/page-learning.ts:156
↓ 1 callersFunctionbuildMinimalDataset
Minimal data set (nothing triggers).
src/core/rule-equivalence.test.ts:123
↓ 1 callersFunctionbuildNumericHistogram
(sorted: number[], buckets: number)
src/webview/panel-rpc.ts:1307
↓ 1 callersFunctionbuildOccurrenceSessionSummary
(session: Session)
src/webview/panel-rpc.ts:161
↓ 1 callersFunctionbuildOpenCodeRequest
( msg: OcMessage, partsByMsg: Map<string, OcPart[]>, assistantData: OpenCodeAssistantData, userTs: num
src/core/parser-opencode.ts:230
↓ 1 callersMethodbuildProjectOverviewItem
( workspaceName: string, data: { id: string; sessions: Session[]; reqs: SessionRequest[] }, )
src/core/analyzer-patterns.ts:369
↓ 1 callersMethodbuildQuizSystemPrompt
(context: QuizRequestContext)
src/webview/panel-request-service.ts:178
↓ 1 callersMethodbuildQuizUserPrompt
(context: QuizRequestContext)
src/webview/panel-request-service.ts:237
↓ 1 callersFunctionbuildRangeFilter
()
src/webview/page-config.ts:67
↓ 1 callersMethodbuildResolvedWorkspaceHealth
( wsId: string, workspaceName: string, activity: { sessionCount: number; requestCount: number; las
src/core/analyzer-config.ts:107
↓ 1 callersFunctionbuildRuleContext
* Build the evaluation context that gets merged into each row when * the DSL filter runs. This injects thresholds, patterns, and fileTypes * from th
src/core/rule-pipeline.ts:126
↓ 1 callersFunctionbuildRulePreviewSection
(preview: RulePreview | undefined)
src/webview/page-rule-editor.ts:419
↓ 1 callersFunctionbuildRuleTagsSection
(tags: string[])
src/webview/page-rule-editor.ts:454
↓ 1 callersMethodbuildSessionByRequestMap
()
src/core/analyzer-consumption.ts:879
↓ 1 callersMethodbuildSessionContextDetail
( session: Session, thresholds: ContextVerdictThresholds, )
src/core/analyzer-context.ts:631
↓ 1 callersMethodbuildStories
(moments: ImageMoment[])
src/core/analyzer-images.ts:251
↓ 1 callersFunctionbuildSummaryExportFromAnalyzer
( analyzer: SummaryExportAnalyzer, filter?: DateFilter, generatedAt?: string | Date, )
src/core/summary-export.ts:187
↓ 1 callersMethodbuildSustainablePaceBuckets
( reqs: Session['requests'], sessions: Session[], )
src/core/analyzer-insights.ts:521
↓ 1 callersFunctionbuildSystemPrompt
()
src/core/rule-compiler.ts:110
↓ 1 callersFunctionbuildSystemPrompt
()
src/chat/system-prompt.ts:44
↓ 1 callersFunctionbuildTelemetryStrip
Build the static telemetry strip markup once into `host`. Content is fully static (no user * data), so the innerHTML assignment is safe.
src/webview/telemetry-strip.ts:56
↓ 1 callersFunctionbuildThresholdSection
(thresholdEntries: [string, number][], ruleId: string)
src/webview/page-rule-editor.ts:441
↓ 1 callersFunctionbuildThresholdSliders
(thresholds: Record<string, number>, overrides: Record<string, number>)
src/webview/page-antipatterns-editor.ts:57
↓ 1 callersMethodbuildTimelineSession
(session: Session, dayStartTs: number, dayEndTs: number)
src/core/analyzer-timeline.ts:122
↓ 1 callersMethodbuildTokenCoverageAggregates
( reqs: SessionRequest[], billing: Map<SessionRequest, RequestBilling>, sessionByRequest: Map<Sess
src/core/analyzer-consumption.ts:887
↓ 1 callersMethodbuildTokenCoverageByHarness
( harnessMap: Map<string, { sessions: Set<Session>; workspaces: Set<string>; requests: number; counted: nu
src/core/analyzer-consumption.ts:1091
↓ 1 callersMethodbuildTokenCoverageBySession
( sessionMap: Map<Session, { requests: number; counted: number; partial: number; pending: number; noData:
src/core/analyzer-consumption.ts:1136
↓ 1 callersMethodbuildTokenCoverageByWorkspace
( workspaceMap: Map<string, { workspaceId: string; workspaceName: string; sessions: Set<Session>; harnesse
src/core/analyzer-consumption.ts:1115
↓ 1 callersMethodbuildTokenCoverageTimeline
( timelineMap: Map<string, Map<string, { requests: number; counted: number; partial: number; pending: numb
src/core/analyzer-consumption.ts:1161
↓ 1 callersFunctionbuildTopAntiPatterns
(data: AntiPatternData)
src/core/summary-export.ts:129
↓ 1 callersFunctionbuildTopLanguages
(data: CodeProductionData)
src/core/summary-export.ts:108
↓ 1 callersMethodbuildUnresolvedWorkspaceHealth
( wsId: string, workspaceName: string, activity: { sessionCount: number; requestCount: number; las
src/core/analyzer-config.ts:142
↓ 1 callersFunctionbuildUserPrompt
(prompt: string, options?: { group?: string; severity?: string; scope?: string })
src/core/rule-compiler.ts:175
↓ 1 callersFunctionbuildWeeklyHist
Build a weekly histogram with continuous labels (fill gaps with 0).
src/core/detector-registry.ts:188
↓ 1 callersMethodbuildWeeklyTrend
(sessions: Session[], thresholds: ContextVerdictThresholds)
src/core/analyzer-context.ts:350
↓ 1 callersMethodbuildWeeklyTrend
(days: FlowDay[])
src/core/analyzer-flow.ts:200
↓ 1 callersMethodbuildWorkspaceHealth
( wsId: string, activity: { sessionCount: number; requestCount: number; lastTimestamp: number | null;
src/core/analyzer-config.ts:64
↓ 1 callersFunctionbuildWorkspacePlan
Flatten the work list into the ordered loading-plan keys consumed by the webview grid.
src/core/parser.ts:339
↓ 1 callersMethodbuildWorkspaceTrend
* Build per-workspace weekly utilization series for the top 10 workspaces * (sorted by total request count). Each series is aligned to the global
src/core/analyzer-context.ts:412
↓ 1 callersFunctionbuildWorkspaceWorkList
Enumerate workspace folders, stat them for dates, and collect their session tiles, sorted chronologically.
src/core/parser.ts:312
↓ 1 callersFunctionbyteArrayToDataUri
* Convert a numeric byte array [137,80,78,...] to a base64 data URI.
src/core/parser-vscode-files.ts:432
↓ 1 callersFunctionbyteDictToDataUri
* Convert a dict-of-bytes ({"0":137,"1":80,...}) to a base64 data URI. * Returns null if the value isn't a valid byte dict.
src/core/parser-vscode-files.ts:414
↓ 1 callersFunctioncalendarFlameColor
(t: number)
src/webview/page-patterns.ts:57
↓ 1 callersFunctioncapitalize
(s: string)
src/webview/page-patterns.ts:499
↓ 1 callersMethodcheckCancellationRate
(reqs: SessionRequest[])
src/core/analyzer-patterns.ts:171
↓ 1 callersMethodcheckFeatureBreadth
(reqs: SessionRequest[])
src/core/analyzer-patterns.ts:131
↓ 1 callersMethodcheckFileContextUsage
(reqs: SessionRequest[])
src/core/analyzer-patterns.ts:210
↓ 1 callersFunctioncheckMarkdownQuality
(content: string, relativePath: string)
src/core/config-health-helpers.ts:290
↓ 1 callersMethodcheckModelDiversity
(reqs: SessionRequest[])
src/core/analyzer-patterns.ts:59
↓ 1 callersMethodcheckModelTaskAlignment
(reqs: SessionRequest[])
src/core/analyzer-patterns.ts:71
↓ 1 callersMethodcheckParallelism
(sessions: Session[])
src/core/analyzer-patterns.ts:152
↓ 1 callersMethodcheckPlanningUsage
(reqs: SessionRequest[])
src/core/analyzer-patterns.ts:91
↓ 1 callersMethodcheckResponseEfficiency
(reqs: SessionRequest[])
src/core/analyzer-patterns.ts:196
↓ 1 callersMethodcheckSessionLengthHygiene
(sessions: Session[])
src/core/analyzer-patterns.ts:107
↓ 1 callersMethodcheckSessionSizeDistribution
(sessions: Session[])
src/core/analyzer-patterns.ts:222
↓ 1 callersMethodcheckSlashCommandAdoption
(reqs: SessionRequest[])
src/core/analyzer-patterns.ts:119
↓ 1 callersMethodcheckToolDiversity
(reqs: SessionRequest[])
src/core/analyzer-patterns.ts:183
↓ 1 callersFunctionclassifyIntent
(session: Session)
src/core/analyzer-insights.ts:32
↓ 1 callersFunctionclassifyLauncher
(entrypoint: string | undefined)
src/core/parser-claude.ts:71
↓ 1 callersFunctionclassifyRuleWritePath
(pathMod: typeof import('path'), filePath: string)
src/webview/panel-rpc.ts:62
↓ 1 callersFunctionclassifyWorkType
(msg: string)
src/webview/page-sdlc.ts:35
← previousnext →801–900 of 1,686, ranked by callers