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
908b887e98fd4eb9827a497de0adb661a1c0116c
2,290
py
Python
src/models.py
mightytreefolk/AttentionIsAllYouNeed
a579be3d620212e3ab3d1431a3046d9dc0b6e571
[ "Apache-2.0" ]
1
2021-09-10T11:49:48.000Z
2021-09-10T11:49:48.000Z
src/models.py
mightytreefolk/AttentionIsAllYouNeed
a579be3d620212e3ab3d1431a3046d9dc0b6e571
[ "Apache-2.0" ]
null
null
null
src/models.py
mightytreefolk/AttentionIsAllYouNeed
a579be3d620212e3ab3d1431a3046d9dc0b6e571
[ "Apache-2.0" ]
null
null
null
import copy import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable device = torch.device('cuda' if torch.cuda.is_available() else 'cpu') def multi_layer(module, num_copies): return nn.ModuleList([module for _ in range(num_copies)]).to(device) de...
32.253521
90
0.671179
332
2,290
4.421687
0.256024
0.076294
0.044959
0.040872
0.121253
0.031335
0
0
0
0
0
0.007054
0.195197
2,290
70
91
32.714286
0.789474
0
0
0.04
0
0
0.005245
0
0
0
0
0
0
1
0.24
false
0
0.12
0.12
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
0
0
1
1
0
0
3
90976ac9a2b411b0b50acaff0fce4d368cc55487
224
py
Python
conftest.py
QUVA-Lab/spiking-mlp
899aef9a8405c46a0f11f0daf4ece29c37c05d89
[ "BSD-2-Clause-FreeBSD" ]
36
2016-03-01T10:34:02.000Z
2020-08-05T17:50:27.000Z
conftest.py
asmith26/spiking-mlp
3f121f0a169b4d1fd25e5e1f888c1fd1a042460b
[ "MIT" ]
4
2016-02-26T12:36:46.000Z
2018-12-06T23:44:34.000Z
conftest.py
asmith26/spiking-mlp
3f121f0a169b4d1fd25e5e1f888c1fd1a042460b
[ "MIT" ]
27
2016-03-02T09:55:40.000Z
2021-04-08T15:52:23.000Z
import sys # content of conftest.py def pytest_configure(config): import sys sys._called_from_test = True def pytest_unconfigure(config): if hasattr(sys, '_called_from_test'): del sys._called_from_test
20.363636
41
0.736607
32
224
4.8125
0.5625
0.175325
0.253247
0.331169
0
0
0
0
0
0
0
0
0.1875
224
10
42
22.4
0.846154
0.098214
0
0.285714
0
0
0.085
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0
0.571429
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
90ab6372a1b27805f8e1f7d4a62cc77a9621173d
137
py
Python
quichesaver/conf/settings.py
matheusMoreno/quichesaver
5e4a20d18a0b8c84973a3e5678547d518f1a3ddf
[ "MIT" ]
null
null
null
quichesaver/conf/settings.py
matheusMoreno/quichesaver
5e4a20d18a0b8c84973a3e5678547d518f1a3ddf
[ "MIT" ]
null
null
null
quichesaver/conf/settings.py
matheusMoreno/quichesaver
5e4a20d18a0b8c84973a3e5678547d518f1a3ddf
[ "MIT" ]
null
null
null
"""Telegram bot configurations.""" import os from dotenv import load_dotenv load_dotenv() TELEGRAM_TOKEN = os.getenv("TELEGRAM_TOKEN")
17.125
44
0.781022
18
137
5.722222
0.555556
0.194175
0
0
0
0
0
0
0
0
0
0
0.109489
137
7
45
19.571429
0.844262
0.20438
0
0
0
0
0.135922
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
90ad94ee446a62b5033978edad2c3542dfbf28dd
162
py
Python
test_libs/config_helpers/setup.py
ssteiger/eth2.0-specs
23b1cb225d4aab476bbeba06ab1d17755ccfd104
[ "CC0-1.0" ]
1
2021-05-22T16:06:27.000Z
2021-05-22T16:06:27.000Z
test_libs/config_helpers/setup.py
ssteiger/eth2.0-specs
23b1cb225d4aab476bbeba06ab1d17755ccfd104
[ "CC0-1.0" ]
null
null
null
test_libs/config_helpers/setup.py
ssteiger/eth2.0-specs
23b1cb225d4aab476bbeba06ab1d17755ccfd104
[ "CC0-1.0" ]
null
null
null
from distutils.core import setup setup( name='config_helpers', packages=['preset_loader'], install_requires=[ "ruamel.yaml==0.15.87" ] )
16.2
32
0.635802
19
162
5.263158
0.947368
0
0
0
0
0
0
0
0
0
0
0.039683
0.222222
162
9
33
18
0.753968
0
0
0
0
0
0.290123
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
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
90c1bfa131597b71ed16a1ddab91935079b97a59
792
py
Python
tests/utils/test_is_hermitian.py
BQSKit/qfast
06df0c7439ae096af2d1fa3e97b44512618f5e4a
[ "BSD-3-Clause-LBNL" ]
12
2020-09-23T17:43:17.000Z
2022-01-17T18:23:11.000Z
tests/utils/test_is_hermitian.py
edyounis/qfast
06df0c7439ae096af2d1fa3e97b44512618f5e4a
[ "BSD-3-Clause-LBNL" ]
3
2020-09-26T00:46:55.000Z
2021-03-15T17:52:54.000Z
tests/utils/test_is_hermitian.py
BQSKit/qfast
06df0c7439ae096af2d1fa3e97b44512618f5e4a
[ "BSD-3-Clause-LBNL" ]
2
2021-05-31T05:29:20.000Z
2021-12-06T13:18:22.000Z
import numpy as np import unittest as ut from qfast.utils import is_hermitian, dot_product from qfast.pauli import get_norder_paulis class TestIsHermitian ( ut.TestCase ): def test_is_hermitian ( self ): paulis = get_norder_paulis( 3 ) for i in range( 10 ): alpha = np.random.r...
31.68
75
0.619949
101
792
4.60396
0.415842
0.212903
0.182796
0.27957
0.2
0.141935
0.141935
0
0
0
0
0.020725
0.268939
792
24
76
33
0.782383
0
0
0
0
0
0.011364
0
0
0
0
0
0.333333
1
0.111111
false
0
0.222222
0
0.388889
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
90d0b93ce3e5756bafef5ccde4c693f9f260c925
840
py
Python
src/art_node.py
Temur0414/machine-psychology-python-art
ec6dfa4270e463d93976d9cd18cd57f1426d00d9
[ "MIT" ]
40
2021-09-10T15:36:41.000Z
2022-03-12T21:02:28.000Z
src/art_node.py
Temur0414/machine-psychology-python-art
ec6dfa4270e463d93976d9cd18cd57f1426d00d9
[ "MIT" ]
1
2022-01-27T14:57:23.000Z
2022-01-27T14:57:23.000Z
src/art_node.py
Temur0414/machine-psychology-python-art
ec6dfa4270e463d93976d9cd18cd57f1426d00d9
[ "MIT" ]
16
2021-10-03T19:23:57.000Z
2022-03-06T21:27:35.000Z
"""A single Node in the graph of the art.""" class ArtNode: def __init__(self, x: int, y: int, thickness: int) -> None: self.x = x self.y = y self.thickness: int = thickness def xy(self, factor: int = 1): """ Gets the xy position of this node, but also allow for ...
28
63
0.570238
115
840
4.095652
0.4
0.053079
0.038217
0.042463
0.097665
0.097665
0
0
0
0
0
0.006757
0.295238
840
29
64
28.965517
0.788851
0.172619
0
0
0
0
0.074468
0.051672
0
0
0
0
0
1
0.277778
false
0
0
0.111111
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
90d978f4abbd24df0ce4b17e6ffa91166a18445b
116
py
Python
whats_free_on_craigslist_app/apps.py
benfarmercode/whats-free-on-craigslist
1b912024179362a4d7861326ba6d7a28fdbf2425
[ "MIT" ]
null
null
null
whats_free_on_craigslist_app/apps.py
benfarmercode/whats-free-on-craigslist
1b912024179362a4d7861326ba6d7a28fdbf2425
[ "MIT" ]
null
null
null
whats_free_on_craigslist_app/apps.py
benfarmercode/whats-free-on-craigslist
1b912024179362a4d7861326ba6d7a28fdbf2425
[ "MIT" ]
null
null
null
from django.apps import AppConfig class CraigslistAppConfig(AppConfig): name = 'whats_free_on_craigslist_app'
19.333333
41
0.810345
14
116
6.428571
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.12931
116
5
42
23.2
0.891089
0
0
0
0
0
0.241379
0.241379
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
90def854a068a506090ff60109e0899ba935a4e5
924
py
Python
Creational/Factory-Method/python/FactoryMethod.py
Hkataya/design-patterns
cfdebd756a64ee682e90a707747ac4b973a27c55
[ "CC0-1.0" ]
294
2017-10-14T01:18:09.000Z
2022-03-25T12:11:27.000Z
Creational/Factory-Method/python/FactoryMethod.py
dsfb/design-patterns
7e8fd8157488777a97d33249782d8b751e80e5b5
[ "CC0-1.0" ]
68
2017-10-14T10:06:36.000Z
2021-10-05T07:12:01.000Z
Creational/Factory-Method/python/FactoryMethod.py
dsfb/design-patterns
7e8fd8157488777a97d33249782d8b751e80e5b5
[ "CC0-1.0" ]
329
2017-10-14T10:27:58.000Z
2021-11-13T11:51:29.000Z
from abc import ABC, abstractmethod class Creator(ABC): def some_operation(self): product = self.create_product() product.do_stuff() @abstractmethod def create_product(self): pass class Product(ABC): @abstractmethod def do_stuff(self): pass class ConcreteProd...
16.5
41
0.6829
92
924
6.652174
0.315217
0.071895
0.078431
0.098039
0.238562
0.238562
0.130719
0.130719
0.130719
0
0
0
0.227273
924
55
42
16.8
0.857143
0
0
0.322581
0
0
0.055195
0
0
0
0
0
0
1
0.258065
false
0.064516
0.032258
0.064516
0.548387
0.064516
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
90f05accb6f47db4a0c1c4b28cbe9425168d23c5
205
py
Python
robotoy/components/headlight.py
wux5/robotoy
a8245c1caa7538b184acce714c14334fe8212a65
[ "MIT" ]
4
2019-02-25T07:41:05.000Z
2021-04-17T22:06:06.000Z
robotoy/components/headlight.py
wux5/robotoy
a8245c1caa7538b184acce714c14334fe8212a65
[ "MIT" ]
2
2019-02-18T08:26:25.000Z
2019-02-25T07:38:13.000Z
robotoy/components/headlight.py
wux5/robotoy
a8245c1caa7538b184acce714c14334fe8212a65
[ "MIT" ]
2
2019-02-18T04:51:29.000Z
2019-03-26T14:36:29.000Z
from gpiozero import RGBLED from .. import pins from ..singleton import singleton @singleton class Headlight(RGBLED): def __init__(self): super().__init__(pins.LED_R, pins.LED_G, pins.LED_B)
20.5
60
0.731707
29
205
4.793103
0.551724
0.151079
0
0
0
0
0
0
0
0
0
0
0.165854
205
9
61
22.777778
0.812866
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
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
2900bb2b198b2a573e277802d5bd09ddde12d4a7
801
py
Python
oscar/lib/python2.7/site-packages/phonenumbers/shortdata/region_BW.py
AMuratTuran/mkn
557086426773ced10d82c969304bd349414a601e
[ "BSD-3-Clause" ]
4
2018-10-19T04:36:20.000Z
2020-02-13T16:14:09.000Z
oscar/lib/python2.7/site-packages/phonenumbers/shortdata/region_BW.py
AMuratTuran/mkn
557086426773ced10d82c969304bd349414a601e
[ "BSD-3-Clause" ]
5
2020-03-24T16:37:25.000Z
2021-06-10T21:24:54.000Z
upibo-venv/Lib/site-packages/phonenumbers/shortdata/region_BW.py
smbpgroup/upibo
625dcda9f9692c62aeb9fe8f7123a5d407c610ae
[ "BSD-3-Clause" ]
null
null
null
"""Auto-generated file, do not edit by hand. BW metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_BW = PhoneMetadata(id='BW', country_code=None, international_prefix=None, general_desc=PhoneNumberDesc(national_number_pattern='[19]\\d{2,4}', possible_length=(3, 5)),...
72.818182
118
0.781523
100
801
5.98
0.48
0.192308
0.242475
0.301003
0.436455
0.367893
0.367893
0.367893
0.247492
0.247492
0
0.070365
0.077403
801
10
119
80.1
0.738836
0.066167
0
0
1
0
0.080863
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
290bc52d50aacddf469c7cf064ccec59df350783
3,095
py
Python
oo/carro.py
artur-fi/pythonbirds
1df49794d69e82327a2c383934d77fd14ab4660d
[ "MIT" ]
null
null
null
oo/carro.py
artur-fi/pythonbirds
1df49794d69e82327a2c383934d77fd14ab4660d
[ "MIT" ]
null
null
null
oo/carro.py
artur-fi/pythonbirds
1df49794d69e82327a2c383934d77fd14ab4660d
[ "MIT" ]
null
null
null
""" construir uma classe carro que vai possuir dois atributos compostos por outras duas classes: 1) Motor 2) Direção 1 - Motor resposavel de controlar a velocidade 1- atributo de velocidade 2- acelerar, incremetar de 1 unidade a 1 3- frear que decremeta em 2 unidades 2 - Direção responsavel por controlar...
24.76
117
0.609693
365
3,095
5.032877
0.216438
0.042461
0.056614
0.043549
0.323898
0.232444
0.06478
0
0
0
0
0.011853
0.263974
3,095
124
118
24.959677
0.794557
0.757674
0
0.095238
0
0
0.024523
0
0
0
0
0.024194
0
1
0.285714
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
293e771aaa07760190f193e6e2b736b697cd986a
278
py
Python
gm-pepm-2018/nepls-2017/src/list.py
nuprl/retic_performance
621211c2f40251ce5364c33e72e4067e34a32013
[ "MIT" ]
3
2018-08-03T02:41:29.000Z
2021-03-19T03:18:47.000Z
gm-pepm-2018/nepls-2017/src/list.py
nuprl/retic_performance
621211c2f40251ce5364c33e72e4067e34a32013
[ "MIT" ]
3
2018-02-04T17:53:56.000Z
2018-11-10T17:06:57.000Z
gm-pepm-2018/nepls-2017/src/list.py
nuprl/retic_performance
621211c2f40251ce5364c33e72e4067e34a32013
[ "MIT" ]
1
2018-08-04T00:14:12.000Z
2018-08-04T00:14:12.000Z
def f(n:Int)->Int: return (n * (n+1)) // 2 def get_numbers(how_many:Int)->List(Int): nums = [] for i in range(1, 1 + how_many): nums.append(f) return nums print(get_numbers(4)) def apply_first(funs, n): return funs[0](n) print(apply_first(get_numbers(4), 10))
17.375
41
0.636691
52
278
3.269231
0.480769
0.176471
0.129412
0
0
0
0
0
0
0
0
0.039301
0.176259
278
15
42
18.533333
0.703057
0
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0
0.181818
0.545455
0.181818
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
29406df4015551a187900df95b78bc6fd9dfa868
163
py
Python
app.py
doitintl/spotzero-stack
0d1a30fa892aa8ff3b7ab7c2a09aae9c876fc067
[ "Apache-2.0" ]
null
null
null
app.py
doitintl/spotzero-stack
0d1a30fa892aa8ff3b7ab7c2a09aae9c876fc067
[ "Apache-2.0" ]
null
null
null
app.py
doitintl/spotzero-stack
0d1a30fa892aa8ff3b7ab7c2a09aae9c876fc067
[ "Apache-2.0" ]
1
2021-07-17T04:21:35.000Z
2021-07-17T04:21:35.000Z
#!/usr/bin/env python3 from aws_cdk import core from spotzero.spotzero_stack import SpotZeroStack app = core.App() SpotZeroStack(app, "SpotZero") app.synth()
13.583333
49
0.760736
23
163
5.304348
0.608696
0.262295
0
0
0
0
0
0
0
0
0
0.007042
0.128834
163
11
50
14.818182
0.852113
0.128834
0
0
0
0
0.056738
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
2956743d4781cc22b6aa2b44a0089fa7d7880ce8
208
py
Python
venv/lib/python3.9/site-packages/py2app/bootstrap/reset_sys_path.py
dequeb/asmbattle
27e8b209de5787836e288a2f2f9b7644ce07563e
[ "MIT" ]
193
2020-01-15T09:34:20.000Z
2022-03-18T19:14:16.000Z
venv/lib/python3.9/site-packages/py2app/bootstrap/reset_sys_path.py
dequeb/asmbattle
27e8b209de5787836e288a2f2f9b7644ce07563e
[ "MIT" ]
185
2020-01-15T08:38:27.000Z
2022-03-27T17:29:29.000Z
venv/lib/python3.9/site-packages/py2app/bootstrap/reset_sys_path.py
dequeb/asmbattle
27e8b209de5787836e288a2f2f9b7644ce07563e
[ "MIT" ]
23
2020-01-24T14:47:18.000Z
2022-02-22T17:19:47.000Z
def _reset_sys_path(): # Clear generic sys.path[0] import os import sys resources = os.environ["RESOURCEPATH"] while sys.path[0] == resources: del sys.path[0] _reset_sys_path()
17.333333
42
0.639423
29
208
4.37931
0.482759
0.275591
0.188976
0
0
0
0
0
0
0
0
0.019108
0.245192
208
11
43
18.909091
0.789809
0.120192
0
0
0
0
0.066298
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.428571
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
297b4d2d934ad6682b10510c7e0b317b26eb1391
223
py
Python
src/countingValleys/countingValleysTests.py
JohnWebb4/toy_problems
7d7351bdfbc95205f65b6a6b5f730acbd3bdf171
[ "MIT" ]
null
null
null
src/countingValleys/countingValleysTests.py
JohnWebb4/toy_problems
7d7351bdfbc95205f65b6a6b5f730acbd3bdf171
[ "MIT" ]
1
2021-08-30T04:27:24.000Z
2021-08-30T04:27:24.000Z
src/countingValleys/countingValleysTests.py
JohnWebb4/toy-problems
d0691f8eb7cde31c8e6df15502357d6a9492a0ea
[ "MIT" ]
null
null
null
import unittest from src.countingValleys.countingValleys import counting_valleys; class TestCountingValleys(unittest.TestCase): def test_large_valley(self): self.assertEqual(counting_valleys("UDDDUDUU"), 1)
22.3
65
0.793722
24
223
7.208333
0.75
0.17341
0
0
0
0
0
0
0
0
0
0.005128
0.125561
223
9
66
24.777778
0.882051
0
0
0
0
0
0.036036
0
0
0
0
0
0.2
1
0.2
false
0
0.4
0
0.8
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
46537d5d7d18d1f91e148c0fb3b9264ef2ca34a2
370
py
Python
apps/web/apps.py
rubmu/QuestBot
34c42a25e8400060a80e1a234ca7bc7a265769ae
[ "MIT" ]
16
2017-12-01T04:45:50.000Z
2021-08-28T17:25:11.000Z
apps/web/apps.py
daniilzinevich/QuestBot
927b9f35aa4a4c88bf3825b965387d358c98f413
[ "MIT" ]
2
2018-08-18T16:42:49.000Z
2021-02-25T21:16:06.000Z
apps/web/apps.py
daniilzinevich/QuestBot
927b9f35aa4a4c88bf3825b965387d358c98f413
[ "MIT" ]
13
2018-01-26T14:35:51.000Z
2020-05-10T20:48:36.000Z
from django.apps import AppConfig def connect_telegram_bot_signals(): """Inject Telegram bot handlers""" import apps.web.signals.handlers # noqa class SignalsConfig(AppConfig): """Class that set up signals after models are ready""" name = 'apps.web' verbose_name = 'Telegram Quests' def re...
21.764706
58
0.705405
46
370
5.521739
0.586957
0.129921
0.141732
0.19685
0
0
0
0
0
0
0
0
0.2
370
16
59
23.125
0.858108
0.224324
0
0
0
0
0.083333
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.875
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
465e8d4e62ae5bae619f1e32b812d5bca34558e8
1,242
py
Python
models/user/decorators.py
cldmello/pricing_service
589eb8256154ad03bcc73feee60a68816b87ba30
[ "MIT" ]
null
null
null
models/user/decorators.py
cldmello/pricing_service
589eb8256154ad03bcc73feee60a68816b87ba30
[ "MIT" ]
null
null
null
models/user/decorators.py
cldmello/pricing_service
589eb8256154ad03bcc73feee60a68816b87ba30
[ "MIT" ]
null
null
null
from functools import wraps from typing import Callable from flask import session, flash, redirect, url_for, request, current_app def requires_login(f: Callable) -> Callable: ''' If you decorate a view with this, it will ensure that the current user is logged in with email and authenticated before calling the ac...
37.636364
75
0.707729
184
1,242
4.717391
0.353261
0.078341
0.048387
0.043779
0.647465
0.610599
0.610599
0.610599
0.610599
0.610599
0
0
0.189211
1,242
33
76
37.636364
0.861966
0.336554
0
0.526316
0
0
0.172152
0
0
0
0
0
0
1
0.210526
false
0
0.157895
0
0.684211
0
0
0
0
null
0
0
0
0
0
0
0
0
1
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
4696615e90bd52f0a0470595dfb7f5e57cc6d698
186
py
Python
patterns/28.py
DharaniAnche/python-programs
45e869b9ffcb26c746bc1c6eee8f855a626d2406
[ "MIT" ]
1
2020-12-04T14:37:57.000Z
2020-12-04T14:37:57.000Z
patterns/28.py
DharaniAnche/python-programs
45e869b9ffcb26c746bc1c6eee8f855a626d2406
[ "MIT" ]
1
2020-12-04T15:13:01.000Z
2020-12-04T15:13:01.000Z
patterns/28.py
DharaniAnche/python-programs
45e869b9ffcb26c746bc1c6eee8f855a626d2406
[ "MIT" ]
1
2022-03-21T10:22:54.000Z
2022-03-21T10:22:54.000Z
n=int(input('enter a program : ')) for i in range(n): for j in range(n-1,i,-1): print(' ',end=' ') for k in range(0,i): print(chr(65+k),end=' ') print()
26.571429
35
0.478495
33
186
2.69697
0.545455
0.235955
0.179775
0
0
0
0
0
0
0
0
0.038462
0.301075
186
7
36
26.571429
0.646154
0
0
0
0
0
0.116022
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
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
46a0ff9cddfa26a4ddd6bc6d1dd7491b9a7aa539
193
py
Python
addict/__init__.py
adityag6994/quad_arrt
4235b3985fb5327cffaa136929859bac124ee934
[ "BSD-2-Clause" ]
1
2021-03-02T08:45:41.000Z
2021-03-02T08:45:41.000Z
addict/__init__.py
adityag6994/quad_arrt
4235b3985fb5327cffaa136929859bac124ee934
[ "BSD-2-Clause" ]
null
null
null
addict/__init__.py
adityag6994/quad_arrt
4235b3985fb5327cffaa136929859bac124ee934
[ "BSD-2-Clause" ]
3
2016-04-02T22:09:09.000Z
2016-08-22T08:21:24.000Z
from .addict import Dict __title__ = 'addict' __version__ = '0.4.0' __author__ = 'Mats Julian Olsen' __license__ = 'MIT' __copyright__ = 'Copyright 2014 Mats Julian Olsen' __all__ = ['Dict']
19.3
50
0.725389
24
193
4.833333
0.708333
0.172414
0.258621
0
0
0
0
0
0
0
0
0.042945
0.15544
193
9
51
21.444444
0.668712
0
0
0
0
0
0.34715
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
46b12e5a76bf68ebbc7f20f7f8e6823049516c71
180
py
Python
dende/platereader/__main__.py
dende/platereader
36b9660bff6ef37990e5925284cbe37ee5093163
[ "MIT" ]
3
2021-04-20T11:50:34.000Z
2022-03-04T08:15:37.000Z
dende/platereader/__main__.py
dende/platereader
36b9660bff6ef37990e5925284cbe37ee5093163
[ "MIT" ]
null
null
null
dende/platereader/__main__.py
dende/platereader
36b9660bff6ef37990e5925284cbe37ee5093163
[ "MIT" ]
null
null
null
import dende.platereader.platereader def main(): platereader = dende.platereader.platereader.Platereader() platereader.mainloop() if __name__ == "__main__": main()
16.363636
61
0.722222
17
180
7.176471
0.470588
0.721311
0.442623
0
0
0
0
0
0
0
0
0
0.161111
180
10
62
18
0.807947
0
0
0
0
0
0.044444
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d3dd07b381c9469db4ff0d6edda0a44e42c8f82b
819
py
Python
ndscheduler/core/datastore/providers/mysql.py
hairbeartoe/ndscheduler
a5a6b1fc84ffa3d6765f3d63152198d4cffab4e9
[ "BSD-2-Clause" ]
3
2019-06-28T08:30:10.000Z
2021-09-10T20:55:41.000Z
ndscheduler/core/datastore/providers/mysql.py
hairbeartoe/ndscheduler
a5a6b1fc84ffa3d6765f3d63152198d4cffab4e9
[ "BSD-2-Clause" ]
1
2017-11-16T23:49:21.000Z
2017-11-16T23:49:21.000Z
ndscheduler/core/datastore/providers/mysql.py
hairbeartoe/ndscheduler
a5a6b1fc84ffa3d6765f3d63152198d4cffab4e9
[ "BSD-2-Clause" ]
3
2017-02-09T19:32:31.000Z
2017-05-04T05:43:13.000Z
"""Represents MySQL datastore.""" from ndscheduler import settings from ndscheduler.core.datastore.providers import base class DatastoreMysql(base.DatastoreBase): @classmethod def get_db_url(cls): """ DATABASE_CONFIG_DICT = { 'user': 'myuser', 'password': 'password', ...
27.3
54
0.581197
77
819
6
0.493506
0.181818
0.233766
0.281385
0
0
0
0
0
0
0
0.006861
0.288156
819
29
55
28.241379
0.785592
0.269841
0
0
0
0
0.122772
0.059406
0
0
0
0
0
1
0.090909
false
0.090909
0.181818
0
0.454545
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
d3f42e76b59299431a9d51def765b4d9c27b54e7
359
py
Python
idm_lp/database/ignored_members.py
lper1/dgm-.
aae14b2758b220f42030745bb941e7012bf77ae2
[ "MIT" ]
47
2020-09-15T11:13:35.000Z
2022-03-30T06:37:52.000Z
idm_lp/database/ignored_members.py
lper1/dgm-.
aae14b2758b220f42030745bb941e7012bf77ae2
[ "MIT" ]
2
2020-10-27T15:30:33.000Z
2020-11-14T16:50:01.000Z
idm_lp/database/ignored_members.py
lper1/dgm-.
aae14b2758b220f42030745bb941e7012bf77ae2
[ "MIT" ]
111
2020-09-27T20:06:42.000Z
2022-03-19T20:29:29.000Z
from typing import Dict from pydantic import BaseModel __all__ = ( 'IgnoredMembers', 'IgnoredGlobalMembers', 'MutedMembers', ) class IgnoredMembers(BaseModel): member_id: int chat_id: int class IgnoredGlobalMembers(BaseModel): member_id: int class MutedMembers(BaseModel): member_id: i...
14.958333
38
0.704735
39
359
6.25641
0.435897
0.102459
0.209016
0.245902
0.237705
0.237705
0.237705
0
0
0
0
0.003559
0.21727
359
23
39
15.608696
0.864769
0
0
0.3125
0
0
0.128134
0
0
0
0
0
0
1
0
false
0
0.125
0
0.6875
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
31191d1660b02a17769ccf386f23fa83fc2b2cf7
1,651
py
Python
Janaagraha Bot/venv/Lib/site-packages/gcloud/monitoring/__init__.py
CFGIndia20/team-19
e2b27ad8009303d262c2dc60551d6fcc4645b3b5
[ "MIT" ]
5
2018-01-18T11:39:23.000Z
2022-01-01T11:38:40.000Z
Janaagraha Bot/venv/Lib/site-packages/gcloud/monitoring/__init__.py
CFGIndia20/team-19
e2b27ad8009303d262c2dc60551d6fcc4645b3b5
[ "MIT" ]
12
2021-10-18T00:37:47.000Z
2022-03-09T01:35:20.000Z
Janaagraha Bot/venv/Lib/site-packages/gcloud/monitoring/__init__.py
CFGIndia20/team-19
e2b27ad8009303d262c2dc60551d6fcc4645b3b5
[ "MIT" ]
4
2018-01-18T11:32:38.000Z
2021-11-25T23:28:04.000Z
# Copyright 2016 Google Inc. All rights reserved. # # 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 a...
35.891304
74
0.784979
207
1,651
6.241546
0.429952
0.116099
0.232198
0.080495
0.327399
0
0
0
0
0
0
0.005614
0.136887
1,651
45
75
36.688889
0.901053
0.364022
0
0
0
0
0.146318
0
0
0
0
0
0
1
0
false
0
0.576923
0
0.576923
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
312c4e4456d6b95b892acca7993908c5d150a67c
2,298
py
Python
bddown_help.py
liuguojun/pan-baidu-download
d910351434d7f7ec47d42a4fd2c07f4ebdd4ffdc
[ "MIT" ]
1
2015-03-27T13:19:35.000Z
2015-03-27T13:19:35.000Z
bddown_help.py
liuguojun/pan-baidu-download
d910351434d7f7ec47d42a4fd2c07f4ebdd4ffdc
[ "MIT" ]
null
null
null
bddown_help.py
liuguojun/pan-baidu-download
d910351434d7f7ec47d42a4fd2c07f4ebdd4ffdc
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 #!coding=utf-8 basic_command = [ ('help', 'Show this help'), ('login', 'Login using Baidu account'), ('download', 'Download file from the Baidu pan link'), ('show', 'Show the Baidu pan real link and filename'), ('export', 'export link to aria2 json...
25.252747
85
0.68799
340
2,298
4.547059
0.288235
0.163001
0.203752
0.230919
0.414618
0.189521
0.104787
0.064683
0.064683
0.064683
0
0.017638
0.185814
2,298
90
86
25.533333
0.808658
0.014795
0
0.147541
0
0
0.731211
0
0
0
0
0
0
1
0.04918
false
0.032787
0
0.032787
0.098361
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3145f9a3de4204bda47eceac6a846f67d134d2d1
312
py
Python
Conditions if, then, else/13findLeapYear.py
palakbaphna/pyprac
992770d5aed73c632a69b4bb22f471f35d083ee5
[ "Apache-2.0" ]
null
null
null
Conditions if, then, else/13findLeapYear.py
palakbaphna/pyprac
992770d5aed73c632a69b4bb22f471f35d083ee5
[ "Apache-2.0" ]
null
null
null
Conditions if, then, else/13findLeapYear.py
palakbaphna/pyprac
992770d5aed73c632a69b4bb22f471f35d083ee5
[ "Apache-2.0" ]
null
null
null
#Given the year number. You need to check if this year is a leap year. If it is, print LEAP, otherwise print COMMON. year = int(input("year=?")) if year % 4 == 0 and year % 100 != 0: print("It is a leap year!") elif year % 400 == 0: print("it is a leap year!") else: print("It is not a leap year")
28.363636
116
0.628205
59
312
3.322034
0.457627
0.102041
0.183673
0.168367
0.193878
0.193878
0.193878
0
0
0
0
0.042194
0.240385
312
10
117
31.2
0.78481
0.36859
0
0
0
0
0.321429
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
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
3161be47d07109a503c9c2f907871d9a24dab942
191
py
Python
experiment/rtrsa/__init__.py
andreagrusso/rtRSA
7878772fd9415f6dbedbede2a8aa8d2b8f1de7cd
[ "MIT" ]
2
2021-11-17T12:20:28.000Z
2022-01-21T12:56:29.000Z
experiment/rtrsa/__init__.py
andreagrusso/rtRSA
7878772fd9415f6dbedbede2a8aa8d2b8f1de7cd
[ "MIT" ]
null
null
null
experiment/rtrsa/__init__.py
andreagrusso/rtRSA
7878772fd9415f6dbedbede2a8aa8d2b8f1de7cd
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Aug 7 09:39:00 2020 @author: Andrea Gerardo Russo, Biomedical Engineer PhD candidate in Neuroscience University of Salerno, Fisciano, Italy """
17.363636
50
0.712042
27
191
5.037037
1
0
0
0
0
0
0
0
0
0
0
0.075949
0.172775
191
10
51
19.1
0.78481
0.937173
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
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
0
0
1
0
0
0
0
0
0
3
316d5ba364b1ada150991d047fc3ada3558d9d93
10,899
py
Python
tests/test_refrigerationcase.py
marcelosalles/pyidf
c2f744211572b5e14e29522aac1421ba88addb0e
[ "Apache-2.0" ]
19
2015-12-08T23:33:51.000Z
2022-01-31T04:41:10.000Z
tests/test_refrigerationcase.py
marcelosalles/pyidf
c2f744211572b5e14e29522aac1421ba88addb0e
[ "Apache-2.0" ]
2
2019-10-04T10:57:00.000Z
2021-10-01T06:46:17.000Z
tests/test_refrigerationcase.py
marcelosalles/pyidf
c2f744211572b5e14e29522aac1421ba88addb0e
[ "Apache-2.0" ]
7
2015-11-04T02:25:01.000Z
2021-12-08T03:14:28.000Z
import os import tempfile import unittest import logging from pyidf import ValidationLevel import pyidf from pyidf.idf import IDF from pyidf.refrigeration import RefrigerationCase log = logging.getLogger(__name__) class TestRefrigerationCase(unittest.TestCase): def setUp(self): self.fd, self.path = tempf...
62.637931
177
0.793743
1,394
10,899
5.648494
0.091105
0.03556
0.06604
0.08001
0.874016
0.797435
0.717678
0.592456
0.530099
0.384049
0
0.015191
0.154418
10,899
174
178
62.637931
0.839193
0.022204
0
0
0
0
0.038693
0.006496
0
0
0
0
0.271318
1
0.023256
false
0
0.062016
0
0.093023
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3174dc7f4ffb1f08c7ce9e690840b6337b521a5c
213
py
Python
setup.py
innovationOUtside/ipython_magic_eralchemy
fbaed53afd8bf376e26a41634d6ec12a743d0bfc
[ "MIT" ]
2
2019-06-12T16:49:14.000Z
2019-10-21T12:17:03.000Z
setup.py
innovationOUtside/ipython_magic_eralchemy
fbaed53afd8bf376e26a41634d6ec12a743d0bfc
[ "MIT" ]
4
2018-02-12T15:48:04.000Z
2018-02-14T10:25:58.000Z
setup.py
innovationOUtside/ipython_magic_eralchemy
fbaed53afd8bf376e26a41634d6ec12a743d0bfc
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='eralchemy-magic', packages=['eralchemy_magic'], install_requires=['ipython-sql'], dependency_links=['git+https://github.com/psychemedia/eralchemy.git'] )
30.428571
75
0.71831
24
213
6.25
0.791667
0.186667
0
0
0
0
0
0
0
0
0
0
0.126761
213
7
76
30.428571
0.806452
0
0
0
0
0
0.415888
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
318f4e33079de0edd8689c1eb8bb40d1c5375862
1,137
py
Python
code/piggy-bank/const.py
timchurchard/satoshi-piggy-bank
eb02567abfd5b192c1b56bb79aaebf83a4a25f70
[ "MIT" ]
3
2019-10-16T12:28:51.000Z
2022-01-06T08:40:20.000Z
code/piggy-bank/const.py
timchurchard/satoshi-piggy-bank
eb02567abfd5b192c1b56bb79aaebf83a4a25f70
[ "MIT" ]
null
null
null
code/piggy-bank/const.py
timchurchard/satoshi-piggy-bank
eb02567abfd5b192c1b56bb79aaebf83a4a25f70
[ "MIT" ]
1
2019-10-19T12:44:11.000Z
2019-10-19T12:44:11.000Z
# (C) 2020 Tim Churchard # Settings DEFAULT_DEPTH = 10 # Example xpubs EXAMPLE_XPUBS = ( 'xpub6CPkcptFb3VQudKr4FytZfY1GumgV29pUjBqYyx2GPpX5qirZULBg5U7ynEFHriZU5LXvdoMGQWPMK8LBAeR35f32FQNEAZHG8mNsS3oFwJ', 'ypub6X9tfM9t5GxhZwZWdAepwURh3X6JYfwbi8JtpCQB1eQGbjzyXpagoqZRxsjowgzqUhdVpoZwyrEMXUxZvYxYxuYNSyrvpKVZNjjR8...
24.191489
118
0.778364
75
1,137
11.733333
0.506667
0.020455
0
0
0
0
0
0
0
0
0
0.085453
0.135444
1,137
46
119
24.717391
0.807731
0.122252
0
0
0
0
0.614762
0.561173
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3192f849f02fecda0ad6157d628c11369cf946c4
1,037
py
Python
clients/python-fastapi/generated/src/openapi_server/models/list_view.py
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/python-fastapi/generated/src/openapi_server/models/list_view.py
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/python-fastapi/generated/src/openapi_server/models/list_view.py
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
# coding: utf-8 from __future__ import annotations from datetime import date, datetime # noqa: F401 import re # noqa: F401 from typing import Any, Dict, List, Optional # noqa: F401 from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401 from openapi_server.models.free_style_project import FreeSt...
30.5
96
0.70974
133
1,037
5.443609
0.443609
0.041436
0.096685
0.151934
0
0
0
0
0
0
0
0.015834
0.208293
1,037
33
97
31.424242
0.866017
0.459981
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.461538
0
0.923077
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
31a7d6b28e158cbd299f8cbfb9c6333b11f4f46f
372
py
Python
test-data/packages/typedpkg_ns_b-stubs/setup.py
ooprathamm/mypy
1ac9c77bb0b5b95a9b3ee8936ac74a52e6e641ac
[ "PSF-2.0" ]
null
null
null
test-data/packages/typedpkg_ns_b-stubs/setup.py
ooprathamm/mypy
1ac9c77bb0b5b95a9b3ee8936ac74a52e6e641ac
[ "PSF-2.0" ]
null
null
null
test-data/packages/typedpkg_ns_b-stubs/setup.py
ooprathamm/mypy
1ac9c77bb0b5b95a9b3ee8936ac74a52e6e641ac
[ "PSF-2.0" ]
null
null
null
""" This setup file installs packages to test mypy's PEP 561 implementation """ from distutils.core import setup setup( name='typedpkg_ns_b-stubs', author="The mypy team", version='0.1', namespace_packages=['typedpkg_ns-stubs'], package_data={'typedpkg_ns-stubs.b': ['__init__.pyi', 'bbb...
24.8
72
0.66129
50
372
4.7
0.66
0.170213
0.191489
0.195745
0
0
0
0
0
0
0
0.016502
0.185484
372
14
73
26.571429
0.759076
0.19086
0
0
0
0
0.390681
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
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
1
0
0
0
0
0
0
3
31b3b43bd7c1394db21e5c07b5a680e151e6ae5d
890
py
Python
rraider/__init__.py
alienbrett/rraider
f587858227a807216bd798d2f1feb13feb6894df
[ "MIT" ]
1
2021-07-21T18:12:35.000Z
2021-07-21T18:12:35.000Z
rraider/__init__.py
alienbrett/rraider
f587858227a807216bd798d2f1feb13feb6894df
[ "MIT" ]
null
null
null
rraider/__init__.py
alienbrett/rraider
f587858227a807216bd798d2f1feb13feb6894df
[ "MIT" ]
1
2021-07-21T18:12:40.000Z
2021-07-21T18:12:40.000Z
""" Goal Set of well-documented and easy to use tool functions that provide guidance when placing trades manually. Needed 1) Data Acquisition ( ) Mostly turn-key ( ) Caching responses 2) Simulators (x) Brownian motion (x) Geometric brownian motion 3) Stat Parameter estimation (x) Volatility ( ) C...
21.707317
59
0.738202
114
890
5.754386
0.701754
0.121951
0
0
0
0
0
0
0
0
0
0.006993
0.196629
890
40
60
22.25
0.91049
1.130337
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
31e6ccecf542ab514bc80b32bfd2c3e0efdd6eef
357
py
Python
venv/lib/python3.6/site-packages/celery/utils/static/__init__.py
kuldeep24680/recurring_payments
79e589c3d3f4fb1a0791725065e2c068750ef6b2
[ "MIT" ]
13
2018-03-28T23:07:01.000Z
2022-03-12T06:01:21.000Z
newenv/lib/python3.8/site-packages/celery/utils/static/__init__.py
palakshivlani-11/cryptorium
eebb78c061007519e527b3d18b8df6bc13679c46
[ "Apache-2.0" ]
11
2018-06-18T15:49:07.000Z
2021-11-25T01:45:33.000Z
newenv/lib/python3.8/site-packages/celery/utils/static/__init__.py
palakshivlani-11/cryptorium
eebb78c061007519e527b3d18b8df6bc13679c46
[ "Apache-2.0" ]
5
2018-03-28T23:07:05.000Z
2021-12-09T19:02:00.000Z
"""Static files.""" from __future__ import absolute_import, unicode_literals import os def get_file(*args): # type: (*str) -> str """Get filename for static file.""" return os.path.join(os.path.abspath(os.path.dirname(__file__)), *args) def logo(): # type: () -> bytes """Celery logo image.""" ...
21
74
0.647059
48
357
4.541667
0.583333
0.082569
0
0
0
0
0
0
0
0
0
0.010274
0.182073
357
16
75
22.3125
0.736301
0.282913
0
0
0
0
0.058577
0
0
0
0
0
0
1
0.333333
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
1
1
0
1
0
0
0
0
3
9ec9db6750cb08c3af241ff75b78038582906ba8
1,028
py
Python
ejercicios/repaso_creatividad_proyecto/flowers.py
proto-tools-docs/Soluciones
7a619e00572a3496cb08a90702f152f52c6d5e56
[ "MIT" ]
null
null
null
ejercicios/repaso_creatividad_proyecto/flowers.py
proto-tools-docs/Soluciones
7a619e00572a3496cb08a90702f152f52c6d5e56
[ "MIT" ]
null
null
null
ejercicios/repaso_creatividad_proyecto/flowers.py
proto-tools-docs/Soluciones
7a619e00572a3496cb08a90702f152f52c6d5e56
[ "MIT" ]
null
null
null
""" Escriba una clase Flowers que tiene tres propiedades, de tipo int, str y float, que respectivamente representa el nombre de la flor, su cantidad de pétalos y su precio. La clase debe incluir un método constructor que inicialice cada variable con su valor apropiado, y la clase debe incluir métodos para establecer el...
26.358974
71
0.653696
139
1,028
4.741007
0.366906
0.060698
0.054628
0.054628
0.066768
0
0
0
0
0
0
0
0.266537
1,028
39
72
26.358974
0.874005
0.36965
0
0.391304
0
0
0
0
0
0
0
0.051282
0
1
0.304348
false
0
0
0.130435
0.478261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
0
0
0
3
9ed2899b7323e5e0de68f3f767e413e489318ea0
10,982
py
Python
src/pyhees/section10.py
jjj-design/pyhees
d63e7cd84abfc2f509bc1cd1256598a10aac1825
[ "MIT" ]
null
null
null
src/pyhees/section10.py
jjj-design/pyhees
d63e7cd84abfc2f509bc1cd1256598a10aac1825
[ "MIT" ]
3
2022-01-04T07:29:52.000Z
2022-03-19T08:02:51.000Z
src/pyhees/section10.py
jjj-design/pyhees
d63e7cd84abfc2f509bc1cd1256598a10aac1825
[ "MIT" ]
2
2022-01-19T07:57:10.000Z
2022-03-07T00:25:54.000Z
# ============================================================================ # 第十章 家電・調理 # Ver.04(エネルギー消費性能計算プログラム(住宅版)Ver.02~) # ============================================================================ import numpy as np from pyhees.section11_3 import load_schedule, get_schedule_app, get_schedule_cc # =======...
33.895062
105
0.439082
1,777
10,982
2.519415
0.134496
0.107661
0.150101
0.19388
0.573152
0.495644
0.41166
0.403172
0.401385
0.378602
0
0.240829
0.218084
10,982
323
106
34
0.280424
0.317064
0
0.466667
0
0
0.002238
0
0
0
0
0
0
1
0.1
false
0
0.016667
0
0.25
0
0
0
0
null
0
0
1
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
9ee219e08056721710a953fd8b8308d5a8168832
580
py
Python
39.py
JohnOmena/PPA_algorithms
64c043a969ff4959b924b5a34eaafad18aacbd4b
[ "MIT" ]
null
null
null
39.py
JohnOmena/PPA_algorithms
64c043a969ff4959b924b5a34eaafad18aacbd4b
[ "MIT" ]
null
null
null
39.py
JohnOmena/PPA_algorithms
64c043a969ff4959b924b5a34eaafad18aacbd4b
[ "MIT" ]
null
null
null
def max_point(strA, left, right): if right < left: return -1 mid = (left + right) // 2 if strA[mid] > strA[mid -1] and strA[mid] > strA[mid + 1]: return strA[mid] elif strA[mid] > strA[mid -1] and strA[mid] < strA[mid + 1]: return max_point(strA, mid, right) elif strA[mid] < strA[mid -1] and strA[mid] >...
27.619048
61
0.605172
108
580
3.194444
0.268519
0.284058
0.208696
0.243478
0.681159
0.681159
0.681159
0.681159
0.605797
0.431884
0
0.088745
0.203448
580
21
62
27.619048
0.658009
0
0
0.1875
0
0
0
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.3125
0.1875
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9efba7093cf47ecf421966b847d206edce157a53
1,662
py
Python
tests/settings.py
knyazz/djangocms-cameraslider
d4d93144cd988cb2baa2ba6316151918bcbb6773
[ "MIT" ]
2
2019-06-05T09:21:04.000Z
2022-01-06T11:58:29.000Z
tests/settings.py
knyazz/djangocms-cameraslider
d4d93144cd988cb2baa2ba6316151918bcbb6773
[ "MIT" ]
null
null
null
tests/settings.py
knyazz/djangocms-cameraslider
d4d93144cd988cb2baa2ba6316151918bcbb6773
[ "MIT" ]
null
null
null
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:', }, } INSTALLED_APPS = [ 'django.contrib.contenttypes', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.messages', 'django.contrib.sites', 'djangocms_camerasli...
30.218182
71
0.559567
137
1,662
6.620438
0.445255
0.224917
0.131202
0.208379
0
0
0
0
0
0
0
0.006092
0.308664
1,662
54
72
30.777778
0.78329
0
0
0.038462
0
0
0.561567
0.442786
0
0
0
0
0
1
0
false
0
0
0
0
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9efdfe8969fa8367354d76165a6a234a07c78298
786
py
Python
frappe-bench/env/lib/python2.7/site-packages/gocardless_pro/resources/bank_details_lookup.py
ibrahmm22/library-management
b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506
[ "MIT" ]
30
2015-07-08T21:10:10.000Z
2022-02-17T10:08:55.000Z
frappe-bench/env/lib/python2.7/site-packages/gocardless_pro/resources/bank_details_lookup.py
ibrahmm22/library-management
b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506
[ "MIT" ]
21
2015-12-14T02:24:52.000Z
2022-02-05T15:56:00.000Z
frappe-bench/env/lib/python2.7/site-packages/gocardless_pro/resources/bank_details_lookup.py
ibrahmm22/library-management
b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506
[ "MIT" ]
19
2016-02-10T15:57:42.000Z
2022-02-05T10:21:05.000Z
# WARNING: Do not edit by hand, this file was generated by Crank: # # https://github.com/gocardless/crank # class BankDetailsLookup(object): """A thin wrapper around a bank_details_lookup, providing easy access to its attributes. Example: bank_details_lookup = client.bank_details_lookups.get() ...
19.170732
80
0.670483
94
786
5.382979
0.510638
0.13834
0.100791
0.142292
0.160079
0
0
0
0
0
0
0
0.240458
786
40
81
19.65
0.847571
0.357506
0
0.230769
1
0
0.07384
0.048523
0
0
0
0
0
1
0.307692
false
0
0
0.230769
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
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
7302a971009e9483c3ddfdd698e4f837e8ef3b22
400
py
Python
app/tests/test_config.py
Claayton/users-api
4c103fa515873b2d9048770c5dc7531a1125c77a
[ "MIT" ]
null
null
null
app/tests/test_config.py
Claayton/users-api
4c103fa515873b2d9048770c5dc7531a1125c77a
[ "MIT" ]
null
null
null
app/tests/test_config.py
Claayton/users-api
4c103fa515873b2d9048770c5dc7531a1125c77a
[ "MIT" ]
null
null
null
def test_if_secret_key_is_not_my_precious(config): assert config['SECRET_KEY'] is not 'my_precious' def test_if_debug_is_true(config): assert config['DEBUG'] is True def test_if_current_app_is_not_none(client): from flask import current_app assert current_app is not None def test_if_db_is_sqlite3(con...
30.769231
73
0.78
65
400
4.384615
0.415385
0.098246
0.126316
0.098246
0.301754
0.168421
0
0
0
0
0
0.005764
0.1325
400
12
74
33.333333
0.815562
0
0
0
0
0
0.18
0.115
0
0
0
0
0.444444
1
0.444444
false
0
0.111111
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
1
0
1
0
0
0
0
1
0
0
3
730e410e2612a364c831e37a92e7d07b0235b1be
842
py
Python
circle_core/models/__init__.py
glucoseinc/CircleCore
577f814ce2944efb6e5997f3d7838c71ce9aea6a
[ "MIT" ]
3
2019-01-11T04:30:18.000Z
2019-01-11T04:31:18.000Z
circle_core/models/__init__.py
glucoseinc/CircleCore
577f814ce2944efb6e5997f3d7838c71ce9aea6a
[ "MIT" ]
16
2018-11-21T11:47:18.000Z
2021-09-01T03:52:35.000Z
circle_core/models/__init__.py
glucoseinc/CircleCore
577f814ce2944efb6e5997f3d7838c71ce9aea6a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """CircleCore Models.""" # community module from sqlalchemy.orm.exc import NoResultFound # project module from .base import MetaDataBase, MetaDataSession, generate_uuid from .cc_info import CcInfo from .invitation import Invitation from .message_box import MessageBox from .module import Module...
35.083333
120
0.776722
85
842
7.576471
0.470588
0.046584
0.096273
0
0
0
0
0
0
0
0
0.001346
0.117577
842
23
121
36.608696
0.865411
0.086698
0
0
1
0
0.249671
0
0
0
0
0
0
1
0
false
0
0.6875
0
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
731c7754bf18d06c8dff063209b31487562a0002
196
py
Python
hey_office_device_py/util.py
tw-sg-maker-night/hey-office-device-py
41b114f34ae370aecabcbbe8bd9344bb0d10c2df
[ "Intel" ]
null
null
null
hey_office_device_py/util.py
tw-sg-maker-night/hey-office-device-py
41b114f34ae370aecabcbbe8bd9344bb0d10c2df
[ "Intel" ]
null
null
null
hey_office_device_py/util.py
tw-sg-maker-night/hey-office-device-py
41b114f34ae370aecabcbbe8bd9344bb0d10c2df
[ "Intel" ]
null
null
null
import os TOP_DIR = os.path.dirname(os.path.abspath(__file__)) RESOURCE_DIR = os.path.join(TOP_DIR, "../resources/") def get_resource(filename): return os.path.join(RESOURCE_DIR, filename)
21.777778
53
0.744898
30
196
4.566667
0.5
0.175182
0.131387
0
0
0
0
0
0
0
0
0
0.107143
196
8
54
24.5
0.782857
0
0
0
0
0
0.066327
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
73250fe6b10b9cfb7d2c203e073f108add21237e
724
py
Python
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GLES2/EXT/unpack_subimage.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GLES2/EXT/unpack_subimage.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GLES2/EXT/unpack_subimage.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.GLES2 import _types as _cs # End users want this... from OpenGL.raw.GLES2._types import * from OpenGL.raw.GLES2 import _errors from OpenGL.constant import Constant as _C ...
40.222222
123
0.805249
113
724
4.725664
0.451327
0.089888
0.089888
0.101124
0.367041
0
0
0
0
0
0
0.023364
0.11326
724
17
124
42.588235
0.808411
0.138122
0
0
1
0
0.203673
0.203673
0
0
0.03005
0
0
1
0.083333
false
0
0.5
0.083333
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
732f3be591e05414aa9f9a830df821c3be8eae49
2,498
py
Python
qc_runner/api/models/auth.py
EMSL-Computing/CoreMS-Portal
6e85a544bc46b9925f886b0c8a7265ea0855dc48
[ "BSD-2-Clause" ]
2
2022-02-18T08:36:54.000Z
2022-02-22T23:06:51.000Z
qc_runner/api/models/auth.py
EMSL-Computing/CoreMS-Portal
6e85a544bc46b9925f886b0c8a7265ea0855dc48
[ "BSD-2-Clause" ]
null
null
null
qc_runner/api/models/auth.py
EMSL-Computing/CoreMS-Portal
6e85a544bc46b9925f886b0c8a7265ea0855dc48
[ "BSD-2-Clause" ]
null
null
null
import json import pandas as pd from werkzeug.security import generate_password_hash, check_password_hash import sqlalchemy as sa from api.sqlalchemy import Base class User(Base): __tablename__ = 'user' id = sa.Column(sa.Integer, primary_key=True) email = sa.Column(sa.String(100)) password = sa.Col...
36.202899
106
0.718575
324
2,498
5.296296
0.228395
0.034965
0.118881
0.065268
0.427156
0.166084
0.074592
0.038462
0
0
0
0.008427
0.144916
2,498
68
107
36.735294
0.794944
0.032826
0
0.093023
1
0
0.162935
0
0
0
0
0
0
1
0.093023
false
0.139535
0.116279
0.069767
0.976744
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
734c976b5888f5ab30d062ac872c6a8106e17547
1,464
py
Python
src/wallet/core/exceptions.py
clayman-micro/wallet
b78f650aed7d57167db81a0530fd78dbc12d527e
[ "MIT" ]
2
2015-10-18T15:36:37.000Z
2015-10-19T04:57:00.000Z
src/wallet/core/exceptions.py
clayman74/wallet
b78f650aed7d57167db81a0530fd78dbc12d527e
[ "MIT" ]
7
2021-06-26T16:51:13.000Z
2021-11-29T19:05:00.000Z
src/wallet/core/exceptions.py
clayman-micro/wallet
b78f650aed7d57167db81a0530fd78dbc12d527e
[ "MIT" ]
null
null
null
from typing import Dict, Iterable from aiohttp_micro.core.exceptions import EntityAlreadyExist, EntityNotFound from passport.domain import User from wallet.core.entities import Account, Category, OperationPayload class AccountAlreadyExist(EntityAlreadyExist): def __init__(self, user: User, account: Account) -> ...
26.142857
83
0.694672
158
1,464
6.170886
0.265823
0.098462
0.147692
0.092308
0.361026
0.259487
0.149744
0.149744
0.149744
0.149744
0
0
0.211749
1,464
55
84
26.618182
0.844887
0
0
0.277778
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.055556
0.111111
0.027778
0.583333
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
734de315d3b7f8d534fe15d3b8521dab87157839
486
py
Python
src/papilotte/api/describe.py
gvasold/papilotte
7683da0a56daf77450f962caaf58b7cfe3acf408
[ "Apache-2.0" ]
3
2019-10-28T08:27:32.000Z
2021-03-01T02:30:26.000Z
src/papilotte/api/describe.py
gvasold/papilotte
7683da0a56daf77450f962caaf58b7cfe3acf408
[ "Apache-2.0" ]
null
null
null
src/papilotte/api/describe.py
gvasold/papilotte
7683da0a56daf77450f962caaf58b7cfe3acf408
[ "Apache-2.0" ]
null
null
null
"""Callback functions for /describe endpoint. """ from flask import current_app as app def get_description(): "Generate the describe info." data = { 'complianceLevel': app.config['PAPI_COMPLIANCE_LEVEL'], 'contact': app.config['PAPI_METADATA']['contact'], 'description': app.config['PAPI...
30.375
66
0.644033
51
486
5.980392
0.54902
0.147541
0.213115
0.206557
0
0
0
0
0
0
0
0
0.205761
486
15
67
32.4
0.790155
0.144033
0
0
1
0
0.395881
0.048055
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.272727
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
735c585293cb83df45d8adeea3996d6f1f0ad93e
48
py
Python
deeptables/fe/__init__.py
daBawse167/deeptables
74254d451107e567b4497e0fe81ac484201713ec
[ "Apache-2.0" ]
828
2020-05-24T02:42:33.000Z
2022-03-31T01:37:36.000Z
deeptables/fe/__init__.py
daBawse167/deeptables
74254d451107e567b4497e0fe81ac484201713ec
[ "Apache-2.0" ]
36
2020-06-02T14:20:20.000Z
2022-02-23T11:05:09.000Z
deeptables/fe/__init__.py
daBawse167/deeptables
74254d451107e567b4497e0fe81ac484201713ec
[ "Apache-2.0" ]
170
2020-05-26T15:43:13.000Z
2022-03-25T06:35:37.000Z
# -*- coding:utf-8 -*- __author__ = 'yangjian'
12
23
0.583333
5
48
4.8
1
0
0
0
0
0
0
0
0
0
0
0.025
0.166667
48
3
24
16
0.575
0.416667
0
0
0
0
0.32
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
735fb58b8d64860752a0fe2fbf14fca8c3d2ff1a
2,894
py
Python
day2.py
galop/aoc-2019
b0a2e5c0077e9a9fd0049985478f952f3987cb6f
[ "MIT" ]
null
null
null
day2.py
galop/aoc-2019
b0a2e5c0077e9a9fd0049985478f952f3987cb6f
[ "MIT" ]
null
null
null
day2.py
galop/aoc-2019
b0a2e5c0077e9a9fd0049985478f952f3987cb6f
[ "MIT" ]
null
null
null
#!/usr/bin/env python import copy import itertools import pytest import math TEST_DATA = [ 1, 0, 0, 3, 1, 1, 2, 3, 1, 3, 4, 3, 1, 5, 0, 3, 2, 13, 1, 19, 1, 6, 19, 23, 2, 6, 23, 27, 1, 5, 27, ...
11.812245
71
0.374568
412
2,894
2.565534
0.276699
0.013245
0.018921
0.009461
0.022706
0
0
0
0
0
0
0.262187
0.475466
2,894
244
72
11.860656
0.432806
0.014513
0
0.77193
0
0
0.035789
0
0
0
0
0
0.004386
1
0.02193
false
0
0.017544
0
0.04386
0.017544
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7dfd0607f253f5b65eaa88b5d2c0988711c23a0a
189
py
Python
WebAPI/GetAPIData.py
tongserenity/HardToNameATeam
6bc7510ca3d78b6699d2d01f6ae02c998b1e0d91
[ "MIT" ]
3
2017-04-07T09:34:13.000Z
2017-04-07T09:34:20.000Z
WebAPI/GetAPIData.py
tongserenity/HardToNameATeam
6bc7510ca3d78b6699d2d01f6ae02c998b1e0d91
[ "MIT" ]
1
2017-04-07T09:43:46.000Z
2017-04-07T09:43:46.000Z
WebAPI/GetAPIData.py
tongserenity/HardToNameATeam
6bc7510ca3d78b6699d2d01f6ae02c998b1e0d91
[ "MIT" ]
null
null
null
import urllib.request as ur import urllib """ 2017 - 4 - 10 neko34 从网络中获取对应的数据,调用对应的API """ def openUrl(urlString): html = ur.urlopen(urlString).read() return html
13.5
40
0.645503
23
189
5.304348
0.782609
0.196721
0
0
0
0
0
0
0
0
0
0.06338
0.248677
189
13
41
14.538462
0.795775
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
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
b4095f39efe6913f36f3cca1a9a9944a1dc9513c
1,239
py
Python
tests/migrations/0014_auto_20201222_0712.py
bkoz-wgu/edu_app_1.0
c33f6a223b026ff5e517fcae799b167cc35792dd
[ "MIT" ]
null
null
null
tests/migrations/0014_auto_20201222_0712.py
bkoz-wgu/edu_app_1.0
c33f6a223b026ff5e517fcae799b167cc35792dd
[ "MIT" ]
null
null
null
tests/migrations/0014_auto_20201222_0712.py
bkoz-wgu/edu_app_1.0
c33f6a223b026ff5e517fcae799b167cc35792dd
[ "MIT" ]
null
null
null
# Generated by Django 3.1.4 on 2020-12-22 13:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tests', '0013_auto_20201221_1707'), ] operations = [ migrations.AddField( model_name='test_data', name='avg1', ...
28.159091
64
0.543987
130
1,239
5.023077
0.361538
0.082695
0.183767
0.248086
0.584992
0.552833
0.552833
0.493109
0.493109
0.433384
0
0.048984
0.324455
1,239
43
65
28.813953
0.731183
0.03632
0
0.594595
1
0
0.110738
0.019295
0
0
0
0
0
1
0
false
0
0.027027
0
0.108108
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b40a57a0dd4f99607465ae6a3ac8411123f4ef40
225
py
Python
ch04/scoping.level.1.py
kxen42/Learn-Python-Programming-Third-Edition
851ddc5e6094fadd44f31a9ad1d3876456b04372
[ "MIT" ]
19
2021-11-05T22:54:09.000Z
2022-03-29T15:03:47.000Z
ch04/scoping.level.1.py
kxen42/Learn-Python-Programming-Third-Edition
851ddc5e6094fadd44f31a9ad1d3876456b04372
[ "MIT" ]
null
null
null
ch04/scoping.level.1.py
kxen42/Learn-Python-Programming-Third-Edition
851ddc5e6094fadd44f31a9ad1d3876456b04372
[ "MIT" ]
26
2021-11-12T17:04:50.000Z
2022-03-29T01:10:35.000Z
# scoping.level.1.py def my_function(): test = 1 # this is defined in the local scope of the function print('my_function:', test) test = 0 # this is defined in the global scope my_function() print('global:', test)
22.5
65
0.688889
37
225
4.108108
0.513514
0.197368
0.184211
0.197368
0.236842
0
0
0
0
0
0
0.016667
0.2
225
9
66
25
0.827778
0.466667
0
0
0
0
0.163793
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
0.333333
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
b4209cf466b7a558fe0ca9b80a93c824c2a232da
145
py
Python
djangopro/test_home.py
Marilzon/django-pro
cce0b9b0d4e4e43154b9a8b3144d4e86b76d9c89
[ "MIT" ]
null
null
null
djangopro/test_home.py
Marilzon/django-pro
cce0b9b0d4e4e43154b9a8b3144d4e86b76d9c89
[ "MIT" ]
null
null
null
djangopro/test_home.py
Marilzon/django-pro
cce0b9b0d4e4e43154b9a8b3144d4e86b76d9c89
[ "MIT" ]
null
null
null
from django.test import Client def test_home_status_code(client: Client): response = client.get('/') assert response.status_code == 200
24.166667
42
0.737931
20
145
5.15
0.65
0.194175
0
0
0
0
0
0
0
0
0
0.02459
0.158621
145
5
43
29
0.819672
0
0
0
0
0
0.006897
0
0
0
0
0
0.25
1
0.25
false
0
0.25
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
1
0
0
0
0
0
0
0
3
b42afb19262564bbc3c517e562b54dbd09f9bede
233
py
Python
blog/migrations/0003_auto_20210416_1205.py
peymanhc/django_animated
6180a3f4d5125e6df7ac00062601865d05148cba
[ "MIT" ]
1
2021-04-16T11:46:49.000Z
2021-04-16T11:46:49.000Z
blog/migrations/0003_auto_20210416_1205.py
peymanhc/django_animated
6180a3f4d5125e6df7ac00062601865d05148cba
[ "MIT" ]
null
null
null
blog/migrations/0003_auto_20210416_1205.py
peymanhc/django_animated
6180a3f4d5125e6df7ac00062601865d05148cba
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2021-04-16 07:35 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0002_about_comment_post'), ] operations = [ ]
16.642857
46
0.613734
27
233
5.185185
0.888889
0
0
0
0
0
0
0
0
0
0
0.107784
0.283262
233
13
47
17.923077
0.730539
0.184549
0
0
1
0
0.154286
0.131429
0
0
0
0
0
1
0
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
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b42e149eb1cbbf8a8189d6366521665fc225eb42
371
py
Python
admin/products/models.py
aespejel/django_learnings
4c5fc5f7054e33e495da92f8d7d797ba34fb2eca
[ "MIT" ]
null
null
null
admin/products/models.py
aespejel/django_learnings
4c5fc5f7054e33e495da92f8d7d797ba34fb2eca
[ "MIT" ]
2
2021-04-17T15:39:32.000Z
2021-04-17T15:43:15.000Z
admin/products/models.py
aespejel/django_learnings
4c5fc5f7054e33e495da92f8d7d797ba34fb2eca
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Product(models.Model): objects = models.Manager() #https://stackoverflow.com/questions/45135263/class-has-no-objects-member title = models.CharField(max_length=200) image = models.CharField(max_length=200) likes = models.PositiveIntegerField...
33.727273
104
0.746631
48
371
5.729167
0.6875
0.08
0.130909
0.174545
0.196364
0
0
0
0
0
0
0.047022
0.140162
371
11
105
33.727273
0.815047
0.25876
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.125
0.125
0
0.875
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
b4366435540533fbe4fc1a33ac7d95b96d128939
9,711
py
Python
artifacts/old_dataset_versions/original_commits/ProjectQ/ProjectQ#113/after/_loop_test.py
MattePalte/Bugs-Quantum-Computing-Platforms
0c1c805fd5dfce465a8955ee3faf81037023a23e
[ "MIT" ]
3
2021-11-08T11:46:42.000Z
2021-12-27T10:13:38.000Z
artifacts/old_dataset_versions/minimal_commits/ProjectQ/ProjectQ#113/after/_loop_test.py
MattePalte/Bugs-Quantum-Computing-Platforms
0c1c805fd5dfce465a8955ee3faf81037023a23e
[ "MIT" ]
2
2021-11-09T14:57:09.000Z
2022-01-12T12:35:58.000Z
artifacts/old_dataset_versions/original_commits_v02/ProjectQ/ProjectQ#113/after/_loop_test.py
MattePalte/Bugs-Quantum-Computing-Platforms
0c1c805fd5dfce465a8955ee3faf81037023a23e
[ "MIT" ]
null
null
null
# 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 # distribu...
38.383399
76
0.692514
1,319
9,711
4.90144
0.123578
0.157773
0.241918
0.201856
0.740758
0.700851
0.573241
0.532096
0.481825
0.481825
0
0.026893
0.19205
9,711
252
77
38.535714
0.797094
0.0692
0
0.47449
0
0
0
0
0
0
0
0
0.336735
1
0.086735
false
0
0.040816
0.02551
0.153061
0
0
0
0
null
0
1
1
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
0
0
0
0
3
b44f4427396e45694614ddf2aef9e207c013954f
727
py
Python
src/application/forms.py
shashisp/reWrite-SITA
337c79e081f056c2723f879704ad9959886fa868
[ "MIT" ]
null
null
null
src/application/forms.py
shashisp/reWrite-SITA
337c79e081f056c2723f879704ad9959886fa868
[ "MIT" ]
null
null
null
src/application/forms.py
shashisp/reWrite-SITA
337c79e081f056c2723f879704ad9959886fa868
[ "MIT" ]
null
null
null
""" forms.py Web forms based on Flask-WTForms See: http://flask.pocoo.org/docs/patterns/wtforms/ http://wtforms.simplecodes.com/ """ from flaskext import wtf from flaskext.wtf import validators from wtforms.ext.appengine.ndb import model_form from .models import SchoolModel class ClassicExampleForm(wtf.Form...
26.925926
94
0.757909
87
727
6.252874
0.471264
0.147059
0.205882
0.128676
0.169118
0
0
0
0
0
0
0
0.114168
727
26
95
27.961538
0.844721
0.228336
0
0
0
0
0.083333
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.636364
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
b456afc61654357f8be2a5dc46880fcaed67de79
215
py
Python
scraper/scrape.py
vlastikczech/map_the_springs
69dad2b7f5257542f997118f2be7689ca08c2550
[ "MIT" ]
null
null
null
scraper/scrape.py
vlastikczech/map_the_springs
69dad2b7f5257542f997118f2be7689ca08c2550
[ "MIT" ]
null
null
null
scraper/scrape.py
vlastikczech/map_the_springs
69dad2b7f5257542f997118f2be7689ca08c2550
[ "MIT" ]
1
2022-01-20T19:42:45.000Z
2022-01-20T19:42:45.000Z
from .settings import settings from .scraper import Scraper if __name__ == "__main__": scraper = Scraper(settings) #data = scraper.getSpringData('https://www.ultimatehotspringsguide.com/chena-hot-springs.html')
26.875
96
0.776744
25
215
6.36
0.68
0
0
0
0
0
0
0
0
0
0
0
0.102326
215
7
97
30.714286
0.823834
0.437209
0
0
0
0
0.067227
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
b46121629164188bd57f08697cbf2cced8c7c93b
3,357
py
Python
fortnox/services/__init__.py
ubuntuarif/pyfortnox
5052901521d26e2931ba2e98d0ed86d6526ceb6e
[ "MIT" ]
21
2020-03-21T14:49:33.000Z
2022-02-02T12:46:08.000Z
fortnox/services/__init__.py
ubuntuarif/pyfortnox
5052901521d26e2931ba2e98d0ed86d6526ceb6e
[ "MIT" ]
5
2020-07-03T18:55:48.000Z
2021-11-02T10:25:32.000Z
fortnox/services/__init__.py
ubuntuarif/pyfortnox
5052901521d26e2931ba2e98d0ed86d6526ceb6e
[ "MIT" ]
3
2020-06-08T06:23:50.000Z
2021-06-10T18:28:32.000Z
from .access_token_service import AccessTokenService from .absence_transaction_services import AbsenceTransactionsService from .account_chart_services import AccountChartsService from .account_services import AccountsService from .article_services import ArticleService from .asset_type_services import AssetTypeService ...
56.898305
106
0.913613
346
3,357
8.534682
0.358382
0.270234
0.040637
0.037928
0.048764
0.048764
0.048764
0
0
0
0
0
0.069109
3,357
58
107
57.87931
0.94496
0
0
0.034483
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.017241
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
b47283b6f1578a95cca2e1be60cb027f48c3b417
139
py
Python
Pipelines/View__CloseAllSubWindows.py
QIB-Sheffield/WEASEL
e4dad345fd6f347cfac990708252844a7cbcd025
[ "Apache-2.0" ]
2
2021-02-10T09:07:15.000Z
2021-03-16T17:05:24.000Z
Pipelines/View__CloseAllSubWindows.py
QIB-Sheffield/WEASEL
e4dad345fd6f347cfac990708252844a7cbcd025
[ "Apache-2.0" ]
102
2021-01-20T11:14:21.000Z
2021-12-12T17:34:42.000Z
Pipelines/View__CloseAllSubWindows.py
QIB-Sheffield/WEASEL
e4dad345fd6f347cfac990708252844a7cbcd025
[ "Apache-2.0" ]
1
2021-01-29T09:28:05.000Z
2021-01-29T09:28:05.000Z
""" Closes all the sub windows that are currently open in the Weasel GUI. """ def main(weasel): weasel.close_subwindows()
17.375
69
0.654676
19
139
4.736842
0.842105
0
0
0
0
0
0
0
0
0
0
0
0.251799
139
7
70
19.857143
0.865385
0.496403
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
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
1
0
0
0
0
0
0
0
3
b47a15e9bcc300d8668698461e53f2a2ca79c23f
162
py
Python
tests/disclaimer.py
sgrimm/rhizo-server
d77986d78e50b2d37330209a68cba8857b806792
[ "MIT" ]
null
null
null
tests/disclaimer.py
sgrimm/rhizo-server
d77986d78e50b2d37330209a68cba8857b806792
[ "MIT" ]
null
null
null
tests/disclaimer.py
sgrimm/rhizo-server
d77986d78e50b2d37330209a68cba8857b806792
[ "MIT" ]
null
null
null
# Set the disclaimer that's required to be able to import main.app. DISCLAIMER = 'This is pre-release code; the API and database structure will probably change.'
54
93
0.777778
27
162
4.666667
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.160494
162
2
94
81
0.926471
0.401235
0
0
0
0
0.821053
0
0
0
0
0
0
1
0
false
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b4813ac0cdf6c1c6f3aedd2bd6b93cbc0cac8199
492
py
Python
CHECK_FILE_NAMES/check_is_version_string.py
spacetelescope/MAST_HLSP
48c1df2e6bef3e03f6eefe9f52808b345e1587b4
[ "MIT" ]
1
2017-10-16T15:30:08.000Z
2017-10-16T15:30:08.000Z
CHECK_FILE_NAMES/check_is_version_string.py
spacetelescope/MAST_HLSP
48c1df2e6bef3e03f6eefe9f52808b345e1587b4
[ "MIT" ]
18
2018-05-11T16:07:48.000Z
2018-11-19T19:45:40.000Z
CHECK_FILE_NAMES/check_is_version_string.py
spacetelescope/MAST_HLSP
48c1df2e6bef3e03f6eefe9f52808b345e1587b4
[ "MIT" ]
1
2017-10-03T19:38:59.000Z
2017-10-03T19:38:59.000Z
""" .. module:: check_is_version_string :synopsis: Given a string, checks if it looks like a version string. .. moduleauthor:: Scott W. Fleming <fleming@stsci.edu> """ #-------------------- def check_is_version_string(istring): """ Checks if the string looks like a version. :param istring: The strin...
21.391304
74
0.609756
62
492
4.741935
0.548387
0.132653
0.102041
0.173469
0.156463
0
0
0
0
0
0
0.002558
0.205285
492
22
75
22.363636
0.749361
0.768293
0
0
0
0
0.012821
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
b4863a4e449fa3866862a73f55422993423dca21
782
py
Python
authors/apps/follows/serializers.py
andela/ah-the-jedi-backend
ba429dfcec577bd6d52052673c1c413835f65988
[ "BSD-3-Clause" ]
1
2019-12-25T18:59:34.000Z
2019-12-25T18:59:34.000Z
authors/apps/follows/serializers.py
katherine95/ah-the-jedi-backend
ba429dfcec577bd6d52052673c1c413835f65988
[ "BSD-3-Clause" ]
26
2019-04-23T11:20:35.000Z
2022-03-11T23:45:54.000Z
authors/apps/follows/serializers.py
katherine95/ah-the-jedi-backend
ba429dfcec577bd6d52052673c1c413835f65988
[ "BSD-3-Clause" ]
8
2019-05-21T06:54:34.000Z
2019-11-18T19:45:22.000Z
# from ..profiles.models import UserProfile from .models import UserFollow from rest_framework import serializers class FollowsSerializer(serializers.ModelSerializer): """ Handles serialization and deserialization of User Following objects. """ class Meta: model = UserFollow fields...
21.135135
55
0.650895
70
782
7.114286
0.485714
0.048193
0.13253
0.184739
0.614458
0.614458
0.614458
0.614458
0.333333
0.333333
0
0
0.273657
782
36
56
21.722222
0.876761
0.230179
0
0.555556
0
0
0.053286
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.111111
0.555556
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
b48853e7cdaf074fdd6e83ca1ef509a143a38986
648
py
Python
libStash/blogs/migrations/0004_auto_20210407_1016.py
Dev-Rem/libStash
a364e9997c1c91b09f5db8a004deb4df305fa8cf
[ "MIT" ]
null
null
null
libStash/blogs/migrations/0004_auto_20210407_1016.py
Dev-Rem/libStash
a364e9997c1c91b09f5db8a004deb4df305fa8cf
[ "MIT" ]
null
null
null
libStash/blogs/migrations/0004_auto_20210407_1016.py
Dev-Rem/libStash
a364e9997c1c91b09f5db8a004deb4df305fa8cf
[ "MIT" ]
null
null
null
# Generated by Django 3.0.4 on 2021-04-07 10:16 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blogs', '0003_auto_20210407_0913'), ] operations = [ migrations.AlterModelOptions( name='postcomment', options={}, )...
21.6
47
0.533951
53
648
6.433962
0.660377
0.219941
0.255132
0
0
0
0
0
0
0
0
0.073986
0.353395
648
29
48
22.344828
0.739857
0.069444
0
0.391304
1
0
0.148087
0.03827
0
0
0
0
0
1
0
false
0
0.043478
0
0.173913
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b48effe66fb1ed93fc11ba443d57c3ae3058dc58
1,593
py
Python
depsolver/tests/test_debian_version.py
enthought/depsolver
5b64f9dc92ce514ac5ab855e4b333d12a3fca96b
[ "BSD-3-Clause" ]
30
2015-01-08T22:53:35.000Z
2020-12-08T09:19:45.000Z
depsolver/tests/test_debian_version.py
enthought/depsolver
5b64f9dc92ce514ac5ab855e4b333d12a3fca96b
[ "BSD-3-Clause" ]
2
2016-06-11T12:14:26.000Z
2019-10-14T10:08:35.000Z
depsolver/tests/test_debian_version.py
enthought/depsolver
5b64f9dc92ce514ac5ab855e4b333d12a3fca96b
[ "BSD-3-Clause" ]
7
2015-04-14T09:56:18.000Z
2019-12-11T07:30:44.000Z
import sys if sys.version_info[:2] < (2, 7): import unittest2 as unittest else: import unittest from depsolver.debian_version \ import \ DebianVersion, is_valid_debian_version V = DebianVersion.from_string class TestVersionParsing(unittest.TestCase): def test_valid_versions(self): ve...
31.86
61
0.553045
266
1,593
3.255639
0.161654
0.071594
0.277136
0.277136
0.506928
0.41455
0.405312
0.34642
0.245958
0.221709
0
0.099919
0.220967
1,593
49
62
32.510204
0.597905
0
0
0.051282
0
0
0.134965
0
0
0
0
0
0.487179
1
0.128205
false
0
0.102564
0
0.282051
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
1
0
0
0
0
0
0
0
0
0
3
81f0682e7f85919d7fb78fde6a237851745344e6
2,173
py
Python
content/lessons/11/Now-You-Code/NYC4-Reddit-News-Sentiment.py
abanks-su/FollowUP
2fd48b25d503465b5c57b1b45b1e11a86070b902
[ "MIT" ]
1
2019-04-03T00:43:15.000Z
2019-04-03T00:43:15.000Z
content/lessons/11/Now-You-Code/NYC4-Reddit-News-Sentiment.py
abanks-su/FollowUP
2fd48b25d503465b5c57b1b45b1e11a86070b902
[ "MIT" ]
null
null
null
content/lessons/11/Now-You-Code/NYC4-Reddit-News-Sentiment.py
abanks-su/FollowUP
2fd48b25d503465b5c57b1b45b1e11a86070b902
[ "MIT" ]
null
null
null
''' Now You Code 4: Reddit News Sentiment Analysis In this assignment you're tasked with performing a sentiment analysis on top Reddit news articles. (https://www.reddit.com/r/news/top.json) You should perform the analysis on the titles only. Start by getting the Reddit API to work, and extracting a list of titles on...
63.911765
316
0.792913
354
2,173
4.867232
0.635593
0.049333
0.020894
0.019733
0
0
0
0
0
0
0
0.003831
0.159227
2,173
33
317
65.848485
0.939245
0.992637
0
null
0
null
0
0
null
0
0
0.030303
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
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
3
81f7c9c1259819b0fae0df0e19c3dbeb75b4eb41
344
py
Python
pypvwatts/pvwattserror.py
ylu4/pypvwatts
77ec580c8b91e0fa444457263cfb5da1eafc4e49
[ "MIT" ]
7
2017-05-17T02:19:39.000Z
2019-11-25T16:28:55.000Z
pypvwatts/pvwattserror.py
ylu4/pypvwatts
77ec580c8b91e0fa444457263cfb5da1eafc4e49
[ "MIT" ]
1
2018-02-22T22:41:48.000Z
2018-02-22T22:41:48.000Z
pypvwatts/pvwattserror.py
ylu4/pypvwatts
77ec580c8b91e0fa444457263cfb5da1eafc4e49
[ "MIT" ]
10
2015-01-09T16:59:32.000Z
2019-12-06T00:34:34.000Z
# coding: utf-8 class PVWattsError(Exception): """ Base class for PVWatts errors """ def __init__(self, message): Exception.__init__(self, message) class PVWattsValidationError(PVWattsError): """ Validation error on request """ def __init__(self, message): PVWattsError....
21.5
44
0.659884
34
344
6.205882
0.558824
0.151659
0.28436
0.170616
0
0
0
0
0
0
0
0.003788
0.232558
344
15
45
22.933333
0.795455
0.209302
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
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
c311266f7297d2a4908345a8312ff3ef51bfb06c
129
py
Python
src/python/verst/pants/specs2/target.py
dimitrijepetrovic/pants-plugins
fdef365d81cbeb9256015b470706249bb9e487df
[ "MIT" ]
24
2017-04-10T01:29:44.000Z
2021-02-24T03:29:59.000Z
src/python/verst/pants/specs2/target.py
dimitrijepetrovic/pants-plugins
fdef365d81cbeb9256015b470706249bb9e487df
[ "MIT" ]
1
2017-11-21T19:41:45.000Z
2017-11-21T19:41:45.000Z
src/python/verst/pants/specs2/target.py
dimitrijepetrovic/pants-plugins
fdef365d81cbeb9256015b470706249bb9e487df
[ "MIT" ]
7
2017-07-24T13:51:07.000Z
2021-02-23T15:16:26.000Z
from pants.backend.jvm.targets.jvm_target import JvmTarget class Specs2Tests(JvmTarget): @property def cwd(self): pass
16.125
58
0.75969
17
129
5.705882
0.882353
0
0
0
0
0
0
0
0
0
0
0.009174
0.155039
129
7
59
18.428571
0.880734
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
c31e90294e77cca305b8c7199d282db81b8d472a
204
py
Python
framework/scrapy_plus/conf/settings.py
Danny2024/scrapy-3.3.3
b67c4a3c3c8f5de1aefb30312b2935b9b59afc9f
[ "MIT" ]
null
null
null
framework/scrapy_plus/conf/settings.py
Danny2024/scrapy-3.3.3
b67c4a3c3c8f5de1aefb30312b2935b9b59afc9f
[ "MIT" ]
1
2018-09-01T08:43:08.000Z
2018-09-01T08:43:08.000Z
framework/scrapy_plus/conf/settings.py
Danny2024/scrapy-3.3.3
b67c4a3c3c8f5de1aefb30312b2935b9b59afc9f
[ "MIT" ]
null
null
null
# 导入默认配置 from .default_settings import * # 导入项目中的配置文件信息,这个信息就会覆盖默认配置 from settings import * import sys print(sys.path) # '/home/python/Desktop/scrapy/framework/project_dir', # 程序加载的时候,是从运行这个代码那个目录开始加载的
18.545455
54
0.794118
24
204
6.666667
0.791667
0.175
0
0
0
0
0
0
0
0
0
0
0.102941
204
10
55
20.4
0.874317
0.544118
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0.25
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
1
0
1
0
0
0
0
3
c321f50fdfccee042ad3e808a8a240e125f6c4a8
133
py
Python
21612 Boiling Water.py
jangThang/Baekjoon-problem
f34c7d9977ad95fbe2a59c0096bf8ff1e885c01f
[ "MIT" ]
null
null
null
21612 Boiling Water.py
jangThang/Baekjoon-problem
f34c7d9977ad95fbe2a59c0096bf8ff1e885c01f
[ "MIT" ]
null
null
null
21612 Boiling Water.py
jangThang/Baekjoon-problem
f34c7d9977ad95fbe2a59c0096bf8ff1e885c01f
[ "MIT" ]
null
null
null
# 입력 B = int(input()) # 출력 res = 5*B - 400 print(res) if res < 100: print(1) elif res == 100: print(0) else: print(-1)
9.5
16
0.518797
24
133
2.875
0.625
0.173913
0.318841
0
0
0
0
0
0
0
0
0.138298
0.293233
133
13
17
10.230769
0.595745
0.037594
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
1
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
0
0
0
1
0
3
c322ff8b40f47fdfb873f88dfa47bebe5f27674d
808
py
Python
adafruit_circuitpython_libs/adafruit-circuitpython-bundle-py-20210214/lib/adafruit_pybadger/__init__.py
jacoblb64/pico_rgb_keypad_hid
3251ca6a98ef86d9f98c54f639c4d61810601a0b
[ "MIT" ]
47
2021-02-15T23:02:36.000Z
2022-03-04T21:30:03.000Z
adafruit_pybadger/__init__.py
liltux/Adafruit_CircuitPython_PyBadger
f91f49d48c75e9b142f5c757a9c18f92d4edb694
[ "Unlicense", "MIT-0", "MIT" ]
36
2019-07-11T16:59:49.000Z
2022-02-20T17:25:16.000Z
adafruit_pybadger/__init__.py
liltux/Adafruit_CircuitPython_PyBadger
f91f49d48c75e9b142f5c757a9c18f92d4edb694
[ "Unlicense", "MIT-0", "MIT" ]
25
2019-06-20T19:50:25.000Z
2022-02-18T22:29:43.000Z
# SPDX-FileCopyrightText: 2020 Kattni Rembor for Adafruit Industries # # SPDX-License-Identifier: MIT """ Verifies which board is being used and imports the appropriate module. """ import os if "CLUE" in os.uname().machine: from .clue import clue as pybadger elif "Pybadge" in os.uname().machine: from .pybadg...
32.32
70
0.747525
118
808
5.084746
0.415254
0.046667
0.105
0.186667
0.233333
0
0
0
0
0
0
0.014815
0.164604
808
24
71
33.666667
0.874074
0.206683
0
0
0
0
0.129952
0
0
0
0
0
0
1
0
true
0
0.533333
0
0.533333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
c32366ddf188fc8caaf0210ecf1b58b53d680837
2,063
py
Python
core/cooggerapp/migrations/0007_ghost_user.py
emregeldegul/coogger
9aaf2d5904438d91b9bb403ce3c739a5431bdaac
[ "MIT" ]
1
2020-03-13T18:19:06.000Z
2020-03-13T18:19:06.000Z
core/cooggerapp/migrations/0007_ghost_user.py
emregeldegul/coogger
9aaf2d5904438d91b9bb403ce3c739a5431bdaac
[ "MIT" ]
null
null
null
core/cooggerapp/migrations/0007_ghost_user.py
emregeldegul/coogger
9aaf2d5904438d91b9bb403ce3c739a5431bdaac
[ "MIT" ]
null
null
null
# Generated by Django 2.0.12 on 2019-09-11 15:46 from django.db import migrations def create_ghost_user(apps, schema_editor): User = apps.get_model("auth", "User") UserProfile = apps.get_model("cooggerapp", "UserProfile") GithubAuthUser = apps.get_model("github_auth", "GithubAuthUser") Follow = apps....
62.515152
1,101
0.686379
278
2,063
4.942446
0.420863
0.069869
0.080058
0.123726
0.318777
0.318777
0.318777
0.144105
0.091703
0.091703
0
0.02332
0.127
2,063
32
1,102
64.46875
0.738479
0.022298
0
0.166667
1
0.083333
0.634739
0.022333
0
0
0
0
0
1
0.041667
false
0
0.041667
0
0.208333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c32d785ecae623a2d5e4e2385c6d7c87d3916734
188
py
Python
recursion.py
jarvis-1805/PYTHON-FILES
c12dc74f83dadb08acdf5d6260222c3ce8a91797
[ "MIT" ]
1
2020-05-23T12:37:11.000Z
2020-05-23T12:37:11.000Z
recursion.py
jarvis-1805/PYTHON-FILES
c12dc74f83dadb08acdf5d6260222c3ce8a91797
[ "MIT" ]
null
null
null
recursion.py
jarvis-1805/PYTHON-FILES
c12dc74f83dadb08acdf5d6260222c3ce8a91797
[ "MIT" ]
null
null
null
def tri_recursion(k): if(k > 0): result = k + tri_recursion(k - 1) print(result,k) else: result = 0 return result print("\n\nRecursion Example Results") tri_recursion(6)
18.8
38
0.648936
29
188
4.103448
0.551724
0.302521
0.218487
0
0
0
0
0
0
0
0
0.027211
0.218085
188
10
39
18.8
0.782313
0
0
0
0
0
0.153439
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.222222
0.222222
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c32e2adbe31bbe2965a6763be96f3842a9999d29
2,179
py
Python
django-nova/src/django_nova/urls/admin_project.py
sleepsonthefloor/openstack-dashboard
55efa2608d8e3bc84e2ddd4b43939bcd023f3ca2
[ "Apache-2.0" ]
1
2017-07-04T07:42:46.000Z
2017-07-04T07:42:46.000Z
django-nova/src/django_nova/urls/admin_project.py
sleepsonthefloor/openstack-dashboard
55efa2608d8e3bc84e2ddd4b43939bcd023f3ca2
[ "Apache-2.0" ]
null
null
null
django-nova/src/django_nova/urls/admin_project.py
sleepsonthefloor/openstack-dashboard
55efa2608d8e3bc84e2ddd4b43939bcd023f3ca2
[ "Apache-2.0" ]
null
null
null
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compli...
38.910714
78
0.67095
284
2,179
4.978873
0.390845
0.076379
0.095474
0.127298
0.313296
0.225601
0.171146
0.045262
0.045262
0
0
0.006142
0.178063
2,179
55
79
39.618182
0.783361
0.401101
0
0
0
0
0.626073
0.557377
0
0
0
0.018182
0
1
0
false
0
0.033333
0
0.033333
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
0
0
1
0
0
0
0
0
0
0
0
0
0
3
c32ef5e88be39b6ef2ab2395cac8eff350998bbc
324
py
Python
src/reavnueRec/support/objectmodel.py
VimukthiMayadunne/RevanueAndLeaseRecong
c1a3afb8ac224f6cb3cc001efb1df7be3036e366
[ "MIT" ]
null
null
null
src/reavnueRec/support/objectmodel.py
VimukthiMayadunne/RevanueAndLeaseRecong
c1a3afb8ac224f6cb3cc001efb1df7be3036e366
[ "MIT" ]
null
null
null
src/reavnueRec/support/objectmodel.py
VimukthiMayadunne/RevanueAndLeaseRecong
c1a3afb8ac224f6cb3cc001efb1df7be3036e366
[ "MIT" ]
null
null
null
extracted_data = {"contractor": "", "contractee": "", "duration": None, "intervalPayment": None, "interval": None, "amount": None, "numberOfPerformanceObligations": 0, "poi": [] ...
32.4
54
0.373457
15
324
8
0.8
0
0
0
0
0
0
0
0
0
0
0.006211
0.503086
324
9
55
36
0.73913
0
0
0
0
0
0.277778
0.092593
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
c33c8f56e4a766ba788f9b98cae8c83a28aed8c4
285
py
Python
tests/unit/test_proxy.py
lyw07/kolibripip
e7039eca92b61827faa754311f1489e89a11519d
[ "MIT" ]
null
null
null
tests/unit/test_proxy.py
lyw07/kolibripip
e7039eca92b61827faa754311f1489e89a11519d
[ "MIT" ]
null
null
null
tests/unit/test_proxy.py
lyw07/kolibripip
e7039eca92b61827faa754311f1489e89a11519d
[ "MIT" ]
1
2020-12-18T10:39:35.000Z
2020-12-18T10:39:35.000Z
""" Tests for the proxy support in pip. """ import pip from tests.lib import SRC_DIR from tests.lib.path import Path def test_correct_pip_version(): """ Check we are importing pip from the right place. """ assert Path(pip.__file__).folder.folder.abspath == SRC_DIR
17.8125
62
0.705263
44
285
4.363636
0.613636
0.072917
0.125
0
0
0
0
0
0
0
0
0
0.196491
285
15
63
19
0.838428
0.294737
0
0
0
0
0
0
0
0
0
0
0.2
1
0.2
true
0
0.6
0
0.8
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
c34048151db4543148f0f1d59122472a2508cbaf
218
py
Python
actionbundles/action_bundle.py
idimitrakopoulos/PyJi
f59fa9216d51ad85fba634a377d904911a481da9
[ "MIT" ]
1
2015-10-08T16:25:10.000Z
2015-10-08T16:25:10.000Z
actionbundles/action_bundle.py
idimitrakopoulos/PyJi
f59fa9216d51ad85fba634a377d904911a481da9
[ "MIT" ]
null
null
null
actionbundles/action_bundle.py
idimitrakopoulos/PyJi
f59fa9216d51ad85fba634a377d904911a481da9
[ "MIT" ]
null
null
null
from util.toolkit import log class ActionBundle(object): ''' classdocs ''' def __init__(self): ''' Constructor ''' log.info(self.__class__.__name__ + " initialized")
14.533333
58
0.555046
19
218
5.736842
0.842105
0
0
0
0
0
0
0
0
0
0
0
0.321101
218
14
59
15.571429
0.736486
0.09633
0
0
0
0
0.075949
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
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
1
0
0
0
0
1
0
0
3
c3472c5e59be2e76b98b8a25e181e333f30931c9
91
py
Python
src/earnings/apps.py
Zayn484/softForest-rest-api
6ba80f738f2f00e938bc472b900c467d67dc4bc4
[ "bzip2-1.0.6" ]
null
null
null
src/earnings/apps.py
Zayn484/softForest-rest-api
6ba80f738f2f00e938bc472b900c467d67dc4bc4
[ "bzip2-1.0.6" ]
5
2021-03-19T00:39:57.000Z
2022-01-13T01:14:11.000Z
src/earnings/apps.py
Zayn484/softforest-rest-api
6ba80f738f2f00e938bc472b900c467d67dc4bc4
[ "bzip2-1.0.6" ]
null
null
null
from django.apps import AppConfig class EarningsConfig(AppConfig): name = 'earnings'
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
c37e1b0d11e6868919beee66b710eb0f8e8360b8
350
py
Python
src/main/python/app/controllers/MenuBarController.py
karlpet/WadLauncher
512f5d28de5c57e4dffdc642b170891a99a00ea8
[ "MIT" ]
2
2020-09-06T11:16:30.000Z
2020-09-15T17:11:34.000Z
src/main/python/app/controllers/MenuBarController.py
karlpet/WadLauncher
512f5d28de5c57e4dffdc642b170891a99a00ea8
[ "MIT" ]
74
2020-09-07T16:40:54.000Z
2021-06-18T00:22:39.000Z
src/main/python/app/controllers/MenuBarController.py
karlpet/WadLauncher
512f5d28de5c57e4dffdc642b170891a99a00ea8
[ "MIT" ]
null
null
null
import sys from app.views.MenuBarView import MenuBarView class MenuBarController: def __init__(self, root, models): self.view = MenuBarView(root, self) self.wads = models.wads def select_unzip_file(self, file_path): self.wads.extract_archive(file_path, should_remove_archive=False, ite...
29.166667
106
0.728571
45
350
5.4
0.622222
0.065844
0
0
0
0
0
0
0
0
0
0
0.174286
350
11
107
31.818182
0.84083
0
0
0
0
0
0.022857
0
0
0
0
0
0
1
0.25
false
0
0.375
0
0.75
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
6f1cc93cb577913784f60cbfce1c57caecd16814
3,457
py
Python
vas/gemfire/Statistics.py
spring-operator/vas-python-api
ce7148a2044863e078e78b47abbaafc426f732ee
[ "Apache-2.0" ]
null
null
null
vas/gemfire/Statistics.py
spring-operator/vas-python-api
ce7148a2044863e078e78b47abbaafc426f732ee
[ "Apache-2.0" ]
null
null
null
vas/gemfire/Statistics.py
spring-operator/vas-python-api
ce7148a2044863e078e78b47abbaafc426f732ee
[ "Apache-2.0" ]
null
null
null
# vFabric Administration Server API # Copyright (c) 2012 VMware, Inc. All Rights Reserved. # # 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 ...
38.842697
120
0.622505
369
3,457
5.607046
0.327913
0.046399
0.027066
0.015466
0.121798
0.121798
0.092798
0.055099
0.055099
0.055099
0
0.003318
0.302574
3,457
88
121
39.284091
0.854832
0.481053
0
0.179487
0
0
0.058585
0.015081
0
0
0
0
0
1
0.230769
false
0
0.153846
0.128205
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
6f323ca6cea9d21f3b458333d5227bfcdf611f7c
561
py
Python
posthog/models/__init__.py
mikeabrahamsen/posthog
9ffa069f7ec9c939b8ac089c35f3a0c4c3110a2e
[ "MIT" ]
null
null
null
posthog/models/__init__.py
mikeabrahamsen/posthog
9ffa069f7ec9c939b8ac089c35f3a0c4c3110a2e
[ "MIT" ]
null
null
null
posthog/models/__init__.py
mikeabrahamsen/posthog
9ffa069f7ec9c939b8ac089c35f3a0c4c3110a2e
[ "MIT" ]
null
null
null
from .action import Action from .action_step import ActionStep from .dashboard import Dashboard from .dashboard_item import DashboardItem from .cohort import Cohort, CohortPeople from .element import Element from .element_group import ElementGroup from .entity import Entity from .event import Event from .feature_flag i...
33
44
0.839572
75
561
6.226667
0.36
0.042827
0
0
0
0
0
0
0
0
0
0
0.124777
561
17
45
33
0.95112
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
6f381a62d2c93aac8144b39d596b6dfd9a7bc77d
325
py
Python
students/k3340/laboratory_works/Nurdinov_Rostislav/laboratory_work_4/backend/exchange_engine/admin.py
TonikX/ITMO_ICT_-WebProgramming_2020
ba566c1b3ab04585665c69860b713741906935a0
[ "MIT" ]
10
2020-03-20T09:06:12.000Z
2021-07-27T13:06:02.000Z
students/k3340/laboratory_works/Nurdinov_Rostislav/laboratory_work_4/backend/exchange_engine/admin.py
TonikX/ITMO_ICT_-WebProgramming_2020
ba566c1b3ab04585665c69860b713741906935a0
[ "MIT" ]
134
2020-03-23T09:47:48.000Z
2022-03-12T01:05:19.000Z
students/k3340/laboratory_works/Nurdinov_Rostislav/laboratory_work_4/backend/exchange_engine/admin.py
TonikX/ITMO_ICT_-WebProgramming_2020
ba566c1b3ab04585665c69860b713741906935a0
[ "MIT" ]
71
2020-03-20T12:45:56.000Z
2021-10-31T19:22:25.000Z
from django.contrib import admin from .models import * admin.site.register(JobSeeker) admin.site.register(Profession) admin.site.register(Resume) admin.site.register(Experience) admin.site.register(Employer) admin.site.register(Vacancy) admin.site.register(Application) admin.site.register(User) # Register your models h...
27.083333
32
0.821538
44
325
6.068182
0.409091
0.269663
0.509363
0
0
0
0
0
0
0
0
0
0.064615
325
11
33
29.545455
0.878289
0.08
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
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
0
1
0
0
0
0
0
0
3
6f3bd75dedbeae77bc9542d8fa5e8299aa815fbd
516
py
Python
app/__init__.py
ganggas95/E-Wisata
fb66fc7d3d4cc5a45ad9acea42fb306140a6449f
[ "Apache-2.0" ]
null
null
null
app/__init__.py
ganggas95/E-Wisata
fb66fc7d3d4cc5a45ad9acea42fb306140a6449f
[ "Apache-2.0" ]
null
null
null
app/__init__.py
ganggas95/E-Wisata
fb66fc7d3d4cc5a45ad9acea42fb306140a6449f
[ "Apache-2.0" ]
1
2020-02-12T09:21:15.000Z
2020-02-12T09:21:15.000Z
from flask_user import UserManager from .create_app import ( app, db ) from .user_app import ( user_blueprint, User, Role, UsersRoles ) from .auth_app import auth_blueprint from .dashboard_app import dashboard_blueprint from .wisata_app import wisata_blueprint from .loader import * user_manag...
20.64
46
0.796512
67
516
5.850746
0.253731
0.114796
0.204082
0.221939
0
0
0
0
0
0
0
0
0.141473
516
24
47
21.5
0.884876
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.35
0
0.35
0.4
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
6f461df46998a581de35539ed033d5dcb44dec50
83
py
Python
sota/apps.py
OpenSourceAI/sota-server
2e3541c92625e7e01a4ceb290ede4a448a49b7ed
[ "MIT" ]
2
2019-10-23T03:17:08.000Z
2022-01-28T04:22:30.000Z
sota/apps.py
opensourceai/sota-server
2e3541c92625e7e01a4ceb290ede4a448a49b7ed
[ "MIT" ]
null
null
null
sota/apps.py
opensourceai/sota-server
2e3541c92625e7e01a4ceb290ede4a448a49b7ed
[ "MIT" ]
null
null
null
from django.apps import AppConfig class SotaConfig(AppConfig): name = 'sota'
13.833333
33
0.73494
10
83
6.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.180723
83
5
34
16.6
0.897059
0
0
0
0
0
0.048193
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
6f49b74851afc2981ad1341f660c9abc10244dd9
256
py
Python
koku/reporting_common/migrations/0023_delete_siunitscale.py
cgoodfred/koku
f1de8bc90d6a818c4f77af710cafe50dc1274700
[ "Apache-2.0" ]
2
2022-01-12T03:42:39.000Z
2022-01-12T03:42:40.000Z
koku/reporting_common/migrations/0023_delete_siunitscale.py
cgoodfred/koku
f1de8bc90d6a818c4f77af710cafe50dc1274700
[ "Apache-2.0" ]
null
null
null
koku/reporting_common/migrations/0023_delete_siunitscale.py
cgoodfred/koku
f1de8bc90d6a818c4f77af710cafe50dc1274700
[ "Apache-2.0" ]
1
2021-07-21T09:33:59.000Z
2021-07-21T09:33:59.000Z
# Generated by Django 2.2.12 on 2020-05-12 15:18 from django.db import migrations class Migration(migrations.Migration): dependencies = [("reporting_common", "0022_auto_20200505_1707")] operations = [migrations.DeleteModel(name="SIUnitScale")]
25.6
68
0.753906
33
256
5.727273
0.818182
0
0
0
0
0
0
0
0
0
0
0.143498
0.128906
256
9
69
28.444444
0.704036
0.179688
0
0
1
0
0.240385
0.110577
0
0
0
0
0
1
0
false
0
0.25
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
6f49fd0ab24fc7820254200279db3c4fa14a3fa6
545
py
Python
Parser/Data/Numbers/AbstractNumberParser.py
mathiasquintero/LlamaLang
84484b03eb24f326d7889c9dd4e9605d4eca9f8d
[ "MIT" ]
5
2016-05-24T10:42:10.000Z
2017-09-19T11:59:21.000Z
Parser/Data/Numbers/AbstractNumberParser.py
nerdsupremacist/LlamaLang
84484b03eb24f326d7889c9dd4e9605d4eca9f8d
[ "MIT" ]
7
2016-05-26T13:46:33.000Z
2016-06-15T20:57:15.000Z
Parser/Data/Numbers/AbstractNumberParser.py
mathiasquintero/LlamaLang
84484b03eb24f326d7889c9dd4e9605d4eca9f8d
[ "MIT" ]
null
null
null
from Parser.Parser import Parser from EmptyContext import EmptyContext class AbstractNumberParser(Parser): parser = None def __init__(self, text, context): super(AbstractNumberParser, self).__init__(text, context) def parser_default(self): return AbstractNumberParser.parser @staticm...
23.695652
65
0.721101
54
545
7.055556
0.351852
0.272966
0.07874
0
0
0
0
0
0
0
0
0
0.211009
545
22
66
24.772727
0.886047
0
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.266667
false
0
0.133333
0.066667
0.666667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
48953cc90cdda01a6660ba69a3a2dc040df1363f
4,624
py
Python
shopify/products/objects/variant.py
alikhan126/python-shopify-api
656cdf1af99485b25be545e2ed527bcb653076fd
[ "Unlicense" ]
10
2016-12-29T06:53:21.000Z
2022-03-01T10:35:32.000Z
shopify/products/objects/variant.py
alikhan126/python-shopify-api
656cdf1af99485b25be545e2ed527bcb653076fd
[ "Unlicense" ]
4
2016-12-30T15:12:47.000Z
2021-07-24T07:14:20.000Z
shopify/products/objects/variant.py
alikhan126/python-shopify-api
656cdf1af99485b25be545e2ed527bcb653076fd
[ "Unlicense" ]
8
2016-12-29T19:13:39.000Z
2022-03-22T18:02:58.000Z
from ...base import BaseParser, datetime_to_string, string_to_datetime class Variant(BaseParser): @property def product_id(self): return self._dict.get('product_id') # No product_id setter since that value shouldn't be modified. @property def title(self): return self._dict.get('...
23.712821
72
0.63192
567
4,624
4.922399
0.109347
0.128986
0.090649
0.118237
0.349695
0.185955
0.078108
0.027947
0.027947
0
0
0.00431
0.247405
4,624
194
73
23.835052
0.797701
0.012976
0
0.159722
0
0
0.115081
0.009645
0
0
0
0
0
1
0.319444
false
0
0.006944
0.159722
0.506944
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
48a231bb7a5712dbefca180b1b449052ae0eff80
57
py
Python
fedoralink/__init__.py
CESNET/fedoralink
d8afdccbfe8514522fb167fc7c59c4876a579b28
[ "Apache-2.0" ]
null
null
null
fedoralink/__init__.py
CESNET/fedoralink
d8afdccbfe8514522fb167fc7c59c4876a579b28
[ "Apache-2.0" ]
14
2017-06-02T12:50:40.000Z
2020-06-06T07:49:21.000Z
fedoralink/__init__.py
CESNET/fedoralink
d8afdccbfe8514522fb167fc7c59c4876a579b28
[ "Apache-2.0" ]
null
null
null
default_app_config = 'fedoralink.apps.ApplicationConfig'
28.5
56
0.859649
6
57
7.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.052632
57
1
57
57
0.87037
0
0
0
0
0
0.578947
0.578947
0
0
0
0
0
1
0
false
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
48abb9fd4c9f6fd0b8645f3f181dec5498177781
1,930
py
Python
app/models.py
edumorris/pomodoro
cde372be1d5c37dd8221ebd40b684d07fbb472b5
[ "MIT" ]
null
null
null
app/models.py
edumorris/pomodoro
cde372be1d5c37dd8221ebd40b684d07fbb472b5
[ "MIT" ]
null
null
null
app/models.py
edumorris/pomodoro
cde372be1d5c37dd8221ebd40b684d07fbb472b5
[ "MIT" ]
null
null
null
from . import db from werkzeug.security import generate_password_hash,check_password_hash from flask_login import UserMixin from datetime import datetime class User(UserMixin, db.Model): __tablename__='users' u_id = db.Column(db.Integer, primary_key = True) username = db.Column(db.String(255)) email = ...
36.415094
86
0.702591
257
1,930
5.070039
0.280156
0.092095
0.115119
0.104375
0.285495
0.171911
0.149655
0.149655
0.073676
0.073676
0
0.014447
0.17513
1,930
53
87
36.415094
0.80402
0
0
0.045455
1
0
0.093216
0
0
0
0
0
0
1
0.136364
false
0.204545
0.113636
0.090909
0.886364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
48ad9f6778e6d07415f77fba884cce9125ae0f78
840
py
Python
wildlifelicensing/apps/customer_management/views/tables.py
jawaidm/wildlifelicensing
87e8e9ab163e0d7bbb0c7a654a13ce8a4d8fcf82
[ "Apache-2.0" ]
null
null
null
wildlifelicensing/apps/customer_management/views/tables.py
jawaidm/wildlifelicensing
87e8e9ab163e0d7bbb0c7a654a13ce8a4d8fcf82
[ "Apache-2.0" ]
11
2019-03-19T02:03:11.000Z
2019-05-31T07:20:59.000Z
wildlifelicensing/apps/customer_management/views/tables.py
jawaidm/wildlifelicensing
87e8e9ab163e0d7bbb0c7a654a13ce8a4d8fcf82
[ "Apache-2.0" ]
2
2020-08-10T10:17:10.000Z
2021-10-31T23:20:53.000Z
from wildlifelicensing.apps.applications.models import Application from wildlifelicensing.apps.dashboard.views import officer from wildlifelicensing.apps.main.models import WildlifeLicence from wildlifelicensing.apps.returns.models import Return class DataTableApplicationView(officer.DataTableApplicationsOfficerView)...
42
114
0.827381
89
840
7.674157
0.449438
0.122987
0.146413
0.09224
0.136164
0.136164
0
0
0
0
0
0.003927
0.090476
840
19
115
44.210526
0.890052
0
0
0.230769
0
0
0.013095
0
0
0
0
0
0
1
0.230769
false
0
0.307692
0.230769
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
1
0
0
0
3
48b3cc953c8a964e2ec47b5e3832e5af47562473
978
py
Python
examples/numbers.py
maxzheng/python-examples
a636de6dd06b692b2f2c8435f9220429827ed522
[ "MIT" ]
null
null
null
examples/numbers.py
maxzheng/python-examples
a636de6dd06b692b2f2c8435f9220429827ed522
[ "MIT" ]
null
null
null
examples/numbers.py
maxzheng/python-examples
a636de6dd06b692b2f2c8435f9220429827ed522
[ "MIT" ]
null
null
null
""" Number Crunching ============================================================================= Basic operations with numbers. Example Run ----------------------------------------------------------------------------- $ python3 numbers.py 2 1 9 ... References -------------------------------------------------------...
20.808511
77
0.424335
105
978
3.87619
0.533333
0.014742
0.051597
0.039312
0.044226
0
0
0
0
0
0
0.056452
0.239264
978
46
78
21.26087
0.490591
0.640082
0
0
0
0
0.02439
0
0
0
0
0
0
1
0.076923
true
0
0
0
0.076923
0.769231
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
48b887c691968461f6ff41c81645205b3884f168
995
py
Python
source/lib/utils.py
fnAttic/statemachine-aws
30bf7e46927deaa5a57c94f152b2e3c48a2f8c96
[ "MIT" ]
null
null
null
source/lib/utils.py
fnAttic/statemachine-aws
30bf7e46927deaa5a57c94f152b2e3c48a2f8c96
[ "MIT" ]
null
null
null
source/lib/utils.py
fnAttic/statemachine-aws
30bf7e46927deaa5a57c94f152b2e3c48a2f8c96
[ "MIT" ]
null
null
null
#!/usr/bin/env python import random import string from datetime import datetime import json def generate_id(length=16): """generate random IDs""" return ''.join(random.choice(string.ascii_lowercase + string.digits) for _ in range(length)) class DateTimeEncoder(json.JSONEncoder): """datetime support in j...
26.184211
96
0.638191
128
995
4.851563
0.492188
0.033816
0.05475
0.067633
0.099839
0.022544
0
0
0
0
0
0.002522
0.203015
995
37
97
26.891892
0.78058
0.136683
0
0
1
0
0.043478
0
0
0
0
0
0
1
0.263158
false
0
0.210526
0
0.842105
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
0
0
0
1
0
0
3
48c2425d9011f26903abaea1f364560525e6d5bc
198
py
Python
codewof/programming/content/en/fancy-divider-two/solution.py
uccser-admin/programming-practice-prototype
3af4c7d85308ac5bb35bb13be3ec18cac4eb8308
[ "MIT" ]
3
2019-08-29T04:11:22.000Z
2021-06-22T16:05:51.000Z
codewof/programming/content/en/fancy-divider-two/solution.py
uccser-admin/programming-practice-prototype
3af4c7d85308ac5bb35bb13be3ec18cac4eb8308
[ "MIT" ]
265
2019-05-30T03:51:46.000Z
2022-03-31T01:05:12.000Z
codewof/programming/content/en/fancy-divider-two/solution.py
samuelsandri/codewof
c9b8b378c06b15a0c42ae863b8f46581de04fdfc
[ "MIT" ]
7
2019-06-29T12:13:37.000Z
2021-09-06T06:49:14.000Z
def fancy_divider(divider_length): divider = '' for i in range(divider_length): if i % 2 == 0: divider += '=' else: divider += '-' print(divider)
22
35
0.489899
21
198
4.47619
0.619048
0.276596
0
0
0
0
0
0
0
0
0
0.01626
0.378788
198
8
36
24.75
0.747967
0
0
0
0
0
0.010101
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0.125
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
48c4a7bbcb2d9982a2a66af34c8dc49d59febf52
139
py
Python
gym_subgridworld/__init__.py
HendrikPN/gym-subgridworld
4fbbdf2bd2736831e4eaff9bf2e6cc87b827ce9b
[ "Apache-2.0" ]
null
null
null
gym_subgridworld/__init__.py
HendrikPN/gym-subgridworld
4fbbdf2bd2736831e4eaff9bf2e6cc87b827ce9b
[ "Apache-2.0" ]
null
null
null
gym_subgridworld/__init__.py
HendrikPN/gym-subgridworld
4fbbdf2bd2736831e4eaff9bf2e6cc87b827ce9b
[ "Apache-2.0" ]
null
null
null
from gym.envs.registration import register register( id='subgridworld-v0', entry_point='gym_subgridworld.envs:SubGridWorldEnv', )
19.857143
56
0.769784
16
139
6.5625
0.75
0
0
0
0
0
0
0
0
0
0
0.008197
0.122302
139
6
57
23.166667
0.852459
0
0
0
0
0
0.374101
0.266187
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
48d5573d8fc8684be9148942843bf6e5bf283051
1,658
py
Python
deepdoctection/datapoint/__init__.py
deepdoctection/deepdoctection
7e0d7396e5ef8bf8109904e09c5d4ee56cb5a036
[ "Apache-2.0" ]
39
2021-12-14T11:05:25.000Z
2022-03-31T18:50:58.000Z
deepdoctection/datapoint/__init__.py
deepdoctection/deepdoctection
7e0d7396e5ef8bf8109904e09c5d4ee56cb5a036
[ "Apache-2.0" ]
17
2022-01-04T14:32:26.000Z
2022-03-29T14:01:36.000Z
deepdoctection/datapoint/__init__.py
deepdoctection/deepdoctection
7e0d7396e5ef8bf8109904e09c5d4ee56cb5a036
[ "Apache-2.0" ]
4
2022-01-11T16:40:17.000Z
2022-03-30T02:09:55.000Z
# -*- coding: utf-8 -*- # File: __init__.py # Copyright 2021 Dr. Janis Meyer. All rights reserved. # # 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/LICE...
40.439024
119
0.767793
242
1,658
5.243802
0.603306
0.047281
0.020489
0.025217
0
0
0
0
0
0
0
0.006565
0.1731
1,658
40
120
41.45
0.919037
0.90772
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
48e633e6121310d94a679011299382d04e983038
118
py
Python
test/chora/scripts/batchdefs/batch_allassert.py
jbreck/duet-jbreck
3bf4aa0c69983d15f199bf02f294d356c354e932
[ "MIT" ]
1
2020-08-15T15:26:25.000Z
2020-08-15T15:26:25.000Z
test/chora/scripts/batchdefs/batch_allassert.py
jbreck/duet-jbreck
3bf4aa0c69983d15f199bf02f294d356c354e932
[ "MIT" ]
null
null
null
test/chora/scripts/batchdefs/batch_allassert.py
jbreck/duet-jbreck
3bf4aa0c69983d15f199bf02f294d356c354e932
[ "MIT" ]
null
null
null
import choraconfig, glob batch = choraconfig.clone_batch("assert") batch["toolIDs"] = ["duetcra", "icra", "chora"]
16.857143
47
0.694915
13
118
6.230769
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.118644
118
6
48
19.666667
0.778846
0
0
0
0
0
0.247863
0
0
0
0
0
0.333333
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
48f5bc8a0fb63be5001f7922d46e5150115095ed
9,159
py
Python
ilpyt/agents/heuristic_agent.py
mitre/ilpyt
6aecbe414f0032514ffb4206200596b8c3860b58
[ "Apache-2.0" ]
6
2021-09-20T20:25:11.000Z
2022-01-05T16:04:04.000Z
ilpyt/agents/heuristic_agent.py
mitre/ilpyt
6aecbe414f0032514ffb4206200596b8c3860b58
[ "Apache-2.0" ]
null
null
null
ilpyt/agents/heuristic_agent.py
mitre/ilpyt
6aecbe414f0032514ffb4206200596b8c3860b58
[ "Apache-2.0" ]
null
null
null
""" Heuristic agents for various OpenAI Gym environments. The agent policies, in this case, are deterministic functions, and often handcrafted or found by non-gradient optimization algorithms, such as evolutionary strategies. Many of the heuristic policies were adapted from the following source: ``` @book{xiao2022, ...
32.024476
94
0.563489
1,059
9,159
4.840415
0.201133
0.028092
0.037066
0.040968
0.749317
0.726102
0.704253
0.647288
0.634803
0.634803
0
0.025388
0.324817
9,159
285
95
32.136842
0.803525
0.458893
0
0.56
0
0
0
0
0
0
0
0
0
1
0.15
false
0.05
0.04
0
0.34
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
48fc87c6a5d6407ff5dd42f3ca743e61fa4b403f
81
py
Python
hackerrank/Mathematics/Fundementals/Maximum Draws/maximum_draws.py
PatrickShaw/Practice-Algorithms
57622837198aa8b95e85a46f97920566d5463943
[ "MIT" ]
1
2019-03-23T03:33:04.000Z
2019-03-23T03:33:04.000Z
hackerrank/Mathematics/Fundementals/Maximum Draws/maximum_draws.py
PatrickShaw/FIT2004-Exam-revision
57622837198aa8b95e85a46f97920566d5463943
[ "MIT" ]
null
null
null
hackerrank/Mathematics/Fundementals/Maximum Draws/maximum_draws.py
PatrickShaw/FIT2004-Exam-revision
57622837198aa8b95e85a46f97920566d5463943
[ "MIT" ]
null
null
null
t = int(input()) for _ in range(t): pairs = int(input()) print(pairs + 1)
20.25
24
0.555556
13
81
3.384615
0.692308
0.363636
0
0
0
0
0
0
0
0
0
0.016393
0.246914
81
4
25
20.25
0.704918
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
48fc8b1001b9c94656ea29834587c2c8b6151ba4
325
py
Python
src/mdformat/_compat.py
jamesquilty/mdformat
54f549e57a226701c1812fb8a2b478a847172699
[ "MIT" ]
94
2020-09-17T15:15:31.000Z
2022-03-24T16:23:27.000Z
src/mdformat/_compat.py
jamesquilty/mdformat
54f549e57a226701c1812fb8a2b478a847172699
[ "MIT" ]
261
2020-09-15T18:53:14.000Z
2022-03-16T12:18:14.000Z
src/mdformat/_compat.py
jamesquilty/mdformat
54f549e57a226701c1812fb8a2b478a847172699
[ "MIT" ]
23
2020-09-17T16:05:41.000Z
2022-03-16T21:46:19.000Z
__all__ = ("importlib_metadata", "Protocol", "Literal") import sys if sys.version_info >= (3, 10): from importlib import metadata as importlib_metadata else: import importlib_metadata if sys.version_info >= (3, 8): from typing import Literal, Protocol else: from typing_extensions import Literal, Prot...
23.214286
56
0.738462
42
325
5.47619
0.428571
0.221739
0.104348
0.13913
0.147826
0
0
0
0
0
0
0.018587
0.172308
325
13
57
25
0.836431
0
0
0.2
0
0
0.101538
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
5b033d229daa42bb6544be228448bfcb55522d45
174
py
Python
src/index.py
marvinengelmann/email
ef278e51600de8ea9f7b2e2bc44f8c30cad986a2
[ "MIT" ]
null
null
null
src/index.py
marvinengelmann/email
ef278e51600de8ea9f7b2e2bc44f8c30cad986a2
[ "MIT" ]
null
null
null
src/index.py
marvinengelmann/email
ef278e51600de8ea9f7b2e2bc44f8c30cad986a2
[ "MIT" ]
null
null
null
def handler(event, context): return { "statusCode": 200, "headers": { "Refresh": "0; url=mailto:hello@marvinengelmann.email", } }
24.857143
67
0.517241
15
174
6
1
0
0
0
0
0
0
0
0
0
0
0.034483
0.333333
174
7
68
24.857143
0.741379
0
0
0
0
0
0.371429
0.217143
0
0
0
0
0
1
0.142857
false
0
0
0.142857
0.285714
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
1
0
0
0
3
d2bed9f4c0eaa487111698affce7f41f6766d5b6
34,898
py
Python
hardscr.py
BorekZnovustvoritel/BPC-MAN-21-db-parse
d5677eeb39f1736fc2e88603fda8865eb9f914e7
[ "CC0-1.0" ]
1
2021-10-02T09:54:13.000Z
2021-10-02T09:54:13.000Z
hardscr.py
BorekZnovustvoritel/BPC-MAN-21-db-parse
d5677eeb39f1736fc2e88603fda8865eb9f914e7
[ "CC0-1.0" ]
null
null
null
hardscr.py
BorekZnovustvoritel/BPC-MAN-21-db-parse
d5677eeb39f1736fc2e88603fda8865eb9f914e7
[ "CC0-1.0" ]
null
null
null
import re import pandas as pd print("Deleting 'C:\Windows\System32'...") starting_string = "Zsolt Geretovszky University of Szeged, Hungary,2,33,16.50.Ziming Zhong 1,56,56.00,Giorgio Maddaluno.Zhixian X Jiu Wuhan Polytechnic University, China,2,4,2.00.Zhen Zhen Wang Xi'an ...
793.136364
32,788
0.683277
5,228
34,898
4.551262
0.31733
0.079684
0.021308
0.004623
0.31529
0.22014
0.160335
0.080861
0.049004
0.030176
0
0.099065
0.227692
34,898
43
32,789
811.581395
0.783615
0.013898
0
0.046512
0
0.046512
0.966009
0.241429
0
0
0
0
0
1
0
false
0
0.046512
0
0.046512
0.046512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
960f7fbf07e49001050d3b5a09478033d7377333
290
py
Python
templates/react/pkg/shells/Action.py
avalentino/pyre
7e1f0287eb7eba1c6d1ef385e5160079283ac363
[ "BSD-3-Clause" ]
25
2018-04-23T01:45:39.000Z
2021-12-10T06:01:23.000Z
templates/react/pkg/shells/Action.py
avalentino/pyre
7e1f0287eb7eba1c6d1ef385e5160079283ac363
[ "BSD-3-Clause" ]
53
2018-05-31T04:55:00.000Z
2021-10-07T21:41:32.000Z
templates/react/pkg/shells/Action.py
avalentino/pyre
7e1f0287eb7eba1c6d1ef385e5160079283ac363
[ "BSD-3-Clause" ]
12
2018-04-23T22:50:40.000Z
2022-02-20T17:27:23.000Z
# -*- coding: utf-8 -*- # # {project.authors} # (c) {project.span} all rights reserved # access the framework import pyre # protocol declaration class Action(pyre.action, family='{project.name}.cli'): """ Protocol declaration for {project.name} commands """ # end of file
15.263158
55
0.658621
35
290
5.457143
0.771429
0.198953
0
0
0
0
0
0
0
0
0
0.004255
0.189655
290
18
56
16.111111
0.808511
0.627586
0
0
0
0
0.209302
0
0
0
0
0
0
1
0
true
0
0.5
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