Update rdl2_json_exporter to include node outputs
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 58/100
Hướng nghiên cứu
Start with cmd/rdl2_cmd/rdl2_json_exporter and inspect how the exporter writes the existing attributes record and names its attribute types. Add output records containing the name, type, zero-based order, and uniform flag as described, then check the generated JSON and how its consumers handle unrecognized records.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
scene_rdl2: cmd/rdl2_cmd/rdl2_json_exporter needs to be updated to export information about outputs. The information will include name, type, position in the order, and whether the output is uniform or not.
Some Implementation Thoughts
- add an "outputs" record which is a peer to "attributes"
- add a record for each output name
- in each record have
"attrType" - using the same type names as in attributes. The "attr" prefix isn't quite perfect for an output but matching the naming in the "attributes" records to clarify they are the same seems valuable
"uniform" - a boolean value to indicate whether the output is uniform or not. This could default to false and be left out for false.
"order" - a positive integer to indicate the 0 based numbering of the output. The order is important so the output record of an evaluation can be properly interpreted.
Question
Will users of the json generated by rdl2_json_exporter be able to ignore the extra "outputs" record until they're updated to use the new record or will they error on the unrecognized record name?
- Ngôn ngữ chính
- CMake
- Star
- 4.7k
- Fork
- 321
- Merge trung bình
- 13 phút
- Pull request đã merge (30 ngày)
- 3
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 OpenMoonRay/openmoonray
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
OpenMoonRay/openmoonray#332 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
OpenMoonRay/openmoonray#320 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
OpenMoonRay/openmoonray#233 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 57/100
OpenMoonRay/openmoonray#331 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
OpenMoonRay/openmoonray#330 ·
Tất cả issue của OpenMoonRay/openmoonray
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
cloudflare/workerd#8290 ·
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
radiancelux/prgenie#201 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Issue-Bug Needs-Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
microsoft/winget-pkgs#475087 ·
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 73/100
-
ci contract good first issue tooling
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày