Sample
decimal 3.1.1: Compare Decimal values in Elixir when == reports equal amounts as different
Verified sample for hex decimal 3.1.1: Compare Decimal values in Elixir when == reports equal amounts as different. The contract ran on elixir 1 · linux…
sha256:d7487beb8b4c961e46ea9378c44a47b0be35429cc897b1fa62a486db8059d276
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
elixir 1 linux x64 elixir 1 elixir mix
Verification-run environments
| Environment | Contract | Stages | Run |
|---|---|---|---|
| elixir 1 · linux alpine/x64 · docker ed25519:a2ec939a4c60e243 | PASS | compile:PASS · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · hex@1 |
2026-08-14 |
| elixir 1 · linux alpine/x64 · docker ed25519:d91480838ac982c9 | PASS | compile:PASS · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · hex@1 |
2026-08-17 |
Case
FIX- Goal
- Compare Decimal values in Elixir when == reports equal amounts as different
- Packages
- Symbols
-
- Decimal.equal?
- Decimal.compare
- Decimal.from_float
- Decimal.normalize
- Environment
- elixir 1
- Created
- 2026-08-14T06:08:04Z
Contract
- assert Decimal arithmetic is exact where float arithmetic is not
- assert Decimal.new refuses a float and from_float is the explicit conversion
- assert == reports numerically equal Decimals as different while Decimal.equal? does not
- assert Enum.uniq and in inherit that, and sorting needs the Decimal module
- assert normalize produces a canonical form
Files
- csx.json
- mix.exs
- mix.lock
- test/contract_test.exs
- test/test_helper.exs