네트워크가 찾아낸 것
아래 각 줄은 의견이 아니라 측정입니다. 모두 공개된 샘플로 연결되며, 그 샘플의 contract는 네트워크를 끈 고정 컨테이너에서 실행되므로 직접 다시 돌려 보고 반박할 수 있습니다.
운영체제와 런타임은 연결된 샘플에 실제 기록된 환경을 기준으로 합니다. 해당 값이 없는 항목은 필터 선택 시 제외됩니다.
597개 발견, 8개 생태계.
- cargo
- composer
- gem
- golang
- hex
- npm
- pub
- pypi
샘플이 말하고, 계약이 측정한 것
발행된 샘플이 측정한 결과 중 26–50번째입니다(전체 568개).
-
golang샘플 컨트랙트go · linux/x64github.com/mattn/go-isatty@v0.0.20
믿는 것isatty.IsTerminal and isatty.IsCygwinTerminal inspect terminal and shell environment variables such as TERM or CYGWIN to determine or override terminal detection for redirected descriptors
측정한 것isatty.IsTerminal evaluates file descriptors via OS ioctl/syscall and returns false for files and pipes regardless of whether TERM is configured to xterm-256color or another terminal type.
-
golang샘플 컨트랙트go · linux/x64github.com/jackc/pgpassfile@v1.0.0
믿는 것ParsePassfile returns a parsing error when encountering unescaped colons in password fields or parses them as part of the password field.
측정한 것ParsePassfile silently discards lines with unescaped colons in password fields rather than returning an error or preserving colons, causing FindPassword to return an empty string.
-
golang샘플 컨트랙트go · linux/x64github.com/dustin/go-humanize@v1.0.1
믿는 것FormatInteger with an empty format string or "#,###" formats an integer with comma thousands grouping and no decimal places
측정한 것humanize.FormatInteger with an empty format string returns "12,345.00" rather than "12,345" because it delegates to FormatFloat with the default two-decimal template.
-
pypi샘플 컨트랙트python · linux/x64joblib@1.5.3
믿는 것Configuring parallel_config with prefer='threads' and n_jobs=4 executes subsequent unparameterized Parallel calls across 4 worker threads.
측정한 것Setting prefer='threads' in parallel_config with n_jobs=4 switches to ThreadingBackend but silently resets implicit n_jobs in context to 1, while explicit backend='threading' preserves n_jobs=4.
-
golang샘플 컨트랙트go · linux/x64github.com/stretchr/testify@v1.11.1
믿는 것A testify suite always executes its SetupSuite and TearDownSuite hooks whenever suite.Run is called, even when the testify.m flag filters out all test methods.
측정한 것Setting the testify.m flag to a regular expression filters executed test methods and their per-test lifecycle hooks, and skips suite-level SetupSuite and TearDownSuite entirely when zero methods match.
-
golang샘플 컨트랙트go · linux/x64github.com/Microsoft/go-winio@v0.6.2
믿는 것guid.FromString parses standard Windows registry GUID strings with braces or unhyphenated hex, and ToWindowsArray produces standard RFC 4122 big-endian byte ordering.
측정한 것guid.GUID.ToWindowsArray encodes Data1, Data2, and Data3 in little-endian order while preserving Data4, differing from standard RFC 4122 big-endian layout.
-
golang샘플 컨트랙트go · linux/x64golang.org/x/sys@v0.30.0
믿는 것execabs.LookPath and execabs.Command resolve and execute bare command names from relative directories when PATH contains '.' or a relative path
측정한 것execabs.LookPath fails with an error and returns an empty string when PATH lookup resolves a bare command name to an executable in the current working directory, and execabs.Command immediately populates cmd.Err to prevent execution.
-
npm샘플 컨트랙트node · linux/x64fast-xml-parser@5.11.0
믿는 것XMLParser automatically creates an Array for repeated schema elements regardless of whether the document contains one or multiple child tags.
측정한 것XMLParser parses single-child elements into plain objects rather than 1-element arrays by default, causing array methods like map to throw TypeError, unless the isArray callback explicitly returns true for the tag or jPath.
-
npm샘플 컨트랙트node · linux/x64three@0.185.1
믿는 것Returning false from an Object3D.traverse callback aborts traversal or skips subtrees, and child node mutations during traversal are safely handled.
측정한 것Object3D.traverse executes a pre-order depth-first traversal across all descendants and ignores boolean return values from callbacks, continuing traversal without early abort or subtree pruning.
-
npm샘플 컨트랙트node · linux/x64three@0.185.1
믿는 것ImageUtils.sRGBToLinear preserves alpha channel transparency untouched when converting canvas ImageData, and Lut maps color gradients bottom-up.
측정한 것ImageUtils.sRGBToLinear extracts canvas pixel data via CanvasRenderingContext2D.getImageData and applies the sRGB-to-linear conversion curve across all 4 channels, transforming translucent alpha values rather than preserving alpha intact.
-
npm샘플 컨트랙트node · linux/x64three@0.185.1
믿는 것BufferAttribute.getX indexes raw flat array offsets, divides Int8Array values symmetrically by 128, and modifies Float32Array values when normalized is true.
측정한 것BufferAttribute.getX multiplies the passed index by itemSize to access the first component of that logical vertex, rather than accessing the flat array offset directly.
-
npm샘플 컨트랙트node · linux/x64react@18.3.1
믿는 것React useId accepts a prefix string parameter to customize generated element IDs and produces unescaped CSS-compatible selector strings.
측정한 것useId returns colon-delimited strings like :R0: that ignore any prefix arguments passed to the hook and cannot be used directly in unescaped CSS ID selectors.
-
npm샘플 컨트랙트node · linux/x64react@18.3.1
믿는 것startTransition accepts async callbacks and returns a Promise tracking the pending transition, maintaining transition batching across await boundaries.
측정한 것startTransition returns undefined synchronously even when passed an async callback, and restores the transition batch config to null before any post-await microtasks run.
-
cargo샘플 컨트랙트rust · linux/x64regex@1.13.1
믿는 것RegexBuilder compiles any syntactically valid regular expression into memory without size constraints and supports standard octal escape sequences by default.
측정한 것RegexBuilder::size_limit restricts the compiled regex memory footprint, returning Error::CompiledTooBig with the configured limit when exceeded rather than panicking or truncating the pattern.
-
pypi샘플 컨트랙트python · linux/x64jinja2@3.1.6
믿는 것a template string ending with a newline will render with that newline intact by default
측정한 것Environment().from_string('hello\n').render() returns 'hello' rather than 'hello\n', because the default is to strip exactly one trailing newline.
-
npm샘플 컨트랙트node · linux/x64pino@9.14.0
믿는 것A mixin function that returns a shared object safely adds those properties to the log record while leaving the shared object unmodified.
측정한 것returning a shared object from mixin() results in that object being mutated with the properties of the logged payload, causing subsequent log entries to inherit those properties.
-
golang샘플 컨트랙트go · linux/x64github.com/spf13/cobra@v1.9.1
믿는 것Local flags declared on a parent command are parsed when specified before a subcommand name on the command line.
측정한 것By default with TraverseChildren false, passing a parent local flag before a subcommand name fails with an unknown flag error because all preceding flags are evaluated in the child command context.
-
npm샘플 컨트랙트node · linux/x64marked@13.0.2
믿는 것Returning undefined from a custom marked renderer method falls back to the default renderer rather than suppressing output.
측정한 것Returning undefined from a custom renderer method produces an empty string rather than delegating to the default renderer, which requires returning explicit boolean false.
-
npm샘플 컨트랙트node · linux/x64happy-dom@20.11.2
믿는 것Evaluating scripts in a GlobalWindow executes in an isolated window context where bare window and document identifiers resolve to the instance.
측정한 것DOM scripts evaluated in GlobalWindow run in host globalThis without a VM context, causing unqualified window references to throw ReferenceError rather than resolving the window instance
-
npm샘플 컨트랙트node · linux/x64happy-dom@20.11.2
믿는 것readAsString() and read() inspect captured virtual console logs non-destructively without clearing the internal buffer until an explicit clear() invocation.
측정한 것VirtualConsolePrinter.read() and readAsString() destructively drain the internal log buffer upon invocation, causing subsequent immediate reads to return empty results.
-
npm샘플 컨트랙트node · linux/x64minimatch@10.1.1
믿는 것slashless glob patterns match file basenames at any directory depth when filtering path arrays
측정한 것minimatch.filter generates a curried predicate function for Array.prototype.filter where slashless patterns match root paths by default and match base filenames across directories when matchBase is enabled
-
npm샘플 컨트랙트node · linux/x64minimatch@10.1.1
믿는 것minimatch.escape prefixes backslashes before all special characters including Windows path separators and braces
측정한 것minimatch.escape wraps wildcard and grouping characters in single-character classes rather than prefixing backslashes when windowsPathsNoEscape is enabled, preserving backslash directory separators while leaving braces unescaped unless magicalBraces is set
-
npm샘플 컨트랙트node · linux/x64fast-glob@3.3.3
믿는 것fg.sync with stats: true returns string path arrays unless objectMode is explicitly requested, flat basename patterns never match nested directories, and pattern array order changes negative pattern filtering.
측정한 것fg.sync with stats: true automatically produces an array of Entry objects containing fs.Stats and Dirent instances without requiring objectMode: true.
-
golang샘플 컨트랙트go · linux/x64github.com/caddyserver/caddy/v2@v2.11.4
믿는 것A bare numeric address like "8080" configures listening port 8080, and URI schemes like "tcp://localhost:2019" parse as standard TCP addresses.
측정한 것caddy.ParseNetworkAddress("8080") parses 8080 as the hostname with StartPort 0, while ":8080" is required to configure port 8080.
-
pypi샘플 컨트랙트python · linux/x64requests@2.34.2
믿는 것Custom transport adapters receive allow_redirects directly in send() kwargs and must handle redirect following themselves.
측정한 것BaseAdapter.send is an unimplemented interface method that raises NotImplementedError, requiring custom adapters to supply transport execution.
여기 있는 줄을 확인하는 방법
샘플을 열고 contract를 읽고 실행하십시오. contract는 그 샘플 자신의 테스트입니다. 네트워크를 끈 고정 컨테이너에서 실행되고, 그 실행의 서명된 영수증이 네트워크에 저장됩니다. 여기 있는 어떤 것도 라이브러리에 대한 우리의 해석에 기대지 않습니다. 라이브러리가 실제로 한 일에만 기댑니다.
게시된 샘플 중 일부는 이 페이지에 없습니다. 계약은 통과했고 샘플도 살아 있지만, 그 계약에 문장으로 읽힐 줄이 없기 때문입니다. expect(x).toBe(1) 같은 단언은 그것이 검사하는 믿음 옆에 놓아도 독자에게 아무것도 말해주지 않습니다. 읽을 수 없는 근거를 싣기보다는 뺀다는 쪽을 택했습니다.