a2ui-project / a2ui-project/a2ui

[FEATURE]: Add platform-agnostic conformance tests for a2ui-core libraries.

Đang mở
#2,028 1 bình luận 0 reaction 1 người được giao Được @Varun-S10 nhận Xem trên GitHub
P2 status: waiting-for-author-response
Ngôn ngữ chính
TypeScript
Star
16.4k
Fork
1.3k
Merge trung bình
2 ngày 13 giờ
Pull request đã merge (30 ngày)
134

Mô tả

Currently, our inference libraries have conformance tests for some features, which verify inputs and outputs. The expected inputs and outputs are encoded in YAML, with a description of how the test rig should be configured to use them.

We should do the same thing for the core libraries. e.g. to verify:
- Processing of messages is correct
- State of models is updated correctly - e.g. surfaceModel, componentModel etc, but also the node tree once it's implemented.
- The expected errors are emitted correctly
- Data model lookups work as expected with paths etc
- Functions work as expected, including nesting, functions that expose streams of data from the client etc.

This would go a long way towards making sure our libraries are consistent with each other.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Look at existing conformance tests for inference libraries to understand the YAML format and test rig configuration. Examine core libraries like surfaceModel and componentModel to identify key behaviors to test. The goal is to create tests that verify message processing, state updates, error emission, data model lookups, and function behavior across libraries.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
typescript, yaml
Lĩnh vực
testing
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.