ExpressionContext equality ignores the other velocity override
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
The defect is in ExpressionContext::operator== in mpe/events.h, where velocityOverride is compared with itself instead of the other context's member. Read that operator, confirm the self-comparison, and add cases covering present/absent overrides in both operand orders to the native muse_mpe_test target. However, a linked pull request (#382) already proposes the fix, so a newcomer should coordinate there or pick a different issue rather than duplicate the work.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
On muse_framework main at 3e0eae57a9aa3dedb0a1e1d05d3ebf0cbc1b5e36, ExpressionContext::operator== compares velocityOverride with itself instead of the other context's override.
Minimal native reproduction (mpe/events.h):
muse::mpe::ExpressionContext first;
muse::mpe::ExpressionContext second;
first.velocityOverride = 0.5f;
second.velocityOverride = 0.75f;
EXPECT_FALSE(first == second); // Fails: returns true.
Expected: otherwise identical contexts with different override values compare unequal. A present override and an absent override should also compare unequal, in both operand orders. Equal values and two absent overrides should compare equal.
A regression added to the native muse_mpe_test target fails on the unmodified production header (four failed assertions) and passes after replacing the right operand with other.velocityOverride. The full MPE suite then passes (16 tests, zero failures). Tested on Linux with GCC 14 and Qt 6.10.2.
This report establishes an equality defect only; it does not claim a reproduced audible playback problem.
The self-comparison was introduced in 4beac5fc68c6d2490e2f9eba41eb656726d123cd. Searches for ExpressionContext, velocityOverride, and velocity/equality in the framework and Studio trackers found no matching equality fix. Related framework PR #221 concerns forwarding overrides to MuseSampler, a separate operation.
AI assistance: OpenAI Codex assisted with investigation, the patch, regression tests, and this report.
- Ngôn ngữ chính
- C++
- Star
- 14
- Fork
- 79
- Merge trung bình
- 1 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 43
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không 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 musescore/muse_framework
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
musescore/muse_framework#284 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Untranslated textsCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
musescore/muse_framework#110 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The ColorPicker component does not indicate whether you picked a color with alpha.Có thể đã có người làm @woldaker đã nhận 13 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 10/100
musescore/muse_framework#434 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
musescore/muse_framework#417 · 8 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
musescore/muse_framework#405 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của musescore/muse_framework
Issue tương tự
-
[Suggestion]: Build a Zero-Dependency Python Supply-Chain, SBOM, & MCP Security Verifier CLIĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
check-cimg-patches.sh: stops with "could not list" when openfx-gmic has no patch scripts leftĐang mởbug difficulty:easy prio:low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
NatronGitHub/openfx-misc#457 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug error not reported low priority semantics
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
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 70/100
compiler-explorer/compiler-explorer#9738 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
521xueweihan/HelloGitHub#4614 ·