Add a recipe for comparing original PNG hashes across acquisitions

Offen Anfängerfreundlich
#3 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
78/100
Issue-Typ
Dokumentation
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
python

Rechercherichtung

Beginne mit tests.test_streaming.TestStreaming.test_full_frame_parity_with_yt_dlp_and_https_ranges und lies anschließend das Fixture mit den drei Routen und seine Assertions. Dokumentiere, wie es ausgeführt wird und wie sich die aufgeführten Prüfungen für Frames, Erkennung, Zähler, PNG-Hash, beibehaltene Dateien und Review-Clips verifizieren lassen; abgeschlossen ist die Aufgabe, wenn die Anleitung jede Prüfung ausschließlich mit synthetischen Fixtures abdeckt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Python
Sterne
0
Forks
0
Ø Merge
20 Std.
Gemergte PRs (30 T.)
5

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus JusticeGG-dev/CodeHunter

Alle Issues in JusticeGG-dev/CodeHunter

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.