Add a recipe for comparing original PNG hashes across acquisitions

オープン 初心者向け
#3 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python

調査の方向性

まず tests.test_streaming.TestStreaming.test_full_frame_parity_with_yt_dlp_and_https_ranges を確認し、次に3つのルートを持つフィクスチャとそのアサーションを読みます。実行方法と、列挙されたフレーム、検出、カウンター、PNGハッシュ、保持ファイル、レビュークリップの各チェックを検証する方法を文書化します。合成フィクスチャのみを使って各チェックを網羅する手順になれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
0
フォーク
0
平均マージ
20時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

JusticeGG-dev/CodeHunter のほかの issue

JusticeGG-dev/CodeHunter の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。