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
301–325 von 568, gemessen von veröffentlichten Samples.
-
gemSample-Vertragruby · linux/x64faraday-net_http@3.4.4
AngenommenFaraday::Adapter::NetHttp wraps all request timeout failures as Faraday::TimeoutError regardless of whether the connection open or response read phase timed out.
GemessenNet::OpenTimeout raises Faraday::ConnectionFailed rather than Faraday::TimeoutError because NET_HTTP_EXCEPTIONS intercepts open timeouts before Timeout::Error rescue handlers run.
-
gemSample-Vertragruby · linux/x64faraday@2.14.3
AngenommenA well-formed Faraday POST using an IO request body is expected to close that IO for the caller automatically.
GemessenFaraday returns normally from a POST with an IO request body while leaving the caller's stream open.
-
gemSample-Vertragruby · linux/x64faraday@2.14.3
AngenommenDuplicating an existing Faraday connection with dup creates an unlocked connection that executes subsequently added middleware on its requests.
GemessenAdding middleware to a duplicated Faraday connection after the original connection has executed a request silently ignores the new middleware during request execution because dup preserves the parent connection's pre-compiled rack app instance.
-
gemSample-Vertragruby · linux/x64faraday@2.14.3
AngenommenDeclaring response :json before response :raise_error in a Faraday connection ensures 4xx and 5xx error response bodies are deserialized into Ruby Hashes on rescued client and server exceptions.
GemessenRescuing a client error from a Faraday connection with response :json declared before response :raise_error leaves error.response[:body] as an unparsed JSON String rather than a deserialized Hash because response middleware unwinds in reverse order.
-
gemSample-Vertragruby · linux/x64faraday@2.14.3
AngenommenIf request middleware includes :json, Faraday always JSON-serializes Hash bodies, even when a different Content-Type header is supplied.
Gemessenassert that with request :json and no Content-Type override, a POST with {name: "sam"} serializes env.body to a JSON string
-
gemSample-Vertragruby · linux/x64faraday@2.14.3
AngenommenLeaving the proxy option unset in Faraday defaults to a direct connection with nil proxy options, and passing proxy false disables environment proxy discovery.
Gemessenassert leaving proxy unset automatically resolves to Faraday::ProxyOptions from the environment rather than nil
-
gemSample-Vertragruby · linux/x64faraday@2.14.3
AngenommenCalling `in_parallel` on a standard Faraday connection always defers request execution and returns deferred/future responses.
GemessenFaraday::Connection#in_parallel with a non-parallel adapter returns normal `Faraday::Response` objects and executes requests immediately, not as queued futures.
-
gemSample-Vertragruby · linux/x64csv@3.2.2
Angenommenskip_blanks:true causes any row that contains no non‑separator characters to be omitted, even when the row consists solely of delimiters
Gemessenraise 'expected delimiter-only row to remain as nil fields' unless rows[1] == [nil, nil, nil]
-
composerSample-Vertragphp · linux/x64symfony/console@7.0.3
AngenommenPassing the string '0' as an InputOption shortcut parameter correctly assigns it as a valid flag alias like -0.
Gemessennew InputOption('foo', '0')->getShortcut() evaluates to the string '0', proving that zero-string shortcuts are preserved rather than incorrectly dropping them as empty values.
-
composerSample-Vertragphp · linux/x64guzzlehttp/guzzle@8.0.2
AngenommenA developer expects Guzzle to normalize request methods to uppercase before dispatch, so 'gEt' will become 'GET'.
Gemessenassert GuzzleHttp\Client::request sends the exact method token 'gEt' without uppercasing it to 'GET'
-
composerSample-Vertragphp · linux/x64guzzlehttp/guzzle@7.9.0
AngenommenA null value for one per-request header removes that inherited header exactly like setting the entire headers option to null.
GemessenPassing headers with a null value sends the request and overrides that inherited header with an empty value while preserving other defaults.
-
pypiSample-Vertragpython · linux/x64tenacity@9.1.4
AngenommenExhausted retries always raise RetryError, including result predicates with a fallback callback and exception retries configured with reraise=True.
GemessenA result predicate that still requests retry after the third attempt raises RetryError whose last_attempt is a successful Future containing the rejected None result.
-
pypiSample-Vertragpython 3.12 · linux alpine/x64protobuf@7.35.1
AngenommenA plain proto3 scalar set to its default has presence like an optional field, and protobuf JSON emits int64 values as JSON numbers while omitting explicitly present optional defaults.
GemessenDescriptorPool.Add registers an in-memory FileDescriptorProto but returns either None or the registered FileDescriptor depending on the backend; FindFileByName and FindMessageTypeByName provide stable descriptors, and repeated GetMessageClass calls return the same cached Message subclass.
-
pypiSample-Vertragpython 3.12 · linux/x64pandas@3.0.5
AngenommenAn inner pandas DataFrame.merge treats missing join keys like SQL NULL, so missing keys never match one another.
GemessenWith two missing Int64 keys on each side, an inner DataFrame.merge returns four missing-key rows containing every left/right pair.
-
pypiSample-Vertragpython · linux/x64pillow@12.3.0
AngenommenImageOps.exif_transpose always returns the transformed image and accepts in_place as a positional argument.
GemessenThe default ImageOps.exif_transpose call returns a distinct transformed copy, removes EXIF Orientation from the copy, and leaves the source image unchanged.
-
pypiSample-Vertragpython 3.12 · linux/x64django@6.1
AngenommenA signed cookie remains valid when copied to any cookie name whose name-plus-salt text matches the original pair, and enabling legacy compatibility is a silent permanent fix.
GemessenRequestFactory and Client execute without a server or database, keep POST form data separate from repeated query_params, let per-call query_params replace constructor defaults, and negotiate the Accept header.
-
pypiSample-Vertragpython 3.12 · linux/x64numpy@2.5.2
Angenommencasting='same_kind' prevents integer overflow during narrowing, while astype(copy=False) refuses any conversion that must allocate a new array.
Gemessenastype(casting='same_kind') accepts int64-to-int8 narrowing and wraps out-of-range values instead of checking them.
-
pypiSample-Vertragpython · linux/x64importlib-metadata@9.0.0
AngenommenCallers often treat entry_points() and files() as plain lists of strings or paths and miss the selection, name lookup, distribution, hash, and location semantics carried by their specialized result objects.
GemessenThe third-party importlib_metadata package resolves its installed 9.0.0 distribution under normalized hyphen and underscore names.
-
pypiSample-Vertragpython · linux/x64cffi@2.0.0
AngenommenDevelopers typically expect invalid RSA serialization argument combinations to raise ValueError.
GemessenA valid PEM serialization can be deserialized and preserves the RSA private numbers after those invalid encodings are rejected.
-
pypiSample-Vertragpython · linux/x64cryptography@47.0.0
AngenommenCRYPTOGRAPHY_OPENSSL_NO_LEGACY is a build-time compilation flag rather than a runtime environment variable evaluated when OpenSSL bindings initialize.
GemessenSetting CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1 before cryptography OpenSSL binding initialization prevents loading the OpenSSL legacy provider, causing Blowfish cipher encryptor creation to raise UnsupportedAlgorithm
-
pypiSample-Vertragpython · linux/x64cryptography@47.0.0
AngenommenPassing a non-None password parameter when deserializing an unencrypted SSH private key is silently ignored by load_ssh_private_key.
Gemessenload_ssh_private_key raises TypeError when a password byte string is passed for an unencrypted SSH private key rather than silently ignoring the unneeded password.
-
pypiSample-Vertragpython · linux/x64cryptography@47.0.0
AngenommenAESGCM.generate_key takes key length in bytes and AESGCM.encrypt returns ciphertext separately from the 16-byte authentication tag.
GemessenAESGCM.encrypt appends the 16-byte authentication tag to ciphertext producing len(plaintext) + 16 bytes, and AESGCM.generate_key rejects byte lengths with ValueError
-
pubSample-Vertragdart · linux/x64equatable@2.0.0
AngenommenAn Equatable object's toString method only outputs its properties if stringify is locally overridden to true or if EquatableConfig.stringify is explicitly enabled.
GemessenBy default in debug mode (assertions enabled), printing an Equatable instance that does not override stringify prints its property values because EquatableConfig.stringify defaults to true.
-
pubSample-Vertragdart · linux/x64equatable@2.1.0
AngenommenEqual-length maps might appear equal when a missing key lookup and an explicit value both return null, even though their key sets differ.
GemessenTwo Equatable instances compare equal when their map-valued props contain the same key-value entries.
-
pubSample-Vertragdart · linux/x64equatable@2.0.8
AngenommenAn Equatable instance containing a Map property evaluates equality by comparing both keys and values, returning false if keys differ.
Gemessenequatable 2.0.8 evaluates maps of equal length with differing keys mapping to null values as unequal, avoiding the false positive equality in 2.0.7.
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.