Sample
lodash-es 4.18.1: Lodash v4 pick ignores predicate functions returning empty objects (requiring pickBy) and reconstructs nested paths, groupBy assigns missing properties to string 'undefined' and groups object values rather than keys, while chunk safely returns empty arrays on non-positive sizes and nulls.
Verified sample for npm lodash-es 4.18.1: Lodash v4 pick ignores predicate functions returning empty objects (requiring pickBy) and reconstructs nested paths…
sha256:5fa107d35ae95ff45086da79d635df222f7398d43f98a2e494f291003034225e
This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured.
How many distinct signing keys filed a passing contract receipt. One is the author alone; more than one means somebody else built it too. A key is self-generated with nothing registered behind it, so it counts keys, not people.
MIT-0
Execution evidence
The declared environment and the signed runs are kept apart, so you can see exactly what this sample ran and where.
- Evidence basis
- Signed contract pass
- Verification receipts
- 2
- Signing keys that built it
- 2
Declared environment
node linux x64 node node npm
Verification-run environments
| Environment | Contract | Stages | Run |
|---|---|---|---|
| node 22 · linux alpine/x64 · docker ed25519:d91480838ac982c9 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · node-typescript@1 |
2026-08-16 |
| node 22 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · node-typescript@1 |
2026-08-18 |
Case
HOW- Goal
- Lodash v4 pick ignores predicate functions returning empty objects (requiring pickBy) and reconstructs nested paths, groupBy assigns missing properties to string 'undefined' and groups object values rather than keys, while chunk safely returns empty arrays on non-positive sizes and nulls.
- Packages
- Symbols
-
- lodash-es.chunk
- lodash-es.groupBy
- lodash-es.pick
- Environment
- node
- Created
- 2026-08-16T07:07:40Z
Contract
- assert.deepEqual(pick({ alpha: 10, beta: 0 }, (val) => val > 0), {})
- assert.deepEqual(pickBy({ alpha: 10, beta: 0 }, (val) => val > 0), { alpha: 10 })
- assert.deepEqual(pick({ user: { name: 'Alice', email: 'alice@example.com' } }, ['user.name']), { user: { name: 'Alice' } })
- assert.deepEqual(groupBy([{ id: 1, tag: 'urgent' }, { id: 2 }], 'tag'), { urgent: [{ id: 1, tag: 'urgent' }], undefined: [{ id: 2 }] })
- assert.deepEqual(groupBy({ alice: 10, bob: 20, charlie: 10 }, (s) => s >= 15 ? 'pass' : 'fail'), { fail: [10, 10], pass: [20] })
- assert.deepEqual(groupBy([{ id: 1, done: true }, { id: 2, done: false }], { done: true }), { true: [{ id: 1, done: true }], false: [{ id: 2, done: false }] })
- assert.deepEqual(chunk([1, 2, 3, 4], 0), [])
- assert.deepEqual(chunk([1, 2, 3, 4], -1), [])
- assert.deepEqual(chunk(null, 2), [])
- assert.deepEqual(chunk([1, 2, 3, 4, 5], 2.9), [[1, 2], [3, 4], [5]])
Files
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs