네트워크가 찾아낸 것
아래 각 줄은 의견이 아니라 측정입니다. 모두 공개된 샘플로 연결되며, 그 샘플의 contract는 네트워크를 끈 고정 컨테이너에서 실행되므로 직접 다시 돌려 보고 반박할 수 있습니다.
운영체제와 런타임은 연결된 샘플에 실제 기록된 환경을 기준으로 합니다. 해당 값이 없는 항목은 필터 선택 시 제외됩니다.
597개 발견, 8개 생태계.
- cargo
- composer
- gem
- golang
- hex
- npm
- pub
- pypi
샘플이 말하고, 계약이 측정한 것
발행된 샘플이 측정한 결과 중 326–350번째입니다(전체 568개).
-
pub샘플 컨트랙트dart · linux/x64equatable@2.1.0
믿는 것A class extending Equatable automatically formats its fields in toString() output by iterating over its overridden props.
측정한 것if (User('alice').toString() != 'User') throw 'toString defaults to just the class name, not the formatted props';
-
pub샘플 컨트랙트dart · linux/x64equatable@2.1.0
믿는 것Extending Equatable automatically includes instance properties in toString() output without requiring explicit configuration or debug assert flags.
측정한 것Calling toString() on an Equatable instance without explicit stringify overrides returns only the runtimeType string 'DefaultItem' rather than 'DefaultItem(a, 42)' when assertions are not enabled.
-
pub샘플 컨트랙트dart · linux/x64equatable@2.0.8
믿는 것Equatable evaluates two instances holding maps with different keys as non-equal even if all values in those maps are null.
측정한 것Comparing Equatable objects containing maps with disjoint keys like {'keyA': null} and {'keyB': null} evaluates to false because missing keys are checked with containsKey rather than resolving to null.
-
pub샘플 컨트랙트dart · linux/x64crypto@3.0.6
믿는 것Passing integers outside 0..255 to Hash.convert raises an ArgumentError or RangeError on invalid byte values.
측정한 것sha256.convert([256, -1, 300]) raises no error and silently masks each integer to 8 bits, returning the exact same digest as sha256.convert([0, 255, 44]) rather than throwing an ArgumentError
-
pub샘플 컨트랙트dart · linux/x64collection@1.19.1
믿는 것binarySearch returns the index of the first occurrence of the target element in the sorted list.
측정한 것if (binarySearch(list, 2) != 3) throw 'binarySearch returns an arbitrary match (3) rather than the first occurrence (1)';
-
pub샘플 컨트랙트dart · linux/x64crypto@3.0.7
믿는 것A Digest constructed from a byte list is immutable and copies the backing list to prevent modification of its hash representation, and comparing two digests' bytes directly via the == operator checks for value equality.
측정한 것assert that a Digest constructed with a mutable List holds that list by reference, so modifying the list externally alters the Digest's bytes, its hex string representation, and its hash code
-
pub샘플 컨트랙트dart · linux/x64collection@1.19.0
믿는 것Calling removeAll on a PriorityQueue empties the queue and returns all elements sorted in priority order.
측정한 것PriorityQueue.removeAll empties the queue and returns elements in unsorted internal binary heap storage order (yielding [5, 20, 10, 40, 50, 30] for elements [40, 10, 30, 20, 50, 5]) rather than priority order [5, 10, 20, 30, 40, 50], which requires repeatedly calling removeFirst.
-
pub샘플 컨트랙트dart · linux/x64collection@1.18.0
믿는 것Slicing a ListSlice of a ListSlice returns a sub-slice with elements offset by the sum of both slice start indices.
측정한 것Slicing a ListSlice of a ListSlice yields a sub-slice with the correct offset relative to the parent slice.
-
pub샘플 컨트랙트dart · linux/x64collection@1.19.1
믿는 것A priority queue should return the largest value first when no comparator is supplied.
측정한 것A `PriorityQueue` without a comparator argument is a min-heap, so `removeFirst()` returns 1 before 3 from [3, 1, 5].
-
pub샘플 컨트랙트dart · linux/x64collection@1.19.1
믿는 것Assigning a value to an invalid key on a CanonicalizedMap throws an ArgumentError, and putIfAbsent rejects invalid keys identically.
측정한 것CanonicalizedMap operator []= silently discards assignments for keys rejected by isValidKey without throwing an ArgumentError, leaving map length at 0 and containsKey returning false.
-
pub샘플 컨트랙트dart · linux/x64collection@1.19.1
믿는 것Calling cast on a CanonicalizedMap returns a valid Map wrapper that soundly checks and casts its keys and values for runtime lookups and iterations.
측정한 것Calling cast on a CanonicalizedMap returns a map view that throws a TypeError on value retrieval, because it delegates to the underlying map containing MapEntry elements instead of unpacking them.
-
pub샘플 컨트랙트dart · linux/x64collection@1.19.0
믿는 것Calling `mergeSort` with an explicit supertype, such as `mergeSort<num>`, should be treated as a normal typed call even when the argument is a `List<int>`.
측정한 것`mergeSort<num>` on a `List<int>` completes without throwing and sorts the list in place.
-
pub샘플 컨트랙트dart · linux/x64args@2.6.0
믿는 것When an option expecting a value is immediately followed by a registered flag like --verbose, ArgParser.parse throws an ArgParserException for a missing option value and evaluates --verbose as a flag.
측정한 것ArgParser.parse consumes an immediately following --verbose flag token as the literal string value of an option expecting a value, leaving the flag unparsed and false.
-
pub샘플 컨트랙트dart · linux/x64args@2.4.2
믿는 것Omitting a mandatory option when parsing command line arguments with ArgParser causes parse() to throw an ArgParserException during the parse call.
측정한 것ArgParser.parse() in args 2.4.2 returns an ArgResults instance when a mandatory option is omitted, deferring mandatory validation failure to ArgResults operator [] access where it throws ArgumentError instead of throwing during parse() as in args 2.4.1.
-
pub샘플 컨트랙트dart · linux/x64args@2.7.0
믿는 것Concurrent invocations of CommandRunner.run maintain isolated argResults and globalResults bindings for each command execution across asynchronous await points.
측정한 것Calling CommandRunner.run concurrently while a command is awaiting an asynchronous operation overwrites Command.argResults and Command.globalResults mid-execution with the newly parsed values.
-
pub샘플 컨트랙트dart · linux/x64args@2.7.0
믿는 것A multi-option should keep each argument token as one string unless parsing rules are explicitly changed.
측정한 것ArgParser.addMultiOption splits comma-separated values by default, so passing '--define env=prod,region=us-east' yields ['env=prod', 'region=us-east'] rather than the original single string.
-
pub샘플 컨트랙트dart · linux/x64args@2.7.0
믿는 것ArgResults allows retrieving parsed option and flag values using either their canonical name or any configured alias.
측정한 것ArgResults throws an ArgumentError when queried with an alias name via operator [] or wasParsed(), requiring all lookups to use the canonical option name regardless of how the option was supplied on the command line.
-
pub샘플 컨트랙트dart · linux/x64args@2.7.0
믿는 것ArgParser.parse always throws an ArgParserException when a mandatory option is missing from the arguments.
측정한 것ArgParser.parse does not throw an ArgParserException when a missing mandatory option has no callback, returning a successful ArgResults instead.
-
pub샘플 컨트랙트dart · linux/x64args@2.7.0
믿는 것When allowTrailingOptions is false, option-like arguments after the first positional argument still trigger validation, and the double-dash separator is consumed as a special token.
측정한 것Disabling allowTrailingOptions causes option-like arguments and the double-dash separator after a positional argument to be treated as literal positional arguments in results.rest rather than being parsed or consumed.
-
npm샘플 컨트랙트node · linux/x64vue@3.5.41
믿는 것Reading a nested property from a shallowRef inside watchEffect makes that nested property reactive, so direct nested mutations rerun the effect.
측정한 것assert directly mutating a nested property inside shallowRef does not rerun watchEffect even after the next scheduler tick
-
npm샘플 컨트랙트node · linux/x64react-dom@18.3.1
믿는 것renderToPipeableStream returns a Node.js Readable stream or a Promise resolving to one, while renderToString throws when encountering suspended components
측정한 것renderToPipeableStream returns a synchronous { pipe, abort } controller object that is neither a Readable stream nor a Promise, where pipe(dest) returns the passed writable destination
-
npm샘플 컨트랙트node · linux/x64puppeteer@24.43.1
믿는 것Custom query handlers in Puppeteer can be registered globally via puppeteer.registerCustomQueryHandler with hyphenated or snake_case names.
측정한 것puppeteer.registerCustomQueryHandler is undefined in Puppeteer v24 and custom query handlers must be registered via the named customQueryHandlers export using names matching only [a-zA-Z].
-
npm샘플 컨트랙트node · linux/x64puppeteer@24.2.1
믿는 것A CDPSession continues attempting raw protocol message dispatch when sent a command, even after its underlying connection is marked closed.
측정한 것In puppeteer 24.2.1 compared to 24.2.0, calling send() on a CDPSession whose underlying CDP connection is closed immediately rejects with TargetCloseError.
-
npm샘플 컨트랙트node · linux/x64marked@18.0.0
믿는 것Unlike walkTokens which mutates tokens in-place without a return value, Marked's processAllTokens hook requires returning the modified token list.
측정한 것A processAllTokens hook that mutates tokens in-place without returning them causes Marked.parse to throw a TypeError: Cannot read properties of undefined (reading 'length'), whereas explicitly returning the modified token array permits successful rendering.
-
npm샘플 컨트랙트node · linux/x64marked@18.0.6
믿는 것An ordered list starting with a number other than 1 cannot interrupt a blockquote and is instead parsed as a lazy continuation of the blockquote paragraph, matching standard paragraph interruption rules.
측정한 것An ordered list starting with a number other than 1 that immediately follows a blockquote parses as a sibling ordered list rather than being nested inside the blockquote.
여기 있는 줄을 확인하는 방법
샘플을 열고 contract를 읽고 실행하십시오. contract는 그 샘플 자신의 테스트입니다. 네트워크를 끈 고정 컨테이너에서 실행되고, 그 실행의 서명된 영수증이 네트워크에 저장됩니다. 여기 있는 어떤 것도 라이브러리에 대한 우리의 해석에 기대지 않습니다. 라이브러리가 실제로 한 일에만 기댑니다.
게시된 샘플 중 일부는 이 페이지에 없습니다. 계약은 통과했고 샘플도 살아 있지만, 그 계약에 문장으로 읽힐 줄이 없기 때문입니다. expect(x).toBe(1) 같은 단언은 그것이 검사하는 믿음 옆에 놓아도 독자에게 아무것도 말해주지 않습니다. 읽을 수 없는 근거를 싣기보다는 뺀다는 쪽을 택했습니다.