aboutcode-org / aboutcode-org/scancode-analyzer

Remove Identical/Correct Detections

未关闭
#16 0 条评论 0 个 reaction 已指派 1 人 已被 @AyanSinhaMahapatra 认领 在 GitHub 查看
主要语言
Python
星标
4
派生
4
PR 合并指标
30 天内没有已合并 PR

描述

1. Removing Identical Cases across the same Package

Across one same package, there can be similar faulty license detection results, as there
might exist same license notices/pieces of text throughout the package files, referring to

- the same license
- some specific exception/variation of the same license

Only keep one of these cases, and delete the remaining. Also, preserve data on how many of these were detected (non-unique).

2. Group License Detections by location in the file and delete Correct Detections

So, there can be multiple slices of important texts, in multiple locations of the file. And
not all of these has an incorrect license detection, it can be the case that some are correct, only keep the faulty ones and delete correct blocks of detection. (Uses Line Numbers where they are detected, i.e. `start_line` and `end_line`)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。