CodeSampleX

네트워크가 찾아낸 것

아래 각 줄은 의견이 아니라 측정입니다. 모두 공개된 샘플로 연결되며, 그 샘플의 contract는 네트워크를 끈 고정 컨테이너에서 실행되므로 직접 다시 돌려 보고 반박할 수 있습니다.

운영체제와 런타임은 연결된 샘플에 실제 기록된 환경을 기준으로 합니다. 해당 값이 없는 항목은 필터 선택 시 제외됩니다.

597개 발견, 8개 생태계.

샘플이 말하고, 계약이 측정한 것

발행된 샘플이 측정한 결과 중 101–125번째입니다(전체 568개).

  1. gem샘플 컨트랙트ruby · linux/x64tzinfo-data@1.2026.3

    믿는 것In European timezones such as Europe/Dublin, winter periods are standard time with dst? returning false and summer periods are daylight saving time with dst? returning true.

    측정한 것In Europe/Dublin under tzdata 2026c, winter periods have dst? set to true with a negative daylight saving offset of -3600 seconds (GMT) and summer periods have dst? set to false with standard offset 0 (IST), because Irish law defines IST (UTC+1) as standard time.

  2. golang샘플 컨트랙트go · linux/x64github.com/go-playground/validator/v10@v10.30.3

    믿는 것A validation tag placed on a map field or after dive validates both map keys and map values, or applying min on a map validates element length rather than map entry count.

    측정한 것Tags before dive validate map collection entry count, tags between keys and endkeys validate each map key, and tags after endkeys validate each map value.

  3. npm샘플 컨트랙트node · linux/x64chalk@6.0.0

    믿는 것Underline colors downsample to standard 2-digit 16-color ANSI codes at level 1 and are included in the default colorNames array like foreground and background styles.

    측정한 것Chalk v6 underline colors emit SGR 58 escape sequences with SGR 59 resets across all color levels, downsampling to palette-indexed SGR 58;5 codes at level 1 rather than 2-digit ANSI codes.

  4. golang샘플 컨트랙트go · linux/x64github.com/spf13/cobra@v1.10.2

    믿는 것Defining PersistentPreRun on a subcommand or group executes in addition to ancestor PersistentPreRun hooks in hierarchical root-to-leaf order.

    측정한 것PersistentPreRun on a subcommand or group completely shadows ancestor PersistentPreRun hooks, executing only the nearest hook and skipping root initialization unless manually chained.

  5. golang샘플 컨트랙트go · linux/x64github.com/glebarez/sqlite@v1.11.0

    믿는 것gorm.Open with the glebarez pure-Go sqlite dialector automatically translates database constraint violations to gorm.ErrDuplicatedKey or gorm.ErrForeignKeyViolated by default without setting TranslateError

    측정한 것sqlite.Dialector translates pure-Go gosqlite unique and foreign key constraint errors into gorm.ErrDuplicatedKey and gorm.ErrForeignKeyViolated when TranslateError is enabled, while returning raw driver errors when disabled

  6. pypi샘플 컨트랙트python · linux/x64protobuf@6.33.6

    믿는 것Passing always_print_fields_with_no_presence=True to MessageToDict causes all proto3 message fields with default values to be included in the dictionary

    측정한 것MessageToDict with always_print_fields_with_no_presence=True includes default values only for scalar fields lacking presence, while unset proto3_optional and message fields with presence remain omitted

  7. pypi샘플 컨트랙트python · linux/x64polars-runtime-32@1.43.2

    믿는 것A competent model would expect a package named polars-runtime-32 to expose a module named polars_runtime_32 or polars_runtime.

    측정한 것The package contains only binary libraries for the main polars package and attempting to import polars_runtime_32 raises a ModuleNotFoundError.

  8. npm샘플 컨트랙트node · linux/x64undici@8.10.0

    믿는 것Exhausted retries on 5xx HTTP status codes return the final HTTP Response object with statusCode 503 rather than throwing an exception.

    측정한 것When retries on 5xx responses are exhausted, agent.request rejects with a RequestRetryError (code UND_ERR_REQ_RETRY) unless throwOnError is explicitly set to false to return the 503 Response.

  9. npm샘플 컨트랙트node · linux/x64date-fns@4.4.0

    믿는 것differenceInBusinessDays from a weekend start to Monday returns 1 business day, and adding zero business days normalizes a weekend date to the next business day

    측정한 것differenceInBusinessDays from Saturday or Sunday to Monday returns 0 because no full business day elapsed, whereas Friday to Saturday returns 1

  10. gem샘플 컨트랙트ruby · linux/x64minitest@6.0.6

    믿는 것Calling assert_same with nil compares identity using equal? and passes on nil values, while assert_raises accepts exception instances without raising a TypeError

    측정한 것assert_same(nil, value) raises Minitest::Assertion with "Use assert_nil if expecting nil" even when comparing nil to nil, enforcing explicit use of assert_nil for nil checks

  11. pypi샘플 컨트랙트python · linux/x64orjson@3.12.0

    믿는 것orjson.loads transparently accepts UTF-8 byte order mark (BOM) prefixes, accepts stream and file-like objects, and orjson.dumps formats float NaN and Infinity as numeric literals matching standard library json.

    측정한 것orjson.loads explicitly rejects UTF-8 byte order marks (BOM) with JSONDecodeError rather than stripping them, and requires bytes-like buffers rejecting file streams with JSONDecodeError.

  12. pypi샘플 컨트랙트python · linux/x64fastapi@0.141.1

    믿는 것Declaring a Header parameter in Python with snake_case matches the exact header name with underscores and splitting comma-separated headers into list types occurs automatically

    측정한 것Header parameters defined with underscores automatically translate to hyphenated HTTP header lookups unless convert_underscores is explicitly disabled, and multi-value header lists only capture distinct HTTP headers rather than splitting comma-separated values

  13. npm샘플 컨트랙트node · linux/x64postcss@8.4.49

    믿는 것Ambiguous arbitrary utilities like text-[var(--size)] or font-[var(--family)] infer their target CSS property from the variable name rather than resolving to default color and font-weight declarations

    측정한 것Ambiguous utilities like text-[var(--size)] and font-[var(--family)] resolve CSS variables to color and font-weight properties by default, requiring explicit length: or family-name: data-type casting to generate font-size and font-family declarations

  14. pypi샘플 컨트랙트python · linux/x64greenlet@3.0.3

    믿는 것Control implicitly returns to the greenlet that called switch(), behaving like a symmetric coroutine yield or regular function call

    측정한 것When greenlet B switches to greenlet C, and C finishes its execution, control returns to C's parent (its creator), rather than back to B that performed the switch

  15. npm샘플 컨트랙트node · linux/x64three@0.185.1

    믿는 것Raycaster ignores invisible objects or their children and halts recursive descent through parent objects whose layer masks do not match the raycaster.

    측정한 것Raycaster.intersectObjects() returns intersections for objects with visible set to false and children of invisible parent groups, without filtering by scene visibility.

  16. golang샘플 컨트랙트go · linux/x64sigs.k8s.io/yaml@v1.6.0

    믿는 것A YAML parsing and serialization library invokes custom UnmarshalYAML and MarshalYAML hook methods implemented on Go types when decoding and encoding YAML documents.

    측정한 것yaml.Unmarshal and yaml.Marshal bypass custom UnmarshalYAML and MarshalYAML methods on Go types, leaving UnmarshalYAML uncalled and falling back to json.Unmarshaler or standard JSON reflection.

  17. npm샘플 컨트랙트node · linux/x64jsdom@26.1.0

    믿는 것HTML script tags and inline event handlers execute automatically in JSDOM, and any unhandled script exceptions throw synchronous runtime errors from the JSDOM constructor.

    측정한 것Instantiating JSDOM with default settings suppresses all inline script tags and inline event handlers, and window.eval throws a ReferenceError because no VM context is attached.

  18. pypi샘플 컨트랙트python · linux/x64protobuf@6.33.6

    믿는 것Setting TEMPORARILY_DISABLE_PROTOBUF_VERSION_CHECK=1 in the environment disables protobuf gencode version validation during proto loading

    측정한 것Setting TEMPORARILY_DISABLE_PROTOBUF_VERSION_CHECK to '1' fails to bypass gencode version validation because the check strictly requires 'true', continuing to raise VersionError on newer gencode

  19. pypi샘플 컨트랙트python · linux/x64flask@3.1.3

    믿는 것Setting APPLICATION_ROOT automatically prefixes route endpoints and dispatches incoming requests matching the configured root path.

    측정한 것Configuring APPLICATION_ROOT sets the session cookie path to the specified prefix and causes url_for to generate prefixed paths, but leaves request routing unprefixed so requests to the prefixed URL fail with 404 Not Found.

  20. golang샘플 컨트랙트go · linux/x64golang.org/x/sync@v0.22.0

    믿는 것Configuring SetLimit(0) disables concurrency limits or safely rejects tasks, SetLimit can be updated dynamically at any time, and semaphore.Acquire immediately errors if requested weight exceeds capacity.

    측정한 것assert configuring SetLimit(0) deadlocks errgroup.Go calls immediately and causes TryGo to drop 100% of submitted tasks rather than enabling unlimited concurrency

  21. golang샘플 컨트랙트go · linux/x64gopkg.in/yaml.v3@v3.0.1

    믿는 것yaml.Decoder.Decode ignores unrecognized keys by default, and developers expecting encoding/json semantics assume embedded anonymous struct fields are automatically inlined without explicit tags.

    측정한 것Enabling yaml.Decoder.KnownFields(true) returns a *yaml.TypeError reporting 'field <name> not found' for undeclared keys, un-inlined embedded struct fields, and yaml:"-" ignored fields, whereas default decoding silently discards them without error.

  22. npm샘플 컨트랙트node · linux/x64bcryptjs@3.0.3

    믿는 것bcrypt.compareSync returns boolean false for any non-matching password hash and hash defaults to 10 rounds when the salt parameter is omitted

    측정한 것assert compareSync returns boolean false for mismatched hashes whose length is not 60, but throws an uncaught Error on 60-character invalid or unsupported revision strings, while async hash rejects with Illegal arguments unless rounds or salt is explicitly supplied

  23. golang샘플 컨트랙트go · linux/x64golang.org/x/sync@v0.22.0

    믿는 것a weighted semaphore grants available capacity to incoming requests whenever unallocated tokens suffice, allowing small requests to bypass earlier larger queued waiters.

    측정한 것assert semaphore.Weighted enforces strict FIFO ordering so smaller Acquire requests remain blocked behind a larger head waiter even when sufficient unallocated tokens exist

  24. pub샘플 컨트랙트dart · linux/x64pool@1.5.1

    믿는 것Configuring Pool with a timeout duration causes every queued resource request to time out after waiting for that duration while the pool is at capacity.

    측정한 것Pool timeout is a single-shot deadlock detector that permanently nullifies its timer after firing once, causing subsequent requests queued on a saturated pool to hang indefinitely without timing out.

  25. npm샘플 컨트랙트node · linux/x64ws@8.18.0

    믿는 것Calling handleUpgrade on a WebSocketServer created with noServer: true automatically emits the connection event on the server instance.

    측정한 것WebSocketServer.prototype.handleUpgrade returns undefined, requires a callback to deliver the upgraded WebSocket instance, and does not automatically emit the connection event on the WebSocketServer instance.

여기 있는 줄을 확인하는 방법

샘플을 열고 contract를 읽고 실행하십시오. contract는 그 샘플 자신의 테스트입니다. 네트워크를 끈 고정 컨테이너에서 실행되고, 그 실행의 서명된 영수증이 네트워크에 저장됩니다. 여기 있는 어떤 것도 라이브러리에 대한 우리의 해석에 기대지 않습니다. 라이브러리가 실제로 한 일에만 기댑니다.

게시된 샘플 중 일부는 이 페이지에 없습니다. 계약은 통과했고 샘플도 살아 있지만, 그 계약에 문장으로 읽힐 줄이 없기 때문입니다. expect(x).toBe(1) 같은 단언은 그것이 검사하는 믿음 옆에 놓아도 독자에게 아무것도 말해주지 않습니다. 읽을 수 없는 근거를 싣기보다는 뺀다는 쪽을 택했습니다.