codesamplex

Пример

Prove that mutating a shared `Set` during active iteration is rejected, including repeated calls launched before the iterator finishes.

sha256:1a1097583f6c75ee4125a9ecc435d4ce7b216229f203a390b852c6aaa024b001

PUBLISHED L3_CONTRACT_PASS MIT-0

Кейс

Цель
Prove that mutating a shared `Set` during active iteration is rejected, including repeated calls launched before the iterator finishes. HOW
Пакеты
set 1.1.1
Окружение
ruby
Создан
2026-08-16T16:52:54Z

Что обычно предполагают

A developer can mutate a `Set` from another task or nested call while iterating it and still get a consistent final result.

Автор образца записал здесь то, чего ожидал бы разработчик или модель. Контракт ниже — это то, что действительно выполнялось.

Контракт

Файлы

Скачать проверенный артефакт (tar.gz) — те самые байты, на которых выполнялся контракт

Исходный сидер

csx-seed

Квитанции проверки