Better testing based on paper: *Type Safety with JSON Subschema*

Đang mở
#99 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
json, python
Lĩnh vực
testing

Hướng nghiên cứu

Start by reading the paper Type Safety with JSON Subschema and its figure 11, then compare the supported keyword contexts with hypothesis-jsonschema’s canonicalization tests. The issue suggests testing schemas both tools can handle and exploring the paper’s schema corpora; done means adding comparative coverage alongside the existing random-sample approach. No files or test entry points are named, so first locate the current canonicalization tests.

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

Mô tả

Type Safety with JSON Subschema is a neat paper which explores similar canonicalization logic to hypothesis-jsonschema, and the implemenation is also in Python!

Unfortunately there are keywords that they don't support in some contexts (see fig. 11), but we should use their tool to test our own canonicalization logic for every schema that both can handle. This is probably more effective than the random-sample-based approach we're currently testing with, though as usual "do both" is likely to be better still. They also have a few corpora of schemas we could probably grab to test against.

Ngôn ngữ chính
Python
Star
281
Fork
35
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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của python-jsonschema/hypothesis-jsonschema

Tất cả issue của python-jsonschema/hypothesis-jsonschema

Issue tương tự

Thêm issue về Python

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.