MCPcopy Create free account

hub / github.com/atripati/ark / functions

Functions715 in github.com/atripati/ark

↓ 4 callersMethodeffectiveTokens
(block *ContextBlock)
pkg/context/manager.go:481
↓ 4 callersFunctionextractCodeBlocks
(text string)
pkg/runtime/verify.go:797
↓ 4 callersMethodflushLocked
()
pkg/store/store.go:282
↓ 4 callersFunctionhasConfabulationMarkers
hasConfabulationMarkers checks for common patterns when models make things up.
pkg/governor/verifier.go:499
↓ 4 callersMethodmodelName
(tier Tier)
pkg/router/router.go:418
↓ 4 callersMethodrecordDecision
(d Decision)
pkg/router/router.go:319
↓ 4 callersFunctionrepetitionRatio
repetitionRatio detects if the model is stuck in a loop by checking for repeated phrases.
pkg/governor/verifier.go:467
↓ 4 callersFunctionsimplifyRepoList
(raw string)
pkg/tools/github.go:754
↓ 4 callersFunctiontruncate
(s string, maxLen int)
pkg/models/providers.go:398
↓ 4 callersFunctionverifyCodeResponse
(response string)
pkg/runtime/verify.go:63
↓ 3 callersMethodActiveBlocks
()
pkg/context/manager.go:351
↓ 3 callersMethodAllProfiles
AllProfiles returns profiles for all known models.
pkg/governor/registry.go:376
↓ 3 callersMethodBudgetRemaining
()
pkg/cost/cost.go:207
↓ 3 callersMethodBuildExperienceContext
BuildExperienceContext generates a prompt injection that tells the model about past failures. This is the Teacher sharing experience with the student.
pkg/governor/intelligence.go:250
↓ 3 callersFunctionCustomPricing
(provider, model string, inputPerMillion, outputPerMillion float64)
pkg/cost/cost.go:77
↓ 3 callersFunctionDeduplicateResponse
DeduplicateResponse removes lines that are substantially repeated.
pkg/runtime/quality.go:382
↓ 3 callersFunctionDefaultAgentConfig
()
pkg/runtime/agent.go:163
↓ 3 callersFunctionEnhanceSystemPrompt
(basePrompt string, taskType string)
pkg/runtime/quality.go:321
↓ 3 callersFunctionEstimateTokens
(s string)
pkg/context/manager.go:513
↓ 3 callersMethodExportLearning
()
pkg/router/router.go:447
↓ 3 callersMethodImportLearning
(snapshots []PerfSnapshot)
pkg/router/router.go:463
↓ 3 callersMethodIsActive
(id string)
pkg/context/engine.go:985
↓ 3 callersMethodLoad
Load reads the registry from a JSON file.
pkg/governor/registry.go:500
↓ 3 callersMethodManager
()
pkg/context/engine.go:70
↓ 3 callersFunctionNew
(provider, model, apiKey, baseURL string, maxTokens int)
pkg/models/providers.go:33
↓ 3 callersFunctionNewContextMemory
()
pkg/context/engine.go:757
↓ 3 callersMethodRecordFailure
(toolID string, errType ErrorType)
pkg/context/engine.go:657
↓ 3 callersFunctionRegisterGitHub
(router *Router, token string)
pkg/tools/github.go:15
↓ 3 callersMethodRunningCost
()
pkg/cost/cost.go:195
↓ 3 callersMethodShouldEscalate
(taskID string, passed bool)
pkg/runtime/agent.go:130
↓ 3 callersMethodTaskCount
()
pkg/cost/cost.go:398
↓ 3 callersMethodTokenUsage
()
pkg/context/manager.go:361
↓ 3 callersMethodToolCount
()
pkg/tools/http.go:141
↓ 3 callersFunctionabs
(f float64)
pkg/cost/cost_test.go:316
↓ 3 callersMethodbudgetFor
(bt BlockType)
pkg/context/manager.go:400
↓ 3 callersFunctionbuildSystemPrompt
(toolContext string, loadedTools []string)
pkg/runtime/agent.go:1020
↓ 3 callersFunctioncosine_similarity
Compute cosine similarity between two vectors.
ark-memory/ark_memory/embeddings.py:125
↓ 3 callersFunctiondefaultValue
defaultValue returns a zero/default value for a Go type.
pkg/runtime/verify.go:719
↓ 3 callersFunctiondoWithRetry
(client *http.Client, req *http.Request, body []byte, provider string)
pkg/models/providers.go:91
↓ 3 callersFunctionenforceConstraints
Phase 3: Constraint Enforcement
pkg/runtime/verify.go:259
↓ 3 callersMethodexecution_recorded
Record a complete execution trace summary.
ark-memory/ark_memory/experience.py:234
↓ 3 callersFunctiongenerateFuncTest
(fn FuncSignature)
pkg/runtime/verify.go:596
↓ 3 callersMethodgetOrCreate
(id string)
pkg/context/engine.go:702
↓ 3 callersFunctiongetRanking
(engine *ctx.Engine, mgr *ctx.Manager, query string)
cmd/ark/main.go:986
↓ 3 callersFunctionisFilePathParam
isFilePathParam checks if a parameter name suggests it's a file path.
pkg/runtime/verify.go:689
↓ 3 callersFunctionmax
(a, b int)
cmd/ark/main.go:358
↓ 3 callersFunctionparsePct
(s string)
pkg/config/config.go:409
↓ 3 callersFunctionperfKey
(stepType StepType, tier Tier)
pkg/router/router.go:435
↓ 3 callersFunctionprintRanking
(label string, scores []toolScore)
cmd/ark/main.go:1014
↓ 3 callersFunctionprintUsage
()
cmd/ark/main.go:90
↓ 3 callersMethodprompt_failed
Record a prompt/task that failed.
ark-memory/ark_memory/experience.py:175
↓ 3 callersMethodreadFile
(params map[string]interface{})
pkg/tools/filesystem.go:103
↓ 3 callersFunctionresolveEnvHeaders
(headers map[string]string)
pkg/tools/custom.go:126
↓ 3 callersFunctionrunWithTimeout
Utilities
pkg/runtime/verify.go:747
↓ 3 callersFunctionsplitKV
(s string)
pkg/config/config.go:389
↓ 3 callersMethodstats
Get memory statistics.
ark-memory/ark_memory/agent.py:219
↓ 3 callersFunctionstripBoilerplate
stripBoilerplate removes common AI preamble that adds no value.
pkg/runtime/quality.go:153
↓ 3 callersMethodsummary
Get a summary of all accumulated experience.
ark-memory/ark_memory/experience.py:419
↓ 3 callersFunctiontoFloat
(v interface{})
pkg/tools/github.go:853
↓ 3 callersMethodtotalUsage
()
pkg/context/manager.go:417
↓ 3 callersFunctionverifyRankingResponse
Data/Ranking Verification
pkg/runtime/verify.go:841
↓ 3 callersFunctionverifyReasoningResponse
(response string)
pkg/runtime/verify.go:880
↓ 2 callersMethodAllBlocks
()
pkg/context/engine.go:997
↓ 2 callersFunctionAutoFixGoCode
(code string)
pkg/runtime/quality.go:494
↓ 2 callersMethodBestModelFor
(stepType string, toolName string, candidates []string)
pkg/governor/registry.go:263
↓ 2 callersMethodBuildExperienceContext
(model string, toolName string)
pkg/runtime/agent.go:123
↓ 2 callersFunctionBuildRetryPrompt
Self-Correction: Build retry prompt from verification failure
pkg/runtime/verify.go:963
↓ 2 callersFunctionCustomToolDef
(name, description string, params []string)
pkg/tools/custom.go:103
↓ 2 callersMethodDecay
()
pkg/store/store.go:253
↓ 2 callersFunctionDefaultWeights
()
pkg/context/engine.go:350
↓ 2 callersMethodEmitToolCall
── Convenience methods for common events ── EmitToolCall records a tool execution.
pkg/runtime/events.go:72
↓ 2 callersMethodFormatDecisions
()
pkg/router/router.go:368
↓ 2 callersMethodFormatReport
()
pkg/runtime/agent.go:121
↓ 2 callersMethodGetTrace
(traceID string)
pkg/context/engine.go:933
↓ 2 callersFunctionNewAggregate
()
pkg/cost/cost.go:342
↓ 2 callersFunctionNewRuntimeMetrics
()
pkg/runtime/agent.go:233
↓ 2 callersFunctionNewSingle
(executor runtime.Executor)
pkg/router/router.go:114
↓ 2 callersFunctionNewTracer
()
pkg/context/engine.go:896
↓ 2 callersMethodPredictFailure
(model string, taskType string, toolName string)
pkg/runtime/agent.go:122
↓ 2 callersMethodRecordContext
(query string, successfulTools []string)
pkg/context/engine.go:671
↓ 2 callersFunctionRegisterFileSystem
(router *Router)
pkg/tools/filesystem.go:16
↓ 2 callersFunctionRegisterWebSearch
(router *Router, apiKey string)
pkg/tools/websearch.go:17
↓ 2 callersMethodResetEscalations
(taskID string)
pkg/runtime/agent.go:131
↓ 2 callersMethodSave
(path string)
pkg/governor/registry.go:487
↓ 2 callersMethodSavePattern
(record QueryPatternRecord)
pkg/store/store.go:194
↓ 2 callersMethodShouldDemote
(model, toolName string)
pkg/governor/registry.go:329
↓ 2 callersMethodStats
()
pkg/context/manager.go:320
↓ 2 callersMethodStats
()
pkg/router/router.go:339
↓ 2 callersMethodSummary
()
pkg/cost/cost.go:261
↓ 2 callersMethodTotalCost
()
pkg/cost/cost.go:352
↓ 2 callersFunctionValidateCodeResponse
ValidateCodeResponse checks if a code response has basic quality signals.
pkg/runtime/quality.go:409
↓ 2 callersMethodVerifyReasoning
(model string, response *ModelResponse, toolsAvailable bool, toolsCalled bool)
pkg/runtime/agent.go:129
↓ 2 callersMethodVerifyToolCall
(model string, toolName string, call *ToolCall, response *ModelResponse)
pkg/runtime/agent.go:128
↓ 2 callersMethod_deduplicate
Anti-redundancy: remove near-duplicate memories from results. If two memories have >80% content overlap, keep the higher-scored one.
ark-memory/ark_memory/store.py:265
↓ 2 callersMethod_embed_local
Hash-based embedding. Fast, deterministic, zero external dependencies. Method: Extract character n-grams (3, 4, 5), hash each to a p
ark-memory/ark_memory/embeddings.py:44
↓ 2 callersMethod_get_openai_client
(self)
ark-memory/ark_memory/embeddings.py:107
↓ 2 callersMethod_score_rows
Score and rank memory rows against a query embedding.
ark-memory/ark_memory/store.py:190
↓ 2 callersMethodage_hours
(self)
ark-memory/ark_memory/types.py:27
↓ 2 callersMethodage_seconds
(self)
ark-memory/ark_memory/types.py:24
↓ 2 callersMethodapplyScalar
(section, key, val string)
pkg/config/config.go:178
← previousnext →101–200 of 715, ranked by callers