MCPcopy Create free account

hub / github.com/atripati/ark / functions

Functions715 in github.com/atripati/ark

↓ 1 callersFunctionautoTestGo
(code string, dir string)
pkg/runtime/verify.go:521
↓ 1 callersMethodbroadenContext
(newPlan, oldPlan *ContextPlan)
pkg/context/engine.go:289
↓ 1 callersFunctionbuildPrompt
(history []message)
pkg/runtime/agent.go:1054
↓ 1 callersFunctionbuildTestArgs
buildTestArgs generates test arguments, using tempFileName for file path params.
pkg/runtime/verify.go:697
↓ 1 callersFunctionbuildTestArgsDefault
buildTestArgsDefault generates default test arguments.
pkg/runtime/verify.go:710
↓ 1 callersMethodcheckDomain
(rawURL string)
pkg/tools/http.go:309
↓ 1 callersFunctionclassifyAgentStep
(step int, isRetry bool, prevAction string)
pkg/runtime/agent.go:43
↓ 1 callersFunctionclassifyTaskType
classifyTaskType determines the cognitive type of the incoming task. This drives effort allocation, model selection, and confidence calibration.
pkg/runtime/agent.go:57
↓ 1 callersFunctioncleanCodeResponse
cleanCodeResponse strips unnecessary content from code responses.
pkg/runtime/quality.go:220
↓ 1 callersFunctioncleanRankingResponse
(text string)
pkg/runtime/quality.go:273
↓ 1 callersFunctioncleanReasoningResponse
cleanReasoningResponse cleans up reasoning responses.
pkg/runtime/quality.go:279
↓ 1 callersFunctioncleanSummaryResponse
cleanSummaryResponse ensures summaries are concise.
pkg/runtime/quality.go:301
↓ 1 callersMethodcommon_failures
Get common failure patterns for a specific tool.
ark-memory/ark_memory/experience.py:320
↓ 1 callersFunctioncontains
(s, substr string)
pkg/cost/cost_test.go:303
↓ 1 callersMethodcontext
Get recall results as a formatted context string. Ready to inject into an LLM prompt. Returns: A string like:
ark-memory/ark_memory/agent.py:155
↓ 1 callersMethodcount
Count memories in a namespace.
ark-memory/ark_memory/store.py:357
↓ 1 callersFunctioncountIndent
(line string)
pkg/config/config.go:386
↓ 1 callersFunctioncountInputTokens
(steps []StepCost)
pkg/cost/cost.go:321
↓ 1 callersFunctioncountOutputTokens
(steps []StepCost)
pkg/cost/cost.go:329
↓ 1 callersMethoddecay_all
Run decay pass — remove memories that have decayed below threshold. Returns number of memories removed.
ark-memory/ark_memory/store.py:366
↓ 1 callersFunctiondescribeAction
(tool string)
cmd/ark/main.go:403
↓ 1 callersFunctiondetectCodeLanguageFromContent
detectCodeLanguageFromContent guesses language from code content.
pkg/runtime/quality.go:588
↓ 1 callersFunctiondetectLanguage
detectLanguage extracts a programming language name from a natural language query.
pkg/tools/github.go:725
↓ 1 callersMethodeffectiveContent
(block *ContextBlock)
pkg/context/manager.go:474
↓ 1 callersMethodembed_batch
(self, texts: List[str])
ark-memory/ark_memory/embeddings.py:39
↓ 1 callersFunctionexecuteAndTest
Phase 4: Execute + Test
pkg/runtime/verify.go:344
↓ 1 callersMethodexecuteCostOptimized
(context, task string, step int, stepType StepType)
pkg/router/router.go:192
↓ 1 callersFunctionexecuteGoFull
(code string)
pkg/runtime/verify.go:357
↓ 1 callersFunctionexecuteJavaScript
(code string)
pkg/runtime/verify.go:465
↓ 1 callersFunctionexecutePythonFull
(code string)
pkg/runtime/verify.go:424
↓ 1 callersMethodexecuteQualityFirst
(context, task string, step int, stepType StepType)
pkg/router/router.go:178
↓ 1 callersMethodexecutorForTier
(tier Tier)
pkg/router/router.go:411
↓ 1 callersMethodexplainChoice
explainChoice generates a human-readable reason for the routing decision.
pkg/router/router.go:259
↓ 1 callersFunctionextractOwner
extractOwner pulls the org/owner from a repo item for diversity checks.
pkg/runtime/agent.go:1375
↓ 1 callersFunctionextractParamsFromSchema
(schema string)
pkg/context/manager.go:548
↓ 1 callersFunctionextractTags
(parts ...string)
pkg/context/manager.go:562
↓ 1 callersFunctionfilterByLanguage
(repos []map[string]interface{}, lang string)
pkg/tools/github.go:538
↓ 1 callersFunctionfilterJunkRepos
(repos []map[string]interface{})
pkg/tools/github.go:565
↓ 1 callersMethodfindAlternative
findAlternative finds the best alternative model. Must be called with r.mu held.
pkg/governor/intelligence.go:164
↓ 1 callersFunctionfindPython
()
pkg/runtime/verify.go:774
↓ 1 callersFunctionfindSubstring
(s, sub string)
pkg/governor/governor_test.go:526
↓ 1 callersFunctionfindSubstring
(s, sub string)
pkg/config/config_test.go:365
↓ 1 callersMethodforget_all
Forget all memories in a namespace.
ark-memory/ark_memory/agent.py:151
↓ 1 callersFunctionformatRankedTools
(ranked []RankedTool)
pkg/context/engine.go:1007
↓ 1 callersFunctiongenerateTestSchema
(server, tool string)
pkg/context/engine_test.go:440
↓ 1 callersMethodgetOrCreate
(model string)
pkg/governor/registry.go:103
↓ 1 callersMethodingest_all
Ingest from all available Runtime files at once. Call this once at startup to bootstrap experience from existing data.
ark-memory/ark_memory/collector.py:332
↓ 1 callersFunctionisPrecisePrompt
(prompt string)
pkg/runtime/quality.go:96
↓ 1 callersFunctionisValidJSON
(s string)
pkg/governor/verifier.go:461
↓ 1 callersFunctionitoa
(i int)
pkg/context/engine_test.go:444
↓ 1 callersFunctionjitter
()
pkg/tools/http.go:363
↓ 1 callersMethodloadInternal
(block *ContextBlock)
pkg/context/manager.go:488
↓ 1 callersFunctionlooksLikeJSON
(s string)
pkg/governor/verifier.go:455
↓ 1 callersFunctionmin
(a, b int)
pkg/tools/filesystem_test.go:212
↓ 1 callersFunctionmin
(a, b int)
pkg/router/router_test.go:33
↓ 1 callersMethodminModelCost
()
pkg/governor/registry.go:530
↓ 1 callersMethodmodel_performance
Get performance stats for a model across tasks.
ark-memory/ark_memory/experience.py:348
↓ 1 callersFunctionnewAnthropic
(model, apiKey string, maxTokens int)
pkg/models/providers.go:50
↓ 1 callersFunctionnewOllama
(model, baseURL string)
pkg/models/providers.go:78
↓ 1 callersFunctionnewOpenAI
(model, apiKey, baseURL string, maxTokens int)
pkg/models/providers.go:62
↓ 1 callersMethodparseLine
(raw string, lineNum int)
pkg/config/config.go:137
↓ 1 callersFunctionparseParams
(s string)
pkg/runtime/agent.go:1130
↓ 1 callersFunctionparseRetryAfter
(header string)
pkg/tools/http.go:366
↓ 1 callersFunctionparseSearchResults
(raw string)
pkg/tools/github.go:515
↓ 1 callersMethodpersistPattern
(pattern string, entry *MemoryEntry)
pkg/context/engine.go:729
↓ 1 callersFunctionpredictOutcome
(rt RankedTool)
pkg/context/engine.go:827
↓ 1 callersMethodrecall
Semantic recall — find memories most relevant to the query. Multi-signal ranking: - Semantic similarity (cosine) — 50% wei
ark-memory/ark_memory/store.py:112
↓ 1 callersMethodrecall_all
Recall across ALL namespaces for this agent. Single query, no per-namespace loop.
ark-memory/ark_memory/agent.py:129
↓ 1 callersMethodrecordTask
(result *TaskResult)
pkg/runtime/agent.go:237
↓ 1 callersFunctionresolveEnvString
(s string)
pkg/tools/custom.go:138
↓ 1 callersFunctionresolveEnvVars
(cfg *Config)
pkg/config/config.go:342
↓ 1 callersFunctionretryable
(statusCode int, err error)
pkg/models/providers.go:20
↓ 1 callersFunctionrunAgent
(configPath, task string, allowWrite, dryRun bool)
cmd/ark/main.go:446
↓ 1 callersFunctionrunBenchmark
()
cmd/ark/main.go:205
↓ 1 callersFunctionrunDemo
()
cmd/ark/main.go:419
↓ 1 callersFunctionrunDemoLearn
()
cmd/ark/main.go:826
↓ 1 callersFunctionrunInit
()
cmd/ark/main.go:126
↓ 1 callersFunctionsanitizeOutput
(s string)
pkg/tools/http.go:328
↓ 1 callersFunctionsearchString
(s, sub string)
pkg/cost/cost_test.go:307
↓ 1 callersMethodselectTier
(stepType StepType)
pkg/router/router.go:232
↓ 1 callersFunctionsimplifyIssue
(raw string)
pkg/tools/github.go:936
↓ 1 callersFunctionsimplifyIssueList
(raw string)
pkg/tools/github.go:889
↓ 1 callersFunctionsimplifyNewsResults
(raw string)
pkg/tools/websearch.go:187
↓ 1 callersFunctionsimplifyPRList
(raw string)
pkg/tools/github.go:954
↓ 1 callersFunctionsimplifyRepo
(raw string)
pkg/tools/github.go:864
↓ 1 callersFunctionsimplifyUser
(raw string)
pkg/tools/github.go:989
↓ 1 callersFunctionsimplifyWebResults
(raw string)
pkg/tools/websearch.go:133
↓ 1 callersFunctionstripNoiseWords
stripNoiseWords removes common filler words from a query, keeping only meaningful domain keywords. GitHub search works best with focused terms.
pkg/tools/github.go:633
↓ 1 callersFunctionstripTestInstructions
(prompt string)
pkg/runtime/quality.go:477
↓ 1 callersMethodswapFailedTool
(newPlan, oldPlan *ContextPlan, failedTools []string)
pkg/context/engine.go:315
↓ 1 callersMethodtoolNames
toolNames returns sorted list of registered tool names (for error messages).
pkg/tools/http.go:146
↓ 1 callersFunctiontrimToolOutput
trimToolOutput reduces raw tool output to essential content to save tokens. JSON arrays get truncated to maxItems. Long strings get cut. This alone ca
pkg/runtime/agent.go:1309
↓ 1 callersFunctiontruncateStr
(s string, maxLen int)
pkg/runtime/agent.go:333
↓ 1 callersFunctionunquote
(s string)
pkg/config/config.go:401
↓ 1 callersMethodupdateCapabilityScores
(p *ModelProfile, obs Observation)
pkg/governor/registry.go:187
↓ 1 callersMethodupdateStepRecord
(p *ModelProfile, obs Observation)
pkg/governor/registry.go:243
↓ 1 callersMethodupdateToolRecord
(p *ModelProfile, obs Observation)
pkg/governor/registry.go:211
↓ 1 callersMethodupgradeToFullSchema
(newPlan, oldPlan *ContextPlan)
pkg/context/engine.go:264
↓ 1 callersFunctionvalidateOutput
(result string)
pkg/tools/http.go:336
↓ 1 callersMethodworker
()
pkg/store/store.go:118
← previousnext →301–400 of 715, ranked by callers