You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
headers:
- tool_name: scancode-toolkittool_version: 32.3.0options:
input:
- LICENSE
--license: yes
--license-text: yes
--license-text-diagnostics: yes
--yaml: error.ymlnotice: | Generated with ScanCode and provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. No content created from ScanCode should be considered or used as legal advice. Consult an Attorney for any legal advice. ScanCode is a free software code scanning tool from nexB Inc. and others. Visit https://github.com/nexB/scancode-toolkit/ for support and download.start_timestamp: '2025-01-13T092659.026958'end_timestamp: '2025-01-13T092709.107190'output_format_version: 4.0.0duration: '10.080278158187866'message:
errors: []warnings: []extra_data:
system_environment:
operating_system: linuxcpu_architecture: 64platform: Linux-6.4.0-150600.23.30-default-x86_64-with-glibc2.38platform_version: '#1 SMP PREEMPT_DYNAMIC Sat Dec 7 08:37:53 UTC 2024 (8c25a0a)'python_version: 3.11.10 (main, Sep 18 2024, 22:14:32) [GCC]spdx_license_list_version: '3.25'files_count: 1license_detections:
- identifier: bsd_new_or_apache_2_0__and_mit-f96a522d-96eb-61c5-b09a-a8f02edeb25blicense_expression: (bsd-new OR apache-2.0) AND mitlicense_expression_spdx: (BSD-3-Clause OR Apache-2.0) AND MITdetection_count: 1reference_matches:
- license_expression: unknown-license-referencelicense_expression_spdx: LicenseRef-scancode-unknown-license-referencefrom_file: LICENSEstart_line: '1941'end_line: '1941'matcher: 2-ahoscore: '100.0'matched_length: 5match_coverage: '100.0'rule_relevance: 100rule_identifier: license-intro_62.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_62.RULEmatched_text: available under the terms of *matched_text_diagnostics: available under the terms of *
- license_expression: bsd-new OR apache-2.0license_expression_spdx: BSD-3-Clause OR Apache-2.0from_file: LICENSEstart_line: '1941'end_line: '1941'matcher: 3-seqscore: '21.21'matched_length: 7match_coverage: '21.21'rule_relevance: 100rule_identifier: bsd-new_or_apache-2.0_3.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_or_apache-2.0_3.RULEmatched_text: found in LICENSE.APACHE2 or LICENSE.MIT. Contributions tomatched_text_diagnostics: found in LICENSE.[APACHE2] or LICENSE.[MIT]. Contributionsto
- license_expression: mitlicense_expression_spdx: MITfrom_file: LICENSEstart_line: '1941'end_line: '1941'matcher: 2-ahoscore: '100.0'matched_length: 2match_coverage: '100.0'rule_relevance: 100rule_identifier: mit_30.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULEmatched_text: LICENSE.MIT.matched_text_diagnostics: LICENSE.MIT.
- identifier: apache_2_0_and_mit_and__apache_2_0_or_bsd_new__and__bsd_new_or_apache_2_0-afea8c79-f391-ee94-f9d2-558eb9da6c8flicense_expression: apache-2.0 AND mit AND (apache-2.0 OR bsd-new) AND (bsd-new OR apache-2.0)license_expression_spdx: Apache-2.0 AND MIT AND (Apache-2.0 OR BSD-3-Clause) AND (BSD-3-ClauseOR Apache-2.0)detection_count: 1reference_matches:
- license_expression: apache-2.0license_expression_spdx: Apache-2.0from_file: LICENSEstart_line: 1699end_line: 1699matcher: 2-ahoscore: '100.0'matched_length: 2match_coverage: '100.0'rule_relevance: 100rule_identifier: apache-2.0_98.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_98.RULEmatched_text: LICENSE.APACHE2","matched_text_diagnostics: LICENSE.APACHE2","
- license_expression: apache-2.0license_expression_spdx: Apache-2.0from_file: LICENSEstart_line: 1699end_line: 1699matcher: 2-ahoscore: '100.0'matched_length: 2match_coverage: '100.0'rule_relevance: 100rule_identifier: apache-2.0_98.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_98.RULEmatched_text: LICENSE.APACHE2","matched_text_diagnostics: LICENSE.APACHE2","
- license_expression: mitlicense_expression_spdx: MITfrom_file: LICENSEstart_line: 1699end_line: 1699matcher: 2-ahoscore: '100.0'matched_length: 2match_coverage: '100.0'rule_relevance: 100rule_identifier: mit_30.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULEmatched_text: LICENSE.MIT","matched_text_diagnostics: LICENSE.MIT","
- license_expression: mitlicense_expression_spdx: MITfrom_file: LICENSEstart_line: 1699end_line: 1699matcher: 2-ahoscore: '100.0'matched_length: 2match_coverage: '100.0'rule_relevance: 100rule_identifier: mit_30.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULEmatched_text: LICENSE.MIT","matched_text_diagnostics: LICENSE.MIT","
- license_expression: apache-2.0 OR bsd-newlicense_expression_spdx: Apache-2.0 OR BSD-3-Clausefrom_file: LICENSEstart_line: 1699end_line: 1699matcher: 3-seqscore: '89.1'matched_length: 18match_coverage: '90.0'rule_relevance: 99rule_identifier: apache-2.0_or_bsd-new_8.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_bsd-new_8.RULEmatched_text: | This software is made available under the terms of *either* of the" ,"licenses found in LICENSE.APACHE2 or LICENSE.matched_text_diagnostics: | This software is made available under the terms of *either* of the" ,"licenses found in LICENSE.[APACHE2] or LICENSE.
- license_expression: bsd-new OR apache-2.0license_expression_spdx: BSD-3-Clause OR Apache-2.0from_file: LICENSEstart_line: 1699end_line: 1699matcher: 3-seqscore: '45.45'matched_length: 15match_coverage: '45.45'rule_relevance: 100rule_identifier: bsd-new_or_apache-2.0_3.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_or_apache-2.0_3.RULEmatched_text: found in LICENSE.APACHE2 or LICENSE.MIT. Contributions to are","madeunder the terms of *both* these licenses."],"matched_text_diagnostics: found in LICENSE.[APACHE2] or LICENSE.[MIT]. Contributionsto [are]","made under the terms of *both* these licenses."],"
- license_expression: mitlicense_expression_spdx: MITfrom_file: LICENSEstart_line: 1699end_line: 1699matcher: 2-ahoscore: '100.0'matched_length: 2match_coverage: '100.0'rule_relevance: 100rule_identifier: mit_30.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULEmatched_text: LICENSE.MIT.matched_text_diagnostics: LICENSE.MIT.files:
- path: LICENSEtype: filedetected_license_expression: (apache-2.0 AND mit AND (apache-2.0 OR bsd-new) AND (bsd-newOR apache-2.0)) AND ((bsd-new OR apache-2.0) AND mit)detected_license_expression_spdx: (Apache-2.0 AND MIT AND (Apache-2.0 OR BSD-3-Clause)AND (BSD-3-Clause OR Apache-2.0)) AND ((BSD-3-Clause OR Apache-2.0) AND MIT)license_detections:
- license_expression: apache-2.0 AND mit AND (apache-2.0 OR bsd-new) AND (bsd-newOR apache-2.0)license_expression_spdx: Apache-2.0 AND MIT AND (Apache-2.0 OR BSD-3-Clause)AND (BSD-3-Clause OR Apache-2.0)matches:
- license_expression: apache-2.0license_expression_spdx: Apache-2.0from_file: LICENSEstart_line: 1699end_line: 1699matcher: 2-ahoscore: '100.0'matched_length: 2match_coverage: '100.0'rule_relevance: 100rule_identifier: apache-2.0_98.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_98.RULEmatched_text: LICENSE.APACHE2","matched_text_diagnostics: LICENSE.APACHE2","
- license_expression: apache-2.0license_expression_spdx: Apache-2.0from_file: LICENSEstart_line: 1699end_line: 1699matcher: 2-ahoscore: '100.0'matched_length: 2match_coverage: '100.0'rule_relevance: 100rule_identifier: apache-2.0_98.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_98.RULEmatched_text: LICENSE.APACHE2","matched_text_diagnostics: LICENSE.APACHE2","
- license_expression: mitlicense_expression_spdx: MITfrom_file: LICENSEstart_line: 1699end_line: 1699matcher: 2-ahoscore: '100.0'matched_length: 2match_coverage: '100.0'rule_relevance: 100rule_identifier: mit_30.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULEmatched_text: LICENSE.MIT","matched_text_diagnostics: LICENSE.MIT","
- license_expression: mitlicense_expression_spdx: MITfrom_file: LICENSEstart_line: 1699end_line: 1699matcher: 2-ahoscore: '100.0'matched_length: 2match_coverage: '100.0'rule_relevance: 100rule_identifier: mit_30.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULEmatched_text: LICENSE.MIT","matched_text_diagnostics: LICENSE.MIT","
- license_expression: apache-2.0 OR bsd-newlicense_expression_spdx: Apache-2.0 OR BSD-3-Clausefrom_file: LICENSEstart_line: 1699end_line: 1699matcher: 3-seqscore: '89.1'matched_length: 18match_coverage: '90.0'rule_relevance: 99rule_identifier: apache-2.0_or_bsd-new_8.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_bsd-new_8.RULEmatched_text: | This software is made available under the terms of *either* of the" ,"licenses found in LICENSE.APACHE2 or LICENSE.matched_text_diagnostics: | This software is made available under the terms of *either* of the" ,"licenses found in LICENSE.[APACHE2] or LICENSE.
- license_expression: bsd-new OR apache-2.0license_expression_spdx: BSD-3-Clause OR Apache-2.0from_file: LICENSEstart_line: 1699end_line: 1699matcher: 3-seqscore: '45.45'matched_length: 15match_coverage: '45.45'rule_relevance: 100rule_identifier: bsd-new_or_apache-2.0_3.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_or_apache-2.0_3.RULEmatched_text: found in LICENSE.APACHE2 or LICENSE.MIT. Contributionsto are","made under the terms of *both* these licenses."],"matched_text_diagnostics: found in LICENSE.[APACHE2] or LICENSE.[MIT].Contributions to [are]","made under the terms of *both* these licenses."],"
- license_expression: mitlicense_expression_spdx: MITfrom_file: LICENSEstart_line: 1699end_line: 1699matcher: 2-ahoscore: '100.0'matched_length: 2match_coverage: '100.0'rule_relevance: 100rule_identifier: mit_30.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULEmatched_text: LICENSE.MIT.matched_text_diagnostics: LICENSE.MIT.identifier: apache_2_0_and_mit_and__apache_2_0_or_bsd_new__and__bsd_new_or_apache_2_0-afea8c79-f391-ee94-f9d2-558eb9da6c8f
- license_expression: (bsd-new OR apache-2.0) AND mitlicense_expression_spdx: (BSD-3-Clause OR Apache-2.0) AND MITmatches:
- license_expression: unknown-license-referencelicense_expression_spdx: LicenseRef-scancode-unknown-license-referencefrom_file: LICENSEstart_line: '1941'end_line: '1941'matcher: 2-ahoscore: '100.0'matched_length: 5match_coverage: '100.0'rule_relevance: 100rule_identifier: license-intro_62.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_62.RULEmatched_text: available under the terms of *matched_text_diagnostics: available under the terms of *
- license_expression: bsd-new OR apache-2.0license_expression_spdx: BSD-3-Clause OR Apache-2.0from_file: LICENSEstart_line: '1941'end_line: '1941'matcher: 3-seqscore: '21.21'matched_length: 7match_coverage: '21.21'rule_relevance: 100rule_identifier: bsd-new_or_apache-2.0_3.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_or_apache-2.0_3.RULEmatched_text: found in LICENSE.APACHE2 or LICENSE.MIT. Contributionstomatched_text_diagnostics: found in LICENSE.[APACHE2] or LICENSE.[MIT].Contributions to
- license_expression: mitlicense_expression_spdx: MITfrom_file: LICENSEstart_line: '1941'end_line: '1941'matcher: 2-ahoscore: '100.0'matched_length: 2match_coverage: '100.0'rule_relevance: 100rule_identifier: mit_30.RULErule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_30.RULEmatched_text: LICENSE.MIT.matched_text_diagnostics: LICENSE.MIT.identifier: bsd_new_or_apache_2_0__and_mit-f96a522d-96eb-61c5-b09a-a8f02edeb25blicense_clues: []percentage_of_license_text: '0.13'scan_errors: []
System configuration
What OS are you running on? Linux
What version of scancode-toolkit was used to generate the scan file? 32.3.0
What installation method was used to install/run scancode? pip
The text was updated successfully, but these errors were encountered:
Description
https://github.com/python-trio/outcome/blob/master/LICENSE is wrongly being detected as
(BSD-3-Clause OR Apache-2.0) AND MIT
, where the BSD-3-Clause does not make sense.How To Reproduce
wget https://github.com/python-trio/outcome/blob/6a3192f306ead4900a33fa8c47e5af5430e37692/LICENSE
scancode -l --license-text --license-text-diagnostics --yaml error.yml LICENSE
cat error.yml
Result
System configuration
The text was updated successfully, but these errors were encountered: