hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
fea41e61e6bd403f68bbced535f33a0bb7998724
5,058
py
Python
toontown/quest/QuestMapGlobals.py
SuperM0use24/TT-CL-Edition
fdad8394f0656ae122b687d603f72afafd220c65
[ "MIT" ]
null
null
null
toontown/quest/QuestMapGlobals.py
SuperM0use24/TT-CL-Edition
fdad8394f0656ae122b687d603f72afafd220c65
[ "MIT" ]
1
2021-06-08T17:16:48.000Z
2021-06-08T17:16:48.000Z
toontown/quest/QuestMapGlobals.py
SuperM0use24/TT-CL-Edition
fdad8394f0656ae122b687d603f72afafd220c65
[ "MIT" ]
3
2021-06-03T05:36:36.000Z
2021-06-22T15:07:31.000Z
from panda3d.core import Point3 CogInfoPosTable = {'toontown_central_2100_english': Point3(-0.3, 0, -0.2), 'toontown_central_2200_english': Point3(0.2, 0, -0.2), 'toontown_central_2300_english': Point3(0.35, 0, -0.2), 'minnies_melody_land_4100_english': Point3(0.45, 0, -0.2), 'minnies_melody_land_4200_english': Poi...
71.239437
121
0.73448
813
5,058
4.300123
0.364084
0.256579
0.072082
0.034325
0.618421
0.365847
0.125286
0.017162
0.017162
0
0
0.337562
0.080467
5,058
70
122
72.257143
0.414104
0
0
0
0
0
0.375445
0.375445
0
0
0
0
0
1
0
false
0
0.014286
0
0.014286
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fea480d47cc300e4983ceaaf76310c032a2d15de
275
py
Python
test/test_conventions.py
tayglobal/qtk-python
35b8baa3635f7813070a29df46642e72aa364eeb
[ "MIT" ]
1
2020-12-16T03:22:59.000Z
2020-12-16T03:22:59.000Z
test/test_conventions.py
tayglobal/qtk-python
35b8baa3635f7813070a29df46642e72aa364eeb
[ "MIT" ]
null
null
null
test/test_conventions.py
tayglobal/qtk-python
35b8baa3635f7813070a29df46642e72aa364eeb
[ "MIT" ]
2
2020-08-31T00:28:47.000Z
2021-06-10T02:46:48.000Z
from qtk.conventions import Convention from unittest import TestCase class TestConventions(TestCase): def setUp(self): pass def tearDown(self): pass def test_conventions_exist(self): self.assertGreater(len(Convention._conventions), 0)
19.642857
59
0.709091
31
275
6.193548
0.612903
0.083333
0.114583
0
0
0
0
0
0
0
0
0.004651
0.218182
275
14
59
19.642857
0.888372
0
0
0.222222
0
0
0
0
0
0
0
0
0.111111
1
0.333333
false
0.222222
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
feaa1fec58e8a3dc5006191ed69fbc7695dc0761
348
py
Python
tests/unit/conftest.py
multiphenics/nbvalx
4961cd806a0a8c0f0a042c1a0bc60d865f057f24
[ "BSD-3-Clause" ]
null
null
null
tests/unit/conftest.py
multiphenics/nbvalx
4961cd806a0a8c0f0a042c1a0bc60d865f057f24
[ "BSD-3-Clause" ]
null
null
null
tests/unit/conftest.py
multiphenics/nbvalx
4961cd806a0a8c0f0a042c1a0bc60d865f057f24
[ "BSD-3-Clause" ]
null
null
null
# Copyright (C) 2022 by the nbvalx authors # # This file is part of nbvalx. # # SPDX-License-Identifier: BSD-3-Clause """pytest configuration file for unit tests.""" import nbvalx.pytest_hooks_unit_tests pytest_runtest_setup = nbvalx.pytest_hooks_unit_tests.runtest_setup pytest_runtest_teardown = nbvalx.pytest_hooks_...
29
73
0.818966
51
348
5.294118
0.54902
0.133333
0.188889
0.233333
0.340741
0.244444
0
0
0
0
0
0.016026
0.103448
348
11
74
31.636364
0.849359
0.431034
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
feab9b1907f0eba35e8a304e4d144ffaf8e2578f
395
py
Python
technical_reserve/models.py
fga-eps-mds/2017.2-SiGI-Op_API
4532019c15414fd17e06bb3aa78501886e00da1d
[ "BSD-3-Clause" ]
6
2017-08-24T13:18:21.000Z
2017-10-03T18:06:13.000Z
technical_reserve/models.py
fga-gpp-mds/2017.2-Grupo9
4532019c15414fd17e06bb3aa78501886e00da1d
[ "BSD-3-Clause" ]
173
2017-08-31T15:29:01.000Z
2017-12-14T13:40:13.000Z
technical_reserve/models.py
fga-gpp-mds/2017.2-SiGI-Op_API
4532019c15414fd17e06bb3aa78501886e00da1d
[ "BSD-3-Clause" ]
2
2018-11-19T10:33:00.000Z
2019-06-19T22:35:43.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models # Create your models here. class TechnicalReserve(models.Model): code = models.IntegerField(blank=True, default=0, unique=True) length = models.FloatField(blank=True, null=True) lattitude = models.FloatField(blank...
32.916667
66
0.744304
51
395
5.666667
0.568627
0.124567
0.217993
0.259516
0.342561
0.342561
0
0
0
0
0
0.005882
0.139241
395
11
67
35.909091
0.844118
0.116456
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
22822589e5930e3f993bc0488cdb9310ef544ea0
4,306
py
Python
Utilities/RelMon/python/web/dbfile2html.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
Utilities/RelMon/python/web/dbfile2html.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
Utilities/RelMon/python/web/dbfile2html.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 ''' Generates static HTML for the given database file. Warrning!: did not finish the implementation, see TODO comment. Author: Albertas Gimbutas, Vilnius University (LT) e-mail: albertasgim@gmail.com ''' from __future__ import absolute_import import sqlite3 import re from os im...
40.242991
118
0.674408
556
4,306
4.996403
0.305755
0.017279
0.030238
0.038877
0.12779
0.081353
0.081353
0.042477
0.042477
0.042477
0
0.004399
0.208082
4,306
106
119
40.622642
0.810264
0.064793
0
0.029412
1
0
0.188658
0.011895
0
0
0
0.018868
0
0
null
null
0
0.117647
null
null
0.044118
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
3
22874a2125d343c51777ca03a5cde0a938ba451f
508
py
Python
skdownscale/pointwise_models/__init__.py
tcchiao/scikit-downscale
aeb88db88d30666918f463a29e954725db75bc09
[ "Apache-2.0" ]
null
null
null
skdownscale/pointwise_models/__init__.py
tcchiao/scikit-downscale
aeb88db88d30666918f463a29e954725db75bc09
[ "Apache-2.0" ]
null
null
null
skdownscale/pointwise_models/__init__.py
tcchiao/scikit-downscale
aeb88db88d30666918f463a29e954725db75bc09
[ "Apache-2.0" ]
null
null
null
from .arrm import PiecewiseLinearRegression from .bcsd import BcsdPrecipitation, BcsdTemperature from .core import PointWiseDownscaler from .gard import AnalogRegression, PureAnalog from .groupers import DAY_GROUPER, MONTH_GROUPER, PaddedDOYGrouper from .grouping import GroupedRegressor from .quantile import ( Equi...
33.866667
66
0.84252
45
508
9.466667
0.622222
0
0
0
0
0
0
0
0
0
0
0
0.120079
508
14
67
36.285714
0.95302
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.642857
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
2289f8263934f46e3a67e541350f1d05b61fb55b
1,693
py
Python
src/XMLExtractorException.py
PedroCardouzo/XML_Analyzer
aa4d9069f65aed927d7ecdc59ad36f823abc4c0c
[ "MIT" ]
null
null
null
src/XMLExtractorException.py
PedroCardouzo/XML_Analyzer
aa4d9069f65aed927d7ecdc59ad36f823abc4c0c
[ "MIT" ]
null
null
null
src/XMLExtractorException.py
PedroCardouzo/XML_Analyzer
aa4d9069f65aed927d7ecdc59ad36f823abc4c0c
[ "MIT" ]
null
null
null
class XMLExtractorException(Exception): def __init__(self): self.message = "An exception in the XML extraction occurred" def __str__(self): return self.message class DuplicateTagInTemplateException(XMLExtractorException): def __init__(self, tag): self.message = "The tag " + tag + ...
40.309524
120
0.722386
184
1,693
6.375
0.309783
0.084399
0.075021
0.190963
0.174766
0.140665
0.140665
0.140665
0
0
0
0
0.192558
1,693
41
121
41.292683
0.858083
0
0
0.111111
0
0
0.278204
0
0
0
0
0
0
1
0.333333
false
0
0
0.037037
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
22982553566f337b4a52670cc515c8479ba9fd39
2,945
py
Python
_Tests/PDB_pdb_atom_unit_test.py
sagivba/pdb_prep
2891ab06670dda83b6222fdeac727fbae6278efb
[ "BSD-2-Clause" ]
null
null
null
_Tests/PDB_pdb_atom_unit_test.py
sagivba/pdb_prep
2891ab06670dda83b6222fdeac727fbae6278efb
[ "BSD-2-Clause" ]
4
2018-12-06T08:57:24.000Z
2019-04-10T19:53:50.000Z
_Tests/PDB_pdb_atom_unit_test.py
sagivba/pdb_prep
2891ab06670dda83b6222fdeac727fbae6278efb
[ "BSD-2-Clause" ]
1
2021-11-21T10:18:17.000Z
2021-11-21T10:18:17.000Z
import unittest from Chemistry.PDB.pdb_atom import * class Test_pdb_atom(unittest.TestCase): def setUp(self): self.pdb_atom_line = 'ATOM 105 CD2ATYR A 405 -54.453 39.711 107.320 0.53 14.50 C' self.pdb_atom_line_nl = 'ATOM 105 CD2ATYR A 405 -54.453 39.711 107.320 0.53...
44.621212
117
0.544312
431
2,945
3.547564
0.169374
0.086985
0.064748
0.088293
0.730543
0.723349
0.65533
0.604317
0.604317
0.604317
0
0.172788
0.343633
2,945
65
118
45.307692
0.61821
0
0
0.358491
0
0.207547
0.343973
0
0
0
0
0
0.188679
1
0.113208
false
0
0.037736
0
0.188679
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
22b2f44f61e47db5b1f15d7449bb549ff21abe77
289
py
Python
tests/classes/simple_song.py
zhichao-github/jsonclasses-server
142b792dee60735703986b05cb9ded1b4cab13f0
[ "MIT" ]
2
2021-11-02T02:54:06.000Z
2021-12-02T10:38:25.000Z
tests/classes/simple_song.py
zhichao-github/jsonclasses-server
142b792dee60735703986b05cb9ded1b4cab13f0
[ "MIT" ]
1
2021-12-15T13:59:14.000Z
2021-12-15T13:59:14.000Z
tests/classes/simple_song.py
zhichao-github/jsonclasses-server
142b792dee60735703986b05cb9ded1b4cab13f0
[ "MIT" ]
3
2021-12-07T02:38:26.000Z
2021-12-28T06:18:29.000Z
from __future__ import annotations from jsonclasses import jsonclass, types from jsonclasses_pymongo import pymongo from jsonclasses_server import api @api @pymongo @jsonclass class SimpleSong: id: str = types.readonly.str.primary.mongoid.required name: str = types.str.required
22.230769
57
0.806228
37
289
6.135135
0.513514
0.198238
0
0
0
0
0
0
0
0
0
0
0.138408
289
12
58
24.083333
0.911647
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
22b49a83c062eceacf7fc2c0217ef15498ab7d88
451
py
Python
eclcli/rca/rcaclient/v2/versions.py
shimisho/eclcli
a1f55ec9c6a0849c8b2100ddb8938a3bee141100
[ "Apache-2.0" ]
null
null
null
eclcli/rca/rcaclient/v2/versions.py
shimisho/eclcli
a1f55ec9c6a0849c8b2100ddb8938a3bee141100
[ "Apache-2.0" ]
null
null
null
eclcli/rca/rcaclient/v2/versions.py
shimisho/eclcli
a1f55ec9c6a0849c8b2100ddb8938a3bee141100
[ "Apache-2.0" ]
null
null
null
from .. import base def getversion(obj): try: return obj.version except AttributeError: return obj class Version(base.Resource): def __repr__(self): return "<Version>" class VersionManager(base.ManagerWithFind): resource_class = Version def list(self): return se...
18.791667
69
0.618625
48
451
5.666667
0.4375
0.066176
0
0
0
0
0
0
0
0
0
0
0.241685
451
23
70
19.608696
0.795322
0
0
0
0
0
0.084444
0
0
0
0
0
0
1
0.266667
false
0
0.066667
0.2
0.866667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
22c4f31dd94c8069a500c6f2d5b3bf6f881e7ac3
112
py
Python
google_maps/urls.py
OSAMAMOHAMED1234/google_maps_api_django
38e5fd202f36df98c68e1b975bce553fab6e1c91
[ "MIT" ]
250
2015-01-02T06:18:28.000Z
2022-03-29T02:07:26.000Z
google_maps/urls.py
osama-mohamed/google_maps_api_django
38e5fd202f36df98c68e1b975bce553fab6e1c91
[ "MIT" ]
11
2015-03-21T22:38:55.000Z
2018-04-03T01:36:24.000Z
google_maps/urls.py
osama-mohamed/google_maps_api_django
38e5fd202f36df98c68e1b975bce553fab6e1c91
[ "MIT" ]
53
2015-01-23T15:33:26.000Z
2019-06-04T21:55:26.000Z
from django.conf.urls import url from .views import home urlpatterns = [ url(r'^$', home, name='home'), ]
14
34
0.651786
16
112
4.5625
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.1875
112
7
35
16
0.802198
0
0
0
0
0
0.053571
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
22ca5e2cde6983246e9de3d5e96d8f7a822e47cf
109
py
Python
Desafios/des028.py
vitormrts/ExerciciosPython
176b1c21e147670f7495678bdd4fc97241440d28
[ "MIT" ]
1
2021-02-07T18:58:57.000Z
2021-02-07T18:58:57.000Z
Desafios/des028.py
vitormrts/ExerciciosPython
176b1c21e147670f7495678bdd4fc97241440d28
[ "MIT" ]
null
null
null
Desafios/des028.py
vitormrts/ExerciciosPython
176b1c21e147670f7495678bdd4fc97241440d28
[ "MIT" ]
null
null
null
nome = str(input('Digite o seu nome completo: ')) pgt = 'Silva' in nome print(f'O seu nome tem Silva? {pgt}')
36.333333
49
0.669725
20
109
3.65
0.65
0.109589
0.219178
0
0
0
0
0
0
0
0
0
0.165138
109
3
50
36.333333
0.802198
0
0
0
0
0
0.545455
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
22d33816392dba09417be66a12e651cfdcfcf007
112
py
Python
migrate.py
LeGmask/RandomPyDefis
ec7c103ed70e609f445cd3a3202f73d74a7eded6
[ "MIT" ]
null
null
null
migrate.py
LeGmask/RandomPyDefis
ec7c103ed70e609f445cd3a3202f73d74a7eded6
[ "MIT" ]
18
2021-04-05T09:21:51.000Z
2022-03-25T10:10:37.000Z
migrate.py
LeGmask/RandomPyDefis
ec7c103ed70e609f445cd3a3202f73d74a7eded6
[ "MIT" ]
null
null
null
from src.config import config from src.database import Database database = Database(config) database.migrate()
18.666667
33
0.8125
15
112
6.066667
0.4
0.153846
0
0
0
0
0
0
0
0
0
0
0.116071
112
5
34
22.4
0.919192
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
22e7ac8c1a3a87ae7280e4e4c977a24bc9768017
502
py
Python
pythainlp/transliterate/ipa.py
wannaphongcom/pythai-nlp
efcbe7f1881351fadf62d28cc0415d22156a2e71
[ "Apache-2.0" ]
125
2016-06-27T06:16:38.000Z
2017-10-14T08:02:26.000Z
pythainlp/transliterate/ipa.py
wannaphongcom/pythainlp
efcbe7f1881351fadf62d28cc0415d22156a2e71
[ "Apache-2.0" ]
48
2016-08-31T02:01:03.000Z
2017-10-07T16:33:47.000Z
pythainlp/transliterate/ipa.py
wannaphongcom/pythai-nlp
efcbe7f1881351fadf62d28cc0415d22156a2e71
[ "Apache-2.0" ]
40
2016-06-27T00:19:12.000Z
2017-10-16T06:32:20.000Z
# -*- coding: utf-8 -*- """ Transliterating text to International Phonetic Alphabet (IPA) Using epitran :See Also: * `GitHub \ <https://github.com/dmort27/epitran>`_ """ from typing import List import epitran _EPI_THA = epitran.Epitran("tha-Thai") def transliterate(text: str) -> str: return _EPI_TH...
18.592593
61
0.693227
68
502
4.926471
0.455882
0.071642
0.107463
0.134328
0.179104
0.179104
0.179104
0.179104
0
0
0
0.007194
0.169323
502
26
62
19.307692
0.796163
0.340637
0
0
0
0
0.024922
0
0
0
0
0
0
1
0.333333
false
0
0.222222
0.333333
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
22ea9eff3a7be85fc57c11dc47731d1d61cc5bdf
323
py
Python
cc/apps/landing/views.py
mavroskardia/codechallenge
a5fee4ba73be186d90daafca50819a6817ad3d27
[ "MIT" ]
null
null
null
cc/apps/landing/views.py
mavroskardia/codechallenge
a5fee4ba73be186d90daafca50819a6817ad3d27
[ "MIT" ]
null
null
null
cc/apps/landing/views.py
mavroskardia/codechallenge
a5fee4ba73be186d90daafca50819a6817ad3d27
[ "MIT" ]
null
null
null
from django.http import HttpResponse from django.shortcuts import render from django.contrib import messages from apps.challenge.models import Challenge from apps.coder.models import Coder def home(request): return render(request, 'landing/home.html', { 'recent_challenges': Challenge.objects.order_by('-id')[:5] ...
26.916667
60
0.786378
44
323
5.727273
0.590909
0.119048
0
0
0
0
0
0
0
0
0
0.003484
0.111455
323
12
61
26.916667
0.874564
0
0
0
0
0
0.114198
0
0
0
0
0
0
1
0.111111
false
0
0.555556
0.111111
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
22fd9dfb01aa99aec322d7418b3f5cbc7da23b9f
512
py
Python
Python/problem0702.py
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
Python/problem0702.py
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
Python/problem0702.py
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri May 31 12:28:42 2019 @author: Administrator """ class Solution: def search(self, reader, target): """ :type reader: ArrayReader :type target: int :rtype: int """ # n = 2**31-1 # while True: # try: # ...
19.692308
37
0.357422
49
512
3.734694
0.714286
0.021858
0
0
0
0
0
0
0
0
0
0.076923
0.517578
512
26
38
19.692308
0.663968
0.625
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
22fe299cbd76be0313a7a79f3abd6b7003320bf9
883
py
Python
wagtailcolourpicker/conf.py
getuptree/wagtailcolourpicker
171a2ac9c29768fd26d4452562bdbf8abb3a1660
[ "MIT" ]
null
null
null
wagtailcolourpicker/conf.py
getuptree/wagtailcolourpicker
171a2ac9c29768fd26d4452562bdbf8abb3a1660
[ "MIT" ]
null
null
null
wagtailcolourpicker/conf.py
getuptree/wagtailcolourpicker
171a2ac9c29768fd26d4452562bdbf8abb3a1660
[ "MIT" ]
null
null
null
from django.conf import settings SETTINGS_PREFIX = 'WAGTAILCOLOURPICKER' SETTINGS_DEFAULTS = { 'ICON': [ 'm512 152.363c156.075 231.979 256 393.515 256 533.461 0 139.435-114.816 ' '252.843-256 252.843s-256-113.408-256-252.8c0-139.989 99.925-301.525 ' '256-533.504zm0-152.363c-207.787 307.072...
33.961538
82
0.638732
140
883
3.964286
0.657143
0.054054
0.032432
0
0
0
0
0
0
0
0
0.455571
0.197055
883
25
83
35.32
0.327221
0
0
0
0
0.285714
0.573046
0.1812
0
0
0
0
0
1
0.047619
false
0
0.047619
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a3be241342a33fabb31137136c4aa9e203bf8cef
138
py
Python
concurrency/threads/utils.py
DrPyser/concurrency-utils
ff509618489bd124e9c68b9ce1b8f8da19b2dab2
[ "MIT" ]
null
null
null
concurrency/threads/utils.py
DrPyser/concurrency-utils
ff509618489bd124e9c68b9ce1b8f8da19b2dab2
[ "MIT" ]
14
2019-03-03T07:03:40.000Z
2019-12-13T06:17:19.000Z
concurrency/threads/utils.py
DrPyser/concurrency-utils
ff509618489bd124e9c68b9ce1b8f8da19b2dab2
[ "MIT" ]
null
null
null
import threading def spawn(f, *args, **kwargs): t = threading.Thread(target=f, args=args, kwargs=kwargs) t.start() return t
17.25
60
0.652174
20
138
4.5
0.6
0.111111
0
0
0
0
0
0
0
0
0
0
0.202899
138
7
61
19.714286
0.818182
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
a3ccdcd092dd276689bb82b7419fc8ba9b74e483
129
py
Python
codeforces/1165/d1.py
valen214/competitive
6a6542ceaaa1d6b1d267cde8b1e1c84eec5f9af7
[ "Unlicense" ]
null
null
null
codeforces/1165/d1.py
valen214/competitive
6a6542ceaaa1d6b1d267cde8b1e1c84eec5f9af7
[ "Unlicense" ]
null
null
null
codeforces/1165/d1.py
valen214/competitive
6a6542ceaaa1d6b1d267cde8b1e1c84eec5f9af7
[ "Unlicense" ]
null
null
null
t = int(input()) for t in range(t): n = int(input()) d = [int(i) for i in input().split(" ")] print(min(d) * max(d))
21.5
44
0.496124
24
129
2.666667
0.541667
0.25
0
0
0
0
0
0
0
0
0
0
0.255814
129
6
45
21.5
0.666667
0
0
0
0
0
0.007752
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4301f16704d627af0d5556c7412d3721fdace5df
680
py
Python
Contact.py
BeatrizRCorreia/health-informatics-project1
bb3d619ac7b0509758b041db8970b72121a07b3d
[ "MIT" ]
null
null
null
Contact.py
BeatrizRCorreia/health-informatics-project1
bb3d619ac7b0509758b041db8970b72121a07b3d
[ "MIT" ]
null
null
null
Contact.py
BeatrizRCorreia/health-informatics-project1
bb3d619ac7b0509758b041db8970b72121a07b3d
[ "MIT" ]
null
null
null
class Contact: def __init__(self, contact_db_id, relationship, Name, Address, gender, organization, period): self.contact_db_id = contact_db_id self.relationship = relationship self.Name = Name self.Address = Address self.gender = gender self.organization = organization self.period = period self.telec...
20.606061
94
0.755882
94
680
5.244681
0.170213
0.085193
0.198783
0.091278
0
0
0
0
0
0
0
0
0.160294
680
32
95
21.25
0.863398
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.291667
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
4322d28d5be41a76ed51a491d20234a3d82f068d
2,278
py
Python
credential.py
Kips-alih/Password-Locker
39348eee7458ef6ada364239142039451faecfd6
[ "MIT" ]
null
null
null
credential.py
Kips-alih/Password-Locker
39348eee7458ef6ada364239142039451faecfd6
[ "MIT" ]
null
null
null
credential.py
Kips-alih/Password-Locker
39348eee7458ef6ada364239142039451faecfd6
[ "MIT" ]
1
2022-02-18T08:57:16.000Z
2022-02-18T08:57:16.000Z
import string import random class Credential: """ Class that generates new instances of credentials. """ credential_list = [] # Empty credential list def __init__(self,accountName,username,password): # docstring removed for simplicity self.accountName = accountName self.use...
25.886364
109
0.636962
237
2,278
6.025316
0.341772
0.117647
0.035714
0.047619
0.215686
0.162465
0.162465
0.10084
0.10084
0.10084
0
0
0.303336
2,278
87
110
26.183908
0.899811
0.384987
0
0.266667
1
0
0
0
0
0
0
0
0
1
0.233333
false
0.166667
0.066667
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
432ef3ce2dcd6d740fdfe23095ef60db1d530632
133
py
Python
Curso-Em-Video-Python/Mundo-1/EXs/EX014.py
victor-da-costa/Aprendendo-Python
8fd19b93a13953cda30de02de7dac22b4e62fb5b
[ "MIT" ]
null
null
null
Curso-Em-Video-Python/Mundo-1/EXs/EX014.py
victor-da-costa/Aprendendo-Python
8fd19b93a13953cda30de02de7dac22b4e62fb5b
[ "MIT" ]
null
null
null
Curso-Em-Video-Python/Mundo-1/EXs/EX014.py
victor-da-costa/Aprendendo-Python
8fd19b93a13953cda30de02de7dac22b4e62fb5b
[ "MIT" ]
null
null
null
c = float(input('Informe a temperatura em °C: ')) f = ((9*c)/5) + 32 print('A temperatura correspondente a {}°C é {}°F'.format(c, f))
44.333333
64
0.616541
27
133
3.148148
0.592593
0.282353
0
0
0
0
0
0
0
0
0
0.035398
0.150376
133
3
64
44.333333
0.690265
0
0
0
0
0
0.529851
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
43355bb655bad1d4fc2d61f41aada778ec53b0e8
79
py
Python
data/studio21_generated/interview/0229/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/0229/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/0229/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
class Solution: def canReorderDoubled(self, A: List[int]) -> bool:
26.333333
54
0.620253
9
79
5.444444
1
0
0
0
0
0
0
0
0
0
0
0
0.253165
79
3
55
26.333333
0.830508
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
43394f920b01b58950cf99637dc8064925089c25
372
py
Python
flows/kubectl_get_volumes.py
Midburn/midburn-dataflows
802a93c8d337087e59487d2e8bd3bb40beb019d9
[ "MIT" ]
null
null
null
flows/kubectl_get_volumes.py
Midburn/midburn-dataflows
802a93c8d337087e59487d2e8bd3bb40beb019d9
[ "MIT" ]
null
null
null
flows/kubectl_get_volumes.py
Midburn/midburn-dataflows
802a93c8d337087e59487d2e8bd3bb40beb019d9
[ "MIT" ]
null
null
null
from midburn_dataflows.kubectl_flows import kubectl_get_volumes_flow from midburn_dataflows.common_flows import run_dump_print if __name__ == '__main__': run_dump_print( kubectl_get_volumes_flow( get_all_checkpoint_name='kubectl_get_all', ), 'data/kubectl_get_volumes', ...
28.615385
68
0.715054
46
372
5.108696
0.478261
0.170213
0.217021
0.178723
0
0
0
0
0
0
0
0
0.201613
372
12
69
31
0.791246
0
0
0
0
0
0.196237
0.064516
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0.2
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
4a5b54e863a7d3960770e52456ad187f8c68f712
65
py
Python
flask_flarf/__init__.py
movermeyer/flarf
fc283a6a8b117d5b3352a8bddbe41c0a79c33e1b
[ "MIT" ]
null
null
null
flask_flarf/__init__.py
movermeyer/flarf
fc283a6a8b117d5b3352a8bddbe41c0a79c33e1b
[ "MIT" ]
null
null
null
flask_flarf/__init__.py
movermeyer/flarf
fc283a6a8b117d5b3352a8bddbe41c0a79c33e1b
[ "MIT" ]
1
2018-03-04T20:47:59.000Z
2018-03-04T20:47:59.000Z
__version__ = '0.0.6' from .flarf import Flarf, FlarfFilter, fs
16.25
41
0.723077
10
65
4.3
0.8
0
0
0
0
0
0
0
0
0
0
0.054545
0.153846
65
3
42
21.666667
0.727273
0
0
0
0
0
0.076923
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4a6dae5b8a926be6c291ed882cb5963022dbea1e
1,537
py
Python
bankkonto/__init__.py
hbldh/bankkonto
f9505e0825fc3e029fe038a3cdffecc39ceec865
[ "MIT" ]
null
null
null
bankkonto/__init__.py
hbldh/bankkonto
f9505e0825fc3e029fe038a3cdffecc39ceec865
[ "MIT" ]
null
null
null
bankkonto/__init__.py
hbldh/bankkonto
f9505e0825fc3e029fe038a3cdffecc39ceec865
[ "MIT" ]
5
2017-09-05T10:57:51.000Z
2020-07-25T23:04:40.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Bankkonto ========= TBW """ from __future__ import division from __future__ import print_function from __future__ import absolute_import from __future__ import unicode_literals import sys import re from .version import __version__, version # noqa from .exceptions i...
30.74
110
0.722186
199
1,537
5.346734
0.487437
0.085526
0.06015
0.039474
0.139098
0.139098
0
0
0
0
0
0.012628
0.175667
1,537
49
111
31.367347
0.827151
0.180872
0
0
0
0
0.150564
0
0
0
0
0.020408
0
1
0.076923
false
0
0.384615
0
0.538462
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
4a77c1242b554b399b14e95bc0fdf44396c02b93
243
py
Python
chobo/week5/10808.py
Kwak-JunYoung/154Algoritm-5weeks
fa18ae5f68a1ee722a30a05309214247f7fbfda4
[ "MIT" ]
3
2022-01-24T03:06:32.000Z
2022-01-30T08:43:58.000Z
chobo/week5/10808.py
Kwak-JunYoung/154Algoritm-5weeks
fa18ae5f68a1ee722a30a05309214247f7fbfda4
[ "MIT" ]
null
null
null
chobo/week5/10808.py
Kwak-JunYoung/154Algoritm-5weeks
fa18ae5f68a1ee722a30a05309214247f7fbfda4
[ "MIT" ]
2
2022-01-24T02:27:40.000Z
2022-01-30T08:57:03.000Z
import string rst = [0 for _ in range(26)] w = input() a = string.ascii_lowercase for i in range(len(w)): for j in range(len(a)): if w[i] == a[j]: rst[j] = rst[j] + 1 for i in range(len(a)): print(rst[i], end=" ")
20.25
31
0.530864
46
243
2.76087
0.434783
0.220472
0.23622
0.173228
0.220472
0
0
0
0
0
0
0.022857
0.279835
243
11
32
22.090909
0.702857
0
0
0
0
0
0.004115
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.1
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4a83ade0874589ec044eff809263f6cd31c86cbd
188
py
Python
rocket_lander_gym/__init__.py
ayanmaity201/Rocket_Lander_Gym
b4c7f015e6aa03fb5d36c9763b26c0f2cba8d2b4
[ "MIT" ]
34
2019-10-04T21:35:24.000Z
2022-03-27T17:39:54.000Z
rocket_lander_gym/__init__.py
ayanmaity201/Rocket_Lander_Gym
b4c7f015e6aa03fb5d36c9763b26c0f2cba8d2b4
[ "MIT" ]
null
null
null
rocket_lander_gym/__init__.py
ayanmaity201/Rocket_Lander_Gym
b4c7f015e6aa03fb5d36c9763b26c0f2cba8d2b4
[ "MIT" ]
5
2020-07-02T07:44:05.000Z
2021-12-10T10:34:25.000Z
from gym.envs.registration import register register( id='RocketLander-v0', entry_point='rocket_lander_gym.envs:RocketLander', max_episode_steps=1000, reward_threshold=0, )
23.5
54
0.760638
24
188
5.708333
0.833333
0.10219
0
0
0
0
0
0
0
0
0
0.037037
0.138298
188
8
55
23.5
0.808642
0
0
0
0
0
0.26455
0.185185
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
4ac2c0ac7b0c60bd55f9d43b5d5af79de6e465b6
395
py
Python
webnovel/exceptions.py
mHaisham/webnovelscraper
c094b21014fe538a36d28722291174549de8ca54
[ "Apache-2.0" ]
6
2020-12-09T08:30:38.000Z
2021-05-11T20:30:56.000Z
webnovel/exceptions.py
mHaisham/webnovelscraper
c094b21014fe538a36d28722291174549de8ca54
[ "Apache-2.0" ]
1
2022-02-22T17:11:09.000Z
2022-02-22T17:11:09.000Z
webnovel/exceptions.py
mHaisham/webnovelscraper
c094b21014fe538a36d28722291174549de8ca54
[ "Apache-2.0" ]
1
2021-02-23T15:46:28.000Z
2021-02-23T15:46:28.000Z
class NotSignedInException(Exception): """ Raised when user not signed in to webnovel """ pass class NotANovelUrlException(Exception): """ Raised when the link is not a novel url """ pass class ApiError(Exception): pass class GuardException(Exception): pass class CaptchaE...
13.62069
46
0.678481
41
395
6.536585
0.560976
0.16791
0.201493
0
0
0
0
0
0
0
0
0
0.24557
395
28
47
14.107143
0.899329
0.207595
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
4ac6bca6dcbb8ae3f4c2db8e7893e3f94b5035d4
168
py
Python
setup.py
gmdzy2010/realbio_ctns
3d79a1ef1f08546e8ff22f0a3001ac77c5e41ca6
[ "BSD-2-Clause" ]
2
2018-06-29T16:18:49.000Z
2018-06-29T16:18:53.000Z
setup.py
gmdzy2010/realbio_ctns
3d79a1ef1f08546e8ff22f0a3001ac77c5e41ca6
[ "BSD-2-Clause" ]
null
null
null
setup.py
gmdzy2010/realbio_ctns
3d79a1ef1f08546e8ff22f0a3001ac77c5e41ca6
[ "BSD-2-Clause" ]
null
null
null
from distutils.core import setup setup( name='realbio_ctns', # 应用名 version='2.0.2', # 版本号 packages=['conf', 'core'] # 包括在安装包内的Python包 )
18.666667
50
0.571429
19
168
5
0.842105
0
0
0
0
0
0
0
0
0
0
0.025
0.285714
168
8
51
21
0.766667
0.136905
0
0
0
0
0.177305
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
436714d4913f7f9ac37d750d3239dce1b165e115
21,874
py
Python
mlxtend/mlxtend/classifier/tests/test_stacking_classifier.py
WhiteWolf21/fp-growth
01e1d853b09f244f14e66d7d0c87f139a0f67c81
[ "MIT" ]
null
null
null
mlxtend/mlxtend/classifier/tests/test_stacking_classifier.py
WhiteWolf21/fp-growth
01e1d853b09f244f14e66d7d0c87f139a0f67c81
[ "MIT" ]
null
null
null
mlxtend/mlxtend/classifier/tests/test_stacking_classifier.py
WhiteWolf21/fp-growth
01e1d853b09f244f14e66d7d0c87f139a0f67c81
[ "MIT" ]
null
null
null
# Sebastian Raschka 2014-2020 # mlxtend Machine Learning Library Extensions # Author: Sebastian Raschka <sebastianraschka.com> # # License: BSD 3 clause import random from distutils.version import LooseVersion as Version import numpy as np import pytest from numpy.testing import assert_almost_equal from scipy import ...
34.447244
77
0.564552
2,260
21,874
5.267699
0.111062
0.006384
0.028223
0.034019
0.742629
0.732549
0.703234
0.682486
0.652751
0.616464
0
0.038448
0.336518
21,874
634
78
34.501577
0.781851
0.021075
0
0.675299
0
0
0.061367
0.009628
0
0
0
0
0.075697
1
0.053785
false
0.003984
0.037849
0
0.091633
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
43747e8b355aa2c22607246e2f4e1f5fd6f52d80
155
py
Python
test/resources/pythondynlibs/binding_csparse.py
Manu343726/biicode-common
91b32c6fd1e4a72ce5451183f1766d313cd0e420
[ "MIT" ]
17
2015-04-15T09:40:23.000Z
2017-05-17T20:34:49.000Z
test/resources/pythondynlibs/binding_csparse.py
Manu343726/biicode-common
91b32c6fd1e4a72ce5451183f1766d313cd0e420
[ "MIT" ]
2
2015-04-22T11:29:36.000Z
2018-09-25T09:31:09.000Z
test/resources/pythondynlibs/binding_csparse.py
bowlofstew/common
45e9ca902be7bbbdd73dafe3ab8957bc4a006020
[ "MIT" ]
22
2015-04-15T09:46:00.000Z
2020-09-29T17:03:31.000Z
import biipyc2 ffi, link_lib = biipyc2.link_clib("%BLOCKNAME_C%/csparse/cs.h") a = ffi.new("cs *") print "Wrong pointer, result %f" % link_lib.cs_norm(a)
25.833333
63
0.709677
27
155
3.888889
0.703704
0.133333
0
0
0
0
0
0
0
0
0
0.014599
0.116129
155
5
64
31
0.751825
0
0
0
0
0
0.348387
0.167742
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
4394ba34bf19cc47a09fc36b1550758ccf96ad2b
44,657
py
Python
src/amuse/units/quantities.py
silviatoonen/amuse
8ba3409a2755ddf7e981ab8e86c7537e555f2dba
[ "Apache-2.0" ]
6
2016-03-29T07:26:20.000Z
2019-02-12T11:52:05.000Z
src/amuse/units/quantities.py
silviatoonen/amuse
8ba3409a2755ddf7e981ab8e86c7537e555f2dba
[ "Apache-2.0" ]
9
2017-03-16T12:12:40.000Z
2021-12-20T10:49:56.000Z
src/amuse/units/quantities.py
rieder/amuse
3ac3b6b8f922643657279ddee5c8ab3fc0440d5e
[ "Apache-2.0" ]
null
null
null
import numpy import operator from math import sqrt from amuse.support import exceptions from amuse.support import console from amuse.support.core import late from amuse.support.core import compare_version_strings from amuse.units import core from amuse.units.si import none from amuse.units.core import zero_unit try...
30.566051
126
0.600466
6,045
44,657
4.258561
0.075765
0.038535
0.036981
0.027969
0.553898
0.473138
0.420386
0.378627
0.326807
0.289477
0
0.024384
0.280023
44,657
1,460
127
30.586986
0.776281
0.247039
0
0.385235
0
0
0.020122
0.000677
0
0
0
0.000685
0
1
0.26443
false
0
0.01745
0.122148
0.579866
0.002685
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
439b4ba8bf38f3feef7619767dd42ca4f5e935c3
136
py
Python
output/models/ms_data/additional/test67500_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/ms_data/additional/test67500_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/ms_data/additional/test67500_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ms_data.additional.test67500_xsd.test67500 import ( MyType, Root, ) __all__ = [ "MyType", "Root", ]
13.6
70
0.647059
15
136
5.466667
0.8
0.243902
0
0
0
0
0
0
0
0
0
0.09434
0.220588
136
9
71
15.111111
0.679245
0
0
0
0
0
0.073529
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
43a39d3d5eb23ed0d80987a30ef908ea8016fbfc
359
py
Python
discord bot.py
AlanTheBlank/Discord-Bot
e0275c292d1e69b0d556d7978f359e9d86466c64
[ "Apache-2.0" ]
null
null
null
discord bot.py
AlanTheBlank/Discord-Bot
e0275c292d1e69b0d556d7978f359e9d86466c64
[ "Apache-2.0" ]
null
null
null
discord bot.py
AlanTheBlank/Discord-Bot
e0275c292d1e69b0d556d7978f359e9d86466c64
[ "Apache-2.0" ]
null
null
null
import subprocess import discord frim discord.ext import commands import asyncio client = discord.Client(command_prefix=".", activity=discord.CustomActivity("This is basically SSH")) TOKEN = " @client.event async def on_ready(): print("Ready!") @client.command(pass_context=True) async def run(ctx): await ctx.sen...
18.894737
101
0.75766
50
359
5.38
0.64
0.096654
0
0
0
0
0
0
0
0
0
0.003145
0.114206
359
18
102
19.944444
0.842767
0
0
0
0
0
0.077994
0
0
0
0
0
0
0
null
null
0.076923
0.307692
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
1
0
0
0
0
3
43ab8e4aed340d6b5afa938466b184d7184d57f7
113
py
Python
kagi/_hemisphere/__init__.py
jedhsu/kagi
1301f7fc437bb445118b25ca92324dbd58d6ad2d
[ "MIT" ]
null
null
null
kagi/_hemisphere/__init__.py
jedhsu/kagi
1301f7fc437bb445118b25ca92324dbd58d6ad2d
[ "MIT" ]
null
null
null
kagi/_hemisphere/__init__.py
jedhsu/kagi
1301f7fc437bb445118b25ca92324dbd58d6ad2d
[ "MIT" ]
null
null
null
from .west import WesternKagi from .east import EasternKagi __all__ = [ "WesternKagi", "EasternKagi", ]
14.125
29
0.699115
11
113
6.818182
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.20354
113
7
30
16.142857
0.833333
0
0
0
0
0
0.19469
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
43b6c6e7f62c3e3232907b9ba5fefb5db92d7d2e
961
py
Python
src/aoc2021/day5/tests/test_day5.py
marcelotrevisani/advent-of-code-2021
3855ecab180c23039ed4cb09e0645bf9bc5da38c
[ "Apache-2.0" ]
null
null
null
src/aoc2021/day5/tests/test_day5.py
marcelotrevisani/advent-of-code-2021
3855ecab180c23039ed4cb09e0645bf9bc5da38c
[ "Apache-2.0" ]
null
null
null
src/aoc2021/day5/tests/test_day5.py
marcelotrevisani/advent-of-code-2021
3855ecab180c23039ed4cb09e0645bf9bc5da38c
[ "Apache-2.0" ]
null
null
null
from pathlib import Path import pytest from src.aoc2021.day5.solution import read_input, clean_input, solve1, solve2 @pytest.fixture def example_input(): return Path(__file__).parent / "example.txt" def test_parse_input(example_input): assert read_input(example_input) == [ (0, 9, 5, 9), (8...
21.355556
77
0.543184
147
961
3.353742
0.244898
0.219067
0.206897
0.170385
0.081136
0.081136
0.081136
0.081136
0.048682
0.048682
0
0.115214
0.295525
961
44
78
21.840909
0.612999
0
0
0.363636
0
0
0.011446
0
0
0
0
0
0.121212
1
0.151515
false
0
0.090909
0.030303
0.272727
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
43bdd792f68f46f54d73e95609b5719dbdf911fe
1,918
py
Python
classes/poducts_filter.py
Debug-Sam/SP-business-rules
e49d636628c6a1e96b714cba22cb95bd582a8f50
[ "MIT" ]
null
null
null
classes/poducts_filter.py
Debug-Sam/SP-business-rules
e49d636628c6a1e96b714cba22cb95bd582a8f50
[ "MIT" ]
null
null
null
classes/poducts_filter.py
Debug-Sam/SP-business-rules
e49d636628c6a1e96b714cba22cb95bd582a8f50
[ "MIT" ]
1
2021-04-02T15:57:43.000Z
2021-04-02T15:57:43.000Z
import pandas as pd import numpy as np class FilterProducts: def __init__(self): print('Filter processen gestart!') # Pandas dataframe display completely pd.set_option('display.max_rows', None, 'display.max_columns', None, 'display.width', None, 'display.max_colwidth', No...
49.179487
142
0.680396
214
1,918
6.004673
0.350467
0.222568
0.205447
0.080934
0.221012
0.221012
0.221012
0.221012
0.221012
0.221012
0
0.0095
0.176747
1,918
38
143
50.473684
0.804307
0.057873
0
0
0
0
0.235294
0
0
0
0
0
0
1
0.269231
false
0
0.076923
0
0.384615
0.076923
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
43c6c701b173b42b82afafc415ace4c25c62fae6
1,668
py
Python
apptest/app/doctype/prospecto_socio/prospecto_socio.py
GeovannyDias/Frappe-Framework
fda9e0188f2a40f9fa0ce209650ff6bddddd2237
[ "MIT" ]
null
null
null
apptest/app/doctype/prospecto_socio/prospecto_socio.py
GeovannyDias/Frappe-Framework
fda9e0188f2a40f9fa0ce209650ff6bddddd2237
[ "MIT" ]
null
null
null
apptest/app/doctype/prospecto_socio/prospecto_socio.py
GeovannyDias/Frappe-Framework
fda9e0188f2a40f9fa0ce209650ff6bddddd2237
[ "MIT" ]
null
null
null
# Copyright (c) 2021, orlando Cholota and contributors # For license information, please see license.txt import frappe from frappe.model.document import Document class prospecto_socio(Document): # Solo se ejecuta cuando se crea (inserta) un documento por primera vez # def before_insert(self): # frappe.throw("TEST...
26.0625
85
0.732014
233
1,668
5.193133
0.570815
0.054545
0.033058
0.059504
0.12562
0.12562
0.12562
0
0
0
0
0.007102
0.155875
1,668
64
86
26.0625
0.848011
0.769185
0
0
0
0
0.087571
0
0
0
0
0.015625
0
1
0.25
false
0
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
43d97ad41f0ff5a2e4386f5a98a5355348666d94
512
py
Python
dxtorch/nn/functional.py
darkdx/dxtorch
a7934db7acf7957bd132aba8e4f76016b78c3dc2
[ "MIT" ]
null
null
null
dxtorch/nn/functional.py
darkdx/dxtorch
a7934db7acf7957bd132aba8e4f76016b78c3dc2
[ "MIT" ]
null
null
null
dxtorch/nn/functional.py
darkdx/dxtorch
a7934db7acf7957bd132aba8e4f76016b78c3dc2
[ "MIT" ]
null
null
null
from dxtorch.dxtensor import Tensor import numpy as np EPSILON: float = 1e-9 def relu(x: Tensor) -> Tensor: # prevent negative zero return np.where(x > 0, x, 0) def sigmoid(x: Tensor) -> Tensor: return 1.0 / (1 + np.exp(-x)) def logsoftmax(x: Tensor) -> Tensor: # print(1, np.min(x), np.max(x)) M = np.m...
19.692308
50
0.619141
90
512
3.522222
0.4
0.066246
0.123028
0
0
0
0
0
0
0
0
0.022005
0.201172
512
25
51
20.48
0.753056
0.181641
0
0
0
0
0
0
0
0
0
0
0
1
0.307692
false
0
0.153846
0.230769
0.769231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
43dbd80cd98dd731a1d34ddf0d713aa80193715a
324
py
Python
Python OOP/Polymorphism_and_Abstraction/Animals/dog.py
bvoytash/Software-University
f2c6940cde093cea7b1c38bd88305206564c9947
[ "MIT" ]
null
null
null
Python OOP/Polymorphism_and_Abstraction/Animals/dog.py
bvoytash/Software-University
f2c6940cde093cea7b1c38bd88305206564c9947
[ "MIT" ]
null
null
null
Python OOP/Polymorphism_and_Abstraction/Animals/dog.py
bvoytash/Software-University
f2c6940cde093cea7b1c38bd88305206564c9947
[ "MIT" ]
null
null
null
from project.animal import Animal class Dog(Animal): def __repr__(self): return f"This is {self.name}. {self.name} is a {self.age} year old {self.gender} {self.__class__.__name__}" def make_sound(self): return "Woof!" sharo = Dog("sharo", 8, "male") print(repr(sharo)) print(sharo.make_sound...
21.6
115
0.660494
48
324
4.166667
0.541667
0.1
0
0
0
0
0
0
0
0
0
0.003788
0.185185
324
14
116
23.142857
0.753788
0
0
0
0
0.111111
0.342593
0.07716
0
0
0
0
0
1
0.222222
false
0
0.111111
0.222222
0.666667
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
78dc723def115aa548f4f538f70ebcb5ecb4aac5
3,233
py
Python
tests/flytekit/unit/exceptions/test_user.py
ggydush-fn/flytekit
6530601c2538a5d804127a97f63291730b1ba1d8
[ "Apache-2.0" ]
1
2021-11-11T10:10:10.000Z
2021-11-11T10:10:10.000Z
tests/flytekit/unit/exceptions/test_user.py
ggydush-fn/flytekit
6530601c2538a5d804127a97f63291730b1ba1d8
[ "Apache-2.0" ]
null
null
null
tests/flytekit/unit/exceptions/test_user.py
ggydush-fn/flytekit
6530601c2538a5d804127a97f63291730b1ba1d8
[ "Apache-2.0" ]
null
null
null
from flytekit.exceptions import base, user def test_flyte_user_exception(): try: raise user.FlyteUserException("bad") except Exception as e: assert str(e) == "bad" assert isinstance(type(e), base._FlyteCodedExceptionMetaclass) assert type(e).error_code == "USER:Unknown" ...
38.488095
112
0.64553
392
3,233
5.25
0.153061
0.124393
0.123907
0.046647
0.749271
0.708455
0.632653
0.591351
0.535957
0.535957
0
0.00328
0.245592
3,233
83
113
38.951807
0.840508
0
0
0.428571
0
0.028571
0.236932
0
0
0
0
0
0.5
1
0.071429
true
0
0.014286
0
0.085714
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
3
78ed77f40cb078a88447f5801575930ae92b390b
10
py
Python
extra_tests/snippets/dir_module/relative.py
mainsail-org/RustPython
5d2d87c24f1ff7201fcc8d4fcffadb0ec12dc127
[ "CC-BY-4.0", "MIT" ]
11,058
2018-05-29T07:40:06.000Z
2022-03-31T11:38:42.000Z
extra_tests/snippets/dir_module/relative.py
mainsail-org/RustPython
5d2d87c24f1ff7201fcc8d4fcffadb0ec12dc127
[ "CC-BY-4.0", "MIT" ]
2,105
2018-06-01T10:07:16.000Z
2022-03-31T14:56:42.000Z
extra_tests/snippets/dir_module/relative.py
mainsail-org/RustPython
5d2d87c24f1ff7201fcc8d4fcffadb0ec12dc127
[ "CC-BY-4.0", "MIT" ]
914
2018-07-27T09:36:14.000Z
2022-03-31T19:56:34.000Z
value = 5
5
9
0.6
2
10
3
1
0
0
0
0
0
0
0
0
0
0
0.142857
0.3
10
1
10
10
0.714286
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
78faf72fa3c9506b5fcb338a09488b458fdcda7f
57
py
Python
src/dataverk/context/__init__.py
navikt/dataverk
7dd803236433048686dd7a58358bc1c09565b14b
[ "MIT" ]
3
2019-09-29T20:48:46.000Z
2021-03-31T10:16:07.000Z
src/dataverk/context/__init__.py
navikt/dataverk
7dd803236433048686dd7a58358bc1c09565b14b
[ "MIT" ]
148
2019-02-08T12:30:58.000Z
2021-03-11T15:31:55.000Z
src/dataverk/context/__init__.py
navikt/dataverk
7dd803236433048686dd7a58358bc1c09565b14b
[ "MIT" ]
1
2020-11-18T14:10:05.000Z
2020-11-18T14:10:05.000Z
from .env_store import EnvStore __all__ = ['EnvStore']
11.4
31
0.736842
7
57
5.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.157895
57
4
32
14.25
0.770833
0
0
0
0
0
0.140351
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6006735938707c632fe2f64073f95f2da9149415
1,748
py
Python
metrics/test_metrics.py
EricWiener/readability-metrics
701992103325c1af39a479609ae293a1ae67f06f
[ "MIT" ]
3
2020-02-13T14:31:00.000Z
2021-01-22T23:36:48.000Z
metrics/test_metrics.py
EricWiener/readability-metrics
701992103325c1af39a479609ae293a1ae67f06f
[ "MIT" ]
null
null
null
metrics/test_metrics.py
EricWiener/readability-metrics
701992103325c1af39a479609ae293a1ae67f06f
[ "MIT" ]
null
null
null
# import readability from collections import defaultdict from metrics.metrics import Readability def test_readability(): readability_dic = defaultdict(lambda: Readability()) readability_dic["Test"].analyze_text("Call me Ishmael. Some years ago—never mind how long precisely—having little or no money in my purs...
116.533333
1,013
0.770595
272
1,748
4.919118
0.639706
0.041854
0.040359
0.037369
0.043348
0
0
0
0
0
0
0.053645
0.168192
1,748
14
1,014
124.857143
0.864512
0.010297
0
0
0
0.181818
0.698495
0.01331
0
0
0
0
0.090909
1
0.090909
false
0
0.181818
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
601cbb51689e03bcda5128480ee5643a0f47f8cb
79,034
py
Python
python/src/chirpstack_api/as_pb/external/api/gateway_pb2.py
maxreb/chirpstack-api
c591dd556e70b384318cdf61de19c0350715d61d
[ "MIT" ]
55
2019-11-05T15:46:49.000Z
2022-03-23T14:31:33.000Z
python/src/chirpstack_api/as_pb/external/api/gateway_pb2.py
maxreb/chirpstack-api
c591dd556e70b384318cdf61de19c0350715d61d
[ "MIT" ]
39
2019-11-08T21:03:45.000Z
2022-03-01T12:40:36.000Z
python/src/chirpstack_api/as_pb/external/api/gateway_pb2.py
maxreb/chirpstack-api
c591dd556e70b384318cdf61de19c0350715d61d
[ "MIT" ]
101
2019-11-22T13:59:59.000Z
2022-03-14T09:52:46.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: chirpstack-api/as_pb/external/api/gateway.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection ...
46.490588
7,557
0.771883
9,626
79,034
5.989611
0.049034
0.040516
0.06459
0.059473
0.704645
0.652785
0.63421
0.619641
0.610448
0.60443
0
0.036877
0.11032
79,034
1,699
7,558
46.517952
0.78309
0.025571
0
0.669411
1
0.0076
0.195113
0.149722
0
0
0
0
0
1
0
false
0
0.0057
0
0.0057
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
602dbc504b14c5ad3b2cb9906a59becffe1ce757
883
py
Python
modules/models/temenos.py
LuxembourgTechSchool/temenos-py
9106ddec53ccfd2a4e8258310e3c953e2b39278f
[ "CC0-1.0" ]
null
null
null
modules/models/temenos.py
LuxembourgTechSchool/temenos-py
9106ddec53ccfd2a4e8258310e3c953e2b39278f
[ "CC0-1.0" ]
null
null
null
modules/models/temenos.py
LuxembourgTechSchool/temenos-py
9106ddec53ccfd2a4e8258310e3c953e2b39278f
[ "CC0-1.0" ]
null
null
null
from flask import current_app as app import requests class Temenos(): def __init__(self): self.auth = ( app.config['TEMENOS_USER'], app.config['TEMENOS_PASSWORD'] ) self.host = app.config['TEMENOS_HOST'] def get_accounts(self): return self._do_get_request('verAccount_Tcib...
29.433333
101
0.613817
105
883
4.895238
0.428571
0.052529
0.093385
0.058366
0.085603
0
0
0
0
0
0
0.010654
0.255946
883
29
102
30.448276
0.77169
0
0
0
0
0
0.209513
0.078143
0
0
0
0
0
1
0.263158
false
0.052632
0.105263
0.105263
0.631579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
604242797e15584199000197828b6101297ad1bd
77
py
Python
user/urls.py
weiliang1103/onlinelibrary
993f7969cb6c8242631c13c7714652e73484e313
[ "MIT" ]
null
null
null
user/urls.py
weiliang1103/onlinelibrary
993f7969cb6c8242631c13c7714652e73484e313
[ "MIT" ]
null
null
null
user/urls.py
weiliang1103/onlinelibrary
993f7969cb6c8242631c13c7714652e73484e313
[ "MIT" ]
null
null
null
from django.urls import path, re_path from . import views urlpatterns = [ ]
12.833333
37
0.74026
11
77
5.090909
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.181818
77
6
38
12.833333
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
604e8a976a2e2af09f93b92af6446e82b83f4dce
233
py
Python
nodejs/py_node/nodejs.py
ahmola/SmartHome_InternShip
163b3eb4490ee42cf03406fa8bf122dd502f1b18
[ "MIT" ]
null
null
null
nodejs/py_node/nodejs.py
ahmola/SmartHome_InternShip
163b3eb4490ee42cf03406fa8bf122dd502f1b18
[ "MIT" ]
null
null
null
nodejs/py_node/nodejs.py
ahmola/SmartHome_InternShip
163b3eb4490ee42cf03406fa8bf122dd502f1b18
[ "MIT" ]
null
null
null
<<<<<<< HEAD import numpy as np import sys, json arg_list = json.loads(sys.argv[1]) print(arg_list[0] + np.sin(arg_list[1])) ======= import numpy as np print(1+np.sin(3.141592/2)) >>>>>>> 9ea6a00278254b4bc68921b05aa288e0a79929a2
19.416667
48
0.682403
36
233
4.333333
0.527778
0.134615
0.166667
0.192308
0
0
0
0
0
0
0
0.194175
0.11588
233
11
49
21.181818
0.563107
0
0
0.222222
0
0
0
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.222222
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
3
6050e78eb138848de666d3e225c9af13140d303d
990
py
Python
leads/migrations/0002_auto_20190107_2126.py
mtianyan/django-drf-react-quickstart
10ab8fa02c6be7e58177bf41b1e4a3f09f67e4d5
[ "Apache-2.0" ]
3
2019-01-07T06:00:07.000Z
2019-08-19T08:42:57.000Z
leads/migrations/0002_auto_20190107_2126.py
mtianyan/django-drf-react-quickstart
10ab8fa02c6be7e58177bf41b1e4a3f09f67e4d5
[ "Apache-2.0" ]
3
2020-06-05T19:59:17.000Z
2021-06-10T22:07:06.000Z
leads/migrations/0002_auto_20190107_2126.py
mtianyan/django-drf-react-quickstart
10ab8fa02c6be7e58177bf41b1e4a3f09f67e4d5
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.5 on 2019-01-07 21:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('leads', '0001_initial'), ] operations = [ migrations.AlterField( model_name='lead', name='created_at', f...
29.117647
97
0.575758
105
990
5.247619
0.495238
0.145191
0.181488
0.210526
0.370236
0.268603
0
0
0
0
0
0.04
0.292929
990
33
98
30
0.747143
0.045455
0
0.444444
1
0
0.092259
0
0
0
0
0
0
1
0
false
0
0.037037
0
0.148148
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
606126e6296a49e89cfdd7abbe69bfd41c3f05d8
206
py
Python
src/core/api.py
lukecyx/lms
eff57c4026e63cd7dd7ea5ac1f061fa0a9ec1a4c
[ "MIT" ]
null
null
null
src/core/api.py
lukecyx/lms
eff57c4026e63cd7dd7ea5ac1f061fa0a9ec1a4c
[ "MIT" ]
null
null
null
src/core/api.py
lukecyx/lms
eff57c4026e63cd7dd7ea5ac1f061fa0a9ec1a4c
[ "MIT" ]
null
null
null
from ninja import Router from django.http import HttpRequest router = Router() @router.get("/check_health/") def check_health(request: HttpRequest) -> bool: """Check app health.""" return True
15.846154
47
0.708738
26
206
5.538462
0.615385
0.166667
0
0
0
0
0
0
0
0
0
0
0.169903
206
12
48
17.166667
0.842105
0.082524
0
0
0
0
0.076503
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
609519c942bb56ffedda66357342cbcd7b87f17d
353
py
Python
rexpro/exceptions.py
bdeggleston/rexpro-python
cd7f1704b62e8fbac153f048b623ca4eb6d9ad02
[ "MIT" ]
3
2015-11-04T07:32:22.000Z
2021-07-13T01:44:49.000Z
rexpro/exceptions.py
bdeggleston/rexpro-python
cd7f1704b62e8fbac153f048b623ca4eb6d9ad02
[ "MIT" ]
null
null
null
rexpro/exceptions.py
bdeggleston/rexpro-python
cd7f1704b62e8fbac153f048b623ca4eb6d9ad02
[ "MIT" ]
1
2017-10-19T03:06:19.000Z
2017-10-19T03:06:19.000Z
__author__ = 'bdeggleston' class RexProException(Exception): """ Base RexProException """ pass class RexProConnectionException(RexProException): """ Raised when there are problems with the rexster connection """ pass class RexProScriptException(RexProException): """ Raised when there's an err...
23.533333
70
0.719547
34
353
7.352941
0.705882
0.072
0.2
0.24
0
0
0
0
0
0
0
0
0.192635
353
14
71
25.214286
0.877193
0.373938
0
0.333333
0
0
0.056995
0
0
0
0
0
0
1
0
false
0.333333
0
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
609a9c7b2c7505952bece8b657b22cff7c923f22
1,020
py
Python
RecoTracker/TkSeedGenerator/python/SeedGeneratorFromProtoTracksEDProducer_cff.py
samarendran23/cmssw
849dd9897db9b894ca83e1b630a3c1eecafd6097
[ "Apache-2.0" ]
6
2017-09-08T14:12:56.000Z
2022-03-09T23:57:01.000Z
RecoTracker/TkSeedGenerator/python/SeedGeneratorFromProtoTracksEDProducer_cff.py
samarendran23/cmssw
849dd9897db9b894ca83e1b630a3c1eecafd6097
[ "Apache-2.0" ]
545
2017-09-19T17:10:19.000Z
2022-03-07T16:55:27.000Z
RecoTracker/TkSeedGenerator/python/SeedGeneratorFromProtoTracksEDProducer_cff.py
samarendran23/cmssw
849dd9897db9b894ca83e1b630a3c1eecafd6097
[ "Apache-2.0" ]
14
2017-10-04T09:47:21.000Z
2019-10-23T18:04:45.000Z
import FWCore.ParameterSet.Config as cms from RecoLocalTracker.SiStripRecHitConverter.StripCPEfromTrackAngle_cfi import * from RecoLocalTracker.SiStripRecHitConverter.SiStripRecHitMatcher_cfi import * from RecoLocalTracker.SiPixelRecHits.PixelCPEParmError_cfi import * from RecoTracker.TransientTrackingRecHit.Transien...
53.684211
84
0.884314
80
1,020
11.1375
0.45
0.111111
0.131313
0.13468
0.287318
0.226712
0.226712
0.226712
0.226712
0.226712
0
0.001056
0.071569
1,020
18
85
56.666667
0.93981
0
0
0.125
0
0
0.031373
0.027451
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
60ad35404a666a9e979dab6b8e22e5284cf0bae7
608
py
Python
api/docbleach/utils/__init__.py
vmalguy/DocBleach-Web
9645317da77fb45f77af93e925386b66f032fc15
[ "MIT" ]
12
2017-03-29T21:27:02.000Z
2020-03-17T08:22:56.000Z
api/docbleach/utils/__init__.py
vmalguy/DocBleach-Web
9645317da77fb45f77af93e925386b66f032fc15
[ "MIT" ]
2
2018-12-20T15:13:40.000Z
2020-07-22T15:03:21.000Z
api/docbleach/utils/__init__.py
vmalguy/DocBleach-Web
9645317da77fb45f77af93e925386b66f032fc15
[ "MIT" ]
8
2017-05-03T11:32:23.000Z
2021-09-30T03:11:50.000Z
import os import string from random import SystemRandom cryptogen = SystemRandom() def secure_uuid(): """ Strength: 6*3 random characters from a list of 62, approx. 64^18 possible strings, or 2^100. Should be enough to prevent a successful bruteforce, as download links are only valid for 3 hours ...
25.333333
78
0.692434
85
608
4.870588
0.658824
0.10628
0.062802
0.10628
0
0
0
0
0
0
0
0.028513
0.192434
608
23
79
26.434783
0.814664
0.327303
0
0
0
0
0.020997
0
0
0
0
0
0
1
0.3
false
0
0.3
0.2
0.9
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
60b2af9f4ea94dfdaf940aebccc345e088cfefa2
3,442
py
Python
flask_app/tests/test_functions.py
mullonch/Mullor-Cotte-project
9e4b8d4c222c77ef194cd77f3f5b2b787690772a
[ "MIT" ]
null
null
null
flask_app/tests/test_functions.py
mullonch/Mullor-Cotte-project
9e4b8d4c222c77ef194cd77f3f5b2b787690772a
[ "MIT" ]
1
2021-02-16T15:35:17.000Z
2021-02-16T15:35:17.000Z
flask_app/tests/test_functions.py
mullonch/Mullor-Cotte-project
9e4b8d4c222c77ef194cd77f3f5b2b787690772a
[ "MIT" ]
1
2021-02-16T18:21:03.000Z
2021-02-16T18:21:03.000Z
""" module de tests fonctionnels """ import sys import os import pandas as pd sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) import utils def test_fake_article_message(): """ test de la fonction message (prédiction = 1) """ assert utils.message(1) == "This is a real new...
31.009009
100
0.51627
602
3,442
2.885382
0.167774
0.33506
0.500864
0.665515
0.298215
0.279793
0.263673
0.263673
0.168106
0.168106
0
0.140747
0.291981
3,442
110
101
31.290909
0.572015
0.102847
0
0.2
0
0.018182
0.171672
0
0
0
0
0
0.181818
1
0.181818
false
0
0.072727
0
0.254545
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
60b95fbc8ed959316dafe95fb06aed318b146f46
1,797
py
Python
Structs.py
ralucado/shaderWhisperer
214057e07304fd4b895c80061a5e1c3101dbd1eb
[ "MIT" ]
null
null
null
Structs.py
ralucado/shaderWhisperer
214057e07304fd4b895c80061a5e1c3101dbd1eb
[ "MIT" ]
null
null
null
Structs.py
ralucado/shaderWhisperer
214057e07304fd4b895c80061a5e1c3101dbd1eb
[ "MIT" ]
null
null
null
class srcPoint(): def __init__(self, l=-1, c=-1): self.line = l self.col = c def __str__(self): return repr(self.line) + ":" + repr(self.col) def __repr__(self): return str(self) def __eq__(self, other): if(isinstance(other, srcPoint)): ...
29.95
118
0.577629
222
1,797
4.495496
0.342342
0.03507
0.033066
0.032064
0.112224
0.112224
0.062124
0
0
0
0
0.001601
0.304953
1,797
60
119
29.95
0.797438
0.186422
0
0.227273
0
0
0.002059
0
0
0
0
0.016667
0
1
0.318182
false
0
0
0.090909
0.590909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
60c032b1cfb29852df3cc8bde2069014426264b4
2,372
py
Python
PythonExtensions/Files/Encryptor.py
Jakar510/PythonExtensions
f29600f73454d21345f6da893a1df1b71ddacd0b
[ "MIT" ]
null
null
null
PythonExtensions/Files/Encryptor.py
Jakar510/PythonExtensions
f29600f73454d21345f6da893a1df1b71ddacd0b
[ "MIT" ]
null
null
null
PythonExtensions/Files/Encryptor.py
Jakar510/PythonExtensions
f29600f73454d21345f6da893a1df1b71ddacd0b
[ "MIT" ]
null
null
null
# -------------------------------------------------------------------------------------------------- # Created by Tyler Stegmaier. # Property of TrueLogic Company. # Copyright (c) 2021. # -------------------------------------------------------------------------------------------------- import json import pickle fro...
31.626667
111
0.608347
284
2,372
4.852113
0.288732
0.058055
0.040639
0.024673
0.030479
0
0
0
0
0
0
0.002589
0.185919
2,372
74
112
32.054054
0.711031
0.145447
0
0.102564
0
0
0.02381
0
0
0
0
0
0
1
0.435897
false
0
0.102564
0.333333
0.615385
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
60c6ff7f10ba0f6ffc0a4e6af687e3a7dee68f66
1,282
py
Python
app/models.py
robeartoe/CS362-CryptoCurrencyViewer
373e20612eb9783f1e65236225c92c755156e6bf
[ "MIT" ]
2
2018-02-25T02:20:09.000Z
2020-02-13T16:34:18.000Z
app/models.py
robeartoe/CS362-CryptoCurrencyViewer
373e20612eb9783f1e65236225c92c755156e6bf
[ "MIT" ]
null
null
null
app/models.py
robeartoe/CS362-CryptoCurrencyViewer
373e20612eb9783f1e65236225c92c755156e6bf
[ "MIT" ]
null
null
null
from app import db, login from datetime import datetime from werkzeug.security import generate_password_hash, check_password_hash from flask_login import UserMixin class User(UserMixin,db.Model): id = db.Column(db.Integer, primary_key=True) username = db.Column(db.String(64),index=True, unique=True) email ...
38.848485
83
0.719189
179
1,282
5
0.357542
0.080447
0.100559
0.107263
0.174302
0.089385
0.089385
0.089385
0.089385
0.089385
0
0.015741
0.157566
1,282
32
84
40.0625
0.812963
0.058502
0
0.148148
1
0
0.046434
0
0
0
0
0
0
1
0.185185
false
0.222222
0.148148
0.148148
0.925926
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
1
0
0
0
3
60e677ee8664d245f0f0eac55ef4bb6444211dc0
733
py
Python
Python/fizzbuzz.py
temmings/FizzBuzz
8491c79ad35f178b0141c0d5ff92924692e38079
[ "BSD-3-Clause" ]
null
null
null
Python/fizzbuzz.py
temmings/FizzBuzz
8491c79ad35f178b0141c0d5ff92924692e38079
[ "BSD-3-Clause" ]
null
null
null
Python/fizzbuzz.py
temmings/FizzBuzz
8491c79ad35f178b0141c0d5ff92924692e38079
[ "BSD-3-Clause" ]
null
null
null
# coding: utf-8 from __future__ import print_function def is_multiple(n, divide): """ >>> is_multiple(0, 1) False >>> is_multiple(10, 1) True >>> is_multiple(10, 2) True >>> is_multiple(10, 3) False """ return (0 != n) and (0 == (n % divide)) def fizz(n): return 'Fizz' ...
17.046512
49
0.536153
107
733
3.429907
0.345794
0.190736
0.089918
0.087193
0
0
0
0
0
0
0
0.051331
0.282401
733
42
50
17.452381
0.646388
0.306958
0
0
0
0
0.038095
0
0
0
0
0
0
1
0.357143
false
0
0.071429
0.142857
0.714286
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
60eb0ac7220ee3b73aac7a3ccaa46ca2c566d4f8
3,341
py
Python
.history/passlock_20210906053349.py
GraceOswal/Password-Locker
57da03c46e4044bea681e59c56bcb9ed3a79db71
[ "MIT" ]
null
null
null
.history/passlock_20210906053349.py
GraceOswal/Password-Locker
57da03c46e4044bea681e59c56bcb9ed3a79db71
[ "MIT" ]
null
null
null
.history/passlock_20210906053349.py
GraceOswal/Password-Locker
57da03c46e4044bea681e59c56bcb9ed3a79db71
[ "MIT" ]
null
null
null
import random import string import pyperclip class User: """ Class that generates new instances of contacts. """ user_list = [] #Empty user list def __init__(self,username,password): #docstring removed for simplicity self.username = username self...
28.555556
100
0.59982
360
3,341
5.438889
0.272222
0.036772
0.018386
0.024515
0.162411
0.162411
0.162411
0.114402
0.066394
0.066394
0
0.000445
0.327148
3,341
116
101
28.801724
0.870552
0.014068
0
0.226415
1
0
0.004247
0
0
0
0
0
0
0
null
null
0.207547
0.056604
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
60f13383d3777e645c5633b7fb6b3321de1eaa19
3,716
py
Python
tests/test_deprecated.py
wdmwhh/pytorch-lightning
5d10a36762776c4b6f6a9c55b4e6bf7bd258137f
[ "Apache-2.0" ]
null
null
null
tests/test_deprecated.py
wdmwhh/pytorch-lightning
5d10a36762776c4b6f6a9c55b4e6bf7bd258137f
[ "Apache-2.0" ]
null
null
null
tests/test_deprecated.py
wdmwhh/pytorch-lightning
5d10a36762776c4b6f6a9c55b4e6bf7bd258137f
[ "Apache-2.0" ]
null
null
null
"""Test deprecated functionality which will be removed in vX.Y.Z""" from argparse import ArgumentParser import pytest import sys from unittest import mock import torch from tests.base import EvalModelTemplate from pytorch_lightning.metrics.functional.classification import auc from pytorch_lightning import Trainer fr...
34.728972
97
0.724973
478
3,716
5.447699
0.282427
0.021505
0.036866
0.036866
0.47619
0.405914
0.378648
0.344854
0.343318
0.343318
0
0.014573
0.168999
3,716
106
98
35.056604
0.828692
0.101991
0
0.28169
0
0
0.101563
0
0
0
0
0.009434
0.042254
1
0.211268
false
0.042254
0.169014
0.140845
0.549296
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
88084ce44abae8539dd7bec1cac29dbd75b0f940
122
py
Python
github/get/zup-insights/src/main.py
GuillaumeFalourd/formulas-insights
c43f8f96e28343ab0919e10d7dc26b2dfeb0792b
[ "Apache-2.0" ]
5
2020-09-30T19:20:42.000Z
2022-02-25T22:20:30.000Z
github/get/zup-insights/src/main.py
GuillaumeFalourd/formulas-insights
c43f8f96e28343ab0919e10d7dc26b2dfeb0792b
[ "Apache-2.0" ]
5
2020-09-28T21:53:07.000Z
2021-05-06T14:58:10.000Z
github/get/zup-insights/src/main.py
GuillaumeFalourd/formulas-insights
c43f8f96e28343ab0919e10d7dc26b2dfeb0792b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 import os from formula import formula token = os.environ.get("RIT_GITHUB_TOKEN") formula.run(token)
13.555556
42
0.762295
19
122
4.789474
0.684211
0
0
0
0
0
0
0
0
0
0
0.009259
0.114754
122
8
43
15.25
0.833333
0.139344
0
0
0
0
0.153846
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8808d29c9a3f4bb8b38df5c7f9b38569603e10e4
133
py
Python
pypro/base/urls.py
rodrigoddc/django-advanced-course
098507d8111f38f8a6b914575e50861538913f6c
[ "MIT" ]
1
2020-06-30T01:30:31.000Z
2020-06-30T01:30:31.000Z
pypro/base/urls.py
rodrigoddc/django-advanced-course
098507d8111f38f8a6b914575e50861538913f6c
[ "MIT" ]
102
2020-06-30T01:03:27.000Z
2021-09-22T19:26:44.000Z
pypro/base/urls.py
rodrigoddc/django-advanced-course
098507d8111f38f8a6b914575e50861538913f6c
[ "MIT" ]
null
null
null
from django.urls import path from .views import Home app_name = 'base' urlpatterns = [ path('', Home.as_view(), name='home'), ]
16.625
42
0.669173
19
133
4.578947
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.172932
133
7
43
19
0.790909
0
0
0
0
0
0.06015
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
715b1fcf3ddb55e3483979157cd4afc9e5779e9d
1,037
py
Python
Dataset/Leetcode/test/28/204.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/28/204.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/28/204.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, haystack: str, needle: str) -> int: if not needle: return 0 if not haystack: return -1 next_array = self.getNext(needle) i, j = 0, 0 while i < len(haystack) and j < len(needle): if j == -1 or haystack...
25.925
53
0.385728
123
1,037
3.178862
0.219512
0.207161
0.076726
0.056266
0
0
0
0
0
0
0
0.033465
0.510125
1,037
39
54
26.589744
0.73622
0
0
0.228571
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
717e3625401872a84b43956958a92f8a4270417d
121
py
Python
bot/__init__.py
husnudu/tiktokk
e4714a80d60502add580d6ad3e3b3f7f21433261
[ "MIT" ]
27
2021-04-26T20:29:32.000Z
2022-03-06T11:41:13.000Z
bot/__init__.py
husnudu/tiktokk
e4714a80d60502add580d6ad3e3b3f7f21433261
[ "MIT" ]
3
2021-12-14T22:45:40.000Z
2022-03-05T21:55:52.000Z
bot/__init__.py
husnudu/tiktokk
e4714a80d60502add580d6ad3e3b3f7f21433261
[ "MIT" ]
33
2021-03-12T14:40:12.000Z
2022-03-24T16:15:04.000Z
from aiogram import Bot, Dispatcher from settings import API_TOKEN bot = Bot(token=API_TOKEN) dp = Dispatcher(bot=bot)
17.285714
35
0.785124
19
121
4.894737
0.473684
0.172043
0
0
0
0
0
0
0
0
0
0
0.140496
121
6
36
20.166667
0.894231
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7180186ee79418ae842d1bfa8fb5c2e5ae1fb76b
2,982
py
Python
sdk/ml/azure-ai-ml/azure/ai/ml/_restclient/v2020_09_01_dataplanepreview/models/_azure_machine_learning_workspaces_enums.py
dubiety/azure-sdk-for-python
62ffa839f5d753594cf0fe63668f454a9d87a346
[ "MIT" ]
1
2022-02-01T18:50:12.000Z
2022-02-01T18:50:12.000Z
sdk/ml/azure-ai-ml/azure/ai/ml/_restclient/v2020_09_01_dataplanepreview/models/_azure_machine_learning_workspaces_enums.py
ellhe-blaster/azure-sdk-for-python
82193ba5e81cc5e5e5a5239bba58abe62e86f469
[ "MIT" ]
null
null
null
sdk/ml/azure-ai-ml/azure/ai/ml/_restclient/v2020_09_01_dataplanepreview/models/_azure_machine_learning_workspaces_enums.py
ellhe-blaster/azure-sdk-for-python
82193ba5e81cc5e5e5a5239bba58abe62e86f469
[ "MIT" ]
null
null
null
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
29.524752
94
0.67438
295
2,982
6.711864
0.494915
0.072222
0.181818
0.19697
0.250505
0.141919
0.095455
0.095455
0.095455
0.064646
0
0.000412
0.185446
2,982
100
95
29.82
0.814739
0.282696
0
0.145455
0
0
0.174664
0
0
0
0
0
0
1
0
false
0
0.054545
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
7198e58aa8208f1027ac99df705784155b899a5e
5,531
py
Python
mpitest/test_lhc_driver.py
colinxs/OpenMDAO
a9a52be29281a23a102c64b577066ee5fc70f4b4
[ "Apache-2.0" ]
17
2018-01-11T20:13:59.000Z
2022-03-22T03:46:05.000Z
mpitest/test_lhc_driver.py
colinxs/OpenMDAO
a9a52be29281a23a102c64b577066ee5fc70f4b4
[ "Apache-2.0" ]
6
2017-10-19T23:14:14.000Z
2020-11-22T17:30:57.000Z
mpitest/test_lhc_driver.py
colinxs/OpenMDAO
a9a52be29281a23a102c64b577066ee5fc70f4b4
[ "Apache-2.0" ]
10
2018-04-12T22:13:33.000Z
2020-05-07T10:02:59.000Z
""" Testing driver LatinHypercubeDriver.""" import os import unittest from random import seed from types import GeneratorType import numpy as np from openmdao.api import IndepVarComp, Group, Problem from openmdao.core.mpi_wrap import MPI from openmdao.test.mpi_util import MPITestCase if MPI: from openmdao.core....
31.971098
118
0.581812
647
5,531
4.857805
0.233385
0.011454
0.024817
0.01909
0.746421
0.746421
0.699332
0.699332
0.699332
0.699332
0
0.025383
0.316218
5,531
172
119
32.156977
0.805658
0.087868
0
0.743802
0
0
0.09825
0
0
0
0
0
0.090909
1
0.033058
false
0
0.123967
0
0.173554
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
71b4650476f44721e9d9d7c1bccd15d55257733f
201
py
Python
tests/unsafe_migrations/models.py
pombredanne/django-zerodowntime
ad2a9415bd3024e251eaf478abeb23fa905477d4
[ "ISC" ]
null
null
null
tests/unsafe_migrations/models.py
pombredanne/django-zerodowntime
ad2a9415bd3024e251eaf478abeb23fa905477d4
[ "ISC" ]
null
null
null
tests/unsafe_migrations/models.py
pombredanne/django-zerodowntime
ad2a9415bd3024e251eaf478abeb23fa905477d4
[ "ISC" ]
null
null
null
from django.db import models class UnsafeModel(models.Model): name = models.CharField(max_length=100) some_date = models.DateTimeField(auto_now=True) field_added = models.IntegerField()
22.333333
51
0.756219
26
201
5.692308
0.846154
0
0
0
0
0
0
0
0
0
0
0.017544
0.149254
201
8
52
25.125
0.847953
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
71c7265b89a1df41d2cd7a5c87985ee74b041d5c
12,877
py
Python
pandas/tests/indexes/interval/test_interval_new.py
zfrenchee/pandas
d28f9326de26882a9b4dc0bee9dec5c598747190
[ "BSD-3-Clause" ]
null
null
null
pandas/tests/indexes/interval/test_interval_new.py
zfrenchee/pandas
d28f9326de26882a9b4dc0bee9dec5c598747190
[ "BSD-3-Clause" ]
null
null
null
pandas/tests/indexes/interval/test_interval_new.py
zfrenchee/pandas
d28f9326de26882a9b4dc0bee9dec5c598747190
[ "BSD-3-Clause" ]
1
2019-03-31T13:46:57.000Z
2019-03-31T13:46:57.000Z
from __future__ import division import pytest import numpy as np from pandas import Interval, IntervalIndex, Int64Index from pandas.tests.indexes.common import Base import pandas.util.testing as tm pytestmark = pytest.mark.skip(reason="new indexing tests for issue 16316") class TestIntervalIndex(Base): @pyte...
41.53871
78
0.571406
1,787
12,877
3.998881
0.080022
0.015953
0.082284
0.092359
0.815561
0.762105
0.706549
0.657431
0.5904
0.564092
0
0.069896
0.257824
12,877
309
79
41.673139
0.677828
0.066087
0
0.497758
0
0
0.043156
0
0
0
0
0.003236
0.286996
1
0.058296
false
0
0.026906
0
0.089686
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
71cb779129fb9d049253fcd6d51a6a6131ec7fc6
209
py
Python
python_stock/5/Python5-3.py
hollo08/stockstrategy
09ece2457d653439a8ace80a6ac7dd4da9813846
[ "MIT" ]
1
2020-09-18T15:08:46.000Z
2020-09-18T15:08:46.000Z
python_stock/5/Python5-3.py
hollo08/stockstrategy
09ece2457d653439a8ace80a6ac7dd4da9813846
[ "MIT" ]
null
null
null
python_stock/5/Python5-3.py
hollo08/stockstrategy
09ece2457d653439a8ace80a6ac7dd4da9813846
[ "MIT" ]
2
2022-01-23T03:26:22.000Z
2022-03-28T16:21:01.000Z
#定义列表变量 list1 = ["admin","admin888","zhangping","zhangping2019"] print("\n列表中的初始数据信息:",list1) #删除数据,即删除第三项和第四项数据 del list1[2:4] print("\n删除数据后的列表信息:",list1) #删除列表,就可以删除列表中所有数据 del list1 print("\n成功删除所有列表数据!")
20.9
56
0.736842
24
209
6.416667
0.708333
0.103896
0
0
0
0
0
0
0
0
0
0.071429
0.062201
209
9
57
23.222222
0.714286
0.191388
0
0
0
0
0.445783
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
71da6baa0306a51f57ea7ac99535963c84a4967d
303
py
Python
greenbot/migration_revisions/db/0008_delete_cascade.py
EMorf/greenbot
5528fcb9246109d6742a867b9668a408d43701d6
[ "MIT" ]
null
null
null
greenbot/migration_revisions/db/0008_delete_cascade.py
EMorf/greenbot
5528fcb9246109d6742a867b9668a408d43701d6
[ "MIT" ]
null
null
null
greenbot/migration_revisions/db/0008_delete_cascade.py
EMorf/greenbot
5528fcb9246109d6742a867b9668a408d43701d6
[ "MIT" ]
null
null
null
def up(cursor, bot): cursor.execute(""" ALTER TABLE message DROP CONSTRAINT message_user_id_fkey; """) cursor.execute(""" ALTER TABLE message ADD CONSTRAINT message_user_id_fkey FOREIGN KEY (user_id) REFERENCES "user"(discord_id) ON DELETE CASCADE; """)
23.307692
65
0.650165
37
303
5.108108
0.567568
0.095238
0.190476
0.243386
0.603175
0
0
0
0
0
0
0
0.250825
303
12
66
25.25
0.832599
0
0
0.363636
0
0
0.749175
0.069307
0
0
0
0
0
1
0.090909
false
0
0
0
0.090909
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e07a5d0d940ed0673114233db8b6b95c9beac9aa
127
py
Python
bnop_source/b_code/core/object_model/bnop_repositories.py
boro-alpha/bnop
ae80ce88f12f3b9d509f416aea4f19dc20f1081b
[ "MIT" ]
null
null
null
bnop_source/b_code/core/object_model/bnop_repositories.py
boro-alpha/bnop
ae80ce88f12f3b9d509f416aea4f19dc20f1081b
[ "MIT" ]
null
null
null
bnop_source/b_code/core/object_model/bnop_repositories.py
boro-alpha/bnop
ae80ce88f12f3b9d509f416aea4f19dc20f1081b
[ "MIT" ]
null
null
null
class BnopRepositories(object): def __init__( self, uuid): self.uuid = \ uuid
15.875
31
0.456693
10
127
5.4
0.7
0.296296
0
0
0
0
0
0
0
0
0
0
0.464567
127
7
32
18.142857
0.794118
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e0835084e9fedaf34ee7821bb6dc916e75f28266
24,190
py
Python
site-packages/extensionsimporter.py
oz90210/Pyto
59f185149b71e57e5debeb1c9a61a28739e81720
[ "MIT" ]
null
null
null
site-packages/extensionsimporter.py
oz90210/Pyto
59f185149b71e57e5debeb1c9a61a28739e81720
[ "MIT" ]
null
null
null
site-packages/extensionsimporter.py
oz90210/Pyto
59f185149b71e57e5debeb1c9a61a28739e81720
[ "MIT" ]
null
null
null
""" Module used internally by Pyto for importing C extension. """ import sys import importlib import traceback import os if "widget" not in os.environ: from sharing import open_url import urllib.parse def report_error(module, trace_back, e): """ Sends an E-mail reporting error. Args: ...
41
2,403
0.570897
2,430
24,190
5.373251
0.198354
0.046335
0.050548
0.033698
0.459141
0.431876
0.431876
0.431876
0.431876
0.430957
0
0.000791
0.320339
24,190
589
2,404
41.06961
0.793382
0.045887
0
0.801932
0
0
0.315124
0.23268
0
0
0
0
0
1
0.082126
false
0.02657
0.292271
0
0.589372
0.02657
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
e0b408f50c613f3c578d558a313bba57a4636ab0
694
py
Python
wcics/utils/tokens.py
CS-Center/CS-Center
3cd09f29d214406e6618fc67b9faf59a18f3f11b
[ "MIT" ]
null
null
null
wcics/utils/tokens.py
CS-Center/CS-Center
3cd09f29d214406e6618fc67b9faf59a18f3f11b
[ "MIT" ]
6
2019-12-06T18:06:28.000Z
2021-12-01T20:19:05.000Z
wcics/utils/tokens.py
CS-Center/CS-Center
3cd09f29d214406e6618fc67b9faf59a18f3f11b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from wcics.auth.errors import ExpiredJWT, InvalidJWT from wcics.auth.jwt import verify_jwt from wcics.database.models import Users from wcics.server.consts import ERROR_MESSAGES from wcics.server.errors import RedirectError from flask import flash, redirect, request def get_email_from_token...
33.047619
71
0.75072
88
694
5.784091
0.454545
0.088409
0.051081
0.102161
0.32613
0.204322
0.204322
0.204322
0
0
0
0.011589
0.129683
694
21
72
33.047619
0.831126
0.030259
0
0.133333
0
0
0.119048
0.065476
0
0
0
0
0
1
0.066667
true
0
0.4
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
e0e1c0a1b9e4df2754c04120881240a58b976b8c
295
py
Python
core/models/layers/__init__.py
zhuhanqing/ELight
1d9e84d4a53b40c1b05119ff2912a01a69b32007
[ "MIT" ]
null
null
null
core/models/layers/__init__.py
zhuhanqing/ELight
1d9e84d4a53b40c1b05119ff2912a01a69b32007
[ "MIT" ]
null
null
null
core/models/layers/__init__.py
zhuhanqing/ELight
1d9e84d4a53b40c1b05119ff2912a01a69b32007
[ "MIT" ]
null
null
null
''' Author: Hanqing Zhu(hqzhu@utexas.edu) Date: 2022-04-07 10:37:22 LastEditTime: 2022-04-07 10:37:23 LastEditors: Hanqing Zhu(hqzhu@utexas.edu) Description: import class and methods FilePath: /project/ELight/core/models/layers/__init__.py ''' from .pcm_conv2d import * from .pcm_linear import *
29.5
56
0.772881
47
295
4.723404
0.702128
0.09009
0.135135
0.189189
0.324324
0
0
0
0
0
0
0.108614
0.094915
295
10
57
29.5
0.722846
0.79661
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
e0ea4adece55f9e2c80964fe8585b77857ed3be3
449
py
Python
instagram_api/response/archived_stories_feed.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
13
2019-08-07T21:24:34.000Z
2020-12-12T12:23:50.000Z
instagram_api/response/archived_stories_feed.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
null
null
null
instagram_api/response/archived_stories_feed.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
null
null
null
from .mapper import ApiResponse, ApiResponseInterface from .mapper.types import Timestamp, AnyType from .model import ArchivedStoriesFeedItem __all__ = ['ArchivedStoriesFeedResponse'] class ArchivedStoriesFeedResponseInterface(ApiResponseInterface): items: [ArchivedStoriesFeedItem] num_results: int more_...
26.411765
85
0.821826
36
449
10.055556
0.666667
0.055249
0
0
0
0
0
0
0
0
0
0
0.124722
449
16
86
28.0625
0.92112
0
0
0
0
0
0.060134
0.060134
0
0
0
0
0
1
0
false
0.090909
0.272727
0
0.818182
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
e0f22391e5cd66e1d62e328680f3b0734c704d49
208
py
Python
app/app/endpoints/hello.py
robnmrz/rodcalc
e96d15452e342c497b96edeb520dc5549e0348a6
[ "MIT" ]
null
null
null
app/app/endpoints/hello.py
robnmrz/rodcalc
e96d15452e342c497b96edeb520dc5549e0348a6
[ "MIT" ]
null
null
null
app/app/endpoints/hello.py
robnmrz/rodcalc
e96d15452e342c497b96edeb520dc5549e0348a6
[ "MIT" ]
null
null
null
import json from flask import request, jsonify from flask_restful import Resource class HelloWorld(Resource): def post(self): data = json.loads(request.data) return jsonify(data)
23.111111
39
0.697115
26
208
5.538462
0.615385
0.125
0
0
0
0
0
0
0
0
0
0
0.235577
208
9
40
23.111111
0.90566
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.857143
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e0fb8e9c7770fcd5c6c2ae2b59749b236e7c4454
1,151
py
Python
main/sqla/models.py
gwynethbradbury/itdb
0664100b00ed8cf7d4565a0b2b90e089ad528733
[ "BSD-3-Clause" ]
null
null
null
main/sqla/models.py
gwynethbradbury/itdb
0664100b00ed8cf7d4565a0b2b90e089ad528733
[ "BSD-3-Clause" ]
null
null
null
main/sqla/models.py
gwynethbradbury/itdb
0664100b00ed8cf7d4565a0b2b90e089ad528733
[ "BSD-3-Clause" ]
null
null
null
from sqlalchemy import Column, Date, DateTime, ForeignKey, Integer, String, Text, Time, text from sqlalchemy.orm import relationship from sqlalchemy.ext.declarative import declarative_base from wtforms import form, fields, validators Base = declarative_base() metadata = Base.metadata # Define login and registra...
33.852941
92
0.703736
140
1,151
5.714286
0.521429
0.0525
0.07
0.0925
0.07
0
0
0
0
0
0
0
0.199826
1,151
34
93
33.852941
0.868621
0.396177
0
0
0
0
0
0
0
0
0
0
0
1
0.153846
false
0.076923
0.307692
0.076923
0.769231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
4601f5f29b7829421dc1c918a4a22aa6ac3ca806
1,259
py
Python
server/Protocol/Message.py
braccone/light-security-protocol
09a4e863095889ae23a3ee71b064a9e31c1390be
[ "MIT", "Unlicense" ]
null
null
null
server/Protocol/Message.py
braccone/light-security-protocol
09a4e863095889ae23a3ee71b064a9e31c1390be
[ "MIT", "Unlicense" ]
null
null
null
server/Protocol/Message.py
braccone/light-security-protocol
09a4e863095889ae23a3ee71b064a9e31c1390be
[ "MIT", "Unlicense" ]
null
null
null
import base64 from Cryptodome.Util.Padding import pad, unpad from Cryptodome.Cipher import AES class Message: def buildOTP(self, clientID, operation, nonce1, nonce3): return nonce1 + "," + clientID + "," + operation + "," + nonce3 # def sign(self, msg): # return hashlib.sha256(msg.encode()...
39.34375
80
0.600477
151
1,259
4.980132
0.443709
0.027926
0.031915
0.042553
0.170213
0.170213
0.098404
0.098404
0.098404
0.098404
0
0.046615
0.284353
1,259
32
81
39.34375
0.788013
0.691025
0
0
0
0
0.00831
0
0
0
0
0
0
1
0.166667
false
0
0.5
0.166667
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
460ba4f9551f9cdd5b6092e98853c50e19e5399d
5,042
py
Python
pymonet/semigroups.py
przemyslawjanpietrzak/pyMonet
94610ee4f1c71aa5f50e0813539bf1a2ea279d70
[ "MIT" ]
33
2017-07-05T07:04:52.000Z
2022-03-03T07:54:18.000Z
pymonet/semigroups.py
przemyslawjanpietrzak/pyMonet
94610ee4f1c71aa5f50e0813539bf1a2ea279d70
[ "MIT" ]
46
2017-06-28T20:48:31.000Z
2020-04-21T21:46:12.000Z
pymonet/semigroups.py
przemyslawjanpietrzak/MonetPy
94610ee4f1c71aa5f50e0813539bf1a2ea279d70
[ "MIT" ]
null
null
null
class Semigroup: """ In mathematics, a semigroup is an algebraic structure consisting of a set together with an associative binary operation. A semigroup generalizes a monoid in that there might not exist an identity element. It also (originally) generalized a group (a monoid with all inverses) ...
28.325843
120
0.610472
644
5,042
4.708075
0.186335
0.062335
0.026385
0.034301
0.513522
0.513522
0.513522
0.478232
0.354881
0.354881
0
0.002217
0.284213
5,042
177
121
28.485876
0.837905
0.450218
0
0.245614
0
0
0.055431
0
0
0
0
0
0
1
0.350877
false
0
0
0.192982
0.929825
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1cb3eb9d432064764157a8ab4ac6bbcaf9c50e11
135
py
Python
data_registry/apps.py
open-contracting/data-registry
5a73e7f2334c6af5be23070493842b494b3e5357
[ "BSD-3-Clause" ]
null
null
null
data_registry/apps.py
open-contracting/data-registry
5a73e7f2334c6af5be23070493842b494b3e5357
[ "BSD-3-Clause" ]
170
2021-02-12T12:52:37.000Z
2022-03-28T14:37:05.000Z
data_registry/apps.py
open-contracting/data-registry
5a73e7f2334c6af5be23070493842b494b3e5357
[ "BSD-3-Clause" ]
null
null
null
from django.apps import AppConfig class DataRegistryConfig(AppConfig): name = "data_registry" verbose_name = "Data registry"
19.285714
36
0.755556
15
135
6.666667
0.733333
0.16
0.32
0
0
0
0
0
0
0
0
0
0.17037
135
6
37
22.5
0.892857
0
0
0
0
0
0.192593
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1ccd84c3f33fec463c4e1796eafe0ed950ce85c0
690
py
Python
src/reviews/migrations/0010_auto_20160319_0758.py
kaka-lin/pycon.tw
67809a5e43b03273ac8d8f5a1b6b3d3f73474be7
[ "MIT" ]
47
2015-12-19T10:23:11.000Z
2018-06-13T08:07:33.000Z
src/reviews/migrations/0010_auto_20160319_0758.py
kaka-lin/pycon.tw
67809a5e43b03273ac8d8f5a1b6b3d3f73474be7
[ "MIT" ]
473
2018-12-01T13:01:48.000Z
2022-03-30T07:10:42.000Z
src/reviews/migrations/0010_auto_20160319_0758.py
kaka-lin/pycon.tw
67809a5e43b03273ac8d8f5a1b6b3d3f73474be7
[ "MIT" ]
91
2018-07-26T02:38:59.000Z
2022-01-16T02:38:31.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.3 on 2016-03-19 07:58 from __future__ import unicode_literals from django.db import migrations def migrate_score(apps, schema_editor): Review = apps.get_model('reviews', 'Review') Review.objects.filter(score=2).update(vote='+1') Review.objects.filter(scor...
26.538462
53
0.67971
91
690
5.021978
0.516484
0.142232
0.207877
0.262582
0.367615
0.367615
0.367615
0.367615
0.262582
0.262582
0
0.070568
0.157971
690
25
54
27.6
0.716007
0.097101
0
0
1
0
0.082258
0.037097
0
0
0
0
0
1
0.0625
false
0
0.125
0
0.375
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1ccf22217487b1b1f2dd6cb80bd6b7c5638b6fa7
58
py
Python
abc/115/a/answer.py
TakuyaNoguchi/atcoder
d079402e6fe9c9aaf3a6fc9272331ee71fc497da
[ "MIT" ]
null
null
null
abc/115/a/answer.py
TakuyaNoguchi/atcoder
d079402e6fe9c9aaf3a6fc9272331ee71fc497da
[ "MIT" ]
null
null
null
abc/115/a/answer.py
TakuyaNoguchi/atcoder
d079402e6fe9c9aaf3a6fc9272331ee71fc497da
[ "MIT" ]
null
null
null
D = int(input()) print("Christmas" + (" Eve" * (25 - D)))
19.333333
40
0.5
8
58
3.625
0.875
0
0
0
0
0
0
0
0
0
0
0.042553
0.189655
58
3
40
19.333333
0.574468
0
0
0
0
0
0.220339
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
1ce5c2e9bc82437b7181af48953045bdb3e12ea6
743
py
Python
src/bar_ext/bar/__init__.py
umedoblock/fugou
45d95f20bba6f85764fb686081098d92fc8cdb20
[ "BSD-3-Clause" ]
null
null
null
src/bar_ext/bar/__init__.py
umedoblock/fugou
45d95f20bba6f85764fb686081098d92fc8cdb20
[ "BSD-3-Clause" ]
2
2018-11-25T12:06:08.000Z
2018-12-05T14:37:59.000Z
src/bar_ext/bar/__init__.py
umedoblock/fugou
45d95f20bba6f85764fb686081098d92fc8cdb20
[ "BSD-3-Clause" ]
null
null
null
from abc import ABCMeta, abstractmethod, abstractproperty class Bar_abstract(metaclass=ABCMeta): pass try: # raise ImportError from _bar import Bar_base print('you use c extension') # print('_bar.Bar_base = 0x{:x}'.format(id(_bar.Bar_base))) # print(_bar.Bar_base) # print('dir(_bar.Bar_base) =') ...
24.766667
61
0.655451
102
743
4.509804
0.372549
0.182609
0.195652
0.097826
0.1
0.1
0.1
0.1
0
0
0
0.001718
0.216689
743
29
62
25.62069
0.78866
0.476447
0
0.230769
0
0
0.128342
0
0
0
0
0
0
1
0
true
0.230769
0.230769
0
0.461538
0.230769
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
1cf32f3541f68b245cfe88ae129289b3cee7a999
750
py
Python
coolbeans/app/models/quiz.py
wolfela/SecondYear
16c3bdc1b2fe24c64837c7d960d0f6aed7375ca9
[ "BSD-2-Clause" ]
null
null
null
coolbeans/app/models/quiz.py
wolfela/SecondYear
16c3bdc1b2fe24c64837c7d960d0f6aed7375ca9
[ "BSD-2-Clause" ]
null
null
null
coolbeans/app/models/quiz.py
wolfela/SecondYear
16c3bdc1b2fe24c64837c7d960d0f6aed7375ca9
[ "BSD-2-Clause" ]
null
null
null
from django.db.models import CharField from django_mysql.models import ListCharField from safedelete import SOFT_DELETE from safedelete.models import SafeDeleteMixin from coolbeans.app.models.base import TimeStampedModel class QuizModel(TimeStampedModel, SafeDeleteMixin): """ A model for a quiz. """ _...
39.473684
123
0.78
97
750
5.886598
0.360825
0.110333
0.14711
0.183888
0.441331
0.441331
0.283713
0.283713
0.283713
0.283713
0
0.032209
0.130667
750
18
124
41.666667
0.843558
0.025333
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.416667
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
e803ae411bbc8a0379b80ed1b5c2897264eef189
338
py
Python
treadmill/sched/__init__.py
gaocegege/treadmill
04325d319c0ee912c066f07b88b674e84485f154
[ "Apache-2.0" ]
2
2017-03-20T07:13:33.000Z
2017-05-03T03:39:53.000Z
treadmill/sched/__init__.py
gaocegege/treadmill
04325d319c0ee912c066f07b88b674e84485f154
[ "Apache-2.0" ]
12
2017-07-10T07:04:06.000Z
2017-07-26T09:32:54.000Z
treadmill/sched/__init__.py
gaocegege/treadmill
04325d319c0ee912c066f07b88b674e84485f154
[ "Apache-2.0" ]
2
2017-05-04T11:25:32.000Z
2017-07-11T09:10:01.000Z
from ..plugins.scheduler.algorithm import match_app_constraints, \ match_app_lifetime, alive_servers, spread from ..plugins.scheduler import predicates, priorities from .utils import State __all__ = ['match_app_constraints', 'match_app_lifetime', 'alive_servers', 'spread', 'State', 'predicate...
37.555556
66
0.736686
37
338
6.351351
0.459459
0.13617
0.170213
0.204255
0.451064
0.451064
0.451064
0.451064
0.451064
0
0
0
0.156805
338
8
67
42.25
0.824561
0
0
0
0
0
0.245562
0.06213
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e82031729e5b74fc0f8770010cf4d039d0e44511
169
py
Python
src/test/resources/script/jython/testOOP.py
adchilds/jythonutil
24e6b945cf7474358be1f43e0a72f37411289e39
[ "CNRI-Jython" ]
5
2016-02-05T19:44:57.000Z
2017-05-26T10:26:29.000Z
src/test/resources/script/jython/testOOP.py
adchilds/jythonutil
24e6b945cf7474358be1f43e0a72f37411289e39
[ "CNRI-Jython" ]
1
2017-02-03T06:19:21.000Z
2017-02-11T03:55:55.000Z
src/test/resources/script/jython/testOOP.py
adchilds/jythonutil
24e6b945cf7474358be1f43e0a72f37411289e39
[ "CNRI-Jython" ]
null
null
null
import sys from script.jython.oop.test import SomeClass if __name__ == '__main__': someClass = SomeClass() result = someClass.compute(sys.argv[1], sys.argv[2])
24.142857
56
0.715976
23
169
4.913043
0.695652
0.123894
0
0
0
0
0
0
0
0
0
0.013986
0.153846
169
7
56
24.142857
0.776224
0
0
0
0
0
0.047059
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e8346051272011b58ece7f7cd0db7670a541892e
716
py
Python
thundra/integrations/handler_wrappers/chalice.py
sturmianseq/thundra-agent-python
4cee02d790eb7b8e4dea4e2e9dcd1f67533b1c56
[ "Apache-2.0" ]
22
2018-03-05T20:02:46.000Z
2021-04-09T12:00:18.000Z
thundra/integrations/handler_wrappers/chalice.py
sturmianseq/thundra-agent-python
4cee02d790eb7b8e4dea4e2e9dcd1f67533b1c56
[ "Apache-2.0" ]
13
2018-03-26T07:57:57.000Z
2021-06-29T14:22:52.000Z
thundra/integrations/handler_wrappers/chalice.py
sturmianseq/thundra-agent-python
4cee02d790eb7b8e4dea4e2e9dcd1f67533b1c56
[ "Apache-2.0" ]
3
2018-07-04T19:00:25.000Z
2020-12-01T11:57:29.000Z
from __future__ import absolute_import from importlib import import_module from thundra.config.config_provider import ConfigProvider from thundra.config import config_names import wrapt _thundra_instance = None def _wrapper(wrapped, _, args, kwargs): wrapped = _thundra_instance(wrapped) return wrapped(*args...
28.64
110
0.744413
80
716
6.2375
0.45
0.210421
0.068136
0.12024
0
0
0
0
0
0
0
0
0.191341
716
24
111
29.833333
0.861831
0
0
0
0
0
0.041899
0
0
0
0
0
0
1
0.111111
false
0.055556
0.333333
0
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
1c0ca16b1af202463bd6be9737756e102725ab4f
354
py
Python
python/testData/hierarchy/call/Static/Super/main.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/hierarchy/call/Static/Super/main.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/hierarchy/call/Static/Super/main.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
class SomeBaseClass(object): def a_method(self): pass class SubclassOne(SomeBaseClass): def a_method(self): super(SubclassOne, self).a_method() class SubclassTwo(SomeBaseClass): def a_method(self): super(SubclassTwo, self).a_method() def that_function(): obj = SubclassTwo()...
18.631579
43
0.675141
43
354
5.395349
0.418605
0.150862
0.12931
0.181034
0.275862
0.275862
0
0
0
0
0
0
0.20904
354
18
44
19.666667
0.828571
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.083333
0
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
1c167c70d8ef8e3766e33fee2e2a7bfa6f83d41a
266
py
Python
tridentstream/apps.py
tridentstream/mediaserver
5d47d766df2e8dca076e41348062567a569019fd
[ "MIT" ]
6
2020-01-03T14:50:09.000Z
2021-09-13T01:44:31.000Z
tridentstream/apps.py
tidalstream/mediaserver
5d47d766df2e8dca076e41348062567a569019fd
[ "MIT" ]
null
null
null
tridentstream/apps.py
tidalstream/mediaserver
5d47d766df2e8dca076e41348062567a569019fd
[ "MIT" ]
null
null
null
import logging from django.apps import AppConfig as DjangoAppConfig class AppConfig(DjangoAppConfig): name = "tridentstream" verbose_name = "Tridentstream" def ready(self): from .eventtrack import register_signals register_signals()
19
52
0.729323
27
266
7.074074
0.666667
0.17801
0
0
0
0
0
0
0
0
0
0
0.210526
266
13
53
20.461538
0.909524
0
0
0
0
0
0.097744
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.875
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
1c1cc7e351716d862e0cd0b8a79e57fb8c7b168d
466
py
Python
src/test/test_gvision.py
joyliao07/401_midterm_wizard_game
4683c04a5c54f8fa499110cd84b9e5e254139b3c
[ "MIT" ]
1
2019-02-27T01:51:33.000Z
2019-02-27T01:51:33.000Z
src/test/test_gvision.py
joyliao07/wizards_apprentice
4683c04a5c54f8fa499110cd84b9e5e254139b3c
[ "MIT" ]
30
2018-12-27T18:33:16.000Z
2021-09-08T00:48:37.000Z
src/test/test_gvision.py
joyliao07/401_midterm_wizard_game
4683c04a5c54f8fa499110cd84b9e5e254139b3c
[ "MIT" ]
null
null
null
from ..gvision import ProcessedImage import os # TODO: # test for files other than images # test for image files with no features def test_import(app): assert ProcessedImage def test_instance(app): img_source = 'src/test/test_images/test_full_match.png' assert ProcessedImage(img_source) def test_lab...
20.26087
59
0.753219
67
466
5.044776
0.447761
0.106509
0.071006
0.088757
0.266272
0.266272
0.266272
0.266272
0.266272
0.266272
0
0
0.167382
466
22
60
21.181818
0.871134
0.16309
0
0.181818
0
0
0.220207
0.207254
0
0
0
0.045455
0.272727
1
0.272727
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
1c567672c9571529b5a8d1dc1cbdf9409fe09e52
287
py
Python
examples/sample-plain/accounts/exceptions.py
khornberg/starlette-jsonapi
cdda77a81fd77db595eec9659c3bdfc9fe39a8aa
[ "MIT" ]
16
2020-07-05T18:12:41.000Z
2022-03-11T21:12:17.000Z
examples/sample-plain/accounts/exceptions.py
khornberg/starlette-jsonapi
cdda77a81fd77db595eec9659c3bdfc9fe39a8aa
[ "MIT" ]
25
2020-07-04T17:06:40.000Z
2021-08-18T09:24:30.000Z
examples/sample-plain/accounts/exceptions.py
khornberg/starlette-jsonapi
cdda77a81fd77db595eec9659c3bdfc9fe39a8aa
[ "MIT" ]
3
2020-07-10T14:17:44.000Z
2021-08-12T11:43:45.000Z
from starlette_jsonapi.exceptions import ResourceNotFound class OrganizationNotFound(ResourceNotFound): detail = 'Organization not found.' class UserNotFound(ResourceNotFound): detail = 'User not found.' class TeamNotFound(ResourceNotFound): detail = 'Team not found.'
20.5
57
0.773519
27
287
8.185185
0.592593
0.298643
0.117647
0
0
0
0
0
0
0
0
0
0.149826
287
13
58
22.076923
0.905738
0
0
0
0
0
0.184669
0
0
0
0
0
0
1
0
false
0
0.142857
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
1c5e4b95841e00eab9b83647771fd62afde3629c
246
py
Python
python/koch.py
CoderDojoDC/fractals
3393b1db40be10ab71d21822855dd6cd9406ee62
[ "MIT" ]
null
null
null
python/koch.py
CoderDojoDC/fractals
3393b1db40be10ab71d21822855dd6cd9406ee62
[ "MIT" ]
null
null
null
python/koch.py
CoderDojoDC/fractals
3393b1db40be10ab71d21822855dd6cd9406ee62
[ "MIT" ]
null
null
null
import turtle t = turtle.Turtle() def draw_side(t): t.forward(100) t.left(60) t.forward(100) t.right(120) t.forward(100) t.left(60) t.forward(100) for x in range(3): draw_side(t) t.right(120) turtle.done()
12.947368
19
0.593496
43
246
3.348837
0.418605
0.222222
0.305556
0.25
0.402778
0.402778
0.402778
0.402778
0.402778
0
0
0.124324
0.247967
246
19
20
12.947368
0.654054
0
0
0.571429
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.142857
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1c6a8a77ddc61d95723983b383c4274b73b3ddd1
2,802
py
Python
accounts/models.py
Pia007/SMA-Team-1
effabee31cf984854bbc2389461310e0fc1c8ef4
[ "MIT" ]
null
null
null
accounts/models.py
Pia007/SMA-Team-1
effabee31cf984854bbc2389461310e0fc1c8ef4
[ "MIT" ]
3
2021-07-21T08:01:54.000Z
2021-07-21T08:26:23.000Z
accounts/models.py
Pia007/SMA-Team-1
effabee31cf984854bbc2389461310e0fc1c8ef4
[ "MIT" ]
9
2021-07-14T13:49:00.000Z
2021-08-07T17:00:08.000Z
from django.db import models from django.contrib.auth.models import AbstractUser class Users(AbstractUser): class AccountStatus(models.TextChoices): LOCKED = 'Locked', 'Locked' UNLOCKED = 'Unlocked', 'Unlocked' first_name = models.CharField(max_length = 255) last_name = models.CharField(ma...
44.47619
130
0.728051
355
2,802
5.540845
0.250704
0.106762
0.128114
0.170819
0.613116
0.517031
0.454499
0.323843
0.323843
0.301983
0
0.018447
0.168094
2,802
62
131
45.193548
0.825397
0
0
0.230769
0
0
0.024625
0
0
0
0
0
0
1
0.057692
false
0.057692
0.038462
0.057692
0.884615
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
1c8287342496fd809d7469eadcd22b01cdc53bf2
296
py
Python
ffrecord/torch/__init__.py
HFAiLab/ffrecord
e916dc715ffa38a304a673ade7c5aa1efff5936d
[ "MIT" ]
47
2021-09-07T08:34:03.000Z
2022-03-26T06:06:38.000Z
ffrecord/torch/__init__.py
HFAiLab/ffrecord
e916dc715ffa38a304a673ade7c5aa1efff5936d
[ "MIT" ]
2
2021-12-10T13:40:24.000Z
2022-03-31T12:02:30.000Z
ffrecord/torch/__init__.py
HFAiLab/ffrecord
e916dc715ffa38a304a673ade7c5aa1efff5936d
[ "MIT" ]
4
2021-09-10T05:21:21.000Z
2022-03-17T13:29:24.000Z
from .dataset import ( ConcatDataset, Dataset, ReaderRegistry, Subset, ) from .dataloader import DataLoader __all__ = [ 'ConcatDataset', 'DataLoader', 'Dataset', 'ReaderRegistry', 'Subset', ] # Please keep this list sorted assert __all__ == sorted(__all__)
14.8
34
0.655405
26
296
7
0.538462
0.230769
0.296703
0
0
0
0
0
0
0
0
0
0.239865
296
19
35
15.578947
0.808889
0.094595
0
0
0
0
0.18797
0
0
0
0
0
0.066667
1
0
false
0
0.133333
0
0.133333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1c8f3ef3962ee5143d083047a5dfb28a6c3aafa2
264
py
Python
examples/echo.py
kashopi/lymph
973a54b3e1d65ffecfd93cf9e5362f057f4868d2
[ "Apache-2.0" ]
89
2015-03-01T11:39:55.000Z
2022-01-31T22:00:15.000Z
examples/echo.py
kashopi/lymph
973a54b3e1d65ffecfd93cf9e5362f057f4868d2
[ "Apache-2.0" ]
214
2015-01-02T23:48:49.000Z
2020-01-14T10:47:37.000Z
examples/echo.py
kashopi/lymph
973a54b3e1d65ffecfd93cf9e5362f057f4868d2
[ "Apache-2.0" ]
36
2015-01-13T13:44:15.000Z
2021-09-15T17:55:41.000Z
import lymph class EchoService(lymph.Interface): @lymph.rpc() def echo(self, text=None): return text @lymph.rpc() def upper(self, text=None): self.emit('uppercase_transform_finished', {'text': text}) return text.upper()
18.857143
65
0.625
32
264
5.09375
0.53125
0.09816
0.134969
0
0
0
0
0
0
0
0
0
0.238636
264
13
66
20.307692
0.810945
0
0
0.222222
0
0
0.121212
0.106061
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
98ce3a22ade2af90e2d4c3bd9519e83398b64983
80
py
Python
peritia/_open_file.py
scalabli/quo
70b6d4129ee705930f1f8a792fc4c9247d973f9d
[ "MIT" ]
3
2022-03-13T13:22:35.000Z
2022-03-18T08:22:51.000Z
peritia/_open_file.py
scalabli/quo
70b6d4129ee705930f1f8a792fc4c9247d973f9d
[ "MIT" ]
1
2022-03-21T16:29:54.000Z
2022-03-21T16:29:54.000Z
peritia/_open_file.py
scalabli/quo
70b6d4129ee705930f1f8a792fc4c9247d973f9d
[ "MIT" ]
null
null
null
from tkinter.filedialog import askopenfilename path_file = askopenfilename()
13.333333
46
0.825
8
80
8.125
0.875
0
0
0
0
0
0
0
0
0
0
0
0.125
80
5
47
16
0.928571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
98e7b0a29751d00eb3420284db67d32bbc4fcb69
6,270
py
Python
algorithms_with_examples/Espresso_a_b.py
RebuTemp/transformation-Espresso
b8dfdbcd9530dffa49a57836d6b325cb44eb9c08
[ "MIT" ]
null
null
null
algorithms_with_examples/Espresso_a_b.py
RebuTemp/transformation-Espresso
b8dfdbcd9530dffa49a57836d6b325cb44eb9c08
[ "MIT" ]
null
null
null
algorithms_with_examples/Espresso_a_b.py
RebuTemp/transformation-Espresso
b8dfdbcd9530dffa49a57836d6b325cb44eb9c08
[ "MIT" ]
null
null
null
"""The implementation of comparing Espresso, Espresso-a and Espresso-b """ import ast import copy from functools import reduce def Gal_NLFSR(R, FF, ZF, N0): """Run Galois NLFSR Parameters ---------- R : int the number of output bits FF : list feedback functions of t...
40.714286
98
0.429346
1,339
6,270
1.988798
0.128454
0.153962
0.119414
0.088622
0.564401
0.537364
0.472775
0.459632
0.434097
0.410064
0
0.281197
0.339234
6,270
153
99
40.980392
0.361574
0.131419
0
0.415094
0
0
0.016145
0
0
0
0
0
0
1
0.009434
false
0
0.028302
0
0.04717
0.018868
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
98f530c46eacada46130709a84082f52c65786b3
417
py
Python
bot.py
Deepwarrior/room_bot
0b2b9269d0f20c4362b9b5a6cfd11bd59ad46d6e
[ "MIT" ]
1
2020-09-24T21:03:26.000Z
2020-09-24T21:03:26.000Z
bot.py
Deepwarrior/room_bot
0b2b9269d0f20c4362b9b5a6cfd11bd59ad46d6e
[ "MIT" ]
2
2020-10-23T18:22:40.000Z
2020-11-29T11:07:04.000Z
bot.py
Deepwarrior/room_bot
0b2b9269d0f20c4362b9b5a6cfd11bd59ad46d6e
[ "MIT" ]
null
null
null
import telebot class Bot: def __init__(self, token): bot = telebot.TeleBot(token) def give_link(self, chat, player): pass def register(self, player): pass def kusb(self, chat, player): pass def parse_text(self, chat): pass def check_answer(self, mess...
16.038462
38
0.573141
52
417
4.423077
0.461538
0.182609
0.169565
0.156522
0.182609
0
0
0
0
0
0
0
0.33813
417
26
39
16.038462
0.833333
0
0
0.388889
0
0
0
0
0
0
0
0
0
1
0.444444
false
0.388889
0.055556
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
98faac101f0ff0a9a137e6a1ddc72a574b2e6eeb
219
py
Python
tests/parse_csv.py
anatoly-scherbakov/vendetta
dce4661e4ed3b6eb84070ef96aae5874bc0af647
[ "MIT" ]
5
2021-01-14T15:08:27.000Z
2021-01-30T13:36:38.000Z
tests/parse_csv.py
anatoly-scherbakov/vendetta
dce4661e4ed3b6eb84070ef96aae5874bc0af647
[ "MIT" ]
5
2021-03-22T07:35:15.000Z
2021-05-19T03:52:17.000Z
tests/parse_csv.py
anatoly-scherbakov/vendetta
dce4661e4ed3b6eb84070ef96aae5874bc0af647
[ "MIT" ]
null
null
null
import csv from typing import TextIO, List from vendetta.models import Row def parse_csv(input_data: TextIO) -> List[Row]: """Parse text CSV data for test purposes.""" return list(csv.DictReader(input_data))
21.9
48
0.73516
33
219
4.787879
0.575758
0.126582
0
0
0
0
0
0
0
0
0
0
0.164384
219
9
49
24.333333
0.863388
0.173516
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.6
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3