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
2e279624e45091494f39f33c260879b0835cffb0
15,566
py
Python
test_stream_zip.py
uktrade/stream-zip
5b27801ece18b15cf7edf9cd0931682eb828b4d1
[ "MIT" ]
8
2021-12-29T13:31:26.000Z
2022-01-30T02:40:53.000Z
test_stream_zip.py
uktrade/stream-zip
5b27801ece18b15cf7edf9cd0931682eb828b4d1
[ "MIT" ]
1
2022-02-06T06:51:21.000Z
2022-02-06T17:54:01.000Z
test_stream_zip.py
uktrade/stream-zip
5b27801ece18b15cf7edf9cd0931682eb828b4d1
[ "MIT" ]
null
null
null
from datetime import datetime from io import BytesIO import os import subprocess from tempfile import TemporaryDirectory from zipfile import ZipFile import pytest from stream_unzip import stream_unzip from stream_zip import ( stream_zip, NO_COMPRESSION_64, NO_COMPRESSION_32, ZIP_64, ZIP_32, Co...
28.405109
99
0.536361
2,097
15,566
3.832618
0.060563
0.045913
0.04106
0.024885
0.863755
0.857783
0.84223
0.84223
0.839244
0.798308
0
0.112082
0.316202
15,566
547
100
28.457038
0.642616
0.002827
0
0.774347
0
0
0.075129
0
0
0
0.000644
0
0.042755
1
0.15677
false
0.019002
0.021378
0
0.178147
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
2e3e8a970e9bc8d721075789d203415f12e7dc48
2,603
py
Python
storm_analysis/test/test_pupil_math.py
bintulab/storm-analysis
71ae493cbd17ddb97938d0ae2032d97a0eaa76b2
[ "CNRI-Python" ]
null
null
null
storm_analysis/test/test_pupil_math.py
bintulab/storm-analysis
71ae493cbd17ddb97938d0ae2032d97a0eaa76b2
[ "CNRI-Python" ]
null
null
null
storm_analysis/test/test_pupil_math.py
bintulab/storm-analysis
71ae493cbd17ddb97938d0ae2032d97a0eaa76b2
[ "CNRI-Python" ]
1
2021-04-19T18:17:06.000Z
2021-04-19T18:17:06.000Z
#!/usr/bin/env python import numpy import storm_analysis import storm_analysis.simulator.pupil_math as pupilMath def test_pupil_math_1(): """ Test GeometryC, intensity, no scaling. """ geo = pupilMath.Geometry(20, 0.1, 0.6, 1.5, 1.4) geo_c = pupilMath.GeometryC(20, 0.1, 0.6, 1.5, 1.4) pf = ...
28.604396
70
0.615828
447
2,603
3.39821
0.120805
0.032916
0.029625
0.032916
0.851876
0.802502
0.802502
0.778802
0.764319
0.764319
0
0.094072
0.215905
2,603
90
71
28.922222
0.650171
0.089128
0
0.708333
0
0
0.003486
0
0
0
0
0
0.083333
1
0.104167
false
0
0.0625
0
0.166667
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
cf130e4a6298c0e1e099cdce4d75441e8a7489c4
176
py
Python
protostar/commands/remove/removal_exceptions.py
software-mansion/protostar
e9f701d3b02dde78e5292a4698ca3c6c7d39b485
[ "MIT" ]
11
2022-01-31T14:27:32.000Z
2022-03-28T18:24:45.000Z
protostar/commands/remove/removal_exceptions.py
software-mansion/protostar
e9f701d3b02dde78e5292a4698ca3c6c7d39b485
[ "MIT" ]
105
2022-01-31T15:25:29.000Z
2022-03-31T12:28:13.000Z
protostar/commands/remove/removal_exceptions.py
software-mansion/protostar
e9f701d3b02dde78e5292a4698ca3c6c7d39b485
[ "MIT" ]
1
2022-03-28T16:18:28.000Z
2022-03-28T16:18:28.000Z
from protostar.protostar_exception import ProtostarException class InvalidLocalRepository(ProtostarException): pass class PackageNotFound(ProtostarException): pass
17.6
60
0.835227
14
176
10.428571
0.642857
0.30137
0
0
0
0
0
0
0
0
0
0
0.125
176
9
61
19.555556
0.948052
0
0
0.4
0
0
0
0
0
0
0
0
0
1
0
true
0.4
0.2
0
0.6
0
1
0
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
7
cf676f62fbfcc60ea415779f429317d7116c043d
17,824
py
Python
particle_packing/tests/test_Ellipse_.py
aluchies/particle_packing
127603a519ae25979de6c6197810a7ea38ec945b
[ "BSD-3-Clause" ]
null
null
null
particle_packing/tests/test_Ellipse_.py
aluchies/particle_packing
127603a519ae25979de6c6197810a7ea38ec945b
[ "BSD-3-Clause" ]
null
null
null
particle_packing/tests/test_Ellipse_.py
aluchies/particle_packing
127603a519ae25979de6c6197810a7ea38ec945b
[ "BSD-3-Clause" ]
null
null
null
import unittest import numpy as np from particle_packing.ellipse import Ellipse, \ overlap_potential, overlap_potential_py, \ square_container_potential_py, square_container_potential class TestCode(unittest.TestCase): def test1_constuctor(self): """ Test simple constructor example ...
18.644351
71
0.506676
2,359
17,824
3.676982
0.05426
0.057298
0.086696
0.130044
0.835255
0.798132
0.782684
0.765621
0.752479
0.744524
0
0.046594
0.350987
17,824
956
72
18.644351
0.703233
0.017897
0
0.734043
0
0
0.002694
0
0
0
0
0
0.172872
0
null
null
0
0.007979
null
null
0.00266
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
d85addbed4e05a4e02cfa2dc4aae138a1d63873f
102
py
Python
spreadsheetconverter/scripts/__init__.py
gumi/spreadsheetconverter
15f0a7cbc9a57a44cb60b2cdde0f657e1733d5a8
[ "MIT" ]
4
2016-05-30T07:05:27.000Z
2018-11-05T02:12:06.000Z
spreadsheetconverter/scripts/__init__.py
gumi/spreadsheetconverter
15f0a7cbc9a57a44cb60b2cdde0f657e1733d5a8
[ "MIT" ]
2
2016-05-13T08:53:00.000Z
2018-10-03T05:53:25.000Z
spreadsheetconverter/scripts/__init__.py
gumi/spreadsheetconverter
15f0a7cbc9a57a44cb60b2cdde0f657e1733d5a8
[ "MIT" ]
3
2016-05-30T07:05:38.000Z
2021-02-04T08:40:24.000Z
# -*- coding:utf-8 -*- from __future__ import absolute_import from __future__ import unicode_literals
25.5
39
0.794118
13
102
5.461538
0.692308
0.28169
0.450704
0
0
0
0
0
0
0
0
0.011111
0.117647
102
3
40
34
0.777778
0.196078
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
d8774c858f23bb72263b550e69dd922380441919
122
py
Python
src/sage/symbolic/constant.py
UCD4IDS/sage
43474c96d533fd396fe29fe0782d44dc7f5164f7
[ "BSL-1.0" ]
1,742
2015-01-04T07:06:13.000Z
2022-03-30T11:32:52.000Z
src/sage/symbolic/constant.py
UCD4IDS/sage
43474c96d533fd396fe29fe0782d44dc7f5164f7
[ "BSL-1.0" ]
66
2015-03-19T19:17:24.000Z
2022-03-16T11:59:30.000Z
src/sage/symbolic/constant.py
UCD4IDS/sage
43474c96d533fd396fe29fe0782d44dc7f5164f7
[ "BSL-1.0" ]
495
2015-01-10T10:23:18.000Z
2022-03-24T22:06:11.000Z
from sage.misc.lazy_import import lazy_import lazy_import('sage.symbolic.expression', 'PynacConstant', deprecation=32386)
40.666667
75
0.836066
16
122
6.1875
0.625
0.30303
0.323232
0
0
0
0
0
0
0
0
0.043478
0.057377
122
2
76
61
0.817391
0
0
0
0
0
0.303279
0.196721
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
d8fc2a47ff67867fbf24de3c6a0989cf0e7d1504
106
py
Python
app/order_api/__init__.py
peterboldizs/Hands-on-Microservices-with-Python-Order-Service
a5dede8a2c04ed9b748a65f33d183b96499e9c94
[ "MIT" ]
14
2019-02-13T00:08:33.000Z
2021-10-04T06:37:04.000Z
app/order_api/__init__.py
peterboldizs/Hands-on-Microservices-with-Python-Order-Service
a5dede8a2c04ed9b748a65f33d183b96499e9c94
[ "MIT" ]
1
2020-05-14T12:34:50.000Z
2020-10-25T17:45:51.000Z
app/order_api/__init__.py
peterboldizs/Hands-on-Microservices-with-Python-Order-Service
a5dede8a2c04ed9b748a65f33d183b96499e9c94
[ "MIT" ]
21
2019-01-26T09:53:47.000Z
2021-11-09T23:26:14.000Z
from flask import Blueprint order_api_blueprint = Blueprint('order_api', __name__) from . import routes
17.666667
54
0.801887
14
106
5.571429
0.571429
0.358974
0.435897
0
0
0
0
0
0
0
0
0
0.132075
106
6
55
17.666667
0.847826
0
0
0
0
0
0.084112
0
0
0
0
0
0
1
0
false
0
0.666667
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
0
0
0
1
0
1
1
0
7
2b3deda9eaa510861e8cdebfaf0ab7b972bcefa0
14,983
py
Python
statarb/src/python/bin/db_check.py
mikimaus78/ml_monorepo
b2c2627ff0e86e27f6829170d0dac168d8e5783b
[ "BSD-3-Clause" ]
51
2019-02-01T19:43:37.000Z
2022-03-16T09:07:03.000Z
statarb/src/python/bin/db_check.py
mikimaus78/ml_monorepo
b2c2627ff0e86e27f6829170d0dac168d8e5783b
[ "BSD-3-Clause" ]
2
2019-02-23T18:54:22.000Z
2019-11-09T01:30:32.000Z
statarb/src/python/bin/db_check.py
mikimaus78/ml_monorepo
b2c2627ff0e86e27f6829170d0dac168d8e5783b
[ "BSD-3-Clause" ]
35
2019-02-08T02:00:31.000Z
2022-03-01T23:17:00.000Z
#!/usr/bin/env python import util import newdb from collections import Counter from collections import deque #Check if two rows have equal values in the keys attributes def __compare(row1,row2,keys): equal=True for key in keys: if row1[key]!=row2[key]: equal=False break ret...
36.903941
270
0.596543
1,818
14,983
4.858086
0.10231
0.026042
0.011549
0.038043
0.865716
0.845562
0.832994
0.830503
0.808764
0.808764
0
0.009705
0.229727
14,983
406
271
36.903941
0.755567
0.127011
0
0.795848
0
0.00346
0.201832
0.0119
0
0
0
0
0
1
0.044983
false
0
0.013841
0
0.110727
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
99380c017e625f35bdee30012424c12da74e34c2
562
py
Python
03/03/islower.py
pylangstudy/201708
126b1af96a1d1f57522d5a1d435b58597bea2e57
[ "CC0-1.0" ]
null
null
null
03/03/islower.py
pylangstudy/201708
126b1af96a1d1f57522d5a1d435b58597bea2e57
[ "CC0-1.0" ]
39
2017-07-31T22:54:01.000Z
2017-08-31T00:19:03.000Z
03/03/islower.py
pylangstudy/201708
126b1af96a1d1f57522d5a1d435b58597bea2e57
[ "CC0-1.0" ]
null
null
null
s = b'abc'; print(s.islower(), s) s = b'Abc'; print(s.islower(), s) s = b'ABC'; print(s.islower(), s) s = b'123'; print(s.islower(), s) s = b'(_)'; print(s.islower(), s) s = b'(abc)'; print(s.islower(), s) s = b'(aBc)'; print(s.islower(), s) s = bytearray(b'abc'); print(s.islower(), s) s = bytearray(b'Abc'); print(s.i...
35.125
46
0.578292
103
562
3.135922
0.067961
0.260062
0.563467
0.606811
1
1
0.996904
0.854489
0.854489
0.854489
0
0.01222
0.126335
562
15
47
37.466667
0.645621
0
0
0
0
0
0.088968
0
0
0
0
0
0
1
0
false
0
0
0
0
1
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
10
995f2990d29348610be1e082126660e99e500133
1,335
py
Python
tests/database/test_key_value.py
UMDLARS/CYLGame
880dc63ccfa2f5a1ede097b92e7479686fc41b29
[ "MIT" ]
2
2020-02-24T17:58:33.000Z
2020-10-30T20:26:57.000Z
tests/database/test_key_value.py
UMDLARS/CYLGame
880dc63ccfa2f5a1ede097b92e7479686fc41b29
[ "MIT" ]
56
2018-01-26T19:45:02.000Z
2021-12-07T03:56:48.000Z
tests/database/test_key_value.py
UMDLARS/CYLGame
880dc63ccfa2f5a1ede097b92e7479686fc41b29
[ "MIT" ]
3
2019-10-31T14:57:49.000Z
2020-10-22T01:14:04.000Z
import pytest from CYLGame.Database import GameDB from . import ex_db, temp_dir def test_simple_str(ex_db: GameDB): tok = ex_db.__players[0] ex_db.save_value(tok, "test_key", "test_value") assert ex_db.get_value(tok, "test_key") == "test_value" def test_simple_2(ex_db: GameDB): tok = ex_db.__playe...
29.021739
79
0.689888
234
1,335
3.538462
0.128205
0.140097
0.231884
0.289855
0.794686
0.78744
0.77657
0.77657
0.742754
0.742754
0
0.024129
0.161798
1,335
45
80
29.666667
0.715818
0.035206
0
0.533333
0
0
0.159409
0
0
0
0
0
0.266667
1
0.2
false
0
0.1
0
0.3
0
0
0
0
null
0
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
99774baa4c09fd082a5365eac1457ab459f3de73
16,226
py
Python
api/tests/integration/test_record.py
azzamsa/RESTKnot
a776699e678b8a5547b146bc3c636c3cad7e89c0
[ "MIT" ]
18
2018-09-19T05:51:11.000Z
2022-01-21T05:18:36.000Z
api/tests/integration/test_record.py
azzamsa/RESTKnot
a776699e678b8a5547b146bc3c636c3cad7e89c0
[ "MIT" ]
32
2018-10-26T06:03:41.000Z
2021-10-08T03:13:52.000Z
api/tests/integration/test_record.py
azzamsa/RESTKnot
a776699e678b8a5547b146bc3c636c3cad7e89c0
[ "MIT" ]
9
2018-09-19T05:51:14.000Z
2022-01-10T07:57:51.000Z
import datetime import app.helpers.helpers from app.controllers.api import record as record_api from app.helpers import helpers class TestRecord: def get_record(self, records, type_): for record in records: if record["type"] == type_: return record def test_list_no_Record...
35.818985
85
0.570442
1,982
16,226
4.497982
0.079717
0.066181
0.033651
0.066629
0.858553
0.834661
0.828716
0.811441
0.803702
0.784745
0
0.016262
0.291323
16,226
452
86
35.89823
0.759023
0.130285
0
0.718213
0
0
0.211747
0.053394
0
0
0
0
0.123711
1
0.037801
false
0
0.013746
0
0.061856
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
9989805dfd30f3540a38e2c6795e0635e04e6c79
6,640
py
Python
src/genie/libs/parser/dell/os10/tests/ShowIPInterfaceBrief/equal/golden_output_expected.py
DataKnox/genieparser
267a5d6be86816e0728ca55fb4fc653cd6954799
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/dell/os10/tests/ShowIPInterfaceBrief/equal/golden_output_expected.py
DataKnox/genieparser
267a5d6be86816e0728ca55fb4fc653cd6954799
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/dell/os10/tests/ShowIPInterfaceBrief/equal/golden_output_expected.py
DataKnox/genieparser
267a5d6be86816e0728ca55fb4fc653cd6954799
[ "Apache-2.0" ]
2
2021-10-18T20:13:11.000Z
2022-02-07T06:05:28.000Z
expected_output = { 'ints': { 'Ethernet 1/1/1': { 'ip_address': 'unassigned', 'ok': True, 'method': 'unset', 'status': 'up', 'protocol': 'up' }, 'Ethernet 1/1/2': { 'ip_address': 'unassigned', 'ok': True, ...
27.438017
43
0.356476
515
6,640
4.528155
0.099029
0.030017
0.233276
0.29717
0.939966
0.933962
0.933962
0.933962
0.933962
0.933962
0
0.037297
0.462952
6,640
242
44
27.438017
0.616657
0
0
0.694215
0
0
0.345129
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
515cd4a8a58ec1116897bfd19eee72f4e6a75756
273
py
Python
IPython/lib/tests/test_imports.py
pyarnold/ipython
c4797f7f069d0a974ddfa1e4251c7550c809dba0
[ "BSD-3-Clause-Clear" ]
1
2020-12-18T01:07:55.000Z
2020-12-18T01:07:55.000Z
IPython/lib/tests/test_imports.py
pyarnold/ipython
c4797f7f069d0a974ddfa1e4251c7550c809dba0
[ "BSD-3-Clause-Clear" ]
null
null
null
IPython/lib/tests/test_imports.py
pyarnold/ipython
c4797f7f069d0a974ddfa1e4251c7550c809dba0
[ "BSD-3-Clause-Clear" ]
null
null
null
# encoding: utf-8 from IPython.testing import decorators as dec def test_import_backgroundjobs(): from IPython.lib import backgroundjobs def test_import_deepreload(): from IPython.lib import deepreload def test_import_demo(): from IPython.lib import demo
18.2
45
0.776557
37
273
5.567568
0.432432
0.213592
0.18932
0.291262
0
0
0
0
0
0
0
0.004386
0.164835
273
14
46
19.5
0.899123
0.054945
0
0
0
0
0
0
0
0
0
0
0
1
0.428571
true
0
1
0
1.428571
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
5adca03a919465d3d26242bf460bc505071d1ffa
152
py
Python
Data.py
Elia1996/GestionaleVendite
b6dd21ef4919880095d93d4056ab1715afe1db7e
[ "MIT" ]
null
null
null
Data.py
Elia1996/GestionaleVendite
b6dd21ef4919880095d93d4056ab1715afe1db7e
[ "MIT" ]
null
null
null
Data.py
Elia1996/GestionaleVendite
b6dd21ef4919880095d93d4056ab1715afe1db7e
[ "MIT" ]
null
null
null
import datetime def Hour(): return datetime.datetime.now().strftime("%H:%M") def Data(): return datetime.datetime.now().strftime("%d/%m/%Y")
16.888889
55
0.651316
21
152
4.714286
0.571429
0.282828
0.444444
0.505051
0.666667
0
0
0
0
0
0
0
0.138158
152
8
56
19
0.755725
0
0
0
0
0
0.086093
0
0
0
0
0
0
1
0.4
true
0
0.2
0.4
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
1
0
0
1
1
0
0
9
518745a0eebc395ab761ced26477df17f991b6bb
108
py
Python
tests/models_example.py
BigFishMaster/tnt
8b80bb3b194eb87ac18924428ef0924c2fb263c5
[ "BSD-3-Clause" ]
3
2020-12-18T08:50:47.000Z
2020-12-18T08:50:55.000Z
tests/models_example.py
BigFishMaster/tnt
8b80bb3b194eb87ac18924428ef0924c2fb263c5
[ "BSD-3-Clause" ]
5
2021-03-19T11:49:52.000Z
2022-03-12T00:21:18.000Z
tests/models_example.py
BigFishMaster/tnt
8b80bb3b194eb87ac18924428ef0924c2fb263c5
[ "BSD-3-Clause" ]
1
2021-04-20T04:36:40.000Z
2021-04-20T04:36:40.000Z
class Model: def __init__(self): pass class Optimizer: def __init__(self): pass
9.818182
23
0.574074
12
108
4.5
0.583333
0.259259
0.407407
0.555556
0
0
0
0
0
0
0
0
0.351852
108
10
24
10.8
0.771429
0
0
0.666667
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.333333
0
0
0.666667
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
1
0
0
1
0
0
7
cfc528487c2f09d697eca1b0a7a489d118353bf2
6,825
py
Python
TEST_DATA.py
GundlackFelixDEV/pdf-template-service
ccd5133b00fed88ca60063fa4e22401c78bb18cb
[ "MIT" ]
null
null
null
TEST_DATA.py
GundlackFelixDEV/pdf-template-service
ccd5133b00fed88ca60063fa4e22401c78bb18cb
[ "MIT" ]
null
null
null
TEST_DATA.py
GundlackFelixDEV/pdf-template-service
ccd5133b00fed88ca60063fa4e22401c78bb18cb
[ "MIT" ]
null
null
null
PROFILE = { "reciepientsFullName": "Max Mustermann", "lastName": "Mustermann", "title": "Mr.", "reciepientsAddress": "Musterstraße 11", "zipCode": "123456", "city": "Musterhausen", "IBAN": "DE07123412341234123412" } NF_FORM = { "proc_agency": "USAG Grafenwoehr,<br>HQUSAG Grafenwoer,<...
31.164384
117
0.490256
551
6,825
5.896552
0.183303
0.040628
0.073869
0.099723
0.855032
0.855032
0.842105
0.842105
0.842105
0.842105
0
0.118923
0.358095
6,825
219
118
31.164384
0.622689
0
0
0.792627
0
0.004608
0.474949
0.052886
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
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
5c82769580fa5eccfe633c9cd1359fb4a9c2e2da
10,140
py
Python
blockbuster_clone/store/migrations/0001_initial.py
alexche77/blockbuster-api-clone
3597b6c6eb1e14b45bca233efabe2bc200a280f1
[ "MIT" ]
null
null
null
blockbuster_clone/store/migrations/0001_initial.py
alexche77/blockbuster-api-clone
3597b6c6eb1e14b45bca233efabe2bc200a280f1
[ "MIT" ]
null
null
null
blockbuster_clone/store/migrations/0001_initial.py
alexche77/blockbuster-api-clone
3597b6c6eb1e14b45bca233efabe2bc200a280f1
[ "MIT" ]
null
null
null
# Generated by Django 3.1.8 on 2021-04-13 07:02 from decimal import Decimal import django.db.models.deletion from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
33.913043
86
0.327219
592
10,140
5.45777
0.150338
0.034664
0.056329
0.088517
0.873104
0.8632
0.8632
0.8632
0.8632
0.8632
0
0.018165
0.576529
10,140
298
87
34.026846
0.73428
0.004438
0
0.8
1
0
0.078867
0
0
0
0
0
0
1
0
false
0
0.013793
0
0.027586
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
5c9782d0e481208d23529b85afe2d323b520a7a1
47
py
Python
TestA.py
RajeshMIT/JobScraping
302b95e1f29400a3970c354dd13d9d71a757e2e6
[ "MIT" ]
null
null
null
TestA.py
RajeshMIT/JobScraping
302b95e1f29400a3970c354dd13d9d71a757e2e6
[ "MIT" ]
null
null
null
TestA.py
RajeshMIT/JobScraping
302b95e1f29400a3970c354dd13d9d71a757e2e6
[ "MIT" ]
null
null
null
a = [1,2,3 2,4,5] print(a) b = a[-1:]
9.4
12
0.340426
12
47
1.333333
0.666667
0.25
0
0
0
0
0
0
0
0
0
0.233333
0.361702
47
5
13
9.4
0.3
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
1
1
1
null
1
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
5cbb8641b95d18e1e3d495561a107d4a206ce1c0
3,444
py
Python
tests/test_QGrid___eq__.py
nivlekp/abjad-ext-nauert
de39600b84eec8b326441f54bf388802d1584c8e
[ "MIT" ]
2
2020-12-06T20:54:13.000Z
2021-04-15T16:02:28.000Z
tests/test_QGrid___eq__.py
nivlekp/abjad-ext-nauert
de39600b84eec8b326441f54bf388802d1584c8e
[ "MIT" ]
34
2018-06-16T17:40:35.000Z
2022-03-20T14:43:23.000Z
tests/test_QGrid___eq__.py
nivlekp/abjad-ext-nauert
de39600b84eec8b326441f54bf388802d1584c8e
[ "MIT" ]
1
2020-10-16T13:07:54.000Z
2020-10-16T13:07:54.000Z
import abjadext.nauert def test_QGrid___eq___01(): a = abjadext.nauert.QGrid() b = abjadext.nauert.QGrid() assert format(a) == format(b) assert a != b def test_QGrid___eq___02(): a = abjadext.nauert.QGrid( root_node=abjadext.nauert.QGridContainer( preprolated_duration=1, ...
29.947826
85
0.463705
272
3,444
5.661765
0.136029
0.336364
0.155844
0.176623
0.932468
0.932468
0.932468
0.932468
0.893506
0.893506
0
0.030655
0.450639
3,444
114
86
30.210526
0.783298
0
0
0.71028
0
0
0
0
0
0
0
0
0.093458
1
0.028037
false
0
0.009346
0
0.037383
0
0
0
0
null
1
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
9
7a927e322c5b074520434339070daf7e2d615386
28,633
py
Python
BivariateShapley/shapley_value_functions.py
anonymous29387491/iclr2022
60c5727f8519e64610b632d074510587fb7ff692
[ "MIT" ]
2
2022-03-15T05:28:48.000Z
2022-03-17T16:23:45.000Z
BivariateShapley/shapley_value_functions.py
anonymous29387491/iclr2022
60c5727f8519e64610b632d074510587fb7ff692
[ "MIT" ]
null
null
null
BivariateShapley/shapley_value_functions.py
anonymous29387491/iclr2022
60c5727f8519e64610b632d074510587fb7ff692
[ "MIT" ]
null
null
null
import torch import torch.nn.functional as F from utils_shapley import * class eval_Syn0(): def __init__(self,c=5, **kwargs): self.c = c self.j = None self.i = None def init_baseline(self,x=np.ones((1,3)), c = 5,j = None, i = None, fixed_present = True, baseline_value =...
36.99354
142
0.497189
3,465
28,633
3.987013
0.066955
0.023525
0.031053
0.012305
0.869779
0.857039
0.835179
0.82063
0.806732
0.798118
0
0.020478
0.358747
28,633
773
143
37.041397
0.731932
0.187127
0
0.805226
0
0
0.018306
0
0
0
0
0
0
1
0.092637
false
0.004751
0.016627
0
0.194774
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
7aa3bc06ce88a6510c42ac13c32774a8c30eb09b
41,395
py
Python
python/getdist/gui/Resources_pyside.py
sjoudaki/CosmoJBD
3c1d029b74034b92cb2974de15e4c18637a5277e
[ "MIT" ]
1
2020-06-04T15:29:37.000Z
2020-06-04T15:29:37.000Z
python/getdist/gui/Resources_pyside.py
sjoudaki/CosmoJBD
3c1d029b74034b92cb2974de15e4c18637a5277e
[ "MIT" ]
null
null
null
python/getdist/gui/Resources_pyside.py
sjoudaki/CosmoJBD
3c1d029b74034b92cb2974de15e4c18637a5277e
[ "MIT" ]
null
null
null
# Resource object code # # Created: sam. mars 28 17:53:16 2015 # by: The Resource Compiler for PySide (Qt v4.8.6) # # WARNING! All changes made in this file will be lost! from PySide import QtCore qt_resource_data = b"\x00\x00\x06\xe0\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00 \x00\x00\x00 \x08\x06\x...
2,069.75
39,249
0.744559
9,373
41,395
3.2807
0.213486
0.056195
0.041561
0.022634
0.10335
0.098504
0.092911
0.089951
0.076846
0.068618
0
0.261959
0.004131
41,395
19
39,250
2,178.684211
0.483966
0.003938
0
0
0
0.333333
0.991195
0.985931
0
0
0.000194
0
0
1
0.222222
false
0
0.111111
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
1
1
1
null
0
0
0
0
0
1
0
0
0
0
0
0
0
8
8f8682388b990eefc83c6cd9ade9d11a4829e808
129
py
Python
visualize/example/__init__.py
rentainhe/visualization
d9a8aac82ac6049b3fd59754c6ccf3bd60206218
[ "MIT" ]
169
2021-03-14T13:35:07.000Z
2022-03-29T12:21:18.000Z
visualize/example/__init__.py
liwanzhao/visualization
0cd047a02957019f9b551f016db21b5117e1cfcd
[ "MIT" ]
6
2021-09-29T08:15:53.000Z
2022-03-13T10:08:29.000Z
visualize/example/__init__.py
liwanzhao/visualization
0cd047a02957019f9b551f016db21b5117e1cfcd
[ "MIT" ]
31
2021-03-14T13:35:11.000Z
2022-03-25T11:10:45.000Z
from .grid_attention_example import run_grid_attention_example from .region_attention_example import run_region_attention_example
64.5
66
0.930233
18
129
6.111111
0.388889
0.581818
0.363636
0.454545
0
0
0
0
0
0
0
0
0.054264
129
2
66
64.5
0.901639
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
8fb0c8f3215a2104752be7237a18dcc7867edf63
119
py
Python
1.py
orangeshushu/lable-tool
654ac3a3c033b1047fd05c38eaa4bc3176b430d2
[ "MIT" ]
null
null
null
1.py
orangeshushu/lable-tool
654ac3a3c033b1047fd05c38eaa4bc3176b430d2
[ "MIT" ]
null
null
null
1.py
orangeshushu/lable-tool
654ac3a3c033b1047fd05c38eaa4bc3176b430d2
[ "MIT" ]
null
null
null
print("330 - (177.98 + 17.59 + 3.68 + 51.91/2 - 55 - 4.5) =" + str(330 - (177.98 + 17.59 + 3.68 + 51.91/2 - 55 - 4.5)))
119
119
0.470588
28
119
2
0.535714
0.214286
0.285714
0.357143
0.857143
0.857143
0.857143
0.857143
0.857143
0.857143
0
0.521739
0.226891
119
1
119
119
0.086957
0
0
0
0
1
0.433333
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
1
1
1
1
1
1
1
1
1
0
1
0
0
1
0
1
1
0
0
0
0
1
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
17
8fb67d2c6f556dcd39ca4620235f0e4b3e555619
10,948
py
Python
game.py
ChristianBRPy/RollingDiceGame
a086e5a88350331b10d09fc8c1db6c89cdd8f5c9
[ "Apache-2.0" ]
null
null
null
game.py
ChristianBRPy/RollingDiceGame
a086e5a88350331b10d09fc8c1db6c89cdd8f5c9
[ "Apache-2.0" ]
null
null
null
game.py
ChristianBRPy/RollingDiceGame
a086e5a88350331b10d09fc8c1db6c89cdd8f5c9
[ "Apache-2.0" ]
null
null
null
import os, sys, random, csv, getpass, platform gamename = "Rolling Dice Game" os.system('cls' if os.name == 'nt' else 'clear') if platform.system() == "Linux": os.system("PROMPT_COMMAND='echo -ne \"\033]0;"+gamename+"\007\"'") else: os.system('title '+gamename if os.name == 'nt' else 'title="'+gamename+'" && ...
32.390533
113
0.44145
1,433
10,948
3.366364
0.07746
0.037313
0.087065
0.074627
0.889925
0.884121
0.884121
0.884121
0.879975
0.879975
0
0.05751
0.374224
10,948
337
114
32.486647
0.646621
0
0
0.886154
0
0
0.194282
0
0.024615
0
0
0
0
1
0.003077
false
0.04
0.006154
0
0.027692
0.187692
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
8fca70e22f94237a43a7bec530cb4b3a9e50d977
16,859
py
Python
sdk/python/pulumi_azure/apimanagement/product_api.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/apimanagement/product_api.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/apimanagement/product_api.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...
47.759207
229
0.675485
2,106
16,859
5.162868
0.080247
0.100432
0.06953
0.059229
0.855974
0.835832
0.823416
0.805665
0.780465
0.767038
0
0.005537
0.239457
16,859
352
230
47.894886
0.842458
0.42897
0
0.564972
1
0
0.121878
0.009598
0
0
0
0
0
1
0.152542
false
0.00565
0.028249
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
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
64fb59363fd93dd8d79973051858a98b2c36b7d9
186
py
Python
flaskcli_pkg/templates/restfull/__init__.py
guxal/Flask-CLI
a1408e271dda51c05fe0ae02bc3e269b0ef019c3
[ "MIT" ]
1
2020-08-24T20:06:14.000Z
2020-08-24T20:06:14.000Z
flaskcli_pkg/templates/restfull/__init__.py
guxal/Flask-CLI
a1408e271dda51c05fe0ae02bc3e269b0ef019c3
[ "MIT" ]
4
2020-03-06T19:11:53.000Z
2020-03-28T19:22:42.000Z
flaskcli_pkg/templates/restfull/__init__.py
guxal/Flask-CLI
a1408e271dda51c05fe0ae02bc3e269b0ef019c3
[ "MIT" ]
2
2020-03-26T18:49:04.000Z
2020-08-25T17:55:11.000Z
from flask import Blueprint app_views = Blueprint('app_views', __name__, url_prefix='/api/v1') from api.v1.views.index import * # noqa ''' from api.v1.views.<file> import * # noqa '''
37.2
66
0.704301
28
186
4.428571
0.5
0.120968
0.274194
0.225806
0
0
0
0
0
0
0
0.018634
0.134409
186
4
67
46.5
0.751553
0.021505
0
0
0
0
0.122137
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0.666667
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
1
0
7
8f43dbe7723d636ba742a7cadd179d52baf09618
256
py
Python
SBaaS_rnasequencing/stage01_rnasequencing_softwareParameters_execute.py
dmccloskey/SBaaS_rnasequencing
521ad0b671b0bca02e9cebfc1b372f2265955418
[ "MIT" ]
null
null
null
SBaaS_rnasequencing/stage01_rnasequencing_softwareParameters_execute.py
dmccloskey/SBaaS_rnasequencing
521ad0b671b0bca02e9cebfc1b372f2265955418
[ "MIT" ]
null
null
null
SBaaS_rnasequencing/stage01_rnasequencing_softwareParameters_execute.py
dmccloskey/SBaaS_rnasequencing
521ad0b671b0bca02e9cebfc1b372f2265955418
[ "MIT" ]
null
null
null
from .stage01_rnasequencing_softwareParameters_io import stage01_rnasequencing_softwareParameters_io class stage01_rnasequencing_softwareParameters_execute(stage01_rnasequencing_softwareParameters_io, ): pass;
42.666667
100
0.765625
20
256
9.2
0.45
0.434783
0.826087
0.652174
0
0
0
0
0
0
0
0.039604
0.210938
256
6
101
42.666667
0.871287
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.25
0.25
0
0.5
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
7
8f6ed425538892edaa66f47cc3a79d0c10f0877d
6,821
py
Python
loldib/getratings/models/NA/na_pantheon/na_pantheon_bot.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_pantheon/na_pantheon_bot.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_pantheon/na_pantheon_bot.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
from getratings.models.ratings import Ratings class NA_Pantheon_Bot_Aatrox(Ratings): pass class NA_Pantheon_Bot_Ahri(Ratings): pass class NA_Pantheon_Bot_Akali(Ratings): pass class NA_Pantheon_Bot_Alistar(Ratings): pass class NA_Pantheon_Bot_Amumu(Ratings): pass class NA_Pantheon_Bot_Anivia(...
16.357314
46
0.776133
972
6,821
5.020576
0.151235
0.197951
0.42418
0.509016
0.814139
0.814139
0
0
0
0
0
0
0.162879
6,821
416
47
16.396635
0.854641
0
0
0.498195
0
0
0
0
0
0
0
0
0
1
0
true
0.498195
0.00361
0
0.501805
0
0
0
0
null
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
7
8f7a753bbb8c7d230421f16a2061f1d3d9d0a028
143
py
Python
extension/__init__.py
Gilgamesh666666/Dgr-ncnet
3ad2d0fdb35ba0d23e5040d74347c600b1a8b72b
[ "MIT" ]
null
null
null
extension/__init__.py
Gilgamesh666666/Dgr-ncnet
3ad2d0fdb35ba0d23e5040d74347c600b1a8b72b
[ "MIT" ]
null
null
null
extension/__init__.py
Gilgamesh666666/Dgr-ncnet
3ad2d0fdb35ba0d23e5040d74347c600b1a8b72b
[ "MIT" ]
null
null
null
from extension.knn import knnModule from extension.sms import soft_mutual_score_Module from extension.sms_On import soft_mutual_score_Module_On
47.666667
56
0.902098
23
143
5.26087
0.478261
0.322314
0.264463
0.347107
0.446281
0
0
0
0
0
0
0
0.076923
143
3
56
47.666667
0.916667
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
56df3e6c377a3b7cddeff188f85e495e6e7a3047
52,525
py
Python
OpenGLCffi/FFI/_gles2ffi.py
cydenix/OpenGLCffi
c78f51ae5e6b655eb2ea98f072771cf69e2197f3
[ "MIT" ]
null
null
null
OpenGLCffi/FFI/_gles2ffi.py
cydenix/OpenGLCffi
c78f51ae5e6b655eb2ea98f072771cf69e2197f3
[ "MIT" ]
null
null
null
OpenGLCffi/FFI/_gles2ffi.py
cydenix/OpenGLCffi
c78f51ae5e6b655eb2ea98f072771cf69e2197f3
[ "MIT" ]
null
null
null
# auto-generated file import _cffi_backend ffi = _cffi_backend.FFI('FFI._gles2ffi', _version = 0x2601, _types = b'\x00\x00\x31\x0D\x00\x00\x08\x01\x00\x00\x07\x01\x00\x00\x07\x01\x00\x00\x00\x0F\x00\x00\x02\x0D\x00\x00\x08\x01\x00\x00\x00\x0F\x00\x00\x02\x0D\x00\x00\x08\x01\x00\x06\x1A\x03\x00\x00\x00\x0F\x00\...
4,775
25,355
0.780086
10,228
52,525
4.000978
0.083692
0.256586
0.188481
0.116417
0.586457
0.461903
0.456576
0.455183
0.455036
0.455036
0
0.334451
0.000857
52,525
10
25,356
5,252.5
0.445313
0.000362
0
0
1
0.125
0.924482
0.924234
0
1
0.000114
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
1
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
10
713c6daee549d2235de17eaa0ca36443477d9389
168
py
Python
matsuri_monitor/handlers/__init__.py
vancassa/matsuri-monitor
0ad639303dbc9098098a87743b4bd115e8a855f2
[ "MIT" ]
15
2020-05-14T09:05:41.000Z
2022-01-07T09:46:17.000Z
matsuri_monitor/handlers/__init__.py
uwupp/matsuri-monitor
e54adbda5cbbb99b312f1dd42f2aa4a0b9c358d5
[ "MIT" ]
2
2021-03-31T19:37:06.000Z
2021-12-13T20:36:35.000Z
matsuri_monitor/handlers/__init__.py
uwupp/matsuri-monitor
e54adbda5cbbb99b312f1dd42f2aa4a0b9c358d5
[ "MIT" ]
14
2020-03-30T13:06:27.000Z
2021-10-08T09:31:33.000Z
from matsuri_monitor.handlers.api import APIHandler from matsuri_monitor.handlers.archives import ArchivesHandler from matsuri_monitor.handlers.main import MainHandler
42
61
0.892857
21
168
7
0.52381
0.22449
0.367347
0.530612
0
0
0
0
0
0
0
0
0.071429
168
3
62
56
0.942308
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
85560f8e9667df8da60f39cf544982e14c620c44
69
py
Python
test/integration/samples_in/percent_numerics.py
krajkumard/flynt
ebe437edf5b3d812d43d2e8662eef36cc230dcd9
[ "MIT" ]
null
null
null
test/integration/samples_in/percent_numerics.py
krajkumard/flynt
ebe437edf5b3d812d43d2e8662eef36cc230dcd9
[ "MIT" ]
null
null
null
test/integration/samples_in/percent_numerics.py
krajkumard/flynt
ebe437edf5b3d812d43d2e8662eef36cc230dcd9
[ "MIT" ]
null
null
null
a, b, c, d, e = tuple(range(5)) print('%d %f %e %g %s' % (a,b,c,d,e))
34.5
37
0.449275
19
69
1.631579
0.631579
0.129032
0.193548
0.258065
0.322581
0
0
0
0
0
0
0.017857
0.188406
69
2
37
34.5
0.535714
0
0
0
0
0
0.2
0
0
0
0
0
0
1
0
true
0
0
0
0
0.5
1
0
1
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
7
85b9d73931a1a3a5f2a12915b8b01497ab128c23
521,619
py
Python
sympy/integrals/rubi/rules/inverse_hyperbolic.py
STALKER2010/sympy-bleeding-edge
81233029a9a30866747f6da2c0e9604d1681d474
[ "BSD-3-Clause" ]
2
2018-12-05T02:30:43.000Z
2020-11-14T01:43:15.000Z
sympy/integrals/rubi/rules/inverse_hyperbolic.py
STALKER2010/sympy-bleeding-edge
81233029a9a30866747f6da2c0e9604d1681d474
[ "BSD-3-Clause" ]
1
2017-10-23T06:56:43.000Z
2017-10-23T06:56:43.000Z
sympy/integrals/rubi/rules/inverse_hyperbolic.py
STALKER2010/sympy-bleeding-edge
81233029a9a30866747f6da2c0e9604d1681d474
[ "BSD-3-Clause" ]
1
2020-10-02T15:05:03.000Z
2020-10-02T15:05:03.000Z
from sympy.external import import_module matchpy = import_module("matchpy") from sympy.utilities.decorator import doctest_depends_on if matchpy: from matchpy import Pattern, ReplacementRule, CustomConstraint from sympy.integrals.rubi.utility_function import (Int, Set, With, Module, Scan, MapAnd, FalseQ, ZeroQ,...
185.563501
6,553
0.591269
98,220
521,619
3.107616
0.019558
0.376962
0.307516
0.074305
0.871363
0.868099
0.863401
0.860122
0.854949
0.847702
0
0.043318
0.129117
521,619
2,810
6,554
185.629537
0.628597
0
0
0.03814
0
0
0.006695
0.000059
0
0
0
0
0
1
0.026512
false
0
0.005116
0
0.05814
0
0
0
0
null
1
1
0
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
a4333fa56aa32283420d3b251efd39d130b3d048
170
py
Python
old_code/src_python/nmpccodegen/example_models/__init__.py
kul-forbes/nmpc-codegen
0b96da0840504817472b2bdc62c29c98bdf29c8f
[ "MIT" ]
24
2017-11-13T02:17:10.000Z
2021-03-15T13:47:20.000Z
old_code/src_python/nmpccodegen/example_models/__init__.py
kul-optec/nmpc-codegen
0b96da0840504817472b2bdc62c29c98bdf29c8f
[ "MIT" ]
14
2018-01-13T20:20:47.000Z
2020-05-12T11:21:12.000Z
old_code/src_python/nmpccodegen/example_models/__init__.py
kul-optec/nmpc-codegen
0b96da0840504817472b2bdc62c29c98bdf29c8f
[ "MIT" ]
5
2018-08-14T14:27:41.000Z
2020-12-17T08:13:41.000Z
from .example_model import get_chain_model,get_trailer_model from .trailer_printer import trailer_print,draw_rectangular_obstacle,draw_rectangular_obstacle_around_center
85
109
0.923529
24
170
6
0.583333
0.208333
0.319444
0
0
0
0
0
0
0
0
0
0.047059
170
2
109
85
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.5
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
7
a4440ecfd59d5c586b8a71aa35706350a290fc0b
143
py
Python
toggldash/__init__.py
bigpappathanos-web/Toggl-Dashboard
1c52191efb3bcbcff0cb941640979201d035d9a1
[ "MIT" ]
13
2020-12-30T18:19:58.000Z
2022-03-02T11:58:18.000Z
toggldash/__init__.py
bigpappathanos-web/Toggl-Dashboard
1c52191efb3bcbcff0cb941640979201d035d9a1
[ "MIT" ]
4
2021-02-28T06:28:11.000Z
2021-04-06T18:22:51.000Z
toggldash/__init__.py
bigpappathanos-web/Toggl-Dashboard
1c52191efb3bcbcff0cb941640979201d035d9a1
[ "MIT" ]
1
2021-02-21T04:05:40.000Z
2021-02-21T04:05:40.000Z
from .response import process_response from .response import get_response from .app import run # __all__ = ["process_response", "get_response"]
35.75
48
0.804196
19
143
5.631579
0.421053
0.224299
0.336449
0
0
0
0
0
0
0
0
0
0.111888
143
4
48
35.75
0.84252
0.321678
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
f106143a7db16b5f00e1dab51a69a934bb8ab617
212
py
Python
Lib/Scripts/font/layers/import.py
gferreira/hTools2
a75a671b81a0f4ce5c82b2ad3e2f971ca3e3d98c
[ "BSD-3-Clause" ]
11
2015-01-06T15:43:56.000Z
2019-07-27T00:35:20.000Z
hTools2.roboFontExt/lib/Scripts/current font/layers/import.py
gferreira/hTools2_extension
9e5150082a0a39847c1078aac3dc38d914a44f83
[ "BSD-3-Clause" ]
2
2017-08-08T21:02:17.000Z
2019-12-18T15:55:48.000Z
Lib/Scripts/font/layers/import.py
gferreira/hTools2
a75a671b81a0f4ce5c82b2ad3e2f971ca3e3d98c
[ "BSD-3-Clause" ]
4
2015-01-10T13:58:50.000Z
2019-12-18T15:40:14.000Z
# [h] import ufo into layer import hTools2.dialogs.font.layer_import reload(hTools2.dialogs.font.layer_import) from hTools2.dialogs.font.layer_import import importUFOIntoLayerDialog importUFOIntoLayerDialog()
23.555556
70
0.84434
26
212
6.769231
0.423077
0.25
0.306818
0.392045
0.494318
0
0
0
0
0
0
0.015385
0.080189
212
8
71
26.5
0.887179
0.117925
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
74e482e2705d6fd41d57114ce472fcffb99ab95d
81,410
py
Python
lib/tests/test_transaction.py
TheCharlatan/vialectrum
c54cd9aa08835db985d77ead9d91a00d66afa4b0
[ "MIT" ]
null
null
null
lib/tests/test_transaction.py
TheCharlatan/vialectrum
c54cd9aa08835db985d77ead9d91a00d66afa4b0
[ "MIT" ]
null
null
null
lib/tests/test_transaction.py
TheCharlatan/vialectrum
c54cd9aa08835db985d77ead9d91a00d66afa4b0
[ "MIT" ]
null
null
null
import unittest from lib import transaction from lib.bitcoin import TYPE_ADDRESS from lib.keystore import xpubkey_to_address from lib.util import bh2u unsigned_blob = '01000000012a5c9a94fcde98f5581cd00162c60a13936ceb75389ea65bf38633b424eb4031000000005701ff4c53ff0488b21e03ef2afea18000000089689bff23e1e7fb2f161daa37270...
130.256
3,862
0.90683
2,419
81,410
30.286482
0.200496
0.029688
0.037345
0.042805
0.104377
0.097757
0.088694
0.052496
0.049957
0.046927
0
0.58147
0.059096
81,410
624
3,863
130.464744
0.374979
0.003132
0
0.154661
0
0
0.764569
0.760133
0
1
0
0.001603
0.326271
1
0.258475
false
0
0.010593
0.002119
0.277542
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
1
1
null
1
0
0
0
0
1
0
0
0
0
0
0
0
9
745be9afbf20554842d59bbe7c124be4cf0bfdab
97,830
py
Python
alibabacloud/clients/smartag_20180313.py
wallisyan/alibabacloud-python-sdk-v2
6e024c97cded2403025a7dd8fea8261e41872156
[ "Apache-2.0" ]
21
2018-12-20T07:34:13.000Z
2020-03-05T14:32:08.000Z
alibabacloud/clients/smartag_20180313.py
wallisyan/alibabacloud-python-sdk-v2
6e024c97cded2403025a7dd8fea8261e41872156
[ "Apache-2.0" ]
22
2018-12-21T13:22:33.000Z
2020-06-29T08:37:09.000Z
alibabacloud/clients/smartag_20180313.py
wallisyan/alibabacloud-python-sdk-v2
6e024c97cded2403025a7dd8fea8261e41872156
[ "Apache-2.0" ]
12
2018-12-29T05:45:55.000Z
2022-01-05T09:59:30.000Z
# Copyright 2019 Alibaba Cloud Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
37.525892
100
0.560258
9,006
97,830
5.700644
0.05885
0.052941
0.063109
0.039969
0.870978
0.861258
0.847059
0.827367
0.813907
0.80487
0
0.000299
0.349586
97,830
2,606
101
37.540292
0.806554
0.005878
0
0.846433
0
0
0.149628
0.016804
0
0
0
0
0
1
0.043934
false
0.000806
0.001209
0
0.089077
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
748208d04ccc90e28a70df11bc98d994623d97c1
197
py
Python
Django/views.py
haohoangtran/Django
8396262df750616ee9ea9812497fec29437f93c9
[ "MIT" ]
null
null
null
Django/views.py
haohoangtran/Django
8396262df750616ee9ea9812497fec29437f93c9
[ "MIT" ]
null
null
null
Django/views.py
haohoangtran/Django
8396262df750616ee9ea9812497fec29437f93c9
[ "MIT" ]
null
null
null
from django.http import HttpResponse from django.shortcuts import render def home(request): return render(request,'index.html') def table(request): return render(request,"basic-table.html")
32.833333
45
0.77665
27
197
5.666667
0.555556
0.130719
0.248366
0.339869
0
0
0
0
0
0
0
0
0.116751
197
6
45
32.833333
0.87931
0
0
0
0
0
0.131313
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
0
0
0
7
77703fb45d0a75511022bbf6e166214534c095cb
12,081
py
Python
netbox/dcim/migrations/0002_auto_20190830_1742.py
rinsekloek/netbox
ad52065de2d25e2684383327be01910b2bf76ae8
[ "Apache-2.0" ]
1
2020-06-15T00:09:10.000Z
2020-06-15T00:09:10.000Z
netbox/dcim/migrations/0002_auto_20190830_1742.py
rinsekloek/netbox
ad52065de2d25e2684383327be01910b2bf76ae8
[ "Apache-2.0" ]
1
2019-09-19T15:10:06.000Z
2019-09-19T15:10:06.000Z
netbox/dcim/migrations/0002_auto_20190830_1742.py
rinsekloek/netbox
ad52065de2d25e2684383327be01910b2bf76ae8
[ "Apache-2.0" ]
1
2019-09-20T08:12:17.000Z
2019-09-20T08:12:17.000Z
# Generated by Django 2.2.4 on 2019-08-30 17:42 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import mptt.fields import taggit.managers class Migration(migrations.Migration): initial = True dependencies = [ ('tenancy', '0001_initial'), ...
45.761364
172
0.619485
1,246
12,081
5.861958
0.091493
0.118291
0.15115
0.177437
0.866648
0.860761
0.782037
0.67333
0.644852
0.616922
0
0.006045
0.246917
12,081
263
173
45.935361
0.796769
0.003725
0
0.726563
1
0
0.167359
0.015622
0
0
0
0
0
1
0
false
0
0.019531
0
0.035156
0
0
0
0
null
0
0
1
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
77973ca787dfcde727b1b886ead1679bee0bfb65
8,940
py
Python
satellite-processing/aggregate_cci_aatsr.py
tommibergman/gmdd-tm5-soa
20168c86caeb14aed72af72b14c3b8185700ddd8
[ "MIT" ]
null
null
null
satellite-processing/aggregate_cci_aatsr.py
tommibergman/gmdd-tm5-soa
20168c86caeb14aed72af72b14c3b8185700ddd8
[ "MIT" ]
null
null
null
satellite-processing/aggregate_cci_aatsr.py
tommibergman/gmdd-tm5-soa
20168c86caeb14aed72af72b14c3b8185700ddd8
[ "MIT" ]
null
null
null
import glob import subprocess from settings import rawoutput def aggregate_aatsr(exp,var='od550aer'): input_CCI_SU_location = '/Volumes/Utrecht/CCI/' output_masked_location = '/Volumes/Utrecht/MODIS_masked/' output_aggregated_location = '/Volumes/Utrecht/CCI/aggregated_cci/' #output_aggregated_location = 'CCI/aggre...
93.125
307
0.723937
1,393
8,940
4.426418
0.098349
0.049627
0.136231
0.068115
0.814953
0.797438
0.790626
0.76192
0.739377
0.711158
0
0.04296
0.07047
8,940
95
308
94.105263
0.699037
0.449888
0
0.035714
0
0.071429
0.28551
0.166803
0
0
0
0
0
0
null
null
0
0.053571
null
null
0.214286
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
77b185a0879a7f3ca283e53e9b036125f162f299
125
py
Python
ideal_spot/__init__.py
rosspalmer/IdealSpot
2b8392794f2e866ed5700210284c33893b0d4816
[ "MIT" ]
1
2019-06-22T21:17:34.000Z
2019-06-22T21:17:34.000Z
ideal_spot/__init__.py
rosspalmer/IdealSpot
2b8392794f2e866ed5700210284c33893b0d4816
[ "MIT" ]
null
null
null
ideal_spot/__init__.py
rosspalmer/IdealSpot
2b8392794f2e866ed5700210284c33893b0d4816
[ "MIT" ]
null
null
null
from ideal_spot.evaluate import EvaluateSpots from ideal_spot.spots import Spot from ideal_spot.targets import WeatherTarget
31.25
45
0.88
18
125
5.944444
0.5
0.252336
0.364486
0
0
0
0
0
0
0
0
0
0.096
125
4
46
31.25
0.946903
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
77cd7d1f17186cf12cf6e1afacd6359b0d178f58
268
py
Python
Platforms/Web/Processing/Api/__init__.py
The-CJ/Phaazebot
83a9563d210718071d4e2cdcca3b212c87abaf51
[ "MIT" ]
2
2017-09-14T08:07:55.000Z
2021-05-18T05:05:05.000Z
Platforms/Web/Processing/Api/__init__.py
The-CJ/Phaazebot
83a9563d210718071d4e2cdcca3b212c87abaf51
[ "MIT" ]
111
2018-04-15T14:32:14.000Z
2021-03-28T21:06:29.000Z
Platforms/Web/Processing/Api/__init__.py
The-CJ/Phaazebot
83a9563d210718071d4e2cdcca3b212c87abaf51
[ "MIT" ]
1
2018-04-15T13:24:44.000Z
2018-04-15T13:24:44.000Z
import Platforms.Web.Processing.Api.Account as Account import Platforms.Web.Processing.Api.Admin as Admin import Platforms.Web.Processing.Api.Discord as Discord import Platforms.Web.Processing.Api.Twitch as Twitch import Platforms.Web.Processing.Api.errors as errors
38.285714
54
0.847015
40
268
5.675
0.275
0.330396
0.396476
0.61674
0.682819
0
0
0
0
0
0
0
0.078358
268
6
55
44.666667
0.919028
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
77e50680eb12bd9eed87473be65e4bc691fbaca2
20,366
py
Python
aioes/client/cat.py
DavidCloudfind/aioes
4d68f7ae75cc22c03d9886c2613c6149cd41b6d5
[ "Apache-2.0" ]
90
2015-02-23T07:12:03.000Z
2018-02-23T08:28:25.000Z
aioes/client/cat.py
DavidCloudfind/aioes
4d68f7ae75cc22c03d9886c2613c6149cd41b6d5
[ "Apache-2.0" ]
88
2015-08-18T08:06:58.000Z
2018-02-01T07:31:51.000Z
aioes/client/cat.py
DavidCloudfind/aioes
4d68f7ae75cc22c03d9886c2613c6149cd41b6d5
[ "Apache-2.0" ]
35
2015-09-03T10:06:03.000Z
2017-12-07T22:43:26.000Z
import asyncio from .utils import NamespacedClient from .utils import _make_path default = object() def _decode_text(s): return s class CatClient(NamespacedClient): @asyncio.coroutine def aliases(self, *, name=default, h=default, help=default, local=default, master_timeout=default, v=...
38.426415
104
0.598105
2,437
20,366
4.919163
0.068937
0.03295
0.079079
0.118619
0.864781
0.854104
0.849766
0.846513
0.846513
0.839673
0
0
0.313022
20,366
529
105
38.499055
0.856837
0.372631
0
0.77592
0
0
0.053631
0
0
0
0
0
0
1
0.053512
false
0
0.010033
0.003344
0.120401
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
bb198b07594be38ae96c5efe86c634b9ab09bd0d
2,960
py
Python
xskillscore/core/deterministic.py
weiclimate/xskillscore
89a8cf30fef17adaea2d736430455726f59aa3ff
[ "Apache-2.0" ]
1
2018-07-29T17:01:12.000Z
2018-07-29T17:01:12.000Z
xskillscore/core/deterministic.py
weiclimate/xskillscore
89a8cf30fef17adaea2d736430455726f59aa3ff
[ "Apache-2.0" ]
null
null
null
xskillscore/core/deterministic.py
weiclimate/xskillscore
89a8cf30fef17adaea2d736430455726f59aa3ff
[ "Apache-2.0" ]
null
null
null
import xarray as xr from.np_deterministic import _pearson_r, _pearson_r_p_value, _rmse __all__ = ['pearson_r', 'rmse'] def pearson_r(a, b, dim): """ Pearson's correlation coefficient. Parameters ---------- a : Dataset, DataArray, GroupBy, Variable, numpy/dask arrays or scalars Mix of ...
30.515464
78
0.624324
389
2,960
4.652956
0.203085
0.079558
0.049724
0.102762
0.855801
0.855801
0.843646
0.824309
0.824309
0.824309
0
0.002344
0.279392
2,960
96
79
30.833333
0.846226
0.681081
0
0.4
0
0
0.036603
0
0
0
0
0
0
1
0.2
false
0
0.133333
0
0.533333
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
7
bb4710283645bda64f43d05dc175b4aaa04fccdc
560,577
py
Python
line/f_CallService.py
winbotscript/LineService
4c79029648e858e567378485e75276f865c1f73f
[ "Apache-2.0" ]
1
2020-08-20T08:00:23.000Z
2020-08-20T08:00:23.000Z
line/f_CallService.py
winbotscript/LineService
4c79029648e858e567378485e75276f865c1f73f
[ "Apache-2.0" ]
null
null
null
line/f_CallService.py
winbotscript/LineService
4c79029648e858e567378485e75276f865c1f73f
[ "Apache-2.0" ]
null
null
null
# # Autogenerated by Frugal Compiler (3.4.3) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # from threading import Lock from frugal.middleware import Method from frugal.exceptions import TApplicationExceptionType from frugal.exceptions import TTransportExceptionType from frugal.processor impo...
35.637444
231
0.586207
52,832
560,577
5.984649
0.009445
0.016424
0.013929
0.020893
0.862509
0.840085
0.814268
0.786572
0.77906
0.762124
0
0.007009
0.319175
560,577
15,729
232
35.63971
0.821438
0.035071
0
0.834493
1
0
0.041889
0.023209
0
0
0
0
0
1
0.13111
false
0.006959
0.00096
0.034557
0.229822
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
bb55f44fdeca3f86beb5aab433c93abe40e987b1
72
py
Python
tests/test_environment.py
frankenstien-831/mantaray
a2d51dce67cf6491ab7f527087835abea514c026
[ "Apache-2.0" ]
17
2018-11-21T09:57:11.000Z
2020-01-08T10:43:53.000Z
tests/test_environment.py
frankenstien-831/mantaray
a2d51dce67cf6491ab7f527087835abea514c026
[ "Apache-2.0" ]
48
2018-11-07T14:31:49.000Z
2019-05-27T07:47:56.000Z
tests/test_environment.py
oceanprotocol/mantaray
9fd05decd5baae9ab849cb48e7ec807b703e97ad
[ "Apache-2.0" ]
5
2019-02-13T20:24:47.000Z
2020-05-29T15:57:18.000Z
import squid_py def test_versions_(): assert squid_py.__version__
12
31
0.777778
10
72
4.8
0.8
0.291667
0
0
0
0
0
0
0
0
0
0
0.166667
72
5
32
14.4
0.8
0
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
2487863ba324b7b7923b1f6034f757b5ac0dc8de
2,106
py
Python
AI 이노베이션 스퀘어 언어지능 과정/20190502/02.py
donddog/AI_Innovation_Square_Codes
a04d50db011d25e00d8486146c24124c50242aa7
[ "MIT" ]
1
2021-02-11T16:45:21.000Z
2021-02-11T16:45:21.000Z
AI 이노베이션 스퀘어 언어지능 과정/20190502/02.py
donddog/AI_Innovation_Square_Codes
a04d50db011d25e00d8486146c24124c50242aa7
[ "MIT" ]
null
null
null
AI 이노베이션 스퀘어 언어지능 과정/20190502/02.py
donddog/AI_Innovation_Square_Codes
a04d50db011d25e00d8486146c24124c50242aa7
[ "MIT" ]
null
null
null
<<<<<<< HEAD import requests from urllib import request, error, parse header = {"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.108 Safari/537.36"} def download(url, params={}, retries=3): resp = None try: resp = requests.get(url, param...
33.967742
142
0.641975
294
2,106
4.537415
0.302721
0.04048
0.050975
0.071964
0.967016
0.967016
0.967016
0.967016
0.967016
0.967016
0
0.065437
0.201804
2,106
61
143
34.52459
0.728138
0.19943
0
0.923077
0
0.051282
0.218377
0
0
0
0
0
0
0
null
null
0
0.102564
null
null
0.205128
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
700d0be53b619efdad4a8ec1aeb9815fae8956d5
2,010
py
Python
models/VGG_models.py
Gus-Lab/temporal_efficient_training
f9bde4107ed653cc8dd3ee58689bf3b55f6b89ba
[ "MIT" ]
5
2022-02-23T08:21:32.000Z
2022-03-22T05:29:13.000Z
models/VGG_models.py
Gus-Lab/temporal_efficient_training
f9bde4107ed653cc8dd3ee58689bf3b55f6b89ba
[ "MIT" ]
1
2022-03-20T13:49:01.000Z
2022-03-23T06:07:55.000Z
models/VGG_models.py
Gus-Lab/temporal_efficient_training
f9bde4107ed653cc8dd3ee58689bf3b55f6b89ba
[ "MIT" ]
2
2022-03-28T07:25:14.000Z
2022-03-30T08:50:47.000Z
import random from models.layers import * class VGGSNN(nn.Module): def __init__(self): super(VGGSNN, self).__init__() pool = SeqToANNContainer(nn.AvgPool2d(2)) #pool = APLayer(2) self.features = nn.Sequential( Layer(2,64,3,1,1), Layer(64,128,3,1,1), ...
27.916667
86
0.512438
279
2,010
3.577061
0.222222
0.024048
0.036072
0.064128
0.833667
0.821643
0.773547
0.773547
0.773547
0.773547
0
0.125375
0.337313
2,010
72
87
27.916667
0.623874
0.056219
0
0.727273
0
0
0.015848
0
0
0
0
0
0
1
0.072727
false
0
0.036364
0
0.181818
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
704ef90a1eda0b853ed398648b6b2a1777d6297f
48
py
Python
download/__init__.py
Vinaypatil-Ev/wantas
3e501d979a8422ba628e3454ec703b27428e0bb1
[ "MIT" ]
null
null
null
download/__init__.py
Vinaypatil-Ev/wantas
3e501d979a8422ba628e3454ec703b27428e0bb1
[ "MIT" ]
null
null
null
download/__init__.py
Vinaypatil-Ev/wantas
3e501d979a8422ba628e3454ec703b27428e0bb1
[ "MIT" ]
null
null
null
from .gdrive import download_from_gdrive_with_id
48
48
0.916667
8
48
5
0.75
0.5
0
0
0
0
0
0
0
0
0
0
0.0625
48
1
48
48
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
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
7058837d948dfec694e445c3c022d55160de284b
8,695
py
Python
Day3/day3.py
Boreeas/advent-of-code
6fad386af05ae3370cf71be174bbc9864d02f94e
[ "Unlicense" ]
null
null
null
Day3/day3.py
Boreeas/advent-of-code
6fad386af05ae3370cf71be174bbc9864d02f94e
[ "Unlicense" ]
null
null
null
Day3/day3.py
Boreeas/advent-of-code
6fad386af05ae3370cf71be174bbc9864d02f94e
[ "Unlicense" ]
null
null
null
INPUT = ">^^v^<>v<<<v<v^>>v^^^<v<>^^><^<<^vv>>>^<<^>><vv<<v^<^^><>>><>v<><>^^<^^^<><>>vv>vv>v<<^>v<>^>v<v^<>v>><>^v<<<<v^vv^><v>v^>>>vv>v^^^<^^<>>v<^^v<>^<vv^^<^><<>^>><^<>>><><vv><>v<<<><><>v><<>^^^^v>>^>^<v<<vv^^<v<^<^>^^v^^^^^v<><^v><<><^v^>v<<>^<>^^v^<>v<v^>v>^^<vv^v><^<>^v<><^><v^><><><<<<>^vv^>^vvvvv><><^<vv^v^v>...
289.833333
8,202
0.27142
1,608
8,695
1.457711
0.017413
0.691126
0.757679
0.735495
0.897184
0.889932
0.87116
0.835751
0.780717
0.72099
0
0.001633
0.014031
8,695
30
8,203
289.833333
0.271784
0
0
0.285714
0
0.035714
0.944917
0.942042
0
0
0
0
0
1
0
false
0
0
0
0
0.035714
0
0
1
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
15
70a749ed573d4ceca735541957ce29f530b4761a
8,719
py
Python
data_process.py
bisno/MER
360612439bf1fd1dafc9f70c74d6f90f47070877
[ "MIT" ]
1
2020-09-08T09:19:41.000Z
2020-09-08T09:19:41.000Z
data_process.py
bisno/MER
360612439bf1fd1dafc9f70c74d6f90f47070877
[ "MIT" ]
null
null
null
data_process.py
bisno/MER
360612439bf1fd1dafc9f70c74d6f90f47070877
[ "MIT" ]
1
2020-09-08T09:19:45.000Z
2020-09-08T09:19:45.000Z
# -*- coding: UTF-8 -*- import glob import numpy as np import pandas as pd from PIL import Image import random # h,w = 60,50 h, w = (60, 50) size = h * w # Receding_Hairline Wearing_Necktie Rosy_Cheeks Eyeglasses Goatee Chubby # Sideburns Blurry Wearing_Hat Double_Chin Pale_Skin Gray_Hair Mustache Bald ...
31.139286
90
0.626563
1,330
8,719
3.748872
0.084211
0.109106
0.042118
0.036502
0.819896
0.818291
0.805656
0.772563
0.744083
0.700963
0
0.026965
0.247161
8,719
279
91
31.250896
0.732633
0.074665
0
0.741463
0
0
0.009072
0.006959
0
0
0
0
0
1
0.034146
false
0
0.02439
0
0.092683
0.004878
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
5669be41a2eca5e043dc7d889e12c60a2e71c408
204
py
Python
desktop/core/ext-py/nose-1.3.7/unit_tests/test_issue_786.py
kokosing/hue
2307f5379a35aae9be871e836432e6f45138b3d9
[ "Apache-2.0" ]
5,079
2015-01-01T03:39:46.000Z
2022-03-31T07:38:22.000Z
desktop/core/ext-py/nose-1.3.7/unit_tests/test_issue_786.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
1,623
2015-01-01T08:06:24.000Z
2022-03-30T19:48:52.000Z
desktop/core/ext-py/nose-1.3.7/unit_tests/test_issue_786.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
2,033
2015-01-04T07:18:02.000Z
2022-03-28T19:55:47.000Z
def test_evens(): yield check_even_cls class Test(object): def test_evens(self): yield check_even_cls class Check(object): def __call__(self): pass check_even_cls = Check()
15.692308
28
0.671569
29
204
4.310345
0.413793
0.216
0.288
0.272
0.352
0
0
0
0
0
0
0
0.240196
204
12
29
17
0.806452
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.111111
0
0
0.555556
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
1
0
0
1
0
0
7
5676a65ea8022f36eb9c443924fcb1b6a1fa8a6d
796,813
py
Python
sdk/python/pulumi_yandex/_inputs.py
pulumi/pulumi-yandex
559a0c82fd2b834bb5f1dc3abbf0dab689b13a3e
[ "ECL-2.0", "Apache-2.0" ]
9
2021-04-20T15:39:41.000Z
2022-02-20T09:14:39.000Z
sdk/python/pulumi_yandex/_inputs.py
pulumi/pulumi-yandex
559a0c82fd2b834bb5f1dc3abbf0dab689b13a3e
[ "ECL-2.0", "Apache-2.0" ]
56
2021-04-20T11:31:03.000Z
2022-03-31T15:53:06.000Z
sdk/python/pulumi_yandex/_inputs.py
pulumi/pulumi-yandex
559a0c82fd2b834bb5f1dc3abbf0dab689b13a3e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
41.576468
406
0.670742
92,555
796,813
5.568927
0.02109
0.094755
0.084157
0.041396
0.869257
0.829143
0.790807
0.740098
0.713539
0.680769
0
0.001588
0.223744
796,813
19,164
407
41.578637
0.831719
0.235975
0
0.678797
1
0.000166
0.15093
0.082965
0
0
0
0
0
1
0.209787
false
0.006979
0.000415
0.019442
0.326687
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
1
0
0
0
0
0
0
0
8
3b2b8ab41b7b1a07863bd2f0ffde7e6e25d66fc2
13,524
py
Python
mass_mer/models.py
georgiawang5332/meatFoodManager
204b5b7aa2a3c5a6c9cc38077a10a72c0c69f140
[ "MIT" ]
null
null
null
mass_mer/models.py
georgiawang5332/meatFoodManager
204b5b7aa2a3c5a6c9cc38077a10a72c0c69f140
[ "MIT" ]
null
null
null
mass_mer/models.py
georgiawang5332/meatFoodManager
204b5b7aa2a3c5a6c9cc38077a10a72c0c69f140
[ "MIT" ]
null
null
null
from django.db import models from django.utils.translation import gettext_lazy as _ from django.urls import reverse # Create your models here. # results = Mass_Mer_Person.objects.all() # results = Mass_Mer_Person.objects.create(user=user, title="some time") class Mass_Mer_PersonManager(models.Manager): def active(se...
64.094787
125
0.54333
1,375
13,524
5.025455
0.114182
0.154124
0.114617
0.150072
0.856151
0.840376
0.810854
0.773227
0.773227
0.773227
0
0.055937
0.321872
13,524
210
126
64.4
0.697525
0.034309
0
0.754286
0
0
0.135628
0.041862
0
0
0
0
0
1
0.022857
false
0
0.017143
0.022857
0.594286
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
1
0
0
8
3b4d786560d431a3efa27cce5c4036b2041428ed
26,861
py
Python
src/algorithms.py
IsakFalk/active_learning_code
c73a2405bd7cc9fd54e60fa31aa5d689041b6baf
[ "MIT" ]
null
null
null
src/algorithms.py
IsakFalk/active_learning_code
c73a2405bd7cc9fd54e60fa31aa5d689041b6baf
[ "MIT" ]
null
null
null
src/algorithms.py
IsakFalk/active_learning_code
c73a2405bd7cc9fd54e60fa31aa5d689041b6baf
[ "MIT" ]
null
null
null
""" All algorithms used for subsampling dataset in a smart way """ import numpy as np import scipy.linalg as linalg from tqdm import tqdm class MCSampling: """Uniformly sample from X by shuffling the indices and returning a new matrix""" def __init__(self, K, stop_t=None): self.K = K self.n ...
43.818923
137
0.614348
4,095
26,861
3.87619
0.077167
0.030555
0.025515
0.024948
0.860833
0.846217
0.826939
0.819316
0.809425
0.798526
0
0.010834
0.278396
26,861
612
138
43.890523
0.808079
0.326905
0
0.724771
0
0
0.079377
0
0
0
0
0.001634
0.097859
1
0.085627
false
0
0.009174
0
0.131498
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
8ecf78628c79ddba98096b4ded37329445eee116
187
py
Python
spiel/segmentation/__init__.py
adoxography/SPieL
1cdb2f54d234526a51e3c1b2783fc8f497709f16
[ "MIT" ]
1
2021-12-28T03:18:23.000Z
2021-12-28T03:18:23.000Z
spiel/segmentation/__init__.py
adoxography/SPieL
1cdb2f54d234526a51e3c1b2783fc8f497709f16
[ "MIT" ]
null
null
null
spiel/segmentation/__init__.py
adoxography/SPieL
1cdb2f54d234526a51e3c1b2783fc8f497709f16
[ "MIT" ]
null
null
null
""" spiel.segmentation Module for segmenting strings into morphemes """ from spiel.segmentation.features import Featurizer from spiel.segmentation.constraints import ConstraintSegmenter
23.375
62
0.84492
20
187
7.9
0.7
0.322785
0.265823
0
0
0
0
0
0
0
0
0
0.096257
187
7
63
26.714286
0.934911
0.342246
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
d9579de552bf8bd12b00a1915f9f4d0e0e31a2a8
84
py
Python
CodeWars/Python/7 kyu/Get the Middle Character/main.py
opastushkov/codewars-solutions
0132a24259a4e87f926048318332dcb4d94858ca
[ "MIT" ]
null
null
null
CodeWars/Python/7 kyu/Get the Middle Character/main.py
opastushkov/codewars-solutions
0132a24259a4e87f926048318332dcb4d94858ca
[ "MIT" ]
null
null
null
CodeWars/Python/7 kyu/Get the Middle Character/main.py
opastushkov/codewars-solutions
0132a24259a4e87f926048318332dcb4d94858ca
[ "MIT" ]
null
null
null
def get_middle(s): return s[int(-round(-len(s)/2)) - 1:int(round(len(s)/2)) + 1]
42
65
0.583333
18
84
2.666667
0.555556
0.333333
0.458333
0.5
0.583333
0.583333
0
0
0
0
0
0.054795
0.130952
84
2
65
42
0.60274
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
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
796463d420b0f9517f139756701b8769580ee632
15,252
py
Python
UNIOA/Opt_X.py
Huilin-Li/UNIOA
0f2527eac955a7193406775e5b71fab35f064422
[ "MIT" ]
null
null
null
UNIOA/Opt_X.py
Huilin-Li/UNIOA
0f2527eac955a7193406775e5b71fab35f064422
[ "MIT" ]
null
null
null
UNIOA/Opt_X.py
Huilin-Li/UNIOA
0f2527eac955a7193406775e5b71fab35f064422
[ "MIT" ]
null
null
null
from sklearn.metrics import pairwise_distances from .LevyFlight import Levy import numpy as np from numba import jit, prange class Opt_X: @staticmethod def your(): pass # <editor-fold desc="2 defs for ba: ba, ba_but_asyncE"> @staticmethod def ba(old_X, new_Y, old_x_g, old_z1, old_z2, w3, l...
37.752475
97
0.490296
2,479
15,252
2.754336
0.048003
0.087873
0.04174
0.031634
0.942004
0.934388
0.927797
0.920475
0.913445
0.905536
0
0.019424
0.372148
15,252
403
98
37.846154
0.693609
0.312877
0
0.873362
0
0
0.001742
0
0
0
0
0
0
1
0.065502
false
0.004367
0.017467
0
0.148472
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
796e37841a2b9327525d2f20afdde82f19ecdb55
245
py
Python
slpostfix.py
xDiaym/SingleLineRPN
ef6adc921f4367037c5f8e7618da70c47f60385e
[ "MIT" ]
1
2020-05-18T16:35:07.000Z
2020-05-18T16:35:07.000Z
slpostfix.py
xDiaym/SingleLineRPN
ef6adc921f4367037c5f8e7618da70c47f60385e
[ "MIT" ]
null
null
null
slpostfix.py
xDiaym/SingleLineRPN
ef6adc921f4367037c5f8e7618da70c47f60385e
[ "MIT" ]
null
null
null
print((lambda f,i:f.reduce((lambda s,_:(lambda d,t:{'+':lambda a,b:a+b,'-':lambda a,b:a-b,'*':lambda a,b:a*b,'/':lambda a,b:a/b}.get(t)(s,d))(float(i.pop(0)),i.pop(0))),i,float(i.pop(0))))(__import__('functools'),__import__('sys').argv[1:]+[0]))
245
245
0.595918
54
245
2.537037
0.351852
0.116788
0.233577
0.262774
0.291971
0.291971
0.291971
0.291971
0.291971
0.291971
0
0.021008
0.028571
245
1
245
245
0.554622
0
0
0
0
0
0.065041
0
0
0
0
0
0
1
0
true
0
1
0
1
1
0
0
0
null
0
1
1
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
1
0
8
79997662056929b0e35dbe058d0908cdde7a5c68
3,081
py
Python
test/test_helpers.py
hegga/act-api-python
8a7fe79c89e0e718c8ab3c6fade33161ed7cc9d6
[ "ISC" ]
null
null
null
test/test_helpers.py
hegga/act-api-python
8a7fe79c89e0e718c8ab3c6fade33161ed7cc9d6
[ "ISC" ]
null
null
null
test/test_helpers.py
hegga/act-api-python
8a7fe79c89e0e718c8ab3c6fade33161ed7cc9d6
[ "ISC" ]
null
null
null
""" Test for act helpers """ import pytest import act.api def test_add_uri_fqdn() -> None: # type: ignore """ Test for extraction of facts from uri with fqdn """ api = act.api.Act("", None, "error") uri = "http://www.mnemonic.no/home" facts = act.api.helpers.uri_facts(api, uri) assert len(fac...
37.120482
96
0.63778
454
3,081
4.270925
0.129956
0.078907
0.113976
0.093863
0.872099
0.828778
0.828778
0.809696
0.772047
0.754513
0
0.036149
0.173969
3,081
82
97
37.573171
0.725737
0.11295
0
0.54
0
0
0.197994
0
0
0
0
0
0.42
1
0.1
false
0
0.04
0
0.14
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
79c4b8efab13e728a2f4053348681270fa4235ff
81
py
Python
src/common/timestamp.py
vkhaydarov/PlantEye
bfc4f59023cfa97012ce0e5ca1b94f97b88b6f69
[ "MIT" ]
1
2022-01-25T08:03:27.000Z
2022-01-25T08:03:27.000Z
src/common/timestamp.py
vkhaydarov/PlantEye
bfc4f59023cfa97012ce0e5ca1b94f97b88b6f69
[ "MIT" ]
null
null
null
src/common/timestamp.py
vkhaydarov/PlantEye
bfc4f59023cfa97012ce0e5ca1b94f97b88b6f69
[ "MIT" ]
1
2021-12-03T09:17:35.000Z
2021-12-03T09:17:35.000Z
from time import time def get_timestamp(): return int(round(time() * 1000))
16.2
36
0.691358
12
81
4.583333
0.833333
0
0
0
0
0
0
0
0
0
0
0.060606
0.185185
81
5
36
16.2
0.772727
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
8ddf276c1340fab80b6c4e8c58a5dffe6042636a
3,647
py
Python
bandit/containers/portfolio.py
zmy920423/bandit_portfolio_version
ce92c8f491dfc9cd94caa0783c7c5d263c3358a3
[ "MIT" ]
null
null
null
bandit/containers/portfolio.py
zmy920423/bandit_portfolio_version
ce92c8f491dfc9cd94caa0783c7c5d263c3358a3
[ "MIT" ]
1
2021-03-02T08:23:41.000Z
2021-03-02T08:23:41.000Z
bandit/containers/portfolio.py
zmy920423/bandit_portfolio_version
ce92c8f491dfc9cd94caa0783c7c5d263c3358a3
[ "MIT" ]
1
2021-12-04T08:23:16.000Z
2021-12-04T08:23:16.000Z
from bandit.containers.container import Container import torch as torch from collections import OrderedDict from bandit.functional import estimator_sample,estimator_ledoit_wolf class Portfolio(Container): """ portfolio class """ def __init__(self, container_id=-1, module={"file": "eg", "name": "EG"}, ...
40.522222
134
0.637236
440
3,647
5.020455
0.175
0.108646
0.05885
0.072431
0.851969
0.851969
0.851969
0.851969
0.851969
0.851969
0
0.002165
0.240197
3,647
89
135
40.977528
0.79502
0.0085
0
0.805556
0
0
0.046317
0
0
0
0
0
0
1
0.083333
false
0
0.111111
0
0.25
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
5c2e3816429fde339ae156259d85da6822e6e5b0
215
py
Python
trade/admin.py
dc74089/oneshirt
437941bf29e41098df3eb3cde2370ea29c897969
[ "Apache-2.0" ]
null
null
null
trade/admin.py
dc74089/oneshirt
437941bf29e41098df3eb3cde2370ea29c897969
[ "Apache-2.0" ]
6
2018-03-06T18:07:08.000Z
2018-12-27T22:54:12.000Z
trade/admin.py
dc74089/oneshirt
437941bf29e41098df3eb3cde2370ea29c897969
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from .models import * # Register your models here. admin.site.register(OneshirtUser) admin.site.register(Item) admin.site.register(Trade) admin.site.register(PasswordResetRequest)
21.5
41
0.813953
28
215
6.25
0.5
0.205714
0.388571
0
0
0
0
0
0
0
0
0
0.088372
215
9
42
23.888889
0.892857
0.12093
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.166667
0.333333
0
0.333333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
7
3093bbb9c7042c987260f233b991d866e2367f0b
157
py
Python
reagent/net_builder/continuous_actor/__init__.py
kellielu/ReAgent
c538992672220453cdc95044def25c4e0691a8b0
[ "BSD-3-Clause" ]
2
2021-10-31T01:05:46.000Z
2021-11-08T09:43:25.000Z
reagent/net_builder/continuous_actor/__init__.py
kellielu/ReAgent
c538992672220453cdc95044def25c4e0691a8b0
[ "BSD-3-Clause" ]
null
null
null
reagent/net_builder/continuous_actor/__init__.py
kellielu/ReAgent
c538992672220453cdc95044def25c4e0691a8b0
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 from . import dirichlet_fully_connected # noqa from . import fully_connected # noqa from . import gaussian_fully_connected # noqa
26.166667
47
0.77707
21
157
5.571429
0.52381
0.25641
0.461538
0.376068
0.478632
0
0
0
0
0
0
0.007519
0.152866
157
5
48
31.4
0.87218
0.229299
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
eb76cd449461ae9ddc8f2b3ded2d949a0896df2d
107
py
Python
tests/test_json_schema.py
riddopic/opta
25fa6435fdc7e2ea9c7963ed74100fffb0743063
[ "Apache-2.0" ]
595
2021-05-21T22:30:48.000Z
2022-03-31T15:40:25.000Z
tests/test_json_schema.py
riddopic/opta
25fa6435fdc7e2ea9c7963ed74100fffb0743063
[ "Apache-2.0" ]
463
2021-05-24T21:32:59.000Z
2022-03-31T17:12:33.000Z
tests/test_json_schema.py
riddopic/opta
25fa6435fdc7e2ea9c7963ed74100fffb0743063
[ "Apache-2.0" ]
29
2021-05-21T22:27:52.000Z
2022-03-28T16:43:45.000Z
from opta.json_schema import check_schemas def test_returns_without_error() -> None: check_schemas()
17.833333
42
0.785047
15
107
5.2
0.866667
0.307692
0
0
0
0
0
0
0
0
0
0
0.140187
107
5
43
21.4
0.847826
0
0
0
0
0
0
0
0
0
0
0
0
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
eb8e5cd617af66b94c18d48447eab26b2fd59f7d
146
py
Python
active_campaign/ecommerce/__init__.py
jlorencelim/active-campaign
39d5d252bc19ee788f74d9c1ffa7745cbfcbdc2e
[ "MIT" ]
null
null
null
active_campaign/ecommerce/__init__.py
jlorencelim/active-campaign
39d5d252bc19ee788f74d9c1ffa7745cbfcbdc2e
[ "MIT" ]
1
2019-02-12T22:51:53.000Z
2019-02-13T03:08:11.000Z
active_campaign/ecommerce/__init__.py
jlorencelim/active-campaign
39d5d252bc19ee788f74d9c1ffa7745cbfcbdc2e
[ "MIT" ]
1
2019-02-08T09:28:13.000Z
2019-02-08T09:28:13.000Z
from active_campaign.ecommerce.connection import * from active_campaign.ecommerce.customer import * from active_campaign.ecommerce.order import *
36.5
50
0.856164
18
146
6.777778
0.444444
0.245902
0.442623
0.663934
0.540984
0
0
0
0
0
0
0
0.082192
146
3
51
48.666667
0.910448
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
c61400dabb329395629c8db07f292c3e16897f73
585
py
Python
scripts/list_to_json.py
EnzoVargasM/advancing-hero
ebf79ebe22b839c0f495e772a0058c51e2a28dc9
[ "MIT" ]
1
2021-04-12T01:27:34.000Z
2021-04-12T01:27:34.000Z
scripts/list_to_json.py
EnzoVargasM/advancing-hero
ebf79ebe22b839c0f495e772a0058c51e2a28dc9
[ "MIT" ]
null
null
null
scripts/list_to_json.py
EnzoVargasM/advancing-hero
ebf79ebe22b839c0f495e772a0058c51e2a28dc9
[ "MIT" ]
2
2021-04-01T00:13:51.000Z
2021-04-11T07:15:54.000Z
import json my_list = [ [4, 1, 1, 1, 1, 1, 1, 1, 1, 5, 5, 1, 1, 1, 1, 1], [4, 2, 2, 1, 1, 1, 1, 1, 1, 5, 5, 1, 1, 1, 1, 1], [4, 2, 2, 1, 1, 1, 1, 1, 1, 5, 5, 1, 1, 1, 1, 1], [4, 1, 1, 2, 1, 1, 1, 1, 1, 5, 5, 1, 1, 3, 1, 1], [4, 1, 1, 2, 1, 1, 1, 1, 1, 5, 5, 1, 1, 3, 1, 1], [4, 1, 1, 1, 1, 1, 1,...
39
53
0.358974
160
585
1.3
0.1
0.769231
0.822115
0.807692
0.6875
0.6875
0.6875
0.6875
0.6875
0.6875
0
0.371134
0.336752
585
15
54
39
0.164948
0
0
0.428571
0
0
0.018771
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0
0
0
1
null
1
1
1
0
0
0
0
0
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
c6471cf21e085429384f240ab5d07f728b47b354
35,664
py
Python
test/kb_Amplicon_server_2_test.py
Tianhao-Gu/kb_Amplicon
34ed79f44bd69ea3755dd6cc3c659d216522408e
[ "MIT" ]
null
null
null
test/kb_Amplicon_server_2_test.py
Tianhao-Gu/kb_Amplicon
34ed79f44bd69ea3755dd6cc3c659d216522408e
[ "MIT" ]
6
2021-11-10T02:45:51.000Z
2022-02-19T03:41:20.000Z
test/kb_Amplicon_server_2_test.py
Tianhao-Gu/kb_Amplicon
34ed79f44bd69ea3755dd6cc3c659d216522408e
[ "MIT" ]
1
2021-11-09T20:10:09.000Z
2021-11-09T20:10:09.000Z
# -*- coding: utf-8 -*- import os import time import unittest import inspect from mock import patch import requests from configparser import ConfigParser from kb_Amplicon.kb_AmpliconImpl import kb_Amplicon from kb_Amplicon.kb_AmpliconServer import MethodContext from installed_clients.authclient import KBaseAuth as _KB...
50.731152
98
0.561519
3,932
35,664
4.707528
0.076297
0.01772
0.023447
0.013614
0.824419
0.816802
0.808158
0.806591
0.805457
0.805457
0
0.034364
0.315416
35,664
702
99
50.803419
0.723776
0.016627
0
0.755319
0
0
0.290894
0.055086
0
0
0
0
0.115248
1
0.030142
false
0
0.024823
0.001773
0.062057
0.017731
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
d6706592b831e6c0c5181fd86f1fc01c8186dcab
47
py
Python
main.py
clitic/up-to-pypi
aa4ca670172402b022e442cc773c7f0f1da2a321
[ "MIT" ]
null
null
null
main.py
clitic/up-to-pypi
aa4ca670172402b022e442cc773c7f0f1da2a321
[ "MIT" ]
null
null
null
main.py
clitic/up-to-pypi
aa4ca670172402b022e442cc773c7f0f1da2a321
[ "MIT" ]
null
null
null
import up_to_pypi.main up_to_pypi.main.main()
11.75
22
0.808511
10
47
3.4
0.5
0.235294
0.470588
0.705882
0
0
0
0
0
0
0
0
0.085106
47
3
23
15.666667
0.790698
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
1
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
8
d6ce541318b6f35c0491e96ac7f0898c8d1a02c1
6,076
py
Python
playground/auto_sharding_solver/test_sharding_spec.py
yf225/alpa
a7b5f061537e260875c621a82e14265b1df64c5f
[ "Apache-2.0" ]
114
2022-03-02T20:38:16.000Z
2022-03-31T20:41:50.000Z
playground/auto_sharding_solver/test_sharding_spec.py
yf225/alpa
a7b5f061537e260875c621a82e14265b1df64c5f
[ "Apache-2.0" ]
6
2022-03-09T22:04:50.000Z
2022-03-30T17:53:15.000Z
playground/auto_sharding_solver/test_sharding_spec.py
yf225/alpa
a7b5f061537e260875c621a82e14265b1df64c5f
[ "Apache-2.0" ]
5
2022-03-05T12:04:31.000Z
2022-03-31T03:55:42.000Z
from hlo import ShardingSpec, ShardingSpecType from cluster_env import ClusterEnvironment from common import compute_bytes def test_tile(): cluster_env = ClusterEnvironment([[0, 1, 2], [3, 4, 5]], [1,1], [1,1], None) sharding = ShardingSpec.tile((12, 12), [0, 1], [0, 1], cluster_env) assert sharding.tile...
40.506667
82
0.669684
872
6,076
4.446101
0.066514
0.123807
0.111426
0.17333
0.906887
0.906887
0.906113
0.890121
0.879804
0.84292
0
0.066185
0.179394
6,076
149
83
40.778523
0.711392
0.001975
0
0.612613
0
0
0.00132
0
0
0
0
0
0.423423
1
0.054054
false
0
0.027027
0
0.081081
0.027027
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
d6e224baeb75379e0e3ead46621525e47d381277
1,906
py
Python
src/morion/model_decorators.py
UofG-CSP3/morion
4d013b80ab0edc1154bae18dc00c8a8d3d6c7950
[ "MIT" ]
null
null
null
src/morion/model_decorators.py
UofG-CSP3/morion
4d013b80ab0edc1154bae18dc00c8a8d3d6c7950
[ "MIT" ]
null
null
null
src/morion/model_decorators.py
UofG-CSP3/morion
4d013b80ab0edc1154bae18dc00c8a8d3d6c7950
[ "MIT" ]
null
null
null
""" This module contains decorators that can be used in model implementation to relate them to each other. For example, getting dies from a wafer. """ from functools import wraps from typing import Callable, Type from .mongomodel import MongoModel def forward_link_one(model_get: Callable[[], Type[MongoModel]]): ...
32.305085
102
0.703568
272
1,906
4.867647
0.231618
0.081571
0.084592
0.108761
0.794562
0.787009
0.787009
0.73716
0.73716
0.669184
0
0
0.224554
1,906
58
103
32.862069
0.895805
0.516264
0
0.47619
0
0
0
0
0
0
0
0
0
1
0.380952
false
0
0.142857
0.095238
0.904762
0
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
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
7
ba73b743394169c330e45fce1b4e5ff6264f8b71
33
py
Python
tools/third_party/importlib_metadata/prepare/example/example/__init__.py
meyerweb/wpt
f04261533819893c71289614c03434c06856c13e
[ "BSD-3-Clause" ]
2,479
2018-05-28T14:51:29.000Z
2022-03-30T14:41:18.000Z
tools/third_party/importlib_metadata/prepare/example/example/__init__.py
meyerweb/wpt
f04261533819893c71289614c03434c06856c13e
[ "BSD-3-Clause" ]
7,642
2018-05-28T09:38:03.000Z
2022-03-31T20:55:48.000Z
tools/third_party/importlib_metadata/prepare/example/example/__init__.py
meyerweb/wpt
f04261533819893c71289614c03434c06856c13e
[ "BSD-3-Clause" ]
1,303
2018-05-29T14:50:02.000Z
2022-03-30T17:30:42.000Z
def main(): return 'example'
11
20
0.606061
4
33
5
1
0
0
0
0
0
0
0
0
0
0
0
0.242424
33
2
21
16.5
0.8
0
0
0
0
0
0.212121
0
0
0
0
0
0
1
0.5
true
0
0
0.5
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
7
bac203797720f8182f74be38446757d3fb8d706e
4,345
py
Python
source/keeper/storage/streams.py
rob-smallshire/keeper
560427b2b7d8df6b0fcc24f52380fc0d50ffef19
[ "MIT" ]
1
2021-02-25T21:16:50.000Z
2021-02-25T21:16:50.000Z
source/keeper/storage/streams.py
rob-smallshire/keeper
560427b2b7d8df6b0fcc24f52380fc0d50ffef19
[ "MIT" ]
1
2020-11-04T12:32:07.000Z
2020-11-05T11:15:15.000Z
source/keeper/storage/streams.py
rob-smallshire/keeper
560427b2b7d8df6b0fcc24f52380fc0d50ffef19
[ "MIT" ]
1
2020-11-11T13:29:37.000Z
2020-11-11T13:29:37.000Z
import io class WriteOnlyStream: """A write-only wrapper around a stream. Closing this stream does not close the underlying stream. """ def __init__(self, raw, name=None): self._raw = raw self._name = name def close(self): self._raw = None def __enter__(self): ...
23.61413
82
0.608976
556
4,345
4.534173
0.147482
0.1071
0.072194
0.144387
0.87505
0.855216
0.806426
0.806426
0.804839
0.804839
0
0.001281
0.281473
4,345
184
83
23.61413
0.806214
0.044419
0
0.894309
0
0
0.132153
0.066198
0
0
0
0
0
1
0.390244
false
0
0.00813
0.203252
0.682927
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
1
0
0
0
1
0
0
0
9
79eefc760f8945ba2885412298af6a091be247cb
3,717
py
Python
python/misc/frequencies_map/frequencies_map_test.py
TGITS/programming-workouts
799e805ccf3fd0936ec8ac2417f7193b8e9bcb55
[ "MIT" ]
null
null
null
python/misc/frequencies_map/frequencies_map_test.py
TGITS/programming-workouts
799e805ccf3fd0936ec8ac2417f7193b8e9bcb55
[ "MIT" ]
16
2020-05-30T12:38:13.000Z
2022-02-19T09:23:31.000Z
python/misc/frequencies_map/frequencies_map_test.py
TGITS/programming-workouts
799e805ccf3fd0936ec8ac2417f7193b8e9bcb55
[ "MIT" ]
null
null
null
import unittest from frequencies_map import frequencies_map_with_comprehension_from, frequencies_map_with_for_from, frequencies_map_with_map_from, frequencies_map_with_counter_from class FrequenciesMapWithForTest(unittest.TestCase): def test_empty_list(self): self.assertEqual(frequencies_map_with_for_fro...
41.3
164
0.622814
499
3,717
4.276553
0.08016
0.164011
0.202437
0.281162
0.91612
0.862699
0.862699
0.862699
0.862699
0.838332
0
0.013254
0.188055
3,717
89
165
41.764045
0.693837
0
0
0.741935
0
0
0.038741
0
0
0
0
0
0.322581
1
0.322581
false
0
0.032258
0
0.419355
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
1
0
0
0
0
0
0
0
10
03107adc71743725424b2361e5a9dcd1060c0b19
821
py
Python
Pyton_Codes/Python Data Structures/3.Lists/ex_9.4.py
Bombjack88/Python-for-Everybody--PY4E-
0dee57e015ed0c773bdb11e841ed4b2b639b5eca
[ "MIT" ]
null
null
null
Pyton_Codes/Python Data Structures/3.Lists/ex_9.4.py
Bombjack88/Python-for-Everybody--PY4E-
0dee57e015ed0c773bdb11e841ed4b2b639b5eca
[ "MIT" ]
null
null
null
Pyton_Codes/Python Data Structures/3.Lists/ex_9.4.py
Bombjack88/Python-for-Everybody--PY4E-
0dee57e015ed0c773bdb11e841ed4b2b639b5eca
[ "MIT" ]
null
null
null
name = input("Enter file:") if len(name) < 1: name = "mbox-short.txt" handle = open(name) hist=dict() for line in handle: if line.startswith('From:'): words=line.split() if words[1] not in hist: hist[words[1]]=1 else: hist[words[1]]=hist[words[1]]+1 #print(hist) n...
21.605263
45
0.588307
132
821
3.659091
0.257576
0.074534
0.082816
0.074534
0.819876
0.819876
0.819876
0.819876
0.819876
0.819876
0
0.019386
0.246041
821
38
46
21.605263
0.760905
0.041413
0
0.848485
0
0
0.076433
0
0
0
0
0
0
1
0
false
0
0
0
0
0.060606
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
034b5a11a5878a75f302c173807ce0e05e487714
23,482
py
Python
fhir/resources/STU3/tests/test_contract.py
mmabey/fhir.resources
cc73718e9762c04726cd7de240c8f2dd5313cbe1
[ "BSD-3-Clause" ]
null
null
null
fhir/resources/STU3/tests/test_contract.py
mmabey/fhir.resources
cc73718e9762c04726cd7de240c8f2dd5313cbe1
[ "BSD-3-Clause" ]
null
null
null
fhir/resources/STU3/tests/test_contract.py
mmabey/fhir.resources
cc73718e9762c04726cd7de240c8f2dd5313cbe1
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Profile: http://hl7.org/fhir/StructureDefinition/Contract Release: STU3 Version: 3.0.2 Revision: 11917 Last updated: 2019-10-24T11:53:00+11:00 """ import io import json import os import unittest import pytest from .. import contract from ..fhirdate import FHIRDate from .fixtures import fo...
41.052448
115
0.609744
2,684
23,482
5.226528
0.103949
0.187482
0.186769
0.233462
0.84089
0.82927
0.809453
0.708226
0.690262
0.676647
0
0.035692
0.255472
23,482
571
116
41.124343
0.766688
0.007027
0
0.517691
0
0.001862
0.200695
0.023982
0
0
0
0
0.3054
1
0.027933
false
0
0.014898
0
0.046555
0
0
0
0
null
0
1
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ceec3204a614fa8b71ad8fab515fcc2b7b5399e7
107
py
Python
scinol/__init__.py
mihahauke/scinol_icml2019
8f6bf250c9501a47d3c4b2323f830abcbf56cce3
[ "MIT" ]
3
2020-04-30T11:32:46.000Z
2021-04-23T01:16:54.000Z
scinol/__init__.py
mihahauke/scinol_icml2019
8f6bf250c9501a47d3c4b2323f830abcbf56cce3
[ "MIT" ]
6
2020-01-28T22:55:13.000Z
2022-02-10T00:20:24.000Z
scinol/__init__.py
mihahauke/scinol_icml2019
8f6bf250c9501a47d3c4b2323f830abcbf56cce3
[ "MIT" ]
1
2020-09-23T07:26:31.000Z
2020-09-23T07:26:31.000Z
from ._scinol import * from ._nag import * from ._prescinol import * from ._sfmd import * # __all__ = TODO
17.833333
25
0.719626
14
107
4.928571
0.571429
0.434783
0
0
0
0
0
0
0
0
0
0
0.186916
107
5
26
21.4
0.793103
0.130841
0
0
0
0
0
0
0
0
0
0.2
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
1
0
1
0
0
7
0630fd5623ac3364d41b77dbb665a60b19719d76
16,174
py
Python
src/Tracker/run_cmd.py
tiennvuit/AI_Challenge_HCM
8faf8d94b9f823b8c39176a241a4820b8a0d825e
[ "MIT" ]
null
null
null
src/Tracker/run_cmd.py
tiennvuit/AI_Challenge_HCM
8faf8d94b9f823b8c39176a241a4820b8a0d825e
[ "MIT" ]
null
null
null
src/Tracker/run_cmd.py
tiennvuit/AI_Challenge_HCM
8faf8d94b9f823b8c39176a241a4820b8a0d825e
[ "MIT" ]
null
null
null
python tools/generate_detections.py --model=networks/mars-small128.pb --mot_dir=/home/mmlab/working/Challenges/AI_HCM_2020/Counting_Vehicles/Task03/data/cam_01 --output_dir=/home/mmlab/working/Challenges/AI_HCM_2020/Counting_Vehicles/Task03/deep_sort/output_generate/ python tools/generate_detections.py --m...
105.712418
275
0.811797
2,348
16,174
5.300681
0.02385
0.064117
0.109915
0.174032
0.998393
0.998393
0.998393
0.998393
0.998393
0.998393
0
0.064485
0.05175
16,174
152
276
106.407895
0.747017
0
0
0.907692
1
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
1
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
11
0661c4b5d4baa0cc93fde2cc1f984e182c27f809
99
py
Python
app/internal/drawable/drawable.py
Nenivar/outreach-storytelling
f09d46b5cf7e3bd7b121786c62162670cb40b8a8
[ "MIT" ]
1
2018-11-27T14:54:59.000Z
2018-11-27T14:54:59.000Z
app/internal/drawable/drawable.py
Nenivar/outreach-storytelling
f09d46b5cf7e3bd7b121786c62162670cb40b8a8
[ "MIT" ]
null
null
null
app/internal/drawable/drawable.py
Nenivar/outreach-storytelling
f09d46b5cf7e3bd7b121786c62162670cb40b8a8
[ "MIT" ]
null
null
null
class Drawable(): def draw(self, screen): pass def blit(self, screen): pass
19.8
27
0.555556
12
99
4.583333
0.666667
0.363636
0.509091
0
0
0
0
0
0
0
0
0
0.333333
99
5
28
19.8
0.833333
0
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
false
0.4
0
0
0.6
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
1
0
0
1
0
0
7
2323f0b062f7b63bc04435701f9131ea85e2396e
121
py
Python
nanotube/__init__.py
Gawquon/Nano-Builder
b93eb3aeac2646c451ad39110c131321144e3fce
[ "MIT" ]
1
2018-10-23T19:42:36.000Z
2018-10-23T19:42:36.000Z
nanotube/__init__.py
Gawquon/Nano-Builder
b93eb3aeac2646c451ad39110c131321144e3fce
[ "MIT" ]
3
2018-10-23T14:32:33.000Z
2019-04-26T15:23:50.000Z
nanotube/__init__.py
Gawquon/Nano-Builder
b93eb3aeac2646c451ad39110c131321144e3fce
[ "MIT" ]
1
2018-10-23T14:23:38.000Z
2018-10-23T14:23:38.000Z
from nanotube.nanotube import SWCNT from nanotube.nanotube import SWCNT_solvated from nanotube.nanotube import CNT_forest
40.333333
44
0.884298
17
121
6.176471
0.411765
0.342857
0.571429
0.742857
0.590476
0
0
0
0
0
0
0
0.090909
121
3
45
40.333333
0.954545
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
2326c52088efebc7ee5b50065f40a0fa26f133ef
2,293
py
Python
tests/nonrealtime/test_nonrealtime_Session_duration.py
butayama/supriya
0c197324ecee4232381221880d1f40e109bb756c
[ "MIT" ]
191
2015-11-13T02:28:42.000Z
2022-03-29T10:26:44.000Z
tests/nonrealtime/test_nonrealtime_Session_duration.py
butayama/supriya
0c197324ecee4232381221880d1f40e109bb756c
[ "MIT" ]
130
2016-01-04T16:59:02.000Z
2022-02-26T15:37:20.000Z
tests/nonrealtime/test_nonrealtime_Session_duration.py
butayama/supriya
0c197324ecee4232381221880d1f40e109bb756c
[ "MIT" ]
22
2016-05-04T10:32:16.000Z
2022-02-26T19:22:45.000Z
import supriya.nonrealtime def test_01(): session = supriya.nonrealtime.Session() assert session.offsets == [float("-inf"), 0.0] assert session.duration == 0.0 def test_02(): session = supriya.nonrealtime.Session() with session.at(0): session.add_group() assert session.offsets == [fl...
27.963415
76
0.63672
328
2,293
4.390244
0.103659
0.180556
0.173611
0.222222
0.923611
0.919444
0.919444
0.877083
0.876389
0.876389
0
0.076423
0.195377
2,293
81
77
28.308642
0.704065
0
0
0.786885
0
0
0.025294
0
0
0
0
0
0.327869
1
0.163934
false
0
0.016393
0
0.180328
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
88d8df72a656fd2656551c77df5cf355e099a756
20,075
py
Python
CAPPA_Data_Analysis/DBR_Analysis_Old.py
rnsheehan/CAPPA_Data_Analysis
8ab5d650dd668fa6e3695ce0deb23a5f2ed61e48
[ "MIT" ]
null
null
null
CAPPA_Data_Analysis/DBR_Analysis_Old.py
rnsheehan/CAPPA_Data_Analysis
8ab5d650dd668fa6e3695ce0deb23a5f2ed61e48
[ "MIT" ]
null
null
null
CAPPA_Data_Analysis/DBR_Analysis_Old.py
rnsheehan/CAPPA_Data_Analysis
8ab5d650dd668fa6e3695ce0deb23a5f2ed61e48
[ "MIT" ]
null
null
null
import os import glob import re import sys # access system routines, including writing console output to file import math import scipy import numpy as np import matplotlib.pyplot as plt import Common import Plotting # Make plots of the results obtained for the design of the DBR grating for the CORNERSTONE fab run Ap...
38.020833
206
0.5866
2,787
20,075
3.998206
0.088985
0.033923
0.04523
0.071076
0.838553
0.803195
0.725298
0.710222
0.702773
0.690927
0
0.041696
0.286775
20,075
527
207
38.092979
0.736555
0.184458
0
0.662651
0
0
0.107024
0.043105
0
0
0
0
0
0
null
null
0
0.03012
null
null
0.042169
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
88efcbefc61ad1c150e45ca09e732baf005fc042
112
py
Python
tests/test_example.py
ARCTraining/example_project
87d6b6c942729a27cd81e30ed6540a46dc15122d
[ "MIT" ]
null
null
null
tests/test_example.py
ARCTraining/example_project
87d6b6c942729a27cd81e30ed6540a46dc15122d
[ "MIT" ]
null
null
null
tests/test_example.py
ARCTraining/example_project
87d6b6c942729a27cd81e30ed6540a46dc15122d
[ "MIT" ]
null
null
null
def increment_by_one(x): return x + 1 def test_increment_by_one(): assert increment_by_one(3) == 4
18.666667
35
0.678571
19
112
3.631579
0.578947
0.478261
0.608696
0
0
0
0
0
0
0
0
0.034483
0.223214
112
5
36
22.4
0.758621
0
0
0
0
0
0
0
0
0
0
0
0.25
1
0.5
false
0
0
0.25
0.75
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
cc64c26653dd69405a12ea900a79496049ba2423
205
py
Python
src/item.py
bussigaboran/the_island
eac257e2381182039851c9eeeeda56703a77fcb2
[ "MIT" ]
null
null
null
src/item.py
bussigaboran/the_island
eac257e2381182039851c9eeeeda56703a77fcb2
[ "MIT" ]
null
null
null
src/item.py
bussigaboran/the_island
eac257e2381182039851c9eeeeda56703a77fcb2
[ "MIT" ]
null
null
null
class Tile(): """ The smallest building block in a map """ def __init__(self): self.tile = '.' def get(self): return self.tile def set(self, item): self.tile = item
22.777778
48
0.546341
27
205
4
0.592593
0.222222
0.203704
0
0
0
0
0
0
0
0
0
0.321951
205
8
49
25.625
0.776978
0.17561
0
0
0
0
0.006211
0
0
0
0
0
0
1
0.428571
false
0
0
0.142857
0.714286
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
cc76fc5013b52f8faefffea2a53794977fef2bc8
96
py
Python
classifier/loss.py
theovincent/birdClassification
21e23a4f4c67714006e7ccc606134ca8d0fe5d9d
[ "MIT" ]
null
null
null
classifier/loss.py
theovincent/birdClassification
21e23a4f4c67714006e7ccc606134ca8d0fe5d9d
[ "MIT" ]
null
null
null
classifier/loss.py
theovincent/birdClassification
21e23a4f4c67714006e7ccc606134ca8d0fe5d9d
[ "MIT" ]
null
null
null
import torch def cross_entropy_loss(): return torch.nn.CrossEntropyLoss(reduction="mean")
16
54
0.770833
12
96
6
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.125
96
5
55
19.2
0.857143
0
0
0
0
0
0.041667
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
9d66462af654e5d29501fdf76b7ead00dde72b54
81
py
Python
gtas/parsers/tests/__init__.py
minelytics/GTAS
81b034a740837e61b00a17f6521a9a33fb0935bd
[ "MIT" ]
null
null
null
gtas/parsers/tests/__init__.py
minelytics/GTAS
81b034a740837e61b00a17f6521a9a33fb0935bd
[ "MIT" ]
null
null
null
gtas/parsers/tests/__init__.py
minelytics/GTAS
81b034a740837e61b00a17f6521a9a33fb0935bd
[ "MIT" ]
null
null
null
from gtas.parsers.tests.edifact import * from gtas.parsers.tests.paxlst import *
27
40
0.802469
12
81
5.416667
0.583333
0.246154
0.461538
0.615385
0
0
0
0
0
0
0
0
0.098765
81
2
41
40.5
0.890411
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
9d8ad192883a4ee3500cf487690a0355e16216f1
760
py
Python
5-semester/programming/lab1-tests.py
Rakleed/rgpu
47ab2a05a8398c15be7e41e9e98fafe5c2a36627
[ "MIT" ]
null
null
null
5-semester/programming/lab1-tests.py
Rakleed/rgpu
47ab2a05a8398c15be7e41e9e98fafe5c2a36627
[ "MIT" ]
null
null
null
5-semester/programming/lab1-tests.py
Rakleed/rgpu
47ab2a05a8398c15be7e41e9e98fafe5c2a36627
[ "MIT" ]
null
null
null
import squareseqdigit def test_squareseqdigit_1(): assert squareseqdigit.square_sequence_digit(1) == 1, " square_sequence_digit(1) == 1 " def test_squareseqdigit_2(): assert squareseqdigit.square_sequence_digit(2) == 4, " square_sequence_digit(2) == 4 " def test_squareseqdigit_3(): assert squareseqdig...
29.230769
92
0.744737
98
760
5.408163
0.204082
0.316981
0.430189
0.384906
0.713208
0
0
0
0
0
0
0.054878
0.136842
760
25
93
30.4
0.753049
0
0
0
0
0
0.248684
0.193421
0
0
0
0
0.461538
1
0.461538
true
0
0.076923
0
0.538462
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
1
0
0
0
1
0
0
7
9d8fa95b621512072c19eb54c83f4e6e08b54e9e
8,732
py
Python
policies/actor.py
siekmanj/apex
49483c827d8e70302b3e993acf29e9798f4435c1
[ "MIT" ]
null
null
null
policies/actor.py
siekmanj/apex
49483c827d8e70302b3e993acf29e9798f4435c1
[ "MIT" ]
1
2019-11-14T21:12:31.000Z
2019-11-14T21:12:31.000Z
policies/actor.py
siekmanj/rrl
49483c827d8e70302b3e993acf29e9798f4435c1
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torch.nn.functional as F from torch import sqrt from policies.base import Net class Actor(Net): def __init__(self): super(Actor, self).__init__() def forward(self): raise NotImplementedError def get_action(self): raise NotImplementedError class Linear_Ac...
29.400673
147
0.657925
1,327
8,732
4.136398
0.097212
0.049189
0.06012
0.037165
0.830206
0.809801
0.794862
0.782838
0.765895
0.739661
0
0.011168
0.220683
8,732
296
148
29.5
0.795445
0.025996
0
0.735683
0
0
0.004353
0
0
0
0
0
0
1
0.114537
false
0
0.022026
0.026432
0.237885
0.004405
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
d1a2d1e9de385a8a3a567200780e0271c475eefe
207
py
Python
example/city.py
MichaelSchneeberger/dataclass-abc
b438f8cf3a9ce5bc477496d67379b6ec10ad1a09
[ "Apache-2.0" ]
9
2020-09-05T17:47:47.000Z
2022-02-03T03:33:03.000Z
example/city.py
MichaelSchneeberger/dataclass-abc
b438f8cf3a9ce5bc477496d67379b6ec10ad1a09
[ "Apache-2.0" ]
null
null
null
example/city.py
MichaelSchneeberger/dataclass-abc
b438f8cf3a9ce5bc477496d67379b6ec10ad1a09
[ "Apache-2.0" ]
2
2021-02-21T16:33:16.000Z
2021-04-06T14:38:38.000Z
from abc import ABC from example.mixins.citynamemixin import CityNameMixin from example.mixins.spherepositionmixin import SpherePositionMixin class City(CityNameMixin, SpherePositionMixin, ABC): pass
23
66
0.84058
22
207
7.909091
0.454545
0.126437
0.195402
0
0
0
0
0
0
0
0
0
0.115942
207
8
67
25.875
0.95082
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.2
0.6
0
0.8
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
7
d1bd70bdbaf945c16298ef256c31476f88c7dc47
23,321
py
Python
sdk/python/pulumi_aws/lambda_/layer_version_permission.py
chivandikwa/pulumi-aws
19c08bf9dcb90544450ffa4eec7bf6751058fde2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/lambda_/layer_version_permission.py
chivandikwa/pulumi-aws
19c08bf9dcb90544450ffa4eec7bf6751058fde2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/lambda_/layer_version_permission.py
chivandikwa/pulumi-aws
19c08bf9dcb90544450ffa4eec7bf6751058fde2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
47.018145
204
0.65932
2,847
23,321
5.224447
0.074464
0.069517
0.074358
0.060643
0.848124
0.824055
0.801869
0.763345
0.754807
0.73531
0
0.005051
0.244458
23,321
495
205
47.113131
0.839103
0.403756
0
0.607407
1
0
0.104836
0.009924
0
0
0
0
0
1
0.159259
false
0.003704
0.018519
0
0.274074
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
d1e19dff6ffbedadc5579accc6c988a7815daffe
203
py
Python
models/pointnet2/__init__.py
PointCloudYC/PointNet-modern.pytorch
1a0b373fcb21f24b667a0bb4831211da5b92f98d
[ "Apache-2.0" ]
2
2021-05-20T14:36:23.000Z
2022-02-01T11:33:56.000Z
models/pointnet2/__init__.py
PointCloudYC/PointNet-modern.pytorch
1a0b373fcb21f24b667a0bb4831211da5b92f98d
[ "Apache-2.0" ]
null
null
null
models/pointnet2/__init__.py
PointCloudYC/PointNet-modern.pytorch
1a0b373fcb21f24b667a0bb4831211da5b92f98d
[ "Apache-2.0" ]
null
null
null
from .pointnet2_ssg_cls import PointNet2SSGCls from .pointnet2_msg_cls import PointNet2MSGCls from .pointnet2_ssg_semseg import PointNet2SSGSemSeg from .pointnet2_msg_semseg import PointNet2MSGSemSeg
50.75
53
0.8867
24
203
7.166667
0.458333
0.302326
0.186047
0
0
0
0
0
0
0
0
0.043478
0.093596
203
4
54
50.75
0.891304
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
882fd67aabe20a31d5031af0209e1cd26ae8cb88
1,429
py
Python
APIScan/models.py
sporiyano/archerysec
207777100b8e0d2049fc7f2efa5bf47547fb7112
[ "BSD-3-Clause" ]
1
2019-06-27T07:36:53.000Z
2019-06-27T07:36:53.000Z
APIScan/models.py
sacseacyber/archerysec
207777100b8e0d2049fc7f2efa5bf47547fb7112
[ "BSD-3-Clause" ]
null
null
null
APIScan/models.py
sacseacyber/archerysec
207777100b8e0d2049fc7f2efa5bf47547fb7112
[ "BSD-3-Clause" ]
2
2018-03-06T03:34:34.000Z
2019-07-03T03:24:00.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models # Create your models here. class APIScan_db(models.Model): project_id = models.UUIDField(blank=True) scan_url = models.URLField(blank=True) scan_id = models.UUIDField(blank=True) req_header = models.TextField...
36.641026
58
0.743877
198
1,429
5.161616
0.227273
0.193738
0.176125
0.21135
0.879648
0.879648
0.879648
0.879648
0.879648
0.879648
0
0.007377
0.146256
1,429
39
59
36.641026
0.830328
0.03219
0
0.8
0
0
0
0
0
0
0
0
0
1
0
false
0
0.066667
0
1
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
1
0
0
9
ee3371da788028f8586c88b677fdf184b9690eb1
3,670
py
Python
01.10minutes_to_pandas/time_series.py
predora005/pandas-practice
f7f954cfba6c4cc5ccb58695cc2a32cdeb5fdb3d
[ "MIT" ]
null
null
null
01.10minutes_to_pandas/time_series.py
predora005/pandas-practice
f7f954cfba6c4cc5ccb58695cc2a32cdeb5fdb3d
[ "MIT" ]
null
null
null
01.10minutes_to_pandas/time_series.py
predora005/pandas-practice
f7f954cfba6c4cc5ccb58695cc2a32cdeb5fdb3d
[ "MIT" ]
null
null
null
# coding: utf-8 import numpy as np import pandas as pd ################################################## # メイン ################################################## if __name__ == '__main__': print("------------------------------------------------------------------") print("Time series") print("-------...
41.704545
110
0.453134
403
3,670
4.029777
0.220844
0.049261
0.049261
0.078818
0.809729
0.769089
0.744458
0.718596
0.649631
0.649631
0
0.047436
0.149864
3,670
88
111
41.704545
0.473077
0.025341
0
0.369863
0
0.041096
0.523467
0.328534
0
0
0
0
0
1
0
false
0
0.027397
0
0.027397
0.753425
0
0
0
null
0
0
0
1
1
1
1
0
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
1
0
7
ee772a013f72429224fce5aedf55b7a5d3b4101f
319
py
Python
2021/examples-in-class-2021-09-24/if_block_example1.py
ati-ozgur/course-python
38237d120043c07230658b56dc3aeb01c3364933
[ "Apache-2.0" ]
1
2021-02-04T16:59:11.000Z
2021-02-04T16:59:11.000Z
2021/examples-in-class-2021-09-24/if_block_example1.py
ati-ozgur/course-python
38237d120043c07230658b56dc3aeb01c3364933
[ "Apache-2.0" ]
null
null
null
2021/examples-in-class-2021-09-24/if_block_example1.py
ati-ozgur/course-python
38237d120043c07230658b56dc3aeb01c3364933
[ "Apache-2.0" ]
1
2019-10-30T14:37:48.000Z
2019-10-30T14:37:48.000Z
birth_year = 1999 if birth_year < 2000: print("line 1") print("line 2") print("line 3") else: print("line 4") print("line 5") print("line 6") if birth_year < 2000: print("line 1") print("line 2") print("line 3") else: print("line 4") print("line 5") print("line 6")
11.814815
21
0.545455
49
319
3.489796
0.285714
0.631579
0.128655
0.175439
0.923977
0.923977
0.923977
0.923977
0.923977
0.923977
0
0.104803
0.282132
319
26
22
12.269231
0.641921
0
0
0.941176
0
0
0.227848
0
0
0
0
0
0
1
0
false
0
0
0
0
0.705882
0
0
0
null
1
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
1
0
10
c98aebff2ff333e344cb388137f2d83153223337
3,123
py
Python
tests/station/test_parameter_get.py
ismaelJimenez/mamba_client
2be6a14d61bbcd16db020f41146cca63c17ebf50
[ "MIT" ]
null
null
null
tests/station/test_parameter_get.py
ismaelJimenez/mamba_client
2be6a14d61bbcd16db020f41146cca63c17ebf50
[ "MIT" ]
null
null
null
tests/station/test_parameter_get.py
ismaelJimenez/mamba_client
2be6a14d61bbcd16db020f41146cca63c17ebf50
[ "MIT" ]
null
null
null
from mamba_client.station import NetworkController, ParameterGet from mamba_client.mock.mamba_server_mock import MambaServerMock class TestClass: def test_parameter_get_init(self): MambaServerMock(port=34562) network_controller = NetworkController(port=34562) param_set = ParameterGet(netw...
39.0375
75
0.612232
373
3,123
4.769437
0.134048
0.112423
0.179876
0.224845
0.747611
0.747611
0.747611
0.747611
0.747611
0.747611
0
0.038909
0.284022
3,123
79
76
39.531646
0.756708
0
0
0.631579
0
0
0.170989
0
0
0
0
0
0.45614
1
0.035088
false
0
0.035088
0
0.087719
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
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
c9cf141b9daf676c4eb439e23d83893c23a2218c
57,543
py
Python
tccli/services/cme/cme_client.py
zyh911/tencentcloud-cli
dfc5dbd660d4c60d265921c4edc630091478fc41
[ "Apache-2.0" ]
null
null
null
tccli/services/cme/cme_client.py
zyh911/tencentcloud-cli
dfc5dbd660d4c60d265921c4edc630091478fc41
[ "Apache-2.0" ]
null
null
null
tccli/services/cme/cme_client.py
zyh911/tencentcloud-cli
dfc5dbd660d4c60d265921c4edc630091478fc41
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import os import json import tccli.options_define as OptionsDefine import tccli.format_output as FormatOutput from tccli.nice_command import NiceCommand import tccli.error_msg as ErrorMsg import tccli.help_template as HelpTemplate from tccli import __version__ from tccli.utils import Utils from ...
40.21174
105
0.684566
6,387
57,543
5.972914
0.046814
0.062282
0.180791
0.067472
0.811083
0.790846
0.784555
0.773493
0.768408
0.729718
0
0.008384
0.187477
57,543
1,430
106
40.23986
0.80755
0.0061
0
0.690063
0
0
0.093427
0.004409
0
0
0
0
0
1
0.030757
false
0.000789
0.021293
0
0.08123
0.003155
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
11ac3dd80a6d3d683757b0092824c2ad1efe26c3
5,005
py
Python
code/ch05/rbf_kernel_pca.py
takseki/python-machine-learning-book
d7c7a2e0845c6bab153d65a0b945e6d1cc5f61cb
[ "MIT" ]
2
2019-05-21T09:37:21.000Z
2021-06-01T15:08:57.000Z
code/ch05/rbf_kernel_pca.py
takseki/python-machine-learning-book
d7c7a2e0845c6bab153d65a0b945e6d1cc5f61cb
[ "MIT" ]
null
null
null
code/ch05/rbf_kernel_pca.py
takseki/python-machine-learning-book
d7c7a2e0845c6bab153d65a0b945e6d1cc5f61cb
[ "MIT" ]
null
null
null
import numpy as np from scipy.spatial.distance import pdist, squareform from scipy import exp from scipy.linalg import eigh def rbf_kernel_pca(X, gamma, n_components): """ RBF kernel PCA implementation. Parameters ------------ X: {NumPy ndarray}, shape = [n_samples, n_features] gamma: float ...
27.054054
67
0.627972
670
5,005
4.559701
0.174627
0.01964
0.013748
0.025205
0.903764
0.903764
0.903764
0.890016
0.890016
0.881833
0
0.00567
0.25994
5,005
184
68
27.201087
0.819114
0.533067
0
0.755102
0
0
0.010486
0
0
0
0
0
0
1
0.061224
false
0
0.163265
0
0.285714
0.102041
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
11b0ed7045397cf66313ae39cb9f138dac6a15d2
26,439
py
Python
trec2014/python/cuttsum/summarizer/filters.py
kedz/cuttsum
992c21192af03fd2ef863f5ab7d10752f75580fa
[ "Apache-2.0" ]
6
2015-09-10T02:22:21.000Z
2021-10-01T16:36:46.000Z
trec2014/python/cuttsum/summarizer/filters.py
kedz/cuttsum
992c21192af03fd2ef863f5ab7d10752f75580fa
[ "Apache-2.0" ]
null
null
null
trec2014/python/cuttsum/summarizer/filters.py
kedz/cuttsum
992c21192af03fd2ef863f5ab7d10752f75580fa
[ "Apache-2.0" ]
2
2018-04-04T10:44:32.000Z
2021-10-01T16:37:26.000Z
from cuttsum.sentsim import SentenceLatentVectorsResource from cuttsum.summarizer.ap import APSummarizer, APSalienceSummarizer from cuttsum.summarizer.baseline import HACSummarizer import os import pandas as pd import numpy as np from datetime import datetime, timedelta from sklearn.metrics.pairwise import cosine_simil...
43.342623
111
0.509966
2,867
26,439
4.513777
0.074991
0.040182
0.043273
0.048682
0.843443
0.837184
0.821652
0.79847
0.780697
0.753265
0
0.006193
0.36484
26,439
609
112
43.413793
0.764426
0.081281
0
0.754717
0
0
0.116094
0.016626
0
0
0
0
0.008386
0
null
null
0.004193
0.023061
null
null
0.002096
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
11f4700147bdc481df8b612aaa01955233a18733
6,988
py
Python
levels 2.0.py
el-jeu/game
b19b7384d9b84daaa25509fb7989352a5f5a7fcb
[ "Unlicense" ]
null
null
null
levels 2.0.py
el-jeu/game
b19b7384d9b84daaa25509fb7989352a5f5a7fcb
[ "Unlicense" ]
null
null
null
levels 2.0.py
el-jeu/game
b19b7384d9b84daaa25509fb7989352a5f5a7fcb
[ "Unlicense" ]
null
null
null
levelsMap = [ #level 1-1 ("g1","f1",[["ma1","ma3","ma5","b1","m1","e1","m1","b1","ma1","ma3","ma5"], ["ma2","ma4","ma6","b1","b1","b1","b1","b1","ma2","ma4","ma6"], ["b1","b1","b1","m1","b1","m1","b1","m1","b1","b1","b1"], ["m1","b1","b1","b1","b1","b1","b1","b1","b1","b1","m1...
59.726496
82
0.304951
1,047
6,988
2.035339
0.029608
0.259033
0.26748
0.251525
0.941811
0.889254
0.836227
0.791178
0.653214
0.60535
0
0.173977
0.223526
6,988
117
83
59.726496
0.218762
0.011591
0
0.347826
0
0
0.303553
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
1
1
1
1
0
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
9