При запуске скрипта на большом наборе данных количество строк в выходной таблице велико, а количество уникальных ошибок не особо
Предлагаю сделать группировку. Чтобы вместо результирующей таблицы (по флагу) можно было получить её аггрегированную версию
origin:
| rule |
text |
| missing break in switch statement |
|
| only main function |
all logic inside single function |
| only main function |
all logic inside single function |
| short variable name |
Length of variable name a is 1, which is shorter than the threshold of 3 |
| short variable name |
Length of variable name b is 1, which is shorter than the threshold of 3 |
| short variable name |
Length of variable name f is 1, which is shorter than the threshold of 3 |
| short variable name |
Length of variable name s is 1, which is shorter than the threshold of 3 |
| short variable name |
Length of variable name i is 1, which is shorter than the threshold of 3 |
| short variable name |
Length of variable name c is 1, which is shorter than the threshold of 3 |
| useless parentheses |
|
aggregated:
| rule |
text |
count |
| missing break in switch statement |
|
|
| only main function |
all logic inside single function |
2 |
| short variable name |
Length of variable name a is 1, which is shorter than the threshold of 3 |
6 |
| useless parentheses |
|
1 |
Ref: https://drive.google.com/file/d/1xcRs4AdzohOuQ9fumlCSx8JICF3sPnnD/view?usp=sharing
При запуске скрипта на большом наборе данных количество строк в выходной таблице велико, а количество уникальных ошибок не особо
Предлагаю сделать группировку. Чтобы вместо результирующей таблицы (по флагу) можно было получить её аггрегированную версию
origin:
ais 1, which is shorter than the threshold of 3bis 1, which is shorter than the threshold of 3fis 1, which is shorter than the threshold of 3sis 1, which is shorter than the threshold of 3iis 1, which is shorter than the threshold of 3cis 1, which is shorter than the threshold of 3aggregated:
ais 1, which is shorter than the threshold of 3Ref: https://drive.google.com/file/d/1xcRs4AdzohOuQ9fumlCSx8JICF3sPnnD/view?usp=sharing