[Bug]: Four evaluation scripts unpack init_memmachine_params's five return values into three names
Maintainer thường phản hồi trong vòng 3 ngày
Chưa có ai nhận issue nà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
- 88/100
Hướng nghiên cứu
init_memmachine_params trong evaluation/utils/agent_utils.py hiện trả về năm giá trị, nhưng bốn nơi gọi vẫn unpack ba giá trị: evaluation/episodic_memory/locomo_ingest.py, locomo_search.py, locomo_delete.py và longmemeval_test.py (longmemeval_delete). Hãy so sánh chúng với một nơi gọi đã unpack năm giá trị, chẳng hạn các nơi gọi trong evaluation/retrieval_agent/. Hoàn thành khi mỗi dòng trong bốn dòng đó unpack đủ năm giá trị trả về và một trong các script LoCoMo chạy qua được dòng đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
Paths and line numbers are at 377510d43 (main).
init_memmachine_params in evaluation/utils/agent_utils.py returns five values: (memory, answer_model, query_agent, agent_model_id, answer_model_id). Four call sites unpack three names, so each raises ValueError: too many values to unpack (expected 3) before the script does any work:
| Call site | Function |
|---|---|
evaluation/episodic_memory/locomo_ingest.py:61 |
LoCoMo ingest |
evaluation/episodic_memory/locomo_search.py:177 |
LoCoMo search |
evaluation/episodic_memory/locomo_delete.py:52 |
LoCoMo delete |
evaluation/retrieval_agent/longmemeval_test.py:260 |
longmemeval_delete |
The other call sites, in evaluation/retrieval_agent/ and evaluation/retrieval_agent/beam/, unpack all five.
Steps to reproduce
Run any of the three evaluation/episodic_memory/locomo_*.py scripts, or LongMemEval's delete run type, with a valid configuration. Each fails at the line in the table.
Expected behavior
Each call site unpacks the five values the function returns.
Additional context
#1376 changed the return from three values to five and updated the call sites it touched. It did not touch the evaluation/episodic_memory/ LoCoMo scripts, and it missed the call in longmemeval_delete. CI does not run or type-check evaluation/.
🤖 Written by Claude Code (Claude Opus 5.5) on behalf of @edwinyyyu.
- Ngôn ngữ chính
- Python
- Star
- 3.1k
- Fork
- 217
- Merge trung bình
- 4 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 17
Chuẩn bị môi trường
- Có Dockerfile hoặc 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 MemMachine/MemMachine
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
MemMachine/MemMachine#1890 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
[Bug]: The OpenAI Responses language model never sends `reasoning_effort`, and no configuration can set itCó thể đã có người làm @Brownteen18 đã nhận 4 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
MemMachine/MemMachine#1877 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
MemMachine/MemMachine#1874 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
MemMachine/MemMachine#1873 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Install docs: Windows quickstart runs a bash script, and the macOS wizard description is staleCó thể đã có người làm @ShryukGrandhi đã nhận 3 ngày trước. Đang mởdocumentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
MemMachine/MemMachine#1870 ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của MemMachine/MemMachine
Issue tương tự
-
cost:cheap practicality:seen-in-the-wild severity:medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
fairagro/m4.2_advanced_middleware_api#620 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:security effort:S priority:P2 provider:local-libvirt status:ready type:docs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
randomparity/kdive#3495 ·
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 82/100
microsoft/markitdown#2820 ·
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 72/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 78/100
Maintainer thường phản hồi trong vòng 2 ngày