Was das Netzwerk gefunden hat
Jede Zeile hier ist eine Messung, keine Meinung. Jede verweist auf ein veröffentlichtes Sample, dessen Contract in einem gepinnten Container ohne Netzzugang ausgeführt wird — Sie können ihn erneut ausführen und dem Ergebnis widersprechen.
Betriebssystem und Runtime stammen aus der aufgezeichneten Sample-Umgebung; fehlende Dimensionen werden ausgeschlossen.
597 Befunde aus 8 Ökosystemen.
- cargo
- composer
- gem
- golang
- hex
- npm
- pub
- pypi
Vom Sample behauptet, vom Vertrag gemessen
426–450 von 568, gemessen von veröffentlichten Samples.
-
npmSample-Vertragnode · linux/x64commander@15.0.0
AngenommenSpawning git-style executable subcommands with Commander cleans up all process-level event listeners once the subcommand process exits.
GemessenSpawning executable subcommands in commander registers signal event listeners on the global process object that are never unregistered upon process termination, accumulating memory leaks on subsequent command invocations.
-
npmSample-Vertragnode · linux/x64commander@10.0.1
AngenommenPassing a string option name to Option.implies() sets that option to true when the triggering option is parsed.
GemessenOption.implies('quiet') on an option implicitly sets the boolean quiet option to true when the parent flag is present in Commander 10.0.1 instead of decomposing the string into numeric character properties as in 10.0.0
-
npmSample-Vertragnode · linux/x64bun@1.2.17
AngenommenThe bun npm package package.json maps the bunx binary entry to bin/bun.exe rather than a dedicated bin/bunx.exe target.
Gemessenassert bun package.json bin field maps bunx to bin/bunx.exe rather than bin/bun.exe in version 1.2.17
-
gemSample-Vertragruby · linux/x64rack-test@2.2.0
AngenommenPassing an HTTP header dictionary as the third argument to Rack::Test request methods translates header names into Rack environment keys for that single request.
Gemessenassert passing raw HTTP header names in the third argument leaves them un-prefixed in env rather than transforming to HTTP_ CGI keys
-
gemSample-Vertragruby · linux/x64rack-protection@4.2.1
AngenommenRack::Protection::CookieTossing evaluates each request independently so that a subsequent valid request with no duplicate cookies succeeds after an earlier attack request was rejected.
GemessenCalling Rack::Protection::CookieTossing with a subsequent valid request returns HTTP status 403 Forbidden rather than 200 OK because detected malicious cookie names are retained on the middleware instance in @bad_cookies across requests.
-
gemSample-Vertragruby · linux/x64rack-protection@4.2.1
AngenommenParameter values with non-string leaf types should survive a round trip through `EscapedParams` unchanged.
GemessenWhen a pre-seeded `rack.request.query_hash` with mixed values passes through `Rack::Protection::EscapedParams`, integer and symbol leaves become `nil` before the request body reaches the app, while string leaves are HTML-escaped.
-
composerSample-Vertragphp · linux/x64symfony/console@8.1.1
AngenommenA developer expects the default ChoiceQuestion label to be escaped, so `<comment>...` appears in the prompt brackets.
GemessenIn 8.1.1, running a ChoiceQuestion with default `<comment>Add new tag</comment>` must print the prompt with `Select a tag [Add new tag]:` and must not print `[<comment>Add new tag</comment>]`.
-
gemSample-Vertragruby · linux/x64json@2.9.1
AngenommenJSON.parse with symbolize_names: true and create_additions: true deserializes custom domain objects while symbolizing remaining hash keys, and JSON.generate serializes objects that implement as_json.
Gemessenassert JSON.parse raises ArgumentError when :symbolize_names and :create_additions are combined, making addition deserialization mutually exclusive with key symbolization
-
gemSample-Vertragruby · linux/x64json@2.9.1
AngenommenPassing nil to JSON.parse should raise JSON::ParserError because it is invalid JSON text.
GemessenJSON.load(nil) returns nil, so the two APIs are not behaviorally equivalent on nil input.
-
gemSample-Vertragruby · linux/x64faraday-net_http@3.4.4
AngenommenAll Ruby Net::HTTP timeout exceptions inherit from Timeout::Error and are expected to be caught under Faraday::TimeoutError.
GemessenNet::OpenTimeout is mapped to Faraday::ConnectionFailed rather than Faraday::TimeoutError because faraday-net_http routes socket open failures through its connection failure handler.
-
npmSample-Vertragnode · linux/x64@babel/preset-env@7.29.7
AngenommenModifying .browserslistrc on disk causes @babel/preset-env to automatically pick up the updated target environment on subsequent transformSync calls in a long-running process.
GemessenWhen .browserslistrc is modified on disk during a process lifetime, @babel/preset-env continues to emit transpiled code matching the stale cached targets until browserslist.clearCaches() is explicitly invoked.
-
npmSample-Vertragnode · linux/x64@babel/preset-env@8.0.2
AngenommenSetting targets to an empty array [] behaves identically to an empty object {} by defaulting to the standard baseline and leaving modern syntax untranspiled.
GemessenPassing targets: [] resolves to an empty environment matching zero engines and forces full ES5 transpilation of modern arrow functions and const declarations, whereas targets: {} defaults to the modern baseline.
-
gemSample-Vertragruby · linux/x64faraday-net_http@3.4.4
Angenommenall Net::HTTP timeout conditions including connection open timeouts raise Faraday::TimeoutError
Gemessenassert Net::OpenTimeout raises Faraday::ConnectionFailed rather than Faraday::TimeoutError
-
gemSample-Vertragruby · linux/x64faraday@2.14.3
AngenommenPassing a nil parameter value in a Faraday query hash omits the key from the serialized URL or encodes it with an empty string equals sign, while parsing a valueless query flag always returns nil across all encoders.
GemessenFaraday::NestedParamsEncoder and Faraday::FlatParamsEncoder serialize a nil value as a valueless query key without an equals sign rather than omitting it or appending an equals sign, while FlatParamsEncoder decodes valueless query keys as the boolean true rather than nil.
-
npmSample-Vertragnode · linux/x64@babel/preset-env@8.0.2
AngenommenTranspiling object rest destructuring and object spread with @babel/preset-env preserves accessor descriptors like getters and copies inherited prototype properties onto the resulting object.
GemessenTranspiling object rest destructuring and object spread with @babel/preset-env evaluates getters into plain data properties, drops inherited prototype properties and non-enumerable properties, but preserves own enumerable Symbol keys.
-
gemSample-Vertragruby · linux/x64zeitwerk@2.8.3
AngenommenZeitwerk autovivifies a namespace module for every subdirectory in a managed root directory, treating empty folders and non-Ruby asset directories as constant namespaces.
Gemessenassert empty directories and directories containing only non-Ruby assets or hidden dotfiles do not autovivify namespace modules and raise NameError on constant access rather than resolving to Module instances
-
gemSample-Vertragruby · linux/x64faraday@2.14.3
AngenommenFaraday::NestedParamsEncoder.decode raises Faraday::ParsingError when query parameters conflict, and client timeouts inherit from Faraday::ClientError rather than Faraday::ServerError.
GemessenFaraday::NestedParamsEncoder.decode raises Ruby core TypeError instead of Faraday::ParsingError when a scalar parameter precedes a nested key, but silently overwrites and returns the scalar when the nested key comes first.
-
gemSample-Vertragruby · linux/x64zeitwerk@2.8.3
AngenommenDefining a non-module object in an explicit namespace file raises Ruby's standard TypeError on nested constant access or Zeitwerk::NameError during autoloading.
Gemessenassert assigning a non-module object in an explicit namespace file immediately raises Zeitwerk::Error from const_added during autoload, escaping rescue NameError and rescue TypeError
-
npmSample-Vertragnode · linux/x64@babel/core@8.0.1
AngenommenDynamic import expressions are parsed as CallExpression AST nodes with an Import callee property.
GemessenparseSync parses dynamic import('./mod') as an ImportExpression node with a source property rather than a CallExpression with callee Import
-
gemSample-Vertragruby · linux/x64sorbet-runtime@0.6.13426
AngenommenA `checked(:never)` method in a class with duplicate `method_added` hooks still incurs wrapper allocations on every call.
GemessenA method annotated with `sig { returns(Integer).checked(:never) }` after a duplicated `method_added` chain runs with 1 allocation on first call and 0 on second call.
-
gemSample-Vertragruby · linux/x64sorbet-runtime@0.6.13427
AngenommenA sig block failing on first invocation can be retried once its dependencies resolve, sig binds to the next lexically defined method across threads, and re-entering a method during sig evaluation executes the underlying method body.
GemessenRetrying a method whose lazy sig block previously raised an exception fails with RuntimeError: 'A previous invocation... raised, and the current one succeeded' rather than recovering when the sig block now succeeds.
-
gemSample-Vertragruby · linux/x64sorbet-runtime@0.6.13427
AngenommenInitializing a T::Struct with an undeclared attribute is silently ignored at runtime
GemessenInitializing a T::Struct with an unknown attribute raises ArgumentError
-
gemSample-Vertragruby · linux/x64sorbet-runtime@0.6.13427
AngenommenT::Struct.from_hash rejects unknown payload keys by default with an error, matching T::Struct.new constructor validation.
Gemessenassert from_hash! and from_hash with strict: true raise RuntimeError when unknown keys are provided
-
gemSample-Vertragruby · linux/x64sorbet-runtime@0.6.13427
AngenommenA method signed with T::Array[Integer] raises TypeError at the call site when the caller passes an array whose elements are not Integers, because the annotation explicitly names the element type.
GemessenCalling a sig-annotated method with T::Array[Integer] and an array of strings does not raise TypeError; the runtime erases the Integer type parameter and accepts any Array without inspecting its elements.
-
gemSample-Vertragruby · linux/x64sorbet-runtime@0.6.13427
AngenommenSetting T::Configuration.default_checked_level = :never anywhere before application code runs disables runtime type checking globally, even if class definitions have already been loaded.
GemessenCalling T::Configuration.default_checked_level= after any sig-annotated method has been invoked raises RuntimeError with 'Set the default checked level earlier', because sorbet-runtime evaluates sig blocks lazily on first call — meaning class loading alone does not trigger evaluation, but one call does.
Wie Sie jede Zeile hier prüfen
Öffnen Sie das Sample, lesen Sie seinen Contract, führen Sie ihn aus. Der Contract ist der eigene Test des Samples: Er läuft ohne Netz in einem gepinnten Container, und die signierte Quittung dieses Laufs ist das, was das Netzwerk speichert. Nichts hier hängt davon ab, wie wir eine Bibliothek lesen — nur davon, was sie getan hat.
Einige veröffentlichte Beispiele stehen nicht auf dieser Seite. Ihr Vertrag ist bestanden und das Beispiel ist live — aber keine Zeile dieses Vertrags liest sich als Satz. Eine Zusicherung wie expect(x).toBe(1) sagt neben der Annahme, die sie prüft, niemandem etwas. Sie bleiben lieber draußen, als als Beleg zu erscheinen, den niemand lesen kann.