[Bug]: `ref_line="unfished"` not working with ` plot_spawning_biomass` with `example_data`
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- r
- Lĩnh vực
- data-visualization
Hướng nghiên cứu
Start by tracing how plot_spawning_biomass handles ref_line="unfished" and how convert_output maps SSB_virgin and SSB_unfished for SS3 models, especially in the DERIVED_QUANTITIES module. Compare the duplicate spawning_biomass_unfished entries in example_data and check related plotting tests. Done means the unfished reference line appears as expected without conflating quantities that may differ in complex models.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
When running plot_spawning_biomass(example_data, ref_line="unfished"), no unfished reference point is added to the ensuing plot (note that the function does NOT throw an error, it just doesn't plot the expected reference).
Describe how to reproduce the bug
No response
Screenshots
No response
Which OS are you seeing the problem on?
No response
Which version of stockplotr are you seeing the problem on?
No response
Additional Context
From some sleuthing, this is due to there being multiple entries of "spawning_biomass_unfished" in the example_data dataset (at least for the "DERIVED_QUANTITIES" module name). convert_output is mapping both "SSB_virgin" and "SSB_unfished" to the label "spawning_biomass_unfished" for SS3 models. It is debatable whether these quantities SHOULD be interpreted as the same (they have the same estimated value in the example_data, though different uncertainties, and the SS3 manual notes that they may differ for complex models with time varying parameters).
- Ngôn ngữ chính
- R
- Star
- 20
- Fork
- 10
- Merge trung bình
- 3 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 31
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- 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 nmfs-ost/stockplotr
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 54/100
nmfs-ost/stockplotr#471 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Address R cmd check warningsCó thể đã có người làm @sbreitbart-NOAA đã nhận 3 ngày trước. Đang mở
nmfs-ost/stockplotr#459 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[refactor]: merge multiple models into singular file for standard outputCó thể đã có người làm @JZahner1 đã nhận hôm nay. Đang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
nmfs-ost/stockplotr#457 · 14 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Check for obs and exp. for each example data in the packageCó thể đã có người làm @Schiano-NOAA đã nhận 4 ngày trước. Đang mởquestion
nmfs-ost/stockplotr#452 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add make_rda and rda bundle to composition plotsCó thể đã có người làm @Schiano-NOAA đã nhận 4 ngày trước. Đang mởdevelopment enhancement
nmfs-ost/stockplotr#451 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của nmfs-ost/stockplotr
Issue tương tự
-
bug key bindings source editor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/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 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
REQ - Positron IDE guidanceCó thể đã có người làm @johannajokio đã nhận 2 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
get_procs() @return docs don't match returned columns, and pid column is the row indexCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
posit-dev/connectapi#532 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Huber-group-EMBL/Rarr#294 ·
Maintainer thường phản hồi trong vòng 1 ngày