Effort-aware review-budget ranking from prior security fixes and change entropy (replicated per line reviewed on openssl)
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ó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Read the EA-H1..H5 results in temporal-crucible#53, especially docs/HYPOTHESES.md and docs/ea_openssl.md, then inspect the prerequisites in gitgalaxy#7818. The issue describes a ranked review list with prior fix counts, change entropy, line counts, and a line budget, but leaves the fix-history input and scoring details open pending replication. Done means those decisions are resolved and the feature can report a review ranking with its budget cutoff.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What this asks for. An effort-aware "review budget" ranking that orders a repository's files for review by prior security fixes (file recidivism) and change entropy (file_data.change_entropy, HCM1_LD_30), rather than by any per-file structural score. No score weight yet: a further unseen-repo replication is registered first, per temporal-crucible's decision rule.
The evidence (temporal-crucible, pre-registered EA-H1..H5, scored on openssl, which was unseen):
- Setup: 110 quarterly snapshots, 252 security fixes on master.
- Measure: recall of the files fixed in the next 180 days when reviewing 20% of the snapshot's C lines, in the ranking's order.
- Bar: a claim had to beat both size baselines at α = 0.002.
| ranking | recall@20% of lines |
|---|---|
| prior security fixes | 0.451 (supported) |
| change entropy | 0.343 (supported) |
| churn | 0.321 (not supported) |
| recency | 0.304 (not supported) |
| largest files first | 0.271 |
| smallest files first | 0.128 |
Under plain AUC, size still ranks first (0.816 pooled). So this is specifically a "per line read" result. It's consistent with RW-H2 (prior fixes beat LOC at recall@20%LOC on curl and nDPI).
Prerequisites, already in gitgalaxy#7818:
- As-of-HEAD history mode.
- The persisted
change_entropycolumn. - The UTF-8 fix to the git-log reader. Without it, one non-UTF-8 byte silently truncated history; the gate caught it on openssl 2014.
Suggested shape:
- Brief / report: a ranked "review first" list, with each file's prior fix count, change entropy and line count, plus a budget cut-off (e.g. 20% of lines).
- Where the data comes from: prior fixes need a per-repo fix history, so this is an opt-in input (a fix-commit list such as temporal-crucible's
events/*.json, or a commit-message rule). Change entropy needs only the scan. - Status: descriptive until the replication lands.
Results and code: squid-protocol/temporal-crucible#53 (docs/HYPOTHESES.md EA sections, docs/ea_openssl.md).
🤖 Generated with Claude Code
- Ngôn ngữ chính
- Python
- Star
- 57
- Fork
- 11
- Merge trung bình
- 1 giờ 42 phút
- Pull request đã merge (30 ngày)
- 966
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của squid-protocol/gitgalaxy
-
doc drift: wiki [1]Đang mởdocumentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
squid-protocol/gitgalaxy#8002 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
doc drift: skills [2]Đang mởdocumentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
squid-protocol/gitgalaxy#8000 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
doc drift: tests [1]Đang mởdocumentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
squid-protocol/gitgalaxy#8001 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
doc drift: rules and agents [1]Đang mởdocumentation
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 84/100
squid-protocol/gitgalaxy#7998 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
doc drift: skills [1]Đang mởdocumentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
squid-protocol/gitgalaxy#7999 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của squid-protocol/gitgalaxy
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
-
needs-triage tooling
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
neilsh/stunt-reel#317 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
TandoorRecipes/recipes#4926 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
PyTomography/PyTomography#431 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
igormcsouza/tether#278 ·
Maintainer thường phản hồi trong vòng 1 ngày