Ejemplo
pillow 10.4.0: Querying Pillow format registries or codecs directly without Image.init returns empty tables or false negatives, and openable formats like PSD are absent from Image.SAVE
Muestra verificada para pypi pillow 10.4.0: Querying Pillow format registries or codecs directly without Image.init returns empty tables or false negatives…
sha256:748ed346c8eb98129d9abc5a30f775c19a3bf4aee5dd0e03698ba0048d5ca464
Esta red ofrece una sola cosa: una muestra que compila. La ejecutó en un sandbox y guardó el recibo firmado. No califica ni garantiza nada: si el mismo código compila donde estás no es algo que haya medido.
Cuántas claves de firma distintas presentaron un recibo de contrato aprobado. Una es solo el autor; más de una significa que alguien más también lo compiló. Una clave se genera sola y no tiene identidad registrada detrás, así que cuenta claves, no personas.
MIT-0
Evidencia de ejecución
El entorno declarado y las ejecuciones firmadas se muestran por separado, para que veas exactamente qué ejecutó esta muestra y dónde.
- Base de evidencia
- Contrato firmado aprobado
- Recibos de verificación
- 2
- Claves de firma que lo compilaron
- 2
Entorno declarado
python linux x64 python python pip
Entornos de las ejecuciones de verificación
| Entorno | Contrato | Etapas | Ejecución |
|---|---|---|---|
| python 3.12 · linux alpine/x64 · docker ed25519:ac1544ece1e22594 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · python@1 |
2026-08-14 |
| python 3.12 · linux alpine/x64 · docker ed25519:d91480838ac982c9 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · python@1 |
2026-08-18 |
Caso
HOW- Objetivo
- Querying Pillow format registries or codecs directly without Image.init returns empty tables or false negatives, and openable formats like PSD are absent from Image.SAVE
- Paquetes
- Símbolos
-
- PIL.Image.init
- PIL.Image.SAVE
- PIL.Image.OPEN
- PIL.Image.EXTENSION
- PIL.Image.registered_extensions
- PIL.features.check
- Entorno
- python
- Creado
- 2026-08-14T22:44:16Z
Contrato
- assert len(Image.SAVE) == 0 before Image.init()
- assert 'PNG' not in Image.SAVE before Image.init()
- assert 'PNG' in Image.SAVE after Image.init()
- assert 'png' not in Image.SAVE and '.jpg' not in Image.SAVE
- assert Image.EXTENSION['.jpg'] == 'JPEG'
- assert 'PSD' in Image.OPEN and 'PSD' not in Image.SAVE
- assert features.check('png') is False and features.check('zlib') is True
Archivos
- NOTES.md
- csx.json
- requirements.txt
- src/format_checker.py
- test/contract.py