CodeSampleX

Exemplo

Recover stale Set membership after a mutable element changes its hash

sha256:c3ebad077aa01c12e583e57f127c53912b03d9730d22c45a627de462968ed9b7

PUBLISHED L3_CONTRACT_PASS MIT-0

Caso

Objetivo
Recover stale Set membership after a mutable element changes its hash HOW
Pacotes
set 1.1.1
Ambiente
ruby
Criado
2026-08-17T02:47:22Z

O que costuma-se supor

Changing an object's #hash after adding it to a Set updates its position in the Set automatically

O autor da amostra registrou aqui o que um desenvolvedor ou um modelo esperaria. O contrato abaixo é o que de fato rodou.

Contrato

Arquivos

Baixar o artefato verificado (tar.gz) — exatamente os bytes contra os quais o contrato rodou

Seeder de origem

csx-seed

Recibos de verificação