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
9225b3c1ee55f4d6994467863ce60bcc9130be6c
54,574
py
Python
src/genie/libs/parser/junos/tests/ShowChassisEnvironment/cli/equal/golden_output_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/junos/tests/ShowChassisEnvironment/cli/equal/golden_output_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/junos/tests/ShowChassisEnvironment/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
309
2019-01-16T20:21:07.000Z
2022-03-30T12:56:41.000Z
expected_output = { 'environment-information': { 'environment-item': [{ 'class': 'Temp', 'name': 'PSM 0', 'status': 'OK', 'temperature': { '#text': '25 ' 'degrees ' 'C ' '/ ' '77 '...
25.693974
41
0.234727
3,139
54,574
4.080599
0.050335
0.100554
0.150207
0.238816
0.95956
0.946678
0.874229
0.847841
0.846202
0.842064
0
0.062942
0.614267
54,574
2,123
42
25.706076
0.545532
0
0
0.874706
0
0
0.269671
0.000421
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
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
9
925cbff7b4fe629ab439be60df8604f24ff66bc7
130
py
Python
kbc_pul/experiments_utils/file_utils.py
ML-KULeuven/KBC-as-PU-Learning
a00f606bd40ca06af0a5627e65a4582859976918
[ "Apache-2.0" ]
4
2021-12-14T16:13:47.000Z
2022-01-21T13:14:14.000Z
kbc_pul/experiments_utils/file_utils.py
ML-KULeuven/KBC-as-PU-Learning
a00f606bd40ca06af0a5627e65a4582859976918
[ "Apache-2.0" ]
null
null
null
kbc_pul/experiments_utils/file_utils.py
ML-KULeuven/KBC-as-PU-Learning
a00f606bd40ca06af0a5627e65a4582859976918
[ "Apache-2.0" ]
null
null
null
import os def print_file_exists(filename: str) -> None: print(f"? file exists: {filename}\n-> {os.path.exists(filename)}")
18.571429
70
0.676923
19
130
4.526316
0.631579
0.488372
0.418605
0
0
0
0
0
0
0
0
0
0.146154
130
6
71
21.666667
0.774775
0
0
0
0
0
0.434109
0.20155
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0.666667
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
1
0
0
1
0
0
1
0
7
927f4c79aa83e7fff26f8f45893a1eaf912e2026
58
py
Python
json_schema_checker/validators/__init__.py
zorgulle/json_schema_checker
20cac68f899528619e5059f0e1fbee0a0f7219d6
[ "MIT" ]
null
null
null
json_schema_checker/validators/__init__.py
zorgulle/json_schema_checker
20cac68f899528619e5059f0e1fbee0a0f7219d6
[ "MIT" ]
null
null
null
json_schema_checker/validators/__init__.py
zorgulle/json_schema_checker
20cac68f899528619e5059f0e1fbee0a0f7219d6
[ "MIT" ]
null
null
null
from .validators import Int from .validators import String
29
30
0.844828
8
58
6.125
0.625
0.571429
0.816327
0
0
0
0
0
0
0
0
0
0.12069
58
2
30
29
0.960784
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
929e8a325b9be258a38a47e650d3a9382c02adaa
15,486
py
Python
regionsSP/source/summary.py
abdelhadisamir/covid-19-SEIAR
187afb1ad4dccb1a4544b54eb7cda3d61d2c601f
[ "MIT" ]
2
2020-05-12T07:32:42.000Z
2021-07-26T09:41:17.000Z
regionsSP/source/summary.py
abdelhadisamir/covid-19-SEIAR
187afb1ad4dccb1a4544b54eb7cda3d61d2c601f
[ "MIT" ]
null
null
null
regionsSP/source/summary.py
abdelhadisamir/covid-19-SEIAR
187afb1ad4dccb1a4544b54eb7cda3d61d2c601f
[ "MIT" ]
null
null
null
if districtRegion1=="DRS 05 - Barretos": date="2020-04-01" #initial condition for susceptible s0=10.0e3 #initial condition for exposed e0=1e-4 #initial condition for infectious i0=1e-4 #initial condition for recovered r0=1e-4 #ini...
32.465409
84
0.596216
1,885
15,486
4.888064
0.057294
0.19796
0.235077
0.138919
0.973084
0.969611
0.969611
0.96603
0.96603
0.951704
0
0.074425
0.345796
15,486
476
85
32.533613
0.835061
0
0
0.882591
0
0
0.079251
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
1
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
9
92adf2c4c13c901877b09563e05bc3de942a3158
4,608
py
Python
chainer_bcnn/functions/loss/noised_cross_entropy.py
yuta-hi/bayesian_unet
cce1dbd75fad9cc29b77eb1c76b33c6a3eb0ffa6
[ "MIT" ]
36
2019-12-04T02:09:25.000Z
2022-03-31T07:18:40.000Z
chainer_bcnn/functions/loss/noised_cross_entropy.py
keisuke-uemura/bayesian_unet
cce1dbd75fad9cc29b77eb1c76b33c6a3eb0ffa6
[ "MIT" ]
2
2019-12-03T06:35:07.000Z
2020-06-14T23:14:13.000Z
chainer_bcnn/functions/loss/noised_cross_entropy.py
keisuke-uemura/bayesian_unet
cce1dbd75fad9cc29b77eb1c76b33c6a3eb0ffa6
[ "MIT" ]
8
2020-12-07T03:43:22.000Z
2022-02-02T03:39:40.000Z
from __future__ import absolute_import from chainer import backend from chainer import functions as F from chainer.functions import sigmoid_cross_entropy from chainer.functions import softmax_cross_entropy from .sigmoid_soft_cross_entropy import sigmoid_soft_cross_entropy def noised_softmax_cross_entropy(y, t, mc_it...
30.516556
95
0.591146
575
4,608
4.586087
0.175652
0.062571
0.045127
0.04361
0.810011
0.810011
0.793326
0.778915
0.764505
0.764505
0
0.011229
0.304253
4,608
150
96
30.72
0.811291
0.269965
0
0.733333
0
0
0.009294
0
0
0
0
0
0.16
1
0.04
false
0
0.08
0
0.2
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
2b832fc4edfc9eb726a140832521968248c37fd7
1,223
py
Python
chapter_2/name_cases.py
superbe/PythonCrashCourse
c8781f68b0e9e68e54d48cce5224ecb6a5625ae2
[ "MIT" ]
null
null
null
chapter_2/name_cases.py
superbe/PythonCrashCourse
c8781f68b0e9e68e54d48cce5224ecb6a5625ae2
[ "MIT" ]
null
null
null
chapter_2/name_cases.py
superbe/PythonCrashCourse
c8781f68b0e9e68e54d48cce5224ecb6a5625ae2
[ "MIT" ]
null
null
null
name = 'eric Pearson' # Упражнение 3. message = f'Hello {name}, would you like to learn some Python today?' print(message) # Упражнение 4. message = f'Hello {name.lower()}, would you like to learn some Python today?' print(message) message = f'Hello {name.upper()}, would you like to learn some Python today?' print(me...
38.21875
109
0.732625
193
1,223
4.606218
0.227979
0.094488
0.060742
0.101237
0.755906
0.755906
0.755906
0.755906
0.755906
0.755906
0
0.004789
0.146361
1,223
31
110
39.451613
0.846743
0.056419
0
0.315789
0
0.210526
0.75784
0.084495
0
0
0
0
0
1
0
false
0
0
0
0
0.526316
0
0
0
null
0
0
0
0
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
1
0
8
2b8d46e20478051b98cf25878001dd95e0c89cd8
47,862
py
Python
google/cloud/bigtable_admin_v2/proto/bigtable_table_admin_pb2_grpc.py
ryanyuan/python-bigtable
e55ca07561f9c946276f3bde599e69947769f560
[ "Apache-2.0" ]
null
null
null
google/cloud/bigtable_admin_v2/proto/bigtable_table_admin_pb2_grpc.py
ryanyuan/python-bigtable
e55ca07561f9c946276f3bde599e69947769f560
[ "Apache-2.0" ]
null
null
null
google/cloud/bigtable_admin_v2/proto/bigtable_table_admin_pb2_grpc.py
ryanyuan/python-bigtable
e55ca07561f9c946276f3bde599e69947769f560
[ "Apache-2.0" ]
null
null
null
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc from google.cloud.bigtable_admin_v2.proto import ( bigtable_table_admin_pb2 as google_dot_cloud_dot_bigtable__admin__v2_dot_proto_dot_bigtable__table__admin_...
43.869844
166
0.704672
4,888
47,862
6.410188
0.060966
0.057926
0.067979
0.049915
0.865126
0.858967
0.832892
0.803147
0.760923
0.750838
0
0.008482
0.236409
47,862
1,090
167
43.910092
0.848852
0.112657
0
0.709071
1
0
0.094126
0.063871
0
0
0
0
0
1
0.050885
false
0
0.007743
0.024336
0.086283
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
2be7223c4ab9ef92f6e5ecb73db51d52ed5811e3
132
py
Python
quine_examples/quine_list.py
mbrown1413/Arbitrary-Quine
758d55a590074d94f0b0f71dd0312923265a5a36
[ "MIT" ]
2
2016-07-18T14:05:48.000Z
2021-12-05T11:35:06.000Z
quine_examples/quine_list.py
mbrown1413/Arbitrary-Quine
758d55a590074d94f0b0f71dd0312923265a5a36
[ "MIT" ]
null
null
null
quine_examples/quine_list.py
mbrown1413/Arbitrary-Quine
758d55a590074d94f0b0f71dd0312923265a5a36
[ "MIT" ]
null
null
null
lines = ['print "lines =", lines', 'for line in lines:', ' print line'] print "lines =", lines for line in lines: print line
26.4
74
0.613636
19
132
4.263158
0.263158
0.37037
0.37037
0.444444
0.938272
0.938272
0.938272
0.938272
0.938272
0
0
0
0.227273
132
4
75
33
0.794118
0
0
0
0
0
0.462121
0
0
0
0
0
0
0
null
null
0
0
null
null
0.75
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
1
0
0
0
0
0
0
1
0
12
9210dc5e1c681b47bc7424501d4cc31b8599ef0b
4,763
py
Python
tests/epyccel/test_epyccel_transpose.py
dina-fouad/pyccel
f4d919e673b400442b9c7b81212b6fbef749c7b7
[ "MIT" ]
206
2018-06-28T00:28:47.000Z
2022-03-29T05:17:03.000Z
tests/epyccel/test_epyccel_transpose.py
dina-fouad/pyccel
f4d919e673b400442b9c7b81212b6fbef749c7b7
[ "MIT" ]
670
2018-07-23T11:02:24.000Z
2022-03-30T07:28:05.000Z
tests/epyccel/test_epyccel_transpose.py
dina-fouad/pyccel
f4d919e673b400442b9c7b81212b6fbef749c7b7
[ "MIT" ]
19
2019-09-19T06:01:00.000Z
2022-03-29T05:17:06.000Z
# pylint: disable=missing-function-docstring, missing-module-docstring/ from numpy.random import randint from pyccel.epyccel import epyccel def test_transpose_shape(language): def f1(x : 'int[:,:]'): from numpy import transpose y = transpose(x) n, m = y.shape return n, m, y[-1,0], ...
28.183432
71
0.505774
802
4,763
2.941397
0.069825
0.029674
0.020348
0.082662
0.845697
0.820687
0.813056
0.802459
0.802459
0.765155
0
0.088676
0.299181
4,763
168
72
28.35119
0.618035
0.014487
0
0.737226
0
0
0.028986
0
0
0
0
0
0.109489
1
0.160584
false
0
0.087591
0
0.357664
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
a62e40b59d5193d55d8c169993defb3ea0af6a2d
161,186
py
Python
tests/test_drive_sample.py
chyroc/pylark
a54cce6b814935fd3c72668b262b54c8ee461484
[ "Apache-2.0" ]
7
2021-08-18T00:42:05.000Z
2022-03-14T09:49:15.000Z
tests/test_drive_sample.py
chyroc/pylark
a54cce6b814935fd3c72668b262b54c8ee461484
[ "Apache-2.0" ]
null
null
null
tests/test_drive_sample.py
chyroc/pylark
a54cce6b814935fd3c72668b262b54c8ee461484
[ "Apache-2.0" ]
1
2022-03-14T09:49:20.000Z
2022-03-14T09:49:20.000Z
# Code generated by lark_sdk_gen. DO NOT EDIT. import unittest import pylark import pytest from tests.test_conf import app_all_permission, app_no_permission from tests.test_helper import mock_get_tenant_access_token_failed def mock(*args, **kwargs): raise pylark.PyLarkError(scope="scope", func="func", code=1, ms...
36.80886
88
0.652749
19,520
161,186
5.065779
0.0125
0.076858
0.099915
0.076453
0.993103
0.991131
0.982242
0.961895
0.940577
0.903817
0
0.002258
0.27199
161,186
4,378
89
36.817268
0.840419
0.000676
0
0.63961
1
0
0.03812
0.015565
0
0
0
0
0.223141
1
0.12928
false
0
0.011806
0
0.142267
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
a64c022309cbe0a220144817328b319ba96f7547
15,665
py
Python
tests/commands/test_cloud.py
pm3310/sagify
79de19e938414a4d0de687e1d3d443711314d9d2
[ "MIT" ]
3
2019-06-10T18:34:42.000Z
2019-10-17T13:51:54.000Z
tests/commands/test_cloud.py
pm3310/sagify
79de19e938414a4d0de687e1d3d443711314d9d2
[ "MIT" ]
null
null
null
tests/commands/test_cloud.py
pm3310/sagify
79de19e938414a4d0de687e1d3d443711314d9d2
[ "MIT" ]
2
2019-10-17T13:52:10.000Z
2021-08-21T07:49:50.000Z
try: from unittest.mock import patch except ImportError: from mock import patch from click.testing import CliRunner import sagify from sagify.config.config import Config from sagify.__main__ import cli class TestUploadData(object): def test_upload_data_happy_case(self): runner = CliRunner() ...
41.662234
99
0.418449
1,280
15,665
4.879688
0.088281
0.038905
0.043228
0.060519
0.951169
0.950208
0.936599
0.933077
0.929395
0.929395
0
0.014883
0.485286
15,665
375
100
41.773333
0.759767
0
0
0.839763
0
0
0.163869
0.084073
0
0
0
0
0.065282
1
0.026706
false
0
0.020772
0
0.05638
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
a6847afb9f867644d48e0218625f0dd5bd6e0330
13,700
py
Python
deprecated/version1/utility.py
kpimparkar/cloudmesh-cloud
cb5ec6c2c8e5eb8c41a697cb67e72183808adb64
[ "Apache-2.0" ]
null
null
null
deprecated/version1/utility.py
kpimparkar/cloudmesh-cloud
cb5ec6c2c8e5eb8c41a697cb67e72183808adb64
[ "Apache-2.0" ]
1
2020-10-21T18:15:46.000Z
2020-10-21T18:15:46.000Z
deprecated/version1/utility.py
kpimparkar/cloudmesh-cloud
cb5ec6c2c8e5eb8c41a697cb67e72183808adb64
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Sep 23 19:15:04 2018 @author: yuluo """ import subprocess class Utility(object): def __init__(self, debug=False): """ initializes the utulity class for awscm :param debug: enables debug information to be printed "...
45.51495
118
0.564161
1,526
13,700
4.975098
0.080603
0.089831
0.115911
0.131718
0.863936
0.82205
0.804663
0.800053
0.793862
0.752766
0
0.004317
0.306788
13,700
300
119
45.666667
0.795093
0.241898
0
0.711656
0
0
0.183338
0
0
0
0
0
0
1
0.07362
false
0
0.006135
0
0.214724
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
a6c3f96b7909d2e2755a500bcd6ce3c2ca94c43c
11,416
py
Python
template/tests/load_dat.py
ajmaurais/peptide_analyzer
62f37d88fefd0a8cfb57a8c157cfc85692956360
[ "MIT" ]
null
null
null
template/tests/load_dat.py
ajmaurais/peptide_analyzer
62f37d88fefd0a8cfb57a8c157cfc85692956360
[ "MIT" ]
null
null
null
template/tests/load_dat.py
ajmaurais/peptide_analyzer
62f37d88fefd0a8cfb57a8c157cfc85692956360
[ "MIT" ]
null
null
null
import sys import os from collections import Counter import pandas as pd sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/../') dat_std = pd.read_csv(os.path.dirname(os.path.abspath(__file__)) + '/data/std_output.tsv', sep='\t') atom_counts = {'A': Counter({'C': 3, 'H': 5,...
38.053333
100
0.102313
739
11,416
1.56157
0.090663
0.045061
0.083189
0.103986
0.804159
0.792894
0.737435
0.657712
0.634315
0.634315
0
0.155398
0.765505
11,416
299
101
38.180602
0.275682
0
0
0.863946
0
0
0.059926
0
0
0
0
0
0
1
0
false
0
0.013605
0
0.013605
0
0
0
1
null
0
0
0
1
1
1
0
0
1
0
0
1
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
470eba693eedc484f3528cebad4ea8fde2a80a34
47
py
Python
Exercise/t4.py
Twenkid/Python-Various
cb6d704724d0e0325cf05a2f95b08cc892ff0857
[ "MIT" ]
null
null
null
Exercise/t4.py
Twenkid/Python-Various
cb6d704724d0e0325cf05a2f95b08cc892ff0857
[ "MIT" ]
null
null
null
Exercise/t4.py
Twenkid/Python-Various
cb6d704724d0e0325cf05a2f95b08cc892ff0857
[ "MIT" ]
null
null
null
#t4.py def kaka(a): print(a*465546 + 2342)
11.75
23
0.595745
9
47
3.111111
0.888889
0
0
0
0
0
0
0
0
0
0
0.297297
0.212766
47
4
23
11.75
0.459459
0.106383
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
0.5
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
1
0
0
0
0
0
1
0
7
471ea69b41d7dcaee6304d49c046c2751ce16a2b
8,504
py
Python
model.py
hafezgh/music_classification
68fa398b7d4455475d07ae17c3b6b94459a96ac7
[ "MIT" ]
1
2021-07-15T18:47:02.000Z
2021-07-15T18:47:02.000Z
model.py
hafezgh/music_classification
68fa398b7d4455475d07ae17c3b6b94459a96ac7
[ "MIT" ]
null
null
null
model.py
hafezgh/music_classification
68fa398b7d4455475d07ae17c3b6b94459a96ac7
[ "MIT" ]
null
null
null
import torch.optim as optim import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable import numpy as np import torchvision import torch from torchvision import models, datasets class CRNN_Base(nn.Module): def __init__(self, class_num, c, h, w, k, filters, poolings, dropout_rate, g...
36.497854
111
0.577493
1,283
8,504
3.742011
0.110678
0.068736
0.071235
0.044991
0.864612
0.851281
0.851281
0.841908
0.834618
0.834618
0
0.054395
0.273636
8,504
233
112
36.497854
0.722843
0.081961
0
0.773256
0
0
0
0
0
0
0
0
0
1
0.034884
false
0
0.046512
0
0.116279
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
5ba7dd577c3e8828d8289625c9be21e83ca75ece
2,378
py
Python
api/migrations/0076_auto_20200728_1500.py
IFRCGo/ifrcgo-api
c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a
[ "MIT" ]
11
2018-06-11T06:05:12.000Z
2022-03-25T09:31:44.000Z
api/migrations/0076_auto_20200728_1500.py
IFRCGo/ifrcgo-api
c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a
[ "MIT" ]
498
2017-11-07T21:20:13.000Z
2022-03-31T14:37:18.000Z
api/migrations/0076_auto_20200728_1500.py
IFRCGo/ifrcgo-api
c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a
[ "MIT" ]
6
2018-04-11T13:29:50.000Z
2020-07-16T16:52:11.000Z
# Generated by Django 2.2.13 on 2020-07-28 15:00 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('api', '0075_profile_last_frontend_login'), ] operations = [ migrations.RemoveField( model_name='fieldreport', name='cases',...
27.651163
52
0.543314
188
2,378
6.579787
0.207447
0.305578
0.378335
0.43654
0.86823
0.86823
0.831851
0.789006
0.205335
0.109943
0
0.013046
0.355341
2,378
85
53
27.976471
0.793868
0.019344
0
0.683544
1
0
0.233476
0.064807
0
0
0
0
0
1
0
false
0
0.012658
0
0.050633
0
0
0
0
null
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
f3290a43c48894b4555f25b583136c942a6ca761
13,539
py
Python
ext/ANTsPyNet/antspynet/architectures/create_densenet_model.py
tsmonteiro/fmri_proc
ee740cfa3c3a7ef8e1ee1ebd3b286a66712e0ec1
[ "MIT" ]
2
2021-11-16T10:00:33.000Z
2021-12-13T02:57:40.000Z
ext/ANTsPyNet/antspynet/architectures/create_densenet_model.py
tsmonteiro/fmri_proc
ee740cfa3c3a7ef8e1ee1ebd3b286a66712e0ec1
[ "MIT" ]
null
null
null
ext/ANTsPyNet/antspynet/architectures/create_densenet_model.py
tsmonteiro/fmri_proc
ee740cfa3c3a7ef8e1ee1ebd3b286a66712e0ec1
[ "MIT" ]
1
2021-12-13T02:57:27.000Z
2021-12-13T02:57:27.000Z
import tensorflow as tf import tensorflow.keras.backend as K from tensorflow.keras.models import Model from tensorflow.keras.layers import (Input, Dropout, BatchNormalization, Activation, Dense, Concatenate, Conv2D, Conv2DTranspose, GlobalAve...
37.818436
104
0.602482
1,466
13,539
5.329468
0.133015
0.063484
0.065276
0.063484
0.937796
0.93434
0.933828
0.930756
0.921669
0.895559
0
0.023574
0.320112
13,539
357
105
37.92437
0.825204
0.237979
0
0.793296
0
0
0.038925
0
0
0
0
0
0
1
0.044693
false
0
0.03352
0
0.078212
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
f3436f7a9fc684a11402ed73af31d4c502f05580
9,023
py
Python
pyworkforce/shifts/tests/test_shifts.py
rodrigo-arenas/pyworkforce
f3986ebbc3c48a8ae08dc04dfb939ac6a9516233
[ "MIT" ]
10
2021-03-20T02:58:52.000Z
2022-03-28T05:58:56.000Z
pyworkforce/shifts/tests/test_shifts.py
rodrigo-arenas/pyworkforce
f3986ebbc3c48a8ae08dc04dfb939ac6a9516233
[ "MIT" ]
3
2021-03-13T02:11:39.000Z
2021-04-08T01:27:36.000Z
pyworkforce/shifts/tests/test_shifts.py
rodrigo-arenas/pyworkforce
f3986ebbc3c48a8ae08dc04dfb939ac6a9516233
[ "MIT" ]
1
2022-01-04T11:06:47.000Z
2022-01-04T11:06:47.000Z
from pyworkforce.shifts import MinAbsDifference, MinRequiredResources import pytest def test_min_abs_difference_schedule(): required_resources = [ [9, 11, 17, 9, 7, 12, 5, 11, 8, 9, 18, 17, 8, 12, 16, 8, 7, 12, 11, 10, 13, 19, 16, 7], [13, 13, 12, 15, 18, 20, 13, 16, 17, 8, 13, 11, 6, 19, 11, 20, ...
49.850829
109
0.477557
1,392
9,023
2.990661
0.056034
0.164305
0.21619
0.247898
0.946193
0.946193
0.946193
0.946193
0.937785
0.937785
0
0.197612
0.359526
9,023
180
110
50.127778
0.522755
0
0
0.868056
0
0
0.080794
0
0
0
0
0
0.222222
1
0.041667
false
0
0.013889
0
0.055556
0
0
0
0
null
0
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
0
0
0
0
0
0
0
0
0
0
9
f34466e2623ecc3731ee9a82d535b049123cd382
4,253
py
Python
accelbyte_py_sdk/api/eventlog/__init__.py
AccelByte/accelbyte-python-sdk
dcd311fad111c59da828278975340fb92e0f26f7
[ "MIT" ]
null
null
null
accelbyte_py_sdk/api/eventlog/__init__.py
AccelByte/accelbyte-python-sdk
dcd311fad111c59da828278975340fb92e0f26f7
[ "MIT" ]
1
2021-10-13T03:46:58.000Z
2021-10-13T03:46:58.000Z
accelbyte_py_sdk/api/eventlog/__init__.py
AccelByte/accelbyte-python-sdk
dcd311fad111c59da828278975340fb92e0f26f7
[ "MIT" ]
null
null
null
# Copyright (c) 2021 AccelByte Inc. All Rights Reserved. # This is licensed software from AccelByte Inc, for limitations # and restrictions contact your company contract manager. # # Code generated. DO NOT EDIT! # template file: justice_py_sdk_codegen/__main__.py """Auto-generated package that contains models used b...
47.255556
88
0.894663
627
4,253
5.553429
0.141946
0.220563
0.330844
0.180931
0.878231
0.875359
0.82826
0.564905
0.316485
0.225158
0
0.002297
0.078768
4,253
89
89
47.786517
0.886422
0.101575
0
0
1
0
0.006835
0
0
0
0
0
0
1
0
false
0
0.955224
0
0.955224
0
0
0
0
null
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
9
f3524d7786f294f680962dddd5beb46c86fd8c5e
15,143
py
Python
experiments.py
joshsanz/learned_uncertainty
2103126105dbe44cfe75fc22291ba669c1a162f3
[ "MIT" ]
null
null
null
experiments.py
joshsanz/learned_uncertainty
2103126105dbe44cfe75fc22291ba669c1a162f3
[ "MIT" ]
null
null
null
experiments.py
joshsanz/learned_uncertainty
2103126105dbe44cfe75fc22291ba669c1a162f3
[ "MIT" ]
null
null
null
import matplotlib matplotlib.use('tkagg') from matplotlib import pyplot as plt plt.rc('figure', figsize=[10, 6]) import time from data_models import * from prediction_models import * from control_models import * def error(predicted_return, true_return): return (predicted_return - true_return) def get_gaussian...
44.801775
111
0.606947
1,756
15,143
4.960137
0.090547
0.04248
0.034443
0.028932
0.86372
0.834328
0.80884
0.79093
0.779104
0.76349
0
0.015598
0.280262
15,143
337
112
44.934718
0.783558
0.074556
0
0.751908
0
0
0.100086
0.009866
0
0
0
0
0
1
0.038168
false
0
0.022901
0.003817
0.099237
0.015267
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
346dfc38e5228510fbb6d8575a372cd8d9bac798
9,074
py
Python
src/thex/apps/utils/signal_utils.py
harris-2374/THEx
04c4f56eb2cf86b8f55ddd6edd3f48029296bf5a
[ "MIT" ]
null
null
null
src/thex/apps/utils/signal_utils.py
harris-2374/THEx
04c4f56eb2cf86b8f55ddd6edd3f48029296bf5a
[ "MIT" ]
null
null
null
src/thex/apps/utils/signal_utils.py
harris-2374/THEx
04c4f56eb2cf86b8f55ddd6edd3f48029296bf5a
[ "MIT" ]
null
null
null
from pathlib import Path import dash_core_components as dcc import dash_bootstrap_components as dbc import dash_html_components as html import plotly import plotly.express as px import plotly.graph_objects as go from plotly.subplots import make_subplots # -------------------- Graphing Functions -------------------- ...
25.925714
88
0.528543
930
9,074
4.973118
0.198925
0.029189
0.016865
0.024216
0.828757
0.823351
0.814703
0.814703
0.792216
0.776
0
0.013082
0.351333
9,074
349
89
26
0.772681
0.162222
0
0.739583
0
0
0.058011
0
0
0
0
0
0.013889
1
0.024306
false
0
0.027778
0
0.086806
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
1bd08961b282ce3b26745bfd817a53d3ce607b1f
164
py
Python
swingtrader/stockmarketapi/__init__.py
kabylkas/swingtrader
8682e33464883f54b80f9764cfaf3cc9248774a0
[ "Apache-2.0" ]
null
null
null
swingtrader/stockmarketapi/__init__.py
kabylkas/swingtrader
8682e33464883f54b80f9764cfaf3cc9248774a0
[ "Apache-2.0" ]
null
null
null
swingtrader/stockmarketapi/__init__.py
kabylkas/swingtrader
8682e33464883f54b80f9764cfaf3cc9248774a0
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2021-2022 Kabylkas Labs. # Licensed under the Apache License, Version 2.0. from .stockmarketapi import Stock from .stockmarketapi import StockBucket
41
49
0.804878
22
164
6
0.863636
0.272727
0.363636
0
0
0
0
0
0
0
0
0.06993
0.128049
164
4
50
41
0.853147
0.52439
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
1bd5e7384dac3f4e1c314c62e84166a6ae616194
137
py
Python
lib/nginxlib.py
charmed-kubernetes/juju-layer-nginx
672d27695b512e50f51777b1eb63c5ff157b3d9e
[ "MIT" ]
1
2015-11-04T03:40:24.000Z
2015-11-04T03:40:24.000Z
lib/nginxlib.py
charmed-kubernetes/juju-layer-nginx
672d27695b512e50f51777b1eb63c5ff157b3d9e
[ "MIT" ]
null
null
null
lib/nginxlib.py
charmed-kubernetes/juju-layer-nginx
672d27695b512e50f51777b1eb63c5ff157b3d9e
[ "MIT" ]
null
null
null
from warnings import warn from charms.layer.nginx import * # noqa warn('nginxlib is being deprecated, use charms.layer.nginx instead')
27.4
68
0.781022
20
137
5.35
0.7
0.205607
0.299065
0
0
0
0
0
0
0
0
0
0.138686
137
4
69
34.25
0.90678
0.029197
0
0
0
0
0.458015
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
94248c4b47d73f1af610ca1e30110952cd6738d6
1,236
py
Python
filter_local_tool/test_filter.py
g-freire/web-parser-tools
edbec7b57b33eea8a203e1b32a8c911ef1a22956
[ "MIT" ]
1
2019-09-25T21:22:14.000Z
2019-09-25T21:22:14.000Z
filter_local_tool/test_filter.py
g-freire/web-parser-tools
edbec7b57b33eea8a203e1b32a8c911ef1a22956
[ "MIT" ]
null
null
null
filter_local_tool/test_filter.py
g-freire/web-parser-tools
edbec7b57b33eea8a203e1b32a8c911ef1a22956
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import pytest from filter_tool import * # critical URL's that can break the algo product_pattern = ["https://www.epocacosmeticos.com.br/some_product/p","https://www.epocacosmeticos.com.br/sabonete-eme-barra-dermage-secatriz/p"] duplicates = ["https://www.epocacosmeticos....
56.181818
239
0.749191
171
1,236
5.321637
0.269006
0.237363
0.276923
0.303297
0.820879
0.721978
0.601099
0.57033
0.514286
0.514286
0
0.001741
0.070388
1,236
21
240
58.857143
0.790252
0.066343
0
0
0
0.583333
0.615318
0.051349
0
0
0
0
0.333333
1
0.083333
false
0
0.166667
0
0.25
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
9474293f5ec239c728c0ec0b3c31ea7b0eb35bf9
3,221
py
Python
vb2py/test_at_scale/testheinsega.py
ceprio/xl_vb2py
899fec0301140fd8bd313e8c80b3fa839b3f5ee4
[ "BSD-3-Clause" ]
null
null
null
vb2py/test_at_scale/testheinsega.py
ceprio/xl_vb2py
899fec0301140fd8bd313e8c80b3fa839b3f5ee4
[ "BSD-3-Clause" ]
null
null
null
vb2py/test_at_scale/testheinsega.py
ceprio/xl_vb2py
899fec0301140fd8bd313e8c80b3fa839b3f5ee4
[ "BSD-3-Clause" ]
null
null
null
import unittest from vb2py.test_at_scale import file_tester class Test_heinsega(file_tester.FileTester): def test0(self): self._testFile('/Users/paul/Workspace/sandbox/vb2py-git-files/heinsega/OX163_VB6project_Win32/Module1.bas') def test1(self): self._testFile('/Users/paul/Workspace/sandbox/vb2py-git-files/...
40.2625
120
0.804409
449
3,221
5.556793
0.178174
0.073747
0.147495
0.193587
0.761523
0.761523
0.761523
0.761523
0.761523
0.761523
0
0.06807
0.055883
3,221
79
121
40.772152
0.752384
0
0
0
0
0.45098
0.665217
0.662733
0
0
0
0
0
1
0.45098
false
0.019608
0.039216
0
0.509804
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
null
0
0
0
0
0
1
0
0
0
0
1
0
0
11
848ca2162eb67138e863cb310ce9975b6442a245
4,629
py
Python
customer_api/api/migrations/0008_auto_20171017_1504.py
t-yanaka/zabbix-report
ef471b60626dd5fef9bcaa74d6cbbc00cca10c9b
[ "MIT" ]
2
2017-06-27T00:03:35.000Z
2020-09-16T11:47:53.000Z
customer_api/api/migrations/0008_auto_20171017_1504.py
t-yanaka/zabbix-report
ef471b60626dd5fef9bcaa74d6cbbc00cca10c9b
[ "MIT" ]
null
null
null
customer_api/api/migrations/0008_auto_20171017_1504.py
t-yanaka/zabbix-report
ef471b60626dd5fef9bcaa74d6cbbc00cca10c9b
[ "MIT" ]
3
2017-10-13T19:31:08.000Z
2020-09-16T11:47:54.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-10-17 06:04 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('api', '0007_auto_20171005_1713'), ] operations = [...
42.46789
133
0.576366
455
4,629
5.676923
0.16044
0.037166
0.059621
0.09369
0.807588
0.759582
0.746032
0.746032
0.720093
0.720093
0
0.017231
0.285375
4,629
108
134
42.861111
0.763603
0.01469
0
0.653465
1
0
0.125932
0.014699
0
0
0
0
0
1
0
false
0
0.029703
0
0.059406
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
84e45d2b85d8499f1f5a378dd4dacfb53eabf9db
13,567
py
Python
plbenchmark/utils.py
kgoossens1/protein-ligand-benchmark
902753176bf17cb98735c50c6b9d72f559bba2c2
[ "CC-BY-4.0", "MIT" ]
13
2021-05-14T11:43:47.000Z
2022-02-03T20:03:13.000Z
plbenchmark/utils.py
AspirinCode/protein-ligand-benchmark
4e6f6801589d28c5ce21268124c7d506d9b6dde4
[ "CC-BY-4.0", "MIT" ]
14
2021-06-24T16:47:08.000Z
2022-03-15T09:57:25.000Z
plbenchmark/utils.py
AspirinCode/protein-ligand-benchmark
4e6f6801589d28c5ce21268124c7d506d9b6dde4
[ "CC-BY-4.0", "MIT" ]
2
2021-05-20T02:54:27.000Z
2021-09-29T00:14:26.000Z
""" utils.py Contains utility functions """ import numpy as np from scipy import constants import requests import json from pint import UnitRegistry import warnings unit_registry = UnitRegistry() boltzmann_constant = constants.gas_constant * unit_registry("J / mole / K") def find_pdb_url(pdb): """ Finds t...
37.169863
119
0.52613
1,585
13,567
4.359621
0.116719
0.072938
0.05644
0.059913
0.839074
0.82026
0.817945
0.79479
0.775109
0.742547
0
0.035843
0.366625
13,567
364
120
37.271978
0.7683
0.153166
0
0.731959
0
0
0.130722
0.005116
0
0
0
0
0
1
0.013746
false
0
0.020619
0
0.185567
0.006873
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
ca018ee35ad72d433a92d4988857e5e6b1d41606
31,759
py
Python
models.py
TsukkiGia/pytrix
5477bd6a757d8ee3a16ca1fc5513b6d2926b6f66
[ "MIT" ]
null
null
null
models.py
TsukkiGia/pytrix
5477bd6a757d8ee3a16ca1fc5513b6d2926b6f66
[ "MIT" ]
null
null
null
models.py
TsukkiGia/pytrix
5477bd6a757d8ee3a16ca1fc5513b6d2926b6f66
[ "MIT" ]
null
null
null
from consts import * from game2d import * from consts import * class Block(GRectangle): def __init__(self, x, y, width, height, fillcolor, linecolor, linewidth, angle=0): super().__init__(x=x, y=y, width=width, height=height, ...
70.419069
247
0.63349
4,129
31,759
4.64931
0.018891
0.285357
0.155024
0.083971
0.968433
0.950826
0.946658
0.944054
0.942595
0.929208
0
0.019578
0.240877
31,759
450
248
70.575556
0.776681
0
0
0.789731
0
0.002445
0.041312
0.000819
0
0
0
0
0
1
0.056235
false
0
0.007335
0.017115
0.149144
0
0
0
0
null
1
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
8
ca0a25fdb72172c9aec5b78161fb201b327764cc
3,314
py
Python
cantina_band.py
agimpel/RPi-music
87519fb8014feb28328dc402faf2d757970b3e16
[ "MIT" ]
null
null
null
cantina_band.py
agimpel/RPi-music
87519fb8014feb28328dc402faf2d757970b3e16
[ "MIT" ]
1
2018-07-14T23:14:09.000Z
2018-07-14T23:14:09.000Z
cantina_band.py
agimpel/RPi-music
87519fb8014feb28328dc402faf2d757970b3e16
[ "MIT" ]
null
null
null
from speaker import Speaker import time import RPi.GPIO as GPIO speaker = Speaker(GPIO.BCM, 23) speaker.set_bpm(260) speaker.pause(2) #1 speaker.play('A1', 1/4) speaker.play('D2', 1/4) speaker.play('A1', 1/4) speaker.play('D2', 1/4) #2 speaker.play('A1', 1/8) speaker.play('D2', 1/4) speaker.play('A1', 1/8) speake...
16.908163
31
0.638805
685
3,314
3.089051
0.084672
0.55104
0.311909
0.282609
0.844991
0.832231
0.764178
0.748582
0.708412
0.700378
0
0.142857
0.093844
3,314
195
32
16.994872
0.561772
0.018105
0
0.817518
0
0
0.070654
0
0
0
0
0
0
1
0
false
0
0.021898
0
0.021898
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
0
0
0
0
0
0
0
0
0
0
10
ca2a020e55ef58b8ccd08ea58dfee06400f98911
34,753
py
Python
mpisppy/utils/pysp_model/tests/test_scenariotree.py
Matthew-Signorotti/mpi-sppy
5c6b4b8cd26af517ff09706d11751f2fb05b1b5f
[ "BSD-3-Clause" ]
2
2020-06-05T14:31:46.000Z
2020-09-29T20:08:05.000Z
mpisppy/utils/pysp_model/tests/test_scenariotree.py
Matthew-Signorotti/mpi-sppy
5c6b4b8cd26af517ff09706d11751f2fb05b1b5f
[ "BSD-3-Clause" ]
22
2020-06-06T19:30:33.000Z
2020-10-30T23:00:58.000Z
mpisppy/utils/pysp_model/tests/test_scenariotree.py
Matthew-Signorotti/mpi-sppy
5c6b4b8cd26af517ff09706d11751f2fb05b1b5f
[ "BSD-3-Clause" ]
6
2020-06-06T17:57:38.000Z
2020-09-18T22:38:19.000Z
# ___________________________________________________________________________ # # Pyomo: Python Optimization Modeling Objects # Copyright 2017 National Technology and Engineering Solutions of Sandia, LLC # Under the terms of Contract DE-NA0003525 with National Technology and # Engineering Solutions of Sandia, LLC...
39.808706
91
0.594798
3,857
34,753
5.162821
0.061187
0.095666
0.049566
0.059007
0.890474
0.864912
0.837744
0.78843
0.714257
0.685884
0
0.025352
0.26907
34,753
872
92
39.854358
0.758562
0.019193
0
0.718016
0
0
0.057525
0
0
0
0
0
0.25718
1
0.039164
false
0
0.007833
0.001305
0.052219
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
ca8cb01a572d2050f72204fbb3bd1ee5653e56e5
261
py
Python
contrib/report_builders/__init__.py
berndonline/flan
3d851d9aa0b73d4e32d8f311e2ddefafa15648a2
[ "BSD-3-Clause" ]
3,711
2019-11-20T23:58:42.000Z
2022-03-27T18:43:51.000Z
contrib/report_builders/__init__.py
berndonline/flan
3d851d9aa0b73d4e32d8f311e2ddefafa15648a2
[ "BSD-3-Clause" ]
56
2019-11-21T19:21:23.000Z
2022-03-20T19:46:22.000Z
contrib/report_builders/__init__.py
berndonline/flan
3d851d9aa0b73d4e32d8f311e2ddefafa15648a2
[ "BSD-3-Clause" ]
295
2019-11-21T15:54:26.000Z
2022-03-24T15:18:12.000Z
from .report_builder import ReportBuilder from .latex_report_builder import LatexReportBuilder from .markdown_report_builder import MarkdownReportBuilder from .json_report_builder import JsonReportBuilder from .html_report_builder import JinjaHtmlReportBuilder
43.5
58
0.904215
29
261
7.827586
0.448276
0.286344
0.418502
0
0
0
0
0
0
0
0
0
0.076628
261
5
59
52.2
0.941909
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
046058a96701e019af377663b6bbf0d5f9acfc02
168
py
Python
app/views/index.py
Depado/LostInNetworkWeb
d3963819aa6f770d56836de6ef82f469cfebe900
[ "MIT" ]
1
2015-11-08T10:13:19.000Z
2015-11-08T10:13:19.000Z
app/views/index.py
Depado/LostInNetworkWeb
d3963819aa6f770d56836de6ef82f469cfebe900
[ "MIT" ]
null
null
null
app/views/index.py
Depado/LostInNetworkWeb
d3963819aa6f770d56836de6ef82f469cfebe900
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from flask import render_template from app import app @app.route('/', methods=['GET']) def index(): return render_template("index.html")
16.8
40
0.666667
23
168
4.782609
0.695652
0.254545
0
0
0
0
0
0
0
0
0
0.007042
0.154762
168
9
41
18.666667
0.767606
0.125
0
0
0
0
0.096552
0
0
0
0
0
0
1
0.2
true
0
0.4
0.2
0.8
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
1
1
0
0
7
04f7aa61b6e08ff8640b93f52c8fec939d235137
75,909
py
Python
backend/web_app/tests/snapshots/snap_test_statistics_report.py
jsc-masshtab/vdi-server
3de49dec986ab26ffc6c073873fb9de5943809f9
[ "MIT" ]
2
2021-12-03T10:04:25.000Z
2022-01-12T06:26:39.000Z
backend/web_app/tests/snapshots/snap_test_statistics_report.py
jsc-masshtab/vdi-server
3de49dec986ab26ffc6c073873fb9de5943809f9
[ "MIT" ]
null
null
null
backend/web_app/tests/snapshots/snap_test_statistics_report.py
jsc-masshtab/vdi-server
3de49dec986ab26ffc6c073873fb9de5943809f9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # snapshottest: v1 - https://goo.gl/zC4yUc from __future__ import unicode_literals from snapshottest import Snapshot snapshots = Snapshot() snapshots['test_web_statistics_report 1'] = { 'web_statistics_report': '''<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www...
119.166405
618
0.665125
13,264
75,909
3.799231
0.043501
0.054452
0.128986
0.094795
0.866827
0.847677
0.829818
0.81428
0.789951
0.76467
0
0.057892
0.07567
75,909
636
619
119.353774
0.660315
0.000817
0
0.33277
0
0.655405
0.99818
0.393096
0
0
0
0
0
1
0
false
0
0.003378
0
0.003378
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
b6b8f2d08d391a1621662cd793c719c7dcbdce79
64
py
Python
backend/factories/__init__.py
heidal/apollo
576743e12048985ae8ef127224e1cb8ac49acd28
[ "MIT" ]
2
2020-02-28T16:24:55.000Z
2020-03-27T17:12:50.000Z
backend/factories/__init__.py
heidal/apollo
576743e12048985ae8ef127224e1cb8ac49acd28
[ "MIT" ]
51
2020-02-12T20:52:08.000Z
2022-02-27T00:23:20.000Z
backend/factories/__init__.py
heidal/apollo
576743e12048985ae8ef127224e1cb8ac49acd28
[ "MIT" ]
null
null
null
from .elections import * # no qa from .users import * # no qa
21.333333
33
0.65625
10
64
4.2
0.6
0.380952
0.47619
0
0
0
0
0
0
0
0
0
0.25
64
2
34
32
0.875
0.171875
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
b6bbae04af00bbd61a82163c1307ab044be24aef
15,620
py
Python
pymtl3/stdlib/rtl/queues.py
hsqforfun/pymtl3
05e06601cf262a663a95d1235cb99056ece84580
[ "BSD-3-Clause" ]
1
2019-11-12T12:26:01.000Z
2019-11-12T12:26:01.000Z
pymtl3/stdlib/rtl/queues.py
hsqforfun/pymtl3
05e06601cf262a663a95d1235cb99056ece84580
[ "BSD-3-Clause" ]
null
null
null
pymtl3/stdlib/rtl/queues.py
hsqforfun/pymtl3
05e06601cf262a663a95d1235cb99056ece84580
[ "BSD-3-Clause" ]
null
null
null
""" ------------------------------------------------------------------------- Library of RTL queues ------------------------------------------------------------------------- Author : Yanghui Ou Date : Mar 23, 2019 """ from pymtl3 import * from pymtl3.stdlib.ifcs import DeqIfcRTL, EnqIfcRTL from pymtl3.stdlib.rtl i...
25.648604
78
0.509219
2,019
15,620
3.811293
0.053492
0.041066
0.024691
0.02963
0.88603
0.878622
0.875244
0.875114
0.866537
0.864327
0
0.012512
0.278553
15,620
608
79
25.690789
0.670335
0.141933
0
0.870166
0
0
0.003602
0
0
0
0
0
0.008287
1
0.124309
false
0.019337
0.008287
0.016575
0.179558
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
b6f443c89de17865d2aff7e7d3e5c479bc0ccb12
92
py
Python
taggable/__init__.py
ville-k/taggable
d37ecdfba5bc09277f19ea51344ad2ea3ae100f2
[ "MIT" ]
null
null
null
taggable/__init__.py
ville-k/taggable
d37ecdfba5bc09277f19ea51344ad2ea3ae100f2
[ "MIT" ]
null
null
null
taggable/__init__.py
ville-k/taggable
d37ecdfba5bc09277f19ea51344ad2ea3ae100f2
[ "MIT" ]
null
null
null
from .taggable_sequence import TaggableSequence from .taggable_sequence import TaggedSegment
46
47
0.902174
10
92
8.1
0.6
0.296296
0.493827
0.641975
0
0
0
0
0
0
0
0
0.076087
92
2
48
46
0.952941
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
8e39841edef995cf39cc312dc6a7be388770fc39
96
py
Python
backend/optimizer.py
MaxLinCode/tardy-HackIllinois-2017
b38ad13e9046bb20814c60e9c1759b60ec709391
[ "MIT" ]
null
null
null
backend/optimizer.py
MaxLinCode/tardy-HackIllinois-2017
b38ad13e9046bb20814c60e9c1759b60ec709391
[ "MIT" ]
null
null
null
backend/optimizer.py
MaxLinCode/tardy-HackIllinois-2017
b38ad13e9046bb20814c60e9c1759b60ec709391
[ "MIT" ]
null
null
null
def ind_cost(guess, actual): return max(abs(guess - actual), (86400 - abs(guess - actual)))
32
66
0.666667
14
96
4.5
0.642857
0.52381
0.444444
0
0
0
0
0
0
0
0
0.0625
0.166667
96
2
67
48
0.725
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
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
1
0
0
0
1
1
0
0
7
6d40792fa1fedb6ee87c31e6fb93bfa09365633c
13,551
py
Python
ghostwriter/ghtest/test_postarticle.py
arthurmco/ghostwriter
f6040846c28a08bf1b39de19bd2470772eb89080
[ "MIT" ]
null
null
null
ghostwriter/ghtest/test_postarticle.py
arthurmco/ghostwriter
f6040846c28a08bf1b39de19bd2470772eb89080
[ "MIT" ]
4
2017-07-23T02:12:39.000Z
2017-10-01T03:55:02.000Z
ghostwriter/ghtest/test_postarticle.py
arthurmco/ghostwriter
f6040846c28a08bf1b39de19bd2470772eb89080
[ "MIT" ]
null
null
null
import unittest from ghostwriter import app, mm # # Post basic test fixture(?) # Copyright (C) 2017 Arthur M # class PostArticleTestCase(unittest.TestCase): from flask import json def setUp(self): mm.setDatabaseURI('sqlite:////tmp/unittest.db') mm.init() mm.create() self.ap...
36.23262
278
0.590436
1,643
13,551
4.77115
0.093731
0.065059
0.076796
0.055747
0.842072
0.811711
0.799592
0.789004
0.778033
0.766679
0
0.01497
0.285219
13,551
373
279
36.329759
0.794342
0.007011
0
0.741497
0
0
0.161618
0.009637
0
0
0
0
0.122449
1
0.095238
false
0.027211
0.108844
0
0.22449
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
6d573bc453dd58a54c399a376e1f87e3d35c0f8e
11,488
py
Python
smirk/migrations/0001_initial.py
ahmsayat/CyberSeed
1c9368eb3849ec3e0e02c600bdf813cedcaa88c7
[ "MIT" ]
null
null
null
smirk/migrations/0001_initial.py
ahmsayat/CyberSeed
1c9368eb3849ec3e0e02c600bdf813cedcaa88c7
[ "MIT" ]
5
2017-09-26T05:12:06.000Z
2017-10-27T05:32:27.000Z
smirk/migrations/0001_initial.py
ahmsayat/CyberSeed
1c9368eb3849ec3e0e02c600bdf813cedcaa88c7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-10-08 01:12 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations...
56.591133
327
0.613945
1,207
11,488
5.64623
0.101906
0.054879
0.041086
0.064563
0.82876
0.772854
0.745708
0.730741
0.710051
0.710051
0
0.008642
0.244516
11,488
202
328
56.871287
0.776587
0.005745
0
0.680412
1
0
0.14651
0.029863
0
0
0
0
0
1
0
false
0
0.020619
0
0.041237
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
b6433335105492dc7ca38ff197d0006d04f33f62
109
py
Python
formal_grammars/color.py
magnickolas/formal-grammars
65fbee79f893876f9fb390b04aa11c037613a8f5
[ "MIT" ]
null
null
null
formal_grammars/color.py
magnickolas/formal-grammars
65fbee79f893876f9fb390b04aa11c037613a8f5
[ "MIT" ]
null
null
null
formal_grammars/color.py
magnickolas/formal-grammars
65fbee79f893876f9fb390b04aa11c037613a8f5
[ "MIT" ]
null
null
null
def green(text): return f"\033[92m{text}\033[0m" def yellow(text): return f"\033[93m{text}\033[0m"
15.571429
35
0.633028
20
109
3.45
0.5
0.289855
0.318841
0.405797
0
0
0
0
0
0
0
0.197802
0.165138
109
6
36
18.166667
0.56044
0
0
0
0
0
0.385321
0.385321
0
0
0
0
0
1
0.5
false
0
0
0.5
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
1
0
0
0
1
1
0
0
8
b6a50f3337ebf02efe8d161b7e75d578ff634d7b
4,725
py
Python
experiment-3/make_design_files_for_power_analyses.py
NBCLab/power-replication
7a938cac6fd132f8cbd76535255680aeb2e550cb
[ "Apache-2.0" ]
1
2021-12-20T13:30:23.000Z
2021-12-20T13:30:23.000Z
experiment-3/make_design_files_for_power_analyses.py
NBCLab/power-replication
7a938cac6fd132f8cbd76535255680aeb2e550cb
[ "Apache-2.0" ]
14
2020-12-21T15:58:45.000Z
2022-03-16T22:20:25.000Z
experiment-3/make_design_files_for_power_analyses.py
NBCLab/power-replication
7a938cac6fd132f8cbd76535255680aeb2e550cb
[ "Apache-2.0" ]
null
null
null
""" """ import os.path as op from glob import glob from os import mkdir from shutil import copyfile def make_image_file(): design_file = "design.fsf" # Each file gp_mem = "# Group membership for input {0}\nset fmri(groupmem.{0}) 1\n" hi_thing = "# Higher-level EV value for EV 1 and input {0}\nset fmr...
29.347826
87
0.593439
736
4,725
3.641304
0.164402
0.044776
0.040299
0.023507
0.920896
0.910448
0.879478
0.879478
0.879478
0.866791
0
0.018729
0.25418
4,725
160
88
29.53125
0.741771
0.027725
0
0.794872
0
0.017094
0.299235
0.130929
0
0
0
0
0
1
0.017094
false
0
0.034188
0
0.051282
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
fcb05adc2cd8fa6c070a1e0a8534bb981f26cc55
2,773
py
Python
djangocms_charts/migrations/0002_add_chart_position.py
l1f7/djangocms-charts
6de3d35758da39bda175406817ddbd1b0b0d5c59
[ "MIT" ]
5
2019-04-14T01:28:22.000Z
2020-11-09T10:48:13.000Z
djangocms_charts/migrations/0002_add_chart_position.py
mcldev/djangocms-charts
3c10286612af5b2f6179af8e7dc7e10407fe6f6e
[ "MIT" ]
1
2017-07-11T19:08:01.000Z
2018-12-22T15:38:39.000Z
djangocms_charts/migrations/0002_add_chart_position.py
mcldev/djangocms-charts
3c10286612af5b2f6179af8e7dc7e10407fe6f6e
[ "MIT" ]
4
2019-07-05T05:36:53.000Z
2021-01-08T17:04:59.000Z
from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('djangocms_charts', '0001_initial'), ] operations = [ migrations.AddField( model_name='chartjsbarmodel', name='chart_position', field=models.CharField(...
36.973333
95
0.611973
256
2,773
6.433594
0.136719
0.065574
0.123862
0.204007
0.79235
0.79235
0.79235
0.780814
0.780814
0.780814
0
0.01995
0.276956
2,773
74
96
37.472973
0.801496
0
0
0.895522
0
0
0.207942
0
0
0
0
0
0
1
0
false
0
0.014925
0
0.059701
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
fcc25bf61c176e60b03809db70f8c5e3f540ca19
99
py
Python
yesg/__init__.py
Lienus10/yesg
46e684745d03cc82651f2f0b110222e8440f429c
[ "MIT" ]
null
null
null
yesg/__init__.py
Lienus10/yesg
46e684745d03cc82651f2f0b110222e8440f429c
[ "MIT" ]
null
null
null
yesg/__init__.py
Lienus10/yesg
46e684745d03cc82651f2f0b110222e8440f429c
[ "MIT" ]
null
null
null
from .main import get_esg_short from .main import get_esg_full from .main import get_historic_esg
19.8
34
0.838384
18
99
4.277778
0.444444
0.311688
0.545455
0.662338
0.519481
0
0
0
0
0
0
0
0.131313
99
4
35
24.75
0.895349
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
0
0
0
7
1e21935ad05a3e22ab493070b022e1f59facb320
65
py
Python
digital/common/policies/__init__.py
knowx/digital
47872a783856444cce6ff8ebda355f3f3da727ac
[ "Apache-2.0" ]
null
null
null
digital/common/policies/__init__.py
knowx/digital
47872a783856444cce6ff8ebda355f3f3da727ac
[ "Apache-2.0" ]
null
null
null
digital/common/policies/__init__.py
knowx/digital
47872a783856444cce6ff8ebda355f3f3da727ac
[ "Apache-2.0" ]
null
null
null
import itertools def list_rules(): return itertools.chain()
13
28
0.738462
8
65
5.875
0.875
0
0
0
0
0
0
0
0
0
0
0
0.169231
65
5
28
13
0.87037
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
7
1e841dc895711459461cf19b50a2ec4264cab0f1
2,664
py
Python
index_server/containers/bgsplit_trainer/test.py
jeremyephron/forager
6db1590686e0e34b2e42ff5deb70f62fcee73d7d
[ "MIT" ]
1
2020-12-01T23:25:58.000Z
2020-12-01T23:25:58.000Z
index_server/containers/bgsplit_trainer/test.py
jeremyephron/forager
6db1590686e0e34b2e42ff5deb70f62fcee73d7d
[ "MIT" ]
2
2020-10-07T01:03:06.000Z
2020-10-12T19:08:55.000Z
index_server/containers/bgsplit_trainer/test.py
jeremyephron/forager
6db1590686e0e34b2e42ff5deb70f62fcee73d7d
[ "MIT" ]
null
null
null
from main import TrainingJob import threading import os.path def main(): working_lock = threading.Lock() working_lock.acquire() payload = {'train_positive_paths': ['waymo/train/1506904092688646_front.jpeg', 'waymo/train/1506904093682819_front.jpeg', 'waymo/train/1506904094676800_front.jpeg', 'waymo/train/1...
106.56
1,858
0.771396
321
2,664
6.146417
0.311526
0.16219
0.205778
0.27927
0.120628
0.103396
0.103396
0.103396
0.103396
0.103396
0
0.234432
0.077703
2,664
24
1,859
111
0.56858
0
0
0.136364
0
0.045455
0.710586
0.505631
0
0
0
0
0
1
0.045455
false
0
0.136364
0
0.181818
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
0
1
1
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
1eb441e0e81b46594ab507e5c2b1c179c6992ef9
41
py
Python
bot/handlers/users/__init__.py
famaxth/Russian-Qiwi-Bot
d5b0f23516343205ca7bad15b2d2fae7b675f584
[ "MIT" ]
null
null
null
bot/handlers/users/__init__.py
famaxth/Russian-Qiwi-Bot
d5b0f23516343205ca7bad15b2d2fae7b675f584
[ "MIT" ]
null
null
null
bot/handlers/users/__init__.py
famaxth/Russian-Qiwi-Bot
d5b0f23516343205ca7bad15b2d2fae7b675f584
[ "MIT" ]
null
null
null
from . import start from . import main
13.666667
20
0.707317
6
41
4.833333
0.666667
0.689655
0
0
0
0
0
0
0
0
0
0
0.243902
41
2
21
20.5
0.935484
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
1ebe07cee0735a77fe20dd6ba2303f3cd5efec9e
76,053
py
Python
src/deep_noise_to_image_models.py
furgerf/GAN-for-dermatologic-imaging
e90b06c46c7693e984a4c5b067e18460113cd23b
[ "Apache-2.0" ]
null
null
null
src/deep_noise_to_image_models.py
furgerf/GAN-for-dermatologic-imaging
e90b06c46c7693e984a4c5b067e18460113cd23b
[ "Apache-2.0" ]
9
2020-09-26T01:22:00.000Z
2022-01-22T18:00:52.000Z
src/deep_noise_to_image_models.py
furgerf/GAN-for-dermatologic-imaging
e90b06c46c7693e984a4c5b067e18460113cd23b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # pylint: disable=too-many-locals,arguments-differ,unused-import import tensorflow as tf from tensorflow.keras.layers import (BatchNormalization, Dense, Dropout, Flatten, MaxPooling2D, SpatialDropout2D, add) from tensorflo...
34.104484
115
0.624578
9,658
76,053
4.755332
0.019052
0.162475
0.174277
0.109739
0.947983
0.93039
0.907505
0.900168
0.890849
0.872276
0
0.052908
0.254441
76,053
2,229
116
34.119785
0.757063
0.044969
0
0.856694
0
0
0.020018
0
0
0
0
0
0.007542
1
0.087995
false
0
0.003143
0.007542
0.187932
0.03017
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
94d7e7537190b59682f2beda221bebc1a5c11576
34,850
py
Python
safenet/mutableData.py
DuncanKushnir/pySafe
b47c234f5333566027c8981054747d2587a673fe
[ "MIT" ]
null
null
null
safenet/mutableData.py
DuncanKushnir/pySafe
b47c234f5333566027c8981054747d2587a673fe
[ "MIT" ]
null
null
null
safenet/mutableData.py
DuncanKushnir/pySafe
b47c234f5333566027c8981054747d2587a673fe
[ "MIT" ]
null
null
null
import safenet.safeUtils as safeUtils import queue appQueue = queue.Queue() class lib: def __init__(self,authlib,applib,fromBytes=None): self.safe_authenticator = authlib self.safe_app = applib # first attempt to define mutable Data for us class mutableData: def __init__(self,authlib,applib,f...
41.242604
166
0.6301
4,252
34,850
4.822201
0.035983
0.091299
0.04565
0.041845
0.919187
0.881389
0.836861
0.803697
0.768289
0.724054
0
0.004961
0.265481
34,850
845
167
41.242604
0.796039
0.265395
0
0.586486
0
0
0.077398
0.003176
0
0
0
0
0
1
0.218919
false
0
0.005405
0
0.232432
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
0
0
0
7
bf6ea007f45a48810b0ca333d482abfb98d84ed7
172
py
Python
calculadora/calculos.py
VitorSorriso/calculadora-python
7af46b3f4b51ebc03e1217c604fe04878dc7f5c3
[ "MIT" ]
1
2020-05-14T20:57:09.000Z
2020-05-14T20:57:09.000Z
calculadora/calculos.py
VitorSorriso/calculadora-python
7af46b3f4b51ebc03e1217c604fe04878dc7f5c3
[ "MIT" ]
null
null
null
calculadora/calculos.py
VitorSorriso/calculadora-python
7af46b3f4b51ebc03e1217c604fe04878dc7f5c3
[ "MIT" ]
null
null
null
def soma(n1, n2): return n1 + n2 def subtracao(n1,n2): return n1 - n2 def multiplicacao(n1, n2): return n1 * n2 def divisao(n1, n2): return n1 / n2
13.230769
26
0.587209
28
172
3.607143
0.285714
0.316832
0.39604
0.475248
0.643564
0.504951
0
0
0
0
0
0.132231
0.296512
172
13
27
13.230769
0.702479
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
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
0
1
1
0
0
7
44c63aa0301b489cc7255d45f70ed395b9de7120
60
py
Python
learning_python/ch24.py
ykyang/org.allnix.python
f9d74db2db026b20e925ac40dbca7d21b3ac0b0f
[ "Apache-2.0" ]
null
null
null
learning_python/ch24.py
ykyang/org.allnix.python
f9d74db2db026b20e925ac40dbca7d21b3ac0b0f
[ "Apache-2.0" ]
null
null
null
learning_python/ch24.py
ykyang/org.allnix.python
f9d74db2db026b20e925ac40dbca7d21b3ac0b0f
[ "Apache-2.0" ]
null
null
null
import org.allnix.lp.util; print(org.allnix.lp.util.read())
20
32
0.75
11
60
4.090909
0.636364
0.4
0.488889
0.666667
0
0
0
0
0
0
0
0
0.05
60
3
32
20
0.789474
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
0
0
null
1
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
1
0
8
7827eed35f79f32d44be50575f42d15c59d7225e
180
py
Python
tests/test_004.py
chingc/euler-python
e963752969cfa7a939ef6a8408f5628ce3c96cae
[ "MIT" ]
null
null
null
tests/test_004.py
chingc/euler-python
e963752969cfa7a939ef6a8408f5628ce3c96cae
[ "MIT" ]
null
null
null
tests/test_004.py
chingc/euler-python
e963752969cfa7a939ef6a8408f5628ce3c96cae
[ "MIT" ]
null
null
null
"""https://projecteuler.net/problem=4""" from euler.main import largest_palindrome def test_004() -> None: """Expected: 906609""" assert largest_palindrome(3) == 906609
20
42
0.694444
22
180
5.545455
0.863636
0.278689
0
0
0
0
0
0
0
0
0
0.11039
0.144444
180
8
43
22.5
0.681818
0.283333
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
785ad1d00b8f51a5113fa8aa38ba44612e07ebea
21,421
py
Python
sdk/python/pulumi_azure/appservice/public_certificate.py
henriktao/pulumi-azure
f1cbcf100b42b916da36d8fe28be3a159abaf022
[ "ECL-2.0", "Apache-2.0" ]
109
2018-06-18T00:19:44.000Z
2022-02-20T05:32:57.000Z
sdk/python/pulumi_azure/appservice/public_certificate.py
henriktao/pulumi-azure
f1cbcf100b42b916da36d8fe28be3a159abaf022
[ "ECL-2.0", "Apache-2.0" ]
663
2018-06-18T21:08:46.000Z
2022-03-31T20:10:11.000Z
sdk/python/pulumi_azure/appservice/public_certificate.py
henriktao/pulumi-azure
f1cbcf100b42b916da36d8fe28be3a159abaf022
[ "ECL-2.0", "Apache-2.0" ]
41
2018-07-19T22:37:38.000Z
2022-03-14T10:56:26.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...
48.794989
233
0.678633
2,476
21,421
5.648627
0.079968
0.06292
0.073073
0.07529
0.870585
0.848134
0.82125
0.801802
0.787144
0.759688
0
0.00603
0.233509
21,421
438
234
48.906393
0.845788
0.422109
0
0.575893
1
0
0.126288
0.010397
0
0
0
0
0
1
0.15625
false
0.004464
0.022321
0
0.272321
0.058036
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
788709d330b05666610bcd073962880fd5a9d689
95,437
py
Python
Spine_compartment.py
rribeiro-sci/CA3-CA1_SynapticModel
cd3e3e33c5ac816063d1186f90de043d2dac39d0
[ "Apache-2.0" ]
1
2021-05-29T17:23:53.000Z
2021-05-29T17:23:53.000Z
Spine_compartment.py
rribeiro-sci/CA3-CA1_SynapticModel
cd3e3e33c5ac816063d1186f90de043d2dac39d0
[ "Apache-2.0" ]
null
null
null
Spine_compartment.py
rribeiro-sci/CA3-CA1_SynapticModel
cd3e3e33c5ac816063d1186f90de043d2dac39d0
[ "Apache-2.0" ]
1
2021-01-18T11:36:06.000Z
2021-01-18T11:36:06.000Z
from sympy import * from pysb import * from pysb.macros import * from pysb.integrate import Solver from pysb.simulator import ScipyOdeSimulator import numpy as np import math CaMKII_states = [ #CaMKII-CaM complexes 'APO','CaMKII_CaM0','CaMKII_CaM1C','CaMKII_CaM2C','CaMKII_CaM1N','CaM...
171.341113
296
0.771472
15,103
95,437
4.437992
0.01013
0.086562
0.193206
0.248139
0.961419
0.930968
0.923434
0.904143
0.901786
0.862831
0
0.061203
0.075851
95,437
556
297
171.649281
0.698757
0.014449
0
0
0
0
0.320608
0.195692
0
0
0
0
0
1
0.002242
false
0
0.015695
0
0.020179
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
1568880808ca2cee59188d8ba9ce6ba5e0e7fbf9
1,587
py
Python
test/test_XMLtoJSON.py
unification-com/haiku-node-prototype
ea77aa90f6b3f08d004be1c24e6b8d62e83bc66b
[ "MIT" ]
3
2018-06-15T18:02:05.000Z
2018-07-06T02:32:18.000Z
test/test_XMLtoJSON.py
unification-com/haiku-node-prototype
ea77aa90f6b3f08d004be1c24e6b8d62e83bc66b
[ "MIT" ]
4
2018-08-17T06:51:34.000Z
2018-08-17T08:39:24.000Z
test/test_XMLtoJSON.py
unification-com/haiku-node-prototype
ea77aa90f6b3f08d004be1c24e6b8d62e83bc66b
[ "MIT" ]
null
null
null
import json import pytest import xmljson from lxml.etree import fromstring schema_1 = "<schema-template><fields><field><name>account_name</name><type>varchar</type><is-null>false</is-null><table>unification_lookup</table></field><field><name>Heartrate</name><type>int</type><is-null>true</is-null><table>data_1</table...
79.35
576
0.733459
253
1,587
4.482213
0.201581
0.10582
0.088183
0.117284
0.710758
0.710758
0.710758
0.710758
0.710758
0.710758
0
0.009888
0.044108
1,587
19
577
83.526316
0.73764
0.008822
0
0
0
0.214286
0.768642
0.764181
0
0
0
0
0
1
0.071429
false
0
0.285714
0
0.357143
0.142857
0
0
0
null
0
0
0
0
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
8
159b03fca1150d49148601489ee44b504f4466d2
10,398
py
Python
Algorithm.Python/stubs/QuantConnect/Indicators/__CandlestickPatterns_1.py
gaoxiaojun/Lean
9dca43bccb720d0df91e4bfc1d363b71e3a36cb5
[ "Apache-2.0" ]
2
2020-12-08T11:27:20.000Z
2021-04-06T13:21:15.000Z
Algorithm.Python/stubs/QuantConnect/Indicators/__CandlestickPatterns_1.py
gaoxiaojun/Lean
9dca43bccb720d0df91e4bfc1d363b71e3a36cb5
[ "Apache-2.0" ]
null
null
null
Algorithm.Python/stubs/QuantConnect/Indicators/__CandlestickPatterns_1.py
gaoxiaojun/Lean
9dca43bccb720d0df91e4bfc1d363b71e3a36cb5
[ "Apache-2.0" ]
1
2020-10-13T00:49:17.000Z
2020-10-13T00:49:17.000Z
from .__CandlestickPatterns_2 import * import typing import QuantConnect.Indicators.CandlestickPatterns import datetime class DojiStar(QuantConnect.Indicators.CandlestickPatterns.CandlestickPattern, System.IComparable, QuantConnect.Indicators.IIndicator[IBaseDataBar], QuantConnect.Indicators.IIndicator, System.IComp...
30.854599
241
0.733026
902
10,398
8.264967
0.069845
0.239034
0.302482
0.078873
0.817706
0.757076
0.757076
0.757076
0.652448
0.538162
0
0.000116
0.174168
10,398
336
242
30.946429
0.868056
0.108675
0
0.646341
0
0
0
0
0
0
0
0
0
1
0.323171
false
0.323171
0.02439
0
0.506098
0
0
0
0
null
1
1
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
9
15bd2b62fae7c144a8e3e8a5aa38e721c46ef272
13,169
py
Python
rotkehlchen/tests/exchanges/test_independentreserve.py
rotkehlchenio/rotkehlchen
98f49cd3ed26c641fec03b78eff9fe1872385fbf
[ "BSD-3-Clause" ]
137
2018-03-05T11:53:29.000Z
2019-11-03T16:38:42.000Z
rotkehlchen/tests/exchanges/test_independentreserve.py
rotkehlchenio/rotkehlchen
98f49cd3ed26c641fec03b78eff9fe1872385fbf
[ "BSD-3-Clause" ]
385
2018-03-08T12:43:41.000Z
2019-11-10T09:15:36.000Z
rotkehlchen/tests/exchanges/test_independentreserve.py
rotkehlchenio/rotkehlchen
98f49cd3ed26c641fec03b78eff9fe1872385fbf
[ "BSD-3-Clause" ]
59
2018-03-08T10:08:27.000Z
2019-10-26T11:30:44.000Z
import warnings as test_warnings from unittest.mock import patch import pytest from rotkehlchen.accounting.structures.balance import Balance from rotkehlchen.constants.assets import A_AUD, A_ETC, A_ETH from rotkehlchen.errors.asset import UnknownAsset from rotkehlchen.exchanges.data_structures import Location, Trade,...
57.758772
148
0.659124
1,334
13,169
6.434033
0.176912
0.03437
0.182454
0.222999
0.766865
0.756146
0.748456
0.748456
0.725154
0.700454
0
0.056086
0.156504
13,169
227
149
58.013216
0.716601
0.038272
0
0.316583
0
0.301508
0.687184
0.028797
0
0
0
0.004405
0.060302
1
0.040201
false
0
0.050251
0
0.105528
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
ec6ca07ae28fa9514436d5f6b4c22e00552e3ad8
8,548
py
Python
pepdb/core/migrations/0073_auto_20160213_0335.py
dchaplinsky/pep.org.ua
8633a65fb657d7f04dbdb12eb8ae705fa6be67e3
[ "MIT" ]
7
2015-12-21T03:52:46.000Z
2020-07-24T19:17:23.000Z
pepdb/core/migrations/0073_auto_20160213_0335.py
dchaplinsky/pep.org.ua
8633a65fb657d7f04dbdb12eb8ae705fa6be67e3
[ "MIT" ]
12
2016-03-05T18:11:05.000Z
2021-06-17T20:20:03.000Z
pepdb/core/migrations/0073_auto_20160213_0335.py
dchaplinsky/pep.org.ua
8633a65fb657d7f04dbdb12eb8ae705fa6be67e3
[ "MIT" ]
4
2016-07-17T20:19:38.000Z
2021-03-23T12:47:20.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0072_auto_20160210_0246'), ] operations = [ migrations.AddField( model_name='declaration', n...
71.233333
329
0.665185
1,042
8,548
5.368522
0.076775
0.053629
0.080443
0.077762
0.972471
0.972471
0.971755
0.956024
0.956024
0.945299
0
0.321524
0.167876
8,548
119
330
71.831933
0.464923
0.002457
0
0.876106
0
0.132743
0.509208
0.377713
0
0
0
0
0
1
0
false
0
0.017699
0
0.044248
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
ec85a43e295e9f1e4d5dd54199fd0570655d1988
73,658
py
Python
sdk/python/pulumi_gcp/compute/region_instance_group_manager.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
121
2018-06-18T19:16:42.000Z
2022-03-31T06:06:48.000Z
sdk/python/pulumi_gcp/compute/region_instance_group_manager.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
492
2018-06-22T19:41:03.000Z
2022-03-31T15:33:53.000Z
sdk/python/pulumi_gcp/compute/region_instance_group_manager.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
43
2018-06-19T01:43:13.000Z
2022-03-23T22:43:37.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...
58.644904
578
0.695362
8,431
73,658
5.912347
0.044479
0.067747
0.0587
0.031777
0.946918
0.937729
0.926114
0.919955
0.911449
0.895179
0
0.0019
0.213921
73,658
1,255
579
58.691633
0.859001
0.485582
0
0.809444
1
0
0.167389
0.106528
0
0
0
0
0
1
0.166948
false
0.001686
0.011804
0
0.279933
0.021922
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
ec8e3ac68d0e1ab6d9a5e9aaa3d5b118b2ebf02b
259
py
Python
03_GraphBasedPlanner/graph_ltpl/offline_graph/src/__init__.py
f1tenth/ESweek2021_educationclassA3
7620a36d21c1824efba8a83f0671926bf8e028f3
[ "MIT" ]
15
2021-10-09T13:48:49.000Z
2022-03-27T04:36:44.000Z
03_GraphBasedPlanner/graph_ltpl/offline_graph/src/__init__.py
yinflight/ESweek2021_educationclassA3
7a32bacdb7f3154a773d28b6b6abffdaa154a526
[ "MIT" ]
1
2021-11-27T01:47:25.000Z
2021-11-27T02:44:04.000Z
03_GraphBasedPlanner/graph_ltpl/offline_graph/src/__init__.py
yinflight/ESweek2021_educationclassA3
7a32bacdb7f3154a773d28b6b6abffdaa154a526
[ "MIT" ]
2
2021-11-03T19:32:55.000Z
2021-11-27T02:43:13.000Z
import graph_ltpl.offline_graph.src.gen_edges import graph_ltpl.offline_graph.src.gen_node_skeleton import graph_ltpl.offline_graph.src.gen_offline_cost import graph_ltpl.offline_graph.src.main_offline_callback import graph_ltpl.offline_graph.src.prune_graph
43.166667
57
0.903475
43
259
5.023256
0.302326
0.25463
0.347222
0.509259
0.736111
0.736111
0.458333
0
0
0
0
0
0.03861
259
5
58
51.8
0.86747
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
1
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
eca3a791b5ba3aeb2559468375ed11393b715dab
75
py
Python
tests/t37.py
jplevyak/pyc
9f4bc49be78ba29427841460945ce63826fcd857
[ "BSD-3-Clause" ]
3
2019-08-21T22:01:35.000Z
2021-07-25T00:21:28.000Z
tests/t37.py
jplevyak/pyc
9f4bc49be78ba29427841460945ce63826fcd857
[ "BSD-3-Clause" ]
null
null
null
tests/t37.py
jplevyak/pyc
9f4bc49be78ba29427841460945ce63826fcd857
[ "BSD-3-Clause" ]
null
null
null
a = (1, "asdf", 2.0) a = (2, "fdsa", 3.0) print a[0] print a[1] print a[2]
12.5
20
0.493333
19
75
1.947368
0.421053
0.486486
0.378378
0
0
0
0
0
0
0
0
0.152542
0.213333
75
5
21
15
0.474576
0
0
0
0
0
0.106667
0
0
0
0
0
0
0
null
null
0
0
null
null
0.6
1
0
1
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
8
ecc45f44644fd0ea60f0ea35ec46ed2f1b8b0a35
2,144
py
Python
epoch_generate_particles_files/save_data.py
georgeholt1/epoch-generate-particles-files
c4810712e0b616545409829a2e6ab1364f468b18
[ "MIT" ]
null
null
null
epoch_generate_particles_files/save_data.py
georgeholt1/epoch-generate-particles-files
c4810712e0b616545409829a2e6ab1364f468b18
[ "MIT" ]
null
null
null
epoch_generate_particles_files/save_data.py
georgeholt1/epoch-generate-particles-files
c4810712e0b616545409829a2e6ab1364f468b18
[ "MIT" ]
null
null
null
# Author: George K. Holt # License: MIT # Version: 0.1 """ Part of EPOCH Generate Particles Files. Functions to save the generated data. """ import numpy as np import os def save_1d(x_list, w_list, out_dir): '''Save 1D particle data. Parameters ---------- x_list : list List of x-coordinat...
28.586667
62
0.593284
345
2,144
3.530435
0.15942
0.118227
0.08867
0.103448
0.853859
0.853859
0.807061
0.807061
0.807061
0.786535
0
0.005019
0.25653
2,144
75
63
28.586667
0.759097
0.374534
0
0.695652
1
0
0.092308
0
0
0
0
0
0
1
0.130435
false
0
0.086957
0
0.217391
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
01ac7d8f081e9a5d26928d46d03c73aa9a9b575d
2,698
py
Python
tests/sentry/coreapi/test_auth_from_request.py
uandco/sentry
5b8d45cb71c6617dac8e64265848623fbfce9c99
[ "BSD-3-Clause" ]
4
2019-05-27T13:55:07.000Z
2021-03-30T07:05:09.000Z
tests/sentry/coreapi/test_auth_from_request.py
uandco/sentry
5b8d45cb71c6617dac8e64265848623fbfce9c99
[ "BSD-3-Clause" ]
196
2019-06-10T08:34:10.000Z
2022-02-22T01:26:13.000Z
tests/sentry/coreapi/test_auth_from_request.py
uandco/sentry
5b8d45cb71c6617dac8e64265848623fbfce9c99
[ "BSD-3-Clause" ]
1
2020-08-10T07:55:40.000Z
2020-08-10T07:55:40.000Z
from __future__ import absolute_import import mock import pytest from django.core.exceptions import SuspiciousOperation from sentry.coreapi import ClientAuthHelper, APIUnauthorized def test_valid(): helper = ClientAuthHelper() request = mock.Mock() request.META = {'HTTP_X_SENTRY_AUTH': 'Sentry sentry_k...
29.977778
77
0.702372
325
2,698
5.550769
0.169231
0.034922
0.144678
0.164634
0.817627
0.802106
0.781596
0.764967
0.764967
0.764967
0
0.002244
0.174203
2,698
89
78
30.314607
0.807451
0
0
0.720588
0
0
0.160119
0.018162
0
0
0
0
0.073529
1
0.132353
false
0
0.073529
0
0.205882
0
0
0
0
null
0
0
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
0
0
0
0
0
0
0
0
0
0
8
01ad28c5f9860e754e7ef1bd51c1217ab17e12ba
10,939
py
Python
tests/connect_tests.py
adyekjaer/VersionOne.SDK.Python
e83764be029019c2ee3229157ae873f22c17476f
[ "BSD-3-Clause" ]
2
2018-08-05T18:44:42.000Z
2018-12-12T00:54:58.000Z
tests/connect_tests.py
adyekjaer/VersionOne.SDK.Python
e83764be029019c2ee3229157ae873f22c17476f
[ "BSD-3-Clause" ]
25
2018-06-13T01:03:30.000Z
2019-12-22T01:49:01.000Z
tests/connect_tests.py
adyekjaer/VersionOne.SDK.Python
e83764be029019c2ee3229157ae873f22c17476f
[ "BSD-3-Clause" ]
5
2018-08-23T08:43:43.000Z
2021-03-22T07:25:14.000Z
from testtools import TestCase from testtools.assertions import assert_that from testtools.matchers import Equals from testtools.content import text_content import sys if sys.version_info >= (3,0): from urllib.error import HTTPError else: from urllib2 import HTTPError # try the old version, then fallback to th...
43.756
128
0.642472
1,109
10,939
6.220018
0.127142
0.049435
0.091186
0.028269
0.835605
0.790229
0.750797
0.743839
0.727167
0.708901
0
0.008886
0.269586
10,939
249
129
43.931727
0.854443
0.040863
0
0.70892
0
0
0.10644
0.003726
0
0
0
0
0.093897
1
0.042254
false
0.117371
0.070423
0
0.117371
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
01f0612a28845af33cf6f66db33f77494cd79876
7,264
py
Python
metaflow/tests/flows/joins.py
celsiustx/metaflow
53b72aac978c429ced680ebbd222c1056425ad9c
[ "Apache-2.0" ]
1
2022-01-07T22:32:27.000Z
2022-01-07T22:32:27.000Z
metaflow/tests/flows/joins.py
celsiustx/metaflow
53b72aac978c429ced680ebbd222c1056425ad9c
[ "Apache-2.0" ]
null
null
null
metaflow/tests/flows/joins.py
celsiustx/metaflow
53b72aac978c429ced680ebbd222c1056425ad9c
[ "Apache-2.0" ]
null
null
null
from metaflow import FlowSpec from metaflow import api as ma from metaflow.api import foreach, step, join class OldJoinFlow1(FlowSpec): @step def start(self): self.next(self.generate_ints) @step def generate_ints(self): self.ints = list(range(1, 16)) self.next(self.test_prime,...
24.791809
89
0.488161
961
7,264
3.652445
0.087409
0.053846
0.082051
0.102564
0.905698
0.89886
0.897436
0.892308
0.869516
0.839316
0
0.039547
0.380369
7,264
292
90
24.876712
0.74028
0
0
0.876
1
0
0.034141
0
0
0
0
0
0.088
1
0.144
false
0.008
0.012
0
0.18
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
01fb8b53d22fdf00f38594de4a2d3cc035949ebb
47,890
py
Python
test/integration/ggrc/converters/test_import_issuetracked_objects.py
pavelglebov/ggrc-core
f99bfdaa11ad30643d7bc9af67bd84436d298cfa
[ "ECL-2.0", "Apache-2.0" ]
1
2019-01-12T23:46:00.000Z
2019-01-12T23:46:00.000Z
test/integration/ggrc/converters/test_import_issuetracked_objects.py
pavelglebov/ggrc-core
f99bfdaa11ad30643d7bc9af67bd84436d298cfa
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
test/integration/ggrc/converters/test_import_issuetracked_objects.py
pavelglebov/ggrc-core
f99bfdaa11ad30643d7bc9af67bd84436d298cfa
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# Copyright (C) 2020 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> """Integration tests for IssueTracker updates via import cases.""" # pylint: disable=invalid-name,too-many-public-methods,too-many-lines import collections import ddt import mock from ggrc import db from...
36.390578
79
0.605742
4,935
47,890
5.653495
0.060588
0.021935
0.019068
0.043584
0.829713
0.788602
0.772581
0.755914
0.733943
0.716165
0
0.008373
0.249363
47,890
1,315
80
36.418251
0.767748
0.062184
0
0.710095
0
0
0.202216
0.018485
0
0
0
0
0.038827
1
0.035375
false
0
0.062985
0
0.1044
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
bf20b2641a1b11444ae0fd4623b65b55a1f7d7dc
97
py
Python
pandapower/shortcircuit/__init__.py
yougnen/pandapower
d206bd91e68dd03675f7fe8ddee141621ef437fc
[ "BSD-3-Clause" ]
104
2017-02-21T17:13:51.000Z
2022-03-21T13:52:27.000Z
pandapower/shortcircuit/__init__.py
lvzhibai/pandapower
24ed3056558887cc89f67d15b5527523990ae9a1
[ "BSD-3-Clause" ]
126
2017-02-15T17:09:08.000Z
2018-07-16T13:25:15.000Z
pandapower/shortcircuit/__init__.py
lvzhibai/pandapower
24ed3056558887cc89f67d15b5527523990ae9a1
[ "BSD-3-Clause" ]
57
2017-03-08T13:49:32.000Z
2022-02-28T10:36:55.000Z
from pandapower.shortcircuit.calc_sc import calc_sc from pandapower.shortcircuit.toolbox import *
48.5
51
0.876289
13
97
6.384615
0.538462
0.337349
0.626506
0
0
0
0
0
0
0
0
0
0.072165
97
2
52
48.5
0.922222
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
17286817e8f2c4ec6931433f113b6f15705189e2
9,263
py
Python
aifo_simulation/java-code/projects/aifo/plots/aifo_evaluation/pFabric/web_search_workload_w_sr/analyze.py
AlmondDust/Assignment3-Final-AIFO
b006b2090a7b597fde7f92e9d9fbf204bc3c993e
[ "Apache-2.0" ]
21
2021-05-26T11:58:50.000Z
2022-03-29T12:46:28.000Z
aifo_simulation/java-code/projects/aifo/plots/aifo_evaluation/pFabric/web_search_workload_w_sr/analyze.py
AlmondDust/Assignment3-Final-AIFO
b006b2090a7b597fde7f92e9d9fbf204bc3c993e
[ "Apache-2.0" ]
1
2021-12-08T03:43:44.000Z
2021-12-08T03:43:44.000Z
aifo_simulation/java-code/projects/aifo/plots/aifo_evaluation/pFabric/web_search_workload_w_sr/analyze.py
AlmondDust/Assignment3-Final-AIFO
b006b2090a7b597fde7f92e9d9fbf204bc3c993e
[ "Apache-2.0" ]
4
2021-09-25T20:10:49.000Z
2022-03-14T06:39:26.000Z
#!/usr/bin/python # This python scripts extracts the data from the logs that we want to plot and outputs it in a format that gnuplot can # later on represent. # Theoretical plot number of combinations #!/usr/bin/python import math if __name__ == '__main__': ######################################################...
45.856436
145
0.506423
1,416
9,263
3.175847
0.074153
0.054703
0.080053
0.104069
0.957972
0.955748
0.955748
0.955748
0.955748
0.955748
0
0.099911
0.270647
9,263
202
146
45.856436
0.565719
0.041023
0
0.968944
0
0
0.341592
0.221465
0
0
0
0
0
1
0
false
0
0.006211
0
0.006211
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
17844c9f317b40ddfad8abcbbb3c641bf3b465fa
91
py
Python
tests/test_scm_pipeline.py
Forks-yugander-krishan-singh/jenkins-job-builder-pipeline
c8aac16b97eb89882e0a5a7250ad8ed33ca7ddd8
[ "Apache-2.0" ]
null
null
null
tests/test_scm_pipeline.py
Forks-yugander-krishan-singh/jenkins-job-builder-pipeline
c8aac16b97eb89882e0a5a7250ad8ed33ca7ddd8
[ "Apache-2.0" ]
null
null
null
tests/test_scm_pipeline.py
Forks-yugander-krishan-singh/jenkins-job-builder-pipeline
c8aac16b97eb89882e0a5a7250ad8ed33ca7ddd8
[ "Apache-2.0" ]
null
null
null
from base import assert_case def test_script_pipeline(): assert_case('scm_pipeline')
15.166667
31
0.78022
13
91
5.076923
0.769231
0.30303
0
0
0
0
0
0
0
0
0
0
0.142857
91
5
32
18.2
0.846154
0
0
0
0
0
0.131868
0
0
0
0
0
0.666667
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
1
0
1
0
1
0
0
8
bd7c81d7603809e95fceec6361bdcc84ab909f41
202
py
Python
selim_sef-solution/lucid/misc/io/__init__.py
Hulihrach/RoadDetector
9fedd537d7d3a5c81a60562a185fc13370af9a99
[ "Apache-2.0" ]
4,537
2018-02-08T22:58:30.000Z
2022-03-31T13:24:05.000Z
selim_sef-solution/lucid/misc/io/__init__.py
Hulihrach/RoadDetector
9fedd537d7d3a5c81a60562a185fc13370af9a99
[ "Apache-2.0" ]
260
2018-02-08T22:06:50.000Z
2022-03-24T18:05:09.000Z
selim_sef-solution/lucid/misc/io/__init__.py
Hulihrach/RoadDetector
9fedd537d7d3a5c81a60562a185fc13370af9a99
[ "Apache-2.0" ]
636
2018-02-09T09:50:58.000Z
2022-03-17T22:49:59.000Z
from lucid.misc.io.showing import show from lucid.misc.io.loading import load from lucid.misc.io.saving import save, CaptureSaveContext, batch_save from lucid.misc.io.scoping import io_scope, scope_url
40.4
69
0.831683
34
202
4.852941
0.470588
0.218182
0.315152
0.363636
0
0
0
0
0
0
0
0
0.094059
202
4
70
50.5
0.901639
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
da76a40793f2f1422c13d0932a6d592e32d20c44
11,289
py
Python
tzager/pdf_paper.py
tzagerAI/tzager
a6787f02fde58babd9999867d2cc3ced94926da8
[ "MIT" ]
2
2021-01-25T17:05:59.000Z
2021-04-11T19:05:16.000Z
tzager/pdf_paper.py
tzagerAI/tzager
a6787f02fde58babd9999867d2cc3ced94926da8
[ "MIT" ]
null
null
null
tzager/pdf_paper.py
tzagerAI/tzager
a6787f02fde58babd9999867d2cc3ced94926da8
[ "MIT" ]
null
null
null
import json import requests def analysis(password, path, title): from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter from pdfminer.converter import TextConverter from pdfminer.layout import LAParams from pdfminer.pdfpage import PDFPage from io import StringIO print('Converi...
39.75
167
0.642572
1,450
11,289
4.789655
0.095862
0.063931
0.079914
0.05198
0.900792
0.894744
0.893017
0.885817
0.879194
0.87329
0
0.015127
0.232882
11,289
283
168
39.890459
0.786605
0
0
0.844
0
0.036
0.113218
0
0
0
0
0
0
1
0.036
false
0.096
0.072
0
0.144
0.028
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
da8f0055a77ed6fa4e5e1522444ff2ad408ea2b3
6,668
gyp
Python
common-mk/external_dependencies.gyp
doitmovin/chromiumos-platform2
6462aaf43072307b5a40eb045a89e473381b5fda
[ "BSD-3-Clause" ]
null
null
null
common-mk/external_dependencies.gyp
doitmovin/chromiumos-platform2
6462aaf43072307b5a40eb045a89e473381b5fda
[ "BSD-3-Clause" ]
null
null
null
common-mk/external_dependencies.gyp
doitmovin/chromiumos-platform2
6462aaf43072307b5a40eb045a89e473381b5fda
[ "BSD-3-Clause" ]
2
2021-01-26T12:37:19.000Z
2021-05-18T13:37:57.000Z
{ 'targets': [ { 'target_name': 'modemmanager-dbus-proxies', 'type': 'none', 'variables': { 'xml2cpp_type': 'proxy', 'xml2cpp_in_dir': '<(sysroot)/usr/share/dbus-1/interfaces/', 'xml2cpp_out_dir': 'include/dbus_proxies', }, 'sources': [ '<(xml2cpp_in_d...
41.937107
80
0.626125
723
6,668
5.495159
0.152144
0.071734
0.144979
0.15857
0.840171
0.798137
0.717845
0.699723
0.699723
0.680342
0
0.015385
0.20066
6,668
158
81
42.202532
0.730019
0.019646
0
0.615385
0
0
0.707179
0.568651
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
16f24f5dceaff375273799b091cdaa31879fa455
12,182
py
Python
task1.py
whalsey/misc
8649cb070017a2a6c3c1cdd7fd1e37f45b251ef1
[ "Unlicense" ]
null
null
null
task1.py
whalsey/misc
8649cb070017a2a6c3c1cdd7fd1e37f45b251ef1
[ "Unlicense" ]
null
null
null
task1.py
whalsey/misc
8649cb070017a2a6c3c1cdd7fd1e37f45b251ef1
[ "Unlicense" ]
null
null
null
import network2 import logging import numpy as np logging.basicConfig(level=logging.DEBUG) # read in the data # logging.info("READING IN DATA...") # for reading in normal dataset # training, validation, test = network2.load_data_wrapper("data/mnist.pkl.gz") ### I WILL ADD AND COMMENT OUT SECTIONS OF CODE BASED ...
35.829412
166
0.603924
1,699
12,182
4.244261
0.085344
0.054916
0.091527
0.08695
0.892248
0.868812
0.855637
0.855637
0.806962
0.798641
0
0.029421
0.190855
12,182
339
167
35.935103
0.702141
0.833607
0
0.294118
0
0
0.146567
0.015003
0.176471
0
0
0
0
1
0
false
0
0.088235
0
0.088235
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e5297e53e73b4294c7ccbcefe66f4dbbeb267371
116
py
Python
mp1/assignment1/models/__init__.py
syfrankie/DS498-DL
b92a97156215f25d887435df20b556c45f1dd70e
[ "MIT" ]
null
null
null
mp1/assignment1/models/__init__.py
syfrankie/DS498-DL
b92a97156215f25d887435df20b556c45f1dd70e
[ "MIT" ]
null
null
null
mp1/assignment1/models/__init__.py
syfrankie/DS498-DL
b92a97156215f25d887435df20b556c45f1dd70e
[ "MIT" ]
1
2021-02-23T03:34:07.000Z
2021-02-23T03:34:07.000Z
from models.SVM import * from models.Perceptron import * from models.Softmax import * from models.Logistic import *
23.2
31
0.793103
16
116
5.75
0.4375
0.434783
0.521739
0
0
0
0
0
0
0
0
0
0.137931
116
4
32
29
0.92
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
e549392ee5f3fd69edffe73886a7cd55fa69fec4
5,437
py
Python
tests/test_convert.py
sairamkiran9/table2ascii
9829e77c2e7ce7ff764cb80dd1d7775a28fc2f16
[ "MIT" ]
24
2021-04-27T07:10:32.000Z
2022-03-13T04:32:22.000Z
tests/test_convert.py
sairamkiran9/table2ascii
9829e77c2e7ce7ff764cb80dd1d7775a28fc2f16
[ "MIT" ]
11
2021-04-27T07:49:28.000Z
2022-02-27T12:46:56.000Z
tests/test_convert.py
sairamkiran9/table2ascii
9829e77c2e7ce7ff764cb80dd1d7775a28fc2f16
[ "MIT" ]
5
2021-07-30T00:19:29.000Z
2022-02-01T07:39:50.000Z
from table2ascii import alignment, table2ascii as t2a import pytest def test_header_body_footer(): text = t2a( header=["#", "G", "H", "R", "S"], body=[["1", "30", "40", "35", "30"], ["2", "30", "40", "35", "30"]], footer=["SUM", "130", "140", "135", "130"], first_col_heading=True,...
26.915842
76
0.307523
620
5,437
4.08871
0.104839
0.03787
0.056805
0.07574
0.876134
0.840237
0.817751
0.751479
0.741223
0.715976
0
0.113558
0.356998
5,437
201
77
27.049751
0.349256
0
0
0.689655
0
0
0.336215
0.164245
0
0
0
0
0.057471
1
0.074713
false
0
0.011494
0
0.086207
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
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
e5814e08c4bbef9dd023b2c150cd5634dfc5236a
98
py
Python
env/lib/python3.6/site-packages/pandas/computation/api.py
anthowen/duplify
846d01c1b21230937fdf0281b0cf8c0b08a8c24e
[ "MIT" ]
4
2016-12-06T20:22:28.000Z
2018-05-04T09:51:45.000Z
env/lib/python3.6/site-packages/pandas/computation/api.py
anthowen/duplify
846d01c1b21230937fdf0281b0cf8c0b08a8c24e
[ "MIT" ]
11
2020-06-05T17:24:17.000Z
2022-03-11T23:15:26.000Z
env/lib/python3.6/site-packages/pandas/computation/api.py
anthowen/duplify
846d01c1b21230937fdf0281b0cf8c0b08a8c24e
[ "MIT" ]
3
2019-12-24T18:46:58.000Z
2021-09-04T11:57:13.000Z
# flake8: noqa from pandas.computation.eval import eval from pandas.computation.expr import Expr
19.6
40
0.816327
14
98
5.714286
0.571429
0.25
0.525
0
0
0
0
0
0
0
0
0.011628
0.122449
98
4
41
24.5
0.918605
0.122449
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
e5c14a5fbdf8135e3a3cc507ddd016137a8ddbb2
22,857
py
Python
scripts/custom_env_utils.py
mahaitongdae/Feasible-Policy-Optimization
1206ea6d01af3b14e3c4b1b4bb729d342cb38e92
[ "MIT" ]
null
null
null
scripts/custom_env_utils.py
mahaitongdae/Feasible-Policy-Optimization
1206ea6d01af3b14e3c4b1b4bb729d342cb38e92
[ "MIT" ]
null
null
null
scripts/custom_env_utils.py
mahaitongdae/Feasible-Policy-Optimization
1206ea6d01af3b14e3c4b1b4bb729d342cb38e92
[ "MIT" ]
null
null
null
from gym.envs.registration import register def register_custom_env(): # finite time convergence test suite config = { 'robot_base': 'xmls/point.xml', # dt in xml, default 0.002s for point # finite time convergence test suite modification 'robot_placements': None, # Robot placements list (defa...
56.576733
133
0.663867
2,816
22,857
5.267045
0.082386
0.036408
0.03843
0.017799
0.971211
0.964873
0.960895
0.959951
0.959951
0.959951
0
0.009849
0.25817
22,857
404
134
56.576733
0.864886
0.519535
0
0.907407
0
0
0.393608
0.042613
0
0
0
0
0
1
0.003704
false
0
0.003704
0
0.007407
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
e5c70a405e1f08ca0f01bd850d86b4f4ca0aa4e1
13,178
py
Python
qa327_test/test_R5.py
HenryTsui1/CISC327
7e9ebeb494568045d6f7b6281d9b78025593ace9
[ "MIT" ]
1
2021-01-09T22:34:02.000Z
2021-01-09T22:34:02.000Z
qa327_test/test_R5.py
HenryTsui1/CISC327
7e9ebeb494568045d6f7b6281d9b78025593ace9
[ "MIT" ]
null
null
null
qa327_test/test_R5.py
HenryTsui1/CISC327
7e9ebeb494568045d6f7b6281d9b78025593ace9
[ "MIT" ]
1
2021-01-09T22:34:13.000Z
2021-01-09T22:34:13.000Z
import pytest from seleniumbase import BaseCase from qa327_test.conftest import base_url from unittest.mock import patch from qa327.models import db, User, Ticket from werkzeug.security import generate_password_hash, check_password_hash # Moch a sample user test_user = User( email='test@test.com', name='test_...
39.573574
195
0.609197
1,700
13,178
4.598235
0.085294
0.110528
0.112575
0.051554
0.897147
0.897147
0.897147
0.897147
0.883203
0.883203
0
0.042046
0.207695
13,178
332
196
39.692771
0.706637
0.09918
0
0.828358
0
0
0.341692
0.10309
0
0
0
0
0.141791
1
0.052239
false
0.059701
0.022388
0
0.078358
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
f9287840c293ef92915f8adb3680e4ea5c0c0cba
115,871
py
Python
CodeEntropy/FunctionCollection/EntropyFunctions.py
DonaldChung-HK/CodeEntropy
96162239babfbac2b386ab0c6979fee9689c60d2
[ "MIT" ]
null
null
null
CodeEntropy/FunctionCollection/EntropyFunctions.py
DonaldChung-HK/CodeEntropy
96162239babfbac2b386ab0c6979fee9689c60d2
[ "MIT" ]
null
null
null
CodeEntropy/FunctionCollection/EntropyFunctions.py
DonaldChung-HK/CodeEntropy
96162239babfbac2b386ab0c6979fee9689c60d2
[ "MIT" ]
null
null
null
from ast import arg import sys, os import numpy as nmp from CodeEntropy.ClassCollection import BeadClasses as BC from CodeEntropy.ClassCollection import ConformationEntity as CONF from CodeEntropy.ClassCollection import ModeClasses from CodeEntropy.ClassCollection import CustomDataTypes from CodeEntropy.FunctionCollec...
46.385508
280
0.647125
13,344
115,871
5.504646
0.070219
0.052005
0.016772
0.02411
0.854916
0.8344
0.817723
0.810916
0.795178
0.78038
0
0.013011
0.262387
115,871
2,497
281
46.404085
0.846387
0.312598
0
0.706911
0
0.008326
0.100008
0.008511
0
0
0
0
0.006661
1
0.014155
false
0
0.013322
0
0.041632
0.174022
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
00caee32f6fdb9305d9e25ebb1e626c7dfcd69d9
78
py
Python
angel/__init__.py
GiulioRossetti/ANGEL
63d29e90756f7c656c56170ca247a65c9667d416
[ "BSD-2-Clause" ]
3
2020-06-16T07:43:24.000Z
2021-12-28T19:02:56.000Z
angel/__init__.py
GiulioRossetti/ANGEL
63d29e90756f7c656c56170ca247a65c9667d416
[ "BSD-2-Clause" ]
null
null
null
angel/__init__.py
GiulioRossetti/ANGEL
63d29e90756f7c656c56170ca247a65c9667d416
[ "BSD-2-Clause" ]
null
null
null
from angel.alg.iAngel import Angel from angel.alg.iArchAngel import ArchAngel
26
42
0.846154
12
78
5.5
0.583333
0.272727
0.363636
0
0
0
0
0
0
0
0
0
0.102564
78
2
43
39
0.942857
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
00ed870b59b7390a8f6e71f46576a9bd3120a811
16,269
py
Python
nexussdk/storages.py
hygt/nexus-python-sdk
3a625bdd218e164fbc6ad8d936357cd6ede19a98
[ "Apache-2.0" ]
null
null
null
nexussdk/storages.py
hygt/nexus-python-sdk
3a625bdd218e164fbc6ad8d936357cd6ede19a98
[ "Apache-2.0" ]
null
null
null
nexussdk/storages.py
hygt/nexus-python-sdk
3a625bdd218e164fbc6ad8d936357cd6ede19a98
[ "Apache-2.0" ]
null
null
null
""" This module provides a Python interface for operations on Storages. It is part of the Knowledge Graph API of Blue Brain Nexus v1. https://bluebrainnexus.io/docs/api/1.1/kg/kg-storages-api.html """ from typing import Dict, Optional from urllib.parse import quote_plus as url_encode from nexussdk.utils.http import h...
43.268617
117
0.683631
2,186
16,269
4.972095
0.076853
0.048027
0.024013
0.04269
0.886466
0.87883
0.851964
0.845616
0.826295
0.813874
0
0.001934
0.237138
16,269
375
118
43.384
0.873822
0.479808
0
0.732484
0
0
0.06785
0.005834
0
0
0
0
0
1
0.082803
false
0
0.044586
0
0.210191
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
971c37f2ffdd0ab88324429196593d4e40d558d8
111
py
Python
relex/predictors/__init__.py
DFKI-NLP/RelEx
0826c02f793b78bf8b7b7001c2e3fdfdb25c1ad2
[ "Apache-2.0" ]
16
2020-04-21T19:04:23.000Z
2021-08-03T04:30:43.000Z
relex/predictors/__init__.py
DFKI-NLP/RelEx
0826c02f793b78bf8b7b7001c2e3fdfdb25c1ad2
[ "Apache-2.0" ]
3
2020-07-25T12:29:21.000Z
2021-06-11T02:06:58.000Z
relex/predictors/__init__.py
DFKI-NLP/RelEx
0826c02f793b78bf8b7b7001c2e3fdfdb25c1ad2
[ "Apache-2.0" ]
2
2020-06-25T12:50:57.000Z
2020-11-01T10:31:04.000Z
from relex.predictors.relation_classification.relation_classifier_predictor import RelationClassifierPredictor
55.5
110
0.936937
10
111
10.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.036036
111
1
111
111
0.943925
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
8af3f1c4bfb132a59d67c0454c13b52ee3cc90b7
7,426
py
Python
src/python/tests/integration/test_web/test_handler/test_auto_queue.py
annihilatethee/seedsync
7a0ba915cc570bc12916088baa6eb6bee6f291c9
[ "Apache-2.0" ]
255
2017-12-25T00:53:40.000Z
2022-03-27T10:29:21.000Z
src/python/tests/integration/test_web/test_handler/test_auto_queue.py
annihilatethee/seedsync
7a0ba915cc570bc12916088baa6eb6bee6f291c9
[ "Apache-2.0" ]
111
2018-01-04T10:35:49.000Z
2022-03-29T15:12:52.000Z
src/python/tests/integration/test_web/test_handler/test_auto_queue.py
annihilatethee/seedsync
7a0ba915cc570bc12916088baa6eb6bee6f291c9
[ "Apache-2.0" ]
53
2017-12-25T09:34:19.000Z
2022-03-15T17:53:27.000Z
# Copyright 2017, Inderpreet Singh, All rights reserved. import json from urllib.parse import quote from controller import AutoQueuePattern from tests.integration.test_web.test_web_app import BaseTestWebApp class TestAutoQueueHandler(BaseTestWebApp): def test_get(self): self.auto_queue_persist.add_patte...
51.93007
104
0.684083
929
7,426
5.286329
0.097955
0.07697
0.103238
0.158827
0.914274
0.884138
0.875178
0.875178
0.766035
0.670332
0
0.012518
0.171694
7,426
142
105
52.295775
0.785888
0.007272
0
0.487395
0
0.008403
0.14749
0.076662
0
0
0
0
0.453782
1
0.067227
false
0
0.033613
0
0.109244
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
1
0
0
0
0
0
0
0
0
0
7
c124295253c904f3e19d2b7a14be8902741e9a96
138
py
Python
tests/api/test_factory.py
jroquejr/nfe-reader
277379bfb9865b2656c2576d8ccf8c3e1f3cacd1
[ "MIT" ]
null
null
null
tests/api/test_factory.py
jroquejr/nfe-reader
277379bfb9865b2656c2576d8ccf8c3e1f3cacd1
[ "MIT" ]
2
2021-04-21T14:57:31.000Z
2021-04-21T14:57:32.000Z
tests/api/test_factory.py
jroquejr/nfe-reader
277379bfb9865b2656c2576d8ccf8c3e1f3cacd1
[ "MIT" ]
null
null
null
from api.app import create_app def test_factory(): assert not create_app().testing assert create_app({"TESTING": True}).testing
19.714286
48
0.731884
20
138
4.85
0.6
0.278351
0.329897
0
0
0
0
0
0
0
0
0
0.15942
138
6
49
23
0.836207
0
0
0
0
0
0.050725
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
c1ff88fad66967ae1ebe1bc58f80ce4b5daedef1
2,809
py
Python
cobra/utils/console_log.py
frankenstien-831/cobra
a2ec3ed1038c9606ed7e6978b5bf88f08fd2fc7f
[ "MIT" ]
53
2019-07-14T07:19:56.000Z
2022-03-25T06:56:04.000Z
cobra/utils/console_log.py
frankenstien-831/cobra
a2ec3ed1038c9606ed7e6978b5bf88f08fd2fc7f
[ "MIT" ]
1
2019-07-16T17:45:57.000Z
2019-07-17T22:16:09.000Z
cobra/utils/console_log.py
frankenstien-831/cobra
a2ec3ed1038c9606ed7e6978b5bf88f08fd2fc7f
[ "MIT" ]
11
2019-07-14T09:26:12.000Z
2021-12-10T11:23:19.000Z
from colorama import Fore, Style def console_log(text, _type=None, title=None, space=False, space_number=0): # Checking text instance is string if isinstance(text, str): if title is None: if _type == 'success': return print(Style.DIM + Fore.GREEN + '[SUCCESS]' ...
49.280702
75
0.420434
254
2,809
4.523622
0.153543
0.156658
0.203655
0.177546
0.849434
0.830287
0.830287
0.813751
0.813751
0.788512
0
0.00134
0.468494
2,809
56
76
50.160714
0.768252
0.011392
0
0.735849
0
0
0.057297
0
0
0
0
0
0
1
0.018868
false
0
0.018868
0
0.283019
0.245283
0
0
0
null
0
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
0
0
0
0
0
0
0
0
0
0
9
e7c33b57e33d10a7f2bd559ec1a3c4c514bb414b
153
py
Python
tagger/data/__init__.py
XMUNLP/Tagger
02e1fd323ac747bfe5f7b8824c6b416fd90f33a1
[ "BSD-3-Clause" ]
335
2017-12-08T07:14:32.000Z
2022-03-01T15:22:26.000Z
tagger/data/__init__.py
XMUNLP/Tagger
02e1fd323ac747bfe5f7b8824c6b416fd90f33a1
[ "BSD-3-Clause" ]
23
2018-03-27T01:59:19.000Z
2022-02-15T16:15:57.000Z
tagger/data/__init__.py
XMUNLP/Tagger
02e1fd323ac747bfe5f7b8824c6b416fd90f33a1
[ "BSD-3-Clause" ]
91
2017-12-08T07:14:34.000Z
2021-12-16T23:19:42.000Z
from tagger.data.dataset import get_dataset from tagger.data.vocab import load_vocabulary, lookup from tagger.data.embedding import load_glove_embedding
38.25
54
0.869281
23
153
5.608696
0.521739
0.232558
0.325581
0
0
0
0
0
0
0
0
0
0.084967
153
3
55
51
0.921429
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
99b3ede6b3c6096b7a85dbe8a78e3d96b008603a
22,046
py
Python
py_dp/dispersion/dispersion_models_1d.py
amirdel/dispersion-continua
2e1f7a3fbfcdc0b27c546cb0ae51a628a926ad60
[ "0BSD" ]
1
2019-12-23T14:35:43.000Z
2019-12-23T14:35:43.000Z
py_dp/dispersion/dispersion_models_1d.py
amirdel/dispersion-continua
2e1f7a3fbfcdc0b27c546cb0ae51a628a926ad60
[ "0BSD" ]
null
null
null
py_dp/dispersion/dispersion_models_1d.py
amirdel/dispersion-continua
2e1f7a3fbfcdc0b27c546cb0ae51a628a926ad60
[ "0BSD" ]
1
2019-12-23T14:34:43.000Z
2019-12-23T14:34:43.000Z
# Copyright 2017 Amir Hossein Delgoshaie, amirdel@stanford.edu # # Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee # is hereby granted, provided that the above copyright notice and this permission notice appear in all # copies. # # THE SOFTWARE IS PROVIDED "AS IS" AN...
40.750462
105
0.624966
3,092
22,046
4.10414
0.078266
0.031521
0.033333
0.034673
0.765485
0.746887
0.735855
0.724507
0.705122
0.697478
0
0.01168
0.293205
22,046
540
106
40.825926
0.802721
0.061372
0
0.757642
0
0
0.005557
0
0
0
0
0
0
0
null
null
0
0.0131
null
null
0.00655
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
99bdaab32a76214593c9b2e020d67f873cf67f59
44
py
Python
apollo/__init__.py
yezl77/pyapollo
810f387ccb879e6a77e32b81308f2ab192caec45
[ "Apache-2.0" ]
5
2018-07-31T14:57:00.000Z
2020-09-11T13:38:57.000Z
apollo/__init__.py
yezl77/pyapollo
810f387ccb879e6a77e32b81308f2ab192caec45
[ "Apache-2.0" ]
null
null
null
apollo/__init__.py
yezl77/pyapollo
810f387ccb879e6a77e32b81308f2ab192caec45
[ "Apache-2.0" ]
1
2018-07-31T14:57:57.000Z
2018-07-31T14:57:57.000Z
def start(): print("import successful")
22
30
0.659091
5
44
5.8
1
0
0
0
0
0
0
0
0
0
0
0
0.181818
44
2
30
22
0.805556
0
0
0
0
0
0.386364
0
0
0
0
0
0
1
0.5
true
0
0.5
0
1
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
1
0
8
413a72e93c9e1b703a41720eb1ac872d1daa4812
56,127
py
Python
sdk/python/pulumi_openstack/objectstorage/container_object.py
pulumi/pulumi-openstack
945eed22a82784e9f0b3aa56168b2397c2f503e8
[ "ECL-2.0", "Apache-2.0" ]
34
2018-09-12T12:37:51.000Z
2022-02-04T19:32:13.000Z
sdk/python/pulumi_openstack/objectstorage/container_object.py
pulumi/pulumi-openstack
945eed22a82784e9f0b3aa56168b2397c2f503e8
[ "ECL-2.0", "Apache-2.0" ]
72
2018-08-15T13:04:57.000Z
2022-03-31T15:39:49.000Z
sdk/python/pulumi_openstack/objectstorage/container_object.py
pulumi/pulumi-openstack
945eed22a82784e9f0b3aa56168b2397c2f503e8
[ "ECL-2.0", "Apache-2.0" ]
7
2019-03-14T08:28:49.000Z
2021-12-29T04:23:55.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...
46.271228
134
0.634561
7,025
56,127
4.930961
0.044982
0.069544
0.071132
0.074307
0.939636
0.929879
0.920727
0.915242
0.911576
0.882708
0
0.009777
0.274698
56,127
1,212
135
46.309406
0.840944
0.453881
0
0.819964
1
0
0.090286
0.002081
0
0
0
0
0
1
0.167558
false
0.001783
0.008913
0.005348
0.278075
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
414c48c6e674e2e17655442b6918903ce560a69e
134
py
Python
dagmc_h5m_file_inspector/__init__.py
fusion-energy/dagmc_h5m_file_inspector
921164cf2e3e04871640cebc3422219c2bd50b74
[ "MIT" ]
null
null
null
dagmc_h5m_file_inspector/__init__.py
fusion-energy/dagmc_h5m_file_inspector
921164cf2e3e04871640cebc3422219c2bd50b74
[ "MIT" ]
null
null
null
dagmc_h5m_file_inspector/__init__.py
fusion-energy/dagmc_h5m_file_inspector
921164cf2e3e04871640cebc3422219c2bd50b74
[ "MIT" ]
null
null
null
from .core import get_volumes_from_h5m from .core import get_materials_from_h5m from .core import get_volumes_and_materials_from_h5m
26.8
52
0.880597
23
134
4.652174
0.347826
0.224299
0.392523
0.476636
0.738318
0.448598
0
0
0
0
0
0.024793
0.097015
134
4
53
33.5
0.859504
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
0
0
0
7
414c8298f30a7b847f338288476be8d8195ec872
6,227
py
Python
tests/test_state.py
dexterous/celery-cloudwatch
c894dabf655860275edb1ecd7e1dfac223d78926
[ "MIT" ]
32
2015-03-29T17:00:50.000Z
2021-01-22T23:26:59.000Z
tests/test_state.py
dexterous/celery-cloudwatch
c894dabf655860275edb1ecd7e1dfac223d78926
[ "MIT" ]
9
2015-02-15T12:45:12.000Z
2018-03-29T14:05:39.000Z
tests/test_state.py
dexterous/celery-cloudwatch
c894dabf655860275edb1ecd7e1dfac223d78926
[ "MIT" ]
18
2015-03-29T17:00:36.000Z
2021-12-14T14:53:44.000Z
import unittest from celery_cloudwatch.state import State class TestPickleErrors(unittest.TestCase): def assert_success(self, s, task_name): self.assertEquals(s.task_event_sent[task_name], 1) self.assertEquals(s.task_event_started[task_name], 1) self.assertEquals(s.task_event_succeeded[ta...
43.852113
70
0.605107
880
6,227
4.021591
0.042045
0.06499
0.154281
0.040689
0.953377
0.953377
0.948008
0.948008
0.897146
0.897146
0
0.027027
0.215674
6,227
141
71
44.163121
0.697584
0
0
0.814516
0
0
0.096691
0
0
0
0
0
0.387097
1
0.112903
false
0
0.016129
0
0.137097
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
41b6767e1bcfb6a72ecdcfb98423ab0320c75e52
1,614
py
Python
alpyro_msgs/trajectory_msgs/multidofjointtrajectory.py
rho2/alpyro_msgs
b5a680976c40c83df70d61bb2db1de32a1cde8d3
[ "MIT" ]
1
2020-12-13T13:07:10.000Z
2020-12-13T13:07:10.000Z
alpyro_msgs/trajectory_msgs/multidofjointtrajectory.py
rho2/alpyro_msgs
b5a680976c40c83df70d61bb2db1de32a1cde8d3
[ "MIT" ]
null
null
null
alpyro_msgs/trajectory_msgs/multidofjointtrajectory.py
rho2/alpyro_msgs
b5a680976c40c83df70d61bb2db1de32a1cde8d3
[ "MIT" ]
null
null
null
from typing import List from typing_extensions import Annotated from alpyro_msgs import RosMessage, string from alpyro_msgs.std_msgs.header import Header from alpyro_msgs.trajectory_msgs.multidofjointtrajectorypoint import MultiDOFJointTrajectoryPoint class MultiDOFJointTrajectory(RosMessage): __msg_typ__ = "trajec...
100.875
1,082
0.942999
60
1,614
24.983333
0.45
0.020013
0.028019
0
0
0
0
0
0
0
0
0.102119
0.035316
1,614
15
1,083
107.6
0.860629
0
0
0
0
0
0.703222
0.703222
0
1
0
0
0
1
0
false
0
0.416667
0
1
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
0
0
1
1
null
1
0
0
0
0
0
0
0
1
0
1
0
0
8
41c1f7279ddbf9791bbaa8022fac20b30c80a639
7,268
py
Python
c15/p449_httplib2_test2.py
HiAwesome/dive-into-python3-practice
e57504cb0683ebca9c80b20ff0cb3878bdcc3f87
[ "Apache-2.0" ]
null
null
null
c15/p449_httplib2_test2.py
HiAwesome/dive-into-python3-practice
e57504cb0683ebca9c80b20ff0cb3878bdcc3f87
[ "Apache-2.0" ]
null
null
null
c15/p449_httplib2_test2.py
HiAwesome/dive-into-python3-practice
e57504cb0683ebca9c80b20ff0cb3878bdcc3f87
[ "Apache-2.0" ]
null
null
null
from pprint import pprint import httplib2 from file_path_collect import output_cache_path_dir as cache httplib2.debuglevel = 1 h = httplib2.Http(cache) # 网址换成简书 jianshu = 'https://www.jianshu.com/' # 首先 cache 一遍 response0, content0 = h.request(jianshu) print() response, content = h.request(jianshu) print() print(...
49.108108
603
0.718079
1,037
7,268
5.016393
0.190935
0.034602
0.034602
0.032872
0.809881
0.798923
0.79431
0.782776
0.746444
0.702999
0
0.062688
0.130848
7,268
147
604
49.442177
0.760804
0.002477
0
0.347826
0
0
0.077453
0
0
0
0
0
0
1
0
false
0
0.130435
0
0.130435
0.652174
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
7
68cbe97d31e3324032f88dccfed54fc66b602a89
19,079
py
Python
src/python/tests/unittests/test_controller/test_scan/test_remote_scanner.py
annihilatethee/seedsync
7a0ba915cc570bc12916088baa6eb6bee6f291c9
[ "Apache-2.0" ]
null
null
null
src/python/tests/unittests/test_controller/test_scan/test_remote_scanner.py
annihilatethee/seedsync
7a0ba915cc570bc12916088baa6eb6bee6f291c9
[ "Apache-2.0" ]
null
null
null
src/python/tests/unittests/test_controller/test_scan/test_remote_scanner.py
annihilatethee/seedsync
7a0ba915cc570bc12916088baa6eb6bee6f291c9
[ "Apache-2.0" ]
null
null
null
# Copyright 2017, Inderpreet Singh, All rights reserved. import unittest import logging import sys from unittest.mock import patch, call, ANY import tempfile import os import pickle import shutil from controller.scan import RemoteScanner from ssh import SshcpError from common import AppError from common import Locali...
37.780198
108
0.62498
2,277
19,079
4.940711
0.087835
0.047467
0.079111
0.103822
0.819644
0.8128
0.804
0.798844
0.795556
0.791378
0
0.012518
0.292363
19,079
504
109
37.855159
0.820754
0.0836
0
0.736842
0
0
0.127811
0.041934
0
0
0
0
0.076316
1
0.092105
false
0.044737
0.031579
0.002632
0.181579
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
ec4d3bc03ac74801721429d9a793e9e024b4d1a7
47
py
Python
model/cct/__init__.py
gmberton/deep-visual-geo-localization-benchmark
7ac395411b7eeff99da66675dedc5372839e5632
[ "MIT" ]
1
2022-03-25T06:48:16.000Z
2022-03-25T06:48:16.000Z
model/cct/__init__.py
gmberton/deep-visual-geo-localization-benchmark
7ac395411b7eeff99da66675dedc5372839e5632
[ "MIT" ]
null
null
null
model/cct/__init__.py
gmberton/deep-visual-geo-localization-benchmark
7ac395411b7eeff99da66675dedc5372839e5632
[ "MIT" ]
null
null
null
from .cct import cct_14_7x2_384, cct_14_7x2_224
47
47
0.87234
11
47
3.181818
0.636364
0.285714
0.457143
0
0
0
0
0
0
0
0
0.325581
0.085106
47
1
47
47
0.488372
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
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
0
1
0
1
0
0
0
0
9
6b4dff3f5193ecca8a9ee7f92cb74b87ef0e16b0
46,119
py
Python
gazenet/models/shared_components/gmu/model.py
modular-ml/gasp-gated-attention-for-saliency-prediction
e2e1b008ab916ae5f7e51fbf09aa1da8be22be6d
[ "MIT" ]
1
2021-09-22T07:50:39.000Z
2021-09-22T07:50:39.000Z
gazenet/models/shared_components/gmu/model.py
modular-ml/gasp-gated-attention-for-saliency-prediction
e2e1b008ab916ae5f7e51fbf09aa1da8be22be6d
[ "MIT" ]
null
null
null
gazenet/models/shared_components/gmu/model.py
modular-ml/gasp-gated-attention-for-saliency-prediction
e2e1b008ab916ae5f7e51fbf09aa1da8be22be6d
[ "MIT" ]
1
2022-01-14T22:55:38.000Z
2022-01-14T22:55:38.000Z
# -*- coding: utf-8 -*- """This module implements the Gated Multimodal Units in PyTorch Currently there are two versions: Two versions, the general GMU and the simplified, bimodal unit are described in Arevalo et al., Gated multimodal networks, 2020 (https://link.springer.com/article/10.1007/s00521-019-04559-1) The p...
37.073151
171
0.608426
5,613
46,119
4.833779
0.07251
0.03612
0.026832
0.014853
0.879036
0.857106
0.834844
0.813504
0.802521
0.768908
0
0.006827
0.323511
46,119
1,243
172
37.102977
0.862816
0.402004
0
0.736177
0
0
0.005448
0.001708
0
0
0
0.003218
0
1
0.061611
false
0
0.00158
0
0.121643
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
6b5a716281422ca867c8f8b0a5f1793bab54d58d
131
py
Python
chevah/compat/tests/manual/__init__.py
chevah/compat
d22e5f551a628f8a1652c9f2eea306e17930cb8f
[ "BSD-3-Clause" ]
5
2016-12-03T22:54:50.000Z
2021-11-17T11:17:39.000Z
chevah/compat/tests/manual/__init__.py
chevah/compat
d22e5f551a628f8a1652c9f2eea306e17930cb8f
[ "BSD-3-Clause" ]
76
2015-01-22T16:00:31.000Z
2022-02-09T22:13:34.000Z
chevah/compat/tests/manual/__init__.py
chevah/compat
d22e5f551a628f8a1652c9f2eea306e17930cb8f
[ "BSD-3-Clause" ]
1
2016-12-10T15:57:31.000Z
2016-12-10T15:57:31.000Z
""" Manual tests. """ from __future__ import print_function from __future__ import division from __future__ import absolute_import
18.714286
38
0.824427
16
131
5.875
0.5625
0.319149
0.510638
0
0
0
0
0
0
0
0
0
0.122137
131
6
39
21.833333
0.817391
0.099237
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.333333
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
6bc750a167e0f472ce43e3874c6b0afa920d8be1
173
py
Python
hottbox/utils/validation/__init__.py
adamurban98/hottbox
26580018ec6d38a1b08266c04ce4408c9e276130
[ "Apache-2.0" ]
167
2018-05-07T10:31:00.000Z
2022-02-24T19:20:31.000Z
hottbox/utils/validation/__init__.py
adamurban98/hottbox
26580018ec6d38a1b08266c04ce4408c9e276130
[ "Apache-2.0" ]
19
2018-05-10T13:26:39.000Z
2020-01-31T12:49:27.000Z
hottbox/utils/validation/__init__.py
adamurban98/hottbox
26580018ec6d38a1b08266c04ce4408c9e276130
[ "Apache-2.0" ]
24
2018-04-02T17:16:50.000Z
2021-12-07T06:21:40.000Z
from .checks import is_toeplitz_matrix, is_super_symmetric, is_toeplitz_tensor __all__ = [ "is_toeplitz_matrix", "is_super_symmetric", "is_toeplitz_tensor", ]
19.222222
78
0.757225
22
173
5.227273
0.454545
0.347826
0.278261
0.313043
0.834783
0.834783
0.834783
0.834783
0.834783
0
0
0
0.156069
173
8
79
21.625
0.787671
0
0
0
0
0
0.312139
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
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
0
0
0
0
0
0
0
10
6bf6ff73615a07ab5bdfdc7cbe3744532b49cd92
2,023
py
Python
digit-dataset/k-means.py
MasayukiHigashi/CAT
b2690e8d7b8bf0d36422bb9be5feb693d8639c32
[ "MIT" ]
19
2019-07-31T03:21:03.000Z
2021-11-15T12:33:42.000Z
digit-dataset/k-means.py
MasayukiHigashi/CAT
b2690e8d7b8bf0d36422bb9be5feb693d8639c32
[ "MIT" ]
3
2019-08-04T04:11:13.000Z
2021-01-20T14:47:23.000Z
digit-dataset/k-means.py
MasayukiHigashi/CAT
b2690e8d7b8bf0d36422bb9be5feb693d8639c32
[ "MIT" ]
9
2019-08-03T15:20:37.000Z
2021-04-10T22:28:48.000Z
import numpy as np from sklearn.cluster import KMeans num_classes = 10 dirr = "./" cat = np.load(dirr+"features_cat.npz") rev = np.load(dirr+"features_rev.npz") mstn = np.load(dirr+"features_mstn.npz") cat_pred = KMeans(n_clusters=num_classes, n_jobs=-1).fit_predict(np.concatenate([cat['x1'],cat['x2']] , 0)) cat_labe...
30.19403
109
0.634207
319
2,023
3.915361
0.159875
0.080064
0.072058
0.081665
0.843074
0.843074
0.785428
0.785428
0.785428
0.785428
0
0.018913
0.163618
2,023
66
110
30.651515
0.719267
0.077113
0
0.75
0
0
0.040366
0
0
0
0
0
0
1
0
false
0
0.038462
0
0.038462
0.057692
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
d40aa4b7c4c1322f1ff3a827cd66e9ea94ffb317
3,101
py
Python
library/tests/test_compensation.py
Sossa24/bmp280-python
e718bfb8a3580fda8a735e4d645f0a8fc2eba63d
[ "MIT" ]
39
2018-12-04T00:05:52.000Z
2022-01-23T18:44:16.000Z
library/tests/test_compensation.py
Sossa24/bmp280-python
e718bfb8a3580fda8a735e4d645f0a8fc2eba63d
[ "MIT" ]
10
2018-11-06T12:21:57.000Z
2022-02-01T07:10:35.000Z
library/tests/test_compensation.py
Sossa24/bmp280-python
e718bfb8a3580fda8a735e4d645f0a8fc2eba63d
[ "MIT" ]
16
2018-11-04T19:57:35.000Z
2022-02-04T03:29:12.000Z
TEST_TEMP_RAW = 529191 TEST_TEMP_CMP = 24.7894877676 TEST_PRES_RAW = 326816 TEST_PRES_CMP = 1006.61517564 TEST_ALT_CMP = 57.3174 def test_temperature(): from tools import SMBusFakeDevice from bmp280 import BMP280 from calibration import BMP280Calibration dev = SMBusFakeDevice(1) # Load the fake ...
31.323232
72
0.698484
410
3,101
5.119512
0.146341
0.060029
0.068128
0.040019
0.89757
0.89757
0.89757
0.89757
0.89757
0.89757
0
0.118267
0.203805
3,101
98
73
31.642857
0.731875
0.185424
0
0.79661
0
0
0.002388
0
0
0
0.07879
0
0.067797
1
0.067797
false
0
0.20339
0
0.271186
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
d47ad8b1b117342b8b3d4aee9d0870626eb07f11
44
py
Python
dags/func.py
akaimo/docker_airflow
149ca319fd489cdeb1c2ffd499bdb74aae1396be
[ "MIT" ]
null
null
null
dags/func.py
akaimo/docker_airflow
149ca319fd489cdeb1c2ffd499bdb74aae1396be
[ "MIT" ]
null
null
null
dags/func.py
akaimo/docker_airflow
149ca319fd489cdeb1c2ffd499bdb74aae1396be
[ "MIT" ]
null
null
null
def sample_func(): print("sample func")
14.666667
24
0.659091
6
44
4.666667
0.666667
0.714286
0
0
0
0
0
0
0
0
0
0
0.181818
44
2
25
22
0.777778
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0.5
true
0
0
0
0.5
0.5
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
1
0
7