Add a recipe for comparing original PNG hashes across acquisitions

Đang mở Phù hợp với người mới
#3 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
78/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
computer-vision, testing

Hướng nghiên cứu

Bắt đầu với tests.test_streaming.TestStreaming.test_full_frame_parity_with_yt_dlp_and_https_ranges, sau đó đọc fixture ba route và các assertion của nó. Tài liệu hóa cách chạy fixture và xác minh các kiểm tra được liệt kê về frame, phát hiện, bộ đếm, hash PNG, tệp được giữ lại và clip đánh giá; hoàn thành khi hướng dẫn bao quát từng kiểm tra chỉ bằng các fixture tổng hợp.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
0
Fork
0
Merge trung bình
20 giờ
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của JusticeGG-dev/CodeHunter

Tất cả issue của JusticeGG-dev/CodeHunter

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.