Make network base class an environment?
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
- 25/100
Hướng nghiên cứu
Start by reviewing the current implementation of network modifiers and how they capture and reassign expressions from calling functions. Assess whether making the network base class an environment avoids inconsistent modification behavior for passed or expression-produced objects; done means the approach is specified and its behavior is validated.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The current implementation of modifiers for network objects attempts to modify it in place, emulating behaviour of C++, Java, and Python classes, and R6 classes in R. This is accomplished by gabbing the expression for the network from the calling function and then assigning to it at the end if possible. This is quite kludgey, and may produce inconsistent or unpredictable behaviour, say, when a network object is passed to a function and modified there, or when a network is produced by an expression.
This may be possible to avoid using the same approach as R6 classes: whereas R lists are copied on modification, R environments are always references and need to be copied explicitly. Thus, if a network base class is an environment, changes to it will always change it in place automatically.
- Ngôn ngữ chính
- R
- Star
- 20
- Fork
- 7
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 statnet/network
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
Assigning a symmetric sociomatrix valued edges to an undriected network creates bidirectional edges.Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
Tất cả issue của statnet/network
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
philchalmers/SimDesign#106 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 64/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
hturner/pkg-dev-ctv#57 ·
-
Độ 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 3 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
inbo/erl-butterflies-2025#28 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày