MCPcopy Create free account

hub / github.com/JuliusBrussee/caveman / functions

Functions12,853 in github.com/JuliusBrussee/caveman

FunctionTestTestReportDetectionIsAnchored
TestTestReportDetectionIsAnchored pins that detection reads only top-level shape. Payloads that merely mention JUnit tags or pytest keys somewhere ins
engine/compressors/testreport_test.go:351
FunctionTestTestReportDetectionRequiresParse
TestTestReportDetectionRequiresParse pins that a test-report root the compressor cannot read keeps its pre-test-report routing instead of being claime
engine/compressors/testreport_test.go:436
FunctionTestTestReportFailClosed
Test behavior
engine/compressors/testreport_test.go:477
FunctionTestTestReportGoBuildFailurePreservesDiagnostics
(t *testing.T)
engine/compressors/testreport_test.go:665
FunctionTestTestReportIdempotent
(t *testing.T)
engine/compressors/testreport_test.go:501
FunctionTestTestReportJUnitXML
Test format parsing
engine/compressors/testreport_test.go:129
FunctionTestTestReportJestJSON
(t *testing.T)
engine/compressors/testreport_test.go:264
FunctionTestTestReportPytestJSON
(t *testing.T)
engine/compressors/testreport_test.go:219
FunctionTestTestReportPytestKeepsEveryOutcome
TestTestReportPytestKeepsEveryOutcome pins that outcomes beyond passed/failed/skipped/error still reach the summary, and that a setup or teardown erro
engine/compressors/testreport_test.go:457
FunctionTestTestReportStackTrimming
(t *testing.T)
engine/compressors/testreport_test.go:576
FunctionTestTextCompressorKeepsHeadingsAndImportantSections
(t *testing.T)
engine/compressors/breadth_test.go:215
FunctionTestTextCompressorRejectsTinyOrBinaryInput
(t *testing.T)
engine/compressors/breadth_test.go:263
FunctionTestTextKeepsFencedBlockWhole
(t *testing.T)
engine/compressors/lineends_test.go:76
FunctionTestTextQueryKeepsRelevantMiddleSection
(t *testing.T)
engine/compressors/breadth_test.go:241
FunctionTestThinkingOffIsEffortNone
--- 5. thinking off is effort none, clamped to the model --------------------------
proxy/internal/translate/wire_gaps_test.go:244
FunctionTestThirdReviewFindings
(t *testing.T)
proxy/internal/translate/wire_gaps_test.go:781
FunctionTestThreeTurnLiveZoneKeepsFrozenPrefixAndStaticTools
(t *testing.T)
proxy/internal/gateway/live_zone_test.go:277
FunctionTestTinyCSVClassesAreNotElided
(t *testing.T)
engine/compressors/invariants_test.go:826
FunctionTestTinyClassesAreNotElided
--- small classes are not elided at all --- TestTinyClassesAreNotElided: a one- or two-unit marker plus its recovery handle costs about what the units
engine/compressors/invariants_test.go:786
FunctionTestTinyLogClassesAreNotElided
(t *testing.T)
engine/compressors/invariants_test.go:847
FunctionTestTokenMapPrincipalsNamespacesAndLegacyToken
(t *testing.T)
proxy/internal/identity/identity_test.go:50
FunctionTestTokenMapQuotaOverridesArePerPrincipal
Per-principal quota overrides from the token map bound only that principal.
proxy/internal/middleware/identity_test.go:124
FunctionTestTokenMapRejectsAmbiguousFiles
(t *testing.T)
proxy/internal/identity/identity_test.go:128
FunctionTestTokenMapRotationAndReload
Two tokens per principal rotate without an outage; a broken file keeps the last good map instead of locking everyone out or opening up.
proxy/internal/identity/identity_test.go:100
FunctionTestTokenVocabularyMatchesRuneOracle
(t *testing.T)
engine/compressors/tokenize_equivalence_test.go:57
FunctionTestTokenizeDeterministic
(t *testing.T)
mem/bm25_test.go:5
FunctionTestToolLoopKeepsTheAsk
Claude Code puts its system-reminders next to tool results: that message is part of the tool loop, so the loop keeps the ask's text and its decision.
proxy/internal/cloudlink/link_test.go:308
FunctionTestToolPortfolioRanksAndDisclosesItsBasis
TestToolPortfolioRanksAndDisclosesItsBasis proves the sink names the heaviest call shape, prices it at the measured rate, and labels its token basis a
proxy/internal/store/detect_tool_portfolio_test.go:39
FunctionTestToolPortfolioSilentBelowThreshold
TestToolPortfolioSilentBelowThreshold keeps the sink off a machine with nothing worth reporting.
proxy/internal/store/detect_tool_portfolio_test.go:78
FunctionTestToolSchemaAbbreviationNotSplit
TestToolSchemaAbbreviationNotSplit guards abbreviation boundaries: the description reducer must not cut inside an abbreviation. "Target path, e.g. /sr
engine/compressors/toolschema_test.go:322
FunctionTestToolSchemaAnnotationsCompressorIsForcedOnlyAndS4
(t *testing.T)
engine/compressors/toolschema_annotations_test.go:205
FunctionTestToolSchemaByteSafeOnMalformed
(t *testing.T)
engine/compressors/toolschema_test.go:181
FunctionTestToolSchemaDependencyPropertyNamesSurvive
(t *testing.T)
engine/compressors/toolschema_test.go:152
FunctionTestToolSchemaDescriptionTruncationStaysUTF8
TestToolSchemaDescriptionTruncationStaysUTF8 guards UTF-8 safety: the byte-index cut must back off to a rune boundary so no U+FFFD replacement charact
engine/compressors/toolschema_test.go:234
FunctionTestToolSchemaIdempotent
(t *testing.T)
engine/compressors/toolschema_test.go:208
FunctionTestToolSchemaKeepsDefault
TestToolSchemaKeepsDefault guards default preservation: a `default` value is part of argument construction (an agent omits the argument to inherit it)
engine/compressors/toolschema_test.go:340
FunctionTestToolSchemaPreservesArgumentConstraints
TestToolSchemaPreservesArgumentConstraints is the call-VALIDITY conformance gate. A compressed catalog must not turn valid tool calls into invalid one
engine/compressors/toolschema_test.go:559
FunctionTestToolSchemaPreservesEnvelopeAndMCPAnnotationTitle
(t *testing.T)
engine/compressors/toolschema_test.go:89
FunctionTestToolSchemaPreservesSelectionTokens
(t *testing.T)
engine/compressors/toolschema_test.go:49
FunctionTestToolSchemaPropertyNamedDescriptionSurvives
(t *testing.T)
engine/compressors/toolschema_test.go:125
FunctionTestToolSchemaRefIntegrity
TestToolSchemaRefIntegrity guards reference integrity: a $defs / definitions entry whose name collides with a schema-metadata key must not be dropped,
engine/compressors/toolschema_test.go:356
FunctionTestToolSchemaRejectsEveryTrailingNonWhitespaceToken
(t *testing.T)
engine/compressors/toolschema_test.go:191
FunctionTestToolSchemaRetainsMarkerlessConstraints
TestToolSchemaRetainsMarkerlessConstraints reproduces the round-2 review's under-keep cases and asserts each constraint SURVIVES compression — both th
engine/compressors/toolschema_test.go:281
FunctionTestToolSchemaShrinkCompressesDescriptionsAndCachesDeterministically
(t *testing.T)
proxy/internal/gateway/toolschema_strip_test.go:443
FunctionTestToolSchemaStripFailsClosed
TestToolSchemaStripFailsClosed covers every way the lever must decline: an unrecognized flag value, the explicit request-wide opt-out, a missing recov
proxy/internal/gateway/toolschema_strip_test.go:270
FunctionTestToolSchemaStripIgnoresEpochVeto
TestToolSchemaStripIgnoresEpochVeto: the strip is a pure function of the tool catalog at the head of the prefix. Gating it per request flipped the cat
proxy/internal/gateway/cache_prefix_invariant_test.go:1325
FunctionTestToolSchemaStripIsCacheStable
TestToolSchemaStripIsCacheStable is the reason a frozen-prefix rewrite is admissible at all: two consecutive requests carrying the same catalog must p
proxy/internal/gateway/toolschema_strip_test.go:209
FunctionTestToolSchemaStripIsOffByDefault
TestToolSchemaStripIsOffByDefault is the default-off pin: a wrap with every technical condition satisfied and no strip configured forwards the catalog
proxy/internal/gateway/toolschema_strip_test.go:113
FunctionTestToolSchemaStripRecordModeIsPassThrough
TestToolSchemaStripRecordModeIsPassThrough keeps record mode what it has always been: a byte-safe pass-through, whatever the operator configured.
proxy/internal/gateway/toolschema_strip_test.go:241
FunctionTestToolSchemaStripRemovesAnnotationsAndDisclosesRecovery
TestToolSchemaStripRemovesAnnotationsAndDisclosesRecovery pins the whole contract of an enabled strip: the four annotations leave, everything that sel
proxy/internal/gateway/toolschema_strip_test.go:140
FunctionTestToolSchemaStripSurvivesStoreFailure
TestToolSchemaStripSurvivesStoreFailure: the catalog is the head of the provider prefix. A strip that fell back to the original catalog whenever the r
proxy/internal/gateway/toolschema_strip_test.go:398
FunctionTestToolSchemaStripWithoutPrefixCachePassesThrough
TestToolSchemaStripWithoutPrefixCachePassesThrough pins the maintainability half of the gate. Without a durable replacement cache the proxy cannot kee
proxy/internal/gateway/toolschema_strip_test.go:368
FunctionTestToolSchemaStripWithoutStripperCapabilityPassesThrough
TestToolSchemaStripWithoutStripperCapabilityPassesThrough pins the seam: an embedder whose Compressor cannot strip keeps the catalog, whatever the ope
proxy/internal/gateway/toolschema_strip_test.go:345
FunctionTestToolSequenceGrader
(t *testing.T)
engine/evals/harness_test.go:136
FunctionTestToolSignatureGroupsWithoutLeakingPaths
TestToolSignatureGroupsWithoutLeakingPaths pins both halves of the normalization contract: calls collapse into an actionable shape, and no user path,
proxy/internal/store/detect_tool_portfolio_test.go:11
FunctionTestToolsListExactlyFive
--- tests ------------------------------------------------------------------
mcp/server_test.go:107
FunctionTestToolsListIncludesOptionalMetadata
(t *testing.T)
mcp/server_test.go:139
FunctionTestToonDecodeEngineErrorFailsLoudly
(t *testing.T)
mcp/server_test.go:420
FunctionTestToonDecodeFailsLoudlyOnGarbage
(t *testing.T)
mcp/server_test.go:402
FunctionTestToonDecodeRoundTrips
(t *testing.T)
mcp/server_test.go:377
FunctionTestToonEncodeDegradesByteSafeWithNote
(t *testing.T)
mcp/server_test.go:357
FunctionTestToonEncodeHappyPathIncludesBothSizes
(t *testing.T)
mcp/server_test.go:337
FunctionTestTopAnswerForACompactionIsAnUnsavedMark
A "top" answer for a compaction on a marked session goes in as a mark for that request only.
proxy/internal/gateway/route_effort_test.go:1729
FunctionTestTopAnswerOnAMarkedSessionAppendsAMark
A "top" answer on a session with marks goes in as one more mark: the marks stay and the history is unchanged.
proxy/internal/gateway/route_effort_test.go:1613
FunctionTestTopAnswersNeverBringMarks
Cloud answering "top" never brings marks or the beta: a timeout in between sends the agent's own bytes (one cache restart), and no 400 path runs.
proxy/internal/gateway/route_effort_test.go:1582
FunctionTestTopSinksCapsAt20
(t *testing.T)
proxy/internal/store/report_chart_test.go:33
FunctionTestTraceAndSpanIDs
(t *testing.T)
shared/platform/id/id_test.go:56
FunctionTestTransformAnthropicCacheControlNeverAdds
(t *testing.T)
engine/pixel/transform_anthropic_test.go:22
FunctionTestTransformAnthropicGoldenFixtures
(t *testing.T)
engine/pixel/transform_anthropic_test.go:215
FunctionTestTransformAnthropicHiResBalancedGeometry
TestTransformAnthropicHiResBalancedGeometry is the end-to-end check that a hi-res reader (Fable 5) renders REAL hi-res pages by default: the slab page
engine/pixel/transform_anthropic_density_test.go:29
FunctionTestTransformAnthropicHistoryRunsOnEarlyExit
(t *testing.T)
engine/pixel/transform_anthropic_test.go:197
FunctionTestTransformAnthropicKeepSharpAndRecoverable
(t *testing.T)
engine/pixel/transform_anthropic_test.go:68
FunctionTestTransformAnthropicMalformedAndPassThroughShapes
(t *testing.T)
engine/pixel/transform_anthropic_test.go:175
FunctionTestTransformAnthropicMaxLargeSlabTwoLayer
TestTransformAnthropicMaxLargeSlabTwoLayer is the end-to-end check that a max slab exceeding one layer renders the red/blue overlay AND that its doubl
engine/pixel/transform_anthropic_twolayer_test.go:71
FunctionTestTransformAnthropicMaxSmallSlabBlack
TestTransformAnthropicMaxSmallSlabBlack asserts the fail-soft path: a max slab that fits one layer renders as a single mono-BLACK page (never red, nev
engine/pixel/transform_anthropic_twolayer_test.go:49
FunctionTestTransformAnthropicMaxSmallToolResultBlackNoNote
TestTransformAnthropicMaxSmallToolResultBlackNoNote is the fail-soft companion: a tool result that fits one layer renders mono black and gets NO 2-lay
engine/pixel/transform_anthropic_twolayer_test.go:146
FunctionTestTransformAnthropicMaxToolResultEmitsNote
TestTransformAnthropicMaxToolResultEmitsNote checks that a 2-layer tool-result image never reaches the model without its red/blue note — even when the
engine/pixel/transform_anthropic_twolayer_test.go:106
FunctionTestTransformAnthropicPreservesExactToolNumbers
(t *testing.T)
engine/pixel/transform_numbers_test.go:59
FunctionTestTransformAnthropicRelocatesExistingCacheControlToHistory
(t *testing.T)
engine/pixel/transform_anthropic_test.go:42
FunctionTestTransformAnthropicStaticTagCanary
(t *testing.T)
engine/pixel/transform_anthropic_test.go:115
FunctionTestTransformErrorFailsOpen
TestTransformErrorFailsOpen proves the byte-safe fail-open contract: in active mode, when the optimizer step errors, the proxy forwards the ORIGINAL r
proxy/internal/gateway/server_test.go:329
FunctionTestTransformGeminiExplicitHighMediaResolutionUsesHighBudget
(t *testing.T)
engine/pixel/transform_gemini_test.go:231
FunctionTestTransformGeminiKeepsFunctionResponsePairing
(t *testing.T)
engine/pixel/transform_gemini_test.go:301
FunctionTestTransformGeminiMalformedBody
(t *testing.T)
engine/pixel/transform_gemini_test.go:249
FunctionTestTransformGeminiNonHighGlobalMediaResolutionFailsClosed
(t *testing.T)
engine/pixel/transform_gemini_test.go:186
FunctionTestTransformGeminiPassThroughByteIdentity
(t *testing.T)
engine/pixel/transform_gemini_test.go:145
FunctionTestTransformGeminiStructural
(t *testing.T)
engine/pixel/transform_gemini_test.go:14
FunctionTestTransformGeminiUnknownModelFailsClosedBeforeTokenGate
(t *testing.T)
engine/pixel/transform_gemini_test.go:172
FunctionTestTransformGeminiUnknownTopLevelRawPreserved
(t *testing.T)
engine/pixel/transform_gemini_test.go:262
FunctionTestTransformGeminiUsesModelSpecificMediaResolutionGate
(t *testing.T)
engine/pixel/transform_gemini_test.go:280
FunctionTestTransformOpenAIChatCompressesDenseSystemSlab
(t *testing.T)
engine/pixel/transform_openai_regression_test.go:8
FunctionTestTransformOpenAIChatCompressesSystemAndToolDocs
(t *testing.T)
engine/pixel/transform_openai_test.go:81
FunctionTestTransformOpenAIDefaultBalancedGeometry
TestTransformOpenAIDefaultBalancedGeometry checks the standalone OpenAI path renders balanced by default for gpt-5.6 (a density-capable reader on the
engine/pixel/transform_openai_density_test.go:14
FunctionTestTransformOpenAIGoldenFixtures
(t *testing.T)
engine/pixel/transform_openai_test.go:235
FunctionTestTransformOpenAIHistoryCollapseResponsesAndChat
(t *testing.T)
engine/pixel/history_openai_test.go:206
FunctionTestTransformOpenAIPassThroughAndErrors
(t *testing.T)
engine/pixel/transform_openai_test.go:214
FunctionTestTransformOpenAIPreservesExactToolSchemaNumbers
(t *testing.T)
engine/pixel/transform_numbers_test.go:96
FunctionTestTransformOpenAIResponsesBareStringInput
(t *testing.T)
engine/pixel/transform_openai_test.go:188
FunctionTestTransformOpenAIResponsesCompressesInstructionsAndTools
(t *testing.T)
engine/pixel/transform_openai_test.go:145
FunctionTestTransformPreservesLargeIntegersOnRemarshalFallback
TestTransformPreservesLargeIntegersOnRemarshalFallback pins the sibling of the Bedrock cache-points defect (#1057). spliceTopLevelFields cannot expres
proxy/providers/openai/cache_key_test.go:169
← previousnext →11,001–11,100 of 12,853, ranked by callers