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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f9fedfeb55d1eaed7a9c31a0134fe6bd4952b729 | 6,545 | py | Python | loldib/getratings/models/NA/na_thresh/na_thresh_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_thresh/na_thresh_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_thresh/na_thresh_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Thresh_Top_Aatrox(Ratings):
pass
class NA_Thresh_Top_Ahri(Ratings):
pass
class NA_Thresh_Top_Akali(Ratings):
pass
class NA_Thresh_Top_Alistar(Ratings):
pass
class NA_Thresh_Top_Amumu(Ratings):
pass
class NA_Thresh_Top_Anivia(Ratings):
... | 15.695444 | 46 | 0.766692 | 972 | 6,545 | 4.736626 | 0.151235 | 0.209818 | 0.389661 | 0.479583 | 0.803432 | 0.803432 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169748 | 6,545 | 416 | 47 | 15.733173 | 0.847258 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
e6388ed1bac8380dc2245c04977f79b4bd52d310 | 11,882 | py | Python | tests/test_evaluations.py | jutanke/pak | 6f3be954ef68804ebe622cafe46f033ccf6eb2e7 | [
"MIT"
] | 20 | 2018-09-19T06:52:01.000Z | 2020-10-02T11:18:00.000Z | tests/test_evaluations.py | justayak/pak | 6f3be954ef68804ebe622cafe46f033ccf6eb2e7 | [
"MIT"
] | 2 | 2017-11-16T21:42:54.000Z | 2018-03-12T19:31:03.000Z | tests/test_evaluations.py | justayak/pak | 6f3be954ef68804ebe622cafe46f033ccf6eb2e7 | [
"MIT"
] | 3 | 2020-01-12T08:51:09.000Z | 2020-10-06T05:47:24.000Z | import unittest
import sys
sys.path.insert(0, '../')
import numpy as np
import numpy.linalg as la
from pak.evaluation import MOTM
class TestEvaluation(unittest.TestCase):
def test_motm_duplicate(self):
Gt = np.array([
[1, 1, 0, 0],
[1, 2, 10, 10],
[2, 1, 0, 0]
... | 26.943311 | 62 | 0.470712 | 1,735 | 11,882 | 3.17464 | 0.042075 | 0.457516 | 0.27451 | 0.261438 | 0.911402 | 0.862382 | 0.846042 | 0.842411 | 0.83297 | 0.824619 | 0 | 0.076693 | 0.35255 | 11,882 | 440 | 63 | 27.004545 | 0.639282 | 0.005891 | 0 | 0.821023 | 0 | 0 | 0.000932 | 0 | 0 | 0 | 0 | 0 | 0.477273 | 1 | 0.034091 | false | 0 | 0.014205 | 0 | 0.051136 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
050ca060e88f71955b6d99fd65a5e803da89c8e9 | 15,849 | py | Python | clock/font.py | sanmoy/clock | 007bf803e3d7b9479c3116755a412ef75cb0c8e0 | [
"MIT"
] | null | null | null | clock/font.py | sanmoy/clock | 007bf803e3d7b9479c3116755a412ef75cb0c8e0 | [
"MIT"
] | null | null | null | clock/font.py | sanmoy/clock | 007bf803e3d7b9479c3116755a412ef75cb0c8e0 | [
"MIT"
] | null | null | null | BENGALI_FONT = [
[0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00], # 0x00
[0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00], # 0x01
[0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00], # 0x02
[0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00], # 0x03
[0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00], ... | 61.19305 | 61 | 0.564263 | 2,281 | 15,849 | 3.919772 | 0.094257 | 1.585505 | 2.078962 | 2.387205 | 0.889833 | 0.889833 | 0.889833 | 0.889833 | 0.320769 | 0.320769 | 0 | 0.540649 | 0.243296 | 15,849 | 259 | 62 | 61.19305 | 0.20487 | 0.074642 | 0 | 0.949807 | 0 | 0 | 0 | 0 | 0 | 0 | 0.570754 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
0549a31711856b81185a5efca991ca4f67b29a91 | 2,741 | py | Python | 1d_sims_and_figs/high_uplift_sims.py | CovingtonResearchGroup/ESURF-Steady-state-layered-rocks | 5376c92dc40b310b7fb7da9d650b48ff0d897186 | [
"MIT"
] | null | null | null | 1d_sims_and_figs/high_uplift_sims.py | CovingtonResearchGroup/ESURF-Steady-state-layered-rocks | 5376c92dc40b310b7fb7da9d650b48ff0d897186 | [
"MIT"
] | null | null | null | 1d_sims_and_figs/high_uplift_sims.py | CovingtonResearchGroup/ESURF-Steady-state-layered-rocks | 5376c92dc40b310b7fb7da9d650b48ff0d897186 | [
"MIT"
] | 2 | 2017-03-26T14:13:16.000Z | 2021-05-31T02:16:41.000Z | from stream_power import stream_erode
import subprocess
#Case n=2/3
case_name = 'high_uplift_0.66.pkl'
res = stream_erode(outputfile=case_name,n=2./3., m=1./3.,
K1=1e-4,KR=2.0,uplift=0.0025,
thickness=50.,two_layers=100.,nx=2000.,nskip=80,
dx=25.,nt = 50000,A0 = 1., ... | 43.507937 | 75 | 0.557461 | 440 | 2,741 | 3.334091 | 0.156818 | 0.0818 | 0.068166 | 0.074983 | 0.93865 | 0.920245 | 0.920245 | 0.920245 | 0.895706 | 0.834356 | 0 | 0.193581 | 0.283838 | 2,741 | 62 | 76 | 44.209677 | 0.553744 | 0.152134 | 0 | 0.787234 | 0 | 0 | 0.114583 | 0.075521 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.042553 | 0 | 0.042553 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
05570621206acd49c411dea9ce26bcbfa2e8cdb4 | 593 | py | Python | MillerArrays/extractReflectionInShell.py | MooersLab/jupyterlabcctbxsnipsplus | 80a380046adcc9b16581ed1681884017514edbb7 | [
"MIT"
] | null | null | null | MillerArrays/extractReflectionInShell.py | MooersLab/jupyterlabcctbxsnipsplus | 80a380046adcc9b16581ed1681884017514edbb7 | [
"MIT"
] | null | null | null | MillerArrays/extractReflectionInShell.py | MooersLab/jupyterlabcctbxsnipsplus | 80a380046adcc9b16581ed1681884017514edbb7 | [
"MIT"
] | null | null | null | # Description: Extract the reflections in a shell.
# Source: NA
"""
from iotbx import mtz
mtz_obj = mtz.object(file_name="${1:2V89}.mtz")
miller_arrays = mtz_obj.as_miller_arrays()
for miller_array in miller_arrays:
miller_array_truncated = miller_array.resolution_filter(d_min=${2:2}, d_max=${3:5})
print(miller_... | 31.210526 | 87 | 0.780776 | 96 | 593 | 4.489583 | 0.354167 | 0.204176 | 0.185615 | 0.083527 | 0.863109 | 0.742459 | 0.742459 | 0.742459 | 0.742459 | 0.742459 | 0 | 0.024528 | 0.106239 | 593 | 18 | 88 | 32.944444 | 0.788679 | 0.55312 | 0 | 0 | 0 | 0 | 0.03125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 0 | 0 | 0 | null | 1 | 1 | 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 | 8 |
554f469491dfe7fe57cd610925c5a8c67fb19ffa | 48 | py | Python | cookiestxt/__init__.py | tubaman/cookiestxt | ddcab34761de703ee3c13a44f306dd0f44b6668f | [
"PSF-2.0"
] | 1 | 2017-02-24T12:27:24.000Z | 2017-02-24T12:27:24.000Z | cookiestxt/__init__.py | tubaman/cookiestxt | ddcab34761de703ee3c13a44f306dd0f44b6668f | [
"PSF-2.0"
] | null | null | null | cookiestxt/__init__.py | tubaman/cookiestxt | ddcab34761de703ee3c13a44f306dd0f44b6668f | [
"PSF-2.0"
] | null | null | null | from ._MozillaCookieJar import MozillaCookieJar
| 24 | 47 | 0.895833 | 4 | 48 | 10.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 7 |
55ac32f609275211992e705680a9f047df443a9a | 228 | py | Python | can_decoder/dataframe/__init__.py | justinwald99/can_decoder | abfdd839856745f88b3fc3a58c8bedbdd05d5616 | [
"MIT"
] | 17 | 2020-08-18T02:34:57.000Z | 2022-03-16T16:26:53.000Z | can_decoder/dataframe/__init__.py | justinwald99/can_decoder | abfdd839856745f88b3fc3a58c8bedbdd05d5616 | [
"MIT"
] | 4 | 2020-09-09T04:18:28.000Z | 2022-02-23T10:29:14.000Z | can_decoder/dataframe/__init__.py | justinwald99/can_decoder | abfdd839856745f88b3fc3a58c8bedbdd05d5616 | [
"MIT"
] | 3 | 2021-08-18T18:30:43.000Z | 2022-02-21T07:11:09.000Z | from can_decoder.dataframe.DataFrameDecoder import DataFrameDecoder
from can_decoder.dataframe.DataFrameGenericDecoder import DataFrameGenericDecoder
from can_decoder.dataframe.DataFrameJ1939Decoder import DataFrameJ1939Decoder
| 57 | 81 | 0.921053 | 21 | 228 | 9.857143 | 0.380952 | 0.101449 | 0.202899 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.052632 | 228 | 3 | 82 | 76 | 0.921296 | 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 | 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 | 7 |
e95d67b0d7ee3e48b5a1fd3e13d2d83adabdb88d | 117 | py | Python | GasGrid/Use Case/calculation_parameters/cop_equation.py | cambridge-cares/TheWorldAvatar | baf08ddc090414c6d01e48c74b408f2192461e9e | [
"MIT"
] | 21 | 2021-03-08T01:58:25.000Z | 2022-03-09T15:46:16.000Z | GasGrid/Use Case/calculation_parameters/cop_equation.py | cambridge-cares/TheWorldAvatar | baf08ddc090414c6d01e48c74b408f2192461e9e | [
"MIT"
] | 63 | 2021-05-04T15:05:30.000Z | 2022-03-23T14:32:29.000Z | GasGrid/Use Case/calculation_parameters/cop_equation.py | cambridge-cares/TheWorldAvatar | baf08ddc090414c6d01e48c74b408f2192461e9e | [
"MIT"
] | 15 | 2021-03-08T07:52:03.000Z | 2022-03-29T04:46:20.000Z |
def COP(T_c):
return 0.35*((45+273.15)/(45-T_c))
def T_from_COP(COP):
return 45 - ((45+273.15)/(COP/0.35)) | 16.714286 | 40 | 0.57265 | 26 | 117 | 2.423077 | 0.423077 | 0.063492 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247423 | 0.17094 | 117 | 7 | 40 | 16.714286 | 0.402062 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
e9742be2f2a619941efbce359f1844012f445f9e | 34 | py | Python | pacote-download/PycharmProjects/cursoemvideo/Projeto01.py | ThamirisAdriano/Curso-em-video-Python | 5715dfa0d558f7ebe41666a537cccf20fd79ce72 | [
"MIT"
] | 1 | 2020-09-05T16:02:56.000Z | 2020-09-05T16:02:56.000Z | pacote-download/PycharmProjects/cursoemvideo/Projeto01.py | ThamirisAdriano/Curso-em-video-Python | 5715dfa0d558f7ebe41666a537cccf20fd79ce72 | [
"MIT"
] | null | null | null | pacote-download/PycharmProjects/cursoemvideo/Projeto01.py | ThamirisAdriano/Curso-em-video-Python | 5715dfa0d558f7ebe41666a537cccf20fd79ce72 | [
"MIT"
] | null | null | null | print('\033(7;30;45m'olá, mundo!') | 34 | 34 | 0.647059 | 7 | 34 | 3.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 0.029412 | 34 | 1 | 34 | 34 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
e98142142055f98e85b58a96bc83d37b8dcb93a7 | 13,711 | py | Python | sdk/python/pulumi_alicloud/sae/config_map.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2019-03-18T06:34:37.000Z | 2022-03-24T07:08:57.000Z | sdk/python/pulumi_alicloud/sae/config_map.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 152 | 2019-04-15T21:03:44.000Z | 2022-03-29T18:00:57.000Z | sdk/python/pulumi_alicloud/sae/config_map.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-08-26T17:30:07.000Z | 2021-07-05T01:37:45.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 37.564384 | 167 | 0.619721 | 1,536 | 13,711 | 5.329427 | 0.120443 | 0.07525 | 0.092353 | 0.080625 | 0.805522 | 0.781945 | 0.752504 | 0.72453 | 0.7183 | 0.694967 | 0 | 0.004224 | 0.274743 | 13,711 | 364 | 168 | 37.667582 | 0.818986 | 0.366567 | 0 | 0.645714 | 1 | 0 | 0.079037 | 0.004187 | 0 | 0 | 0 | 0 | 0 | 1 | 0.154286 | false | 0.005714 | 0.028571 | 0 | 0.274286 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f963e065cd45fce0029713f49907172d4fb19bca | 184 | py | Python | onix/__init__.py | khurrumsaleem/ONIX | 799d345012990f8e6ac97f5e83921f50c3fc662e | [
"MIT"
] | 16 | 2019-09-18T06:03:55.000Z | 2022-02-16T05:23:53.000Z | onix/__init__.py | khurrumsaleem/ONIX | 799d345012990f8e6ac97f5e83921f50c3fc662e | [
"MIT"
] | 7 | 2020-11-17T20:41:00.000Z | 2022-01-31T17:55:21.000Z | onix/__init__.py | khurrumsaleem/ONIX | 799d345012990f8e6ac97f5e83921f50c3fc662e | [
"MIT"
] | 11 | 2019-09-11T13:52:05.000Z | 2021-11-24T09:43:22.000Z | from . import couple
from onix.passport import *
from onix.sequence import *
from onix.cell import *
from onix.system import *
from onix.passlist import *
from onix.standalone import * | 26.285714 | 29 | 0.782609 | 27 | 184 | 5.333333 | 0.37037 | 0.333333 | 0.486111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146739 | 184 | 7 | 29 | 26.285714 | 0.917197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.285714 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
f9d09a1bdc159818c441300d04553c97828ef559 | 5,922 | py | Python | tests/gitlab_user/uat/CreateUserTest.py | flowpl/ansible_gitlab_content | 83972d43da8a17b608cfe663915e41e908d8d916 | [
"MIT"
] | 3 | 2016-04-30T14:48:45.000Z | 2021-02-08T04:43:13.000Z | tests/gitlab_user/uat/CreateUserTest.py | flowpl/ansible_gitlab | 83972d43da8a17b608cfe663915e41e908d8d916 | [
"MIT"
] | null | null | null | tests/gitlab_user/uat/CreateUserTest.py | flowpl/ansible_gitlab | 83972d43da8a17b608cfe663915e41e908d8d916 | [
"MIT"
] | 1 | 2021-02-08T06:28:21.000Z | 2021-02-08T06:28:21.000Z | # -*- coding: utf-8 -*-
import unittest
import mock
import library.gitlab_user
import ddt
@ddt.ddt
class CreateUserTest(unittest.TestCase):
@mock.patch('library.gitlab_user._send_request')
def testCreateOrUpdateUser_ifNoneExists_sendCreateRequest(self, send_request_mock):
send_request_mock.side_effe... | 43.226277 | 118 | 0.583755 | 521 | 5,922 | 6.393474 | 0.159309 | 0.069349 | 0.086761 | 0.075653 | 0.854098 | 0.854098 | 0.854098 | 0.854098 | 0.854098 | 0.816872 | 0 | 0.026377 | 0.270179 | 5,922 | 136 | 119 | 43.544118 | 0.744331 | 0.003546 | 0 | 0.650407 | 0 | 0 | 0.316664 | 0.129853 | 0 | 0 | 0 | 0 | 0.056911 | 1 | 0.056911 | false | 0.073171 | 0.03252 | 0 | 0.097561 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
f9e3d645694663f005b751fcfd05fe55c4abed51 | 86,932 | py | Python | server.py | matteoverzeroli/GestioneCre | b95bc22aacc5fcfe70edabae232bf75e7b9f10bc | [
"MIT"
] | null | null | null | server.py | matteoverzeroli/GestioneCre | b95bc22aacc5fcfe70edabae232bf75e7b9f10bc | [
"MIT"
] | null | null | null | server.py | matteoverzeroli/GestioneCre | b95bc22aacc5fcfe70edabae232bf75e7b9f10bc | [
"MIT"
] | null | null | null | import os
import sqlite3
from flask import Flask, request, render_template, redirect, url_for, session, flash
app = Flask(__name__)
app.secret_key = os.urandom(24)
path = 'database.db'
database = sqlite3.connect(path)
cursor = database.cursor()
# definizione ruoli della popolazione di riferimento
ruolo_partecipanti ... | 47.297062 | 265 | 0.575726 | 7,798 | 86,932 | 6.330726 | 0.04873 | 0.050135 | 0.027954 | 0.030547 | 0.847935 | 0.829643 | 0.800231 | 0.767497 | 0.737092 | 0.727085 | 0 | 0.009777 | 0.30701 | 86,932 | 1,837 | 266 | 47.322809 | 0.809687 | 0.00773 | 0 | 0.742511 | 0 | 0.024219 | 0.23895 | 0.034228 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01912 | false | 0.039516 | 0.001912 | 0 | 0.079669 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
f9e96ea5eb1857776a87e79a9b66938af603f9b7 | 2,048 | py | Python | tests/check_data_slicing.py | bsgip/c3x-data | 32e6973a0eeb3cd72d298734d7a2937dd369a456 | [
"MIT"
] | 2 | 2021-04-17T03:55:04.000Z | 2022-02-25T10:08:02.000Z | tests/check_data_slicing.py | bsgip/c3x-data | 32e6973a0eeb3cd72d298734d7a2937dd369a456 | [
"MIT"
] | null | null | null | tests/check_data_slicing.py | bsgip/c3x-data | 32e6973a0eeb3cd72d298734d7a2937dd369a456 | [
"MIT"
] | 2 | 2021-03-15T09:18:22.000Z | 2021-11-28T10:39:53.000Z | from c3e_data_preparation.preparation import cleaners
import pandas
def test_slicing_start_to_end():
timestamp_start = 1548155000
timestamp_end = 1548155800
data = pandas.DataFrame({'timestamp': [1548154800, 1548155000, 1548155200, 1548155400, 1548155600, 1548155800, 1548156000],
'Value': [32,... | 37.925926 | 127 | 0.701172 | 247 | 2,048 | 5.651822 | 0.186235 | 0.080229 | 0.080229 | 0.080229 | 0.924785 | 0.839542 | 0.839542 | 0.839542 | 0.839542 | 0.839542 | 0 | 0.253874 | 0.180664 | 2,048 | 54 | 128 | 37.925926 | 0.578069 | 0 | 0 | 0.783784 | 0 | 0 | 0.118594 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 1 | 0.108108 | false | 0 | 0.054054 | 0 | 0.162162 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 | 8 |
ddc9adf736b9d914c713d806321fcc3b89f39118 | 4,664 | py | Python | factories/rooms.py | joehowells/7drl2020 | ec92c0870fb9ee975530d6a92c1b96634040ebc4 | [
"MIT"
] | null | null | null | factories/rooms.py | joehowells/7drl2020 | ec92c0870fb9ee975530d6a92c1b96634040ebc4 | [
"MIT"
] | 2 | 2020-03-25T10:30:31.000Z | 2020-03-25T20:13:43.000Z | factories/rooms.py | joehowells/two-button-berserker | ec92c0870fb9ee975530d6a92c1b96634040ebc4 | [
"MIT"
] | null | null | null | from random import shuffle, randint
from typing import List, Any, Optional
from ecs.components.map import Map
from ecs.components.player import Player
from factories.entities import make_trap, make_player, make_stairs
from factories.items import get_item_factory, make_weapon, make_armour
from factories.map import Room... | 27.435294 | 116 | 0.604417 | 692 | 4,664 | 3.947977 | 0.07948 | 0.035139 | 0.038433 | 0.054905 | 0.822108 | 0.822108 | 0.822108 | 0.81735 | 0.81735 | 0.81735 | 0 | 0.007923 | 0.269297 | 4,664 | 169 | 117 | 27.597633 | 0.793721 | 0 | 0 | 0.795082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07377 | false | 0 | 0.065574 | 0 | 0.172131 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
fb28d892eb423e1fd98b334474d879d65a1970f1 | 37,690 | py | Python | tests/integration/lambdas/test_on_jira_change.py | pbx-gs/OSBot-jira | 7677afee1f80398ddcccd6b45423bf6adc20b970 | [
"Apache-2.0"
] | 1 | 2021-04-02T05:58:23.000Z | 2021-04-02T05:58:23.000Z | tests/integration/lambdas/test_on_jira_change.py | pbx-gs/OSBot-jira | 7677afee1f80398ddcccd6b45423bf6adc20b970 | [
"Apache-2.0"
] | 1 | 2021-09-03T09:55:39.000Z | 2021-09-03T09:55:39.000Z | tests/integration/lambdas/test_on_jira_change.py | filetrust/OSBot-jira | d753fff59cf938cf94a51bf8bc7981691524b686 | [
"Apache-2.0"
] | 2 | 2021-04-02T05:58:29.000Z | 2021-09-03T09:43:29.000Z | from osbot_utils.utils.Dev import Dev
from gw_bot.Deploy import Deploy
from osbot_aws.apis.Lambda import Lambda
from osbot_aws.helpers.Test_Helper import Test_Helper
from osbot_jira.lambdas.on_jira_change import run
class test_lambda_gsbot_gs_jira(Test_Helper):
def setUp(self):
super().setUp()
... | 50.932432 | 7,581 | 0.573149 | 3,814 | 37,690 | 5.613529 | 0.103566 | 0.083045 | 0.136432 | 0.154227 | 0.73461 | 0.73022 | 0.71887 | 0.718403 | 0.709855 | 0.667352 | 0 | 0.106298 | 0.252693 | 37,690 | 739 | 7,582 | 51.001353 | 0.653625 | 0 | 0 | 0.495822 | 0 | 0.044568 | 0.631467 | 0.02693 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008357 | false | 0 | 0.008357 | 0 | 0.018106 | 0.001393 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3490b06571f1871d217193600211b307d9ab93e4 | 51 | py | Python | Lektion_5/python_berechnungen.py | tvotan/dhbw_python_kivy | 41d363d41a79e1881128be54dc30b5d0c58afb70 | [
"MIT"
] | 1 | 2020-10-27T15:27:06.000Z | 2020-10-27T15:27:06.000Z | Lektion_5/python_berechnungen.py | tvotan/dhbw_python_kivy | 41d363d41a79e1881128be54dc30b5d0c58afb70 | [
"MIT"
] | null | null | null | Lektion_5/python_berechnungen.py | tvotan/dhbw_python_kivy | 41d363d41a79e1881128be54dc30b5d0c58afb70 | [
"MIT"
] | null | null | null | print(7 + 2)
print(7 - 2)
print(7 / 2)
print(7 * 2) | 12.75 | 12 | 0.54902 | 12 | 51 | 2.333333 | 0.25 | 0.857143 | 1 | 1.285714 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0.2 | 0.215686 | 51 | 4 | 13 | 12.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 12 |
34ba5b394df9c381b195972e014a5c01c74d01ff | 100 | py | Python | pysit/MCMC/__init__.py | zfang-slim/PysitForPython3 | dc60537b26018e28d92b7a956a2cf96775f0bdf9 | [
"BSD-3-Clause"
] | null | null | null | pysit/MCMC/__init__.py | zfang-slim/PysitForPython3 | dc60537b26018e28d92b7a956a2cf96775f0bdf9 | [
"BSD-3-Clause"
] | null | null | null | pysit/MCMC/__init__.py | zfang-slim/PysitForPython3 | dc60537b26018e28d92b7a956a2cf96775f0bdf9 | [
"BSD-3-Clause"
] | 1 | 2020-06-13T07:13:07.000Z | 2020-06-13T07:13:07.000Z | from pysit.MCMC.pCN import *
from pysit.MCMC.pCN_General import *
from pysit.MCMC.pCN_Tomo import *
| 25 | 36 | 0.79 | 17 | 100 | 4.529412 | 0.411765 | 0.350649 | 0.506494 | 0.623377 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 100 | 3 | 37 | 33.333333 | 0.875 | 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 | 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 | 8 |
34fa261730f23dfb3ae617d16c11700ef75c6ca2 | 46,253 | py | Python | swagger_client/mercury/client/api/marketdata_api.py | kovacicek/fiddleoptions | 43e3517046fb4c47d3284d357e75099e81f861b7 | [
"MIT"
] | null | null | null | swagger_client/mercury/client/api/marketdata_api.py | kovacicek/fiddleoptions | 43e3517046fb4c47d3284d357e75099e81f861b7 | [
"MIT"
] | null | null | null | swagger_client/mercury/client/api/marketdata_api.py | kovacicek/fiddleoptions | 43e3517046fb4c47d3284d357e75099e81f861b7 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Fiddle Options Platform
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
... | 38.868067 | 154 | 0.599875 | 5,291 | 46,253 | 5.006237 | 0.0378 | 0.055572 | 0.030165 | 0.0299 | 0.966136 | 0.95749 | 0.954847 | 0.946429 | 0.944616 | 0.939369 | 0 | 0.017425 | 0.305169 | 46,253 | 1,189 | 155 | 38.900757 | 0.806771 | 0.052645 | 0 | 0.818612 | 1 | 0 | 0.184255 | 0.051435 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.006309 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
5520a5e86c8e364d25e2e44efda4e3d0df12a956 | 16,833 | py | Python | tom/buildkit.py | arghyagod-coder/tom | a7859f85aa6afa84a1f05f2cde6b673f690314b3 | [
"MIT"
] | 1 | 2021-06-03T16:36:31.000Z | 2021-06-03T16:36:31.000Z | tom/buildkit.py | arghyagod-coder/tom | a7859f85aa6afa84a1f05f2cde6b673f690314b3 | [
"MIT"
] | null | null | null | tom/buildkit.py | arghyagod-coder/tom | a7859f85aa6afa84a1f05f2cde6b673f690314b3 | [
"MIT"
] | null | null | null | import subprocess as sb
import click as cl
import os
import datetime
from licenses import *
currentDateTime = datetime.datetime.now()
date = currentDateTime.date()
year = date.strftime("%Y")
def buildPython(name, uname, ghname, ulic):
pwd = os.getcwd()
os.mkdir(pwd+f'/{name}')
os.chdir((os.getcwd())+'/'+... | 18.041801 | 95 | 0.664528 | 2,284 | 16,833 | 4.825744 | 0.162872 | 0.023226 | 0.010887 | 0.013609 | 0.877155 | 0.87153 | 0.860007 | 0.847124 | 0.842769 | 0.841317 | 0 | 0.00762 | 0.173647 | 16,833 | 933 | 96 | 18.041801 | 0.784759 | 0 | 0 | 0.873315 | 0 | 0.008086 | 0.807592 | 0.06677 | 0 | 0 | 0 | 0 | 0.002695 | 1 | 0.006739 | false | 0.002695 | 0.01752 | 0 | 0.025606 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9b4a36d88dfd71892e367c36735a99effa38e3e3 | 66,075 | py | Python | tests/test_benchmark.py | windblood/moonshot | d79cf26e7fb5ce3fcb34060771ea4992e19dc46a | [
"Apache-2.0"
] | 122 | 2017-09-14T01:17:56.000Z | 2022-02-25T11:59:04.000Z | tests/test_benchmark.py | windblood/moonshot | d79cf26e7fb5ce3fcb34060771ea4992e19dc46a | [
"Apache-2.0"
] | null | null | null | tests/test_benchmark.py | windblood/moonshot | d79cf26e7fb5ce3fcb34060771ea4992e19dc46a | [
"Apache-2.0"
] | 39 | 2017-10-24T14:36:54.000Z | 2022-02-20T01:04:03.000Z | # Copyright 2018 QuantRocket LLC - All Rights Reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | 34.521944 | 149 | 0.397019 | 5,468 | 66,075 | 4.660022 | 0.068947 | 0.020015 | 0.034614 | 0.029355 | 0.883443 | 0.869236 | 0.863035 | 0.850555 | 0.838978 | 0.835054 | 0 | 0.097695 | 0.505668 | 66,075 | 1,913 | 150 | 34.53999 | 0.682424 | 0.060446 | 0 | 0.853199 | 0 | 0.000673 | 0.117659 | 0.020014 | 0 | 0 | 0 | 0 | 0.020875 | 1 | 0.055892 | false | 0.000673 | 0.006734 | 0.000673 | 0.111785 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 8 |
9b86ef9683c1f509f1ae0749e8ed3d799ac168de | 67,690 | py | Python | ASModeller/ode.py | marcuschanws/advancesyntoolkit | 291200b0bdd0cc9ba4a03c85eed2633ba2941b9c | [
"Apache-2.0"
] | 9 | 2018-09-27T00:33:06.000Z | 2022-03-16T01:50:30.000Z | ASModeller/ode.py | marcuschanws/advancesyntoolkit | 291200b0bdd0cc9ba4a03c85eed2633ba2941b9c | [
"Apache-2.0"
] | null | null | null | ASModeller/ode.py | marcuschanws/advancesyntoolkit | 291200b0bdd0cc9ba4a03c85eed2633ba2941b9c | [
"Apache-2.0"
] | 30 | 2018-08-17T15:17:39.000Z | 2022-03-16T02:36:16.000Z | '''
Ordinary Differential Equation (ODE) Solvers.
Copyright (c) Maurice H.T. Ling <mauriceling@acm.org>
Date created: 20th December 2014
'''
def boundary_checker(y, boundary, type):
'''
Private function - called by ODE solvers to perform boundary checking
of variable values and reset them to specific va... | 43.755656 | 81 | 0.586645 | 9,595 | 67,690 | 4.112663 | 0.043773 | 0.018094 | 0.020679 | 0.01784 | 0.872355 | 0.860951 | 0.854945 | 0.848306 | 0.844049 | 0.842452 | 0 | 0.056124 | 0.304033 | 67,690 | 1,547 | 82 | 43.755656 | 0.781511 | 0.468371 | 0 | 0.793631 | 0 | 0 | 0.021668 | 0.002149 | 0.001274 | 0 | 0 | 0 | 0 | 1 | 0.033121 | false | 0.078981 | 0.001274 | 0 | 0.053503 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
9ba25b78e707c6fba0622829722084cf31b97207 | 30 | py | Python | Hedera/test.py | hebinjie33/HMMLB | db26a149fd3e8e96a570cfe32e9bc42a002409cc | [
"Apache-2.0"
] | null | null | null | Hedera/test.py | hebinjie33/HMMLB | db26a149fd3e8e96a570cfe32e9bc42a002409cc | [
"Apache-2.0"
] | null | null | null | Hedera/test.py | hebinjie33/HMMLB | db26a149fd3e8e96a570cfe32e9bc42a002409cc | [
"Apache-2.0"
] | 1 | 2019-12-16T21:46:46.000Z | 2019-12-16T21:46:46.000Z | if(50<-1000):
print("wrong")
| 10 | 15 | 0.6 | 5 | 30 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0.1 | 30 | 2 | 16 | 15 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
fd2014cad87bb5a00517b3a1d546668a28bd0eb1 | 1,038,302 | py | Python | apps/images/icons_rc.py | JeremyZhao1989/leanTest | 8078d47aea44b999a325261530a18a7f578d2420 | [
"MIT"
] | 64 | 2016-09-06T11:30:28.000Z | 2021-03-11T07:28:08.000Z | apps/images/icons_rc.py | Carol-Rong/CNCGToolKit | 7a21f358e34aa276cf209a6d5887a7964190cf0a | [
"MIT"
] | 2 | 2016-09-11T12:38:03.000Z | 2016-09-13T12:32:37.000Z | apps/images/icons_rc.py | Carol-Rong/CNCGToolKit | 7a21f358e34aa276cf209a6d5887a7964190cf0a | [
"MIT"
] | 31 | 2016-09-06T11:32:25.000Z | 2020-04-20T11:19:02.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# Created: 周六 10月 22 15:39:14 2016
# by: The Resource Compiler for PySide (Qt v4.8.7)
#
# WARNING! All changes made in this file will be lost!
from PySide import QtCore
qt_resource_data = "\x00\x00\x00\x84\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00 \x... | 47,195.545455 | 1,025,009 | 0.405293 | 120,332 | 1,038,302 | 3.49331 | 0.067455 | 0.061662 | 0.091722 | 0.121268 | 0.84645 | 0.845641 | 0.843802 | 0.841159 | 0.83588 | 0.831957 | 0 | 0.235952 | 0.463067 | 1,038,302 | 21 | 1,025,010 | 49,442.952381 | 0.518053 | 0.000175 | 0 | 0 | 0 | 0.333333 | 0.999651 | 0.487773 | 0 | 0 | 0.000008 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.333333 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
bd05bcca48097f551f9c705192a474500f15747e | 128,186 | py | Python | tests/boxtests.py | vzaccaria/ascidia-cli | f47d56f38d927408013a54876e57526864f1bc66 | [
"MIT"
] | null | null | null | tests/boxtests.py | vzaccaria/ascidia-cli | f47d56f38d927408013a54876e57526864f1bc66 | [
"MIT"
] | null | null | null | tests/boxtests.py | vzaccaria/ascidia-cli | f47d56f38d927408013a54876e57526864f1bc66 | [
"MIT"
] | null | null | null | #!/usr/bin/python2
"""
Copyright (c) 2012 Mark Frimston
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, p... | 33.425293 | 84 | 0.626348 | 22,251 | 128,186 | 3.430003 | 0.016179 | 0.118748 | 0.131943 | 0.095269 | 0.972917 | 0.962749 | 0.954049 | 0.937684 | 0.914021 | 0.890554 | 0 | 0.051681 | 0.151818 | 128,186 | 3,834 | 85 | 33.434011 | 0.650283 | 0.010859 | 0 | 0.748242 | 0 | 0 | 0.0698 | 0 | 0 | 0 | 0 | 0 | 0.167722 | 1 | 0.140647 | false | 0.002461 | 0.00211 | 0 | 0.146976 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
bd1d05397948d844728d23f3ad671234db2604da | 10,667 | py | Python | library/_weakref.py | creativemindplus/skybison | d1740e08d8de85a0a56b650675717da67de171a0 | [
"CNRI-Python-GPL-Compatible"
] | 278 | 2021-08-31T00:46:51.000Z | 2022-02-13T19:43:28.000Z | library/_weakref.py | creativemindplus/skybison | d1740e08d8de85a0a56b650675717da67de171a0 | [
"CNRI-Python-GPL-Compatible"
] | 9 | 2021-11-05T22:28:43.000Z | 2021-11-23T08:39:04.000Z | library/_weakref.py | tekknolagi/skybison | bea8fc2af0a70e7203b4c19f36c14a745512a335 | [
"CNRI-Python-GPL-Compatible"
] | 12 | 2021-08-31T07:49:54.000Z | 2021-10-08T01:09:01.000Z | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com)
"""Weak-reference support module."""
from builtins import _index
from _builtins import (
_builtin,
_property,
_type,
_unimplemented,
_weakref_callback,
_weakref_check,
_weakref_guard,
_w... | 26.338272 | 77 | 0.650417 | 1,211 | 10,667 | 5.114781 | 0.111478 | 0.227317 | 0.176784 | 0.147239 | 0.788666 | 0.788666 | 0.775428 | 0.775428 | 0.74443 | 0.74443 | 0 | 0.000126 | 0.254523 | 10,667 | 404 | 78 | 26.403465 | 0.778798 | 0.011906 | 0 | 0.765734 | 0 | 0 | 0.029431 | 0.004557 | 0 | 0 | 0 | 0 | 0 | 1 | 0.328671 | false | 0 | 0.006993 | 0.171329 | 0.587413 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 10 |
1f994fa537a696fdd47e2c0670de36a29275d097 | 5,475 | py | Python | resources/dot_PyCharm/system/python_stubs/-762174762/pandas/_libs/reshape.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/08c8f4804c515fdaa26e2e57449872b893ff76da872aae2e2c07135177d29744/pandas/_libs/reshape.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/08c8f4804c515fdaa26e2e57449872b893ff76da872aae2e2c07135177d29744/pandas/_libs/reshape.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module pandas._libs.reshape
# from C:\Python27\lib\site-packages\pandas\_libs\reshape.pyd
# by generator 1.147
# no doc
# imports
import __builtin__ as __builtins__ # <module '__builtin__' (built-in)>
# functions
def unstack(*args, **kwargs): # real signature unknown
"""
transform long so... | 23.199153 | 70 | 0.552329 | 553 | 5,475 | 5.321881 | 0.132007 | 0.073395 | 0.146789 | 0.101597 | 0.900782 | 0.890588 | 0.890588 | 0.890588 | 0.890588 | 0.890588 | 0 | 0.007272 | 0.372055 | 5,475 | 235 | 71 | 23.297872 | 0.848749 | 0.722192 | 0 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.464286 | false | 0.464286 | 0.035714 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
1fa92ecacef1422144766fda0613d1087ee9adb5 | 4,527 | py | Python | static/0.6.0.322/js/transcrypt/phanterpwa.frontend.preloaders.py | PhanterJR/www_sme | bfe3cd430a33c05e7cd4ceadfd6b90ce8f45be90 | [
"MIT"
] | 2 | 2019-06-06T10:37:01.000Z | 2021-10-16T03:36:28.000Z | static/0.6.0.322/js/transcrypt/phanterpwa.frontend.preloaders.py | PhanterJR/www_sme | bfe3cd430a33c05e7cd4ceadfd6b90ce8f45be90 | [
"MIT"
] | null | null | null | static/0.6.0.322/js/transcrypt/phanterpwa.frontend.preloaders.py | PhanterJR/www_sme | bfe3cd430a33c05e7cd4ceadfd6b90ce8f45be90 | [
"MIT"
] | null | null | null | from phanterpwa.frontend import helpers
DIV = helpers.XmlConstructor.tagger("div", False)
android = DIV(
DIV(
DIV(
DIV(
DIV(
DIV(
DIV(
_class='phanterpwa_circle'
),
... | 35.645669 | 88 | 0.381047 | 277 | 4,527 | 5.761733 | 0.129964 | 0.357143 | 0.263158 | 0.223684 | 0.846491 | 0.752506 | 0.744987 | 0.517544 | 0.491228 | 0.491228 | 0 | 0 | 0.550254 | 4,527 | 127 | 89 | 35.645669 | 0.78389 | 0 | 0 | 0.788618 | 0 | 0 | 0.278269 | 0.162986 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00813 | 0 | 0.00813 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 8 |
1fcb6bc2749fbc2b52326b28c19987ccc887a057 | 20,536 | py | Python | thirdparty/basalt/thirdparty/ros/ros_comm/test/test_rostopic/test/test_rostopic_unit.py | Bookiebookie/LieSpline | b617bdf6b37164562387d0257145e9230d28e2e7 | [
"BSD-3-Clause"
] | 2 | 2021-05-22T09:46:00.000Z | 2022-03-25T09:56:22.000Z | thirdparty/basalt/thirdparty/ros/ros_comm/test/test_rostopic/test/test_rostopic_unit.py | Bookiebookie/LieSpline | b617bdf6b37164562387d0257145e9230d28e2e7 | [
"BSD-3-Clause"
] | null | null | null | thirdparty/basalt/thirdparty/ros/ros_comm/test/test_rostopic/test/test_rostopic_unit.py | Bookiebookie/LieSpline | b617bdf6b37164562387d0257145e9230d28e2e7 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# Software License Agreement (BSD License)
#
# Copyright (c) 2009, Willow Garage, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code... | 46.672727 | 266 | 0.611268 | 2,871 | 20,536 | 4.21038 | 0.099269 | 0.137657 | 0.047651 | 0.050546 | 0.801456 | 0.777465 | 0.731221 | 0.72361 | 0.720136 | 0.709629 | 0 | 0.050151 | 0.227113 | 20,536 | 439 | 267 | 46.779043 | 0.711442 | 0.110294 | 0 | 0.739884 | 0 | 0.017341 | 0.14172 | 0.049673 | 0 | 0 | 0 | 0 | 0.390173 | 1 | 0.014451 | false | 0 | 0.069364 | 0 | 0.086705 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
20ff8fae5763690c4f338a8cffe0a8f3ddde5d82 | 259 | py | Python | tests/cmdict/test_utils.py | zequnyu/e2c | 326c87291e9625467e52b066bdac6d5358279e5d | [
"MIT"
] | 1 | 2022-03-30T19:27:58.000Z | 2022-03-30T19:27:58.000Z | tests/cmdict/test_utils.py | edxu96/cmdict | 88e6f19d1fd5ea4bdd87b0b06a9d3230ce1eac94 | [
"MIT"
] | 61 | 2021-05-24T09:09:54.000Z | 2021-09-02T13:25:53.000Z | tests/cmdict/test_utils.py | zequnyu/e2c | 326c87291e9625467e52b066bdac6d5358279e5d | [
"MIT"
] | 1 | 2021-05-24T05:47:46.000Z | 2021-05-24T05:47:46.000Z | """Test utility functions."""
from cmdict.utils import remove_punctuation
def test_remove_punctuation_func():
"""Test function _remove_punctuation."""
assert remove_punctuation("other.") == "other"
assert remove_punctuation("'quote") == "quote"
| 28.777778 | 50 | 0.72973 | 28 | 259 | 6.464286 | 0.535714 | 0.469613 | 0.254144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131274 | 259 | 8 | 51 | 32.375 | 0.804444 | 0.223938 | 0 | 0 | 0 | 0 | 0.115789 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1f045d37f7732da2d1194109bb97104fc508fc32 | 32,306 | py | Python | code/paper_downloader_ICLR.py | SilenceEagle/paper_downloader | 3b0e62350fc6d9d7f9cbc8a139db9ea296171498 | [
"MIT"
] | 15 | 2020-07-06T02:23:49.000Z | 2022-03-28T01:37:17.000Z | code/paper_downloader_ICLR.py | SilenceEagle/paper_downloader | 3b0e62350fc6d9d7f9cbc8a139db9ea296171498 | [
"MIT"
] | 1 | 2021-02-04T12:19:22.000Z | 2021-04-14T07:15:36.000Z | code/paper_downloader_ICLR.py | SilenceEagle/paper_downloader | 3b0e62350fc6d9d7f9cbc8a139db9ea296171498 | [
"MIT"
] | 1 | 2021-12-23T02:47:26.000Z | 2021-12-23T02:47:26.000Z | """paper_downloader_ICLR.py"""
import time
from tqdm import tqdm
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
import os
#https://stackoverflow.com/questions/29... | 46.752533 | 123 | 0.562651 | 3,937 | 32,306 | 4.398781 | 0.073406 | 0.02304 | 0.02021 | 0.027486 | 0.873484 | 0.852004 | 0.838203 | 0.812507 | 0.803846 | 0.781672 | 0 | 0.016593 | 0.319105 | 32,306 | 690 | 124 | 46.82029 | 0.770696 | 0.101591 | 0 | 0.757246 | 0 | 0.025362 | 0.176347 | 0.037534 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012681 | false | 0 | 0.023551 | 0.001812 | 0.04529 | 0.099638 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
1f158762e27070de16bf40b3de6660c7bf40d894 | 18,767 | py | Python | src/generate_data/generate.py | ivarbrek/master_thesis_bestemt | 58074bb609a5db829a5f377f2278c5376c6ce782 | [
"MIT"
] | null | null | null | src/generate_data/generate.py | ivarbrek/master_thesis_bestemt | 58074bb609a5db829a5f377f2278c5376c6ce782 | [
"MIT"
] | null | null | null | src/generate_data/generate.py | ivarbrek/master_thesis_bestemt | 58074bb609a5db829a5f377f2278c5376c6ce782 | [
"MIT"
] | null | null | null | from src.generate_data.test_data_generator import TestDataGenerator
def generate_parameter_tuning_instances():
# Input parameters and info that varies for each instance:
base_settings = ['3-1', '5-2']
all_orders = [[20, 40, 60], [20, 40, 60]]
all_planning_horizon_days = [[6, 9, 14], [5, 8, 12]]
al... | 45.997549 | 115 | 0.648479 | 2,192 | 18,767 | 5.082573 | 0.073905 | 0.037519 | 0.04093 | 0.038776 | 0.906561 | 0.885109 | 0.871645 | 0.867786 | 0.841666 | 0.837806 | 0 | 0.035176 | 0.281984 | 18,767 | 407 | 116 | 46.110565 | 0.791614 | 0.059413 | 0 | 0.855524 | 1 | 0 | 0.071161 | 0.040007 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014164 | false | 0 | 0.002833 | 0 | 0.016997 | 0.014164 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1f8ffd8098b6a220cfa219619e21dd21c7e1a0c1 | 6,550 | py | Python | tests/ci/unit_tests/puff/arm/test_linearized_environments.py | Food-X-Technologies/foodx_devops_tools | 57d1bf1304d9c9a386eaffa427f9eb36c410c350 | [
"MIT"
] | 3 | 2021-06-23T20:53:43.000Z | 2022-01-26T14:19:43.000Z | tests/ci/unit_tests/puff/arm/test_linearized_environments.py | Food-X-Technologies/foodx_devops_tools | 57d1bf1304d9c9a386eaffa427f9eb36c410c350 | [
"MIT"
] | 33 | 2021-08-09T15:44:51.000Z | 2022-03-03T18:28:02.000Z | tests/ci/unit_tests/puff/arm/test_linearized_environments.py | Food-X-Technologies/foodx_devops_tools | 57d1bf1304d9c9a386eaffa427f9eb36c410c350 | [
"MIT"
] | 1 | 2021-06-23T20:53:52.000Z | 2021-06-23T20:53:52.000Z | # Copyright (c) 2021 Food-X Technologies
#
# This file is part of foodx_devops_tools.
#
# You should have received a copy of the MIT License along with
# foodx_devops_tools. If not, see <https://opensource.org/licenses/MIT>.
from foodx_devops_tools.puff.arm import _linearize_environments
class TestLinearizedEnvi... | 27.637131 | 73 | 0.349466 | 449 | 6,550 | 4.890869 | 0.164811 | 0.065574 | 0.04918 | 0.127049 | 0.81102 | 0.797359 | 0.777322 | 0.750911 | 0.733151 | 0.705373 | 0 | 0.064516 | 0.512519 | 6,550 | 236 | 74 | 27.754237 | 0.623238 | 0.041374 | 0 | 0.690821 | 0 | 0 | 0.134812 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 1 | 0.043478 | false | 0 | 0.004831 | 0 | 0.05314 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 7 |
2f36bd1bc97fe2385c526508e9b5fbbe81ce97e2 | 11,137 | py | Python | tests/test_orpha_annotation.py | Centogene/pyhpo | 2f1ea4ee80a9569f9ba0492bec8cfb91a5329606 | [
"MIT"
] | 9 | 2021-02-16T18:24:29.000Z | 2022-02-09T19:01:52.000Z | tests/test_orpha_annotation.py | Centogene/pyhpo | 2f1ea4ee80a9569f9ba0492bec8cfb91a5329606 | [
"MIT"
] | 1 | 2021-08-09T12:54:30.000Z | 2021-08-11T07:51:37.000Z | tests/test_orpha_annotation.py | Centogene/pyhpo | 2f1ea4ee80a9569f9ba0492bec8cfb91a5329606 | [
"MIT"
] | 1 | 2022-02-14T14:19:41.000Z | 2022-02-14T14:19:41.000Z | import unittest
from pyhpo.annotations import Orpha
from pyhpo.parser.diseases import all_orpha_diseases, add_orpha_to_term, add_negative_orpha_to_term
from pyhpo.parser.diseases import _add_orpha_to_ontology
from tests.mockontology import make_ontology, make_orpha
class OrphaTests(unittest.TestCase):
def setUp... | 35.468153 | 99 | 0.603843 | 1,318 | 11,137 | 4.909712 | 0.084977 | 0.220986 | 0.214186 | 0.126565 | 0.815484 | 0.747798 | 0.73528 | 0.640241 | 0.633442 | 0.629733 | 0 | 0.034921 | 0.272335 | 11,137 | 313 | 100 | 35.58147 | 0.763574 | 0.01715 | 0 | 0.610687 | 0 | 0 | 0.011427 | 0 | 0 | 0 | 0 | 0 | 0.408397 | 1 | 0.072519 | false | 0 | 0.019084 | 0.003817 | 0.103053 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2f68ef83394d5bf39bb8c0e96c39dbcb3d6396b5 | 217 | py | Python | examples/voting-app/vote/test_app.py | himawarl/zadig | acd5f705f49fc7838a6d4c3005c6430e49ca212e | [
"Apache-2.0"
] | 1,181 | 2021-05-23T05:17:18.000Z | 2022-03-31T06:37:44.000Z | examples/voting-app/vote/test_app.py | himawarl/zadig | acd5f705f49fc7838a6d4c3005c6430e49ca212e | [
"Apache-2.0"
] | 199 | 2021-05-24T02:28:06.000Z | 2022-03-31T07:22:04.000Z | examples/voting-app/vote/test_app.py | himawarl/zadig | acd5f705f49fc7838a6d4c3005c6430e49ca212e | [
"Apache-2.0"
] | 376 | 2021-05-24T03:37:23.000Z | 2022-03-31T10:11:54.000Z | import app
def test_generate_voter_id():
assert app.get_voter_id({}), "voter id is generated"
def test_get_voter_id():
assert app.get_voter_id({"voter_id": "12345"}) == "12345", "voter id is pre-defined"
| 21.7 | 89 | 0.695853 | 35 | 217 | 4 | 0.4 | 0.35 | 0.214286 | 0.228571 | 0.471429 | 0.471429 | 0.471429 | 0.471429 | 0.471429 | 0 | 0 | 0.054645 | 0.156682 | 217 | 9 | 90 | 24.111111 | 0.710383 | 0 | 0 | 0 | 1 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
85db9da306eaf4e7413469f973b3c0d62112f66e | 168 | py | Python | Geometry/EcalAlgo/python/EcalGeometry_cfi.py | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | Geometry/EcalAlgo/python/EcalGeometry_cfi.py | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 8 | 2020-03-20T23:18:36.000Z | 2020-05-27T11:00:06.000Z | Geometry/EcalAlgo/python/EcalGeometry_cfi.py | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | from Geometry.EcalAlgo.EcalEndcapGeometry_cfi import *
from Geometry.EcalAlgo.EcalPreshowerGeometry_cfi import *
from Geometry.EcalAlgo.EcalBarrelGeometry_cfi import *
| 42 | 57 | 0.875 | 18 | 168 | 8 | 0.444444 | 0.25 | 0.416667 | 0.291667 | 0.402778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 168 | 3 | 58 | 56 | 0.923077 | 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 | 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 | 8 |
c85edb632217f3ba69713640d36fe1c65fa04ba0 | 6,922 | py | Python | src/abaqus/BoundaryCondition/RetainedNodalDofsBC.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/BoundaryCondition/RetainedNodalDofsBC.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/BoundaryCondition/RetainedNodalDofsBC.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | from abaqusConstants import *
from .BoundaryCondition import BoundaryCondition
from ..Region.Region import Region
class RetainedNodalDofsBC(BoundaryCondition):
"""The RetainedNodalDofsBC object stores the data for a retained nodal dofs boundary
condition.
The RetainedNodalDofsBC object is derived from th... | 44.089172 | 125 | 0.649812 | 867 | 6,922 | 5.178777 | 0.132641 | 0.068151 | 0.100223 | 0.084187 | 0.801782 | 0.801782 | 0.801782 | 0.788419 | 0.756347 | 0.732294 | 0 | 0.011227 | 0.305114 | 6,922 | 156 | 126 | 44.371795 | 0.922245 | 0.742127 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.166667 | 0 | 0.611111 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
c0a8f54f5cb5e393cab6df876ca5ede40d75a18e | 143 | py | Python | kash/__init__.py | withkash/kash_python | 38479c0de8dbaf4e778ef4f30a70517eb4c03875 | [
"BSD-3-Clause"
] | null | null | null | kash/__init__.py | withkash/kash_python | 38479c0de8dbaf4e778ef4f30a70517eb4c03875 | [
"BSD-3-Clause"
] | null | null | null | kash/__init__.py | withkash/kash_python | 38479c0de8dbaf4e778ef4f30a70517eb4c03875 | [
"BSD-3-Clause"
] | null | null | null | try:
#python2
from secret_client import SecretClient
except ImportError:
#python3
from .secret_client import SecretClient
| 17.875 | 43 | 0.727273 | 15 | 143 | 6.8 | 0.666667 | 0.196078 | 0.313725 | 0.431373 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018349 | 0.237762 | 143 | 7 | 44 | 20.428571 | 0.917431 | 0.097902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
c0cfc235a5628e2c8abe269518cb86da30b2402d | 14,451 | py | Python | src/models/functions.py | ah12068/fca-takehome-test | 527fd2c9e8dc9f06a4a4d12557d589f830b027be | [
"RSA-MD"
] | null | null | null | src/models/functions.py | ah12068/fca-takehome-test | 527fd2c9e8dc9f06a4a4d12557d589f830b027be | [
"RSA-MD"
] | null | null | null | src/models/functions.py | ah12068/fca-takehome-test | 527fd2c9e8dc9f06a4a4d12557d589f830b027be | [
"RSA-MD"
] | null | null | null | import logging
import pandas as pd
import plotly.graph_objs as go
from plotly.subplots import make_subplots
from constants import (
PLOTLY_TEMPLATE,
PANDAS_TEMPLATE,
classes,
id_col,
target_col,
parameter_grid,
cpu_count,
feature_coefs,
sampling_strats
)
from sklearn.model_selection ... | 38.536 | 94 | 0.597606 | 1,733 | 14,451 | 4.783035 | 0.121754 | 0.015201 | 0.018579 | 0.015442 | 0.85342 | 0.833635 | 0.812523 | 0.802871 | 0.778622 | 0.778622 | 0 | 0.030684 | 0.27832 | 14,451 | 374 | 95 | 38.639037 | 0.764119 | 0.008442 | 0 | 0.764912 | 0 | 0 | 0.152326 | 0.015086 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021053 | false | 0 | 0.052632 | 0 | 0.094737 | 0.010526 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c0d4811a463f27d735399d502d351e98147a7d6f | 5,673 | py | Python | misago/misago/readtracker/tests/test_categoriestracker.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | 2 | 2021-03-06T21:06:13.000Z | 2021-03-09T15:05:12.000Z | misago/misago/readtracker/tests/test_categoriestracker.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | null | null | null | misago/misago/readtracker/tests/test_categoriestracker.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | null | null | null | from datetime import timedelta
import pytest
from django.utils import timezone
from ...conf.test import override_dynamic_settings
from ...threads.test import reply_thread
from ..categoriestracker import make_read_aware
from ..poststracker import save_read
def remove_tracking(thread):
thread.started_on = timezon... | 30.831522 | 87 | 0.81315 | 822 | 5,673 | 5.10219 | 0.099757 | 0.232475 | 0.129709 | 0.085837 | 0.85217 | 0.832618 | 0.814735 | 0.781354 | 0.75298 | 0.700525 | 0 | 0.001417 | 0.129032 | 5,673 | 183 | 88 | 31 | 0.847399 | 0 | 0 | 0.623188 | 0 | 0 | 0.004407 | 0 | 0 | 0 | 0 | 0 | 0.231884 | 1 | 0.144928 | false | 0 | 0.050725 | 0 | 0.202899 | 0 | 0 | 0 | 0 | null | 1 | 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 | 7 |
8d047c47ae156bbd68ca8d81122110ff76507645 | 19,244 | py | Python | src/nets.py | zpreisler/NetsXRF | 85f8752e332668524ebfe37a802059e56858eaa4 | [
"MIT"
] | null | null | null | src/nets.py | zpreisler/NetsXRF | 85f8752e332668524ebfe37a802059e56858eaa4 | [
"MIT"
] | null | null | null | src/nets.py | zpreisler/NetsXRF | 85f8752e332668524ebfe37a802059e56858eaa4 | [
"MIT"
] | null | null | null | import torch
from torch import nn,optim
class Skip(nn.Module):
def __init__(self,in_channels,out_channels):
super().__init__()
self.conv = nn.Sequential(
nn.Conv1d(in_channels=in_channels, out_channels=in_channels, padding=2, kernel_size=5,bias=False),
#nn.BatchNor... | 35.245421 | 126 | 0.576491 | 2,726 | 19,244 | 3.880044 | 0.033749 | 0.113454 | 0.102108 | 0.09341 | 0.94904 | 0.934953 | 0.918124 | 0.892597 | 0.877848 | 0.872932 | 0 | 0.046802 | 0.291623 | 19,244 | 545 | 127 | 35.310092 | 0.729093 | 0.125598 | 0 | 0.736695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05042 | false | 0 | 0.005602 | 0 | 0.106443 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
239d781702e478d873639a83b3fd7d2bd2d07c3b | 101 | py | Python | test_ukz/test_uklr/__init__.py | clauderichard/Ultrakazoid | 619f1afd1fd55afb06e7d27b2bc30eee9929f660 | [
"MIT"
] | null | null | null | test_ukz/test_uklr/__init__.py | clauderichard/Ultrakazoid | 619f1afd1fd55afb06e7d27b2bc30eee9929f660 | [
"MIT"
] | null | null | null | test_ukz/test_uklr/__init__.py | clauderichard/Ultrakazoid | 619f1afd1fd55afb06e7d27b2bc30eee9929f660 | [
"MIT"
] | null | null | null | from .test_transmatrix import *
from .test_flatparser import *
from .test_patternflattener import * | 33.666667 | 36 | 0.811881 | 12 | 101 | 6.583333 | 0.5 | 0.303797 | 0.35443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 101 | 3 | 36 | 33.666667 | 0.897727 | 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 | 1 | 0 | 0 | 7 |
23c340842d90b3a32f69d3da9e89fa15757035cb | 6,821 | py | Python | loldib/getratings/models/NA/na_masteryi/na_masteryi_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_masteryi/na_masteryi_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_masteryi/na_masteryi_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_MasterYi_Top_Aatrox(Ratings):
pass
class NA_MasterYi_Top_Ahri(Ratings):
pass
class NA_MasterYi_Top_Akali(Ratings):
pass
class NA_MasterYi_Top_Alistar(Ratings):
pass
class NA_MasterYi_Top_Amumu(Ratings):
pass
class NA_MasterYi_Top_Anivia(... | 16.357314 | 46 | 0.776133 | 972 | 6,821 | 5.020576 | 0.151235 | 0.197951 | 0.42418 | 0.509016 | 0.814139 | 0.814139 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162879 | 6,821 | 416 | 47 | 16.396635 | 0.854641 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
f1ee91d167b01ecf0d0a255ae45291266654a7b0 | 13,339 | py | Python | src/slidelint/tests/checkers/font_size/TestCheckerFontSize.py | enkidulan/slidelint | ddc99831ce2129254deba580665842b0cdb05a17 | [
"Apache-2.0"
] | 7 | 2015-02-11T14:36:14.000Z | 2021-07-15T13:57:00.000Z | src/slidelint/tests/checkers/font_size/TestCheckerFontSize.py | timvideos/slidelint | 145a273fb188def19da3f57bbd0ab247f34d7c3f | [
"Apache-2.0"
] | null | null | null | src/slidelint/tests/checkers/font_size/TestCheckerFontSize.py | timvideos/slidelint | 145a273fb188def19da3f57bbd0ab247f34d7c3f | [
"Apache-2.0"
] | 1 | 2020-12-21T05:23:59.000Z | 2020-12-21T05:23:59.000Z | """
The *_font_gradient.pdf files have 16 slides that contain a different
sized text:
* the first slide contains 1/1 sized text - the text is as high as
the page
* the second slide contains 1/2 sized text - the text is twice smaller than
the page
* ...
* the 16th slide contains 1/16 sized text - t... | 51.70155 | 78 | 0.425219 | 1,541 | 13,339 | 3.627515 | 0.079169 | 0.101431 | 0.077281 | 0.125581 | 0.874419 | 0.863327 | 0.848837 | 0.848837 | 0.848837 | 0.848837 | 0 | 0.048798 | 0.463828 | 13,339 | 257 | 79 | 51.902724 | 0.732802 | 0.057725 | 0 | 0.907489 | 0 | 0 | 0.425364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022026 | false | 0 | 0.017621 | 0 | 0.044053 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
9e45c88a971aad2ac34afc6b937b2951c5be2eb3 | 98 | py | Python | src/projects/problem_id/Reader.py | Gabvaztor/tensorflowCode | e206ea4544552b87c2d43274cea3182f6b385a87 | [
"Apache-2.0"
] | 4 | 2019-12-14T08:06:18.000Z | 2020-09-12T10:09:31.000Z | src/projects/problem_id/Reader.py | Gabvaztor/tensorflowCode | e206ea4544552b87c2d43274cea3182f6b385a87 | [
"Apache-2.0"
] | null | null | null | src/projects/problem_id/Reader.py | Gabvaztor/tensorflowCode | e206ea4544552b87c2d43274cea3182f6b385a87 | [
"Apache-2.0"
] | 2 | 2020-09-12T10:10:07.000Z | 2021-09-15T11:58:37.000Z | def read_problem():
print("read_problem is executed from other module using dynamical import") | 49 | 78 | 0.785714 | 14 | 98 | 5.357143 | 0.857143 | 0.293333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 98 | 2 | 78 | 49 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0.656566 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0.5 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 9 |
7b88f38bf360a8f957c33949114a4913ae4b4da0 | 5,003 | py | Python | modules/Registry/lv1_os_win_reg_recent_docs.py | naaya17/carpe | fa2e3cfebe20f8839c985e5b9b78b538800172a1 | [
"Apache-2.0"
] | null | null | null | modules/Registry/lv1_os_win_reg_recent_docs.py | naaya17/carpe | fa2e3cfebe20f8839c985e5b9b78b538800172a1 | [
"Apache-2.0"
] | null | null | null | modules/Registry/lv1_os_win_reg_recent_docs.py | naaya17/carpe | fa2e3cfebe20f8839c985e5b9b78b538800172a1 | [
"Apache-2.0"
] | null | null | null | from datetime import datetime, timedelta
import binascii
class Recent_Docs_Information:
par_id = ''
case_id = ''
evd_id = ''
file_folder_name = ''
file_folder_link = ''
modified_time = ''
registry_order = ''
value = ''
useraccount = ''
backup_flag = ''
source_location = ''
... | 67.608108 | 190 | 0.574255 | 635 | 5,003 | 4.206299 | 0.132283 | 0.213403 | 0.11681 | 0.127293 | 0.85848 | 0.843504 | 0.809435 | 0.809435 | 0.809435 | 0.776488 | 0 | 0.043746 | 0.287228 | 5,003 | 73 | 191 | 68.534247 | 0.705272 | 0 | 0 | 0.537313 | 0 | 0 | 0.097161 | 0.039784 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014925 | false | 0 | 0.029851 | 0 | 0.238806 | 0.014925 | 0 | 0 | 0 | null | 1 | 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 | 7 |
7b9f64fb32fe0f81c227765dfe3e64eb59ae9537 | 8,035 | py | Python | test/unit/test_som_rom_generator.py | CospanDesign/nysa | ffe07f0b8fe2f6217e7a862d89b80f1b17163be9 | [
"MIT"
] | 15 | 2015-08-31T20:50:39.000Z | 2022-03-13T08:56:39.000Z | test/unit/test_som_rom_generator.py | CospanDesign/nysa | ffe07f0b8fe2f6217e7a862d89b80f1b17163be9 | [
"MIT"
] | 5 | 2015-05-02T16:48:57.000Z | 2017-06-15T16:25:34.000Z | test/unit/test_som_rom_generator.py | CospanDesign/nysa | ffe07f0b8fe2f6217e7a862d89b80f1b17163be9 | [
"MIT"
] | 6 | 2016-09-02T16:02:13.000Z | 2021-06-29T22:29:45.000Z | #!/usr/bin/python
import unittest
import json
import sys
import os
sys.path.append(os.path.join(os.path.dirname(__file__),
os.pardir,
os.pardir))
from nysa.cbuilder import sdb_component as sdbc
from nysa.cbuilder import sdb_object_model as som
from nysa.cbui... | 39.777228 | 97 | 0.619166 | 1,021 | 8,035 | 4.63859 | 0.147894 | 0.091639 | 0.098818 | 0.120777 | 0.821368 | 0.77766 | 0.764569 | 0.743243 | 0.729307 | 0.721495 | 0 | 0.043635 | 0.272682 | 8,035 | 201 | 98 | 39.975124 | 0.766769 | 0.02402 | 0 | 0.619632 | 0 | 0 | 0.07238 | 0.009096 | 0 | 0 | 0.031386 | 0 | 0 | 0 | null | null | 0 | 0.079755 | null | null | 0.079755 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c8736efcdcf02f759aeb150740fab50faa90b9f3 | 27,114 | py | Python | jacobian_height.py | mfkiwl/snapshot-gnss-algorithms | 4ee4a7874f6b69db08506bf50d4b44ae2aee0bea | [
"0BSD"
] | 8 | 2021-06-19T20:39:17.000Z | 2022-01-14T01:29:54.000Z | jacobian_height.py | zhufengGNSS/snapshot-gnss-algorithms | d9ca013c3738926b71abc3c0df55f7f34ece2fe3 | [
"0BSD"
] | null | null | null | jacobian_height.py | zhufengGNSS/snapshot-gnss-algorithms | d9ca013c3738926b71abc3c0df55f7f34ece2fe3 | [
"0BSD"
] | 4 | 2021-06-26T13:18:20.000Z | 2022-02-14T11:01:39.000Z | """Approximate Jacobian of height measurement for coarse-time navigation."""
import numpy as np
def jacobian_height(state):
"""Approximate Jacobian of height measurement for coarse-time navigation.
Input:
state - Coarse-time navigation state with ECEF XYZ position as first
3 elements... | 847.3125 | 9,051 | 0.750313 | 2,673 | 27,114 | 7.61055 | 0.024317 | 0.022514 | 0.023743 | 0.023595 | 0.981025 | 0.981025 | 0.981025 | 0.981025 | 0.981025 | 0.975028 | 0 | 0.741964 | 0.041934 | 27,114 | 31 | 9,052 | 874.645161 | 0.041152 | 0.013757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
cd9c9a6d834dc73272aba206901aea7bc9fc0e2c | 619,374 | py | Python | bestmobabot/model.py | moonzlo/bestmobabot | 8229de71a9d288daf6a7e513907821570e2eb111 | [
"MIT"
] | 2 | 2020-04-29T03:59:49.000Z | 2021-11-25T17:07:44.000Z | bestmobabot/model.py | moonzlo/bestmobabot | 8229de71a9d288daf6a7e513907821570e2eb111 | [
"MIT"
] | null | null | null | bestmobabot/model.py | moonzlo/bestmobabot | 8229de71a9d288daf6a7e513907821570e2eb111 | [
"MIT"
] | 1 | 2022-03-13T12:32:21.000Z | 2022-03-13T12:32:21.000Z | """
Arena battle prediction model.
Auto-generated on 2018-04-04 23:45:01.
X shape: (1351, 129).
Score: 0.8779 (std: 0.0134).
"""
import base64
import gzip
import pickle
from sklearn.ensemble.forest import RandomForestClassifier
feature_names = ['color_1', 'color_10', 'color_11', 'color_12', 'color_13', 'color_14', '... | 101.006849 | 1,506 | 0.882168 | 34,404 | 619,374 | 15.877863 | 0.906929 | 0.000007 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180947 | 0.049634 | 619,374 | 6,131 | 1,507 | 101.023324 | 0.747073 | 0.000194 | 0 | 0 | 1 | 0.019438 | 0.929715 | 0.928142 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000653 | 0 | 0.000653 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cd9de8d97bb075984d27115637902835b7b1fa63 | 10,554 | py | Python | gym_map_bro/src/toy_agents.py | blakehartley/MAP2 | b83355934a781c5c64caf757483ac07cc3862538 | [
"MIT"
] | null | null | null | gym_map_bro/src/toy_agents.py | blakehartley/MAP2 | b83355934a781c5c64caf757483ac07cc3862538 | [
"MIT"
] | null | null | null | gym_map_bro/src/toy_agents.py | blakehartley/MAP2 | b83355934a781c5c64caf757483ac07cc3862538 | [
"MIT"
] | null | null | null | import gym
import numpy as np
from gym import spaces
import copy
from gym_map_bro.src.data import *
env = gym.make('map-bro-v0')
def recommend(files, Q):
action = ['save', 'compress', 'delete']
for i in range(0, Q.shape[0]-1):
row = Q[i]
if(np.max(row) < 0.1):
print("File {}: {} re... | 41.066148 | 126 | 0.69386 | 1,953 | 10,554 | 3.58935 | 0.115207 | 0.05806 | 0.044936 | 0.025963 | 0.871755 | 0.86077 | 0.83281 | 0.82525 | 0.795292 | 0.790014 | 0 | 0.014629 | 0.164487 | 10,554 | 256 | 127 | 41.226563 | 0.780336 | 0.285958 | 0 | 0.765957 | 0 | 0 | 0.026415 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037234 | false | 0 | 0.026596 | 0 | 0.074468 | 0.026596 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
cddab10f45df6b73a1740329e0432550436b4944 | 7,263 | py | Python | tests/early_stopping/tests/test_early_stopping.py | pekalam/ml_commons | 739293e5eb5b9bce453f0a9ab77a61acba554807 | [
"MIT"
] | null | null | null | tests/early_stopping/tests/test_early_stopping.py | pekalam/ml_commons | 739293e5eb5b9bce453f0a9ab77a61acba554807 | [
"MIT"
] | null | null | null | tests/early_stopping/tests/test_early_stopping.py | pekalam/ml_commons | 739293e5eb5b9bce453f0a9ab77a61acba554807 | [
"MIT"
] | null | null | null | from utils import EarlyStopping
import pytest
def test_add_metric_returns_valid_values_values_scenario1():
early_stopping = EarlyStopping(2, 0.00001, 2000)
assert early_stopping.metric_increased == False
(checkpoint, stop) = early_stopping.add_metric(0.1)
assert early_stopping.metric_increased == Fal... | 61.033613 | 205 | 0.764973 | 1,073 | 7,263 | 4.859273 | 0.067102 | 0.304181 | 0.190257 | 0.145761 | 0.927886 | 0.926352 | 0.911968 | 0.881089 | 0.860568 | 0.841389 | 0 | 0.030053 | 0.147873 | 7,263 | 119 | 206 | 61.033613 | 0.812409 | 0.024095 | 0 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.442857 | 1 | 0.085714 | false | 0 | 0.028571 | 0 | 0.114286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a80d0bf11b0ef42eb6055c2d6feef4f5b1abe79a | 205 | py | Python | tests/mock_arcpy.py | agrc/era | 5347073eea665d5eba969915339b3149a5fec8f4 | [
"MIT"
] | null | null | null | tests/mock_arcpy.py | agrc/era | 5347073eea665d5eba969915339b3149a5fec8f4 | [
"MIT"
] | 3 | 2021-11-01T21:08:23.000Z | 2021-12-02T16:45:46.000Z | tests/mock_arcpy.py | agrc/era | 5347073eea665d5eba969915339b3149a5fec8f4 | [
"MIT"
] | null | null | null | # import sys
# import types
# from unittest.mock import Mock
# module_name = 'arcpy'
# arcpy = types.ModuleType(module_name)
# sys.modules[module_name] = arcpy
# arcpy.da = Mock(name=module_name + '.da')
| 22.777778 | 43 | 0.717073 | 29 | 205 | 4.931034 | 0.413793 | 0.27972 | 0.20979 | 0.27972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 205 | 8 | 44 | 25.625 | 0.817143 | 0.921951 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b583649a7e8917673ed1a35d933fdd4c1b22ab03 | 924 | bzl | Python | test/com/facebook/buck/skylark/parser/testdata/attr/string_list/defs.bzl | Unknoob/buck | 2dfc734354b326f2f66896dde7746a11965d5a13 | [
"Apache-2.0"
] | 8,027 | 2015-01-02T05:31:44.000Z | 2022-03-31T07:08:09.000Z | test/com/facebook/buck/skylark/parser/testdata/attr/string_list/defs.bzl | Unknoob/buck | 2dfc734354b326f2f66896dde7746a11965d5a13 | [
"Apache-2.0"
] | 2,355 | 2015-01-01T15:30:53.000Z | 2022-03-30T20:21:16.000Z | test/com/facebook/buck/skylark/parser/testdata/attr/string_list/defs.bzl | Unknoob/buck | 2dfc734354b326f2f66896dde7746a11965d5a13 | [
"Apache-2.0"
] | 1,280 | 2015-01-09T03:29:04.000Z | 2022-03-30T15:14:14.000Z | """ Module docstring """
def well_formed():
""" Function docstring """
a = attr.string_list()
if repr(a) != "<attr.string_list>":
fail("Expected attr.string_list instance")
a = attr.string_list(mandatory = True, doc = "Some string_list", default = ["foo"])
if repr(a) != "<attr.string_list>"... | 44 | 108 | 0.640693 | 120 | 924 | 4.75 | 0.216667 | 0.298246 | 0.319298 | 0.236842 | 0.887719 | 0.887719 | 0.801754 | 0.801754 | 0.801754 | 0.801754 | 0 | 0.001348 | 0.19697 | 924 | 20 | 109 | 46.2 | 0.766846 | 0.060606 | 0 | 0.533333 | 0 | 0 | 0.331368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 9 |
8d231e12ddac370c5c03dd10bba2b1628a7cd23b | 36 | py | Python | taotao-cloud-python/taotao-cloud-oldboy/day22-python-module/re_lesson.py | shuigedeng/taotao-cloud-paren | 3d281b919490f7cbee4520211e2eee5da7387564 | [
"Apache-2.0"
] | 47 | 2021-04-13T10:32:13.000Z | 2022-03-31T10:30:30.000Z | taotao-cloud-python/taotao-cloud-oldboy/day22-python-module/re_lesson.py | shuigedeng/taotao-cloud-paren | 3d281b919490f7cbee4520211e2eee5da7387564 | [
"Apache-2.0"
] | 1 | 2021-11-01T07:41:04.000Z | 2021-11-01T07:41:10.000Z | taotao-cloud-python/taotao-cloud-oldboy/day22-python-module/re_lesson.py | shuigedeng/taotao-cloud-paren | 3d281b919490f7cbee4520211e2eee5da7387564 | [
"Apache-2.0"
] | 21 | 2021-04-13T10:32:17.000Z | 2022-03-26T07:43:22.000Z | print(eval("12+(34*6+2-5*(2-1))"))
| 12 | 34 | 0.5 | 9 | 36 | 2 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264706 | 0.055556 | 36 | 2 | 35 | 18 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0.542857 | 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 | 1 | 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 | 7 |
8d7700f6c86b1431cd2afa4d082d281ede5cd337 | 22,377 | py | Python | momepy/diversity.py | AleFeli/momepy | fd68bdd2518e2c1cadce41a6059a93cebb2c1864 | [
"MIT"
] | 1 | 2021-06-19T05:41:30.000Z | 2021-06-19T05:41:30.000Z | momepy/diversity.py | AleFeli/momepy | fd68bdd2518e2c1cadce41a6059a93cebb2c1864 | [
"MIT"
] | null | null | null | momepy/diversity.py | AleFeli/momepy | fd68bdd2518e2c1cadce41a6059a93cebb2c1864 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# diversity.py
# definitions of diversity characters
import numpy as np
import pandas as pd
import scipy as sp
from tqdm import tqdm # progress bar
__all__ = ["Range", "Theil", "Simpson", "Gini", "Shannon", "Unique"]
class Range:
"""
Calculates the range of va... | 32.859031 | 121 | 0.58368 | 2,490 | 22,377 | 5.173896 | 0.111245 | 0.056509 | 0.030738 | 0.024218 | 0.896142 | 0.894357 | 0.889622 | 0.877125 | 0.871691 | 0.855468 | 0 | 0.018182 | 0.311793 | 22,377 | 680 | 122 | 32.907353 | 0.814481 | 0.445011 | 0 | 0.841549 | 0 | 0 | 0.037682 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035211 | false | 0 | 0.066901 | 0 | 0.144366 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
57035ba80ecf74dddbbee79922ee9b3d2af78d34 | 504,100 | py | Python | ibm_platform_services/catalog_management_v1.py | nathan-hekman/platform-services-python-sdk | 498c56c33bff040a77f073448563aeed550a2074 | [
"Apache-2.0"
] | null | null | null | ibm_platform_services/catalog_management_v1.py | nathan-hekman/platform-services-python-sdk | 498c56c33bff040a77f073448563aeed550a2074 | [
"Apache-2.0"
] | null | null | null | ibm_platform_services/catalog_management_v1.py | nathan-hekman/platform-services-python-sdk | 498c56c33bff040a77f073448563aeed550a2074 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# (C) Copyright IBM Corp. 2020.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 41.15438 | 137 | 0.601894 | 57,946 | 504,100 | 5.042609 | 0.014479 | 0.015387 | 0.016725 | 0.021756 | 0.859671 | 0.831646 | 0.800444 | 0.776064 | 0.73798 | 0.72284 | 0 | 0.001892 | 0.301686 | 504,100 | 12,248 | 138 | 41.15774 | 0.828172 | 0.324727 | 0 | 0.766166 | 0 | 0 | 0.128524 | 0.019046 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092927 | false | 0.000827 | 0.00193 | 0 | 0.199228 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
93ea4db3557b37d6c68424c50606ec2780736aa5 | 2,320 | py | Python | python_tests/spi_dmx_microbit.py | I-Kermit/ATMega32L-DMX512 | c099bd22fe79f3f98571d9167ade4df04f04f762 | [
"MIT"
] | null | null | null | python_tests/spi_dmx_microbit.py | I-Kermit/ATMega32L-DMX512 | c099bd22fe79f3f98571d9167ade4df04f04f762 | [
"MIT"
] | null | null | null | python_tests/spi_dmx_microbit.py | I-Kermit/ATMega32L-DMX512 | c099bd22fe79f3f98571d9167ade4df04f04f762 | [
"MIT"
] | null | null | null | """ SPI to ATMega32 DMX Demonstration. """
import microbit
import time
# Press any button to repeat the test.
microbit.display.show(microbit.Image.SAD)
while not microbit.button_a.is_pressed() and not microbit.button_b.is_pressed():
pass
microbit.spi.init(baudrate=500000, bits=8, mode=0, sclk=microbit.pin13, mos... | 36.25 | 113 | 0.682328 | 377 | 2,320 | 4.111406 | 0.172414 | 0.185806 | 0.209032 | 0.196129 | 0.830323 | 0.785161 | 0.785161 | 0.747742 | 0.727097 | 0.727097 | 0 | 0.154915 | 0.1625 | 2,320 | 63 | 114 | 36.825397 | 0.64282 | 0.261207 | 0 | 0.375 | 0 | 0.1 | 0.122497 | 0.122497 | 0 | 0 | 0.028269 | 0 | 0 | 1 | 0 | false | 0.05 | 0.05 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
5fe2a7df5e6d4dd0fc009c9e8692ef89bd7d29a7 | 4,530 | py | Python | devil.py | GHOST-PSYCHO/Devil | c10b239bd3c91f8ac82d712521fdfcf950895d75 | [
"Apache-2.0"
] | null | null | null | devil.py | GHOST-PSYCHO/Devil | c10b239bd3c91f8ac82d712521fdfcf950895d75 | [
"Apache-2.0"
] | null | null | null | devil.py | GHOST-PSYCHO/Devil | c10b239bd3c91f8ac82d712521fdfcf950895d75 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python2
#Developed By Alamin Islam
#The Credit For This Code Goes To Alamin Islam
#If You Wanna Take Credits For This Code, Please Look Yourself Again...
#Made in Bangladesh
import base64
exec(base64.b64decode('IyEvdXNyL2Jpbi9weXRob24yCiNjb2Rpbmc9dXRmLTgKI1RoZSBDcmVkaXQgRm9yIFRoaXMgQ29kZSBHb2VzIFRvIEFsYW1pb... | 566.25 | 4,330 | 0.986976 | 44 | 4,530 | 101.613636 | 0.863636 | 0.004921 | 0.004921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09293 | 0.007064 | 4,530 | 8 | 4,330 | 566.25 | 0.901067 | 0.038631 | 0 | 0 | 0 | 0 | 0.989198 | 0.989198 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 9 |
272682ca1563182a8e1986045bb8e4ff90504419 | 57,118 | py | Python | arduino_iot_rest/api/dashboards_v2_api.py | arduino/iot-client-py | 0f17200aa0939b960ba1ddff146cca46643ee268 | [
"Apache-2.0"
] | 13 | 2020-01-19T10:54:35.000Z | 2022-02-27T22:43:21.000Z | arduino_iot_rest/api/dashboards_v2_api.py | arduino/iot-client-py | 0f17200aa0939b960ba1ddff146cca46643ee268 | [
"Apache-2.0"
] | 10 | 2019-11-26T04:39:32.000Z | 2021-03-25T07:46:39.000Z | arduino_iot_rest/api/dashboards_v2_api.py | arduino/iot-client-py | 0f17200aa0939b960ba1ddff146cca46643ee268 | [
"Apache-2.0"
] | 10 | 2020-01-19T10:54:42.000Z | 2021-12-09T05:46:20.000Z | # coding: utf-8
"""
Arduino IoT Cloud API
Provides a set of endpoints to manage Arduino IoT Cloud **Devices**, **Things**, **Properties** and **Timeseries**. This API can be called just with any HTTP Client, or using one of these clients: * [Javascript NPM package](https://www.npmjs.com/package/@arduino/ard... | 45.403816 | 434 | 0.590059 | 6,318 | 57,118 | 5.089585 | 0.039728 | 0.046026 | 0.065307 | 0.027989 | 0.953415 | 0.951113 | 0.943463 | 0.931428 | 0.918149 | 0.90798 | 0 | 0.019781 | 0.336199 | 57,118 | 1,257 | 435 | 45.439936 | 0.828327 | 0.439634 | 0 | 0.726821 | 0 | 0.003311 | 0.182383 | 0.051217 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034768 | false | 0 | 0.008278 | 0 | 0.077815 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
fdfe2e28331278b3acd1664c6cd32872163218f7 | 13,459 | py | Python | test/FileProcessing/HighConDownload/highdowntop150.py | loetcn/UNT | f30371685c0af5b3f8db321363fef4dc7b98836c | [
"Apache-2.0"
] | 2 | 2018-11-15T15:01:53.000Z | 2018-11-15T15:01:55.000Z | test/FileProcessing/HighConDownload/highdowntop150.py | loetcn/UNT | f30371685c0af5b3f8db321363fef4dc7b98836c | [
"Apache-2.0"
] | null | null | null | test/FileProcessing/HighConDownload/highdowntop150.py | loetcn/UNT | f30371685c0af5b3f8db321363fef4dc7b98836c | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
import csv,os,time
import requests
import random
import threadpool
import shutil
#由于之前没有给照片按照指定的文件夹存放,而且,有些照片因为网络的问题没有成功下载,因此只能这样子先复制再下载!
#下载照片数据
#可再做处理,进行优化。
def randomAgentGen():
userAgent = ('Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 S... | 76.039548 | 160 | 0.591054 | 2,184 | 13,459 | 3.607143 | 0.081044 | 0.020564 | 0.090251 | 0.082635 | 0.88817 | 0.886392 | 0.880427 | 0.857451 | 0.843361 | 0.835999 | 0 | 0.189454 | 0.248978 | 13,459 | 177 | 161 | 76.039548 | 0.589929 | 0.006836 | 0 | 0.28125 | 0 | 0.49375 | 0.620519 | 0.008007 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025 | false | 0 | 0.03125 | 0 | 0.06875 | 0.0625 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a907c49e4279a5435f85eafbe5fd631489d84bcc | 8,870 | py | Python | CS534/HW1/code/data_reader.py | eklinkhammer/OSU_Coursework | ffc1d3c95ffc582fb297ac2c720ab3f3ad485cd3 | [
"MIT"
] | null | null | null | CS534/HW1/code/data_reader.py | eklinkhammer/OSU_Coursework | ffc1d3c95ffc582fb297ac2c720ab3f3ad485cd3 | [
"MIT"
] | null | null | null | CS534/HW1/code/data_reader.py | eklinkhammer/OSU_Coursework | ffc1d3c95ffc582fb297ac2c720ab3f3ad485cd3 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import csv
import numpy as np
def get_binary_features(data_set, featureList=None):
print "Loading Binary Data"
if featureList is None:
featureList = get_binary_feature_vector(data_set)
X, Y = get_binary_vector(data_set, featureList)
print "Data Loaded"
return X, Y, featureList
def get_b... | 22.009926 | 250 | 0.561218 | 1,414 | 8,870 | 3.391796 | 0.079915 | 0.08945 | 0.033361 | 0.037531 | 0.911384 | 0.902836 | 0.892619 | 0.859675 | 0.824229 | 0.824229 | 0 | 0.054046 | 0.282413 | 8,870 | 402 | 251 | 22.064677 | 0.69945 | 0.001804 | 0 | 0.826367 | 0 | 0 | 0.054332 | 0.003502 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.006431 | null | null | 0.061093 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8b7c9e29e8a6281ed0d047fdb4496d8a1e13667f | 9,402 | py | Python | src/server/populate_db.py | fdalvi/NeuroX-demo | 9126a3b6a8085d7c586a7ab4f42abd34a7dec6c3 | [
"MIT"
] | 1 | 2021-06-14T16:29:57.000Z | 2021-06-14T16:29:57.000Z | src/server/populate_db.py | fdalvi/NeuroX-demo | 9126a3b6a8085d7c586a7ab4f42abd34a7dec6c3 | [
"MIT"
] | 3 | 2021-03-08T23:07:09.000Z | 2022-02-10T13:00:38.000Z | src/server/populate_db.py | fdalvi/NeuroX-demo | 9126a3b6a8085d7c586a7ab4f42abd34a7dec6c3 | [
"MIT"
] | null | null | null | import database
import datetime
import uuid
db = database.init()
# Init Project 1
project_1 = database.Project.create(
id = uuid.uuid4(),
projectName = "English-Spanish bidirectional model",
creationDate = datetime.datetime.strptime("2018-09-02", '%Y-%m-%d'),
modelPath = "/data/sls/qcri/mt/work/NeuroX/test_data/... | 47.246231 | 146 | 0.73963 | 1,451 | 9,402 | 4.6306 | 0.075121 | 0.06876 | 0.108052 | 0.127698 | 0.909957 | 0.899836 | 0.880786 | 0.855187 | 0.818872 | 0.808751 | 0 | 0.022132 | 0.086896 | 9,402 | 199 | 147 | 47.246231 | 0.760513 | 0.001489 | 0 | 0.375691 | 0 | 0.243094 | 0.657505 | 0.551827 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016575 | 0 | 0.016575 | 0.060773 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
8ba9fff14de39156e3cb8b3d3c8e0213278e3a31 | 9,640 | py | Python | data/typing/pandas.core.dtypes.inference.py | pydata-apis/python-api-record | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 67 | 2020-08-17T11:53:26.000Z | 2021-11-08T20:16:06.000Z | data/typing/pandas.core.dtypes.inference.py | data-apis/python-record-api | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 36 | 2020-08-17T11:09:51.000Z | 2021-12-15T18:09:47.000Z | data/typing/pandas.core.dtypes.inference.py | pydata-apis/python-api-record | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 7 | 2020-08-19T05:06:47.000Z | 2020-11-04T05:10:38.000Z | from typing import *
@overload
def is_dict_like(obj: Literal["float"]):
"""
usage.koalas: 1
"""
...
@overload
def is_dict_like(obj: Literal["int64"]):
"""
usage.koalas: 1
"""
...
@overload
def is_dict_like(obj: Dict[Literal["a"], Type[float]]):
"""
usage.koalas: 1
"""
... | 14.785276 | 88 | 0.50695 | 1,184 | 9,640 | 4.000845 | 0.103885 | 0.077053 | 0.192105 | 0.183872 | 0.796073 | 0.774541 | 0.759341 | 0.73802 | 0.727676 | 0.698754 | 0 | 0.017675 | 0.26639 | 9,640 | 651 | 89 | 14.807988 | 0.652149 | 0.117635 | 0 | 0.647887 | 0 | 0 | 0.069981 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.257042 | false | 0 | 0.003521 | 0 | 0.260563 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8bd3507cf485285aae3a3ce144a43bb513099d8f | 34,364 | py | Python | tests/functional/testplan/runnable/interactive/test_api.py | cpages/testplan | 462f95204095f62ab9ff8ae40e73d0de447204e4 | [
"Apache-2.0"
] | 1 | 2021-07-21T08:28:41.000Z | 2021-07-21T08:28:41.000Z | tests/functional/testplan/runnable/interactive/test_api.py | cpages/testplan | 462f95204095f62ab9ff8ae40e73d0de447204e4 | [
"Apache-2.0"
] | null | null | null | tests/functional/testplan/runnable/interactive/test_api.py | cpages/testplan | 462f95204095f62ab9ff8ae40e73d0de447204e4 | [
"Apache-2.0"
] | null | null | null | """Functional tests for interactive HTTP API."""
import functools
from unittest import mock
import pytest
import requests
import testplan
from testplan import report
from testplan.testing import multitest
from testplan.common.utils import timing
from testplan.common import entity
from testplan.exporters.testing impor... | 32.05597 | 79 | 0.535735 | 3,305 | 34,364 | 5.370348 | 0.08351 | 0.022931 | 0.028734 | 0.036396 | 0.814468 | 0.792045 | 0.755817 | 0.736098 | 0.716209 | 0.691588 | 0 | 0.013688 | 0.349435 | 34,364 | 1,071 | 80 | 32.085901 | 0.780238 | 0.081481 | 0 | 0.722284 | 0 | 0 | 0.217344 | 0.034995 | 0 | 0 | 0 | 0 | 0.070549 | 1 | 0.029115 | false | 0.031355 | 0.012318 | 0 | 0.048152 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
473868d2c6b4eb2556a391542b24b6bfa2939500 | 112 | py | Python | runner/__init__.py | YuhangSong/RBP | 68a230053198de1b689e262974947c4186ee1c49 | [
"MIT"
] | 35 | 2018-08-16T17:16:11.000Z | 2022-02-22T22:14:17.000Z | runner/__init__.py | YuhangSong/RBP | 68a230053198de1b689e262974947c4186ee1c49 | [
"MIT"
] | null | null | null | runner/__init__.py | YuhangSong/RBP | 68a230053198de1b689e262974947c4186ee1c49 | [
"MIT"
] | 4 | 2019-05-28T19:17:39.000Z | 2021-03-18T13:33:57.000Z | from runner.hopfield_runner import *
from runner.citation_runner import *
from runner.hypergrad_runner import *
| 28 | 37 | 0.839286 | 15 | 112 | 6.066667 | 0.4 | 0.32967 | 0.351648 | 0.483516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 112 | 3 | 38 | 37.333333 | 0.91 | 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 | 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 | 8 |
474073aaf00c564100fc1c0f97b35e619bc249fe | 5,883 | py | Python | ckan/ckanext-dcat/ckanext/dcat/interfaces.py | lorenzoeusepi77/ckan | 3a620e9c81ba1750d12941c02184092d507f71df | [
"Apache-2.0"
] | null | null | null | ckan/ckanext-dcat/ckanext/dcat/interfaces.py | lorenzoeusepi77/ckan | 3a620e9c81ba1750d12941c02184092d507f71df | [
"Apache-2.0"
] | null | null | null | ckan/ckanext-dcat/ckanext/dcat/interfaces.py | lorenzoeusepi77/ckan | 3a620e9c81ba1750d12941c02184092d507f71df | [
"Apache-2.0"
] | null | null | null | from ckan.plugins.interfaces import Interface
class IDCATRDFHarvester(Interface):
def before_download(self, url, harvest_job):
'''
Called just before the remote RDF file is downloaded
It returns a tuple with the url (which can be modified) and an
optional list of error messages.
... | 38.960265 | 79 | 0.599694 | 738 | 5,883 | 4.699187 | 0.186992 | 0.063437 | 0.032295 | 0.034602 | 0.876586 | 0.861015 | 0.861015 | 0.83564 | 0.794694 | 0.794694 | 0 | 0 | 0.345232 | 5,883 | 150 | 80 | 39.22 | 0.900312 | 0.749278 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.142857 | 0.071429 | 0 | 0.857143 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 9 |
9a0b97228e4512d9ff0101969724a965b809bf61 | 2,641 | py | Python | migrations/versions/4b2b7cde821f_add_org_name_to_search.py | Violet26/cfapi | c5af1ea54538d20ea1458b4eaf038a7d73fd042d | [
"MIT"
] | 75 | 2015-01-06T14:35:37.000Z | 2021-11-21T16:11:51.000Z | migrations/versions/4b2b7cde821f_add_org_name_to_search.py | Violet26/cfapi | c5af1ea54538d20ea1458b4eaf038a7d73fd042d | [
"MIT"
] | 158 | 2015-01-05T22:42:23.000Z | 2021-01-29T20:24:55.000Z | migrations/versions/4b2b7cde821f_add_org_name_to_search.py | Violet26/cfapi | c5af1ea54538d20ea1458b4eaf038a7d73fd042d | [
"MIT"
] | 56 | 2015-01-14T01:37:20.000Z | 2021-04-30T17:47:11.000Z | """ Adds organization name to the project search tsv
Revision ID: 4b2b7cde821f
Revises: 15593ff6a15f
Create Date: 2015-11-30 17:21:56.928359
"""
# revision identifiers, used by Alembic.
revision = '4b2b7cde821f'
down_revision = '15593ff6a15f'
from alembic import op
import sqlalchemy as sa
def upgrade():
dropt... | 43.295082 | 155 | 0.675502 | 291 | 2,641 | 5.972509 | 0.264605 | 0.06962 | 0.120253 | 0.132911 | 0.847526 | 0.847526 | 0.847526 | 0.847526 | 0.847526 | 0.821059 | 0 | 0.02277 | 0.201817 | 2,641 | 60 | 156 | 44.016667 | 0.801708 | 0.06702 | 0 | 0.808511 | 0 | 0 | 0.769043 | 0.414257 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042553 | false | 0 | 0.042553 | 0 | 0.12766 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
9a3628e375ee68f228a4357704e89d66411fe580 | 48,170 | py | Python | test/test_users.py | jajimenez/notelist | 5c4259126f40379cc31af6cde8713409e77c1d0b | [
"MIT"
] | 1 | 2021-06-01T14:04:08.000Z | 2021-06-01T14:04:08.000Z | test/test_users.py | jajimenez/notelist | 5c4259126f40379cc31af6cde8713409e77c1d0b | [
"MIT"
] | null | null | null | test/test_users.py | jajimenez/notelist | 5c4259126f40379cc31af6cde8713409e77c1d0b | [
"MIT"
] | null | null | null | """User resources unit tests."""
import unittest
import common
from notelist.tools import get_uuid
from notelist.responses import (
METHOD_NOT_ALLOWED, MISSING_TOKEN, INVALID_TOKEN,
NOT_FRESH_TOKEN, USER_UNAUTHORIZED, OK, ERROR_METHOD_NOT_ALLOWED,
ERROR_MISSING_TOKEN, ERROR_INVALID_TOKEN, ERROR_NOT_FRESH... | 32.394082 | 79 | 0.573718 | 6,040 | 48,170 | 4.49106 | 0.028808 | 0.03152 | 0.07491 | 0.058247 | 0.937145 | 0.921994 | 0.906953 | 0.89335 | 0.878346 | 0.872521 | 0 | 0.010603 | 0.297135 | 48,170 | 1,486 | 80 | 32.415882 | 0.79059 | 0.203322 | 0 | 0.854497 | 0 | 0 | 0.17786 | 0.019684 | 0 | 0 | 0 | 0 | 0.320106 | 1 | 0.055556 | false | 0.085979 | 0.006614 | 0 | 0.064815 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
9a3a88af1be183bfe971ba94ff78763cce263c57 | 198 | py | Python | ikibardin/power-fist-segmentation/power_fist/__init__.py | SpaceNetChallenge/SpaceNet_Optimized_Routing_Solutions | 3fbc215de6b05904a5b54b2c7cde7e61074ae38d | [
"Apache-2.0"
] | 27 | 2020-03-04T05:54:48.000Z | 2022-01-05T07:07:44.000Z | ikibardin/power-fist-segmentation/power_fist/__init__.py | CosmiQ/SpaceNet_Optimized_Routing_Solutions | 3fbc215de6b05904a5b54b2c7cde7e61074ae38d | [
"Apache-2.0"
] | 1 | 2020-07-14T10:35:50.000Z | 2020-07-14T10:35:50.000Z | ikibardin/power-fist-segmentation/power_fist/__init__.py | SpaceNetChallenge/SpaceNet_Optimized_Routing_Solutions | 3fbc215de6b05904a5b54b2c7cde7e61074ae38d | [
"Apache-2.0"
] | 7 | 2020-03-07T21:42:57.000Z | 2022-01-07T10:49:50.000Z | from power_fist import n02_config as config_utils
from power_fist import n05_pipeline as pipeline
from power_fist import n01_utils as utils
from power_fist import n06_units_factory as units_factory
| 39.6 | 57 | 0.878788 | 35 | 198 | 4.657143 | 0.4 | 0.220859 | 0.319018 | 0.466258 | 0.294479 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045977 | 0.121212 | 198 | 4 | 58 | 49.5 | 0.890805 | 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 | 1 | 0 | 0 | 7 |
7bddc8f8ab2294ebd8e092474c039459241cff06 | 7,778 | py | Python | test/validation/operators/far_field/test_helmholtz_far_field.py | pescap/bempp-cl | 3a68666e8db0e873d418b734289067483f68f12e | [
"MIT"
] | 70 | 2019-09-04T15:15:05.000Z | 2022-03-22T16:54:40.000Z | test/validation/operators/far_field/test_helmholtz_far_field.py | pescap/bempp-cl | 3a68666e8db0e873d418b734289067483f68f12e | [
"MIT"
] | 66 | 2020-01-16T08:31:00.000Z | 2022-03-25T11:18:59.000Z | test/validation/operators/far_field/test_helmholtz_far_field.py | pescap/bempp-cl | 3a68666e8db0e873d418b734289067483f68f12e | [
"MIT"
] | 22 | 2019-09-30T08:50:33.000Z | 2022-03-20T19:37:22.000Z | """Unit tests for Helmholtz far-field assemblers."""
# pylint: disable=redefined-outer-name
# pylint: disable=C0103
import numpy as _np
import pytest
WAVENUMBER = 2.5
pytestmark = pytest.mark.usefixtures("default_parameters", "helpers")
def test_helmholtz_single_layer_far_field(
default_parameters, helpers, d... | 31.112 | 86 | 0.616097 | 846 | 7,778 | 5.431442 | 0.140662 | 0.052231 | 0.041785 | 0.036561 | 0.877258 | 0.860065 | 0.818498 | 0.796518 | 0.769967 | 0.752992 | 0 | 0.017422 | 0.29892 | 7,778 | 249 | 87 | 31.236948 | 0.825234 | 0.044356 | 0 | 0.747368 | 0 | 0 | 0.019457 | 0.009458 | 0 | 0 | 0 | 0 | 0.026316 | 1 | 0.026316 | false | 0 | 0.110526 | 0 | 0.136842 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d0093c135b1b67654250ea8dc43274b630ca6904 | 2,771 | py | Python | 1/test_main.py | Poogles/adventofcode2017 | 1a961df3583d27cc5e27b0fa26b6316568edbb1c | [
"MIT"
] | null | null | null | 1/test_main.py | Poogles/adventofcode2017 | 1a961df3583d27cc5e27b0fa26b6316568edbb1c | [
"MIT"
] | null | null | null | 1/test_main.py | Poogles/adventofcode2017 | 1a961df3583d27cc5e27b0fa26b6316568edbb1c | [
"MIT"
] | null | null | null | from main import inverse_captcha, inverse_captcha_extended
CHALLENGE_ONE_VALUE = 5672987533353956199629683941564528646262567117433461547747793928322958646779832484689174151918261551689221756165598898428736782194511627829355718493723961323272136452517987471351381881946883528248611611258656199812998632682668749683588515... | 131.952381 | 2,120 | 0.943342 | 86 | 2,771 | 30.034884 | 0.348837 | 0.081301 | 0.085172 | 0.065041 | 0.044135 | 0.030197 | 0 | 0 | 0 | 0 | 0 | 0.811703 | 0.037892 | 2,771 | 20 | 2,121 | 138.55 | 0.157164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0.733333 | 1 | 0.133333 | false | 0 | 0.066667 | 0 | 0.2 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d00a0f931ed496ec6223fff35352f344f8faab68 | 8,766 | py | Python | SHAPE/code.py | Shubhonkar-Paramanick/SHAPE | e9791a9606074ea7a9ba0ceba472f2d24779c59f | [
"MIT"
] | null | null | null | SHAPE/code.py | Shubhonkar-Paramanick/SHAPE | e9791a9606074ea7a9ba0ceba472f2d24779c59f | [
"MIT"
] | null | null | null | SHAPE/code.py | Shubhonkar-Paramanick/SHAPE | e9791a9606074ea7a9ba0ceba472f2d24779c59f | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import numpy as np
import scipy as sp
import pandas as pd
import matplotlib.pyplot as plt
import math
import matplotlib.font_manager
plt.rcParams['figure.figsize'] = [12,7]
plt.rcParams["font.family"] = "Times New Roman"
---------------------------------------------------------------------------... | 36.987342 | 328 | 0.507757 | 1,550 | 8,766 | 2.832258 | 0.091613 | 0.064692 | 0.05262 | 0.034169 | 0.840774 | 0.822551 | 0.815262 | 0.807973 | 0.807973 | 0.807973 | 0 | 0.062818 | 0.126512 | 8,766 | 236 | 329 | 37.144068 | 0.510513 | 0.052019 | 0 | 0.655172 | 0 | 0 | 0.086217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.041379 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d0158b29809ea4ff30c822196a0582e88a0af240 | 14,586 | py | Python | unittest/python/serialization_examples.py | proyan/multicontact-api | 3ff225a2a114044dda07ee9d933dc060a96cc359 | [
"BSD-2-Clause"
] | null | null | null | unittest/python/serialization_examples.py | proyan/multicontact-api | 3ff225a2a114044dda07ee9d933dc060a96cc359 | [
"BSD-2-Clause"
] | null | null | null | unittest/python/serialization_examples.py | proyan/multicontact-api | 3ff225a2a114044dda07ee9d933dc060a96cc359 | [
"BSD-2-Clause"
] | null | null | null | import pathlib
import unittest
import curves # noqa: requiered to get C++ type exposition
import pinocchio as pin
from multicontact_api import ContactSequence
pin.switchToNumpyArray()
PATH = (pathlib.Path(__file__).parent.parent.parent / 'examples').absolute()
print("PATH : ", PATH)
def assertTrajNotNone(testCas... | 44.066465 | 96 | 0.685932 | 1,556 | 14,586 | 6.305913 | 0.067481 | 0.149817 | 0.171219 | 0.042193 | 0.887179 | 0.860885 | 0.789951 | 0.755911 | 0.738585 | 0.722687 | 0 | 0.008723 | 0.182641 | 14,586 | 330 | 97 | 44.2 | 0.814293 | 0.013917 | 0 | 0.640138 | 0 | 0 | 0.030739 | 0.019821 | 0 | 0 | 0 | 0 | 0.647059 | 1 | 0.086505 | false | 0 | 0.017301 | 0 | 0.107266 | 0.00346 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d029e1207c316aa401d844277a55c3ee56d037bb | 2,321 | py | Python | migrations/versions/2018_12_05_not_nullable_fields.py | AlexKouzy/ethnicity-facts-and-figures-publisher | 18ab2495a8633f585e18e607c7f75daa564a053d | [
"MIT"
] | 1 | 2021-10-06T13:48:36.000Z | 2021-10-06T13:48:36.000Z | migrations/versions/2018_12_05_not_nullable_fields.py | AlexKouzy/ethnicity-facts-and-figures-publisher | 18ab2495a8633f585e18e607c7f75daa564a053d | [
"MIT"
] | 116 | 2018-11-02T17:20:47.000Z | 2022-02-09T11:06:22.000Z | migrations/versions/2018_12_05_not_nullable_fields.py | racedisparityaudit/rd_cms | a12f0e3f5461cc41eed0077ed02e11efafc5dd76 | [
"MIT"
] | 2 | 2018-11-09T16:47:35.000Z | 2020-04-09T13:06:48.000Z | """Make more fields in classification tables not nullable
Revision ID: 2018_12_05_not_nullable_fields
Revises: 2018_12_05_fix_page_constraint
Create Date: 2018-12-05 18:47:41.680614
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = "2018_12_05_not_nullable_fields... | 56.609756 | 111 | 0.784145 | 304 | 2,321 | 5.674342 | 0.1875 | 0.073043 | 0.135652 | 0.229565 | 0.863188 | 0.863188 | 0.805217 | 0.805217 | 0.8 | 0.8 | 0 | 0.024517 | 0.08617 | 2,321 | 40 | 112 | 58.025 | 0.788779 | 0.094356 | 0 | 0 | 0 | 0 | 0.309456 | 0.097421 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
d09f971f9e2cfa5939d0ccf9e8b70f124260e142 | 4,712 | py | Python | test/gradTestTrHess.py | EmoryMLIP/OT-Flow | c1851a4da3aa131df1df6132b83d5186c154087e | [
"MIT"
] | 31 | 2020-06-18T10:51:03.000Z | 2022-03-10T19:58:36.000Z | test/gradTestTrHess.py | EmoryMLIP/OT-Flow | c1851a4da3aa131df1df6132b83d5186c154087e | [
"MIT"
] | null | null | null | test/gradTestTrHess.py | EmoryMLIP/OT-Flow | c1851a4da3aa131df1df6132b83d5186c154087e | [
"MIT"
] | 8 | 2020-09-09T23:52:50.000Z | 2022-03-11T21:19:20.000Z | # gradTestTrHess.py
import matplotlib
matplotlib.use('TkAgg')
import matplotlib.pyplot as plt
from src.Phi import Phi
import torch.nn.utils
import copy
import torch.nn as nn
doPlots = True
d = 2
m = 5
nTh = 3
net = Phi(nTh=nTh, m=m, d=d)
net.double()
# vecParams = nn.utils.convert_parameters.parameters_to_vecto... | 23.678392 | 137 | 0.611205 | 756 | 4,712 | 3.76455 | 0.161376 | 0.019677 | 0.042164 | 0.05903 | 0.875615 | 0.853127 | 0.836964 | 0.815531 | 0.815531 | 0.754744 | 0 | 0.029207 | 0.178905 | 4,712 | 198 | 138 | 23.79798 | 0.706384 | 0.262309 | 0 | 0.778761 | 0 | 0 | 0.028821 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.053097 | 0 | 0.053097 | 0.061947 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d0a685e27bcc7af1c8b5d9c81eaeac5f5acee48a | 125 | py | Python | src/witaker/clipboardserver/gui/__main__.py | cathalmcginley/witaker-clipboard-server | 39d4c696e468856135bab908a7dad16f3fb76782 | [
"Apache-2.0"
] | null | null | null | src/witaker/clipboardserver/gui/__main__.py | cathalmcginley/witaker-clipboard-server | 39d4c696e468856135bab908a7dad16f3fb76782 | [
"Apache-2.0"
] | null | null | null | src/witaker/clipboardserver/gui/__main__.py | cathalmcginley/witaker-clipboard-server | 39d4c696e468856135bab908a7dad16f3fb76782 | [
"Apache-2.0"
] | null | null | null | from witaker.clipboardserver.gui import clipboard_server_gui_main
if __name__ == "__main__":
clipboard_server_gui_main() | 31.25 | 65 | 0.824 | 16 | 125 | 5.5625 | 0.625 | 0.337079 | 0.404494 | 0.494382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104 | 125 | 4 | 66 | 31.25 | 0.794643 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
d0dcc7003a56814737f3cc00a096af65bdd8a967 | 20,557 | py | Python | src/onevision/cv/imgproc/transformation/rotation.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | 2 | 2022-03-28T09:46:38.000Z | 2022-03-28T14:12:32.000Z | src/onevision/cv/imgproc/transformation/rotation.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | null | null | null | src/onevision/cv/imgproc/transformation/rotation.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
"""
from __future__ import annotations
from typing import Optional
from typing import Union
import numpy as np
from torch import nn
from torch import Tensor
from torchvision.transforms import InterpolationMode
from torchvision.transforms.functional import hflip
from... | 38.281192 | 81 | 0.565549 | 2,126 | 20,557 | 5.405927 | 0.08984 | 0.033673 | 0.004699 | 0.017402 | 0.889846 | 0.882276 | 0.882276 | 0.882276 | 0.864961 | 0.864961 | 0 | 0.003266 | 0.359488 | 20,557 | 536 | 82 | 38.352612 | 0.869598 | 0.546821 | 0 | 0.7109 | 0 | 0 | 0.029171 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047393 | false | 0 | 0.075829 | 0 | 0.175355 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d0f48a44b8abbb1cbc3f65604b59650d8eeb5f83 | 2,121 | py | Python | tests/test_0222-count-with-axis0.py | sjperkins/awkward-1.0 | 75dbd5d06a012ff9d1da56f898b747cea2b1d2a9 | [
"BSD-3-Clause"
] | null | null | null | tests/test_0222-count-with-axis0.py | sjperkins/awkward-1.0 | 75dbd5d06a012ff9d1da56f898b747cea2b1d2a9 | [
"BSD-3-Clause"
] | null | null | null | tests/test_0222-count-with-axis0.py | sjperkins/awkward-1.0 | 75dbd5d06a012ff9d1da56f898b747cea2b1d2a9 | [
"BSD-3-Clause"
] | null | null | null | # BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/master/LICENSE
from __future__ import absolute_import
import sys
import pytest
import numpy
import awkward1
def test():
nums = [[17, 11, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ... | 101 | 1,722 | 0.400754 | 614 | 2,121 | 1.374593 | 0.065147 | 0.829384 | 1.208531 | 1.563981 | 0.683649 | 0.683649 | 0.683649 | 0.683649 | 0.683649 | 0.683649 | 0 | 0.397558 | 0.305045 | 2,121 | 20 | 1,723 | 106.05 | 0.175034 | 0.041018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.076923 | false | 0 | 0.384615 | 0 | 0.461538 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
d0f4fa8047ca25d893bf2ae3d0183e7d36029c8c | 19,299 | py | Python | Skype4Py/lang/ru.py | low456high/Skype4Py | c48d83f7034109fe46315d45a066126002c6e0d4 | [
"BSD-3-Clause"
] | 199 | 2015-12-07T12:26:23.000Z | 2022-02-03T17:12:37.000Z | Skype4Py/lang/ru.py | low456high/Skype4Py | c48d83f7034109fe46315d45a066126002c6e0d4 | [
"BSD-3-Clause"
] | 49 | 2015-12-07T15:26:00.000Z | 2021-06-07T20:10:58.000Z | Skype4Py/lang/ru.py | low456high/Skype4Py | c48d83f7034109fe46315d45a066126002c6e0d4 | [
"BSD-3-Clause"
] | 74 | 2015-12-19T22:07:02.000Z | 2022-03-09T04:48:32.000Z | apiAttachAvailable = u'\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 \u0418\u041f\u041f'
apiAttachNotAvailable = u'\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u0435\u043d'
apiAttachPendingAuthorization = u'\u041e\u0436\u... | 102.654255 | 328 | 0.804187 | 2,858 | 19,299 | 5.430371 | 0.093772 | 0.034149 | 0.034021 | 0.028351 | 0.624742 | 0.597165 | 0.54884 | 0.495039 | 0.450451 | 0.416559 | 0 | 0.480037 | 0.039639 | 19,299 | 187 | 329 | 103.203209 | 0.357343 | 0 | 0 | 0 | 0 | 0.470588 | 0.785326 | 0.718846 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
efb8ce0f9d6a2c07a5b10e24c9a9fbdef8b77897 | 21,820 | py | Python | python/xpath-helper/xpath_helper/xpath_helper.py | jrebecchi/xpath-helper | 6fddd89d5edb42360f1379b28513c7477a9a0ada | [
"MIT"
] | 14 | 2021-11-12T17:08:35.000Z | 2022-03-09T15:13:23.000Z | python/xpath-helper/xpath_helper/xpath_helper.py | jrebecchi/xpath-helper | 6fddd89d5edb42360f1379b28513c7477a9a0ada | [
"MIT"
] | 1 | 2022-03-09T15:19:11.000Z | 2022-03-12T06:55:28.000Z | python/xpath-helper/xpath_helper/xpath_helper.py | jrebecchi/xpath-helper | 6fddd89d5edb42360f1379b28513c7477a9a0ada | [
"MIT"
] | null | null | null | from typing import List, Optional
from xpath_helper.filter import ValidExpressionFilter
"""
XPathHelper provides a simple and chainnable API to build complicated XPath queries without the hassle.
After building your XPath query, pass it to the <code>str</code> method to get the corresponding XPath string.
"""
class X... | 42.368932 | 163 | 0.593126 | 2,495 | 21,820 | 5.081363 | 0.047295 | 0.08424 | 0.027686 | 0.055372 | 0.895962 | 0.884998 | 0.873324 | 0.861413 | 0.838855 | 0.801467 | 0 | 0 | 0.280935 | 21,820 | 515 | 164 | 42.368932 | 0.808031 | 0.477039 | 0 | 0.214953 | 0 | 0 | 0.106022 | 0.034643 | 0 | 0 | 0 | 0 | 0 | 1 | 0.345794 | false | 0 | 0.018692 | 0 | 0.71028 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
efd8f9545f06f4b2b492920a4ec1828a21e00098 | 98 | py | Python | core/networks/__init__.py | swipswaps/retinal_oct | a99f93d88833fc328b9b7f6aaabe1310632c644b | [
"MIT"
] | 15 | 2021-01-29T17:05:38.000Z | 2022-03-16T17:47:42.000Z | core/networks/__init__.py | solomonkimunyu/retinal_oct | a99f93d88833fc328b9b7f6aaabe1310632c644b | [
"MIT"
] | null | null | null | core/networks/__init__.py | solomonkimunyu/retinal_oct | a99f93d88833fc328b9b7f6aaabe1310632c644b | [
"MIT"
] | 14 | 2021-03-03T03:16:31.000Z | 2022-03-23T19:23:42.000Z | from .resnet_with_conv import resnetconv
from .resnet_with_conv_finetune import resnetconvfinetune | 49 | 57 | 0.908163 | 13 | 98 | 6.461538 | 0.615385 | 0.238095 | 0.333333 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 98 | 2 | 57 | 49 | 0.923077 | 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 | 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 | 8 |
eff07b57468899b9b15339cd5d20d6cb307d3b2f | 221 | py | Python | follower_maze/events/__init__.py | begor/follower_maze | d76315e5085d4566f5730d70b51559b2262bc827 | [
"MIT"
] | null | null | null | follower_maze/events/__init__.py | begor/follower_maze | d76315e5085d4566f5730d70b51559b2262bc827 | [
"MIT"
] | null | null | null | follower_maze/events/__init__.py | begor/follower_maze | d76315e5085d4566f5730d70b51559b2262bc827 | [
"MIT"
] | null | null | null | from follower_maze.events import handler
from follower_maze.events import parser
from follower_maze.events import types
from follower_maze.events.operations import handle
from follower_maze.events.operations import parse
| 36.833333 | 50 | 0.877828 | 32 | 221 | 5.90625 | 0.34375 | 0.31746 | 0.42328 | 0.582011 | 0.846561 | 0.402116 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090498 | 221 | 5 | 51 | 44.2 | 0.940299 | 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 | 1 | 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 | 7 |
4bd8e90999795ecce1f960b7267b29f4ae243114 | 1,554 | py | Python | image_viewer.py | oltarzewskik/python-curses-image-viewer | 2f2b34186689e83e79e3e3c001172afabdaf2fd9 | [
"MIT"
] | 3 | 2019-10-19T15:48:40.000Z | 2020-03-18T15:43:29.000Z | image_viewer.py | strang1ato/python-curses-image-viewer | 2f2b34186689e83e79e3e3c001172afabdaf2fd9 | [
"MIT"
] | 1 | 2019-10-19T15:49:20.000Z | 2019-10-20T15:50:24.000Z | image_viewer.py | strang1ato/python-curses-image-viewer | 2f2b34186689e83e79e3e3c001172afabdaf2fd9 | [
"MIT"
] | 1 | 2021-03-22T21:33:32.000Z | 2021-03-22T21:33:32.000Z | import numpy
from PIL import Image
import curses
import requests
from io import BytesIO
def generate_image(url, height):
response = requests.get(url)
img = Image.open(BytesIO(response.content))
img.convert('RGB')
width = int((img.width / img.height) * height)
img = img.resize((width, height), Imag... | 34.533333 | 82 | 0.615187 | 236 | 1,554 | 3.944915 | 0.20339 | 0.051557 | 0.06015 | 0.07304 | 0.777658 | 0.777658 | 0.777658 | 0.777658 | 0.777658 | 0.777658 | 0 | 0.038494 | 0.231017 | 1,554 | 44 | 83 | 35.318182 | 0.740586 | 0 | 0 | 0.756757 | 1 | 0 | 0.005148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081081 | false | 0 | 0.135135 | 0 | 0.243243 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4bf7abf0c54c35df23769994efaf0d1f9d6a12a8 | 23 | py | Python | my_classes/ScopesClosuresAndDecorators/module1.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | my_classes/ScopesClosuresAndDecorators/module1.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | my_classes/ScopesClosuresAndDecorators/module1.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | a = 10
print(a) # 10
| 5.75 | 14 | 0.478261 | 5 | 23 | 2.2 | 0.6 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0.347826 | 23 | 3 | 15 | 7.666667 | 0.466667 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 1 | 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 | 7 |
ef15d4b06854cd0fc1a1693335f7fd1fd8c84acc | 6,269 | py | Python | loldib/getratings/models/NA/na_nunu/na_nunu_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_nunu/na_nunu_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_nunu/na_nunu_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Nunu_Top_Aatrox(Ratings):
pass
class NA_Nunu_Top_Ahri(Ratings):
pass
class NA_Nunu_Top_Akali(Ratings):
pass
class NA_Nunu_Top_Alistar(Ratings):
pass
class NA_Nunu_Top_Amumu(Ratings):
pass
class NA_Nunu_Top_Anivia(Ratings):
pass
clas... | 15.033573 | 46 | 0.75642 | 972 | 6,269 | 4.452675 | 0.151235 | 0.223198 | 0.350739 | 0.446396 | 0.791359 | 0.791359 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177221 | 6,269 | 416 | 47 | 15.069712 | 0.839085 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
ef26140a8385ab529595694954da36cf623ed154 | 85,378 | py | Python | jaxbo/models.py | PredictiveIntelligenceLab/JAX-BO | 0b78cce465f808149c88cb8a49c5702c8449ec84 | [
"Apache-2.0"
] | 27 | 2021-05-12T03:34:19.000Z | 2022-03-18T16:27:07.000Z | jaxbo/models.py | PredictiveIntelligenceLab/JAX-BO | 0b78cce465f808149c88cb8a49c5702c8449ec84 | [
"Apache-2.0"
] | null | null | null | jaxbo/models.py | PredictiveIntelligenceLab/JAX-BO | 0b78cce465f808149c88cb8a49c5702c8449ec84 | [
"Apache-2.0"
] | null | null | null | import numpy as onp
import jax.numpy as np
from jax import vmap, jit, jvp, vjp, random
from jax.scipy.linalg import cholesky, solve_triangular
from jax.flatten_util import ravel_pytree
from jax.scipy.special import expit as sigmoid
from jax.ops import index_update, index
from functools import partial
import jaxbo.kern... | 41.506077 | 132 | 0.576062 | 11,535 | 85,378 | 4.063459 | 0.03225 | 0.018668 | 0.02526 | 0.020161 | 0.951421 | 0.944316 | 0.93862 | 0.933094 | 0.931281 | 0.92343 | 0 | 0.01322 | 0.294783 | 85,378 | 2,056 | 133 | 41.526265 | 0.765255 | 0.11756 | 0 | 0.931278 | 0 | 0 | 0.02577 | 0.004206 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061657 | false | 0 | 0.010276 | 0 | 0.144509 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
ef6447eba6bf21d91d3f770e65886c8f65d0645d | 239 | py | Python | pyaofit/__init__.py | UlrichThomasGabor/aofit | 5b9093ce935d0da17fbb2d6185f62dadd69beb64 | [
"Unlicense"
] | null | null | null | pyaofit/__init__.py | UlrichThomasGabor/aofit | 5b9093ce935d0da17fbb2d6185f62dadd69beb64 | [
"Unlicense"
] | null | null | null | pyaofit/__init__.py | UlrichThomasGabor/aofit | 5b9093ce935d0da17fbb2d6185f62dadd69beb64 | [
"Unlicense"
] | null | null | null | from pyaofit.printverbose import *
from pyaofit.templates import *
from pyaofit.campaign import *
from pyaofit.campaignfile import *
from pyaofit.aspectgenerator import *
from pyaofit.experimentgenerator import *
from pyaofit.cli import *
| 29.875 | 41 | 0.824268 | 28 | 239 | 7.035714 | 0.357143 | 0.390863 | 0.517767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117155 | 239 | 7 | 42 | 34.142857 | 0.933649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.142857 | 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 | 1 | 0 | 0 | 7 |
32546ab1ea10bf92fca3994406ed66d667f097a9 | 974 | py | Python | project/app/tests/tests_admin.py | dbinetti/brookwood | e3c89e4ab16f07519258f1ced5f20e64b482e47e | [
"BSD-3-Clause"
] | null | null | null | project/app/tests/tests_admin.py | dbinetti/brookwood | e3c89e4ab16f07519258f1ced5f20e64b482e47e | [
"BSD-3-Clause"
] | null | null | null | project/app/tests/tests_admin.py | dbinetti/brookwood | e3c89e4ab16f07519258f1ced5f20e64b482e47e | [
"BSD-3-Clause"
] | null | null | null | # Django
# Third-Party
import pytest
from django.urls import reverse
def test_deploy():
assert True
# @pytest.mark.django_db
# def test_index(admin_client):
# path = reverse('admin:index')
# response = admin_client.get(path)
# assert response.status_code == 200
# @pytest.mark.django_db
# def test_us... | 29.515152 | 73 | 0.699179 | 129 | 974 | 5.062016 | 0.24031 | 0.134763 | 0.122511 | 0.168453 | 0.753446 | 0.719755 | 0.68147 | 0.577335 | 0.577335 | 0.577335 | 0 | 0.018587 | 0.171458 | 974 | 32 | 74 | 30.4375 | 0.790582 | 0.86345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
08a9348feb44c7bbe00e8c54946cb432be9db41f | 14,098 | py | Python | sdk/python/pulumi_wavefront/role.py | pulumi/pulumi-wavefront | 1d199d386ee241fa2ef94553e6cae1359ec9ccf6 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2022-02-20T09:48:33.000Z | 2022-02-20T09:48:33.000Z | sdk/python/pulumi_wavefront/role.py | pulumi/pulumi-wavefront | 1d199d386ee241fa2ef94553e6cae1359ec9ccf6 | [
"ECL-2.0",
"Apache-2.0"
] | 40 | 2020-08-12T08:37:24.000Z | 2022-03-31T15:51:17.000Z | sdk/python/pulumi_wavefront/role.py | pulumi/pulumi-wavefront | 1d199d386ee241fa2ef94553e6cae1359ec9ccf6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 41.833828 | 148 | 0.639381 | 1,594 | 14,098 | 5.452949 | 0.103513 | 0.103774 | 0.086977 | 0.074781 | 0.830534 | 0.817648 | 0.802117 | 0.793028 | 0.787161 | 0.779798 | 0 | 0.003515 | 0.253369 | 14,098 | 336 | 149 | 41.958333 | 0.82225 | 0.369556 | 0 | 0.745665 | 1 | 0 | 0.064085 | 0.003123 | 0 | 0 | 0 | 0 | 0 | 1 | 0.156069 | false | 0.00578 | 0.028902 | 0 | 0.277457 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
08ac5f128e5af202fafd55d2d814c65e7d036d45 | 15,400 | py | Python | bin/Flaws_generators/InitializeSample.py | stivalet/PHP-Vulnerability-test-suite-generator | 30a7374ff01f8262878bb05a1ad6ca0951e1e992 | [
"MIT"
] | 5 | 2015-11-25T23:24:35.000Z | 2021-12-05T15:24:24.000Z | bin/Flaws_generators/InitializeSample.py | stivalet/PHP-Vulnerability-test-suite-generator | 30a7374ff01f8262878bb05a1ad6ca0951e1e992 | [
"MIT"
] | null | null | null | bin/Flaws_generators/InitializeSample.py | stivalet/PHP-Vulnerability-test-suite-generator | 30a7374ff01f8262878bb05a1ad6ca0951e1e992 | [
"MIT"
] | 3 | 2016-07-29T10:23:12.000Z | 2021-06-13T13:49:31.000Z | import os
import sys
import time
import getopt
# Constants
safe = "safe"
unsafe = "unsafe"
needQuote = "needQuote"
quote = "quote"
noQuote = "noQuote"
integer = "int"
safety = "safety"
# block = "block"
# noBlock = "noBlock"
prepared = "prepared"
noPrepared = "noPrepared"
needUrlSafe = "needUrlSafe"
urlSafe = "urlSafe... | 50.825083 | 123 | 0.556039 | 1,652 | 15,400 | 5.148305 | 0.08414 | 0.194709 | 0.193886 | 0.202469 | 0.821399 | 0.80729 | 0.737684 | 0.737684 | 0.664315 | 0.650323 | 0 | 0.007252 | 0.292662 | 15,400 | 302 | 124 | 50.993377 | 0.773524 | 0.161818 | 0 | 0.621891 | 0 | 0 | 0.160567 | 0 | 0 | 0 | 0 | 0.003311 | 0 | 1 | 0.024876 | false | 0 | 0.019901 | 0 | 0.064677 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
08e51c569d12afaf9c15a5743b3bb1cdfc81b857 | 180 | py | Python | packages/extension/background/src/clients/nativeClient.py | Grunet/screen-reader-emulator | 9fd6393f979c900a1f7349a9be0859fbec6c0d5e | [
"MIT"
] | null | null | null | packages/extension/background/src/clients/nativeClient.py | Grunet/screen-reader-emulator | 9fd6393f979c900a1f7349a9be0859fbec6c0d5e | [
"MIT"
] | 57 | 2020-04-05T17:25:42.000Z | 2022-03-01T20:04:05.000Z | packages/extension/background/src/clients/nativeClient.py | Grunet/screen-reader-emulator | 9fd6393f979c900a1f7349a9be0859fbec6c0d5e | [
"MIT"
] | null | null | null | from lib.src.stdToStreams import convertStdToRxStreams
def connectToExtension(nativeAppStdin, nativeAppStdout):
return convertStdToRxStreams(nativeAppStdin, nativeAppStdout)
| 30 | 65 | 0.861111 | 14 | 180 | 11.071429 | 0.785714 | 0.374194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 180 | 5 | 66 | 36 | 0.945122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 1 | 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 | 1 | 1 | 1 | 0 | 0 | 8 |
3ea8a9b10494bf565159fc239d09ace9112ebdca | 155 | py | Python | src/naarad/resources/__init__.py | RiteshMaheshwari/naarad | 401ae683e38900e94898b15ab64d4410a556956c | [
"Apache-2.0"
] | null | null | null | src/naarad/resources/__init__.py | RiteshMaheshwari/naarad | 401ae683e38900e94898b15ab64d4410a556956c | [
"Apache-2.0"
] | null | null | null | src/naarad/resources/__init__.py | RiteshMaheshwari/naarad | 401ae683e38900e94898b15ab64d4410a556956c | [
"Apache-2.0"
] | null | null | null | import pkg_resources
def get_dir():
"""Return the location of resources for report"""
return pkg_resources.resource_filename('naarad.resources',None)
| 25.833333 | 65 | 0.780645 | 21 | 155 | 5.571429 | 0.761905 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116129 | 155 | 5 | 66 | 31 | 0.854015 | 0.277419 | 0 | 0 | 0 | 0 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3ec10cd3faae352db2245c15e334b8722ca31906 | 211 | py | Python | weak_supervision/models/__init__.py | matt-gardner/allennlp-weak-supervision-research | 8597561962a8d9efe6d1725c0887c17a2899d054 | [
"Apache-2.0"
] | null | null | null | weak_supervision/models/__init__.py | matt-gardner/allennlp-weak-supervision-research | 8597561962a8d9efe6d1725c0887c17a2899d054 | [
"Apache-2.0"
] | null | null | null | weak_supervision/models/__init__.py | matt-gardner/allennlp-weak-supervision-research | 8597561962a8d9efe6d1725c0887c17a2899d054 | [
"Apache-2.0"
] | null | null | null | from weak_supervision.models.latent_alignment import LatentAlignment
from weak_supervision.models.semantic_parsing.wikitables_variable_free import (
WikiTablesVariableFreeMml, WikiTablesVariableFreeErm)
| 52.75 | 79 | 0.876777 | 20 | 211 | 8.95 | 0.75 | 0.089385 | 0.212291 | 0.27933 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085308 | 211 | 3 | 80 | 70.333333 | 0.927461 | 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 | 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 | 7 |
3edd79373d2fbda51bb77308b1f692ea3122c0fc | 3,602 | py | Python | Experiments/STMeta/deprecated/Runner_External_LSTM_ADD_60.py | TempAnonymous/Context_Analysis | bbeba1ed7ea7001c22a12721fc4f390d4cc01a6e | [
"MIT"
] | 3 | 2021-06-29T06:18:18.000Z | 2021-09-07T03:11:35.000Z | Experiments/STMeta/deprecated/Runner_External_LSTM_ADD_60.py | TempAnonymous/Context_Analysis | bbeba1ed7ea7001c22a12721fc4f390d4cc01a6e | [
"MIT"
] | null | null | null | Experiments/STMeta/deprecated/Runner_External_LSTM_ADD_60.py | TempAnonymous/Context_Analysis | bbeba1ed7ea7001c22a12721fc4f390d4cc01a6e | [
"MIT"
] | null | null | null | import os
import warnings
warnings.filterwarnings("ignore")
#############################################
# BenchMark Bike
#############################################
# os.system('python STMeta_Obj.py -m STMeta_v1.model.yml -d bike_nyc.data.yml '
# '-p external_lstm_len:4,external_method:lstm-linear-add,gr... | 56.28125 | 122 | 0.666852 | 501 | 3,602 | 4.618762 | 0.08982 | 0.055315 | 0.096802 | 0.138289 | 0.958081 | 0.958081 | 0.956353 | 0.956353 | 0.956353 | 0.956353 | 0 | 0.012446 | 0.107718 | 3,602 | 63 | 123 | 57.174603 | 0.70753 | 0.646308 | 0 | 0.727273 | 0 | 0.363636 | 0.740741 | 0.497685 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.181818 | 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 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
4126f1a0f0b97bc4caf47f351842b2fc9b17e67a | 11,890 | py | Python | src/demo.py | devanshamin/Vault-Plus | 67ef8bab0278977bb5d2e9fd4e6328ef120b47c7 | [
"MIT"
] | null | null | null | src/demo.py | devanshamin/Vault-Plus | 67ef8bab0278977bb5d2e9fd4e6328ef120b47c7 | [
"MIT"
] | null | null | null | src/demo.py | devanshamin/Vault-Plus | 67ef8bab0278977bb5d2e9fd4e6328ef120b47c7 | [
"MIT"
] | null | null | null | from PyQt5 import QtCore, QtGui, QtWidgets
import src.images
class Demo(object):
"""Display sequence demo GUI to the user."""
def setupUi(self, Form: QtWidgets.QWidget) -> None:
"""Creates the widget objects in the proper containers and assigns the proper object names to them.
Args:
... | 169.857143 | 1,046 | 0.639697 | 1,792 | 11,890 | 4.241629 | 0.129464 | 0.105249 | 0.16761 | 0.212472 | 0.799369 | 0.777003 | 0.774503 | 0.764768 | 0.719511 | 0.709775 | 0 | 0.074555 | 0.125736 | 11,890 | 70 | 1,047 | 169.857143 | 0.656181 | 0.028427 | 0 | 0 | 0 | 0.1 | 0.326853 | 0.010636 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0.04 | 0.04 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f5afbd87e86aad9668edafa1110a0e678f4c06c7 | 35,441 | py | Python | seffaflik/elektrik/uretim.py | tgbaozkn/seffaflik | b16bae9bf882ee81511c7f69428e58d22ec25600 | [
"MIT"
] | 10 | 2020-06-20T10:56:04.000Z | 2022-02-03T18:23:59.000Z | seffaflik/elektrik/uretim.py | tgbaozkn/seffaflik | b16bae9bf882ee81511c7f69428e58d22ec25600 | [
"MIT"
] | 1 | 2022-02-01T11:31:33.000Z | 2022-02-03T20:30:01.000Z | seffaflik/elektrik/uretim.py | tgbaozkn/seffaflik | b16bae9bf882ee81511c7f69428e58d22ec25600 | [
"MIT"
] | 6 | 2020-12-09T14:55:46.000Z | 2022-03-31T11:50:36.000Z | import pandas as __pd
import datetime as __dt
from multiprocessing import Pool as __Pool
import multiprocessing as __mp
from functools import reduce as __red
from seffaflik.__ortak.__araclar import make_requests as __make_requests
from seffaflik.__ortak import __dogrulama as __dogrulama
from seffaflik.elektrik import ... | 48.951657 | 121 | 0.613668 | 4,032 | 35,441 | 5.171875 | 0.077133 | 0.050352 | 0.020716 | 0.024169 | 0.897041 | 0.872824 | 0.856807 | 0.843284 | 0.835084 | 0.818347 | 0 | 0.00324 | 0.242234 | 35,441 | 723 | 122 | 49.019364 | 0.771783 | 0.308908 | 0 | 0.726542 | 0 | 0 | 0.188945 | 0.007395 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058981 | false | 0 | 0.034853 | 0 | 0.19571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
f5e11328bea8e6bf403223eb2b52f0917bb75846 | 267 | py | Python | piskle/utils.py | hmiladhia/piskle | 2ab36db0082967996fe243938fcd5a1734fe08e7 | [
"MIT"
] | 5 | 2021-01-12T11:06:32.000Z | 2021-01-13T14:16:35.000Z | piskle/utils.py | hmiladhia/piskle | 2ab36db0082967996fe243938fcd5a1734fe08e7 | [
"MIT"
] | null | null | null | piskle/utils.py | hmiladhia/piskle | 2ab36db0082967996fe243938fcd5a1734fe08e7 | [
"MIT"
] | 1 | 2021-01-13T14:16:41.000Z | 2021-01-13T14:16:41.000Z | import importlib
def import_object(name, class_name):
return getattr(importlib.import_module(name), class_name)
def get_object_class_name(o):
cls = o.__class__
module_name, class_name = cls.__module__, cls.__name__
return module_name, class_name
| 22.25 | 61 | 0.764045 | 38 | 267 | 4.763158 | 0.315789 | 0.248619 | 0.287293 | 0.314917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157303 | 267 | 11 | 62 | 24.272727 | 0.804444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.428571 | 0.142857 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
f5fd571d2e35f731f2af54e03f8bd2e59a0989d1 | 23,200 | py | Python | src/genie/libs/parser/iosxe/tests/ShowPolicyMapType/empty/golden_output25_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowPolicyMapType/empty/golden_output25_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowPolicyMapType/empty/golden_output25_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"CUST123-PIN-T5/0/0.20": {
"service_policy": {
"input": {
"policy_name": {
"CUST123-PIN-T5/0/0.20": {
"class_map": {
"class-default": {
"match_evaluation": ... | 50.655022 | 84 | 0.174009 | 872 | 23,200 | 4.363532 | 0.123853 | 0.063075 | 0.129829 | 0.139816 | 0.87385 | 0.865966 | 0.857556 | 0.838108 | 0.838108 | 0.828384 | 0 | 0.072646 | 0.749612 | 23,200 | 457 | 85 | 50.765864 | 0.582372 | 0 | 0 | 0.649891 | 0 | 0 | 0.164052 | 0.048707 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 7 |
de66e874e6f3337a7898ffcca9505f6c20b64a4f | 1,501 | py | Python | AdventOfCode2016/Day15/Day15.py | MattTitmas/AdventOfCode | 36be4f6bf973f77ff93b08dc69c977bb11951f27 | [
"MIT"
] | null | null | null | AdventOfCode2016/Day15/Day15.py | MattTitmas/AdventOfCode | 36be4f6bf973f77ff93b08dc69c977bb11951f27 | [
"MIT"
] | null | null | null | AdventOfCode2016/Day15/Day15.py | MattTitmas/AdventOfCode | 36be4f6bf973f77ff93b08dc69c977bb11951f27 | [
"MIT"
] | null | null | null | def part1():
positions = {int(i.split("#")[1][0]): int(i.split("position ")[1][:-1]) for i in open("input.txt").read().split("\n")[:-1]}
possiblePositions = {int(i.split("#")[1][0]): int(i.replace("positions;","has").split("has ")[1]) for i in open("input.txt").read().split("\n")}
time = 0
while True:
... | 34.906977 | 148 | 0.52565 | 191 | 1,501 | 4.13089 | 0.198953 | 0.040558 | 0.068441 | 0.050697 | 0.963245 | 0.917617 | 0.917617 | 0.917617 | 0.917617 | 0.917617 | 0 | 0.02873 | 0.281146 | 1,501 | 43 | 149 | 34.906977 | 0.702502 | 0 | 0 | 0.823529 | 0 | 0 | 0.10253 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0 | 0 | 0.117647 | 0.058824 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
de8794163b3c7d92f6d0ca8edd5cddb50532f7a4 | 7,219 | py | Python | test_game.py | alenasur/Game_CAFA | ea3fd48f02e6781ff0bce74b94e8f458e1a0f4cd | [
"MIT"
] | null | null | null | test_game.py | alenasur/Game_CAFA | ea3fd48f02e6781ff0bce74b94e8f458e1a0f4cd | [
"MIT"
] | null | null | null | test_game.py | alenasur/Game_CAFA | ea3fd48f02e6781ff0bce74b94e8f458e1a0f4cd | [
"MIT"
] | 1 | 2021-12-16T20:41:17.000Z | 2021-12-16T20:41:17.000Z | import math
import random
import pygame
import pytest
import unittest
from unittest import TestCase
from main import fcnmath, tow_ok, tower, do_r, check, checkpoin, put_e, enem
def test_fcnmath():
x1, x2, y1, y2 = 0, 1, 0, 1
x_v = 1
y_v = 1
ny_v1 = 1 / math.sqrt(2)
d1 = math.sqrt(2)
a1 = math.... | 39.883978 | 94 | 0.395069 | 1,748 | 7,219 | 1.586957 | 0.059497 | 0.63951 | 0.895458 | 1.127614 | 0.656813 | 0.642754 | 0.642754 | 0.642754 | 0.642754 | 0.63951 | 0 | 0.384382 | 0.361407 | 7,219 | 180 | 95 | 40.105556 | 0.217354 | 0.009281 | 0 | 0.580645 | 0 | 0 | 0.040151 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 1 | 0.064516 | false | 0 | 0.045161 | 0 | 0.116129 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.