Add a recipe for comparing original PNG hashes across acquisitions

Abierto Apto para principiantes
#3 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
78/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

Empieza con tests.test_streaming.TestStreaming.test_full_frame_parity_with_yt_dlp_and_https_ranges y luego lee el fixture de tres rutas y sus aserciones. Documenta cómo ejecutarlo y verificar las comprobaciones indicadas de fotogramas, detección, contador, hash PNG, archivos conservados y clips de revisión; se considera terminado cuando la receta cubra cada comprobación usando únicamente fixtures sintéticos.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

documentation good first issue help wanted validation

Scope

Document a short local-versus-HTTPS check using only the synthetic fixtures. Specify which fields must match, how to compare PNG SHA-256 values and how to confirm that the streaming job retained no source file.

Reproduction recipe

On macOS with the repository dependencies and FFmpeg installed, run the existing three-route parity test from the checkout:

python -m unittest -v tests.test_streaming.TestStreaming.test_full_frame_parity_with_yt_dlp_and_https_ranges

The fixture serves its own synthetic MP4 over loopback HTTPS with a temporary certificate. It compares local upload, yt-dlp page resolution with ranged streaming, and full download. Verify 192 decoded and analyzed frames, the same 25 detections with their appearance IDs and original PTS/time base, exhaustive counters, and identical {PNG filename: SHA-256} maps. The same-host comparison excludes acquisition and performance measurements because each route has different wall time and retained bytes. The streaming job directory should consist of job.json, result.json and frames/. Confirm retained source bytes are zero and that review clips report HTTP 422 for the streaming job. The full-download route retains the source and checks its SHA-256 against the test MP4.

Passing hosted integration on b36986c. The Linux fixture in #12 also compares native file and HTTPS paths within one host using a deterministic engine.

Lenguaje dominante
Python
Estrellas
0
Forks
0
Merge medio
20 h
PR fusionados (30 d)
5

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de JusticeGG-dev/CodeHunter

Todos los issues de JusticeGG-dev/CodeHunter

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.