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
6646c777a708dfe01cfec4bbc0c8c3685de29bf4
31
py
Python
python/geo_calculator/__init__.py
JEsperancinhaOrg/geo-calculator
1915a2368ec061b71a0925961afa07e36a682f77
[ "Apache-2.0" ]
null
null
null
python/geo_calculator/__init__.py
JEsperancinhaOrg/geo-calculator
1915a2368ec061b71a0925961afa07e36a682f77
[ "Apache-2.0" ]
null
null
null
python/geo_calculator/__init__.py
JEsperancinhaOrg/geo-calculator
1915a2368ec061b71a0925961afa07e36a682f77
[ "Apache-2.0" ]
null
null
null
from .src import geo_calculator
31
31
0.870968
5
31
5.2
1
0
0
0
0
0
0
0
0
0
0
0
0.096774
31
1
31
31
0.928571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
b0e040939a8e84561860594b77b4f778a0832bb8
51,752
py
Python
podpac/core/interpolation/test/test_interpolators.py
creare-com/podpac
7feb5c957513c146ce73ba1c36c630284f513a6e
[ "Apache-2.0" ]
46
2018-04-06T19:54:32.000Z
2022-02-08T02:00:02.000Z
podpac/core/interpolation/test/test_interpolators.py
creare-com/podpac
7feb5c957513c146ce73ba1c36c630284f513a6e
[ "Apache-2.0" ]
474
2018-04-05T22:21:09.000Z
2022-02-24T14:21:16.000Z
podpac/core/interpolation/test/test_interpolators.py
creare-com/podpac
7feb5c957513c146ce73ba1c36c630284f513a6e
[ "Apache-2.0" ]
4
2019-04-11T17:49:53.000Z
2020-11-29T22:36:53.000Z
""" Test interpolation methods """ # pylint: disable=C0111,W0212,R0903 import pytest import traitlets as tl import numpy as np import podpac from podpac.core.utils import ArrayTrait from podpac.core.units import UnitsDataArray from podpac.core.coordinates import Coordinates, clinspace from podpac.core.data.rasterio...
42.594239
120
0.574084
5,906
51,752
4.937521
0.047748
0.045986
0.026062
0.039779
0.884229
0.867186
0.858578
0.837694
0.83327
0.822537
0
0.043972
0.271854
51,752
1,214
121
42.629325
0.729878
0.098798
0
0.678369
0
0
0.069209
0
0
0
0
0.000824
0.225368
1
0.03624
false
0
0.016988
0.001133
0.069083
0.005663
0
0
0
null
0
0
0
1
1
1
1
1
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
6
7c0696098c0bcb5a71618e8b29c64ae2c1e23ff2
3,168
py
Python
test-unit/PythonToJavascript/converters_test/ComparisonConverter_test.py
stoogoff/python-to-javascript
4349b09b15ada544501e7091c7ff1574487e7598
[ "MIT" ]
1
2021-11-19T09:56:41.000Z
2021-11-19T09:56:41.000Z
test-unit/PythonToJavascript/converters_test/ComparisonConverter_test.py
stoogoff/python-to-javascript
4349b09b15ada544501e7091c7ff1574487e7598
[ "MIT" ]
2
2022-02-25T23:11:27.000Z
2022-03-04T10:22:14.000Z
test-unit/PythonToJavascript/converters_test/ComparisonConverter_test.py
stoogoff/python-to-javascript
4349b09b15ada544501e7091c7ff1574487e7598
[ "MIT" ]
4
2021-05-06T19:03:19.000Z
2022-03-06T13:52:30.000Z
from utils import parseSource, nodesToString, nodesToLines, dumpNodes, dumpTree from converters import ComparisonConverter def test_ComparisonGather_01(): src = """ x == y; x < y; x > y; x >= y; x <= y; x <> y; x != y; x in y; x is y """ # dumpTree( parseSource( src ) ) matches = ComparisonConv...
28.285714
79
0.59596
330
3,168
5.639394
0.148485
0.173563
0.10317
0.098872
0.818915
0.808705
0.808705
0.808705
0.748522
0.748522
0
0.010684
0.261364
3,168
111
80
28.540541
0.784615
0.019255
0
0.631579
0
0.010526
0.140509
0
0
0
0
0
0.178947
1
0.105263
false
0
0.021053
0
0.126316
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
9fd1a3b1249f96217996921247779afef2e19654
236
py
Python
tests/tibanna/pony/test_start_run.py
4dn-dcic/tibanna_ff
6fcfc056b832c14500e525207afeb5722f366a26
[ "MIT" ]
2
2019-10-08T17:36:02.000Z
2019-10-08T18:42:05.000Z
tests/tibanna/pony/test_start_run.py
4dn-dcic/tibanna_ff
6fcfc056b832c14500e525207afeb5722f366a26
[ "MIT" ]
null
null
null
tests/tibanna/pony/test_start_run.py
4dn-dcic/tibanna_ff
6fcfc056b832c14500e525207afeb5722f366a26
[ "MIT" ]
null
null
null
from tibanna_4dn.start_run import start_run def test_md5(start_run_md5_data): res = start_run(start_run_md5_data) def test_md5_comprehensive(start_run_md5_comprehensive_data): res = start_run(start_run_md5_comprehensive_data)
29.5
61
0.84322
39
236
4.538462
0.307692
0.361582
0.248588
0.169492
0.525424
0.293785
0.293785
0
0
0
0
0.033019
0.101695
236
7
62
33.714286
0.801887
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.2
0
0.6
0
0
0
0
null
1
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
1
0
0
0
0
1
0
0
6
b03b701f3aee4527cf34c3349bc821c853ceddf1
56
py
Python
flagging_site/blueprints/__init__.py
codeforboston/flagging
5e45864f02b92f3d9109be67ae8dbd2b1067d515
[ "MIT" ]
3
2020-05-24T18:22:22.000Z
2021-04-04T18:51:33.000Z
flagging_site/blueprints/__init__.py
codeforboston/flagging
5e45864f02b92f3d9109be67ae8dbd2b1067d515
[ "MIT" ]
141
2020-05-27T02:57:26.000Z
2022-03-14T04:12:25.000Z
flagging_site/blueprints/__init__.py
codeforboston/flagging
5e45864f02b92f3d9109be67ae8dbd2b1067d515
[ "MIT" ]
16
2020-05-10T17:44:20.000Z
2022-03-01T15:46:13.000Z
# flake8: noqa from . import flagging from . import api
14
22
0.732143
8
56
5.125
0.75
0.487805
0
0
0
0
0
0
0
0
0
0.022222
0.196429
56
3
23
18.666667
0.888889
0.214286
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
05a5416fbe6f2edbbcfc1a7bdc74eed88e094e1d
130
py
Python
bubbleimg/imgmeasure/iso/__init__.py
aileisun/bubblepy
054e7a3993659e7002f243c75253c2cb71d4fa73
[ "MIT" ]
3
2017-11-20T23:16:09.000Z
2021-05-19T09:38:01.000Z
bubbleimg/imgmeasure/iso/__init__.py
aileisun/bubblepy
054e7a3993659e7002f243c75253c2cb71d4fa73
[ "MIT" ]
null
null
null
bubbleimg/imgmeasure/iso/__init__.py
aileisun/bubblepy
054e7a3993659e7002f243c75253c2cb71d4fa73
[ "MIT" ]
3
2017-07-17T09:31:11.000Z
2021-05-19T09:38:07.000Z
# __init__.py __all__ = ['isomeasurer'] from . import isomeasurer from . import plottools from .isomeasurer import isoMeasurer
14.444444
36
0.769231
14
130
6.571429
0.5
0.326087
0.456522
0
0
0
0
0
0
0
0
0
0.153846
130
8
37
16.25
0.836364
0.084615
0
0
0
0
0.094017
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
05b43b44cab8e14e750cf8d3e642dd4051f705fc
42
py
Python
Bubblez/sockets/__init__.py
MeesMeijer/bubblez.py
a85d1e368153d55df3d8e017c5d73935a8a2dbf2
[ "MIT" ]
4
2021-09-28T20:05:02.000Z
2021-09-30T09:25:50.000Z
Bubblez/sockets/__init__.py
MeesMeijer/bubblez.py
a85d1e368153d55df3d8e017c5d73935a8a2dbf2
[ "MIT" ]
1
2021-09-29T17:31:21.000Z
2021-09-29T17:31:21.000Z
Bubblez/sockets/__init__.py
MeesMeijer/bubblez.py
a85d1e368153d55df3d8e017c5d73935a8a2dbf2
[ "MIT" ]
2
2021-09-29T17:26:31.000Z
2021-09-29T22:08:56.000Z
from .classes import * from .core import *
21
22
0.738095
6
42
5.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.166667
42
2
23
21
0.885714
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
05d15705dc48bcc63083a5867fde6d54c203efd0
61
py
Python
src/wasp_engine/src/app_demo/tes1t.py
Song-MS/angel_bridge
d32da6e781011724e9977c1206afc4555c31ba0a
[ "MIT" ]
null
null
null
src/wasp_engine/src/app_demo/tes1t.py
Song-MS/angel_bridge
d32da6e781011724e9977c1206afc4555c31ba0a
[ "MIT" ]
null
null
null
src/wasp_engine/src/app_demo/tes1t.py
Song-MS/angel_bridge
d32da6e781011724e9977c1206afc4555c31ba0a
[ "MIT" ]
null
null
null
from setuptools import find_packages print(find_packages())
15.25
36
0.836066
8
61
6.125
0.75
0.489796
0
0
0
0
0
0
0
0
0
0
0.098361
61
4
37
15.25
0.890909
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
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
1
0
1
0
0
1
0
6
05f2b8f380a7165255c36e474215a20664fd9abc
83
py
Python
buzz_and_unlock.py
trrevvorr/DIY-Smart-Door-Lock
7ca7a219c6e8e840672a4640568420ae700b42c3
[ "MIT" ]
null
null
null
buzz_and_unlock.py
trrevvorr/DIY-Smart-Door-Lock
7ca7a219c6e8e840672a4640568420ae700b42c3
[ "MIT" ]
null
null
null
buzz_and_unlock.py
trrevvorr/DIY-Smart-Door-Lock
7ca7a219c6e8e840672a4640568420ae700b42c3
[ "MIT" ]
null
null
null
import _control_lock import commands _control_lock.main(commands.BUZZ_AND_UNLOCK)
16.6
44
0.879518
12
83
5.583333
0.666667
0.328358
0
0
0
0
0
0
0
0
0
0
0.072289
83
4
45
20.75
0.87013
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
af7e7021a52a52e528f8ef8f2a8da2d1c4a4e756
39
py
Python
quickinfo/__init__.py
OneBitPython/quickinfo
3bf1cbad8ca4ef1ff588aace53d1b13560e2681f
[ "MIT" ]
2
2021-12-12T12:20:49.000Z
2021-12-13T00:29:06.000Z
quickinfo/__init__.py
OneBitPython/quickinfo
3bf1cbad8ca4ef1ff588aace53d1b13560e2681f
[ "MIT" ]
null
null
null
quickinfo/__init__.py
OneBitPython/quickinfo
3bf1cbad8ca4ef1ff588aace53d1b13560e2681f
[ "MIT" ]
null
null
null
from quickinfo.brain import QuickScrape
39
39
0.897436
5
39
7
1
0
0
0
0
0
0
0
0
0
0
0
0.076923
39
1
39
39
0.972222
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
af83eb51bede830a6fe918da3d99df3ca71616f7
1,639
py
Python
renovation_core/renovation_core/doctype/renovation_sidebar/test_renovation_sidebar.py
Abadulrehman/renovation_core
2cb015ec1832ceb6076e20914f504a1049d7a736
[ "MIT" ]
18
2020-04-12T20:40:41.000Z
2022-03-09T13:50:59.000Z
renovation_core/renovation_core/doctype/renovation_sidebar/test_renovation_sidebar.py
Abadulrehman/renovation_core
2cb015ec1832ceb6076e20914f504a1049d7a736
[ "MIT" ]
28
2020-04-21T13:24:28.000Z
2021-11-03T12:23:01.000Z
renovation_core/renovation_core/doctype/renovation_sidebar/test_renovation_sidebar.py
Abadulrehman/renovation_core
2cb015ec1832ceb6076e20914f504a1049d7a736
[ "MIT" ]
16
2020-04-12T20:31:50.000Z
2022-01-30T12:19:45.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2019, LEAM Technology System and Contributors # See license.txt from __future__ import unicode_literals from renovation_core.utils.test_runner import RenovationTestCase class TestRenovationSidebar(RenovationTestCase): pass # def setUp(self): # self.make_root_sidebar() ...
36.422222
252
0.679683
204
1,639
5.186275
0.416667
0.208885
0.079395
0.068053
0.210775
0.18431
0.153119
0.068053
0.068053
0
0
0.014567
0.162294
1,639
44
253
37.25
0.756009
0.818182
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.25
0.5
0
0.75
0
0
0
0
null
1
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
1
1
0
1
0
0
6
afc3fa21e5ead07a8ed3ecb7eb5bbf5a04acec5f
20
py
Python
BLSeg/blseg/model/fcn/__init__.py
ForrestPi/semanticSegmentation
1e5519279e2a9574f09eaf91439138b74b0f860c
[ "MIT" ]
7
2020-04-06T10:25:30.000Z
2021-02-24T14:51:22.000Z
BLSeg/blseg/model/fcn/__init__.py
ForrestPi/semanticSegmentation
1e5519279e2a9574f09eaf91439138b74b0f860c
[ "MIT" ]
null
null
null
BLSeg/blseg/model/fcn/__init__.py
ForrestPi/semanticSegmentation
1e5519279e2a9574f09eaf91439138b74b0f860c
[ "MIT" ]
2
2020-04-08T14:43:21.000Z
2020-12-11T03:03:37.000Z
from .fcn import FCN
20
20
0.8
4
20
4
0.75
0
0
0
0
0
0
0
0
0
0
0
0.15
20
1
20
20
0.941176
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
bb7525c94e0c1dd9a6345049a57f1a3018e9f733
145
py
Python
bmp180/__init__.py
Jeremie-C/python-bmp180
f2895eb8e19e982f6555c493f195d62b13dd47e8
[ "MIT" ]
null
null
null
bmp180/__init__.py
Jeremie-C/python-bmp180
f2895eb8e19e982f6555c493f195d62b13dd47e8
[ "MIT" ]
null
null
null
bmp180/__init__.py
Jeremie-C/python-bmp180
f2895eb8e19e982f6555c493f195d62b13dd47e8
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'Jeremie-C' from .bmp180 import bmp180 from .bmp180 import RES_1, RES_2, RES_4, RES_8
24.166667
46
0.696552
25
145
3.72
0.68
0.215054
0.344086
0
0
0
0
0
0
0
0
0.112903
0.144828
145
5
47
29
0.637097
0.289655
0
0
0
0
0.089109
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
bb9cfe8c1ede4bb7abbe382a16d043ae30b1e6b3
61
py
Python
hlrl/torch/algos/dqn/__init__.py
Chainso/HLRL
584f4ed2fa4d8b311a21dbd862ec9434833dd7cd
[ "MIT" ]
null
null
null
hlrl/torch/algos/dqn/__init__.py
Chainso/HLRL
584f4ed2fa4d8b311a21dbd862ec9434833dd7cd
[ "MIT" ]
null
null
null
hlrl/torch/algos/dqn/__init__.py
Chainso/HLRL
584f4ed2fa4d8b311a21dbd862ec9434833dd7cd
[ "MIT" ]
null
null
null
from .dqn import DQN from .dqn_recurrent import DQNRecurrent
20.333333
39
0.836066
9
61
5.555556
0.555556
0.28
0
0
0
0
0
0
0
0
0
0
0.131148
61
2
40
30.5
0.943396
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
bb9d8f3b03209d4b8ff6cbbf805834acb52fdecb
3,495
py
Python
Trabalhos-IA/T1-8Puzzle/test_utils.py
lucsmelo/INF01048-IA
25901f206b20d8916f9170b703e533d40685ca0f
[ "MIT" ]
null
null
null
Trabalhos-IA/T1-8Puzzle/test_utils.py
lucsmelo/INF01048-IA
25901f206b20d8916f9170b703e533d40685ca0f
[ "MIT" ]
null
null
null
Trabalhos-IA/T1-8Puzzle/test_utils.py
lucsmelo/INF01048-IA
25901f206b20d8916f9170b703e533d40685ca0f
[ "MIT" ]
1
2021-12-14T22:22:57.000Z
2021-12-14T22:22:57.000Z
import unittest import utils class TestUtils(unittest.TestCase): # Testing move method def test_move_right(self): current_state = '1234567_8' self.assertEqual('12345678_', utils.move(current_state, 'direita')) def test_move_right_stops_at_edge_top(self): current_state = '12_3...
36.40625
84
0.701001
438
3,495
5.159817
0.13242
0.212389
0.141593
0.148673
0.831858
0.806637
0.803097
0.64646
0.638938
0.604425
0
0.112716
0.187697
3,495
95
85
36.789474
0.683339
0.01402
0
0.294118
0
0
0.148417
0
0
0
0
0
0.294118
1
0.294118
false
0
0.029412
0
0.338235
0
0
0
0
null
1
0
0
1
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
1
0
0
0
0
0
0
0
6
bba243df9135b4091dca63e5ab73c1b1981762db
36,972
py
Python
bases/br_sp_alesp/code/scripts/alesp_tamitacao_parser.py
lucascr91/mais
a137328d683a0252a6159e9135f1326157cd018f
[ "MIT" ]
290
2020-10-14T17:18:21.000Z
2022-03-31T20:56:07.000Z
bases/br_sp_alesp/code/scripts/alesp_tamitacao_parser.py
lucascr91/mais
a137328d683a0252a6159e9135f1326157cd018f
[ "MIT" ]
756
2020-10-09T16:37:57.000Z
2022-03-31T18:28:18.000Z
bases/br_sp_alesp/code/scripts/alesp_tamitacao_parser.py
lucascr91/mais
a137328d683a0252a6159e9135f1326157cd018f
[ "MIT" ]
81
2020-10-15T18:21:42.000Z
2022-03-31T03:25:13.000Z
import os import pandas as pd import numpy as np from io import BytesIO from zipfile import ZipFile import untangle import requests import scripts.manipulation as manipulation mais_path = "../../bd+/mais_projects/data/alesp" def download_unzip(url, path_to_save): # unzip the content r = requests.get(url)...
27.346154
116
0.46665
3,617
36,972
4.643351
0.066353
0.024769
0.029056
0.028818
0.768383
0.744031
0.727121
0.723013
0.718904
0.620601
0
0.003502
0.413096
36,972
1,352
117
27.346154
0.770496
0.000811
0
0.712477
0
0
0.211478
0.076313
0
0
0
0
0
1
0.014467
false
0
0.007233
0
0.023508
0.039783
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
a5917117426d612004e5b1bab658ca77d4d0d2da
134
py
Python
page/__init__.py
zhangvision11/appium-togetu
84f79f250aa34801c680a330b56b79fc91993da4
[ "MIT" ]
null
null
null
page/__init__.py
zhangvision11/appium-togetu
84f79f250aa34801c680a330b56b79fc91993da4
[ "MIT" ]
null
null
null
page/__init__.py
zhangvision11/appium-togetu
84f79f250aa34801c680a330b56b79fc91993da4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from utils.shell import Shell from utils.shell import ADB appium_v = Shell.invoke('appium -v') print(appium_v)
26.8
36
0.723881
22
134
4.318182
0.545455
0.221053
0.294737
0.421053
0
0
0
0
0
0
0
0.008547
0.126866
134
5
37
26.8
0.803419
0.156716
0
0
0
0
0.080357
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.25
1
0
0
null
1
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
1
0
0
0
0
6
3c014eea6970c15e99e6957db5593ed4c99a7615
31
py
Python
testeBranch.py
Alexandre16347/Testes
dd1cd71607ae2530309cd08dc8bf235ea83b6b02
[ "MIT" ]
null
null
null
testeBranch.py
Alexandre16347/Testes
dd1cd71607ae2530309cd08dc8bf235ea83b6b02
[ "MIT" ]
null
null
null
testeBranch.py
Alexandre16347/Testes
dd1cd71607ae2530309cd08dc8bf235ea83b6b02
[ "MIT" ]
null
null
null
print("Testando a branch dev")
15.5
30
0.741935
5
31
4.6
1
0
0
0
0
0
0
0
0
0
0
0
0.129032
31
1
31
31
0.851852
0
0
0
0
0
0.677419
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
3c1051d9cc2ac82a119cb15a775cd0f9e117f92a
41
py
Python
src/model/blending/__init__.py
donglinwu6066/2022-NYCU-EVA-lab-project-demo-app
5de1021173240b2f9b325510e2c75f59cf3b14e1
[ "MIT" ]
null
null
null
src/model/blending/__init__.py
donglinwu6066/2022-NYCU-EVA-lab-project-demo-app
5de1021173240b2f9b325510e2c75f59cf3b14e1
[ "MIT" ]
null
null
null
src/model/blending/__init__.py
donglinwu6066/2022-NYCU-EVA-lab-project-demo-app
5de1021173240b2f9b325510e2c75f59cf3b14e1
[ "MIT" ]
1
2022-03-25T10:08:41.000Z
2022-03-25T10:08:41.000Z
from .model import Generator as Blending
20.5
40
0.829268
6
41
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.146341
41
1
41
41
0.971429
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
3c210e0a58cd470619d37ef06c98144d32564f28
5,083
py
Python
tests/test_samples.py
ndcolter-mcafee/opendxl-virustotal-client-python
f9638e94b52517b16d436f8b6a3006db82eff236
[ "Apache-2.0" ]
5
2017-04-14T19:44:08.000Z
2018-08-09T15:08:16.000Z
tests/test_samples.py
ndcolter-mcafee/opendxl-virustotal-client-python
f9638e94b52517b16d436f8b6a3006db82eff236
[ "Apache-2.0" ]
2
2018-03-27T20:51:59.000Z
2018-07-30T17:21:26.000Z
tests/test_samples.py
ndcolter-mcafee/opendxl-virustotal-client-python
f9638e94b52517b16d436f8b6a3006db82eff236
[ "Apache-2.0" ]
4
2017-08-01T00:00:56.000Z
2021-01-25T06:41:41.000Z
from tests.test_base import * from tests.test_value_constants import * from tests.mock_vtservice import MockVtService class TestSamples(BaseClientTest): def test_basicdomainreport_example(self): # Modify sample file to include necessary sample data sample_filename = self.BASIC_FOLDER + "/basic_dom...
32.793548
83
0.569546
504
5,083
5.430556
0.138889
0.078919
0.065765
0.078919
0.877969
0.840336
0.840336
0.816953
0.816953
0.816953
0
0.002498
0.36986
5,083
154
84
33.006494
0.852014
0.143813
0
0.574468
0
0
0.057697
0.04108
0
0
0
0
0.12766
1
0.06383
false
0
0.031915
0
0.106383
0.191489
0
0
0
null
0
0
0
1
1
1
1
1
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
6
b1d492268a82d7deafa710f6f662432b70097fa8
3,527
py
Python
maxsmi/pytorch_evaluation.py
t-kimber/maxsmi
d7d52a9ba95efb6b4219928425bb5de965c4b3b5
[ "MIT" ]
1
2021-01-22T17:56:54.000Z
2021-01-22T17:56:54.000Z
maxsmi/pytorch_evaluation.py
t-kimber/maxsmi
d7d52a9ba95efb6b4219928425bb5de965c4b3b5
[ "MIT" ]
12
2020-10-16T10:13:56.000Z
2021-04-14T07:25:05.000Z
maxsmi/pytorch_evaluation.py
t-kimber/maxsmi
d7d52a9ba95efb6b4219928425bb5de965c4b3b5
[ "MIT" ]
null
null
null
""" pytorch_evaluation.py Pytorch evalution. """ import torch from maxsmi.pytorch_data import data_to_pytorch_format def model_evaluation( data_loader, ml_model_name, ml_model, smiles_dictionary, max_length_smiles, device_to_use, ): """ Evaluation per batch of a pytorch machine learn...
26.923664
111
0.599093
416
3,527
4.822115
0.213942
0.048853
0.043868
0.04985
0.78664
0.756231
0.734796
0.734796
0.734796
0.667996
0
0.001688
0.328324
3,527
130
112
27.130769
0.845082
0.418486
0
0.701754
0
0
0
0
0
0
0
0
0
1
0.035088
false
0
0.035088
0
0.105263
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
592e2c7fd9528926c979e39d3b42324c13b940ae
59
py
Python
src/exceptions/__init__.py
mobynickkk/pydi
2b234942da0fa5620417f60699a9d97bdb1a4bba
[ "Apache-2.0" ]
1
2021-11-09T18:50:47.000Z
2021-11-09T18:50:47.000Z
src/exceptions/__init__.py
mobynickkk/pydi
2b234942da0fa5620417f60699a9d97bdb1a4bba
[ "Apache-2.0" ]
null
null
null
src/exceptions/__init__.py
mobynickkk/pydi
2b234942da0fa5620417f60699a9d97bdb1a4bba
[ "Apache-2.0" ]
null
null
null
from .ComponentNotFoundError import ComponentNotFoundError
29.5
58
0.915254
4
59
13.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.067797
59
1
59
59
0.981818
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
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
1
0
1
0
0
6
3cba66d4fc4ba58e0c1e9702579230cb4e21ddf6
120
py
Python
lesson24.py
bc1109/ubuntu
71b3a1bd0b5d027016b5868da9ab442c8e4f49d2
[ "Apache-2.0" ]
null
null
null
lesson24.py
bc1109/ubuntu
71b3a1bd0b5d027016b5868da9ab442c8e4f49d2
[ "Apache-2.0" ]
null
null
null
lesson24.py
bc1109/ubuntu
71b3a1bd0b5d027016b5868da9ab442c8e4f49d2
[ "Apache-2.0" ]
null
null
null
import re phoneNumberRegex = re.compile(r'\d\d\d-\d\d\d-\d\d\d\d') phoneNumberRegex.search('My number is 813-442-2837')
30
56
0.716667
24
120
3.583333
0.541667
0.209302
0.27907
0.325581
0.116279
0.116279
0.116279
0.116279
0.116279
0
0
0.09009
0.075
120
4
57
30
0.684685
0
0
0
0
0
0.38843
0.181818
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
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
1
0
0
0
0
6
595c822b9cb782cfc8e147868091321b7b70a58b
2,791
py
Python
sdk/eventhub/azure-eventhubs/tests/test_iothub_receive.py
kushan2018/azure-sdk-for-python
08a9296207281f4e90e23cf7a30173863accc867
[ "MIT" ]
null
null
null
sdk/eventhub/azure-eventhubs/tests/test_iothub_receive.py
kushan2018/azure-sdk-for-python
08a9296207281f4e90e23cf7a30173863accc867
[ "MIT" ]
1
2020-03-06T05:57:16.000Z
2020-03-06T05:57:16.000Z
sdk/eventhub/azure-eventhubs/tests/test_iothub_receive.py
kushan2018/azure-sdk-for-python
08a9296207281f4e90e23cf7a30173863accc867
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. #-------------------------------------------------------------------------- import pyte...
42.938462
158
0.720889
329
2,791
5.808511
0.224924
0.081633
0.100471
0.065934
0.802721
0.802721
0.802721
0.732077
0.732077
0.675039
0
0.013447
0.120745
2,791
64
159
43.609375
0.765281
0.106772
0
0.636364
0
0
0.045418
0
0
0
0
0
0.181818
1
0.136364
false
0
0.045455
0
0.181818
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
5972b03afea8ae737b403e6897f2f6adc7e430a1
62
py
Python
website_multi_company_demo/models/__init__.py
factorlibre/website-addons
9a0c7a238e2b6030d57f7a08d48816b4f2431524
[ "MIT" ]
1
2020-03-01T03:04:21.000Z
2020-03-01T03:04:21.000Z
website_multi_company_demo/models/__init__.py
factorlibre/website-addons
9a0c7a238e2b6030d57f7a08d48816b4f2431524
[ "MIT" ]
null
null
null
website_multi_company_demo/models/__init__.py
factorlibre/website-addons
9a0c7a238e2b6030d57f7a08d48816b4f2431524
[ "MIT" ]
3
2019-07-29T20:23:16.000Z
2021-01-07T20:51:24.000Z
from . import res_users from . import product_public_category
20.666667
37
0.83871
9
62
5.444444
0.777778
0.408163
0
0
0
0
0
0
0
0
0
0
0.129032
62
2
38
31
0.907407
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
59958d0c169f58f32d1e37d65515ddb248a41b5c
195
py
Python
tf_lassonet/__init__.py
ADeGobbis/TF_LassoNet
9c6cb9e0d8800ab32e35ddf5e35d20974963bcfd
[ "MIT" ]
null
null
null
tf_lassonet/__init__.py
ADeGobbis/TF_LassoNet
9c6cb9e0d8800ab32e35ddf5e35d20974963bcfd
[ "MIT" ]
null
null
null
tf_lassonet/__init__.py
ADeGobbis/TF_LassoNet
9c6cb9e0d8800ab32e35ddf5e35d20974963bcfd
[ "MIT" ]
null
null
null
from .model import LassoNet from .path import LassoPath from .proximal import hier_prox_group from .utils import feature_importance_time_series from .graphics import feature_importance_histogram
32.5
50
0.871795
27
195
6.037037
0.62963
0.159509
0.282209
0
0
0
0
0
0
0
0
0
0.102564
195
5
51
39
0.931429
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
59b85fc4921188646732ee324518cef27b73b722
27
py
Python
core/models/__init__.py
Latterlig96/airflow-model-trainer
7da36aae3036759639ae1c556f41fc70409aa444
[ "MIT" ]
6
2021-06-10T11:53:24.000Z
2022-03-31T19:34:59.000Z
core/models/__init__.py
Latterlig96/airflow-model-trainer
7da36aae3036759639ae1c556f41fc70409aa444
[ "MIT" ]
6
2021-03-15T11:01:27.000Z
2021-09-25T16:58:16.000Z
core/models/__init__.py
Latterlig96/airflow-model-trainer
7da36aae3036759639ae1c556f41fc70409aa444
[ "MIT" ]
2
2021-07-29T08:05:54.000Z
2022-02-22T16:14:06.000Z
from .train import Trainer
13.5
26
0.814815
4
27
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.148148
27
1
27
27
0.956522
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
59eb1237fcefd5c8a257707fff76652c06452246
39
py
Python
game_test.py
fbawa/RPS4
66589e43165d815766238dd83feca3a2db715d6f
[ "MIT" ]
null
null
null
game_test.py
fbawa/RPS4
66589e43165d815766238dd83feca3a2db715d6f
[ "MIT" ]
null
null
null
game_test.py
fbawa/RPS4
66589e43165d815766238dd83feca3a2db715d6f
[ "MIT" ]
null
null
null
def test_example(): assert 20 > 3
9.75
19
0.615385
6
39
3.833333
1
0
0
0
0
0
0
0
0
0
0
0.107143
0.282051
39
3
20
13
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.5
1
0.5
true
0
0
0
0.5
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
1
0
1
1
0
0
0
0
0
0
6
ab9fecd299a454a7857a9ff2197369134e50783d
148
py
Python
accounts/admin.py
powerticket/heroku
d214a3758efbf185e4a533f8373033ed558209dd
[ "MIT" ]
null
null
null
accounts/admin.py
powerticket/heroku
d214a3758efbf185e4a533f8373033ed558209dd
[ "MIT" ]
4
2020-10-20T15:13:32.000Z
2021-02-24T09:04:49.000Z
accounts/admin.py
powerticket/heroku
d214a3758efbf185e4a533f8373033ed558209dd
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib.auth import get_user_model # Register your models here. admin.site.register(get_user_model())
24.666667
46
0.824324
23
148
5.130435
0.608696
0.169492
0.288136
0
0
0
0
0
0
0
0
0
0.101351
148
5
47
29.6
0.887218
0.175676
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
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
1
0
1
0
1
0
0
6
aba4fbdd43dc0c2db91d4496c972810dbafa78de
181
py
Python
tests/messaging/test_response_without_body.py
spaceone/httoop
99f5f51a6ebab4bfdfd02d3705a0bffb5379b4a9
[ "MIT" ]
13
2015-01-07T19:39:02.000Z
2021-07-12T21:09:28.000Z
tests/messaging/test_response_without_body.py
spaceone/httoop
99f5f51a6ebab4bfdfd02d3705a0bffb5379b4a9
[ "MIT" ]
9
2015-06-14T11:37:26.000Z
2020-12-11T09:12:30.000Z
tests/messaging/test_response_without_body.py
spaceone/httoop
99f5f51a6ebab4bfdfd02d3705a0bffb5379b4a9
[ "MIT" ]
10
2015-05-28T05:51:46.000Z
2021-12-29T20:36:15.000Z
def test_head_request_(): pass def test_status_smaller_100(): pass def test_not_modified_304(): pass def test_no_content_204(): pass def test_reset_content_205(): pass
9.526316
30
0.762431
29
181
4.241379
0.551724
0.284553
0.357724
0
0
0
0
0
0
0
0
0.078431
0.154696
181
18
31
10.055556
0.72549
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0.5
true
0.5
0
0
0.5
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
1
1
1
0
0
0
0
0
6
abbef9d2332b6916bf5ef3bc7695ffe793b99af1
4,417
py
Python
tests/test_samplers/test_tpe/test_distributions.py
ytsmiling/optur
cbc56c60b322ea764592f01758798f745199b455
[ "MIT" ]
1
2022-01-19T09:18:15.000Z
2022-01-19T09:18:15.000Z
tests/test_samplers/test_tpe/test_distributions.py
ytsmiling/optur
cbc56c60b322ea764592f01758798f745199b455
[ "MIT" ]
null
null
null
tests/test_samplers/test_tpe/test_distributions.py
ytsmiling/optur
cbc56c60b322ea764592f01758798f745199b455
[ "MIT" ]
null
null
null
import random import numpy as np import pytest from optur.proto.search_space_pb2 import Distribution, ParameterValue from optur.proto.study_pb2 import Parameter, Trial from optur.samplers.tpe import _MixturedDistribution def int_distribution(low: int, high: int, log_scale: bool = False) -> Distribution: return ...
35.336
98
0.612859
527
4,417
4.946869
0.1537
0.067511
0.027618
0.036824
0.850403
0.850403
0.849252
0.782509
0.71308
0.71308
0
0.036141
0.260811
4,417
124
99
35.620968
0.762328
0.017433
0
0.618182
0
0
0.019848
0
0
0
0
0
0.145455
1
0.054545
false
0
0.054545
0.018182
0.127273
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
e64ec539c00d675fdf62d875d19a50f1cd643618
49
py
Python
school/resolvers/__init__.py
iPalmTech/django-ariadne-starter
5930b6ca13c9d2a726d3889ce899f49fb6d5301c
[ "MIT" ]
null
null
null
school/resolvers/__init__.py
iPalmTech/django-ariadne-starter
5930b6ca13c9d2a726d3889ce899f49fb6d5301c
[ "MIT" ]
null
null
null
school/resolvers/__init__.py
iPalmTech/django-ariadne-starter
5930b6ca13c9d2a726d3889ce899f49fb6d5301c
[ "MIT" ]
null
null
null
from .school import school_query, school_mutation
49
49
0.877551
7
49
5.857143
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.081633
49
1
49
49
0.911111
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
0509c96e4934916e642350dceed08baac99df9c3
3,016
py
Python
.virtual_documents/01_tutorial.ipynb.py
AtomScott/image_folder_datasets
935580929abc9d8ec9eeaf944a0d3c670a09d04d
[ "Apache-2.0" ]
null
null
null
.virtual_documents/01_tutorial.ipynb.py
AtomScott/image_folder_datasets
935580929abc9d8ec9eeaf944a0d3c670a09d04d
[ "Apache-2.0" ]
null
null
null
.virtual_documents/01_tutorial.ipynb.py
AtomScott/image_folder_datasets
935580929abc9d8ec9eeaf944a0d3c670a09d04d
[ "Apache-2.0" ]
null
null
null
#hide get_ipython().run_line_magic("load_ext", " autoreload") get_ipython().run_line_magic("autoreload", " 2") from image_folder_datasets.core import ImageFolderDataModule data_dir = 'Datasets/cifar10' dm = ImageFolderDataModule(data_dir, 128) dm.setup() # For ease of use, we also add a dataloader from the fastai ...
32.085106
132
0.75431
404
3,016
5.460396
0.272277
0.044878
0.033998
0.072529
0.840435
0.80553
0.775612
0.775612
0.752493
0.739801
0
0.035944
0.123674
3,016
93
133
32.430108
0.798714
0.057361
0
0.62963
0
0
0.086772
0.044797
0
0
0
0
0
1
0
false
0
0.092593
0
0.092593
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
055ded3d8ef1bd1828a1373a5580c27a8dd1ce6c
61
py
Python
prac_12/prac_12/models/__init__.py
moevm/db_sql_lab_examples
01aa4843b59bbddbea739b4c7b4db8958a2f8393
[ "MIT" ]
3
2021-09-02T21:03:30.000Z
2021-10-08T13:48:04.000Z
prac_12/prac_12/models/__init__.py
moevm/db_sql_lab_examples
01aa4843b59bbddbea739b4c7b4db8958a2f8393
[ "MIT" ]
null
null
null
prac_12/prac_12/models/__init__.py
moevm/db_sql_lab_examples
01aa4843b59bbddbea739b4c7b4db8958a2f8393
[ "MIT" ]
1
2021-09-05T02:44:19.000Z
2021-09-05T02:44:19.000Z
from .base import * from .book import * from .shelf import *
15.25
20
0.704918
9
61
4.777778
0.555556
0.465116
0
0
0
0
0
0
0
0
0
0
0.196721
61
3
21
20.333333
0.877551
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
056e381c50214efc09ae12f3be2dd204a76f6989
9,448
py
Python
megumin/modulos/admin/bans.py
davitudoplugins1234/WhiterKang
f4779d2c440849fa97e7014cd856f885b0abbc87
[ "MIT" ]
null
null
null
megumin/modulos/admin/bans.py
davitudoplugins1234/WhiterKang
f4779d2c440849fa97e7014cd856f885b0abbc87
[ "MIT" ]
null
null
null
megumin/modulos/admin/bans.py
davitudoplugins1234/WhiterKang
f4779d2c440849fa97e7014cd856f885b0abbc87
[ "MIT" ]
null
null
null
## # import time from pyrogram import filters from pyrogram.errors import PeerIdInvalid, UserIdInvalid, UsernameInvalid from pyrogram.types import Message from megumin import megux from megumin.utils import ( admin_check, extract_time, check_bot_rights, check_rights, is_admin, is_dev, is_...
38.406504
177
0.642782
1,268
9,448
4.597792
0.149842
0.048371
0.084563
0.0247
0.812007
0.779588
0.776844
0.772041
0.75163
0.72024
0
0.001683
0.245449
9,448
245
178
38.563265
0.815402
0
0
0.695652
0
0.008696
0.210164
0.002541
0
0
0
0
0
1
0
false
0
0.026087
0
0.16087
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
0578b9ae2fe1c4f73fa9b804de9b366e13bd401e
326
py
Python
aiflearn/algorithms/inprocessing/__init__.py
gusrabbit/aif360-learn
b14a9b98e96dd2756faf312047e9a50ccc1559fa
[ "Apache-2.0" ]
null
null
null
aiflearn/algorithms/inprocessing/__init__.py
gusrabbit/aif360-learn
b14a9b98e96dd2756faf312047e9a50ccc1559fa
[ "Apache-2.0" ]
null
null
null
aiflearn/algorithms/inprocessing/__init__.py
gusrabbit/aif360-learn
b14a9b98e96dd2756faf312047e9a50ccc1559fa
[ "Apache-2.0" ]
null
null
null
from aiflearn.algorithms.inprocessing.adversarial_debiasing import AdversarialDebiasing from aiflearn.algorithms.inprocessing.art_classifier import ARTClassifier from aiflearn.algorithms.inprocessing.prejudice_remover import PrejudiceRemover from aiflearn.algorithms.inprocessing.meta_fair_classifier import MetaFairClas...
81.5
87
0.917178
33
326
8.909091
0.515152
0.163265
0.29932
0.462585
0
0
0
0
0
0
0
0
0.046012
326
4
88
81.5
0.945338
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
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
1
0
1
0
1
0
0
6
058dc32966147f97b6e04d1c04b166098b2f9acc
118
py
Python
src/services/queue_client.py
tombrereton/flask-api-starter-kit
2e244bfc4f5659e91fd7cd27388c37bf32baeaec
[ "MIT" ]
null
null
null
src/services/queue_client.py
tombrereton/flask-api-starter-kit
2e244bfc4f5659e91fd7cd27388c37bf32baeaec
[ "MIT" ]
null
null
null
src/services/queue_client.py
tombrereton/flask-api-starter-kit
2e244bfc4f5659e91fd7cd27388c37bf32baeaec
[ "MIT" ]
null
null
null
from src.dtos.user import UserDto def add_create_user_job(user: UserDto): return f"user {user.user_name} added"
19.666667
41
0.762712
20
118
4.3
0.7
0.186047
0
0
0
0
0
0
0
0
0
0
0.144068
118
5
42
23.6
0.851485
0
0
0
0
0
0.228814
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
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
1
0
0
1
1
1
0
0
6
555a496bf6ef787ee2e482c073694c1725d6aa95
21,561
py
Python
tests/preprocess/annotation/target_annotation_test.py
elifesciences/sciencebeam-gym
3ad654e08775e0c0cdd256753e14093bb5a42d44
[ "MIT" ]
25
2017-07-25T12:44:55.000Z
2020-09-30T22:16:50.000Z
tests/preprocess/annotation/target_annotation_test.py
elifesciences/sciencebeam-gym
3ad654e08775e0c0cdd256753e14093bb5a42d44
[ "MIT" ]
192
2017-11-29T08:57:03.000Z
2022-03-29T18:44:41.000Z
tests/preprocess/annotation/target_annotation_test.py
elifesciences/sciencebeam-gym
3ad654e08775e0c0cdd256753e14093bb5a42d44
[ "MIT" ]
6
2019-02-01T18:49:33.000Z
2020-07-26T08:18:46.000Z
from __future__ import division import json from lxml.builder import E from sciencebeam_gym.preprocess.annotation.target_annotation import ( strip_whitespace, xml_root_to_target_annotations, XmlMappingSuffix ) TAG1 = 'tag1' TAG2 = 'tag2' SOME_VALUE = 'some value' SOME_VALUE_2 = 'some value2' SOME_LONG...
34.38756
100
0.522286
2,210
21,561
4.742986
0.072398
0.181645
0.118298
0.141958
0.871494
0.858901
0.825033
0.796508
0.751288
0.719424
0
0.026248
0.370948
21,561
626
101
34.442492
0.74659
0
0
0.51463
0
0
0.055471
0
0
0
0
0
0.084337
1
0.063683
false
0
0.006885
0
0.07401
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
5569a9dbe5eb584498045708ee8aded31882fd20
198
py
Python
polls/views.py
cs-fullstack-fall-2018/django-intro1-bachmanryan
c7a94ebd132850212ab63c37d0516c0d398372c8
[ "Apache-2.0" ]
null
null
null
polls/views.py
cs-fullstack-fall-2018/django-intro1-bachmanryan
c7a94ebd132850212ab63c37d0516c0d398372c8
[ "Apache-2.0" ]
null
null
null
polls/views.py
cs-fullstack-fall-2018/django-intro1-bachmanryan
c7a94ebd132850212ab63c37d0516c0d398372c8
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse # Create your views here. def index(request): return HttpResponse("This is a invalid response use a different route")
22
75
0.782828
28
198
5.535714
0.821429
0.129032
0
0
0
0
0
0
0
0
0
0
0.161616
198
9
75
22
0.933735
0.116162
0
0
0
0
0.275862
0
0
0
0
0
0
1
0.25
false
0
0.5
0.25
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
1
0
0
1
1
1
0
0
6
559b5ea5d75a1f1a5eaa4eef6bbe0c5068fedbc1
32
py
Python
nes/nasbench201/__init__.py
automl/nes
1c54786c30acd6e19eb9708204bffc86b58ea272
[ "Apache-2.0" ]
26
2020-06-22T16:07:54.000Z
2022-03-23T08:12:05.000Z
nes/nasbench201/__init__.py
automl/nes
1c54786c30acd6e19eb9708204bffc86b58ea272
[ "Apache-2.0" ]
2
2020-07-13T06:23:18.000Z
2022-03-31T07:30:18.000Z
nes/nasbench201/__init__.py
automl/nes
1c54786c30acd6e19eb9708204bffc86b58ea272
[ "Apache-2.0" ]
4
2020-07-06T01:55:16.000Z
2021-08-02T00:00:14.000Z
from .worker import NB201Worker
16
31
0.84375
4
32
6.75
1
0
0
0
0
0
0
0
0
0
0
0.107143
0.125
32
1
32
32
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
e956a1ae5c81b96ab68bc33e2d9e7c067080e55d
199
py
Python
base/classroom/admin.py
Aliemeka/classdodo
21759edf134a24eb881078d910bbdcad36548707
[ "MIT" ]
2
2020-02-08T14:30:22.000Z
2021-01-30T02:06:47.000Z
base/classroom/admin.py
Aliemeka/classdodo
21759edf134a24eb881078d910bbdcad36548707
[ "MIT" ]
7
2021-03-30T12:33:47.000Z
2022-02-28T04:03:54.000Z
base/classroom/admin.py
Aliemeka/classdodo
21759edf134a24eb881078d910bbdcad36548707
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Subject, Test, Question, Choice admin.site.register(Subject) admin.site.register(Test) admin.site.register(Question) admin.site.register(Choice)
24.875
51
0.81407
28
199
5.785714
0.428571
0.222222
0.419753
0
0
0
0
0
0
0
0
0
0.080402
199
7
52
28.428571
0.885246
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
75c2c39324bdc890ec07159d39c9e34172049cc6
202
py
Python
website/core/admin.py
ddxai/personalpage
7ce69a8ffcc9127933a412cbfad3fa95935b17c5
[ "MIT" ]
null
null
null
website/core/admin.py
ddxai/personalpage
7ce69a8ffcc9127933a412cbfad3fa95935b17c5
[ "MIT" ]
null
null
null
website/core/admin.py
ddxai/personalpage
7ce69a8ffcc9127933a412cbfad3fa95935b17c5
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Category, Picture, About, Social admin.site.register(Category) admin.site.register(Picture) admin.site.register(About) admin.site.register(Social)
22.444444
52
0.811881
28
202
5.857143
0.428571
0.219512
0.414634
0
0
0
0
0
0
0
0
0
0.084158
202
8
53
25.25
0.886486
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
f940e92050cae9d003cd5b1dfc6d3d0b6be7dcdf
48
py
Python
lj/test/test_range.py
shliujing/qn-python-sdk
6a659b4197b7847b604b42cb223850977bcc86dc
[ "MIT" ]
null
null
null
lj/test/test_range.py
shliujing/qn-python-sdk
6a659b4197b7847b604b42cb223850977bcc86dc
[ "MIT" ]
null
null
null
lj/test/test_range.py
shliujing/qn-python-sdk
6a659b4197b7847b604b42cb223850977bcc86dc
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- print(range(0, 30, 5))
12
23
0.5
8
48
3
1
0
0
0
0
0
0
0
0
0
0
0.128205
0.1875
48
3
24
16
0.487179
0.4375
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
f988ce90fad933ceb95eca71c9dfc62343163f0a
92
py
Python
threshold_crypto/__init__.py
tompetersen/threshold-crypto
bd51be2aacd65cf877d025f229cc96baaf5ff2c1
[ "MIT" ]
15
2018-11-02T16:21:28.000Z
2022-03-21T05:01:08.000Z
threshold_crypto/__init__.py
tompetersen/threshold-crypto
bd51be2aacd65cf877d025f229cc96baaf5ff2c1
[ "MIT" ]
null
null
null
threshold_crypto/__init__.py
tompetersen/threshold-crypto
bd51be2aacd65cf877d025f229cc96baaf5ff2c1
[ "MIT" ]
2
2019-09-03T13:30:26.000Z
2021-10-08T03:56:25.000Z
from .participant import * from .central import * from .data import * from .number import *
18.4
26
0.73913
12
92
5.666667
0.5
0.441176
0
0
0
0
0
0
0
0
0
0
0.173913
92
4
27
23
0.894737
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
f9d11bba9d8ae3f5d4e7b9de7e1e15b1cf379752
36
py
Python
gaiadet/models/necks/__init__.py
zengming16/GAIA-det
cac6b5601d63aeaa3882cea2256dcb2539fecb34
[ "Apache-2.0" ]
149
2021-06-21T06:18:16.000Z
2022-03-23T08:55:23.000Z
gaiadet/models/necks/__init__.py
zengming16/GAIA-det
cac6b5601d63aeaa3882cea2256dcb2539fecb34
[ "Apache-2.0" ]
7
2021-07-11T07:52:58.000Z
2022-03-30T11:41:39.000Z
gaiadet/models/necks/__init__.py
zengming16/GAIA-det
cac6b5601d63aeaa3882cea2256dcb2539fecb34
[ "Apache-2.0" ]
13
2021-06-29T06:06:13.000Z
2022-02-28T01:31:17.000Z
from .dynamic_fpn import DynamicFPN
18
35
0.861111
5
36
6
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
36
1
36
36
0.9375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
ddb3a72ad6ee69576fd20757accfb34c1fb088e7
45
py
Python
tomoxtal/__init__.py
apeck12/tomoxtal
d2b3407708da2a35ecf061fb62ba397d837b980c
[ "MIT" ]
null
null
null
tomoxtal/__init__.py
apeck12/tomoxtal
d2b3407708da2a35ecf061fb62ba397d837b980c
[ "MIT" ]
null
null
null
tomoxtal/__init__.py
apeck12/tomoxtal
d2b3407708da2a35ecf061fb62ba397d837b980c
[ "MIT" ]
1
2021-11-22T18:30:30.000Z
2021-11-22T18:30:30.000Z
from .pipeline import * from .utils import *
15
23
0.733333
6
45
5.5
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.177778
45
2
24
22.5
0.891892
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
ddccbbf0c2e3c673b8a5615579250d3e4856099d
95
py
Python
sscls/modeling/__init__.py
poodarchu/sscls
8b1bd94b1ef4f0cef3ec6ecbb48be9dab129687b
[ "MIT" ]
2
2020-04-26T13:41:24.000Z
2020-05-06T10:15:06.000Z
sscls/modeling/__init__.py
poodarchu/sscls
8b1bd94b1ef4f0cef3ec6ecbb48be9dab129687b
[ "MIT" ]
null
null
null
sscls/modeling/__init__.py
poodarchu/sscls
8b1bd94b1ef4f0cef3ec6ecbb48be9dab129687b
[ "MIT" ]
null
null
null
from .builder import build_model, register_model __all__ = ["build_model", "register_model"]
19
48
0.778947
12
95
5.5
0.583333
0.30303
0.545455
0.69697
0
0
0
0
0
0
0
0
0.115789
95
4
49
23.75
0.785714
0
0
0
0
0
0.263158
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
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
1
0
0
0
0
6
ddea613f32c5b54db70269bb078759d5f73c99d7
20,291
py
Python
tests/tests.py
Amper/opyum
daa2320eb4e70f6c535a589b71bb9db4868aedfc
[ "BSD-3-Clause" ]
2
2016-01-24T16:48:02.000Z
2016-02-02T04:31:02.000Z
tests/tests.py
Amper/opyum
daa2320eb4e70f6c535a589b71bb9db4868aedfc
[ "BSD-3-Clause" ]
null
null
null
tests/tests.py
Amper/opyum
daa2320eb4e70f6c535a589b71bb9db4868aedfc
[ "BSD-3-Clause" ]
null
null
null
import unittest from opyum import * from timeit import timeit from itertools import repeat class BaseTestCase(unittest.TestCase): @staticmethod def optimize(source, optimization): return get_source\ ( value = source , optimized = True ...
41.494888
111
0.378345
1,869
20,291
3.904227
0.074906
0.108401
0.130053
0.038372
0.885706
0.852679
0.825134
0.793477
0.741264
0.70851
0
0.045371
0.491647
20,291
488
112
41.579918
0.662046
0.02474
0
0.669903
0
0.024272
0.211367
0.006978
0
0
0
0
0.007282
1
0.123786
false
0.024272
0.01699
0.002427
0.150485
0.002427
0
0
0
null
0
0
0
1
1
1
1
1
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
6
ddf4032fd0f4b42c46a9ece0e7a0563309202eb8
3,143
py
Python
sheets api test.py
jacblo/tests-and-early-projects
16ca33498fe336b089e24981e148ad81e57adb13
[ "CC0-1.0" ]
null
null
null
sheets api test.py
jacblo/tests-and-early-projects
16ca33498fe336b089e24981e148ad81e57adb13
[ "CC0-1.0" ]
null
null
null
sheets api test.py
jacblo/tests-and-early-projects
16ca33498fe336b089e24981e148ad81e57adb13
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Nov 10 22:02:19 2020 @author: y4 """ import getpass import gspread from oauth2client.service_account import ServiceAccountCredentials scope = ['https://www.googleapis.com/auth/spreadsheets'] credentials = ServiceAccountCredentials.from_json_keyfile_di...
74.833333
1,752
0.838053
250
3,143
10.44
0.656
0.019923
0.02069
0.024138
0.046743
0.024521
0.024521
0
0
0
0
0.1158
0.057588
3,143
42
1,753
74.833333
0.765361
0.029271
0
0.066667
0
0.066667
0.772921
0.616497
0
1
0
0
0
1
0
false
0.1
0.1
0
0.1
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
1
0
0
0
0
0
6
fb17483118db0cf0a2fb83d4135bbdd4e1999f00
147
py
Python
23/00/4.py
pylangstudy/201707
c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6
[ "CC0-1.0" ]
null
null
null
23/00/4.py
pylangstudy/201707
c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6
[ "CC0-1.0" ]
46
2017-06-30T22:19:07.000Z
2017-07-31T22:51:31.000Z
23/00/4.py
pylangstudy/201707
c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6
[ "CC0-1.0" ]
null
null
null
class MyClass: def __init__(self, value): self.__value = value def __int__(self): return int(self.__value) c = MyClass(1.23) print(int(c))
24.5
51
0.693878
23
147
3.913043
0.521739
0.3
0
0
0
0
0
0
0
0
0
0.02439
0.163265
147
5
52
29.4
0.707317
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0.2
0.6
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
34a746450643088ba6522820c56114808e874029
11,430
py
Python
ideas/models_sub_net_ls.py
carlov93/predictive_maintenance
eb00b82bde02668387d0308571296a82f78abef6
[ "MIT" ]
1
2020-02-11T07:50:33.000Z
2020-02-11T07:50:33.000Z
ideas/models_sub_net_ls.py
carlov93/predictive_maintenance
eb00b82bde02668387d0308571296a82f78abef6
[ "MIT" ]
12
2020-03-24T18:16:51.000Z
2022-03-12T00:15:55.000Z
ideas/models_sub_net_ls.py
carlov93/predictive_maintenance
eb00b82bde02668387d0308571296a82f78abef6
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import csv class AnalysisLayer(nn.Module): def __init__(self): super(AnalysisLayer, self).__init__() def forward(self, x): global latent_space latent_space = x.detach() return x class LstmMse_LatentSpace(nn.Module): def __init__(self,...
50.131579
118
0.613823
1,493
11,430
4.375084
0.089082
0.061084
0.065677
0.041794
0.877526
0.867422
0.85196
0.851347
0.850582
0.827159
0
0.003344
0.31986
11,430
228
119
50.131579
0.836892
0.213911
0
0.614865
0
0
0
0
0
0
0
0
0
1
0.074324
false
0
0.02027
0
0.168919
0.006757
0
0
0
null
0
0
0
1
1
1
1
1
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
6
34b4f88a97323bd7b5c670a15262e008ca007a8c
60
py
Python
tspsolver/ga/__init__.py
samueljackson92/tsp-solver
4f6403b40c7ba9062a9b7ffdde5e7d594163bc2f
[ "MIT" ]
2
2018-12-03T14:37:48.000Z
2020-12-01T23:13:56.000Z
tspsolver/ga/__init__.py
samueljackson92/tsp-solver
4f6403b40c7ba9062a9b7ffdde5e7d594163bc2f
[ "MIT" ]
null
null
null
tspsolver/ga/__init__.py
samueljackson92/tsp-solver
4f6403b40c7ba9062a9b7ffdde5e7d594163bc2f
[ "MIT" ]
null
null
null
from population_generation import SimplePopulationGenerator
30
59
0.933333
5
60
11
1
0
0
0
0
0
0
0
0
0
0
0
0.066667
60
1
60
60
0.982143
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
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
1
0
1
0
0
6
34bf5038ba8f51d2841bc3085e229e42027072f8
12,469
py
Python
test/functions_test.py
aHeraud/cgp-tetris
a3483b279bf0bc53edcb3a871873dd576a33c01c
[ "MIT" ]
7
2018-11-11T17:46:23.000Z
2021-03-30T07:06:59.000Z
test/functions_test.py
aHeraud/cgp-tetris
a3483b279bf0bc53edcb3a871873dd576a33c01c
[ "MIT" ]
null
null
null
test/functions_test.py
aHeraud/cgp-tetris
a3483b279bf0bc53edcb3a871873dd576a33c01c
[ "MIT" ]
1
2018-11-16T05:30:05.000Z
2018-11-16T05:30:05.000Z
import sys from os import getcwd sys.path.append(getcwd()) # if run from root sys.path.append(getcwd() + '/..') # if run from test/ from cgp.functions import mathematics as mat from cgp.functions import support as supp from cgp.functions import lists import numpy as np import unittest # TODO: np.subtract '-' is depr...
28.930394
64
0.501724
1,999
12,469
3.043522
0.052026
0.023669
0.053912
0.100099
0.858317
0.846318
0.826759
0.794214
0.782544
0.723866
0
0.055589
0.336354
12,469
430
65
28.997674
0.679637
0.034165
0
0.674931
0
0
0.000915
0
0
0
0
0.002326
0.179063
1
0.110193
false
0.008264
0.019284
0
0.137741
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
34d580e831c14e5d1f3a3f31802ad0dbafe8d9e3
32
py
Python
towise/__init__.py
argedor/TowisePythonAPI
95026c5f9c80aa9ccca36a625c498666e686c1b8
[ "MIT" ]
null
null
null
towise/__init__.py
argedor/TowisePythonAPI
95026c5f9c80aa9ccca36a625c498666e686c1b8
[ "MIT" ]
null
null
null
towise/__init__.py
argedor/TowisePythonAPI
95026c5f9c80aa9ccca36a625c498666e686c1b8
[ "MIT" ]
null
null
null
from towise.Towise import Towise
32
32
0.875
5
32
5.6
0.6
0
0
0
0
0
0
0
0
0
0
0
0.09375
32
1
32
32
0.965517
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
34ee18ecbb200448add7d2da022c22582b0145f7
37
py
Python
marrow/schema/validation/testing.py
marrow/schema
e2b16ec45329a646156388936c2e779ddcd8fa77
[ "MIT" ]
3
2016-09-03T07:00:50.000Z
2021-06-19T18:52:56.000Z
marrow/schema/validation/testing.py
marrow/schema
e2b16ec45329a646156388936c2e779ddcd8fa77
[ "MIT" ]
6
2015-01-23T19:32:04.000Z
2019-10-23T15:36:48.000Z
marrow/schema/validation/testing.py
marrow/schema
e2b16ec45329a646156388936c2e779ddcd8fa77
[ "MIT" ]
2
2015-11-13T20:02:17.000Z
2018-01-30T12:01:47.000Z
from ..testing import ValidationTest
18.5
36
0.837838
4
37
7.75
1
0
0
0
0
0
0
0
0
0
0
0
0.108108
37
1
37
37
0.939394
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
34f633886e633283eb5275bebd3ddad1ff53833e
2,608
py
Python
dizoo/gfootball/envs/action/gfootball_action.py
sailxjx/DI-engine
c6763f8e2ba885a2a02f611195a1b5f8b50bff00
[ "Apache-2.0" ]
464
2021-07-08T07:26:33.000Z
2022-03-31T12:35:16.000Z
dizoo/gfootball/envs/action/gfootball_action.py
sailxjx/DI-engine
c6763f8e2ba885a2a02f611195a1b5f8b50bff00
[ "Apache-2.0" ]
177
2021-07-09T08:22:55.000Z
2022-03-31T07:35:22.000Z
dizoo/gfootball/envs/action/gfootball_action.py
sailxjx/DI-engine
c6763f8e2ba885a2a02f611195a1b5f8b50bff00
[ "Apache-2.0" ]
92
2021-07-08T12:16:37.000Z
2022-03-31T09:24:41.000Z
from collections import namedtuple import numpy as np from ding.envs.common import EnvElement class GfootballSpAction(EnvElement): _name = "gfootballSpAction" _action_keys = ['action_type'] Action = namedtuple('Action', _action_keys) def _init(self, cfg): self.default_val = None sel...
27.744681
110
0.495399
249
2,608
4.951807
0.289157
0.090835
0.029197
0.038929
0.746148
0.739659
0.739659
0.739659
0.739659
0.739659
0
0.012492
0.38612
2,608
93
111
28.043011
0.757651
0.061733
0
0.712329
0
0
0.201566
0
0
0
0
0
0
1
0.109589
false
0
0.041096
0.082192
0.342466
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
9b490bde10834646c6c1d745e748b4fc28287274
200
py
Python
src/eduid_userdb/group_management/__init__.py
SUNET/eduid-userdb
5970880caf0b0e2bdee6c23869ef287acc87af2a
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/eduid_userdb/group_management/__init__.py
SUNET/eduid-userdb
5970880caf0b0e2bdee6c23869ef287acc87af2a
[ "BSD-2-Clause-FreeBSD" ]
12
2015-08-28T12:05:32.000Z
2020-06-23T13:31:29.000Z
src/eduid_userdb/group_management/__init__.py
SUNET/eduid-userdb
5970880caf0b0e2bdee6c23869ef287acc87af2a
[ "BSD-2-Clause-FreeBSD" ]
2
2016-10-24T06:37:33.000Z
2016-11-21T11:39:39.000Z
# -*- coding: utf-8 -*- from eduid_userdb.group_management.db import GroupManagementInviteStateDB from eduid_userdb.group_management.state import GroupInviteState, GroupRole __author__ = 'lundberg'
28.571429
75
0.82
22
200
7.090909
0.727273
0.115385
0.192308
0.25641
0.384615
0
0
0
0
0
0
0.005525
0.095
200
6
76
33.333333
0.856354
0.105
0
0
0
0
0.045198
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
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
1
0
1
0
0
6
9b640826dfa524bad0d5f8158e91adc7081023ab
90
py
Python
simuvex/simuvex/plugins/posix.py
Ruide/angr-dev
964dc80c758e25c698c2cbcc454ef5954c5fa0a0
[ "BSD-2-Clause" ]
86
2015-08-06T23:25:07.000Z
2022-02-17T14:58:22.000Z
simuvex/simuvex/plugins/posix.py
Ruide/angr-dev
964dc80c758e25c698c2cbcc454ef5954c5fa0a0
[ "BSD-2-Clause" ]
132
2015-09-10T19:06:59.000Z
2018-10-04T20:36:45.000Z
simuvex/simuvex/plugins/posix.py
Ruide/angr-dev
964dc80c758e25c698c2cbcc454ef5954c5fa0a0
[ "BSD-2-Clause" ]
80
2015-08-07T10:30:20.000Z
2020-03-21T14:45:28.000Z
print '... Importing simuvex/plugins/posix.py ...' from angr.state_plugins.posix import *
30
50
0.744444
12
90
5.5
0.833333
0.363636
0
0
0
0
0
0
0
0
0
0
0.1
90
2
51
45
0.814815
0
0
0
0
0
0.466667
0.266667
0
0
0
0
0
0
null
null
0
1
null
null
0.5
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
1
0
0
0
1
0
0
1
0
6
9bbd69c590046df63cad95e7d7c76a1f25212479
1,653
py
Python
tests/augmenters/test_augmentation_utils/test_color_jitter.py
abhisharsinha/similarity
0e5ae8c1757d6ef37dc1e5549af26bf15954b09e
[ "Apache-2.0" ]
null
null
null
tests/augmenters/test_augmentation_utils/test_color_jitter.py
abhisharsinha/similarity
0e5ae8c1757d6ef37dc1e5549af26bf15954b09e
[ "Apache-2.0" ]
null
null
null
tests/augmenters/test_augmentation_utils/test_color_jitter.py
abhisharsinha/similarity
0e5ae8c1757d6ef37dc1e5549af26bf15954b09e
[ "Apache-2.0" ]
null
null
null
import pytest from tensorflow_similarity.augmenters.augmentation_utils import color_jitter import tensorflow as tf def create_img(width=32, height=32, channels=3): return tf.random.uniform( [width, height, channels], 0, 1) def test_random_color_jitter_multiplicative(): # Random Color Jitter img = cre...
30.611111
81
0.68542
224
1,653
4.834821
0.21875
0.142198
0.125577
0.110803
0.806094
0.761773
0.761773
0.761773
0.731302
0.731302
0
0.020347
0.197217
1,653
53
82
31.188679
0.79578
0.119177
0
0.555556
0
0
0.030408
0
0
0
0
0
0.222222
1
0.083333
false
0
0.083333
0.027778
0.194444
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
32cffe81520b53844fba3372687f99ae9400341c
634
py
Python
tests/test_document_generator.py
cyraxjoe/pypfop
7cb716f33a591878825ab8f2757f3bebd24ebc08
[ "Apache-2.0" ]
9
2015-03-11T07:42:50.000Z
2021-12-08T12:32:39.000Z
tests/test_document_generator.py
cyraxjoe/pypfop
7cb716f33a591878825ab8f2757f3bebd24ebc08
[ "Apache-2.0" ]
null
null
null
tests/test_document_generator.py
cyraxjoe/pypfop
7cb716f33a591878825ab8f2757f3bebd24ebc08
[ "Apache-2.0" ]
5
2019-06-05T17:22:28.000Z
2021-11-12T01:45:19.000Z
import unittest class TestPublicProperties(unittest.TestCase): def test_output_formats(self): pass def test_log(self): pass class TestDocumentGenerator(unittest.TestCase): def test_object_structure(self): pass def test_from_fops(self): pass def test__setup_buil...
16.25641
47
0.64511
75
634
5.093333
0.36
0.201571
0.259162
0.353403
0.329843
0
0
0
0
0
0
0
0.290221
634
38
48
16.684211
0.848889
0
0
0.44
0
0
0
0
0
0
0
0
0
1
0.44
false
0.44
0.04
0
0.56
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
1
0
1
0
0
1
0
0
6
fd0a8f7a5f804f3b40e1496139f74ca7608587ae
79
py
Python
deepreg/__init__.py
mathpluscode/DeepReg
80854094feafec998fa6237199066556c73f31f9
[ "Apache-2.0" ]
null
null
null
deepreg/__init__.py
mathpluscode/DeepReg
80854094feafec998fa6237199066556c73f31f9
[ "Apache-2.0" ]
null
null
null
deepreg/__init__.py
mathpluscode/DeepReg
80854094feafec998fa6237199066556c73f31f9
[ "Apache-2.0" ]
null
null
null
# flake8: noqa import deepreg.dataset import deepreg.loss import deepreg.model
15.8
22
0.822785
11
79
5.909091
0.636364
0.6
0
0
0
0
0
0
0
0
0
0.014286
0.113924
79
4
23
19.75
0.914286
0.151899
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
fd23b9fe9fe3ed82ec3b9715d12e642566555c32
270
py
Python
roxar_api_utils/wells/__init__.py
RoxarAPI/roxar_api_utils
c9e46c39948e0c55b3f46b3b2456678fe37f2da8
[ "MIT" ]
null
null
null
roxar_api_utils/wells/__init__.py
RoxarAPI/roxar_api_utils
c9e46c39948e0c55b3f46b3b2456678fe37f2da8
[ "MIT" ]
null
null
null
roxar_api_utils/wells/__init__.py
RoxarAPI/roxar_api_utils
c9e46c39948e0c55b3f46b3b2456678fe37f2da8
[ "MIT" ]
null
null
null
from .md_from_tvd import md_from_tvd from .branchedwells import BranchedWells from .wellcopy import copy_well from .wellcopy import copy_wellbores from .wellcopy import copy_log_curves from .wellcopy import copy_log_runs from .wellcopy import copy_trajectories
30
41
0.837037
39
270
5.512821
0.333333
0.27907
0.418605
0.511628
0.232558
0
0
0
0
0
0
0
0.137037
270
8
42
33.75
0.922747
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
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
1
0
1
0
0
0
0
6
b5cb704842e4d9af1e09c45f1035d8481a1a3e4d
24,726
py
Python
test_graph/tests.py
suselrd/django-social-graph
798d5bce0c9e6bfa734d0e5a33a2cc6b8c2362da
[ "BSD-3-Clause" ]
null
null
null
test_graph/tests.py
suselrd/django-social-graph
798d5bce0c9e6bfa734d0e5a33a2cc6b8c2362da
[ "BSD-3-Clause" ]
null
null
null
test_graph/tests.py
suselrd/django-social-graph
798d5bce0c9e6bfa734d0e5a33a2cc6b8c2362da
[ "BSD-3-Clause" ]
null
null
null
from time import sleep, time from django.contrib.contenttypes.models import ContentType from django.contrib.auth.models import User, Group from django import forms from django.contrib.sites.models import Site from django.test import TestCase from social_graph.api import Graph, TO_NODE, ATTRIBUTES from social_graph.form...
49.551102
120
0.631238
2,944
24,726
5.179688
0.059443
0.103285
0.055086
0.050495
0.836645
0.80143
0.779067
0.727392
0.702276
0.68752
0
0.014771
0.230607
24,726
498
121
49.650602
0.786796
0.023295
0
0.569652
0
0
0.050976
0
0
0
0
0
0.28607
1
0.057214
false
0.002488
0.034826
0.002488
0.104478
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
b5d723a2535c7afe292e39ca46095c0d3926edd4
2,060
py
Python
tests/test_sample.py
mirnylab/cooltools
ab5d775ee50fb3d4483520a40f758914348e89b7
[ "MIT" ]
39
2017-10-15T02:59:32.000Z
2020-09-15T21:53:56.000Z
tests/test_sample.py
mirnylab/cooltools
ab5d775ee50fb3d4483520a40f758914348e89b7
[ "MIT" ]
131
2017-09-05T15:56:24.000Z
2020-09-22T13:23:54.000Z
tests/test_sample.py
mirnylab/cooltools
ab5d775ee50fb3d4483520a40f758914348e89b7
[ "MIT" ]
29
2017-04-29T23:06:28.000Z
2020-08-28T19:14:23.000Z
import os.path as op import cooler import cooltools import cooltools.api from numpy import testing def test_sample(request): # perform test: clr = cooler.Cooler(op.join(request.fspath.dirname, "data/CN.mm9.1000kb.cool")) cooltools.api.sample.sample( clr, op.join(request.fspath.dirname, "...
32.698413
84
0.675728
283
2,060
4.837456
0.212014
0.043828
0.09496
0.138787
0.84076
0.807159
0.798393
0.798393
0.798393
0.798393
0
0.061483
0.19466
2,060
62
85
33.225806
0.763713
0.124757
0
0.553191
0
0
0.198775
0.188753
0
0
0
0
0.085106
1
0.042553
false
0
0.106383
0
0.148936
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
1fa0b7639975d874e3f4d26dd19daca98c62f95e
55
py
Python
python/non_buildable_2/number_returns/number_returns/gimmes.py
nagi49000/tutorial-memory-refs-and-folder-structures
bede74884fc96d89b9cfdd45fba3c69b3f9445c1
[ "MIT" ]
null
null
null
python/non_buildable_2/number_returns/number_returns/gimmes.py
nagi49000/tutorial-memory-refs-and-folder-structures
bede74884fc96d89b9cfdd45fba3c69b3f9445c1
[ "MIT" ]
null
null
null
python/non_buildable_2/number_returns/number_returns/gimmes.py
nagi49000/tutorial-memory-refs-and-folder-structures
bede74884fc96d89b9cfdd45fba3c69b3f9445c1
[ "MIT" ]
null
null
null
def gimme5(): return 5 def gimme3(): return 3
9.166667
13
0.581818
8
55
4
0.75
0
0
0
0
0
0
0
0
0
0
0.105263
0.309091
55
5
14
11
0.736842
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0
0
0.5
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
1
1
0
0
1
1
0
0
6
1fb8a11e1163474712bce1199e2c8cecbacef6b6
21
py
Python
abm/in-depth/in_depth_agent_based_modeling/simulation_models/spm/__init__.py
transentis/bptk_py_tutorial
db622858401fb63f773bc5917414bd42872c5010
[ "MIT" ]
34
2020-02-01T04:53:56.000Z
2022-03-07T19:28:59.000Z
abm/how-to/how_to_choose_datacollector/simulation_models/spm/__init__.py
transentis/bptk_py_tutorial
db622858401fb63f773bc5917414bd42872c5010
[ "MIT" ]
3
2021-05-04T07:08:26.000Z
2022-03-02T11:39:51.000Z
abm/in-depth/in_depth_agent_based_modeling/simulation_models/spm/__init__.py
transentis/bptk_py_tutorial
db622858401fb63f773bc5917414bd42872c5010
[ "MIT" ]
14
2020-03-26T21:08:54.000Z
2022-02-04T14:20:01.000Z
from .SPM import SPM
10.5
20
0.761905
4
21
4
0.75
0
0
0
0
0
0
0
0
0
0
0
0.190476
21
2
20
10.5
0.941176
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
2f133a8218630a88f69373d4c5dd7e59491e5316
1,744
py
Python
pwnlib/elf/maps.py
tkmikan/pwntools
1238fc359eb72313d3f82849b2effdb7063ab429
[ "MIT" ]
9
2018-07-16T23:18:15.000Z
2019-11-14T10:06:04.000Z
pwnlib/elf/maps.py
tkmikan/pwntools
1238fc359eb72313d3f82849b2effdb7063ab429
[ "MIT" ]
1
2018-10-31T22:03:35.000Z
2018-11-02T20:36:21.000Z
pwnlib/elf/maps.py
tkmikan/pwntools
1238fc359eb72313d3f82849b2effdb7063ab429
[ "MIT" ]
3
2018-10-31T04:34:30.000Z
2021-02-06T00:39:32.000Z
from __future__ import absolute_import # Pre-assembled shellcode for each architecture. # # This is literally the output of: # shellcraft $ARCH.linux.cat2 /proc/self/maps # shellcraft $ARCH.linux.syscalls.exit 0 CAT_PROC_MAPS_EXIT = { 'i386': '680101010181342460717201686c662f6d68632f7365682f70726f8...
62.285714
274
0.858945
52
1,744
28.653846
0.865385
0.018792
0.025503
0
0
0
0
0
0
0
0
0.578813
0.101491
1,744
27
275
64.592593
0.372049
0.097477
0
0
0
0
0.836735
0.80102
0
1
0
0
0
1
0
false
0
0.047619
0
0.047619
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
6
2f307464159a3852316b48a6db2a19ab494960be
16
py
Python
py/ser.py
clker/xriscv
9ebaf87360da32a7659b376807c122a1f112cd70
[ "MIT" ]
3
2019-09-17T03:06:35.000Z
2020-08-12T06:42:09.000Z
py/ser.py
clker/xriscv
9ebaf87360da32a7659b376807c122a1f112cd70
[ "MIT" ]
null
null
null
py/ser.py
clker/xriscv
9ebaf87360da32a7659b376807c122a1f112cd70
[ "MIT" ]
1
2020-08-12T07:21:19.000Z
2020-08-12T07:21:19.000Z
import serial
4
13
0.75
2
16
6
1
0
0
0
0
0
0
0
0
0
0
0
0.25
16
3
14
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
2f699a530389a6ebbae66bc21c4f49db0b432c8f
52
py
Python
futura_ui/app/ui/recipes/recipes.py
pjamesjoyce/futura
fc4558bd07626b0d1e89093c0107ccd989ceaa6a
[ "BSD-3-Clause" ]
6
2020-05-04T16:48:03.000Z
2022-03-29T14:58:16.000Z
futura_ui/app/ui/recipes/recipes.py
pjamesjoyce/futura
fc4558bd07626b0d1e89093c0107ccd989ceaa6a
[ "BSD-3-Clause" ]
1
2021-09-13T06:41:21.000Z
2021-09-13T06:41:21.000Z
futura_ui/app/ui/recipes/recipes.py
pjamesjoyce/futura
fc4558bd07626b0d1e89093c0107ccd989ceaa6a
[ "BSD-3-Clause" ]
1
2020-11-13T23:02:18.000Z
2020-11-13T23:02:18.000Z
def new_recipe(): print('creating a new recipe')
26
34
0.692308
8
52
4.375
0.75
0.514286
0
0
0
0
0
0
0
0
0
0
0.173077
52
2
34
26
0.813953
0
0
0
0
0
0.396226
0
0
0
0
0
0
1
0.5
true
0
0
0
0.5
0.5
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
1
1
0
0
0
0
1
0
6
85d08e0254709e63c95a612c60f8f3eb6ffb3f64
47
py
Python
ptk/__init__.py
patrickctrf/6-DOF-Inertial-Odometry
4e7a96408db69d609f0250fd6629c39173fc3863
[ "BSD-3-Clause" ]
null
null
null
ptk/__init__.py
patrickctrf/6-DOF-Inertial-Odometry
4e7a96408db69d609f0250fd6629c39173fc3863
[ "BSD-3-Clause" ]
null
null
null
ptk/__init__.py
patrickctrf/6-DOF-Inertial-Odometry
4e7a96408db69d609f0250fd6629c39173fc3863
[ "BSD-3-Clause" ]
null
null
null
from .utils import * from .timeseries import *
15.666667
25
0.744681
6
47
5.833333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.170213
47
2
26
23.5
0.897436
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
85e3aa98e4a4e4287bb423e4c8d3b6bc71b9d39a
42
py
Python
__init__.py
tr-ace/CiscoHelper
d69b91a13ed20335010ff7bdcfac708ac2d5a1f5
[ "MIT" ]
null
null
null
__init__.py
tr-ace/CiscoHelper
d69b91a13ed20335010ff7bdcfac708ac2d5a1f5
[ "MIT" ]
1
2021-03-09T23:01:42.000Z
2021-03-09T23:01:42.000Z
__init__.py
tr-ace/CiscoHelper
d69b91a13ed20335010ff7bdcfac708ac2d5a1f5
[ "MIT" ]
1
2021-03-09T20:59:49.000Z
2021-03-09T20:59:49.000Z
from user import User from dir import Dir
14
21
0.809524
8
42
4.25
0.5
0
0
0
0
0
0
0
0
0
0
0
0.190476
42
2
22
21
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
c81e8c00882ac688c5acd1064e1c6125e329f86b
59,166
py
Python
webfront/tests/tests_organism.py
ProteinsWebTeam/project-skeleton
7aeb971ba2d9bfe272e0590bd4484afb61336b96
[ "Apache-2.0" ]
6
2020-05-25T17:35:52.000Z
2022-03-26T00:45:55.000Z
webfront/tests/tests_organism.py
ProteinsWebTeam/project-skeleton
7aeb971ba2d9bfe272e0590bd4484afb61336b96
[ "Apache-2.0" ]
76
2016-07-29T09:22:34.000Z
2022-03-15T07:57:17.000Z
webfront/tests/tests_organism.py
ProteinsWebTeam/project-skeleton
7aeb971ba2d9bfe272e0590bd4484afb61336b96
[ "Apache-2.0" ]
1
2017-04-09T20:08:30.000Z
2017-04-09T20:08:30.000Z
from rest_framework import status from webfront.models import Taxonomy from webfront.tests.InterproRESTTestCase import InterproRESTTestCase class TaxonomyFixturesTest(InterproRESTTestCase): def test_the_fixtures_are_loaded(self): taxa = Taxonomy.objects.all() self.assertEqual(taxa.count(), 6) ...
42.873913
102
0.590694
6,569
59,166
5.06074
0.02801
0.085188
0.035976
0.055348
0.927746
0.886957
0.831879
0.798189
0.765401
0.744225
0
0.024535
0.292516
59,166
1,379
103
42.905004
0.769655
0.039381
0
0.613139
0
0
0.208417
0.114298
0
0
0
0
0.140308
1
0.072182
false
0
0.002433
0
0.084347
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
c099e38c328a7185742a9021971ff4c9c838a38c
128
py
Python
src/test/python/testDataSetRepo/provider/library/b/c.py
ninjapapa/SMV2
42cf9f176c3ec0bed61f66fbf859c18d97027dd6
[ "Apache-2.0" ]
null
null
null
src/test/python/testDataSetRepo/provider/library/b/c.py
ninjapapa/SMV2
42cf9f176c3ec0bed61f66fbf859c18d97027dd6
[ "Apache-2.0" ]
34
2022-02-26T04:27:34.000Z
2022-03-29T23:05:47.000Z
src/test/python/testDataSetRepo/provider/library/b/c.py
ninjapapa/SMV2
42cf9f176c3ec0bed61f66fbf859c18d97027dd6
[ "Apache-2.0" ]
null
null
null
from smv.provider import SmvProvider class SomeProvider(SmvProvider): @staticmethod def provider_type(): return "some"
21.333333
38
0.765625
14
128
6.928571
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.15625
128
5
39
25.6
0.898148
0
0
0
0
0
0.03125
0
0
0
0
0
0
1
0.25
true
0
0.25
0.25
0.75
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
1
0
0
1
1
0
0
6
c0bd43bb567c564430d9caced4c527f47619dacd
8,197
py
Python
plgx-esp/migrations/versions/698f286777f0_.py
dhoomakethu/plgx-esp
b466b52a5e16a0d12a61e505e48add83bee5bad4
[ "MIT" ]
20
2019-12-09T13:55:13.000Z
2022-01-10T09:10:42.000Z
plgx-esp/migrations/versions/698f286777f0_.py
dhoomakethu/plgx-esp
b466b52a5e16a0d12a61e505e48add83bee5bad4
[ "MIT" ]
13
2019-12-03T13:27:27.000Z
2021-12-03T05:22:49.000Z
plgx-esp/migrations/versions/698f286777f0_.py
dhoomakethu/plgx-esp
b466b52a5e16a0d12a61e505e48add83bee5bad4
[ "MIT" ]
16
2019-11-15T11:45:06.000Z
2022-01-07T08:07:11.000Z
"""empty message Revision ID: 698f286777f0 Revises: a76be8b92780 Create Date: 2018-09-10 15:11:38.552110 """ # revision identifiers, used by Alembic. revision = '698f286777f0' down_revision = 'a76be8b92780' from alembic import op import sqlalchemy as sa import polylogyx.database from sqlalchemy.dialects import post...
42.252577
99
0.572283
875
8,197
5.139429
0.113143
0.065377
0.092506
0.099622
0.832333
0.81143
0.749166
0.719146
0.691127
0.649099
0
0.009702
0.29584
8,197
193
100
42.471503
0.769404
0.035989
0
0.722581
0
0
0.176224
0.018818
0
0
0
0
0
1
0.012903
false
0
0.025806
0
0.03871
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
238e8772372967a73c2983e0d5f731f7ed1725ec
43,195
py
Python
tests/test_fragment.py
Nikolay-Lysenko/dodecaphony
1a02af4b8b11785b65596b7ce14e1790436e0098
[ "MIT" ]
2
2021-08-29T03:20:21.000Z
2021-11-22T01:20:55.000Z
tests/test_fragment.py
Nikolay-Lysenko/dodecaphony
1a02af4b8b11785b65596b7ce14e1790436e0098
[ "MIT" ]
null
null
null
tests/test_fragment.py
Nikolay-Lysenko/dodecaphony
1a02af4b8b11785b65596b7ce14e1790436e0098
[ "MIT" ]
1
2021-08-29T03:20:53.000Z
2021-08-29T03:20:53.000Z
""" Test `dodecaphony.fragment` module. Author: Nikolay Lysenko """ from collections import Counter from typing import Any import pytest from dodecaphony.fragment import ( Event, Fragment, FragmentParams, SUPPORTED_DURATIONS, calculate_durations_of_measures, calculate_number_of_undefined_ev...
41.216603
119
0.49096
5,104
43,195
3.869122
0.038597
0.023699
0.092161
0.059601
0.851934
0.794106
0.758963
0.74124
0.72858
0.703869
0
0.055953
0.369441
43,195
1,047
120
41.255969
0.66909
0.038315
0
0.647872
0
0
0.059871
0.003937
0
0
0
0
0.020213
1
0.015957
false
0
0.004255
0
0.020213
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
23c49af2b4a4617044b1f634b3f89a8bc8361d4e
22
py
Python
src/robusta/integrations/slack/__init__.py
kandahk/robusta
61a2001cb1c4e90e8a74b810463ec99e6cb80787
[ "MIT" ]
273
2021-12-28T20:48:48.000Z
2022-03-31T16:03:13.000Z
src/robusta/integrations/slack/__init__.py
kandahk/robusta
61a2001cb1c4e90e8a74b810463ec99e6cb80787
[ "MIT" ]
103
2022-01-10T11:45:47.000Z
2022-03-31T16:31:11.000Z
src/robusta/integrations/slack/__init__.py
kandahk/robusta
61a2001cb1c4e90e8a74b810463ec99e6cb80787
[ "MIT" ]
35
2021-12-30T15:30:14.000Z
2022-03-28T11:43:57.000Z
from .sender import *
11
21
0.727273
3
22
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.181818
22
1
22
22
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
23fbdff0dbe3bdbd10a85e8b96ea314819fe183d
49
py
Python
config/__init__.py
akyruu/blender-cartography-addon
4f34b029d9b6a72619227ab3ceaed9393506934e
[ "Apache-2.0" ]
null
null
null
config/__init__.py
akyruu/blender-cartography-addon
4f34b029d9b6a72619227ab3ceaed9393506934e
[ "Apache-2.0" ]
null
null
null
config/__init__.py
akyruu/blender-cartography-addon
4f34b029d9b6a72619227ab3ceaed9393506934e
[ "Apache-2.0" ]
null
null
null
from . import mappings from .properties import *
16.333333
25
0.77551
6
49
6.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.163265
49
2
26
24.5
0.926829
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
9b05240c2f8e613f3b3ab50085bea2d8b24a2f9b
182
py
Python
groundwork/__init__.py
amhaske/groundwork
abd63a54a34434ebdf527b1619c8bc90d8f97c28
[ "MIT" ]
17
2016-07-27T12:32:06.000Z
2022-01-24T15:58:04.000Z
groundwork/__init__.py
amhaske/groundwork
abd63a54a34434ebdf527b1619c8bc90d8f97c28
[ "MIT" ]
31
2016-12-16T07:29:54.000Z
2019-05-07T07:08:18.000Z
groundwork/__init__.py
amhaske/groundwork
abd63a54a34434ebdf527b1619c8bc90d8f97c28
[ "MIT" ]
6
2018-03-05T13:53:31.000Z
2019-06-07T05:33:54.000Z
from __future__ import absolute_import from groundwork.groundwork import App from groundwork.patterns.gw_base_pattern import GwBasePattern from groundwork.version import __version__
36.4
61
0.89011
23
182
6.565217
0.521739
0.278146
0
0
0
0
0
0
0
0
0
0
0.087912
182
4
62
45.5
0.909639
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
9b218957caac1673aeb2289192155089e828e3b9
8,764
py
Python
pase/models/aspp.py
ishine/pase
2a41e63e54fa8673efd12c16cdcdd5ad4f0f125e
[ "MIT" ]
428
2019-04-08T04:34:00.000Z
2022-03-18T08:44:31.000Z
pase/models/aspp.py
ishine/pase
2a41e63e54fa8673efd12c16cdcdd5ad4f0f125e
[ "MIT" ]
46
2019-04-07T23:38:53.000Z
2022-02-19T12:06:12.000Z
pase/models/aspp.py
ishine/pase
2a41e63e54fa8673efd12c16cdcdd5ad4f0f125e
[ "MIT" ]
89
2019-04-08T18:17:25.000Z
2022-03-31T02:39:45.000Z
import math import torch import torch.nn as nn from .modules import * import torch.nn.functional as F class _ASPPModule(Model): def __init__(self, inplanes, planes, kernel_size, padding, dilation): super(_ASPPModule, self).__init__() self.atrous_conv = nn.Conv1d(inplanes, planes, kernel_size=kerne...
38.438596
145
0.534231
1,033
8,764
4.365924
0.102614
0.046563
0.028825
0.026608
0.841685
0.818182
0.762971
0.745455
0.738137
0.738137
0
0.037795
0.347901
8,764
227
146
38.60793
0.751356
0.022935
0
0.628049
0
0
0.003157
0
0
0
0
0
0
1
0.091463
false
0
0.030488
0
0.182927
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
f1da34745cb7f808236fef1dda49fe8ee6ac1be5
1,511
py
Python
core/tests/test_notify.py
uktrade/dnb-service
c8f22af82af70f33b8d6bf92e3ca6992fce1f220
[ "MIT" ]
4
2019-12-03T14:59:50.000Z
2020-04-28T12:42:24.000Z
core/tests/test_notify.py
uktrade/dnb-service
c8f22af82af70f33b8d6bf92e3ca6992fce1f220
[ "MIT" ]
17
2019-04-11T13:12:57.000Z
2022-01-13T10:08:07.000Z
core/tests/test_notify.py
uktrade/dnb-service
c8f22af82af70f33b8d6bf92e3ca6992fce1f220
[ "MIT" ]
3
2021-05-11T16:13:57.000Z
2022-03-08T15:57:19.000Z
import io from unittest import mock from core.notify import notify_by_email def test_notify_by_email_no_file(monkeypatch): """ Test notify_by_email function when there is no file in the template context. """ notifications_client_mock = mock.Mock() monkeypatch.setattr('core.notify.notifications_cl...
32.847826
86
0.716744
180
1,511
5.677778
0.266667
0.148728
0.089041
0.066536
0.816047
0.776908
0.776908
0.776908
0.776908
0.776908
0
0.000818
0.191264
1,511
45
87
33.577778
0.835516
0.100596
0
0.470588
0
0
0.133283
0.081325
0
0
0
0
0.058824
1
0.058824
false
0
0.088235
0
0.147059
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
f1f126c65696bd914af678555f8e65d752594270
3,567
py
Python
spyder_okvim/executor/tests/test_colon.py
ok97465/spyder_okvim
6ba22c0013a2419a14f7950bd8931d6ee7e107e4
[ "MIT" ]
3
2021-03-13T13:01:03.000Z
2021-12-05T05:19:55.000Z
spyder_okvim/executor/tests/test_colon.py
ok97465/spyder_okvim
6ba22c0013a2419a14f7950bd8931d6ee7e107e4
[ "MIT" ]
18
2020-11-02T22:08:01.000Z
2021-09-20T05:53:12.000Z
spyder_okvim/executor/tests/test_colon.py
ok97465/spyder_okvim
6ba22c0013a2419a14f7950bd8931d6ee7e107e4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """.""" """Tests for the executor_colon.""" # Third party imports import pytest from qtpy.QtCore import Qt @pytest.mark.parametrize( "text, cmd_list, cmd_line_expected", [ ('', [":", "k", "k"], ':kk'), ('', [":", "k", "k", Qt.Key_Escape], ''), ] ) def test_colon_cmd...
29.237705
63
0.663302
507
3,567
4.34714
0.149901
0.127042
0.123412
0.15245
0.855717
0.848457
0.787659
0.787659
0.787659
0.748185
0
0.000347
0.191758
3,567
121
64
29.479339
0.764135
0.044015
0
0.662791
0
0
0.022236
0
0
0
0
0
0.151163
1
0.093023
false
0
0.023256
0
0.116279
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
f1f174e3d29e329b3d0b1b16abe2d3e98481f2fa
96
py
Python
venv/lib/python3.8/site-packages/clikit/handler/help/help_text_handler.py
GiulianaPola/select_repeats
17a0d053d4f874e42cf654dd142168c2ec8fbd11
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/clikit/handler/help/help_text_handler.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/clikit/handler/help/help_text_handler.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/e7/47/c0/77299a9d17091be40ab8b2b55aed69af2623074cd84c782886bbde1e2d
96
96
0.895833
9
96
9.555556
1
0
0
0
0
0
0
0
0
0
0
0.416667
0
96
1
96
96
0.479167
0
0
0
0
0
0
0
0
1
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
6
f1fe05a13bda0caadf24c5ed039b0bfffcdd8dca
189
py
Python
Learning/CodeWars/Python/7 kyu_Help_the_Fruit_Guy.py
aliasfoxkde/snippets
bb6dcc6597316ef9c88611f526935059451c3b5a
[ "MIT" ]
null
null
null
Learning/CodeWars/Python/7 kyu_Help_the_Fruit_Guy.py
aliasfoxkde/snippets
bb6dcc6597316ef9c88611f526935059451c3b5a
[ "MIT" ]
null
null
null
Learning/CodeWars/Python/7 kyu_Help_the_Fruit_Guy.py
aliasfoxkde/snippets
bb6dcc6597316ef9c88611f526935059451c3b5a
[ "MIT" ]
null
null
null
# See: https://www.codewars.com/kata/557af4c6169ac832300000ba def remove_rotten(bag_of_fruits): return [i.replace("rotten", "").lower() for i in bag_of_fruits] if bag_of_fruits else []
47.25
92
0.751323
29
189
4.655172
0.724138
0.111111
0.244444
0
0
0
0
0
0
0
0
0.100592
0.10582
189
4
92
47.25
0.698225
0.312169
0
0
0
0
0.046512
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
7b17460a5e70b8fa34ec6f7b909c208f7c18a769
526
py
Python
thornode_client/thornode_client/api/__init__.py
hoodieonwho/thorchain-python-client
fccfd66552e16bdab1dbb90b68022475c7a9693d
[ "MIT" ]
null
null
null
thornode_client/thornode_client/api/__init__.py
hoodieonwho/thorchain-python-client
fccfd66552e16bdab1dbb90b68022475c7a9693d
[ "MIT" ]
null
null
null
thornode_client/thornode_client/api/__init__.py
hoodieonwho/thorchain-python-client
fccfd66552e16bdab1dbb90b68022475c7a9693d
[ "MIT" ]
null
null
null
from __future__ import absolute_import # flake8: noqa # import apis into api package from thornode_client.api.health_check_api import HealthCheckApi from thornode_client.api.keygen__keysign_api import KeygenKeysignApi from thornode_client.api.network_api import NetworkApi from thornode_client.api.nodes_api import Nod...
37.571429
68
0.874525
78
526
5.589744
0.384615
0.220183
0.330275
0.385321
0
0
0
0
0
0
0
0.002088
0.089354
526
13
69
40.461538
0.908142
0.077947
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
9e2a1f936142c210166e42b6702938e059795aa6
13,864
py
Python
database/model.py
braycarlson/viking
56e2029dde2054ebff6a2993d3d094e2c1733e7e
[ "MIT" ]
7
2018-01-10T19:37:46.000Z
2020-12-06T22:17:02.000Z
database/model.py
braycarlson/viking
56e2029dde2054ebff6a2993d3d094e2c1733e7e
[ "MIT" ]
2
2017-05-07T00:58:16.000Z
2020-04-17T18:54:42.000Z
database/model.py
braycarlson/viking
56e2029dde2054ebff6a2993d3d094e2c1733e7e
[ "MIT" ]
8
2017-05-06T00:48:26.000Z
2020-04-17T18:19:51.000Z
from gino import Gino database = Gino() class MemberSounds(database.Model): __tablename__ = 'member_sounds' id = database.Column(database.BigInteger(), primary_key=True) name = database.Column(database.TEXT(), nullable=False) created_by = database.Column(database.BigInteger(), nullable=False) c...
55.456
115
0.753895
1,603
13,864
6.336868
0.092327
0.224651
0.353022
0.179169
0.871136
0.837468
0.724651
0.453633
0.404509
0.363556
0
0.001713
0.115623
13,864
249
116
55.678715
0.826768
0
0
0.341463
0
0
0.043999
0.016518
0
0
0
0
0
1
0
false
0
0.004878
0
0.995122
0
0
0
0
null
1
1
1
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
6
9e2cc0442a52a63b8719a99aea7526543fa8b16a
32
py
Python
Bioinformatics Stronghold/Counting Subsets.py
Vinay-Vinod/Rosalind
6818a38d1378a55e84e9f75636bacce2c274d24c
[ "MIT" ]
null
null
null
Bioinformatics Stronghold/Counting Subsets.py
Vinay-Vinod/Rosalind
6818a38d1378a55e84e9f75636bacce2c274d24c
[ "MIT" ]
null
null
null
Bioinformatics Stronghold/Counting Subsets.py
Vinay-Vinod/Rosalind
6818a38d1378a55e84e9f75636bacce2c274d24c
[ "MIT" ]
null
null
null
n = 3 print(pow(2, n, 1000000))
10.666667
25
0.59375
7
32
2.714286
0.857143
0
0
0
0
0
0
0
0
0
0
0.346154
0.1875
32
2
26
16
0.384615
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
6
7b88492ae8c0b2ff2d571b4a837bb16743517b89
202
py
Python
hpbandster/optimizers/__init__.py
RevanMacQueen/HpBandSter
3b6a5594df30796f43114f7e0e70c1dc56c11e60
[ "BSD-3-Clause" ]
546
2018-01-18T08:09:02.000Z
2022-03-25T03:06:24.000Z
hpbandster/optimizers/__init__.py
RevanMacQueen/HpBandSter
3b6a5594df30796f43114f7e0e70c1dc56c11e60
[ "BSD-3-Clause" ]
99
2018-02-09T14:00:13.000Z
2022-01-11T17:05:44.000Z
hpbandster/optimizers/__init__.py
RevanMacQueen/HpBandSter
3b6a5594df30796f43114f7e0e70c1dc56c11e60
[ "BSD-3-Clause" ]
126
2018-02-12T14:08:58.000Z
2022-03-08T02:50:33.000Z
from hpbandster.optimizers.randomsearch import RandomSearch from hpbandster.optimizers.hyperband import HyperBand from hpbandster.optimizers.bohb import BOHB from hpbandster.optimizers.h2bo import H2BO
40.4
59
0.881188
24
202
7.416667
0.333333
0.314607
0.539326
0
0
0
0
0
0
0
0
0.010753
0.079208
202
4
60
50.5
0.946237
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
7b9469617a9696cc4247eb8e65224a73bf51c015
99
py
Python
hydroDL/model/__init__.py
fkwai/geolearn
30cb4353d22af5020a48100d07ab04f465a315b0
[ "MIT" ]
null
null
null
hydroDL/model/__init__.py
fkwai/geolearn
30cb4353d22af5020a48100d07ab04f465a315b0
[ "MIT" ]
null
null
null
hydroDL/model/__init__.py
fkwai/geolearn
30cb4353d22af5020a48100d07ab04f465a315b0
[ "MIT" ]
2
2021-04-04T02:45:59.000Z
2022-03-19T09:41:39.000Z
from .train import trainModel, testModel from . import rnn from . import crit from . import layers
19.8
40
0.777778
14
99
5.5
0.571429
0.38961
0
0
0
0
0
0
0
0
0
0
0.171717
99
4
41
24.75
0.939024
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
7bcd27608751b2c2e9144a7999d90f3f1a3cf386
1,380
py
Python
MIT 6.00.1x/Week 2/Guess my number.py
kai92a/Learning_Python
5195aeb950e21150838c44d7c6af87cd86d31301
[ "MIT" ]
null
null
null
MIT 6.00.1x/Week 2/Guess my number.py
kai92a/Learning_Python
5195aeb950e21150838c44d7c6af87cd86d31301
[ "MIT" ]
null
null
null
MIT 6.00.1x/Week 2/Guess my number.py
kai92a/Learning_Python
5195aeb950e21150838c44d7c6af87cd86d31301
[ "MIT" ]
null
null
null
#Guess my number #Week 2 Finger Exercise 3 print ("Please think of a number between 0 and 100!") print ("Is your secret number 50?") s=[x for x in range (100)] i=input("Enter 'h' to indicate the guess is too high. Enter 'l' to indicate the guess is too low. Enter 'c' to indicate I guessed correctly.") j=0 k=len(s) m=50...
39.428571
158
0.562319
235
1,380
3.302128
0.242553
0.154639
0.134021
0.185567
0.734536
0.704897
0.704897
0.704897
0.704897
0.704897
0
0.016393
0.292754
1,380
34
159
40.588235
0.778689
0.028261
0
0.46875
0
0.125
0.556385
0
0
0
0
0
0
1
0
false
0
0
0
0
0.21875
0
0
0
null
0
0
1
0
1
1
1
1
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
6
c8f64a0be0b6c5fa37a93c36503df4a87b83448e
371
py
Python
backend/deploy-manage-service.py
YanpingDong/Spring-Cloud-Manager
e856915c7da1fd01bdeb7d7dfcd10cc9b69464fa
[ "Unlicense", "MIT" ]
1
2016-11-22T07:38:04.000Z
2016-11-22T07:38:04.000Z
backend/deploy-manage-service.py
YanpingDong/Spring-Cloud-Manager
e856915c7da1fd01bdeb7d7dfcd10cc9b69464fa
[ "Unlicense", "MIT" ]
null
null
null
backend/deploy-manage-service.py
YanpingDong/Spring-Cloud-Manager
e856915c7da1fd01bdeb7d7dfcd10cc9b69464fa
[ "Unlicense", "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from app import app from config import GlobalVar if __name__ == '__main__': #app.debug = GlobalVar.PROPERTIES.get('debug') # 设置调试模式,生产模式的时候要关掉debug app.run(host=GlobalVar.PROPERTIES.get('host'), port=int(GlobalVar.PROPERTIES.get('port')), debug=GlobalVa...
41.222222
85
0.622642
41
371
5.439024
0.512195
0.340807
0.394619
0.242152
0.286996
0
0
0
0
0
0
0.003509
0.231806
371
9
86
41.222222
0.778947
0.285714
0
0
0
0
0.08046
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
1
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
1
0
1
0
0
0
0
6
cdaf831540cc3ab086f47add0d2a62d175a0f1b0
35
py
Python
os_v3_hek/defs/cont.py
holy-crust/reclaimer
0aa693da3866ce7999c68d5f71f31a9c932cdb2c
[ "MIT" ]
null
null
null
os_v3_hek/defs/cont.py
holy-crust/reclaimer
0aa693da3866ce7999c68d5f71f31a9c932cdb2c
[ "MIT" ]
null
null
null
os_v3_hek/defs/cont.py
holy-crust/reclaimer
0aa693da3866ce7999c68d5f71f31a9c932cdb2c
[ "MIT" ]
null
null
null
from ...os_hek.defs.cont import *
17.5
34
0.685714
6
35
3.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
35
1
35
35
0.766667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
cde00db50b9f2192ea3e79800ca7d0b555114b8e
220,313
py
Python
rubiks-cube-NxNxN-solver/rubikscubennnsolver/RubiksCube777.py
sliu54/mathworks-hackday-2020
cc033c437e9630f3d7f848853768bd3e793b370d
[ "BSD-2-Clause" ]
null
null
null
rubiks-cube-NxNxN-solver/rubikscubennnsolver/RubiksCube777.py
sliu54/mathworks-hackday-2020
cc033c437e9630f3d7f848853768bd3e793b370d
[ "BSD-2-Clause" ]
null
null
null
rubiks-cube-NxNxN-solver/rubikscubennnsolver/RubiksCube777.py
sliu54/mathworks-hackday-2020
cc033c437e9630f3d7f848853768bd3e793b370d
[ "BSD-2-Clause" ]
null
null
null
from rubikscubennnsolver.misc import SolveError from rubikscubennnsolver.RubiksCubeNNNOddEdges import RubiksCubeNNNOddEdges from rubikscubennnsolver.LookupTable import ( LookupTable, LookupTableIDAViaC, ) from rubikscubennnsolver.LookupTableIDAViaGraph import LookupTableIDAViaGraph import logging import sys lo...
94.9625
136,197
0.56265
38,890
220,313
3.149653
0.028465
0.010058
0.004213
0.004898
0.869206
0.842624
0.679533
0.674512
0.665499
0.664324
0
0.517484
0.252073
220,313
2,319
136,198
95.00345
0.22588
0.077962
0
0.526124
0
0
0.070017
0.052986
0
0
0
0
0.001215
1
0.047388
false
0
0.003645
0.000608
0.104496
0.006075
0
0
0
null
0
0
0
1
1
0
0
0
1
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
a80636cb896688cbdf4d552a5c6c25701e6c742b
149
py
Python
1-HRF-xgb/repre/__init__.py
iamlockelightning/HIF-KAT
6845e88a4833b2da4a738035f1b02273ea75b703
[ "MIT" ]
6
2021-06-21T05:16:17.000Z
2022-02-11T21:00:51.000Z
1-HRF-xgb/repre/__init__.py
iamlockelightning/HIF-KAT
6845e88a4833b2da4a738035f1b02273ea75b703
[ "MIT" ]
1
2021-11-27T11:52:43.000Z
2021-12-09T09:10:05.000Z
1-HRF-xgb/repre/__init__.py
iamlockelightning/HIF-KAT
6845e88a4833b2da4a738035f1b02273ea75b703
[ "MIT" ]
1
2021-10-18T03:51:54.000Z
2021-10-18T03:51:54.000Z
from .datamodel import * from .embedding import * from .summarize import * from .attention import * from .graphconv import * from .represent import *
24.833333
24
0.765101
18
149
6.333333
0.444444
0.438596
0
0
0
0
0
0
0
0
0
0
0.154362
149
6
25
24.833333
0.904762
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
a8089f97b3bd80b2feb4479c8c302b6a7dc37e0a
233
py
Python
reactics-smt/logics/__init__.py
arturmeski/reactics
a565b5bf5ec671ccad4bbdab38ad264b9d8369cc
[ "MIT" ]
2
2019-03-04T08:51:00.000Z
2019-11-04T10:42:13.000Z
reactics-smt/logics/__init__.py
arturmeski/reactics
a565b5bf5ec671ccad4bbdab38ad264b9d8369cc
[ "MIT" ]
null
null
null
reactics-smt/logics/__init__.py
arturmeski/reactics
a565b5bf5ec671ccad4bbdab38ad264b9d8369cc
[ "MIT" ]
null
null
null
from logics.rsltl import Formula_rsLTL from logics.bags import BagDescription from logics.param_constr import ParamConstraint from logics.rsltl_encoder import rsLTL_Encoder from logics.param_constr_encoder import ParamConstr_Encoder
38.833333
59
0.892704
32
233
6.28125
0.375
0.248756
0.149254
0.208955
0
0
0
0
0
0
0
0
0.085837
233
5
60
46.6
0.943662
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b5496a16809b7e2149e7dd72e66c7e6662ef9a0a
7,051
py
Python
run.py
sithhell/hpxcbenchmarks
3687081a1bab5ffa872576f4ff8267f32d4fcc85
[ "BSL-1.0" ]
1
2020-10-24T14:12:59.000Z
2020-10-24T14:12:59.000Z
run.py
sithhell/hpxcbenchmarks
3687081a1bab5ffa872576f4ff8267f32d4fcc85
[ "BSL-1.0" ]
null
null
null
run.py
sithhell/hpxcbenchmarks
3687081a1bab5ffa872576f4ff8267f32d4fcc85
[ "BSL-1.0" ]
null
null
null
#!/usr/bin/env python import subprocess, os, sys, socket import multiprocessing if len(sys.argv) >= 2: max_cores = int(sys.argv[1]) run=sys.argv[2:] else: max_cores = multiprocessing.cpu_count() run='all' my_env = os.environ.copy() result_dir = os.path.join('runs', socket.gethostname()) if 'tasks' ...
39.391061
184
0.593391
879
7,051
4.630262
0.114903
0.060442
0.041769
0.074693
0.827764
0.827764
0.816462
0.7914
0.7914
0.7914
0
0.004718
0.248475
7,051
178
185
39.61236
0.763352
0.002836
0
0.696203
0
0
0.192888
0.104267
0
0
0
0
0
1
0
false
0
0.012658
0
0.012658
0.113924
0
0
0
null
0
0
0
1
1
1
1
1
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
6
b54ab5874a6ddb8a0e4874955db8700f5d953d22
24
py
Python
napari/layers/base/__init__.py
marshuang80/napari
10f1d0f39fe9ccd42456c95458e2f23b59450f02
[ "BSD-3-Clause" ]
1
2021-04-24T10:10:54.000Z
2021-04-24T10:10:54.000Z
napari/layers/base/__init__.py
marshuang80/napari
10f1d0f39fe9ccd42456c95458e2f23b59450f02
[ "BSD-3-Clause" ]
17
2020-06-11T21:02:03.000Z
2021-02-02T19:10:19.000Z
napari/layers/base/__init__.py
marshuang80/napari
10f1d0f39fe9ccd42456c95458e2f23b59450f02
[ "BSD-3-Clause" ]
1
2020-07-19T18:03:35.000Z
2020-07-19T18:03:35.000Z
from .base import Layer
12
23
0.791667
4
24
4.75
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
24
1
24
24
0.95
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
b56542a4f73770346ac07c551841d581fdf3521c
389
py
Python
pytorch_lightning/accelerator_backends/__init__.py
stas00/pytorch-lightning
84c507c4df5f5c336deb19ce7f70fa02329f39f6
[ "Apache-2.0" ]
1
2021-06-10T07:12:58.000Z
2021-06-10T07:12:58.000Z
pytorch_lightning/accelerator_backends/__init__.py
stas00/pytorch-lightning
84c507c4df5f5c336deb19ce7f70fa02329f39f6
[ "Apache-2.0" ]
null
null
null
pytorch_lightning/accelerator_backends/__init__.py
stas00/pytorch-lightning
84c507c4df5f5c336deb19ce7f70fa02329f39f6
[ "Apache-2.0" ]
null
null
null
from pytorch_lightning.accelerator_backends.gpu_backend import GPUBackend from pytorch_lightning.accelerator_backends.tpu_backend import TPUBackend from pytorch_lightning.accelerator_backends.dp_backend import DataParallelBackend from pytorch_lightning.accelerator_backends.ddp_spawn_backend import DDPSpawnBackend from ...
64.833333
84
0.922879
46
389
7.456522
0.391304
0.16035
0.291545
0.451895
0.568513
0
0
0
0
0
0
0
0.051414
389
5
85
77.8
0.929539
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
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
1
0
1
0
1
0
0
6
a938e3a23d2ed9d716d9be2f8c42cf0330d651d6
1,818
py
Python
tests/test_main.py
onetinov/gimme-aws-creds
fb2519a3da1b771b6c1ab47ec30850eaed1cf33a
[ "Apache-2.0" ]
null
null
null
tests/test_main.py
onetinov/gimme-aws-creds
fb2519a3da1b771b6c1ab47ec30850eaed1cf33a
[ "Apache-2.0" ]
null
null
null
tests/test_main.py
onetinov/gimme-aws-creds
fb2519a3da1b771b6c1ab47ec30850eaed1cf33a
[ "Apache-2.0" ]
null
null
null
import unittest from mock import patch from gimme_aws_creds.main import GimmeAWSCreds, RoleSet class TestMain(unittest.TestCase): APP_INFO = [ RoleSet(idp='idp', role='test1'), RoleSet(idp='idp', role='test2') ] AWS_INFO = [ {'name': 'test1'}, {'name': 'test2'} ] ...
33.666667
72
0.679318
228
1,818
5.140351
0.166667
0.085324
0.0657
0.158703
0.829352
0.753413
0.753413
0.753413
0.753413
0.753413
0
0.010966
0.19747
1,818
53
73
34.301887
0.792324
0
0
0.365854
0
0
0.060506
0
0
0
0
0
0.243902
1
0.121951
false
0
0.073171
0
0.268293
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
a95fabe1c519430166e133339cf75f9768b18aff
271
py
Python
examples/traversals/configuration/__init__.py
jvrana/caldera
a346324e77f20739e00a82f97530dda4906f59dd
[ "MIT" ]
2
2021-12-13T17:52:17.000Z
2021-12-13T17:52:18.000Z
examples/traversals/configuration/__init__.py
jvrana/caldera
a346324e77f20739e00a82f97530dda4906f59dd
[ "MIT" ]
4
2020-10-06T21:06:15.000Z
2020-10-10T01:18:23.000Z
examples/traversals/configuration/__init__.py
jvrana/caldera
a346324e77f20739e00a82f97530dda4906f59dd
[ "MIT" ]
null
null
null
from .config import Config from .config import DataConfig from .config import get_config from .config import HyperParamConfig from .config import NetConfig from .data import DataGenConfig __all__ = ["Config", "NetConfig", "DataConfig", "HyperParamConfig", "get_config"]
30.111111
81
0.797048
32
271
6.5625
0.3125
0.238095
0.380952
0.209524
0
0
0
0
0
0
0
0
0.118081
271
8
82
33.875
0.878661
0
0
0
0
0
0.188192
0
0
0
0
0
0
1
0
false
0
0.857143
0
0.857143
0
0
0
0
null
1
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
1
0
1
0
0
6
a997a15456ab8ff7cbe2396aae61d299a5040800
351
py
Python
buildscripts/BuildRoot/BuildRootCommandHandler.py
YuanYuLin/iopcbuilder
19537c9d651a7cd42432b9f6f6654c1ddeb0dbf0
[ "Apache-2.0" ]
null
null
null
buildscripts/BuildRoot/BuildRootCommandHandler.py
YuanYuLin/iopcbuilder
19537c9d651a7cd42432b9f6f6654c1ddeb0dbf0
[ "Apache-2.0" ]
null
null
null
buildscripts/BuildRoot/BuildRootCommandHandler.py
YuanYuLin/iopcbuilder
19537c9d651a7cd42432b9f6f6654c1ddeb0dbf0
[ "Apache-2.0" ]
null
null
null
import os import shutil from DefconfigParser import DefconfigParser class BuildRootCommandHandler: def __init__(self, next_command_handler): self.next_command_handler = next_command_handler def do_next_command_handler(self, config_obj): if self.next_command_handler: self.next_comma...
27
56
0.777778
43
351
5.906977
0.418605
0.259843
0.425197
0.346457
0.346457
0.346457
0.346457
0.346457
0
0
0
0
0.173789
351
12
57
29.25
0.875862
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.666667
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
1
0
0
1
0
1
0
0
6