aboutcode-org / aboutcode-org/scancode-toolkit

False Positive: Incorrect detection of amazon-sl license expression

Đang mở
#4,022 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

### Description

While using ScanCode Toolkit to scan the file rntpc_react-native-splash-screen/README.md, the tool incorrectly identified lines 8-9 as matching the amazon-sl license expression. Upon manual review, this detection appears to be a false positive.

### How To Reproduce

Here is the project url https://gitee.com/openharmony-sig/rntpc_react-native-splash-screen.
Review the scan results. The following match is observed:
```json
"reference_matches": [
{
"license_expression": "amazon-sl",
"license_expression_spdx": "LicenseRef-.amazon.com.-AmznSL-1.0",
"from_file": "rntpc_react-native-splash-screen/README.md",
"start_line": 8,
"end_line": 9,
"matcher": "3-seq",
"score": 80.0,
"matched_length": 8,
"match_coverage": 80.0,
"rule_relevance": 100,
"rule_identifier": "amazon-sl_8.RULE",
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/amazon-sl_8.RULE"
}
]
```

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

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

Đánh giá

Issue này chưa được đánh giá.

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.