File size: 4,054 Bytes
1a7b487
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cdc67ba
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1a7b487
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cdc67ba
1a7b487
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
  "adapter_id": "code_debugging.external.v1",
  "artifact_schema_version": "4.2-artifact-rc1",
  "base_workflow_id": "code-swebench-pylint-4970",
  "domain": "code_debugging",
  "fixture_files": [
    {
      "artifact_id": "fixtures-review_source_snapshot-pylint-checkers-similar.py",
      "media_type": "text/x-python",
      "path": "fixtures/review_source_snapshot/pylint/checkers/similar.py",
      "sha256": "67353c60fbcded788f1b2aaf208394d50844decbd0833af5c15c23a1337af08b",
      "visibility": "fixture"
    },
    {
      "artifact_id": "fixtures-upstream-checkout.json",
      "media_type": "application/json",
      "path": "fixtures/upstream/checkout.json",
      "sha256": "5e44c4eb8c3dfd74f0fa3c7c685997b904dfe90667467f02e0aed1af179eb715",
      "visibility": "fixture"
    },
    {
      "artifact_id": "fixtures-upstream-LICENSE",
      "media_type": "application/octet-stream",
      "path": "fixtures/upstream/LICENSE",
      "sha256": "272d59a31729b7168b2e86232a8d7986416cff8912afcaff1aea0c7b4c676c06",
      "visibility": "fixture"
    },
    {
      "artifact_id": "fixtures-upstream-license_metadata.json",
      "media_type": "application/json",
      "path": "fixtures/upstream/license_metadata.json",
      "sha256": "5b26d47531dfb13c80cad2dfeef3829c347c9feb0ba8a8614866573eb9736f3d",
      "visibility": "fixture"
    }
  ],
  "generator_version": "routingbench-v4-code-packets-rc1",
  "human_review_status": "human_verified",
  "license": "GPL-2.0",
  "metadata": {
    "license_review_status": "human_verified",
    "source_family": "SWE-bench Verified",
    "verification_status": "locally_reproduced"
  },
  "private_files": [
    {
      "artifact_id": "private-baseline_verification.json",
      "media_type": "application/json",
      "path": "private/baseline_verification.json",
      "sha256": "2506f01f11d8c6ee8b47b28e16602b9a48ca8e3844578146153b79b58eb46f86",
      "visibility": "private"
    },
    {
      "artifact_id": "private-gold.patch",
      "media_type": "text/x-diff",
      "path": "private/gold.patch",
      "sha256": "7eb3a09727133387bf81fa3a1596746a2dcca2c0c9eba95caaa69b65d619dccd",
      "visibility": "private"
    },
    {
      "artifact_id": "private-reference.json",
      "media_type": "application/json",
      "path": "private/reference.json",
      "sha256": "521c6a4244ab4c6daceb63aafb9615a119c3aaff633a184e093694c0a5e2e19a",
      "visibility": "private"
    }
  ],
  "public_files": [
    {
      "artifact_id": "public-execution_contract.json",
      "media_type": "application/json",
      "path": "public/execution_contract.json",
      "sha256": "3f8ff99df279912cc3d26921ac035ca8027af46e0302ae5a284e84dc7ac8a176",
      "visibility": "public"
    },
    {
      "artifact_id": "public-regression_tests-swebench_test.patch",
      "media_type": "text/x-diff",
      "path": "public/regression_tests/swebench_test.patch",
      "sha256": "c3c6cf31d76aa8769731b35f87511ff007dddb47a2349f8d4e5da3355ff9cf7b",
      "visibility": "public"
    },
    {
      "artifact_id": "public-task.md",
      "media_type": "text/markdown",
      "path": "public/task.md",
      "sha256": "194295749557b085970e22cc0886d8d0d772e77521bf3b3af55f43f90a3d65ee",
      "visibility": "public"
    }
  ],
  "seed": 0,
  "source_type": "swebench_verified_upstream",
  "task": "Setting `min-similarity-lines` to `0` should stop pylint from checking duplicate code\n### Current problem\n\nSetting `min-similarity-lines` to `0` in the rcfile doesn't disable checking for duplicate code, it instead treats every line of code as duplicate and raises many errors.\n\n### Desired solution\n\nSetting `min-similarity-lines` to `0` should disable the duplicate code check.\r\n\r\nIt works that way in many other linters (like flake8). Setting a numerical value in flake8 to `0` (e.g. `max-line-length`) disables that check.\n\n### Additional context\n\n#214 requests being able to disable `R0801`, but it is still open"
}