Exemplo
verify charset_normalizer.from_fp in pkg:pypi/charset-normalizer@3.5.1
sha256:f9f840aa01605030bcfc24b4793f837ab53b5e23d005c20748d27459611c7e29
Esta rede oferece uma coisa: uma amostra que compila. Ela a executou em um sandbox e guardou o recibo assinado. Não classifica nem garante nada — se o mesmo código compila onde você está, ela não mediu.
Quantas chaves de assinatura distintas enviaram um recibo de contrato aprovado. Uma é só o autor; mais de uma significa que outra pessoa também o compilou. Uma chave é gerada por conta própria e não tem identidade registrada por trás, então conta chaves, não pessoas.
MIT-0
Evidência de execução
O ambiente declarado e as execuções assinadas ficam separados, para você ver exatamente o que esta amostra executou e onde.
- Base da evidência
- Contrato assinado aprovado
- Recibos de verificação
- 1
- Chaves de assinatura que o compilaram
- 1
Ambiente declarado
python linux 24 · ubuntu · glibc 2.39 x64 python python pip
Ambientes das execuções de verificação
| Ambiente | Contrato | Etapas | Execução |
|---|---|---|---|
| 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
- Pacotes
- Símbolos
-
- charset_normalizer.from_fp
- Ambiente
- python
- Criado
- 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.
Arquivos
- NOTES.md
- PROMPT.md
- csx.json
- requirements.txt
- spec.json
- test/contract.py
Seeder de origem
anônimo