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
05159315a06c46d755588ea72a5481983b449f62
18,929
py
Python
data/typing/numpy.linalg.py
pydata-apis/python-api-record
684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b
[ "MIT" ]
67
2020-08-17T11:53:26.000Z
2021-11-08T20:16:06.000Z
data/typing/numpy.linalg.py
data-apis/python-record-api
684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b
[ "MIT" ]
36
2020-08-17T11:09:51.000Z
2021-12-15T18:09:47.000Z
data/typing/numpy.linalg.py
pydata-apis/python-api-record
684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b
[ "MIT" ]
7
2020-08-19T05:06:47.000Z
2020-11-04T05:10:38.000Z
from typing import * @overload def cholesky(a: numpy.ndarray): """ usage.scipy: 3 usage.statsmodels: 46 """ ... @overload def cholesky(a: pandas.core.frame.DataFrame): """ usage.statsmodels: 2 """ ... @overload def cholesky(a: List[List[float]]): """ usage.scipy: 2 ...
14.471713
87
0.530931
2,322
18,929
4.322136
0.050818
0.143583
0.072539
0.143483
0.893284
0.76953
0.691909
0.634615
0.592567
0.550717
0
0.02459
0.275979
18,929
1,307
88
14.482785
0.707698
0.237097
0
0.644944
0
0
0.004511
0
0
0
0
0
0
1
0.332584
false
0
0.002247
0
0.339326
0
0
0
0
null
0
0
0
1
1
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
0522dd605e0b16cc37d1180cfd606ec79fa644ea
526
py
Python
docs/coloquios/pilha.py
VGasparini/vgasparini.github.io
0932239eebd28b7be174289c19dea5763a1e1734
[ "MIT" ]
2
2020-07-25T03:44:29.000Z
2020-12-08T20:18:15.000Z
docs/coloquios/pilha.py
VGasparini/vgasparini.github.io
0932239eebd28b7be174289c19dea5763a1e1734
[ "MIT" ]
null
null
null
docs/coloquios/pilha.py
VGasparini/vgasparini.github.io
0932239eebd28b7be174289c19dea5763a1e1734
[ "MIT" ]
1
2019-11-23T15:22:08.000Z
2019-11-23T15:22:08.000Z
class Pilha: pilha = list() def __init__(self, elemento=None): if elemento: self.inserir(elemento) def inserir(self, elemento): self.pilha.insert(0, elemento) def remover(self): elemento = self.pilha.pop(-1) return elemento def tamanho(self): c...
20.230769
38
0.560837
61
526
4.770492
0.360656
0.123711
0.109966
0.14433
0
0
0
0
0
0
0
0.017192
0.336502
526
25
39
21.04
0.816619
0
0
0
0
0
0
0
0
0
0
0
0
1
0.315789
false
0
0
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
0
0
1
1
0
0
3
05284560a071053f875367705830fee41ac1439b
210
py
Python
maps/models.py
DevSheila/DonationsPlatform
5738cf69958c25c99e690bcceb091c62081a5aba
[ "MIT" ]
2
2022-02-08T21:34:45.000Z
2022-02-12T13:18:24.000Z
mapping/models.py
majorblackc/DonationsPlatform
62f92cf74ad5813744d1ffefe608b42dcdfb7173
[ "MIT" ]
null
null
null
mapping/models.py
majorblackc/DonationsPlatform
62f92cf74ad5813744d1ffefe608b42dcdfb7173
[ "MIT" ]
2
2022-02-08T19:42:26.000Z
2022-02-08T21:34:55.000Z
from django.db import models from django.contrib.gis.db.models import PointField # Create your models here. class Marker(models.Model): name = models.CharField(max_length=255) location = PointField()
23.333333
51
0.761905
29
210
5.482759
0.689655
0.125786
0
0
0
0
0
0
0
0
0
0.01676
0.147619
210
8
52
26.25
0.871508
0.114286
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
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
1
0
0
0
0
3
052dbbe79e17cd88795f86951129ad07456ae798
334
py
Python
demo_project/api/serializers.py
sobolevn/django-swagger-tester
5f47ea8056c1a26a40c4c2f3b5b22dba84242f30
[ "BSD-3-Clause" ]
null
null
null
demo_project/api/serializers.py
sobolevn/django-swagger-tester
5f47ea8056c1a26a40c4c2f3b5b22dba84242f30
[ "BSD-3-Clause" ]
null
null
null
demo_project/api/serializers.py
sobolevn/django-swagger-tester
5f47ea8056c1a26a40c4c2f3b5b22dba84242f30
[ "BSD-3-Clause" ]
null
null
null
from rest_framework import serializers class VehicleSerializer(serializers.Serializer): class Meta: swagger_schema_fields = {'example': {'vehicleType': 'truck'}} vehicle_type = serializers.CharField(max_length=10) class ItemSerializer(serializers.Serializer): item_type = serializers.CharField(m...
25.692308
69
0.766467
35
334
7.114286
0.657143
0.168675
0.192771
0.216867
0.281125
0.281125
0
0
0
0
0
0.013889
0.137725
334
12
70
27.833333
0.850694
0
0
0
0
0
0.068862
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.857143
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
0577af3523f46a3cc9d6c4eff9f5cac1d7cbd16d
378
py
Python
fondInformatica/python/Progetto triangoli (prof).py
peppelongo96/materiale-LT-ing-informatica-unical
dead349a0c50d04c72ecd8f673c5a60cd413c680
[ "MIT" ]
null
null
null
fondInformatica/python/Progetto triangoli (prof).py
peppelongo96/materiale-LT-ing-informatica-unical
dead349a0c50d04c72ecd8f673c5a60cd413c680
[ "MIT" ]
null
null
null
fondInformatica/python/Progetto triangoli (prof).py
peppelongo96/materiale-LT-ing-informatica-unical
dead349a0c50d04c72ecd8f673c5a60cd413c680
[ "MIT" ]
null
null
null
print ("Decidere il tipo di triangolo") a= float(input("inserisci lato 1: ")) b= float (input ("Inserisci lato 2: ")) c= float (input ("Inserisci lat 3: ")) print ("Lato 1: ", a) print ("Lato 2: ", b) print ("Lato 3: ", c) if a==b and b==c: print ("Triangolo equilatero") elif a==b or b==c or a==c: print ("T...
21
39
0.611111
61
378
3.786885
0.42623
0.12987
0.246753
0.199134
0
0
0
0
0
0
0
0.019868
0.201058
378
17
40
22.235294
0.745033
0
0
0
0
0
0.425926
0
0
0
0
0
0
1
0
false
0
0
0
0
0.538462
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
0
1
0
3
057b9fd7975e6d7b15b3db92ff9e037a9b8308a4
402
py
Python
flywheel_cli/importers/__init__.py
amitvakula/python-cli
0bdbd39c40cdb3fe4dbd3b0cb38abbce94242dac
[ "MIT" ]
null
null
null
flywheel_cli/importers/__init__.py
amitvakula/python-cli
0bdbd39c40cdb3fe4dbd3b0cb38abbce94242dac
[ "MIT" ]
null
null
null
flywheel_cli/importers/__init__.py
amitvakula/python-cli
0bdbd39c40cdb3fe4dbd3b0cb38abbce94242dac
[ "MIT" ]
null
null
null
import fs import fs.zipfs from .container_factory import ContainerResolver, ContainerFactory from .dicom_scan import DicomScanner, DicomScannerImporter from .folder import FolderImporter from .match_util import compile_regex from .packfile import create_zip_packfile from .parrec_scan import ParRecScanner, ParRecScanne...
33.5
66
0.863184
48
402
7.0625
0.604167
0.047198
0
0
0
0
0
0
0
0
0
0
0.10199
402
11
67
36.545455
0.939058
0
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
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
05935ac31aa0fbcd6700ea0cf9598069292b5e08
172
py
Python
exercises/listas2.py
ropoko/exercises-python
524c569f9fd8088e6860f8e1ad87e4998dbb1226
[ "MIT" ]
null
null
null
exercises/listas2.py
ropoko/exercises-python
524c569f9fd8088e6860f8e1ad87e4998dbb1226
[ "MIT" ]
null
null
null
exercises/listas2.py
ropoko/exercises-python
524c569f9fd8088e6860f8e1ad87e4998dbb1226
[ "MIT" ]
null
null
null
a = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89] b = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13] c = [] for x in b: if x in a and x not in c: c.append(x) print(c)
15.636364
47
0.424419
45
172
1.622222
0.622222
0.054795
0.082192
0
0
0
0
0
0
0
0
0.297297
0.354651
172
11
48
15.636364
0.36036
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
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
059551dd17949964d51ca3673e58fd26a7e1d32c
441
py
Python
appengine/fix_paths.py
meedan/montage
4da0116931edc9af91f226876330645837dc9bcc
[ "Apache-2.0" ]
6
2018-07-31T16:48:07.000Z
2020-02-01T03:17:51.000Z
appengine/fix_paths.py
meedan/montage
4da0116931edc9af91f226876330645837dc9bcc
[ "Apache-2.0" ]
41
2018-08-07T16:43:07.000Z
2020-06-05T18:54:50.000Z
appengine/fix_paths.py
meedan/montage
4da0116931edc9af91f226876330645837dc9bcc
[ "Apache-2.0" ]
1
2018-08-07T16:40:18.000Z
2018-08-07T16:40:18.000Z
import sys import os from distutils.sysconfig import get_python_lib sys.path[0:0] = [ os.path.join(os.path.dirname(__file__), 'src'), os.path.join(os.path.dirname(__file__), 'lib'), os.path.join(os.path.dirname(__file__), 'sources'), os.path.join(os.path.dirname(__file__), 'sources/django-protorpc'), ...
29.4
77
0.702948
65
441
4.461538
0.476923
0.165517
0.137931
0.165517
0.42069
0.42069
0.42069
0.234483
0
0
0
0.005333
0.14966
441
14
78
31.5
0.768
0.192744
0
0
0
0
0.101983
0.065156
0
0
0
0.071429
0
1
0
true
0
0.3
0
0.3
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
1
0
0
0
1
0
0
0
0
0
0
3
552a134ed555a2390f9492ef89f86f015cce9a30
28
py
Python
gfat/models/one_eight_two/__init__.py
paurosello/gfat
23bcb7bf328be8bd0c1aa99ff869d8e539563eba
[ "MIT" ]
null
null
null
gfat/models/one_eight_two/__init__.py
paurosello/gfat
23bcb7bf328be8bd0c1aa99ff869d8e539563eba
[ "MIT" ]
2
2021-03-25T21:40:00.000Z
2021-11-15T17:46:49.000Z
gfat/models/one_eight_two/__init__.py
paurosello/gfat
23bcb7bf328be8bd0c1aa99ff869d8e539563eba
[ "MIT" ]
null
null
null
DECLARATION_MODEL = "182"
7
25
0.714286
3
28
6.333333
1
0
0
0
0
0
0
0
0
0
0
0.130435
0.178571
28
3
26
9.333333
0.695652
0
0
0
0
0
0.115385
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
5541c12d2fa18a5119014f52c49ef9b9912b4808
29
py
Python
metpetdb_api/apps/samples/management/__init__.py
metpetdb/api_v2
c426e775332d01645e6c4f5513d2a81ba5d69ba7
[ "MIT" ]
4
2016-05-09T16:06:40.000Z
2019-05-10T15:27:33.000Z
metpetdb_api/api/samples/__init__.py
metpetdb/api_v2
c426e775332d01645e6c4f5513d2a81ba5d69ba7
[ "MIT" ]
15
2016-09-27T17:29:43.000Z
2019-05-14T20:15:31.000Z
metpetdb_api/api/samples/__init__.py
metpetdb/api_v2
c426e775332d01645e6c4f5513d2a81ba5d69ba7
[ "MIT" ]
3
2016-07-19T04:18:35.000Z
2018-02-19T00:52:00.000Z
__author__ = 'krishnaaradhi'
14.5
28
0.793103
2
29
9.5
1
0
0
0
0
0
0
0
0
0
0
0
0.103448
29
1
29
29
0.730769
0
0
0
0
0
0.448276
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
555a9aded3fd38a2fa692953b761a508473c2c7b
107
py
Python
armEnv/setup.py
custom-computing-ic/TRPO-Robot-Control
043d57edac6f0dbcb92aee8830eff089f512c6ad
[ "MIT" ]
null
null
null
armEnv/setup.py
custom-computing-ic/TRPO-Robot-Control
043d57edac6f0dbcb92aee8830eff089f512c6ad
[ "MIT" ]
null
null
null
armEnv/setup.py
custom-computing-ic/TRPO-Robot-Control
043d57edac6f0dbcb92aee8830eff089f512c6ad
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='armDOF_0', version='1.0', install_requires=['gym'] )
15.285714
30
0.654206
14
107
4.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0.034884
0.196262
107
6
31
17.833333
0.755814
0
0
0
0
0
0.130841
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
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
555f9dbddff9e9e05c6edab81342018d49d8bbd1
347
py
Python
urls.py
glasnt/urban-winner
9969713456527d8d35b974f8dab874e2e12d4a99
[ "BSD-3-Clause" ]
null
null
null
urls.py
glasnt/urban-winner
9969713456527d8d35b974f8dab874e2e12d4a99
[ "BSD-3-Clause" ]
null
null
null
urls.py
glasnt/urban-winner
9969713456527d8d35b974f8dab874e2e12d4a99
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from django.conf.urls import url, include from aldryn_django.utils import i18n_patterns import aldryn_addons.urls urlpatterns = [ # add your own patterns here ] + aldryn_addons.urls.patterns() + i18n_patterns( # add your own i18n patterns here *aldryn_addons.urls.i18n_patterns() #...
26.692308
66
0.729107
49
347
5.020408
0.510204
0.195122
0.195122
0.195122
0.227642
0
0
0
0
0
0
0.031359
0.172911
347
12
67
28.916667
0.825784
0.299712
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
55706187b5266624521126b215fa5d62486040e0
196
py
Python
app.py
paujim/cognito-appsync
499c23ab27bc688990301109d20376323b90bac5
[ "MIT" ]
null
null
null
app.py
paujim/cognito-appsync
499c23ab27bc688990301109d20376323b90bac5
[ "MIT" ]
null
null
null
app.py
paujim/cognito-appsync
499c23ab27bc688990301109d20376323b90bac5
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from aws_cdk import core from cognito_appsync.cognito_appsync_stack import CognitoAppsyncStack app = core.App() CognitoAppsyncStack(app, "cognito-appsync") app.synth()
16.333333
69
0.795918
26
196
5.846154
0.576923
0.276316
0
0
0
0
0
0
0
0
0
0.005714
0.107143
196
11
70
17.818182
0.862857
0.107143
0
0
0
0
0.086207
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
1
0
0
0
0
3
557e988ebf318b8eccff7d2dd1e252080101091f
438
py
Python
tqp/raven.py
4Catalyzer/tqp
94bcb66ea24fec7d280b23bd5182633bf5438aec
[ "MIT" ]
3
2018-04-02T15:13:45.000Z
2020-07-02T01:34:37.000Z
tqp/raven.py
4Catalyzer/tqp
94bcb66ea24fec7d280b23bd5182633bf5438aec
[ "MIT" ]
17
2018-04-20T04:02:29.000Z
2020-11-18T21:57:35.000Z
tqp/raven.py
4Catalyzer/tqp
94bcb66ea24fec7d280b23bd5182633bf5438aec
[ "MIT" ]
null
null
null
from .topic_queue_poller import QueuePollerBase # ----------------------------------------------------------------------------- def install(client): base_handle_error = QueuePollerBase.handle_error def _hook_handle_error(self, exception, msg, payload): base_handle_error(self, exception, msg, payload...
29.2
79
0.623288
41
438
6.317073
0.463415
0.254826
0.11583
0.185328
0.262548
0.262548
0
0
0
0
0
0
0.134703
438
14
80
31.285714
0.683377
0.175799
0
0
0
0
0.019499
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.428571
0
0
0
0
null
1
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
0
0
0
3
5585f0e8e88834451089dbb4ec6171c10fb7c82b
6,669
py
Python
clients/python-aiohttp/generated/openapi_server/controllers/remote_access_controller.py
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/python-aiohttp/generated/openapi_server/controllers/remote_access_controller.py
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/python-aiohttp/generated/openapi_server/controllers/remote_access_controller.py
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
from typing import List, Dict from aiohttp import web from openapi_server.models.computer_set import ComputerSet from openapi_server.models.free_style_build import FreeStyleBuild from openapi_server.models.free_style_project import FreeStyleProject from openapi_server.models.hudson import Hudson from openapi_server.mo...
23.236934
144
0.696956
932
6,669
4.853004
0.100858
0.097281
0.075171
0.101702
0.718771
0.700199
0.654654
0.634092
0.580809
0.538581
0
0.012955
0.212925
6,669
286
145
23.318182
0.848733
0
0
0.408163
0
0
0
0
0
0
0
0
0
1
0
true
0
0.183673
0
0.591837
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
0
0
0
1
0
0
0
1
0
0
3
55881c4abe7756872425b9f74ed7779c2584bfcb
56,885
py
Python
bomber.py
Mottm/txtspambomb
352ea56839be153bfdc4c95b03433c66122635c6
[ "MIT" ]
null
null
null
bomber.py
Mottm/txtspambomb
352ea56839be153bfdc4c95b03433c66122635c6
[ "MIT" ]
null
null
null
bomber.py
Mottm/txtspambomb
352ea56839be153bfdc4c95b03433c66122635c6
[ "MIT" ]
null
null
null
from datetime import datetime import os,hashlib,sys import time,threading,string import random,base64 import urllib.request,urllib.parse print("press Enter") try: import requests except: print('\n\t[!] Error: requests package is not installed') print('\n\tType \n\t\tpip3 install requests --user \n\tTo Install Reques...
97.572899
2,535
0.709818
8,605
56,885
4.642533
0.218245
0.031365
0.005107
0.013192
0.395529
0.360234
0.328769
0.308819
0.261984
0.237678
0
0.136062
0.083836
56,885
582
2,536
97.74055
0.630478
0.001178
0
0.353357
0
0.097173
0.77425
0.386894
0
1
0.000319
0
0
1
0.022968
false
0.012367
0.010601
0
0.114841
0.157244
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
3
55acbfc1fd8e5dbd34bd5b629f0ebe721414e490
7,053
py
Python
kvirt/defaults.py
sergioperez/kcli
3d7fdf4fe2cebceab25c912cbac5869bdaac221a
[ "Apache-2.0" ]
null
null
null
kvirt/defaults.py
sergioperez/kcli
3d7fdf4fe2cebceab25c912cbac5869bdaac221a
[ "Apache-2.0" ]
null
null
null
kvirt/defaults.py
sergioperez/kcli
3d7fdf4fe2cebceab25c912cbac5869bdaac221a
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 NETS = ['default'] POOL = 'default' IMAGE = None CPUMODEL = 'host-model' NUMCPUS = 2 CPUHOTPLUG = False MEMORY = 512 MEMORYHOTPLUG = False DISKINTERFACE = 'virtio' DISKTHIN = True DISKSIZE = 10 DISKS = [{'size': DISKSIZE}] GUESTID = 'guestrhel764' VNC = False CLOUDINIT = True RESERVEIP = False RESERVEDNS...
48.979167
120
0.791294
670
7,053
8.3
0.483582
0.010789
0.008991
0.02086
0.1836
0.157166
0.119763
0.08164
0.044956
0.044956
0
0.094628
0.092018
7,053
143
121
49.321678
0.773735
0.001701
0
0
0
0.147887
0.777525
0.426765
0
1
0
0
0
1
0
false
0.007042
0
0
0
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
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
3
55b13cb747c01d4debb672b8937b5cedae080a12
809
py
Python
django_formset_vuejs/models.py
fatse/django-formsets-vuejs
c2d6e134e58c3905539eb7c5322aeeda1db7fad4
[ "MIT" ]
11
2020-10-24T04:00:01.000Z
2022-03-07T01:14:28.000Z
django_formset_vuejs/models.py
fatse/django-formsets-vuejs
c2d6e134e58c3905539eb7c5322aeeda1db7fad4
[ "MIT" ]
5
2021-03-19T08:08:16.000Z
2021-06-21T01:26:25.000Z
django_formset_vuejs/models.py
fatse/django-formsets-vuejs
c2d6e134e58c3905539eb7c5322aeeda1db7fad4
[ "MIT" ]
2
2021-05-02T18:43:32.000Z
2022-03-10T08:23:16.000Z
from django.db import models class AuthorContainer(models.Model): created = models.DateField(auto_now=True, null=True) def __str__(self): return '{}'.format(self.created) class Author(models.Model): author_container = models.ForeignKey(AuthorContainer, on_delete=models.CASCADE) first_name =...
29.962963
83
0.718171
109
809
5.110092
0.33945
0.071813
0.129264
0.172352
0.441652
0.405745
0.405745
0.405745
0.405745
0.32675
0
0.017621
0.15822
809
26
84
31.115385
0.800294
0
0
0.176471
0
0
0.059333
0
0
0
0
0
0
1
0.176471
false
0
0.058824
0.176471
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
0
1
1
0
0
3
55ba2fcf5e369adaf1485b5d298f943fb5877a1e
959
py
Python
compiler_gym/envs/llvm/service/passes/common.py
mostafaelhoushi/CompilerGym
cf11c58333d263b3ebc5ece2110a429e9af499c1
[ "MIT" ]
562
2020-12-21T14:10:20.000Z
2022-03-31T21:23:55.000Z
compiler_gym/envs/llvm/service/passes/common.py
mostafaelhoushi/CompilerGym
cf11c58333d263b3ebc5ece2110a429e9af499c1
[ "MIT" ]
433
2020-12-22T03:40:41.000Z
2022-03-31T18:16:17.000Z
compiler_gym/envs/llvm/service/passes/common.py
mostafaelhoushi/CompilerGym
cf11c58333d263b3ebc5ece2110a429e9af499c1
[ "MIT" ]
88
2020-12-22T08:22:00.000Z
2022-03-20T19:00:40.000Z
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from typing import NamedTuple, Optional class Pass(NamedTuple): """The declaration of an LLVM pass.""" # The name of the pass, e.g. ...
38.36
100
0.70073
147
959
4.557823
0.496599
0.035821
0.014925
0.035821
0.164179
0.164179
0.116418
0.116418
0.116418
0
0
0
0.222106
959
24
101
39.958333
0.898123
0.735141
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.111111
0.111111
0
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
1
1
0
0
1
0
0
3
e9743307283f8daa444a5bb30da2402315883f98
576
py
Python
tensorflow_encrypted/layers/reshape.py
OshanIvantha/tf-encrypted
538e4857fa7adaa024a03c532ba3b5d78d89d1b9
[ "Apache-2.0" ]
null
null
null
tensorflow_encrypted/layers/reshape.py
OshanIvantha/tf-encrypted
538e4857fa7adaa024a03c532ba3b5d78d89d1b9
[ "Apache-2.0" ]
null
null
null
tensorflow_encrypted/layers/reshape.py
OshanIvantha/tf-encrypted
538e4857fa7adaa024a03c532ba3b5d78d89d1b9
[ "Apache-2.0" ]
null
null
null
from . import core from typing import List, Optional from ..protocol.pond import PondPrivateTensor class Reshape(core.Layer): def __init__(self, shape: List[int] = [-1]) -> None: self.shape = shape self.layer_output: Optional[PondPrivateTensor] = None def initialize(self, *args, **kwargs) -...
25.043478
65
0.652778
67
576
5.522388
0.477612
0.072973
0.075676
0.108108
0
0
0
0
0
0
0
0.002278
0.237847
576
22
66
26.181818
0.840547
0
0
0
0
0
0
0
0
0
0
0
0
1
0.266667
false
0.066667
0.2
0
0.6
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
e987db6e7fb5b04c8acc98d4c3367cb9c18a9542
896
py
Python
PYTHON-SALA DE AULA/Exercicios condicionais/exercicio-21-2.py
JaumVitor/HOMEWORK-PYTHON
aff564ac61802c7417d7280a73c1ed4a98978ed3
[ "Apache-2.0" ]
null
null
null
PYTHON-SALA DE AULA/Exercicios condicionais/exercicio-21-2.py
JaumVitor/HOMEWORK-PYTHON
aff564ac61802c7417d7280a73c1ed4a98978ed3
[ "Apache-2.0" ]
null
null
null
PYTHON-SALA DE AULA/Exercicios condicionais/exercicio-21-2.py
JaumVitor/HOMEWORK-PYTHON
aff564ac61802c7417d7280a73c1ed4a98978ed3
[ "Apache-2.0" ]
null
null
null
print (' Leia o exercicio para saber o codigo de origem !') pre = float ( input ('Digite preço do produto: ' )) tipo = int ( input ('Codigo de origem ? ')) if (tipo == 1): print ('Preço do produto é R${}, [origem Sul] '.format(pre)) elif ( tipo == 2): print ( 'Preço do produto é R${}, [origem Norte]'.format(pre)) el...
42.666667
70
0.600446
139
896
3.870504
0.316547
0.1171
0.234201
0.282528
0.401487
0.401487
0.401487
0
0
0
0
0.022346
0.200893
896
20
71
44.8
0.72905
0
0
0
0
0
0.467634
0
0
0
0
0
0
1
0
false
0
0
0
0
0.473684
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
0
1
0
3
e988e4c1381f074dc69341c41f47b4f501c4762d
42
py
Python
test/integration/samples_in/simple_format.py
Inveracity/flynt
b975b6f61893d5db1114d68fbb5d212c4e11aeb8
[ "MIT" ]
487
2019-06-10T17:44:56.000Z
2022-03-26T01:28:19.000Z
test/integration/samples_in/simple_format.py
Inveracity/flynt
b975b6f61893d5db1114d68fbb5d212c4e11aeb8
[ "MIT" ]
118
2019-07-03T12:26:39.000Z
2022-03-06T22:40:17.000Z
test/integration/samples_in/simple_format.py
Inveracity/flynt
b975b6f61893d5db1114d68fbb5d212c4e11aeb8
[ "MIT" ]
25
2019-07-10T08:39:58.000Z
2022-03-03T14:44:15.000Z
var = 5 a = "my string {:.2f}".format(var)
21
34
0.571429
8
42
3
0.875
0
0
0
0
0
0
0
0
0
0
0.057143
0.166667
42
2
34
21
0.628571
0
0
0
0
0
0.372093
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
e99b50bd06cc01b29838e1c807330678e9fd3fc2
1,779
py
Python
cmstk/vasp/incar_test.py
seatonullberg/cmstk
f8dd4f698723053c06d181ecdd918d8e5fc98a92
[ "MIT" ]
1
2019-12-23T14:43:58.000Z
2019-12-23T14:43:58.000Z
cmstk/vasp/incar_test.py
seatonullberg/cmstk
f8dd4f698723053c06d181ecdd918d8e5fc98a92
[ "MIT" ]
6
2019-04-25T22:08:40.000Z
2019-12-18T21:46:09.000Z
cmstk/vasp/incar_test.py
seatonullberg/cmstk
f8dd4f698723053c06d181ecdd918d8e5fc98a92
[ "MIT" ]
null
null
null
from cmstk.util import data_directory from cmstk.vasp import incar import os def test_incar_file(): """Tests initialization of an IncarFile object.""" path = os.path.join(data_directory(), "vasp", "Fe_BCC.incar") incarfile = incar.IncarFile(filepath=path) incarfile.load() incar_tags = {tag.name: t...
41.372093
76
0.658797
248
1,779
4.572581
0.306452
0.206349
0.304233
0.074074
0.202822
0.038801
0.038801
0
0
0
0
0.019595
0.168072
1,779
42
77
42.357143
0.746622
0.065205
0
0
0
0
0.150875
0
0
0
0
0
0.621622
1
0.027027
false
0
0.081081
0
0.108108
0
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
1
0
0
0
0
0
0
0
0
0
3
e9b3a08920578ca8f6af85da788484b22da08c35
5,185
py
Python
tests/test_categorical.py
felix-hilden/pputils
3dfd91355c891ba766b41092ffa4fe4028b7b6d2
[ "MIT" ]
1
2019-03-31T17:26:41.000Z
2019-03-31T17:26:41.000Z
tests/test_categorical.py
felix-hilden/antero
3dfd91355c891ba766b41092ffa4fe4028b7b6d2
[ "MIT" ]
null
null
null
tests/test_categorical.py
felix-hilden/antero
3dfd91355c891ba766b41092ffa4fe4028b7b6d2
[ "MIT" ]
null
null
null
import unittest from antero.categorical import OneHotEncoder, NanHotEncoder, CatHotEncoder from antero.exceptions import ProgrammingError import numpy as np import pandas as pd def array_equal(a: np.ndarray, b: np.ndarray) -> np.ndarray: return (a == b) | ((a != a) & (b != b)) class TestOneHotEncoder(unittest....
41.150794
98
0.593443
782
5,185
3.80179
0.092072
0.064581
0.084763
0.099563
0.716112
0.711403
0.70333
0.612849
0.588295
0.53515
0
0.044816
0.203857
5,185
125
99
41.48
0.675388
0
0
0.376344
0
0
0.0108
0
0
0
0
0
0.193548
1
0.236559
false
0
0.053763
0.010753
0.365591
0
0
0
0
null
0
0
0
0
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
1
0
0
0
0
0
0
0
3
e9b84eb715cf7adf23510a7aca474f693310a1e4
434
py
Python
challenges/01_structures/test_B.py
deniederhut/workshop_pyintensive
f8f494081c6daabeae0724aa058c2b80fe42878b
[ "BSD-2-Clause" ]
1
2016-10-04T00:04:56.000Z
2016-10-04T00:04:56.000Z
challenges/01_structures/test_B.py
deniederhut/workshop_pyintensive
f8f494081c6daabeae0724aa058c2b80fe42878b
[ "BSD-2-Clause" ]
8
2015-12-26T05:49:39.000Z
2016-05-26T00:10:57.000Z
challenges/01_structures/test_B.py
deniederhut/workshop_pyintensive
f8f494081c6daabeae0724aa058c2b80fe42878b
[ "BSD-2-Clause" ]
null
null
null
import pytest import B_dict as B def test_dict_unique_values(): assert B.dict_unique_values() == 4 def test_dict_make_it_nested(): e = B.dict_make_it_nested() assert 'deep' in e['two'] def test_dict_key_check(): assert B.dict_key_check('dlab', {'dlab' : 1, 'bids' : 1}) is True assert B.dict_key...
25.529412
70
0.652074
76
434
3.434211
0.421053
0.114943
0.168582
0.16092
0.272031
0.199234
0.199234
0.199234
0
0
0
0.019886
0.18894
434
16
71
27.125
0.721591
0
0
0
0
0
0.085253
0
0
0
0
0
0.454545
1
0.272727
false
0
0.181818
0
0.454545
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
1
0
1
0
0
0
0
0
0
0
3
e9c1368f78bc1d9b5fd24d7628e01b9fccc0a6bb
1,542
py
Python
tests/test_implements.py
giacomofiorindo/athlib
15ccb4520715c328ddacc502ffceb21e55e36fcd
[ "Apache-2.0" ]
8
2016-08-22T10:47:30.000Z
2021-08-15T07:56:30.000Z
tests/test_implements.py
giacomofiorindo/athlib
15ccb4520715c328ddacc502ffceb21e55e36fcd
[ "Apache-2.0" ]
20
2016-11-03T21:34:46.000Z
2021-08-31T20:08:29.000Z
tests/test_implements.py
giacomofiorindo/athlib
15ccb4520715c328ddacc502ffceb21e55e36fcd
[ "Apache-2.0" ]
2
2017-04-04T13:45:05.000Z
2020-08-12T09:05:09.000Z
"""Unit tests for iaaf_score.py.""" from unittest import TestCase, main from athlib import get_implement_weight as weight, get_specific_event_code as specify class WeightTests(TestCase): """Test suite for implement canned data.""" def test_a_few_uka_weights(self): self.assertEqual(weight("JT", "M", ...
32.808511
85
0.5869
196
1,542
4.484694
0.382653
0.307167
0.238908
0.156997
0.403868
0.17975
0.147895
0
0
0
0
0.058018
0.195201
1,542
46
86
33.521739
0.650282
0.04345
0
0
0
0
0.129781
0
0
0
0
0
0.642857
1
0.178571
false
0
0.071429
0
0.285714
0
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
1
0
0
0
0
0
0
0
0
0
3
e9cc4d01ee9e6fa291f07aff457b70f4feb7fc6b
175
py
Python
hello/urls.py
luisangelorjr/vscode_hello_django
e093833652784fc22fda80491918f2bb698c40ab
[ "MIT" ]
null
null
null
hello/urls.py
luisangelorjr/vscode_hello_django
e093833652784fc22fda80491918f2bb698c40ab
[ "MIT" ]
null
null
null
hello/urls.py
luisangelorjr/vscode_hello_django
e093833652784fc22fda80491918f2bb698c40ab
[ "MIT" ]
null
null
null
from django.urls import path from hello import views urlpatterns = [ path("", views.home, name="home"), path("hello/<name>", views.hello_there, name="hello_there"), ]
25
64
0.685714
24
175
4.916667
0.458333
0.169492
0
0
0
0
0
0
0
0
0
0
0.148571
175
7
65
25
0.791946
0
0
0
0
0
0.153409
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
756960c47baf22417db1174d1e670fa7eeb7b80b
219
py
Python
functions.py
MateusAttie/Python
4f01a49c2b7920e83accb6f013193bcf524bb8d5
[ "MIT" ]
null
null
null
functions.py
MateusAttie/Python
4f01a49c2b7920e83accb6f013193bcf524bb8d5
[ "MIT" ]
null
null
null
functions.py
MateusAttie/Python
4f01a49c2b7920e83accb6f013193bcf524bb8d5
[ "MIT" ]
null
null
null
def sum(a,b): return a + b def salario_descontado_imposto(salario,imposto=27.): return salario - (salario * imposto * 0.01) c = sum(1,3) print(c) salario_real = salario_descontado_imposto(5000) print(salario_real)
18.25
52
0.739726
35
219
4.457143
0.485714
0.025641
0.307692
0
0
0
0
0
0
0
0
0.057895
0.13242
219
11
53
19.909091
0.763158
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.5
0.25
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
758e8e77a41a2434f7f1ef5f7418b1672693f66a
269
py
Python
04_working_with_list/players.py
simonhoch/python_basics
4ecf12c074e641e3cdeb0a6690846eb9133f96af
[ "MIT" ]
null
null
null
04_working_with_list/players.py
simonhoch/python_basics
4ecf12c074e641e3cdeb0a6690846eb9133f96af
[ "MIT" ]
null
null
null
04_working_with_list/players.py
simonhoch/python_basics
4ecf12c074e641e3cdeb0a6690846eb9133f96af
[ "MIT" ]
null
null
null
players = ['charles', 'martina', 'michael', 'florence', 'eli'] print (players) print (players[0:3]) print (players[1:4]) print (players[:4]) print (players[2:]) print ('\nHere are the first three players on my team:') for player in players[:3]: print (player.title())
26.9
62
0.672862
40
269
4.525
0.6
0.331492
0.143646
0
0
0
0
0
0
0
0
0.029787
0.126394
269
9
63
29.888889
0.740426
0
0
0
0
0
0.289963
0
0
0
0
0
0
1
0
false
0
0
0
0
0.777778
0
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
1
0
3
75a2dee4249c36070a9254ea9014a6eea8e454bc
409
py
Python
netsuite/api/customer.py
fernando-almeida/python-netsuite
da123b23d1af91767c9d10c2a1f60efabd855668
[ "BSD-3-Clause" ]
7
2018-02-09T19:22:56.000Z
2021-01-24T04:05:02.000Z
netsuite/api/customer.py
fernando-almeida/python-netsuite
da123b23d1af91767c9d10c2a1f60efabd855668
[ "BSD-3-Clause" ]
null
null
null
netsuite/api/customer.py
fernando-almeida/python-netsuite
da123b23d1af91767c9d10c2a1f60efabd855668
[ "BSD-3-Clause" ]
6
2020-07-28T12:43:10.000Z
2021-06-10T00:17:36.000Z
"""Customer operations.""" from .types import RecordType def get_customer(client, internal_id): """Get a customer record using its unique internal identifier. Args: client: Netsuite API client internal_id: Customer unique internal identifier Returns: Customer instance if found o...
24.058824
66
0.716381
49
409
5.836735
0.612245
0.104895
0.111888
0
0
0
0
0
0
0
0
0
0.217604
409
16
67
25.5625
0.89375
0.564792
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
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
1
0
0
1
0
1
0
0
3
75c890fcb6f605c145723f35184151fcf82d8c3d
3,490
py
Python
django/models/database_models/models.py
djangojeng-e/TIL
bdbe1dfb6ebc48b89067fddda195227cca64b8dc
[ "MIT" ]
null
null
null
django/models/database_models/models.py
djangojeng-e/TIL
bdbe1dfb6ebc48b89067fddda195227cca64b8dc
[ "MIT" ]
null
null
null
django/models/database_models/models.py
djangojeng-e/TIL
bdbe1dfb6ebc48b89067fddda195227cca64b8dc
[ "MIT" ]
null
null
null
# # # from django.db import models # # # # # # # # # Create your models here. # # # # # # # # # # class Musician(models.Model): # # # # # first_name = models.CharField(max_length=50) # # # # # last_name = models.CharField(max_length=50) # # # # # instrument = models.CharField(max_length=100) # # # # # # # #...
30.884956
92
0.573352
357
3,490
5.442577
0.257703
0.13124
0.148224
0.197633
0.686053
0.659804
0.58106
0.560988
0.560988
0.536284
0
0.014618
0.23553
3,490
113
93
30.884956
0.713643
0.820344
0
0
0
0
0.055363
0
0
0
0
0
0
1
0
false
0
0.166667
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
75d7b3662a192229f9bc156757a4ccbe60cdad64
600
py
Python
utils/GUI_tools.py
adamismaili/MissClassificationError
c5b6a99d3deb9f2a9859bfc1b219e06a56fe20bc
[ "MIT" ]
null
null
null
utils/GUI_tools.py
adamismaili/MissClassificationError
c5b6a99d3deb9f2a9859bfc1b219e06a56fe20bc
[ "MIT" ]
null
null
null
utils/GUI_tools.py
adamismaili/MissClassificationError
c5b6a99d3deb9f2a9859bfc1b219e06a56fe20bc
[ "MIT" ]
null
null
null
import math import sys class GUI_tools: def __init__(self): pass def print_progress(self, i, slop, n, progress_bar): if i == math.ceil(n / progress_bar): slop = slop.replace('>', '=>', 1) if i == n - 1: slop = slop.replace('>', '=', 1) slop = slop.re...
27.272727
56
0.483333
74
600
3.797297
0.391892
0.113879
0.213523
0.170819
0
0
0
0
0
0
0
0.00995
0.33
600
22
57
27.272727
0.689055
0
0
0.105263
0
0
0.03827
0
0
0
0
0
0
1
0.157895
false
0.052632
0.105263
0
0.368421
0.105263
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
2f03a1b6d245449d4cbeae89b8d6779f53b93fee
95
py
Python
django-backend/saltmaster/apps.py
isystematics/SoarCast
6ba8d7db76e2ba1ad5fd1ab3636dd202b11450b0
[ "Apache-2.0" ]
2
2021-06-08T16:35:30.000Z
2022-03-18T16:04:48.000Z
django-backend/saltmaster/apps.py
isystematics/SoarCast
6ba8d7db76e2ba1ad5fd1ab3636dd202b11450b0
[ "Apache-2.0" ]
4
2022-02-22T18:43:07.000Z
2022-02-22T18:45:25.000Z
django-backend/saltmaster/apps.py
isystematics/SoarCast
6ba8d7db76e2ba1ad5fd1ab3636dd202b11450b0
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class SaltmasterConfig(AppConfig): name = 'saltmaster'
15.833333
34
0.768421
10
95
7.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.157895
95
5
35
19
0.9125
0
0
0
0
0
0.105263
0
0
0
0
0
0
1
0
false
0
0.333333
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
1
0
0
0
0
3
f94fee9243c376dda40fbe1d0e9cff714b26d99b
135
py
Python
09-2021-06-18/src/tictactoe.py
eotp/python-FU-class
f0a7518b3e3204a77e8855bef91afeaabb0d52ac
[ "MIT" ]
1
2020-01-17T14:51:40.000Z
2020-01-17T14:51:40.000Z
08-2022-06-23/src/tictactoe.py
eotp/python-FU-WiSe1920
4f225430ef8a70faca8c86c77cc888524c8e0546
[ "MIT" ]
null
null
null
08-2022-06-23/src/tictactoe.py
eotp/python-FU-WiSe1920
4f225430ef8a70faca8c86c77cc888524c8e0546
[ "MIT" ]
1
2020-12-04T15:37:28.000Z
2020-12-04T15:37:28.000Z
import numpy as np class TTT: pass if __name__ == "__main__": print("automatically running :-)") ttt = TTT()
15
39
0.562963
15
135
4.533333
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.318519
135
9
40
15
0.73913
0
0
0
0
0
0.257813
0
0
0
0
0
0
1
0
false
0.166667
0.166667
0
0.333333
0.166667
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
1
0
0
0
0
0
3
f95f4ec3e20c19b677acf2d3399b03d7c96edc9f
768
py
Python
src/structures/Specification.py
mpeyrotc/MoM-Adventure-Language
22eb77336b0de2f25339bec8f495095723d9e8d5
[ "MIT" ]
null
null
null
src/structures/Specification.py
mpeyrotc/MoM-Adventure-Language
22eb77336b0de2f25339bec8f495095723d9e8d5
[ "MIT" ]
null
null
null
src/structures/Specification.py
mpeyrotc/MoM-Adventure-Language
22eb77336b0de2f25339bec8f495095723d9e8d5
[ "MIT" ]
null
null
null
from src.structures import Method class Specification: """This class contains the metadata for the specification structure of the MoM language. It holds the method signatures that will be acquired by the classes that implement a specific implementation. """ def __init__(self, name: str): ...
24
78
0.641927
94
768
5.138298
0.5
0.049689
0.057971
0
0
0
0
0
0
0
0
0
0.285156
768
31
79
24.774194
0.879781
0.421875
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.307692
false
0
0.076923
0.153846
0.615385
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
f98e300b051fe32610214fc58b5de21f47ebb20a
8,269
py
Python
zemax/tests/ZMX.py
mvandam/CEO
eedca8bafe2aaf5b434bafed445eb2c6367914bf
[ "Zlib" ]
18
2016-02-29T12:41:52.000Z
2021-12-03T15:10:34.000Z
zemax/tests/ZMX.py
mvandam/CEO
eedca8bafe2aaf5b434bafed445eb2c6367914bf
[ "Zlib" ]
23
2015-04-27T14:17:19.000Z
2021-11-29T22:19:12.000Z
zemax/tests/ZMX.py
mvandam/CEO
eedca8bafe2aaf5b434bafed445eb2c6367914bf
[ "Zlib" ]
17
2015-04-09T14:13:16.000Z
2022-02-17T10:03:00.000Z
import math import ceo import unix import agf import numpy as np from copy import deepcopy import os # global variables UNITS = { "MM": 1e-3, "METER": 1.0 } GlassDir = "glass" class ZemaxModel(): def __init__(self, filename, src): self.src = src self.unit = 1e-3 self.source_material...
26.847403
110
0.565486
1,117
8,269
4.145031
0.235452
0.107343
0.159179
0.207343
0.123974
0.1054
0.063067
0.045788
0.038877
0.02419
0
0.011683
0.285766
8,269
307
111
26.934853
0.772265
0.029145
0
0.045249
0
0
0.039651
0
0
0
0
0
0
0
null
null
0.330317
0.031674
null
null
0.004525
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
1
0
0
0
0
0
3
f9917f25f6ba34175e2886de4d1137bbe222f0e8
5,245
py
Python
salonproject/settings.py
mollybeach/madeleineSalon
a4cfe05d85bfcf603b204b4e681a82e312b8f5be
[ "Apache-2.0" ]
1
2021-07-17T05:34:07.000Z
2021-07-17T05:34:07.000Z
salonproject/settings.py
mollybeach/madeleineSalon
a4cfe05d85bfcf603b204b4e681a82e312b8f5be
[ "Apache-2.0" ]
null
null
null
salonproject/settings.py
mollybeach/madeleineSalon
a4cfe05d85bfcf603b204b4e681a82e312b8f5be
[ "Apache-2.0" ]
null
null
null
""" Django settings for salonproject project. Generated by 'django-admin startproject' using Django 3.2.5. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import os ...
31.407186
167
0.736511
611
5,245
6.171849
0.364975
0.062053
0.046672
0.053036
0.234155
0.222222
0.156192
0.13922
0.065765
0.023336
0
0.032661
0.130219
5,245
167
168
31.407186
0.79395
0.28122
0
0
1
0.025
0.517643
0.435098
0
0
0
0
0
1
0
false
0.075
0.0625
0
0.0625
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
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
f994ce1f39df877618417ccaf6fa1e5014e467bd
46
py
Python
somecomfort_homie/__init__.py
mjcumming/Somecomfort-Homie
c29ce9650d053a2e593561b86b88b00e1dd31d40
[ "MIT" ]
1
2019-07-05T23:13:19.000Z
2019-07-05T23:13:19.000Z
somecomfort_homie/__init__.py
mjcumming/Somecomfort-Homie
c29ce9650d053a2e593561b86b88b00e1dd31d40
[ "MIT" ]
1
2021-01-25T20:36:54.000Z
2021-01-25T20:36:54.000Z
somecomfort_homie/__init__.py
mjcumming/Somecomfort-Homie
c29ce9650d053a2e593561b86b88b00e1dd31d40
[ "MIT" ]
1
2019-12-22T09:03:17.000Z
2019-12-22T09:03:17.000Z
__version__ = "0.3.0" name="somecomfort_homie"
23
24
0.76087
7
46
4.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0.069767
0.065217
46
2
24
23
0.627907
0
0
0
0
0
0.468085
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
f9a590633b04e8c9d67a28c975007ab6d7400749
166
py
Python
plotting/python/tsvtocsv.py
michaelghuang19/pancreatic-scripts
4243401118d7869c661a0b0793c76626e294c5a4
[ "MIT" ]
3
2020-07-02T13:36:20.000Z
2020-12-19T23:51:01.000Z
plotting/python/tsvtocsv.py
michaelghuang19/pancreatic-scripts
4243401118d7869c661a0b0793c76626e294c5a4
[ "MIT" ]
null
null
null
plotting/python/tsvtocsv.py
michaelghuang19/pancreatic-scripts
4243401118d7869c661a0b0793c76626e294c5a4
[ "MIT" ]
null
null
null
import pandas as pd tsv_file='../data/GSM3405534_PDAC-B-ST1.tsv' csv_table=pd.read_csv(tsv_file,sep='\t') csv_table.to_csv('GSM3405534_PDAC-B-ST1.csv',index=False)
23.714286
57
0.771084
32
166
3.75
0.59375
0.116667
0.25
0.3
0
0
0
0
0
0
0
0.101911
0.054217
166
6
58
27.666667
0.66242
0
0
0
0
0
0.361446
0.349398
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
1
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
0
0
0
0
0
3
f9a728b0a2d08ad7c1ed2572e9ae0a442d7548bc
2,523
py
Python
math_models_util.py
jrtabash/math_models
cd706bc6194ec921068fa58ef729dcdf18230a5a
[ "MIT" ]
null
null
null
math_models_util.py
jrtabash/math_models
cd706bc6194ec921068fa58ef729dcdf18230a5a
[ "MIT" ]
null
null
null
math_models_util.py
jrtabash/math_models
cd706bc6194ec921068fa58ef729dcdf18230a5a
[ "MIT" ]
null
null
null
import numpy as np class PopulationUtilException(Exception): pass def PolyChangeFtn(m, s): return lambda x: m * x / (s + x) def ExpChangeFtn(m, s): return lambda x: - m * (np.exp(-x / s) - 1) class ApplyToCallablesFtn: def __init__(self, applyFtn, callables): self.applyFtn = applyFtn ...
29
98
0.592152
342
2,523
4.236842
0.230994
0.048309
0.045549
0.062112
0.21187
0.21187
0.147688
0.088337
0.049689
0.049689
0
0.009295
0.275069
2,523
86
99
29.337209
0.782942
0
0
0.060606
0
0
0.028537
0
0
0
0
0
0
1
0.272727
false
0.015152
0.015152
0.121212
0.606061
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
f9c9a059b19c4aa1faa86bba7ce90de5f7c17a22
2,776
py
Python
test_app/simple_app/sample/tests/test_cached_property.py
ramast/django_model_helpers
88fb4a8efaab414bd9028ac32e28abc618ce9921
[ "MIT" ]
null
null
null
test_app/simple_app/sample/tests/test_cached_property.py
ramast/django_model_helpers
88fb4a8efaab414bd9028ac32e28abc618ce9921
[ "MIT" ]
null
null
null
test_app/simple_app/sample/tests/test_cached_property.py
ramast/django_model_helpers
88fb4a8efaab414bd9028ac32e28abc618ce9921
[ "MIT" ]
null
null
null
from nose import tools from time import sleep from ..models import Team def test_cached_property(): team1 = Team.objects.create(name="Team1") team2 = Team.objects.create(name="Team2") # Make sure the counter is incrementing tools.assert_equal(team1.get_counter(), 1) tools.assert_equal(team1.get_c...
38.027397
82
0.753602
416
2,776
4.783654
0.1875
0.171357
0.249246
0.147739
0.748744
0.722111
0.61608
0.402513
0.255276
0.177387
0
0.035259
0.152017
2,776
72
83
38.555556
0.81011
0.138329
0
0.490566
0
0
0.012589
0
0
0
0
0
0.584906
1
0.056604
false
0
0.056604
0
0.113208
0
0
0
0
null
0
1
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
0
0
0
0
0
0
0
3
f9e87e6b0c84f11e9ca0b578cb5a94748dfbe63e
263
py
Python
post_tool/post_df.py
sus304/ForRocketWorkbench
453613ecde282cc8a2b481250f29e6de7438a230
[ "Apache-2.0" ]
null
null
null
post_tool/post_df.py
sus304/ForRocketWorkbench
453613ecde282cc8a2b481250f29e6de7438a230
[ "Apache-2.0" ]
null
null
null
post_tool/post_df.py
sus304/ForRocketWorkbench
453613ecde282cc8a2b481250f29e6de7438a230
[ "Apache-2.0" ]
null
null
null
import pandas as pd def csv2df(csv_file_path): df = pd.read_csv(csv_file_path) df = df.dropna(how='any', axis=1) # NaN落とし df_burning = df[df["Burning [0/1]"] == 1] df_coasting = df[df["Burning [0/1]"] == 0] return df, df_burning, df_coasting
32.875
47
0.638783
46
263
3.456522
0.456522
0.100629
0.207547
0.163522
0.163522
0
0
0
0
0
0
0.037915
0.197719
263
8
48
32.875
0.71564
0.022814
0
0
0
0
0.113281
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0
0
0
0
null
0
1
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
0
0
0
0
0
3
dda49e65b4edacd787135538f0d761ae86b93e25
91
py
Python
handbook/apps.py
UICHCC/uicCourse
3c34d0f765e583be05f084df1e6ab63b1ed62ed6
[ "MIT" ]
3
2018-03-13T02:00:43.000Z
2019-03-24T02:46:56.000Z
handbook/apps.py
UICHCC/uicCourse
3c34d0f765e583be05f084df1e6ab63b1ed62ed6
[ "MIT" ]
65
2018-02-08T16:01:53.000Z
2021-11-10T14:59:37.000Z
handbook/apps.py
UICHCC/uicCourse
3c34d0f765e583be05f084df1e6ab63b1ed62ed6
[ "MIT" ]
2
2018-06-02T06:06:22.000Z
2019-04-18T03:27:16.000Z
from django.apps import AppConfig class HandbookConfig(AppConfig): name = 'handbook'
15.166667
33
0.758242
10
91
6.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.164835
91
5
34
18.2
0.907895
0
0
0
0
0
0.087912
0
0
0
0
0
0
1
0
false
0
0.333333
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
1
0
0
0
0
3
ddb45352ca230d7e2d4b4c69c03cdabc956df020
1,359
py
Python
conftest.py
superxuu/pytester
dbb3fec02c206b99346f4daf4e073c80ccf506c0
[ "MIT" ]
4
2020-05-14T08:32:38.000Z
2020-06-22T02:47:18.000Z
conftest.py
superxuu/pytester
dbb3fec02c206b99346f4daf4e073c80ccf506c0
[ "MIT" ]
null
null
null
conftest.py
superxuu/pytester
dbb3fec02c206b99346f4daf4e073c80ccf506c0
[ "MIT" ]
1
2020-05-22T04:06:21.000Z
2020-05-22T04:06:21.000Z
import logging import pytest from pathlib import Path from pprint import pprint from openpyxl import load_workbook from util.read_excel_data import get_yaml # @pytest.fixture(scope='session') # def load_testdata_from_caseexcel(): # def _load_testdata_from_caseexcel(project, apiName): # excel_path = Path...
30.2
70
0.648271
179
1,359
4.575419
0.402235
0.058608
0.078144
0.1221
0.068376
0
0
0
0
0
0
0.002854
0.226637
1,359
44
71
30.886364
0.776403
0.738043
0
0
0
0
0.06079
0
0
0
0
0
0
1
0.090909
false
0.090909
0.545455
0
0.636364
0.090909
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
ddbdeba658694d3b8d1c5f74b3168bd01e9e8e6c
1,966
py
Python
utils/misc/manySims.py
Gibbsdavidl/miergolf
1728bd9459d6067fb45d777d06ad440ab603d2e7
[ "BSD-3-Clause" ]
8
2016-03-04T07:51:43.000Z
2018-09-19T03:18:45.000Z
utils/misc/manySims.py
Gibbsdavidl/miergolf
1728bd9459d6067fb45d777d06ad440ab603d2e7
[ "BSD-3-Clause" ]
null
null
null
utils/misc/manySims.py
Gibbsdavidl/miergolf
1728bd9459d6067fb45d777d06ad440ab603d2e7
[ "BSD-3-Clause" ]
3
2017-03-24T02:52:38.000Z
2022-01-22T00:14:55.000Z
''' A script to automate running many simulations on different sizes of graph. ''' def main(): for n in [20,40,60,80,100]: # number of steps in growing the graph for i in xrange(10): # number of reps print str(n) + " " + str(i) graphname = "simgraph_" + str(n) + "_" + str(i) ...
37.807692
104
0.507121
246
1,966
3.995935
0.406504
0.21058
0.223805
0.032553
0.155646
0.073245
0
0
0
0
0
0.043973
0.329095
1,966
51
105
38.54902
0.701289
0.025941
0
0
0
0
0.401639
0.014208
0
0
0
0
0
0
null
null
0
0.04878
null
null
0.073171
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
1
0
0
0
0
0
0
0
0
3
ddcd5745542ce951a21647b5deece182ab733e90
195
py
Python
test/libpng.py
kmhofmann/eos
48bed6cbb4dbe629aa6769eb5add4e6090a51e29
[ "MIT" ]
null
null
null
test/libpng.py
kmhofmann/eos
48bed6cbb4dbe629aa6769eb5add4e6090a51e29
[ "MIT" ]
null
null
null
test/libpng.py
kmhofmann/eos
48bed6cbb4dbe629aa6769eb5add4e6090a51e29
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os import sys import shutil lib_dir = sys.argv[1] shutil.copyfile(os.path.join(lib_dir, "scripts", "pnglibconf.h.prebuilt"), os.path.join(lib_dir, "pnglibconf.h"))
21.666667
113
0.738462
33
195
4.272727
0.575758
0.12766
0.141844
0.184397
0.22695
0
0
0
0
0
0
0.00565
0.092308
195
8
114
24.375
0.79096
0.102564
0
0
0
0
0.229885
0.12069
0
0
0
0
0
1
0
false
0
0.6
0
0.6
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
ddd1f7ad1f3bd66ba73179d81386be4ca8b5e7bf
179
py
Python
scores/urls.py
virajranjankumar/ColorMemory
ac5896130bd0b1a3a67c1c33f58625da3143be3f
[ "MIT" ]
null
null
null
scores/urls.py
virajranjankumar/ColorMemory
ac5896130bd0b1a3a67c1c33f58625da3143be3f
[ "MIT" ]
null
null
null
scores/urls.py
virajranjankumar/ColorMemory
ac5896130bd0b1a3a67c1c33f58625da3143be3f
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ url(r'^create/', views.create, name='create'), url(r'^$', views.GameView.as_view(), name='game'), ]
19.888889
54
0.648045
25
179
4.6
0.6
0.069565
0
0
0
0
0
0
0
0
0
0
0.156425
179
8
55
22.375
0.761589
0
0
0
0
0
0.111732
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
dddd40616495cc78cf3d23193ca39add8100e0be
537
py
Python
tests/test_globals.py
racelandshop/integration
424057dcad30f20ed0276aec07d28b48b2b187be
[ "MIT" ]
null
null
null
tests/test_globals.py
racelandshop/integration
424057dcad30f20ed0276aec07d28b48b2b187be
[ "MIT" ]
null
null
null
tests/test_globals.py
racelandshop/integration
424057dcad30f20ed0276aec07d28b48b2b187be
[ "MIT" ]
null
null
null
"""Test globals.""" # pylint: disable=missing-docstring from custom_components.racelandshop.share import get_removed, is_removed def test_global_racelandshop(racelandshop): assert racelandshop.core.lovelace_mode == "yaml" racelandshop.core.lovelace_mode = "storage" assert racelandshop.core.lovelace_mode =...
25.571429
72
0.744879
65
537
5.938462
0.4
0.11399
0.186529
0.217617
0.284974
0
0
0
0
0
0
0
0.150838
537
20
73
26.85
0.846491
0.089385
0
0
0
0
0.086957
0
0
0
0
0
0.333333
1
0.25
false
0
0.083333
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
1
0
0
0
0
0
0
0
3
dde04f22f3beabee782ed9fa49484d51d167dd8e
691
py
Python
models_mongo.py
ljj6218/custom_process
5cf93943337d653c08fad5c91c8d19361baac5be
[ "Apache-2.0" ]
1
2021-01-17T16:53:31.000Z
2021-01-17T16:53:31.000Z
models_mongo.py
ljj6218/custom_process
5cf93943337d653c08fad5c91c8d19361baac5be
[ "Apache-2.0" ]
null
null
null
models_mongo.py
ljj6218/custom_process
5cf93943337d653c08fad5c91c8d19361baac5be
[ "Apache-2.0" ]
null
null
null
from app import mongo_db class BaseMongoModel(object): sql_id = mongo_db.IntField(required=True) class SysUserMongo(BaseMongoModel, mongo_db.Document): meta = {'collection': 'sys_users', 'strict': False} class MachineMongo(BaseMongoModel, mongo_db.Document): meta = {'collection': 'machine', 'strict'...
22.290323
65
0.727931
73
691
6.739726
0.424658
0.099594
0.213415
0.294715
0.436992
0.436992
0
0
0
0
0
0
0.137482
691
30
66
23.033333
0.825503
0
0
0
0
0
0.18958
0
0
0
0
0
0
1
0
false
0
0.076923
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
fb23dc9f85163019008a05186b2e0b5861ed3606
209
py
Python
apps/iiif/manifests/apps.py
ecds/readux
4eac8b48efef8126f4f2be28b5eb943c85a89c2e
[ "Apache-2.0" ]
18
2017-06-12T09:58:02.000Z
2021-10-01T11:14:34.000Z
apps/iiif/manifests/apps.py
ecds/readux
4eac8b48efef8126f4f2be28b5eb943c85a89c2e
[ "Apache-2.0" ]
276
2019-04-26T20:13:01.000Z
2022-03-31T10:26:28.000Z
apps/iiif/manifests/apps.py
ecds/readux
4eac8b48efef8126f4f2be28b5eb943c85a89c2e
[ "Apache-2.0" ]
7
2018-03-13T23:44:26.000Z
2021-09-15T17:54:55.000Z
"""Module for Django app config""" from django.apps import AppConfig class ManifestsConfig(AppConfig): """Configuration for manifest app""" name = 'apps.iiif.manifests' verbose_name = 'Manifests'
26.125
40
0.722488
24
209
6.25
0.708333
0
0
0
0
0
0
0
0
0
0
0
0.162679
209
7
41
29.857143
0.857143
0.282297
0
0
0
0
0.201439
0
0
0
0
0
0
1
0
false
0
0.25
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
fb3b014b3a9d52a29c667b8492e873fcd2b44407
2,297
py
Python
ScrapedData/stem.py
Robo-Sapien/Search-Engine-for-arXiv.org
0014bb3bd91b2ddf070dd1fe1cc5af29fa30441f
[ "MIT" ]
null
null
null
ScrapedData/stem.py
Robo-Sapien/Search-Engine-for-arXiv.org
0014bb3bd91b2ddf070dd1fe1cc5af29fa30441f
[ "MIT" ]
null
null
null
ScrapedData/stem.py
Robo-Sapien/Search-Engine-for-arXiv.org
0014bb3bd91b2ddf070dd1fe1cc5af29fa30441f
[ "MIT" ]
null
null
null
from __future__ import print_function import csv import numpy as np import nltk from nltk import word_tokenize from nltk import FreqDist from nltk.stem import WordNetLemmatizer import pandas from nltk.corpus import stopwords import string # from string import maketrans import sys from scipy import spatial import numpy ...
28.358025
106
0.747932
324
2,297
5.080247
0.240741
0.205346
0.181652
0.109356
0.379101
0.317132
0.228433
0.131835
0.091738
0
0
0.004587
0.145842
2,297
81
107
28.358025
0.834353
0.090988
0
0.126984
0
0
0.040885
0
0
0
0
0
0
0
null
null
0
0.222222
null
null
0.095238
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
1
0
0
0
0
0
0
0
0
3
348e266652b343ebeaee994b7cfe8c96e745950c
247
py
Python
rlxutils/__init__.py
rramosp/rlxutils
a4d8079e78b03ef5207df3947361b07643df284d
[ "MIT" ]
null
null
null
rlxutils/__init__.py
rramosp/rlxutils
a4d8079e78b03ef5207df3947361b07643df284d
[ "MIT" ]
null
null
null
rlxutils/__init__.py
rramosp/rlxutils
a4d8079e78b03ef5207df3947361b07643df284d
[ "MIT" ]
null
null
null
from .rlxutils import * import rlxutils.optimization from pkg_resources import get_distribution, DistributionNotFound try: __version__ = get_distribution(__name__).version except DistributionNotFound: # package is not installed pass
22.454545
64
0.805668
26
247
7.230769
0.692308
0.159574
0
0
0
0
0
0
0
0
0
0
0.149798
247
10
65
24.7
0.895238
0.097166
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.142857
0.428571
0
0.428571
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
1
1
0
0
0
0
3
34b3ad11e9b5dabeafba9104f06a3e2852f21705
783
py
Python
atomx/exceptions.py
atomx/atomx-api-python
41253caea9a869a84ff2db4188f1b16222a1284c
[ "0BSD" ]
null
null
null
atomx/exceptions.py
atomx/atomx-api-python
41253caea9a869a84ff2db4188f1b16222a1284c
[ "0BSD" ]
null
null
null
atomx/exceptions.py
atomx/atomx-api-python
41253caea9a869a84ff2db4188f1b16222a1284c
[ "0BSD" ]
null
null
null
class NoSessionError(Exception): """Raised when a model from :mod:`.models` wants to ``create``/``update`` but it doesn't have an :class:`atomx.Atomx` session yet. """ pass class InvalidCredentials(Exception): """Raised when trying to login with the wrong e-mail or password.""" pass class APIE...
30.115385
89
0.692209
101
783
5.366337
0.554455
0.166052
0.210332
0.138376
0.149446
0
0
0
0
0
0
0
0.189017
783
25
90
31.32
0.853543
0.561941
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
5513250a3cf2f590735abb4443d8526b0de85cb7
295
py
Python
tests/plugins/trackers/__init__.py
DmitryRibalka/monitorrent
f329d4bca151360d29e93d5369a1d21268d8998f
[ "WTFPL" ]
465
2015-08-31T09:16:41.000Z
2022-03-12T10:33:04.000Z
tests/plugins/trackers/__init__.py
DmitryRibalka/monitorrent
f329d4bca151360d29e93d5369a1d21268d8998f
[ "WTFPL" ]
340
2015-07-18T17:31:54.000Z
2022-03-30T15:16:25.000Z
tests/plugins/trackers/__init__.py
DmitryRibalka/monitorrent
f329d4bca151360d29e93d5369a1d21268d8998f
[ "WTFPL" ]
87
2015-07-18T10:52:24.000Z
2022-03-27T09:52:35.000Z
from monitorrent.plugins.trackers import TrackerSettings class TrackerSettingsMock(TrackerSettings): def get_requests_kwargs(self): result = super(TrackerSettingsMock, self).get_requests_kwargs() result.pop('timeout') result['verify'] = False return result
29.5
71
0.725424
29
295
7.241379
0.689655
0.104762
0.161905
0
0
0
0
0
0
0
0
0
0.189831
295
9
72
32.777778
0.878661
0
0
0
0
0
0.044068
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
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
5515cb24d3c850c7f06d2af0887cb91b642cfd18
158
py
Python
Lectures/code/Scrapy-Samples-master/basicspider/craigslist_sample/items.py
ShivaTejaMummadi/big-data-python-class
e4b02bb7e3a819f90380ba2597fdc27da66470e7
[ "MIT" ]
1
2018-07-04T08:44:52.000Z
2018-07-04T08:44:52.000Z
Lectures/code/Scrapy-Samples-master/basicspider/craigslist_sample/items.py
ShivaTejaMummadi/big-data-python-class
e4b02bb7e3a819f90380ba2597fdc27da66470e7
[ "MIT" ]
2
2017-10-02T03:38:35.000Z
2018-09-06T02:34:31.000Z
Lectures/code/Scrapy-Samples-master/basicspider/craigslist_sample/items.py
ShivaTejaMummadi/big-data-python-class
e4b02bb7e3a819f90380ba2597fdc27da66470e7
[ "MIT" ]
42
2015-08-26T00:06:39.000Z
2018-12-19T23:56:13.000Z
# Define here the models for your scraped items from scrapy.item import Item, Field class CraigslistSampleItem(Item): title = Field() link = Field()
22.571429
47
0.727848
21
158
5.47619
0.809524
0
0
0
0
0
0
0
0
0
0
0
0.196203
158
7
48
22.571429
0.905512
0.28481
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
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
9b32df938933cd0c84176161f8619d22f6b1fce6
154
py
Python
lewis_emulators/mk2_chopper/__init__.py
ISISComputingGroup/EPICS-DeviceEmulator
026c2a14a16bb204ea7527e3765daa182cafa814
[ "BSD-3-Clause" ]
2
2020-10-20T16:49:13.000Z
2021-02-19T10:41:44.000Z
lewis_emulators/mk2_chopper/__init__.py
ISISComputingGroup/EPICS-DeviceEmulator
026c2a14a16bb204ea7527e3765daa182cafa814
[ "BSD-3-Clause" ]
9
2019-03-22T15:35:15.000Z
2021-07-28T11:05:43.000Z
lewis_emulators/mk2_chopper/__init__.py
ISISComputingGroup/EPICS-DeviceEmulator
026c2a14a16bb204ea7527e3765daa182cafa814
[ "BSD-3-Clause" ]
1
2020-10-21T17:02:44.000Z
2020-10-21T17:02:44.000Z
from .device import SimulatedMk2Chopper from ..lewis_versions import LEWIS_LATEST framework_version = LEWIS_LATEST __all__ = ['SimulatedMk2Chopper2400']
25.666667
41
0.844156
16
154
7.625
0.6875
0.180328
0
0
0
0
0
0
0
0
0
0.043165
0.097403
154
5
42
30.8
0.834532
0
0
0
0
0
0.149351
0.149351
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
9b40c5441750b66c26d35fffd05a53c81eceaa89
142
py
Python
oda_ops/__init__.py
volodymyrss/oda_ops
1fe6c90f2119a7e24d01855a390e010879937c82
[ "MIT" ]
null
null
null
oda_ops/__init__.py
volodymyrss/oda_ops
1fe6c90f2119a7e24d01855a390e010879937c82
[ "MIT" ]
null
null
null
oda_ops/__init__.py
volodymyrss/oda_ops
1fe6c90f2119a7e24d01855a390e010879937c82
[ "MIT" ]
null
null
null
"""Top-level package for oda-ops.""" __author__ = """Volodymyr Savchenko""" __email__ = 'Volodymyr.Savchenko@unige.ch' __version__ = '0.1.0'
23.666667
42
0.704225
18
142
4.888889
0.833333
0.409091
0
0
0
0
0
0
0
0
0
0.023622
0.105634
142
5
43
28.4
0.669291
0.211268
0
0
0
0
0.490566
0.264151
0
0
0
0
0
1
0
false
0
0
0
0
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
9b620350cb0be4b10c343ae3250888cf1a81b9e0
3,464
py
Python
sbi/sbi/common/net_device.py
danieldUKIM/uniflex_wishrem
44ca1cfaafc33a83e856dbf9eaf9c1b83d0a477b
[ "Apache-2.0" ]
null
null
null
sbi/sbi/common/net_device.py
danieldUKIM/uniflex_wishrem
44ca1cfaafc33a83e856dbf9eaf9c1b83d0a477b
[ "Apache-2.0" ]
null
null
null
sbi/sbi/common/net_device.py
danieldUKIM/uniflex_wishrem
44ca1cfaafc33a83e856dbf9eaf9c1b83d0a477b
[ "Apache-2.0" ]
null
null
null
__author__ = "Piotr Gawlowicz, Anatolij Zubow" __copyright__ = "Copyright (c) 2015, Technische Universitat Berlin" __version__ = "0.1.0" __email__ = "{gawlowicz, zubow}@tkn.tu-berlin.de" class NetDevice(object): ''' Base Class for all Network Devices, i.e. wired/wireless This basic functionality should be...
22.789474
92
0.579965
351
3,464
5.598291
0.330484
0.244275
0.219847
0.091603
0.224936
0.091603
0.064122
0.064122
0.064122
0.064122
0
0.004327
0.332852
3,464
151
93
22.940397
0.845954
0.257506
0
0.444444
0
0
0.065182
0.012493
0
0
0
0
0
1
0.444444
false
0
0
0
0.466667
0
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
9b69104f8cbb6bd0b5c00b1760591449fe3643b0
2,607
py
Python
scripts/quest/q34925s.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
54
2019-04-16T23:24:48.000Z
2021-12-18T11:41:50.000Z
scripts/quest/q34925s.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
3
2019-05-19T15:19:41.000Z
2020-04-27T16:29:16.000Z
scripts/quest/q34925s.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
49
2020-11-25T23:29:16.000Z
2022-03-26T16:20:24.000Z
# Created by MechAviv # Quest ID :: 34925 # Not coded yet sm.setSpeakerID(3001508) sm.setSpeakerType(3) sm.flipDialogue() sm.setBoxChat() sm.boxChatPlayerAsSpeaker() sm.setBoxOverrideSpeaker() sm.flipBoxChat() sm.flipBoxChatPlayerAsSpeaker() sm.setColor(1) sm.sendNext("#face0#We've got to find it. Looks like we've got...
27.734043
227
0.75911
427
2,607
4.63466
0.348946
0.0667
0.072764
0.064679
0.729156
0.697827
0.697827
0.697827
0.697827
0.697827
0
0.148309
0.115458
2,607
93
228
28.032258
0.709887
0.226314
0
0.861111
0
0.027778
0.222388
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
0
0
3
9b6c88b3bcd30f772a8c3a71dd49113b0c819266
34,278
py
Python
tests/test_graph.py
tickelton/pointilist
db59655df2169716f70b95c73b65fe7f0df6cf3f
[ "MIT" ]
null
null
null
tests/test_graph.py
tickelton/pointilist
db59655df2169716f70b95c73b65fe7f0df6cf3f
[ "MIT" ]
null
null
null
tests/test_graph.py
tickelton/pointilist
db59655df2169716f70b95c73b65fe7f0df6cf3f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # SPDX-License-Identifier: MIT """ Unit tests for pointilist.graph. """ import os import unittest import urllib.request from urllib.error import HTTPError from io import StringIO from pointilist import graph STATIC_DIR = os.path.dirname(os.path.realpath(__file_...
60.242531
77
0.456649
5,164
34,278
3.011232
0.047831
0.112669
0.079743
0.062122
0.781801
0.722958
0.693312
0.565145
0.261222
0.056399
0
0.207883
0.19476
34,278
568
78
60.348592
0.355481
0.014645
0
0.084479
0
0
0.373703
0.002254
0
0
0
0
0.031434
1
0.023576
false
0
0.011788
0.003929
0.049116
0
0
0
0
null
0
0
0
0
1
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
9b78530c41c0e70033f9eb1fedde588bada0364c
265
py
Python
poetry/apps/accounts/templatetags/add_class.py
IlyaGusev/PoetryCorpus
7a5f70e6a46b4717f7c903671f9a6a917aee6162
[ "Apache-2.0" ]
45
2016-10-24T13:13:55.000Z
2022-01-21T05:39:06.000Z
poetry/apps/accounts/templatetags/add_class.py
IlyaGusev/PoetryCorpus
7a5f70e6a46b4717f7c903671f9a6a917aee6162
[ "Apache-2.0" ]
23
2017-01-18T17:34:25.000Z
2017-11-01T17:39:02.000Z
poetry/apps/accounts/templatetags/add_class.py
IlyaGusev/PoetryCorpus
7a5f70e6a46b4717f7c903671f9a6a917aee6162
[ "Apache-2.0" ]
7
2017-08-25T03:08:08.000Z
2020-05-22T22:55:58.000Z
# -*- coding: utf-8 -*- from django import template register = template.Library() # Добавление классов к элементам формы при её автоматической генерации @register.filter(name='add_class') def add_class(value, arg): return value.as_widget(attrs={'class': arg})
29.444444
70
0.743396
36
265
5.388889
0.805556
0.082474
0
0
0
0
0
0
0
0
0
0.004329
0.128302
265
9
71
29.444444
0.835498
0.339623
0
0
0
0
0.080925
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
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
0
1
1
0
0
3
9b8ed38809ec942eccbd12141a6f8c9acce9afa0
110
py
Python
BOJ/11000~11999/11300~11399/11312.py
shinkeonkim/today-ps
f3e5e38c5215f19579bb0422f303a9c18c626afa
[ "Apache-2.0" ]
2
2020-01-29T06:54:41.000Z
2021-11-07T13:23:27.000Z
BOJ/11000~11999/11300~11399/11312.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
BOJ/11000~11999/11300~11399/11312.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
for _ in range(int(input())): b,a=map(int,input().split()) n = b//a print(n*(n+1)//2 + n*(n-1)//2)
27.5
34
0.481818
23
110
2.26087
0.565217
0.307692
0.115385
0.153846
0
0
0
0
0
0
0
0.045455
0.2
110
4
34
27.5
0.545455
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
9b90fce9a2eba9211c04ab4b0a0aa51b1ed301da
2,174
py
Python
user.py
mukjos30/PaswordLocker
f9ac337f6e33e12fc612ed3bbe8c9ec53f85e539
[ "Unlicense" ]
null
null
null
user.py
mukjos30/PaswordLocker
f9ac337f6e33e12fc612ed3bbe8c9ec53f85e539
[ "Unlicense" ]
null
null
null
user.py
mukjos30/PaswordLocker
f9ac337f6e33e12fc612ed3bbe8c9ec53f85e539
[ "Unlicense" ]
null
null
null
class user: """ Class that generates new instances of user identify for creating an account in the app """ listUser = [] def __init__(self, firstName, lastName, userName, passWord): self.fname = firstName self.lname = lastName self.uname = userName self.pword = pas...
26.839506
90
0.554738
238
2,174
5.05042
0.247899
0.069884
0.062396
0.070715
0.440932
0.440932
0.440932
0.403494
0.356073
0.356073
0
0
0.376725
2,174
80
91
27.175
0.887085
0.321067
0
0.512821
1
0
0
0
0
0
0
0
0
1
0.205128
false
0.051282
0
0
0.461538
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
9b9e003d5c40c34191b6b6cf0ca2fd4c2c65109d
280
py
Python
src/kids/cmd/__init__.py
0k/kids.cmd
bbe958556bc72e6579d4007a28064e2f62109bcf
[ "BSD-2-Clause" ]
null
null
null
src/kids/cmd/__init__.py
0k/kids.cmd
bbe958556bc72e6579d4007a28064e2f62109bcf
[ "BSD-2-Clause" ]
null
null
null
src/kids/cmd/__init__.py
0k/kids.cmd
bbe958556bc72e6579d4007a28064e2f62109bcf
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from .cmd import BaseCommand, cmd, register, run from .msg import warn, err, die from .input import raw_char, getch from .menu import menu def check_root(): if not os.geteuid() == 0: raise OSError("\nYou must be root to run this script\n")
21.538462
64
0.667857
45
280
4.111111
0.777778
0
0
0
0
0
0
0
0
0
0
0.00905
0.210714
280
12
65
23.333333
0.828054
0.075
0
0
0
0
0.152344
0
0
0
0
0
0
1
0.142857
true
0
0.571429
0
0.714286
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
9ba5fc4879b5e89bdbd0681e4194d99095e3bb38
345
py
Python
camplight/exceptions.py
DataDog/camplight
35c427694a2213f5b2bd480498d6aa4d6928bc10
[ "MIT" ]
1
2015-02-16T04:29:06.000Z
2015-02-16T04:29:06.000Z
camplight/exceptions.py
mlafeldt/camplight
ef2d3c8adca0a0c2bccf2e553488c929aca67841
[ "MIT" ]
null
null
null
camplight/exceptions.py
mlafeldt/camplight
ef2d3c8adca0a0c2bccf2e553488c929aca67841
[ "MIT" ]
1
2021-02-24T11:39:41.000Z
2021-02-24T11:39:41.000Z
# -*- coding: utf-8 -*- """ camplight.exceptions ~~~~~~~~~~~~~~~~~~~~ This module contains the exceptions raised by Camplight. """ from requests.exceptions import * class CamplightException(RuntimeError): """Base class for Camplight exceptions.""" class RoomNotFoundError(CamplightException): """Campfire...
17.25
56
0.681159
33
345
7.121212
0.757576
0.161702
0
0
0
0
0
0
0
0
0
0.003401
0.147826
345
19
57
18.157895
0.795918
0.547826
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
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
1
0
1
0
1
0
0
3
9bbdaa0cd62e994a548e73ad281f70c6e8db1705
108
py
Python
ex05.py
CWojahn/Aulas
604b04d4cc0c717ca252962ac1e94b19fa6ba9f2
[ "MIT" ]
null
null
null
ex05.py
CWojahn/Aulas
604b04d4cc0c717ca252962ac1e94b19fa6ba9f2
[ "MIT" ]
null
null
null
ex05.py
CWojahn/Aulas
604b04d4cc0c717ca252962ac1e94b19fa6ba9f2
[ "MIT" ]
null
null
null
r = float(input('Digite o Raio do circulo: ')) raio = 3.1416*r*r print('A area do circulo e: '+ str(raio))
36
47
0.638889
21
108
3.285714
0.714286
0.26087
0
0
0
0
0
0
0
0
0
0.05618
0.175926
108
3
48
36
0.719101
0
0
0
0
0
0.439252
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
32d072eee816c0f89c7328baa1af15625a95c82a
1,605
py
Python
gs_quant/backtests/core.py
webclinic017/gs-quant
ebb8ee5e1d954ab362aa567293906ce51818cfa8
[ "Apache-2.0" ]
null
null
null
gs_quant/backtests/core.py
webclinic017/gs-quant
ebb8ee5e1d954ab362aa567293906ce51818cfa8
[ "Apache-2.0" ]
null
null
null
gs_quant/backtests/core.py
webclinic017/gs-quant
ebb8ee5e1d954ab362aa567293906ce51818cfa8
[ "Apache-2.0" ]
null
null
null
""" Copyright 2019 Goldman Sachs. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
28.660714
100
0.770093
214
1,605
5.71028
0.565421
0.0491
0.027005
0.026187
0.060556
0.060556
0
0
0
0
0
0.00593
0.159502
1,605
55
101
29.181818
0.899926
0.390031
0
0
0
0
0.019567
0
0
0
0
0.018182
0
1
0.043478
false
0
0.304348
0
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
1
0
0
0
0
0
1
0
1
0
0
3
32da62631a7e3d19d94b573426654b6f9f344944
3,134
py
Python
test/vanilla/low-level/Expected/AcceptanceTests/HttpLowLevel/httpinfrastructurelowlevel/rest/http_redirects/__init__.py
cfculhane/autorest.python
8cbca95faee88d933a58bbbd17b76834faa8d387
[ "MIT" ]
35
2018-04-03T12:15:53.000Z
2022-03-11T14:03:34.000Z
test/vanilla/low-level/Expected/AcceptanceTests/HttpLowLevel/httpinfrastructurelowlevel/rest/http_redirects/__init__.py
cfculhane/autorest.python
8cbca95faee88d933a58bbbd17b76834faa8d387
[ "MIT" ]
652
2017-08-28T22:44:41.000Z
2022-03-31T21:20:31.000Z
test/vanilla/low-level/Expected/AcceptanceTests/HttpLowLevel/httpinfrastructurelowlevel/rest/http_redirects/__init__.py
cfculhane/autorest.python
8cbca95faee88d933a58bbbd17b76834faa8d387
[ "MIT" ]
29
2017-08-28T20:57:01.000Z
2022-03-11T14:03:38.000Z
# 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 ...
50.548387
94
0.76037
372
3,134
5.922043
0.182796
0.159782
0.275987
0.159782
0.620971
0.607354
0.592374
0.320018
0
0
0
0.060277
0.147735
3,134
61
95
51.377049
0.764508
0.210593
0
0
0
0
0.137551
0.088571
0
0
0
0
0
1
0
false
0
0.634615
0
0.634615
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
0
0
1
0
1
0
0
3
32dfa06e01b26258c0542b244b8f0f262c020281
62
py
Python
Monster.py
Kdehner/RainRPG
c9d94049fb70be64e0c95833b57ea1d47dba7e03
[ "MIT" ]
null
null
null
Monster.py
Kdehner/RainRPG
c9d94049fb70be64e0c95833b57ea1d47dba7e03
[ "MIT" ]
null
null
null
Monster.py
Kdehner/RainRPG
c9d94049fb70be64e0c95833b57ea1d47dba7e03
[ "MIT" ]
null
null
null
import random class Monster: health = 10 attack = 1
8.857143
15
0.629032
8
62
4.875
1
0
0
0
0
0
0
0
0
0
0
0.071429
0.322581
62
6
16
10.333333
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
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
32e7dd7b7ab1f1653a2ee1642dad59ecaa21acd9
68
py
Python
03-machine-learning-tabular-crossection/06 - Clustering/01/solutions/solutions/solution_05.py
abefukasawa/datascience_course
919c715598fa9529703ba340039ad82b23221a0e
[ "MIT" ]
331
2019-01-26T21:11:45.000Z
2022-03-02T11:35:16.000Z
03-machine-learning-tabular-crossection/06 - Clustering/01/solutions/solutions/solution_05.py
abefukasawa/datascience_course
919c715598fa9529703ba340039ad82b23221a0e
[ "MIT" ]
2
2019-11-02T22:32:13.000Z
2020-04-13T10:31:11.000Z
03-machine-learning-tabular-crossection/06 - Clustering/01/solutions/solutions/solution_05.py
sn3fru/datascience_course
ee0a505134383034e09020d9b1de18904d9b2665
[ "MIT" ]
88
2019-01-25T16:53:47.000Z
2022-03-03T00:05:08.000Z
X, _ = make_blobs(n_samples = 800, centers = clusters, n_features=3)
68
68
0.735294
11
68
4.181818
0.909091
0
0
0
0
0
0
0
0
0
0
0.067797
0.132353
68
1
68
68
0.711864
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
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
fd0cf0f0ced5c94eed5b7e4a336d5cf7ae1322f6
122
py
Python
django_dashboard/enums/BiogasPlantContact.py
keepexploring/smartbiogas
ca663435b05666113e3c0cb55e6f087c61497208
[ "MIT" ]
null
null
null
django_dashboard/enums/BiogasPlantContact.py
keepexploring/smartbiogas
ca663435b05666113e3c0cb55e6f087c61497208
[ "MIT" ]
10
2017-11-24T12:15:40.000Z
2022-02-10T06:41:32.000Z
django_dashboard/enums/BiogasPlantContact.py
keepexploring/smartbiogas
ca663435b05666113e3c0cb55e6f087c61497208
[ "MIT" ]
null
null
null
from enumfields import Enum class ContactType(Enum): WORKER = 1 PRIMARYCONTACT = 2 OTHER = 3 UNKNOWN = 4
15.25
27
0.655738
15
122
5.333333
0.933333
0
0
0
0
0
0
0
0
0
0
0.045977
0.286885
122
8
28
15.25
0.873563
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
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
b5c7809860bbc5e90def0ca10054812a75747555
1,438
py
Python
test_manage.py
senohaha/jzSpiderNode
9ff725a00a25c74c4fc9b6096c7c4d8dd1de6ba4
[ "BSD-3-Clause" ]
null
null
null
test_manage.py
senohaha/jzSpiderNode
9ff725a00a25c74c4fc9b6096c7c4d8dd1de6ba4
[ "BSD-3-Clause" ]
null
null
null
test_manage.py
senohaha/jzSpiderNode
9ff725a00a25c74c4fc9b6096c7c4d8dd1de6ba4
[ "BSD-3-Clause" ]
null
null
null
# coding:utf-8 import redis import traceback import uuid redis_conn = redis.Redis() # # dispatcj_key = 'dispatch:1:1:1:{uuid}'.format(uuid=str(uuid.uuid1()).split('-')[4]) # # redis_conn.set(dispatcj_key, 'start') # # # # urllistkey = 'task:{userId}:{taskId}:urllist'.format(userId=1, taskId=1) # # redis_conn.lpush(urll...
34.238095
111
0.514604
164
1,438
4.384146
0.481707
0.087622
0.052851
0.055633
0.214186
0.214186
0.214186
0.214186
0.214186
0.214186
0
0.075075
0.305285
1,438
42
112
34.238095
0.644645
0.873435
0
0
0
0
0.007576
0
0
0
0
0
0
0
null
null
0
0.571429
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
3
b5c8374d795cbdc6319d8be4a436c5d5115b3d20
3,557
py
Python
data/test/python/b5c8374d795cbdc6319d8be4a436c5d5115b3d20mongo-stats.py
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/test/python/b5c8374d795cbdc6319d8be4a436c5d5115b3d20mongo-stats.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/test/python/b5c8374d795cbdc6319d8be4a436c5d5115b3d20mongo-stats.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
#!/usr/bin/python import urllib import json import time import sys """ set following variables according to your setup """ # run script every 60 seconds INTERVAL = 60 # mongo MONGO_PORT = 28017 # web interface MONGO_HOST = 'localhost' # CHANGE ME def fetch_info(host, port): """ connect to mongo and fetch serve...
34.872549
92
0.626652
384
3,557
5.627604
0.346354
0.216566
0.283202
0.112448
0.295234
0
0
0
0
0
0
0.004031
0.23278
3,557
101
93
35.217822
0.787834
0.036829
0
0.057971
0
0
0.253161
0
0
0
0
0
0.072464
0
null
null
0
0.057971
null
null
0.072464
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
1
0
0
0
0
0
0
0
0
3
b5e03332ad040a2290ecbff0193e18c00d19a8d2
290
py
Python
lt_types.py
Friedrich1006/LispTorch
f0dac51e3acded080cc9df7ec597427eda1a8faa
[ "MIT" ]
3
2021-03-19T02:26:55.000Z
2021-12-08T16:16:21.000Z
lt_types.py
Friedrich1006/LispTorch
f0dac51e3acded080cc9df7ec597427eda1a8faa
[ "MIT" ]
null
null
null
lt_types.py
Friedrich1006/LispTorch
f0dac51e3acded080cc9df7ec597427eda1a8faa
[ "MIT" ]
null
null
null
Symbol = str # A Lisp Symbol is implemented as a Python str List = list # A Lisp List is implemented as a Python list Number = (int, float) # A Lisp Number is implemented as a Python int or float Bool = bool # A Lisp Bool is implemented as a Python bool
72.5
79
0.648276
47
290
4
0.297872
0.106383
0.319149
0.340426
0.468085
0
0
0
0
0
0
0
0.313793
290
4
80
72.5
0.944724
0.641379
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
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
0
0
0
0
0
3
b5e463ba91e715074109c1625a9b5cd9ad08f94a
1,412
py
Python
scripts/structure_optimize_dms/struct_opt_dms/extern/psrpy/psr_constants.py
TRASAL/ALERT_R3
8ff32ab2ebadcfb1d4dff050bacb15e7c5b31f65
[ "Apache-2.0" ]
2
2021-08-25T01:38:31.000Z
2021-10-10T08:11:49.000Z
scripts/structure_optimize_dms/struct_opt_dms/extern/psrpy/psr_constants.py
TRASAL/ALERT_R3
8ff32ab2ebadcfb1d4dff050bacb15e7c5b31f65
[ "Apache-2.0" ]
1
2020-06-07T14:12:05.000Z
2020-08-17T22:08:58.000Z
sps/src/waterfaller/psr_constants.py
danielemichilli/SpS
23439f04c261dae578cb7815c59e1beaac4c9500
[ "MIT" ]
2
2020-04-21T03:02:50.000Z
2020-06-21T05:48:50.000Z
## Automatically adapted for numpy Apr 14, 2006 by convertcode.py ARCSECTORAD = float('4.8481368110953599358991410235794797595635330237270e-6') RADTOARCSEC = float('206264.80624709635515647335733077861319665970087963') SECTORAD = float('7.2722052166430399038487115353692196393452995355905e-5') RADTOSEC = float('1...
52.296296
77
0.707507
124
1,412
8.056452
0.596774
0.03003
0.02002
0
0
0
0
0
0
0
0
0.563683
0.177054
1,412
26
78
54.307692
0.296041
0.066572
0
0
0
0
0.528331
0.438744
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b5f257333d9e3ff8a75136d39c009c0184804675
576
py
Python
FridgeBot/PiCode/Tasks/Filters/TemperatureFilter.py
pazgold31/FridgeBot
565f2b1f03729e1c65e9f2c0453483c51389c5d7
[ "MIT" ]
2
2021-02-24T21:38:43.000Z
2021-02-24T21:58:11.000Z
FridgeBot/PiCode/Tasks/Filters/TemperatureFilter.py
pazgold31/FridgeBot
565f2b1f03729e1c65e9f2c0453483c51389c5d7
[ "MIT" ]
null
null
null
FridgeBot/PiCode/Tasks/Filters/TemperatureFilter.py
pazgold31/FridgeBot
565f2b1f03729e1c65e9f2c0453483c51389c5d7
[ "MIT" ]
null
null
null
from FridgeBot.ArduinoCommunication.TemperatureSensor import TemperatureSensor from FridgeBot.PiCode.Tasks.Filters.IIFilter import IFilter class TemperatureFilter(IFilter): def __init__(self, temperature_sensor: TemperatureSensor, max_temperature: float): self._temperature_sensor = temperature_sensor ...
32
86
0.725694
60
576
6.7
0.533333
0.169154
0.156716
0
0
0
0
0
0
0
0
0
0.201389
576
17
87
33.882353
0.873913
0.057292
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0.1
0.2
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
1
0
1
0
0
1
0
0
3
bd008adb6bfe928fdac4f5f7cedf7dc08e5a3446
2,652
py
Python
app/models/grammar.py
greggparrish/ucitelj
10c5510aa28561953b98d959d45025655b6a21be
[ "MIT" ]
null
null
null
app/models/grammar.py
greggparrish/ucitelj
10c5510aa28561953b98d959d45025655b6a21be
[ "MIT" ]
null
null
null
app/models/grammar.py
greggparrish/ucitelj
10c5510aa28561953b98d959d45025655b6a21be
[ "MIT" ]
null
null
null
from app import db from app.models.words import GENDERS # Cleaned word models b/c dictionary db is still a mess GENDER_CHOICES = tuple(GENDERS) class WordCase(db.Model): ''' Cases: Nominative, accusative, etc. ''' __tablename__ = 'word_cases' id = db.Column(db.Integer, primary_key=True) nam...
28.212766
68
0.646305
369
2,652
4.398374
0.189702
0.128158
0.160197
0.147874
0.718423
0.703635
0.637092
0.448552
0.40419
0.357363
0
0.000469
0.196833
2,652
93
69
28.516129
0.761502
0.075415
0
0.377358
0
0
0.121982
0
0
0
0
0
0
1
0.113208
false
0
0.037736
0.113208
0.981132
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
0
0
0
0
0
0
1
1
0
0
3
bd1475bdafd802ef389a55a47c244708388a36e5
154
py
Python
001_Google_IT_Automation_Certificate/scale_and_convert_images_using_PIL/practice/rotate_and_resize_image.py
daniel-leinweber/python
99cb54a062e7eeb73aa34aafe74fa298cae40df4
[ "MIT" ]
null
null
null
001_Google_IT_Automation_Certificate/scale_and_convert_images_using_PIL/practice/rotate_and_resize_image.py
daniel-leinweber/python
99cb54a062e7eeb73aa34aafe74fa298cae40df4
[ "MIT" ]
null
null
null
001_Google_IT_Automation_Certificate/scale_and_convert_images_using_PIL/practice/rotate_and_resize_image.py
daniel-leinweber/python
99cb54a062e7eeb73aa34aafe74fa298cae40df4
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from PIL import Image image = Image.open("image.jpg") image.rotate(180).resize((640, 480)).save("rotated_and_resized_image.jpg")
22
74
0.74026
25
154
4.44
0.76
0.18018
0
0
0
0
0
0
0
0
0
0.070922
0.084416
154
6
75
25.666667
0.716312
0.136364
0
0
0
0
0.287879
0.219697
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
bd4eda012fac270387c4d1f57704efc2987b57ac
215
py
Python
djangoboilerplate/backend/example/models.py
kelly-ry4n/django-boilerplate
2c76db0862812272d291d4ac24429bda69c2ba18
[ "MIT" ]
2
2016-09-20T01:50:49.000Z
2017-02-02T20:32:09.000Z
djangoboilerplate/backend/example/models.py
kelly-ry4n/django-boilerplate
2c76db0862812272d291d4ac24429bda69c2ba18
[ "MIT" ]
null
null
null
djangoboilerplate/backend/example/models.py
kelly-ry4n/django-boilerplate
2c76db0862812272d291d4ac24429bda69c2ba18
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.db import models # Create your models here. class Ipsum(models.Model): title = models.CharField(max_length=255, unique=True) text = models.TextField()
19.545455
57
0.75814
29
215
5.413793
0.793103
0
0
0
0
0
0
0
0
0
0
0.016575
0.15814
215
10
58
21.5
0.850829
0.111628
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
1
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
1fa43ce2fa666fbd3b7bd7d9ecffb7f9fa96b5ae
2,078
tac
Python
Data/TACs/pabloModel/0noise/fullTAC-1.6sigma.tac
ExampleOne/Fields-Project-11
427d7fd0314106d1ffcee99a4d5e2f5515cb6f66
[ "MIT" ]
5
2018-08-07T15:40:38.000Z
2018-08-21T15:01:18.000Z
Data/TACs/pabloModel/0noise/fullTAC-1.6sigma.tac
ExampleOne/Fields-Project-11
427d7fd0314106d1ffcee99a4d5e2f5515cb6f66
[ "MIT" ]
null
null
null
Data/TACs/pabloModel/0noise/fullTAC-1.6sigma.tac
ExampleOne/Fields-Project-11
427d7fd0314106d1ffcee99a4d5e2f5515cb6f66
[ "MIT" ]
null
null
null
Start End Cerebellar Temporal Frontal Caudate Putamen Thalamus Anterior_cingulate Pons 0.00 76.00 0.27 0.28 0.28 0.27 0.28 0.28 0.27 0.27 76.00 106.00 107.66 117.97 116.33 113.86 123.95 127.43 109.25 92.07 106.00 136.00 274.39 303.10 298.84 295.62 322.74 332.68 278.65 230.84 136.00 166.00 405.74 44...
69.266667
86
0.715592
571
2,078
2.602452
0.534151
0.008075
0.010767
0.008075
0.014805
0.014805
0.014805
0.014805
0.014805
0
0
0.797963
0.149663
2,078
29
87
71.655172
0.043011
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
1fdc7e3ff924edf6dd34e7684840dcfc653b9c95
279
py
Python
English Premier League Predictions/SPLIT_FILES.py
friedrich12/Deep-Learning-Machine-Learning
8835906b75063e27c63a52142d5debe9c4b3a431
[ "MIT" ]
1
2017-05-22T14:18:40.000Z
2017-05-22T14:18:40.000Z
English Premier League Predictions/SPLIT_FILES.py
friedrich12/Deep-Learning-Machine-Learning
8835906b75063e27c63a52142d5debe9c4b3a431
[ "MIT" ]
null
null
null
English Premier League Predictions/SPLIT_FILES.py
friedrich12/Deep-Learning-Machine-Learning
8835906b75063e27c63a52142d5debe9c4b3a431
[ "MIT" ]
null
null
null
import random with open("england_junk.csv") as fr: with open("england_test.csv", "a") as f1, open("england_validation.csv", "a") as f2: for line in fr.readlines(): rd = random.randint(1, 2) f = f1 if rd == 1 else f2 f.write(line)
31
88
0.566308
44
279
3.522727
0.590909
0.212903
0.193548
0
0
0
0
0
0
0
0
0.035533
0.293907
279
8
89
34.875
0.751269
0
0
0
0
0
0.200717
0.078853
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
1
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
1ff52feeb478f21ba0e9274dd3b346e20905869e
1,695
py
Python
Tokenizer.py
heltondoria/information_retrieval
3659a81648efdd2800f56230a1978a2776022ffc
[ "Apache-2.0" ]
null
null
null
Tokenizer.py
heltondoria/information_retrieval
3659a81648efdd2800f56230a1978a2776022ffc
[ "Apache-2.0" ]
null
null
null
Tokenizer.py
heltondoria/information_retrieval
3659a81648efdd2800f56230a1978a2776022ffc
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Author: Helton Dória Costa <helton.doria@gmail.com> # Copyright (C) 2016-2016 # URL: <http://github.com/heltondoria/information_retrival> # For license information, see LICENSE.TXT """ Module that contains classes responsible for tokenize strings """ from abc import ABCMeta, abstractmethod fr...
28.728814
91
0.658997
200
1,695
5.55
0.41
0.07027
0.067568
0.072072
0.338739
0.284685
0.284685
0.284685
0.284685
0.284685
0
0.007092
0.251327
1,695
58
92
29.224138
0.867612
0.486136
0
0.352941
0
0
0.014306
0
0
0
0
0
0
1
0.294118
false
0.117647
0.117647
0
0.647059
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
9500613cbf4856b5742f94ff8f34e9bc1fc89cc6
267
py
Python
api/users/serializers.py
Ogutu-Brian/questioners
cbac4109b6a4082eb3eb08448e62e0b4115b5816
[ "MIT" ]
1
2019-02-27T15:08:16.000Z
2019-02-27T15:08:16.000Z
api/users/serializers.py
Ogutu-Brian/questioners
cbac4109b6a4082eb3eb08448e62e0b4115b5816
[ "MIT" ]
33
2019-03-05T14:31:18.000Z
2022-02-10T10:53:31.000Z
api/users/serializers.py
ann-mukundi/questioner
cbac4109b6a4082eb3eb08448e62e0b4115b5816
[ "MIT" ]
1
2019-05-10T11:53:38.000Z
2019-05-10T11:53:38.000Z
from rest_framework import serializers from .models import User class FetchUserSerializer(serializers.ModelSerializer): """ Serializer for fetching user data """ class Meta: model = User fields = ('id', 'email', 'name', 'nick_name')
22.25
55
0.666667
28
267
6.285714
0.75
0
0
0
0
0
0
0
0
0
0
0
0.23221
267
11
56
24.272727
0.858537
0.123596
0
0
0
0
0.091743
0
0
0
0
0
0
1
0
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
95021b125042416ed69ff276542d65acd6707750
89
py
Python
tests/testapp/testapp/types.py
avanov/Rhetoric
c446f6b17dc9cf614f43c1d1be3722bb42db5123
[ "MIT" ]
9
2015-04-26T20:51:39.000Z
2021-11-05T23:35:37.000Z
tests/testapp/testapp/types.py
avanov/Rhetoric
c446f6b17dc9cf614f43c1d1be3722bb42db5123
[ "MIT" ]
2
2015-01-27T19:33:42.000Z
2015-05-29T21:38:23.000Z
tests/testapp/testapp/types.py
avanov/Rhetoric
c446f6b17dc9cf614f43c1d1be3722bb42db5123
[ "MIT" ]
5
2015-06-06T21:39:59.000Z
2021-11-05T23:35:41.000Z
from rhetoric.adt import adt class Language(adt): ENGLISH = 'en' GERMAN = 'de'
12.714286
28
0.640449
12
89
4.75
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.247191
89
6
29
14.833333
0.850746
0
0
0
0
0
0.044944
0
0
0
0
0
0
1
0
false
0
0.25
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
952d7dccd159bf3a1de5789f7d47b7fc18fc74de
84
py
Python
probability/probability/moment/_tests/test_expectation.py
jedhsu/probability
cd94726315cd6d9e537925cdd2f13cf7911dbb92
[ "Apache-2.0" ]
null
null
null
probability/probability/moment/_tests/test_expectation.py
jedhsu/probability
cd94726315cd6d9e537925cdd2f13cf7911dbb92
[ "Apache-2.0" ]
null
null
null
probability/probability/moment/_tests/test_expectation.py
jedhsu/probability
cd94726315cd6d9e537925cdd2f13cf7911dbb92
[ "Apache-2.0" ]
null
null
null
class TestExpectation: def test_class_getitem(self): Expectation(X | )
21
33
0.678571
9
84
6.111111
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.238095
84
3
34
28
0.859375
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
1f09408a490c94977f2301ffa75c373b4f2bf221
63
py
Python
src/sqlalchemy_declarative/compat.py
DanCardin/sqlalchemy-declarative
e82da0a03235edfbc2348cf65d3d9e1c944ef0d2
[ "Apache-2.0" ]
null
null
null
src/sqlalchemy_declarative/compat.py
DanCardin/sqlalchemy-declarative
e82da0a03235edfbc2348cf65d3d9e1c944ef0d2
[ "Apache-2.0" ]
null
null
null
src/sqlalchemy_declarative/compat.py
DanCardin/sqlalchemy-declarative
e82da0a03235edfbc2348cf65d3d9e1c944ef0d2
[ "Apache-2.0" ]
null
null
null
try: import alembic except ImportError: alembic = None
12.6
19
0.698413
7
63
6.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.253968
63
4
20
15.75
0.93617
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
1f1b1a02d93062701e98cc27315f37ab7f895e59
179
py
Python
src/main/resources/docs/tests/E0106.py
h314to/codacy-pylint
9d31567db6188e1b31ce0e1567998f64946502df
[ "Apache-2.0" ]
null
null
null
src/main/resources/docs/tests/E0106.py
h314to/codacy-pylint
9d31567db6188e1b31ce0e1567998f64946502df
[ "Apache-2.0" ]
null
null
null
src/main/resources/docs/tests/E0106.py
h314to/codacy-pylint
9d31567db6188e1b31ce0e1567998f64946502df
[ "Apache-2.0" ]
null
null
null
##Patterns: E0106 def test(): for letter in 'Python': yield letter ##Err: E0106 return 1 # Marking this file as Python 2 raise Exception, "a"
17.9
35
0.569832
23
179
4.434783
0.869565
0
0
0
0
0
0
0
0
0
0
0.084746
0.340782
179
9
36
19.888889
0.779661
0.307263
0
0
0
0
0.058824
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
1f2e372a756ab48ec927c89e1d17fda24adea547
201
py
Python
api/anubis/rpc/__init__.py
ShubhamGG/Anubis
2c538ef258a1edf5463596a33bc66caa2ef7e35b
[ "MIT" ]
65
2021-06-27T07:18:27.000Z
2021-09-17T16:58:24.000Z
api/anubis/rpc/__init__.py
efaraz27/Anubis
40a12933877df7f39dd75ca26148858774fcda7b
[ "MIT" ]
114
2021-06-27T08:37:43.000Z
2021-10-24T00:51:01.000Z
api/anubis/rpc/__init__.py
efaraz27/Anubis
40a12933877df7f39dd75ca26148858774fcda7b
[ "MIT" ]
15
2021-06-27T07:26:51.000Z
2021-10-06T18:42:39.000Z
""" This is where we should implement any and all job function for the redis queue. The rq library requires special namespacing in order to work, so these functions must reside in a separate file. """
33.5
74
0.776119
34
201
4.588235
0.941176
0
0
0
0
0
0
0
0
0
0
0
0.179104
201
5
75
40.2
0.945455
0.955224
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
1f303c13006721420a8818ba1a4be1085eaa04c8
264
py
Python
clustering_capital_markets/functions/__init__.py
rcorrero/clustering_capital_markets
116a6b1d97285460d7105f2a557ff18fe3be6b73
[ "BSD-3-Clause" ]
3
2020-07-04T07:20:57.000Z
2022-02-15T23:18:21.000Z
clustering_capital_markets/functions/__init__.py
rcorrero/clustering_capital_markets
116a6b1d97285460d7105f2a557ff18fe3be6b73
[ "BSD-3-Clause" ]
null
null
null
clustering_capital_markets/functions/__init__.py
rcorrero/clustering_capital_markets
116a6b1d97285460d7105f2a557ff18fe3be6b73
[ "BSD-3-Clause" ]
1
2020-07-04T07:20:58.000Z
2020-07-04T07:20:58.000Z
''' src/functions ============== this module contains all utility functions. ''' # Import objects from .gmm_dist import gmm_dist from .labeled_data_joiner import labeled_data_joiner from .pca_dist import pca_dist from .transform_returns import transform_returns
22
52
0.780303
36
264
5.444444
0.5
0.071429
0.173469
0
0
0
0
0
0
0
0
0
0.117424
264
11
53
24
0.841202
0.337121
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
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
1f30cde06670c41e9481aecf72fa5791aa449dd8
251
py
Python
django_lightweight_queue/__init__.py
thread/django-lightweight-queue
2c67eb13a454fa1a02f8445c26915b6e9261fdad
[ "BSD-3-Clause" ]
23
2015-04-29T04:47:02.000Z
2022-03-11T12:43:01.000Z
django_lightweight_queue/__init__.py
thread/django-lightweight-queue
2c67eb13a454fa1a02f8445c26915b6e9261fdad
[ "BSD-3-Clause" ]
23
2015-02-27T14:30:47.000Z
2021-12-02T14:18:34.000Z
django_lightweight_queue/__init__.py
thread/django-lightweight-queue
2c67eb13a454fa1a02f8445c26915b6e9261fdad
[ "BSD-3-Clause" ]
1
2015-08-18T12:27:08.000Z
2015-08-18T12:27:08.000Z
from .task import task, TaskWrapper from .utils import contribute_implied_queue_name default_app_config = 'django_lightweight_queue.apps.DjangoLightweightQueueConfig' __all__ = ( 'task', 'TaskWrapper', 'contribute_implied_queue_name', )
22.818182
81
0.788845
27
251
6.814815
0.62963
0.163043
0.23913
0.282609
0
0
0
0
0
0
0
0
0.131474
251
10
82
25.1
0.844037
0
0
0
0
0
0.406375
0.346614
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
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
0
0
0
3
1f3203566faea9cef00ccf025daadcb7165a6d94
5,064
py
Python
server/var/www/edc_app/edc_app/settings.py
davidpolverari/edc
67ed0b8f2887838073688667fe15ae9885464805
[ "MIT" ]
27
2019-11-18T05:06:01.000Z
2021-02-28T19:38:09.000Z
server/var/www/edc_app/edc_app/settings.py
admdev8/edc
a3f814ca6a476a0bf607a7b648a16ccaca0b1a68
[ "MIT" ]
21
2020-12-29T21:29:31.000Z
2022-03-12T00:53:57.000Z
server/var/www/edc_app/edc_app/settings.py
admdev8/edc
a3f814ca6a476a0bf607a7b648a16ccaca0b1a68
[ "MIT" ]
6
2020-01-09T21:55:38.000Z
2021-09-17T01:22:48.000Z
""" Django settings for edc_app project. Generated by 'django-admin startproject' using Django 2.2.5. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os im...
27.672131
91
0.718602
596
5,064
5.895973
0.362416
0.055492
0.043825
0.049801
0.163062
0.14428
0.075982
0.075982
0.034149
0
0
0.01067
0.148697
5,064
182
92
27.824176
0.804454
0.337875
0
0
1
0
0.546361
0.422531
0
0
0
0
0
1
0
false
0.050505
0.020202
0
0.020202
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
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
1f4a1020417d987dca3b2f87d1107ea8887474ba
173
py
Python
janzeng/utils.py
jtiai/janzeng
8baefed8fdd4820cff640abe24c09a0ccf69ff92
[ "BSD-3-Clause" ]
null
null
null
janzeng/utils.py
jtiai/janzeng
8baefed8fdd4820cff640abe24c09a0ccf69ff92
[ "BSD-3-Clause" ]
null
null
null
janzeng/utils.py
jtiai/janzeng
8baefed8fdd4820cff640abe24c09a0ccf69ff92
[ "BSD-3-Clause" ]
null
null
null
from pathlib import Path def find_asset(name, basepath=Path.cwd()): for p in basepath.glob(f"**/{name}"): if p.is_file(): return p return None
19.222222
42
0.595376
26
173
3.884615
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.271676
173
8
43
21.625
0.801587
0
0
0
0
0
0.052023
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.666667
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
1f4ad9460a1a5422d5cd4ec0449fcbfd837ae04a
229
py
Python
config/settings/local.py
homannw/modern-django
28bd1a3eb71802e3575d171b6ec32104cdf12e52
[ "MIT" ]
null
null
null
config/settings/local.py
homannw/modern-django
28bd1a3eb71802e3575d171b6ec32104cdf12e52
[ "MIT" ]
null
null
null
config/settings/local.py
homannw/modern-django
28bd1a3eb71802e3575d171b6ec32104cdf12e52
[ "MIT" ]
null
null
null
from .base import * DEBUG = env.bool('DJANGO_DEBUG', True) # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = env('DJANGO_SECRET_KEY', default='c^hp6=(ice!b0jx(r*e+-%dmbl&@=2xk18ii%*q3(g(8-ovudo')
28.625
99
0.720524
38
229
4.236842
0.789474
0.167702
0
0
0
0
0
0
0
0
0
0.034483
0.113537
229
7
100
32.714286
0.758621
0.279476
0
0
0
0.333333
0.487654
0.308642
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1f5f6077a9cf25f40d994d40898eeb48be32ba3c
3,799
py
Python
fnat_testset/testlib/default_app/app_calculator.py
lizhouw-netscout/fnat
684958773379a9205857f1932de443ed0c4334a0
[ "Apache-2.0" ]
null
null
null
fnat_testset/testlib/default_app/app_calculator.py
lizhouw-netscout/fnat
684958773379a9205857f1932de443ed0c4334a0
[ "Apache-2.0" ]
null
null
null
fnat_testset/testlib/default_app/app_calculator.py
lizhouw-netscout/fnat
684958773379a9205857f1932de443ed0c4334a0
[ "Apache-2.0" ]
null
null
null
from fnat_app import FnatApp from fnat_dev import FnatDevice from testconfig import config class app_calculator(FnatApp): def __init__(self): self.def_package = "com.android.calculator2" self.def_activity = ".Calculator" FnatApp.__init__(self) def btn_0(self): return self.d(res...
33.619469
91
0.569624
493
3,799
4.204868
0.154158
0.101302
0.212735
0.144718
0.505548
0.505548
0.491076
0.491076
0.491076
0.352147
0
0.025326
0.293235
3,799
112
92
33.919643
0.746741
0
0
0.022989
0
0
0.187944
0.180837
0
0
0
0
0
1
0.275862
false
0
0.034483
0.229885
0.609195
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
1f66bde4be4511df83bea1df2cdc2cf91fe99cef
135
py
Python
task_app/__init__.py
mutse/celery_tasks
9e33d4cbf5f064f3ae7e2d63c3bac5a0621801a5
[ "MIT" ]
null
null
null
task_app/__init__.py
mutse/celery_tasks
9e33d4cbf5f064f3ae7e2d63c3bac5a0621801a5
[ "MIT" ]
null
null
null
task_app/__init__.py
mutse/celery_tasks
9e33d4cbf5f064f3ae7e2d63c3bac5a0621801a5
[ "MIT" ]
null
null
null
#!/bin/env python3 # -*- coding: utf-8 -*- from celery import Celery app = Celery("demo") app.config_from_object("task_app.config")
15
41
0.688889
20
135
4.5
0.7
0.2
0
0
0
0
0
0
0
0
0
0.017094
0.133333
135
8
42
16.875
0.752137
0.288889
0
0
0
0
0.204301
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
1f6cea644113186a9c66cdf09596abb32e87fa4a
2,392
py
Python
marvelapiwrapper/marvel.py
thendo-rambs/marvelapi
0b63fb560e89e88d15e6fbb2b2b54db8ee6a9921
[ "MIT" ]
null
null
null
marvelapiwrapper/marvel.py
thendo-rambs/marvelapi
0b63fb560e89e88d15e6fbb2b2b54db8ee6a9921
[ "MIT" ]
null
null
null
marvelapiwrapper/marvel.py
thendo-rambs/marvelapi
0b63fb560e89e88d15e6fbb2b2b54db8ee6a9921
[ "MIT" ]
null
null
null
import json import os import os.path as path import requests from typing import overload from .authenticator import Authenticator as Auth from .entity import Entity from .querier import Querier class Error(Exception): pass class MarvelAPI(): """docstring for MA""" def __init__(self, public_key: str, p...
29.530864
65
0.650502
314
2,392
4.605096
0.216561
0.035961
0.107884
0.041494
0.363762
0.326418
0.124481
0.124481
0.124481
0.124481
0
0.002173
0.230351
2,392
80
66
29.9
0.78327
0.017977
0
0.035088
0
0
0.044055
0
0
0
0
0
0
1
0.280702
false
0.017544
0.140351
0.210526
0.719298
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
1f8b09aa3495b5169e893d5b9436d2cc71bc8e27
673
py
Python
venv/Lib/site-packages/ipywidgets/widgets/tests/test_docutils.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
2,015
2017-03-27T01:46:03.000Z
2022-03-30T05:24:53.000Z
venv/Lib/site-packages/ipywidgets/widgets/tests/test_docutils.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
2,042
2017-03-23T22:16:09.000Z
2022-03-30T17:49:52.000Z
ipywidgets/widgets/tests/test_docutils.py
joequant/ipywidgets
6be18d9b75353f7b4a1c328c6ea06d8959f978f6
[ "BSD-3-Clause" ]
749
2017-03-24T09:26:58.000Z
2022-03-16T08:35:00.000Z
# Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. from unittest import TestCase from ipywidgets.widgets.docutils import doc_subst class TestDocSubst(TestCase): def test_substitution(self): snippets = {'key': '62'} @doc_subst(snippets) ...
24.035714
58
0.61367
78
673
5.115385
0.5
0.130326
0.180451
0.085213
0.35589
0.35589
0.35589
0.35589
0.35589
0.35589
0
0.016293
0.270431
673
27
59
24.925926
0.796334
0.22734
0
0.461538
0
0
0.148221
0
0
0
0
0
0.153846
1
0.307692
false
0
0.153846
0
0.538462
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
0
1
0
0
3
2f0db64b5ff2ce09a6424ee0d567dcce4f110100
36
py
Python
ngw/constants.py
296348304/ngwpy
2ee253e97d828c9aaf25fe3d057bdd4796ffc3c5
[ "Unlicense" ]
null
null
null
ngw/constants.py
296348304/ngwpy
2ee253e97d828c9aaf25fe3d057bdd4796ffc3c5
[ "Unlicense" ]
null
null
null
ngw/constants.py
296348304/ngwpy
2ee253e97d828c9aaf25fe3d057bdd4796ffc3c5
[ "Unlicense" ]
null
null
null
__author__ = 'wangjian'
2.571429
23
0.5
2
36
7
1
0
0
0
0
0
0
0
0
0
0
0
0.416667
36
13
24
2.769231
0.666667
0
0
0
0
0
0.333333
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
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2f125c6dd3c39d02022aa6be0c81bb840b6a207b
664
py
Python
draalcore/auth/tests/test_base_auth.py
jojanper/draalcore
3d3f5a53efe32c721c34d7e48267328a4e9e8402
[ "MIT" ]
1
2017-04-25T10:54:55.000Z
2017-04-25T10:54:55.000Z
draalcore/auth/tests/test_base_auth.py
jojanper/draalcore
3d3f5a53efe32c721c34d7e48267328a4e9e8402
[ "MIT" ]
1
2022-02-10T06:48:36.000Z
2022-02-10T06:48:36.000Z
draalcore/auth/tests/test_base_auth.py
jojanper/draalcore
3d3f5a53efe32c721c34d7e48267328a4e9e8402
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from mock import MagicMock from draalcore.test_utils.basetest import BaseTestUser from draalcore.auth.sites.base_auth import Base3rdPartyAuth class BaseAuthTestCase(BaseTestUser): def test_authenticate(self): """User is authenticated using response from soc...
27.666667
71
0.697289
73
664
6.30137
0.630137
0.056522
0.082609
0
0
0
0
0
0
0
0
0.005682
0.204819
664
23
72
28.869565
0.86553
0.269578
0
0
0
0
0.033684
0
0
0
0
0
0.111111
1
0.111111
false
0.111111
0.333333
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
0
0
1
1
0
1
0
0
3
2f5434b3efdc21231b1db9c8e82832b4dc4fbdcc
42
py
Python
user-config.py
Wikimedia-Sverige/global-metrics
0616cfa01f34b3f062bb1c496512c20e817be8d4
[ "MIT" ]
null
null
null
user-config.py
Wikimedia-Sverige/global-metrics
0616cfa01f34b3f062bb1c496512c20e817be8d4
[ "MIT" ]
4
2019-08-28T13:37:16.000Z
2022-03-08T22:08:19.000Z
user-config.py
Wikimedia-Sverige/global-metrics
0616cfa01f34b3f062bb1c496512c20e817be8d4
[ "MIT" ]
null
null
null
family = "wikimediachapter" mylang = "se"
14
27
0.714286
4
42
7.5
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
42
2
28
21
0.833333
0
0
0
0
0
0.428571
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