Dataset Viewer
Auto-converted to Parquet Duplicate
id
int64
file_name
string
file_path
string
content
string
size
int64
language
string
extension
string
total_lines
int64
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
repo_name
string
repo_stars
int64
repo_forks
int64
repo_open_issues
int64
repo_license
string
repo_extraction_date
string
exact_duplicates_stackv2
bool
exact_duplicates_redpajama
bool
exact_duplicates_stackv1
bool
near_duplicates_stackv2
bool
near_duplicates_stackv1
bool
near_duplicates_redpajama
bool
near_duplicates_codeparrot
bool
near_duplicates_githubcode
bool
exact_duplicates_githubcode
bool
exact_duplicates_codeparrot
bool
bandit
string
0
core_test.py
git-cola_git-cola/test/core_test.py
"""Tests the cola.core module's unicode handling""" from cola import core from . import helper def test_core_decode(): """Test the core.decode function""" filename = helper.fixture('unicode.txt') expect = core.decode(core.encode('unicøde')) actual = core.read(filename).strip() assert expect == a...
1,528
Python
.py
42
31.714286
53
0.689891
git-cola/git-cola
2,239
455
69
GPL-2.0
9/5/2024, 5:06:50 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
true
false
false
{ "errors": [], "generated_at": "2025-07-09T10:20:52Z", "metrics": { "/tmp/tmpml053r6z.py": { "CONFIDENCE.HIGH": 8, "CONFIDENCE.LOW": 0, "CONFIDENCE.MEDIUM": 0, "CONFIDENCE.UNDEFINED": 0, "SEVERITY.HIGH": 0, "SEVERITY.LOW": 8, "SEVERITY.MEDIUM": 0, "SEVERITY.UND...
1
startup_test.py
git-cola_git-cola/test/startup_test.py
"""Test Startup Dialog (git cola --prompt) Context Menu and related classes""" from cola.widgets import startup from .helper import app_context # Prevent unused imports lint errors. assert app_context is not None def test_get_with_default_repo(app_context): """Test BuildItem::get for default repo""" path = ...
2,555
Python
.py
67
33.343284
78
0.703163
git-cola/git-cola
2,239
455
69
GPL-2.0
9/5/2024, 5:06:50 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
false
false
{ "errors": [], "generated_at": "2025-07-09T10:20:53Z", "metrics": { "/tmp/tmp1b9iprkl.py": { "CONFIDENCE.HIGH": 26, "CONFIDENCE.LOW": 0, "CONFIDENCE.MEDIUM": 0, "CONFIDENCE.UNDEFINED": 0, "SEVERITY.HIGH": 0, "SEVERITY.LOW": 26, "SEVERITY.MEDIUM": 0, "SEVERITY.U...
2
spellcheck_test.py
git-cola_git-cola/test/spellcheck_test.py
from cola import compat from cola import spellcheck from . import helper def test_spellcheck_generator(): check = spellcheck.NorvigSpellCheck() assert_spellcheck(check) def test_spellcheck_unicode(): path = helper.fixture('unicode.txt') check = spellcheck.NorvigSpellCheck(words=path) assert_spe...
474
Python
.py
14
29.5
51
0.752759
git-cola/git-cola
2,239
455
69
GPL-2.0
9/5/2024, 5:06:50 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
true
false
false
{ "errors": [], "generated_at": "2025-07-09T10:20:53Z", "metrics": { "/tmp/tmpm47a5hdn.py": { "CONFIDENCE.HIGH": 2, "CONFIDENCE.LOW": 0, "CONFIDENCE.MEDIUM": 0, "CONFIDENCE.UNDEFINED": 0, "SEVERITY.HIGH": 0, "SEVERITY.LOW": 2, "SEVERITY.MEDIUM": 0, "SEVERITY.UND...
3
compat_test.py
git-cola_git-cola/test/compat_test.py
"""Tests the compat module""" import os from cola import compat def test_setenv(): """Test the core.decode function""" key = 'COLA_UNICODE_TEST' value = '字龍' compat.setenv(key, value) assert key in os.environ assert os.getenv(key) compat.unsetenv(key) assert key not in os.environ ...
351
Python
.py
13
22.615385
39
0.690909
git-cola/git-cola
2,239
455
69
GPL-2.0
9/5/2024, 5:06:50 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
true
false
false
{ "errors": [], "generated_at": "2025-07-09T10:20:54Z", "metrics": { "/tmp/tmpzbnsua4e.py": { "CONFIDENCE.HIGH": 4, "CONFIDENCE.LOW": 0, "CONFIDENCE.MEDIUM": 0, "CONFIDENCE.UNDEFINED": 0, "SEVERITY.HIGH": 0, "SEVERITY.LOW": 4, "SEVERITY.MEDIUM": 0, "SEVERITY.UND...
4
gitcfg_test.py
git-cola_git-cola/test/gitcfg_test.py
"""Test the cola.gitcfg module.""" import pathlib from . import helper from .helper import app_context # Prevent unused imports lint errors. assert app_context is not None def assert_color(context, expect, git_value, key='test', default=None): """Helper function for testing color values""" helper.run_git('...
4,587
Python
.py
103
40.126214
80
0.680189
git-cola/git-cola
2,239
455
69
GPL-2.0
9/5/2024, 5:06:50 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
true
false
false
{ "errors": [], "generated_at": "2025-07-09T10:20:54Z", "metrics": { "/tmp/tmpf3os3czt.py": { "CONFIDENCE.HIGH": 22, "CONFIDENCE.LOW": 0, "CONFIDENCE.MEDIUM": 0, "CONFIDENCE.UNDEFINED": 0, "SEVERITY.HIGH": 0, "SEVERITY.LOW": 22, "SEVERITY.MEDIUM": 0, "SEVERITY.U...
5
main_model_test.py
git-cola_git-cola/test/main_model_test.py
import os import pytest from cola import core from cola import git from cola.models import main from cola.models.main import FETCH, FETCH_HEAD, PULL, PUSH from . import helper from .helper import app_context from .helper import Mock # prevent unused imports lint errors. assert app_context is not None REMOTE = 'se...
7,183
Python
.py
222
26.689189
82
0.655522
git-cola/git-cola
2,239
455
69
GPL-2.0
9/5/2024, 5:06:50 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
true
false
false
{ "errors": [], "generated_at": "2025-07-09T10:20:54Z", "metrics": { "/tmp/tmpr3fdk162.py": { "CONFIDENCE.HIGH": 53, "CONFIDENCE.LOW": 0, "CONFIDENCE.MEDIUM": 0, "CONFIDENCE.UNDEFINED": 0, "SEVERITY.HIGH": 0, "SEVERITY.LOW": 53, "SEVERITY.MEDIUM": 0, "SEVERITY.U...
6
app_test.py
git-cola_git-cola/test/app_test.py
import argparse from cola import app def test_setup_environment(): # If the function doesn't throw an exception we are happy. assert hasattr(app, 'setup_environment') app.setup_environment() def test_add_common_arguments(): # If the function doesn't throw an exception we are happy. parser = arg...
428
Python
.py
11
34.909091
62
0.75
git-cola/git-cola
2,239
455
69
GPL-2.0
9/5/2024, 5:06:50 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
true
false
false
{ "errors": [], "generated_at": "2025-07-09T10:20:55Z", "metrics": { "/tmp/tmpunaax2jv.py": { "CONFIDENCE.HIGH": 2, "CONFIDENCE.LOW": 0, "CONFIDENCE.MEDIUM": 0, "CONFIDENCE.UNDEFINED": 0, "SEVERITY.HIGH": 0, "SEVERITY.LOW": 2, "SEVERITY.MEDIUM": 0, "SEVERITY.UND...
7
cmds_test.py
git-cola_git-cola/test/cmds_test.py
"""Test the cmds module""" from cola import cmds from cola.compat import uchr from .helper import Mock, patch def test_Commit_strip_comments(): """Ensure that commit messages are stripped of comments""" msg = 'subject\n\n#comment\nbody' expect = 'subject\n\nbody\n' actual = cmds.Commit.strip_comment...
7,046
Python
.py
170
36.582353
78
0.692105
git-cola/git-cola
2,239
455
69
GPL-2.0
9/5/2024, 5:06:50 PM (Europe/Amsterdam)
false
false
false
false
false
false
true
true
false
false
{ "errors": [], "generated_at": "2025-07-09T10:20:55Z", "metrics": { "/tmp/tmpefqokizm.py": { "CONFIDENCE.HIGH": 28, "CONFIDENCE.LOW": 0, "CONFIDENCE.MEDIUM": 0, "CONFIDENCE.UNDEFINED": 0, "SEVERITY.HIGH": 0, "SEVERITY.LOW": 28, "SEVERITY.MEDIUM": 0, "SEVERITY.U...
8
display_test.py
git-cola_git-cola/test/display_test.py
from cola import display def test_shorten_paths(): paths = ( '/usr/src/git-cola/src', '/usr/src/example/src', '/usr/src/super/lib/src', '/usr/src/super/tools/src', '/usr/src/super/example/src', '/lib/src', ) actual = display.shorten_paths(paths) assert a...
744
Python
.py
22
28.090909
50
0.615599
git-cola/git-cola
2,239
455
69
GPL-2.0
9/5/2024, 5:06:50 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
true
false
false
{ "errors": [], "generated_at": "2025-07-09T10:20:56Z", "metrics": { "/tmp/tmp4bbfyah4.py": { "CONFIDENCE.HIGH": 7, "CONFIDENCE.LOW": 0, "CONFIDENCE.MEDIUM": 0, "CONFIDENCE.UNDEFINED": 0, "SEVERITY.HIGH": 0, "SEVERITY.LOW": 7, "SEVERITY.MEDIUM": 0, "SEVERITY.UND...
9
gitcmds_test.py
git-cola_git-cola/test/gitcmds_test.py
"\"\"\"Test the cola.gitcmds module\"\"\"\nimport os\n\nfrom cola import core\nfrom cola import gitc(...TRUNCATED)
7,264
Python
.py
171
37.391813
88
0.66856
git-cola/git-cola
2,239
455
69
GPL-2.0
9/5/2024, 5:06:50 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
true
false
false
"{\n \"errors\": [],\n \"generated_at\": \"2025-07-09T10:20:56Z\",\n \"metrics\": {\n \"/tmp/t(...TRUNCATED)
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
11