Skip to content

Commit

Permalink
Regen tests to fix CI failures
Browse files Browse the repository at this point in the history
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
  • Loading branch information
AyanSinhaMahapatra committed Feb 20, 2024
1 parent 5cd97cc commit 9867a71
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 75 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"license_detections": [
{
"identifier": "mit-3c947379-4257-acb2-bf21-5f93f7de0076",
"identifier": "mit-d06b13fa-2fc0-30c6-d438-bd840aa59649",
"license_expression": "mit",
"license_expression_spdx": "MIT",
"detection_count": 1,
Expand Down Expand Up @@ -46,16 +46,32 @@
"license_expression_spdx": "MIT",
"from_file": "scan-unknown-intro-with-imperfect-matches/LICENSE.md",
"start_line": 11,
"end_line": 11,
"matcher": "2-aho",
"score": 100.0,
"matched_length": 2,
"match_coverage": 100.0,
"rule_relevance": 100,
"rule_identifier": "mit_14.RULE",
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE",
"matched_text": "MIT License</",
"matched_text_diagnostics": "MIT License</"
},
{
"license_expression": "mit",
"license_expression_spdx": "MIT",
"from_file": "scan-unknown-intro-with-imperfect-matches/LICENSE.md",
"start_line": 13,
"end_line": 13,
"matcher": "2-aho",
"score": 100.0,
"matched_length": 3,
"matched_length": 2,
"match_coverage": 100.0,
"rule_relevance": 100,
"rule_identifier": "mit_31.RULE",
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_31.RULE",
"matched_text": "License</a></li></ul>\n\n<h2>MIT License</",
"matched_text_diagnostics": "License</a></li></ul>\n\n<h2>MIT License</"
"rule_identifier": "mit_14.RULE",
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE",
"matched_text": "MIT License</",
"matched_text_diagnostics": "MIT License</"
},
{
"license_expression": "mit",
Expand Down Expand Up @@ -124,16 +140,32 @@
"spdx_license_expression": "MIT",
"from_file": "scan-unknown-intro-with-imperfect-matches/LICENSE.md",
"start_line": 11,
"end_line": 11,
"matcher": "2-aho",
"score": 100.0,
"matched_length": 2,
"match_coverage": 100.0,
"rule_relevance": 100,
"rule_identifier": "mit_14.RULE",
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE",
"matched_text": "MIT License</",
"matched_text_diagnostics": "MIT License</"
},
{
"license_expression": "mit",
"spdx_license_expression": "MIT",
"from_file": "scan-unknown-intro-with-imperfect-matches/LICENSE.md",
"start_line": 13,
"end_line": 13,
"matcher": "2-aho",
"score": 100.0,
"matched_length": 3,
"matched_length": 2,
"match_coverage": 100.0,
"rule_relevance": 100,
"rule_identifier": "mit_31.RULE",
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_31.RULE",
"matched_text": "License</a></li></ul>\n\n<h2>MIT License</",
"matched_text_diagnostics": "License</a></li></ul>\n\n<h2>MIT License</"
"rule_identifier": "mit_14.RULE",
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_14.RULE",
"matched_text": "MIT License</",
"matched_text_diagnostics": "MIT License</"
},
{
"license_expression": "mit",
Expand All @@ -155,11 +187,11 @@
"detection_log": [
"unknown-intro-followed-by-match"
],
"identifier": "mit-3c947379-4257-acb2-bf21-5f93f7de0076"
"identifier": "mit-d06b13fa-2fc0-30c6-d438-bd840aa59649"
}
],
"license_clues": [],
"percentage_of_license_text": 89.06,
"percentage_of_license_text": 89.58,
"scan_errors": []
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ license_detections:
start_line: 15
end_line: 34
matcher: 2-aho
score: '100.0'
score: '99.0'
matched_length: '199'
match_coverage: '100.0'
rule_relevance: 100
rule_identifier: x11-xconsortium-veillard.LICENSE
rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/x11-xconsortium-veillard.LICENSE
rule_relevance: 99
rule_identifier: x11-xconsortium-veillard_3.RULE
rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/x11-xconsortium-veillard_3.RULE
matched_text: |
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -40,7 +40,7 @@ license_detections:
Except as contained in this notice, the name of Daniel Veillard shall not
be used in advertising or otherwise to promote the sale, use or other deal-
ings in this Software without prior written authorization from him.
identifier: x11_xconsortium_veillard-b2601908-f03c-335c-5bbd-e72dc065c901
identifier: x11_xconsortium_veillard-c8cd46c3-d1e8-41fb-1343-c8f95ccec0ef
- license_expression: x11-xconsortium
license_expression_spdx: X11
matches:
Expand Down
Loading

0 comments on commit 9867a71

Please sign in to comment.