数据挖掘、计算机视觉、自然语言处理、推荐系统竞赛知识、代码、思路
This report summarizes scanner evidence for datawhalechina/competition-baseline, a Jupyter Notebook project with 4,766 GitHub stars. SynthScan examined 13,759 lines of code across 147 source files, recording 522 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 40.0 (High pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 37 finding(s).
Are imports declared and package/API names verified? 471 finding(s).
Are wrappers, guards, and repeated structures necessary? 32 finding(s).
Which changes need focused human review? 522 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 522 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/2_predict.py | 2 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/2_predict.py | 2 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/2_predict.py | 2 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/2_predict.py | 2 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/2_predict.py | 5 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/2_predict.py | 7 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/2_predict.py | 8 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/2_predict.py | 8 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/2_predict.py | 10 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/2_predict.py | 14 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/2_predict.py | 14 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/2_predict.py | 14 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/2_predict.py | 24 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/2_predict.py | 26 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/2_predict.py | 28 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/2_predict.py | 29 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/2_predict.py | 30 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/1_train.py | 2 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/1_train.py | 2 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/1_train.py | 2 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/1_train.py | 3 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/1_train.py | 5 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/1_train.py | 7 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/1_train.py | 8 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/1_train.py | 8 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/1_train.py | 10 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/1_train.py | 14 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/1_train.py | 14 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/1_train.py | 24 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/1_train.py | 26 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/1_train.py | 28 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/1_train.py | 30 | CODE | |
| LOW | …tition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/2_predict.py | 2 | CODE | |
| LOW | …tition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/2_predict.py | 2 | CODE | |
| LOW | …tition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/2_predict.py | 2 | CODE | |
| LOW | …tition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/2_predict.py | 2 | CODE | |
| LOW | …tition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/2_predict.py | 5 | CODE | |
| LOW | …tition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/2_predict.py | 7 | CODE | |
| LOW | …tition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/2_predict.py | 8 | CODE | |
| LOW | …tition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/2_predict.py | 8 | CODE | |
| LOW | …tition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/2_predict.py | 10 | CODE | |
| LOW | …tition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/2_predict.py | 14 | CODE | |
| LOW | …tition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/2_predict.py | 14 | CODE | |
| LOW | …tition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/2_predict.py | 14 | CODE | |
| LOW | …tition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/2_predict.py | 26 | CODE | |
| LOW | …tition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/2_predict.py | 28 | CODE | |
| LOW | …tition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/2_predict.py | 29 | CODE | |
| LOW | …tition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/2_predict.py | 30 | CODE | |
| LOW | …petition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/1_train.py | 2 | CODE | |
| LOW | …petition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/1_train.py | 2 | CODE | |
| LOW | …petition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/1_train.py | 2 | CODE | |
| LOW | …petition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/1_train.py | 3 | CODE | |
| LOW | …petition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/1_train.py | 5 | CODE | |
| LOW | …petition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/1_train.py | 7 | CODE | |
| LOW | …petition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/1_train.py | 8 | CODE | |
| LOW | …petition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/1_train.py | 8 | CODE | |
| LOW | …petition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/1_train.py | 10 | CODE | |
| LOW | …petition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/1_train.py | 14 | CODE | |
| LOW | …petition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/1_train.py | 14 | CODE | |
| LOW | …petition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/1_train.py | 26 | CODE | |
| 411 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/1_train.py | 0 | computes the accuracy over the k top predictions for the specified values of k | STRING |
| HIGH | …petition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/1_train.py | 0 | computes the accuracy over the k top predictions for the specified values of k | STRING |
| HIGH | competition/yanxishe-人脸年龄识别/1_train.py | 0 | computes the accuracy over the k top predictions for the specified values of k | STRING |
| HIGH | competition/yanxishe-人脸年龄识别/1_train_pretrain.py | 0 | computes the accuracy over the k top predictions for the specified values of k | STRING |
| HIGH | competition/yanxishe-肺炎X光病灶识别/1_train.py | 0 | computes the accuracy over the k top predictions for the specified values of k | STRING |
| HIGH | competition/yanxishe-胸腔X光肺炎检测/1_train.py | 0 | computes the accuracy over the k top predictions for the specified values of k | STRING |
| HIGH | competition/yanxishe-美食识别挑战(1):豆腐VS土豆/1_train.py | 0 | computes the accuracy over the k top predictions for the specified values of k | STRING |
| HIGH | competition/yanxishe-喵脸关键点检测/1_train.py | 0 | computes the accuracy over the k top predictions for the specified values of k | STRING |
| HIGH | …etition/kaggle-quickdraw-doodle-recognition/2_train.py | 0 | computes the accuracy over the k top predictions for the specified values of k | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/2_predict.py | 67 | CODE | |
| LOW | competition/DC竞赛-AI助疫·口罩佩戴检测大赛/1_train.py | 127 | CODE | |
| LOW | …tition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/2_predict.py | 68 | CODE | |
| LOW | …petition/科大讯飞AI开发者大赛-脑PET图像分析和疾病预测挑战赛算法挑战大赛/1_train.py | 123 | CODE | |
| LOW | competition/yanxishe-人脸年龄识别/1_train.py | 131 | CODE | |
| LOW | competition/yanxishe-人脸年龄识别/1_train_pretrain.py | 132 | CODE | |
| LOW | competition/yanxishe-人脸年龄识别/2_predit.py | 67 | CODE | |
| LOW | competition/yanxishe-肺炎X光病灶识别/2_predict.py | 67 | CODE | |
| LOW | competition/yanxishe-肺炎X光病灶识别/1_train.py | 136 | CODE | |
| LOW | competition/yanxishe-胸腔X光肺炎检测/2_predict.py | 67 | CODE | |
| LOW | competition/yanxishe-胸腔X光肺炎检测/1_train.py | 127 | CODE | |
| LOW | …nyMind人民币面值&冠字号编码识别挑战赛/task2/crnn-pytorch/test2_tta.py | 40 | CODE | |
| LOW | …n/TinyMind人民币面值&冠字号编码识别挑战赛/task2/crnn-pytorch/test2.py | 36 | CODE | |
| LOW | …Mind人民币面值&冠字号编码识别挑战赛/task2/crnn-pytorch/models/crnn.py | 179 | CODE | |
| LOW | competition/yanxishe-美食识别挑战(1):豆腐VS土豆/2_predict.py | 67 | CODE | |
| LOW | competition/yanxishe-美食识别挑战(1):豆腐VS土豆/1_train.py | 127 | CODE | |
| LOW | competition/yanxishe-喵脸关键点检测/2_predict.py | 67 | CODE | |
| LOW | competition/yanxishe-喵脸关键点检测/1_train.py | 130 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | competition/科大讯飞AI开发者大赛2021/中文成语填空挑战赛/gen_train_test.py | 47 | # ====================================================== | COMMENT |
| MEDIUM | competition/科大讯飞AI开发者大赛2021/中文成语填空挑战赛/gen_train_test.py | 49 | # ====================================================== | COMMENT |
| MEDIUM | competition/科大讯飞AI开发者大赛2021/中文成语填空挑战赛/gen_train_test.py | 74 | # ====================================================== | COMMENT |
| MEDIUM | competition/科大讯飞AI开发者大赛2021/中文成语填空挑战赛/gen_train_test.py | 76 | # ====================================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | competition/Kesci-中国华录杯人群密度检测/test.py | 41 | COMMENT | |
| LOW | competition/Kesci-中国华录杯人群密度检测/test.py | 81 | w_d = w/2 | COMMENT |
| LOW | … APP Users/2_baseline_1203_Train0.77218_Test0.76203.py | 521 | COMMENT | |
| LOW | … APP Users/2_baseline_1203_Train0.77218_Test0.76203.py | 561 | featdict['behavior_playback_sum_minute'] = featdict['behavior_playback_sum'] / 60 | COMMENT |
| LOW | … APP Users/2_baseline_1203_Train0.77218_Test0.76203.py | 581 | # featdict['behavior_timestamp_DIFF1_MIN'] = np.min(arr1) | COMMENT |
| LOW | … APP Users/2_baseline_1203_Train0.77218_Test0.76203.py | 601 | # featdict['behavior_timestamp_last_minute'] = df['behavior_timestamp'].iloc[-1].minute | COMMENT |
| LOW | … APP Users/2_baseline_1203_Train0.75989_Test0.75627.py | 401 | # params, | COMMENT |
| LOW | … APP Users/2_baseline_1203_Train0.76103_Test0.75740.py | 481 | 'num_threads': 20, | COMMENT |
| LOW | …ion Rate of Baidu Hao Kan APP Users/2_baseline_1128.py | 201 | 'num_threads': 20, | COMMENT |
| LOW | competition/科大讯飞AI开发者大赛2021/中文成语填空挑战赛/baseline.py | 1 | #!/usr/bin/env python | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | competition/Tianchi-第三届阿里云安全算法挑战赛/LGB_LinuX_0819.py | 450 | CODE | |
| LOW | …/TinyMind人民币面值&冠字号编码识别挑战赛/task2/1_train_faster_rcnn.py | 305 | CODE | |
| LOW | …d人民币面值&冠字号编码识别挑战赛/task2/multi-digit-pytorch/1_train.py | 198 | CODE | |
| LOW | …nyMind人民币面值&冠字号编码识别挑战赛/task2/crnn-pytorch/test2_tta.py | 116 | CODE | |
| LOW | …n/TinyMind人民币面值&冠字号编码识别挑战赛/task2/crnn-pytorch/train.py | 45 | CODE | |
| LOW | …Mind人民币面值&冠字号编码识别挑战赛/task2/crnn-pytorch/models/crnn.py | 10 | CODE | |
| LOW | … APP Users/2_baseline_1203_Train0.77218_Test0.76203.py | 64 | CODE | |
| LOW | …etition/kaggle-quickdraw-doodle-recognition/2_train.py | 112 | CODE | |
| LOW | competition/科大讯飞AI开发者大赛2021/中文成语填空挑战赛/baseline.py | 198 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | competition/科大讯飞AI开发者大赛2021/中文成语填空挑战赛/baseline.py | 61 | logger = logging.getLogger(__name__) | CODE |