Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JuliusBrussee/caveman
/ functions
Functions
12,391 in github.com/JuliusBrussee/caveman
⨍
Functions
12,391
◇
Types & classes
1,304
↳
Endpoints
5
Function
TestSubscriptionRecoveryFromRequestToolList
(t *testing.T)
proxy/internal/gateway/subscription_live_zone_test.go:472
Function
TestSubscriptionWithoutMCPRecoveryPassesThrough
TestSubscriptionWithoutMCPRecoveryPassesThrough pins recoverability. Subscription compression is marker-only — the proxy never injects its server-side
proxy/internal/gateway/subscription_live_zone_test.go:136
Function
TestSubscriptionWithoutPrefixCachePassesThrough
TestSubscriptionWithoutPrefixCachePassesThrough pins the maintainability half of the same rule: a rewrite the proxy cannot re-issue on the next turn w
proxy/internal/gateway/subscription_live_zone_test.go:163
Function
TestSuggestedAllowlistEntryWorksAtDialTime
The suggestion must also work at DIAL time, which is where a real request is actually stopped — a token that only satisfies pre-flight sends the opera
shared/platform/ssrf/ssrf_test.go:682
Function
TestSummarizeElidedRespectsItsBudget
(t *testing.T)
engine/compressors/invariants_test.go:247
Function
TestSummarizeElidedStatesOnlyWhatHoldsEverywhere
(t *testing.T)
engine/compressors/invariants_test.go:37
Function
TestSummary
(t *testing.T)
engine/ccr/store_test.go:307
Function
TestSummaryDisclosesCacheWarms
(t *testing.T)
proxy/internal/store/cache_warm_stats_test.go:37
Function
TestSupersedeCanRevertToAnEarlierValue
(t *testing.T)
mem/store_test.go:407
Function
TestSupersedeExpiresOldMemoryAndRecallUsesCurrentVersion
(t *testing.T)
mem/store_test.go:234
Function
TestSupersedeFailsClosedWithoutCorruptingLineage
(t *testing.T)
mem/store_test.go:287
Function
TestSupersedeReadsReplacementFromStdinAndMapsTooLargeExit
(t *testing.T)
mem/cmd/cavemem/main_test.go:317
Function
TestSupersedeRejectsOversizedReplacementWithoutExpiringCurrent
(t *testing.T)
mem/store_test.go:309
Function
TestSupported
(t *testing.T)
proxy/internal/translate/messages_test.go:17
Function
TestSupportsReasoningEffort
(t *testing.T)
proxy/providers/openai/reasoning_effort_test.go:293
Function
TestSupportsReasoningEffortForEndpointSkipsProAliases
(t *testing.T)
proxy/providers/openai/reasoning_effort_test.go:272
Function
TestSweepBudgetAndBacklogGauge
GO-9: the sweep stops at its time budget, and whatever it left is reported.
proxy/internal/middleware/hardening_test.go:433
Function
TestSweepReclaimsWithoutRequests
Expiry used to run in front of every optimize, sharing its writer. It now runs in the background sweep, in its own transactions, so it commits whether
proxy/internal/middleware/runtime_test.go:543
Function
TestSweptGrantAnswersExpiredUntilGraceEnds
GO-2: a swept grant keeps answering 410 expired until its grace ends, and only then becomes unknown.
proxy/internal/middleware/hardening_test.go:195
Function
TestSwitchingStoresLeavesOneSecret
(t *testing.T)
proxy/internal/pool/pool_test.go:284
Function
TestTLSListenerMapsClientCertificatesToPrincipals
(t *testing.T)
proxy/internal/identity/tls_test.go:64
Function
TestTOONCompressorTabularArrayRoundTrips
(t *testing.T)
engine/compressors/toon_test.go:10
Function
TestTOONCompressorUnsupportedShapesPassThrough
(t *testing.T)
engine/compressors/toon_test.go:27
Function
TestTOONDeterministic
(t *testing.T)
engine/compressors/toon_test.go:73
Function
TestTOONEncodeDecodeRoundTrip
The agent emits the compact TOON form; downstream recovers JSON. The two must be semantically identical so nothing the agent omits gets corrupted on t
engine/cmd/caveman-engine/main_test.go:21
Function
TestTOONNumbersPreserveLexicalForm
(t *testing.T)
engine/compressors/toon_test.go:57
Function
TestTOONRootScalarAndScalarArrayRoundTrip
(t *testing.T)
engine/compressors/toon_test.go:106
Function
TestTOONSortsNonTabularObjectKeys
(t *testing.T)
engine/compressors/toon_test.go:89
Function
TestTOONStringsNeedingQuotesRoundTrip
(t *testing.T)
engine/compressors/toon_test.go:41
Function
TestTOONVerbsFailClosed
Both verbs fail closed: encode refuses shapes it cannot prove round-trip, and decode refuses malformed input, rather than emitting a lossy/guessed res
engine/cmd/caveman-engine/main_test.go:45
Function
TestTabularCSVMarkerHasStableFieldCount
(t *testing.T)
engine/compressors/tabular_test.go:175
Function
TestTabularCSVPreservesCRLFWithoutAddingTrailingNewline
(t *testing.T)
engine/compressors/tabular_test.go:196
Function
TestTabularCSVStaysValidAndKeepsHeaderExtremaAndErrors
(t *testing.T)
engine/compressors/tabular_test.go:30
Function
TestTabularLargeIntegerRangeCoversEveryElidedRow
Past 2^53 two different integers can parse to the same float64 (snowflake IDs, nanosecond timestamps). The id column stayed on the numeric track, the
engine/compressors/tabular_test.go:257
Function
TestTabularMalformedOrTinyPassesThrough
(t *testing.T)
engine/compressors/tabular_test.go:162
Function
TestTabularMarkdownKeepsEscapedPipesInsideCells
(t *testing.T)
engine/compressors/tabular_test.go:130
Function
TestTabularMarkdownKeepsShapeAndIsIdempotent
(t *testing.T)
engine/compressors/tabular_test.go:108
Function
TestTabularMarkerCarriesRowInvariants
(t *testing.T)
engine/compressors/invariants_test.go:458
Function
TestTabularNonFiniteCellIsNotAbsorbedIntoARange
A CSV export with one non-numeric measurement — how pandas, Postgres `numeric` and R all spell a missing value — must not compress to something indist
engine/compressors/tabular_test.go:221
Function
TestTabularQueryKeepsRelevantMiddleRows
(t *testing.T)
engine/compressors/tabular_test.go:62
Function
TestTabularTSVStaysValidAndKeepsQueryRow
(t *testing.T)
engine/compressors/tabular_test.go:80
Function
TestTakeoverKeepsTheDropBlockRefusal
A side loop taking the session over keeps the refused drop_block: back on the main thread a new binding 400 goes straight to the strip.
proxy/internal/gateway/route_effort_test.go:1835
Function
TestTakeoverKeepsTheFixedTopLevel
The main thread's fixed top-level effort comes back with its marks after a side loop took the session over.
proxy/internal/gateway/route_effort_test.go:1763
Function
TestTakeoverKeepsThePreviousMarksPending
An unlabeled multi-turn side loop that takes the session over leaves the main thread's marks pending: the main thread takes them back.
proxy/internal/gateway/route_effort_test.go:1665
Function
TestTamperedPriceCapabilityBreaksTheSnapshotPin
TestTamperedPriceCapabilityBreaksTheSnapshotPin reproduces the 2026-07-31 review probe verbatim: change regional_processing_multiplier from the 1.10 t
shared/platform/catalog/catalog_test.go:342
Function
TestTamperedSignatureHealsByStripping
A tampered or undecryptable signature is no prefix change: drop_block does not apply, so the heal strips from the failing message on.
proxy/internal/gateway/route_effort_test.go:1315
Function
TestTargetCarriesTheLoginsCredentialAndTheHostsWire
(t *testing.T)
proxy/internal/pool/pool_test.go:109
Function
TestTaskContractKeepsPolicyAcrossFollowupsAndInjectsOnlyOnPolicyChange
(t *testing.T)
proxy/internal/nativeruntime/runtime_test.go:169
Function
TestTaskContractStartsNewGeneralTaskAndRefreshesGoalIdentity
(t *testing.T)
proxy/internal/nativeruntime/runtime_test.go:275
Function
TestTemporaryCredentialWithoutExpiryStillRefreshes
(t *testing.T)
shared/platform/awscreds/awscreds_test.go:716
Function
TestTerminalANSIColoredOutput
(t *testing.T)
engine/compressors/terminal_test.go:107
Function
TestTerminalCRLFDocumentBehavior
(t *testing.T)
engine/compressors/terminal_test.go:121
Function
TestTerminalCRNumberedRecordsAllSurvive
The collapse decision is all or nothing per line. Dropping only the segments the redundancy gate judges redundant reintroduced #1294 at a smaller scal
engine/compressors/terminal_test.go:219
Function
TestTerminalCRTerminatedDocumentKeepsEveryLine
A bare \r is only a redraw when the frame it overwrote said the same thing. The same byte terminates lines in a classic-Mac document and shows up as a
engine/compressors/terminal_test.go:149
Function
TestTerminalCRTerminatedDocumentWithANSIKeepsEveryLine
(t *testing.T)
engine/compressors/terminal_test.go:167
Function
TestTerminalCollapsesCarriageReturns
(t *testing.T)
engine/compressors/terminal_test.go:27
Function
TestTerminalColoredFinalFrameCollapses
Compress strips ANSI only after collapsing, so the segments have to be compared by their visible text. Judging the raw bytes let a frame that merely g
engine/compressors/terminal_test.go:235
Function
TestTerminalCompressRoundTrip
TestTerminalCompressRoundTrip checks the recoverable-RTK contract end to end: noisy command output is auto-detected as terminal, compressed (lossy, S4
engine/terminal_test.go:82
Function
TestTerminalEventEndsTheStream
An answer ends when the upstream's terminal event arrives, not when the upstream closes the connection: with the upstream lingering 30 s after it, eve
proxy/internal/translate/wire_gaps_test.go:930
Function
TestTerminalIntraLineCRKeepsDistinctSegments
(t *testing.T)
engine/compressors/terminal_test.go:182
Function
TestTerminalIsIdempotent
(t *testing.T)
engine/compressors/terminal_test.go:129
Function
TestTerminalKeepsMixedLineEndings
A single CRLF anywhere used to decide the line ending for the whole document: terminal/config/tabular rewrote every LF to CRLF, and log/searchresult/d
engine/compressors/lineends_test.go:15
Function
TestTerminalKeepsSignalElidesMiddle
(t *testing.T)
engine/compressors/terminal_test.go:44
Function
TestTerminalPassesThroughPlainShort
(t *testing.T)
engine/compressors/terminal_test.go:81
Function
TestTerminalProgressRedrawStillCollapsesWithoutLF
(t *testing.T)
engine/compressors/terminal_test.go:197
Function
TestTerminalProgressRedrawWithLFAndANSI
(t *testing.T)
engine/compressors/terminal_test.go:90
Function
TestTerminalStripsANSI
(t *testing.T)
engine/compressors/terminal_test.go:10
Function
TestTestReportAllPassed
(t *testing.T)
engine/compressors/testreport_test.go:537
Function
TestTestReportDetectedShapesCompress
TestTestReportDetectedShapesCompress pins that a payload Detect routes to test-report really compresses through the engine. Engine.Compress has no fal
engine/compressors/testreport_test.go:398
Function
TestTestReportDetection
Test detection
engine/compressors/testreport_test.go:298
Function
TestTestReportDetectionIsAnchored
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
Function
TestTestReportDetectionRequiresParse
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
Function
TestTestReportFailClosed
Test behavior
engine/compressors/testreport_test.go:477
Function
TestTestReportIdempotent
(t *testing.T)
engine/compressors/testreport_test.go:501
Function
TestTestReportJUnitXML
Test format parsing
engine/compressors/testreport_test.go:129
Function
TestTestReportJestJSON
(t *testing.T)
engine/compressors/testreport_test.go:264
Function
TestTestReportPytestJSON
(t *testing.T)
engine/compressors/testreport_test.go:219
Function
TestTestReportPytestKeepsEveryOutcome
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
Function
TestTestReportStackTrimming
(t *testing.T)
engine/compressors/testreport_test.go:576
Function
TestTextCompressorKeepsHeadingsAndImportantSections
(t *testing.T)
engine/compressors/breadth_test.go:215
Function
TestTextCompressorRejectsTinyOrBinaryInput
(t *testing.T)
engine/compressors/breadth_test.go:263
Function
TestTextKeepsFencedBlockWhole
(t *testing.T)
engine/compressors/lineends_test.go:76
Function
TestTextQueryKeepsRelevantMiddleSection
(t *testing.T)
engine/compressors/breadth_test.go:241
Function
TestThinkingOffIsEffortNone
--- 5. thinking off is effort none, clamped to the model --------------------------
proxy/internal/translate/wire_gaps_test.go:244
Function
TestThirdReviewFindings
(t *testing.T)
proxy/internal/translate/wire_gaps_test.go:781
Function
TestThreeTurnLiveZoneKeepsFrozenPrefixAndStaticTools
(t *testing.T)
proxy/internal/gateway/live_zone_test.go:277
Function
TestTinyCSVClassesAreNotElided
(t *testing.T)
engine/compressors/invariants_test.go:826
Function
TestTinyClassesAreNotElided
--- 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
Function
TestTinyLogClassesAreNotElided
(t *testing.T)
engine/compressors/invariants_test.go:847
Function
TestTokenMapPrincipalsNamespacesAndLegacyToken
(t *testing.T)
proxy/internal/identity/identity_test.go:50
Function
TestTokenMapQuotaOverridesArePerPrincipal
Per-principal quota overrides from the token map bound only that principal.
proxy/internal/middleware/identity_test.go:124
Function
TestTokenMapRejectsAmbiguousFiles
(t *testing.T)
proxy/internal/identity/identity_test.go:128
Function
TestTokenMapRotationAndReload
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
Function
TestTokenVocabularyMatchesRuneOracle
(t *testing.T)
engine/compressors/tokenize_equivalence_test.go:57
Function
TestTokenizeDeterministic
(t *testing.T)
mem/bm25_test.go:5
Function
TestToolLoopKeepsTheAsk
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
Function
TestToolPortfolioRanksAndDisclosesItsBasis
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
Function
TestToolPortfolioSilentBelowThreshold
TestToolPortfolioSilentBelowThreshold keeps the sink off a machine with nothing worth reporting.
proxy/internal/store/detect_tool_portfolio_test.go:78
Function
TestToolSchemaAbbreviationNotSplit
TestToolSchemaAbbreviationNotSplit guards abbreviation boundaries: the description reducer must not cut inside an abbreviation. "Target path, e.g. /sr
engine/compressors/toolschema_test.go:322
Function
TestToolSchemaAnnotationsCompressorIsForcedOnlyAndS4
(t *testing.T)
engine/compressors/toolschema_annotations_test.go:205
← previous
next →
10,501–10,600 of 12,391, ranked by callers