Ejemplo
verify charset_normalizer.from_fp in pkg:pypi/charset-normalizer@3.5.1
sha256:f9f840aa01605030bcfc24b4793f837ab53b5e23d005c20748d27459611c7e29
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
- 1
- Claves de firma que lo compilaron
- 1
Entorno declarado
python linux 24 · ubuntu · glibc 2.39 x64 python python pip
Entornos de las ejecuciones de verificación
| Entorno | Contrato | Etapas | Ejecución |
|---|---|---|---|
| python 3.12 · linux alpine/x64 · docker ed25519:c1973797be207ac4 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · python@1python:3.12-alpine@sha256:d09d15e60962… |
2026-08-26 |
Caso
HOW- Objetivo
- verify charset_normalizer.from_fp in pkg:pypi/charset-normalizer@3.5.1
- Paquetes
- Símbolos
-
- charset_normalizer.from_fp
- Entorno
- python
- Creado
- 2026-08-26T04:37:01Z
Contrato
- from_fp() accepts a binary stream (io.BytesIO) and returns a CharsetMatches collection containing CharsetMatch results.
- best() on CharsetMatches returns the highest-scoring CharsetMatch whose .encoding, .raw, and string conversion yield the decoded text.
- from_fp() correctly identifies distinct encodings such as UTF-8, UTF-16-LE with BOM, and UTF-8 with BOM from binary streams.
- from_fp() accepts customization parameters including steps, chunk_size, and threshold for tuning charset detection.
- from_fp() raises TypeError, AttributeError, or ValueError when passed an incompatible text stream instead of a binary file pointer.
Archivos
- NOTES.md
- PROMPT.md
- csx.json
- requirements.txt
- spec.json
- test/contract.py
Seeder de origen
anónimo