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
7faaf6151524c8e82026ebaf789a577660ab08ca
76
py
Python
sep/__init__.py
Fafa87/SEP
cdc8fdad83478d35aeb2992b8382aa4bc1763131
[ "MIT" ]
null
null
null
sep/__init__.py
Fafa87/SEP
cdc8fdad83478d35aeb2992b8382aa4bc1763131
[ "MIT" ]
null
null
null
sep/__init__.py
Fafa87/SEP
cdc8fdad83478d35aeb2992b8382aa4bc1763131
[ "MIT" ]
null
null
null
import sep.evaluate import sep.extract import sep.process import sep.splits
15.2
19
0.842105
12
76
5.333333
0.5
0.5625
0
0
0
0
0
0
0
0
0
0
0.105263
76
4
20
19
0.941176
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
f6a2e177795e18d3ef5a7e2990fcc1d5569472e1
86
py
Python
teste.py
Lausegouras/AulaDevopsTestes
b3221cba77de313168d06fc454340b3ffc7e2898
[ "Apache-2.0" ]
null
null
null
teste.py
Lausegouras/AulaDevopsTestes
b3221cba77de313168d06fc454340b3ffc7e2898
[ "Apache-2.0" ]
null
null
null
teste.py
Lausegouras/AulaDevopsTestes
b3221cba77de313168d06fc454340b3ffc7e2898
[ "Apache-2.0" ]
null
null
null
import pytest from utilitario import mult def teste_mult(): assert mult(3,5)==15
14.333333
27
0.732558
14
86
4.428571
0.785714
0
0
0
0
0
0
0
0
0
0
0.056338
0.174419
86
5
28
17.2
0.816901
0
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
true
0
0.5
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
6
f6a5f30d990505baa3e82b51b75a4942c4d46d03
4,324
py
Python
services/core-api/tests/parties/party_appt/resources/test_mpa_permittee_resource.py
bcgov/mds
6c427a66a5edb4196222607291adef8fd6677038
[ "Apache-2.0" ]
25
2018-07-09T19:04:37.000Z
2022-03-15T17:27:10.000Z
services/core-api/tests/parties/party_appt/resources/test_mpa_permittee_resource.py
areyeslo/mds
e8c38e593e09b78e2a57009c0d003d6c4bfa32e6
[ "Apache-2.0" ]
983
2018-04-25T20:08:07.000Z
2022-03-31T21:45:20.000Z
services/core-api/tests/parties/party_appt/resources/test_mpa_permittee_resource.py
areyeslo/mds
e8c38e593e09b78e2a57009c0d003d6c4bfa32e6
[ "Apache-2.0" ]
58
2018-05-15T22:35:50.000Z
2021-11-29T19:40:52.000Z
import pytest import json import uuid from datetime import datetime from tests.factories import PermitFactory, PartyFactory, MinePartyAppointmentFactory, create_mine_and_permit # GET def test_get_permittee_not_found(test_client, db_session, auth_headers): get_resp = test_client.get( f'/parties/mines/{uui...
37.6
108
0.703515
595
4,324
4.751261
0.104202
0.056597
0.036788
0.047046
0.872657
0.853555
0.826671
0.779271
0.735409
0.735409
0
0.006656
0.16605
4,324
114
109
37.929825
0.777316
0.001619
0
0.666667
0
0
0.165276
0.04752
0
0
0
0
0.166667
1
0.077778
false
0
0.055556
0
0.133333
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
f6d2c91c7e27f397a4a85e11f2d128afcfa820e0
69
py
Python
iptk/__init__.py
iptk/iptk-py
356e3a4b1acee05b03d25c14f2545a1d12f83787
[ "MIT" ]
null
null
null
iptk/__init__.py
iptk/iptk-py
356e3a4b1acee05b03d25c14f2545a1d12f83787
[ "MIT" ]
null
null
null
iptk/__init__.py
iptk/iptk-py
356e3a4b1acee05b03d25c14f2545a1d12f83787
[ "MIT" ]
1
2020-05-17T21:45:01.000Z
2020-05-17T21:45:01.000Z
from .dataset import Dataset from .dataset_store import DatasetStore
23
39
0.855072
9
69
6.444444
0.555556
0.37931
0
0
0
0
0
0
0
0
0
0
0.115942
69
2
40
34.5
0.95082
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
f6d9982770d9aa959572fadfe93280c1228a34b5
1,818
py
Python
Tests/ElementAttribute_test.py
adscheevel/tm1py
8a53c7a63e3c0e2c6198c2cd0c2f57d10a7cfe43
[ "MIT" ]
113
2019-03-12T19:42:39.000Z
2022-03-31T22:40:05.000Z
Tests/ElementAttribute_test.py
adscheevel/tm1py
8a53c7a63e3c0e2c6198c2cd0c2f57d10a7cfe43
[ "MIT" ]
459
2019-01-25T09:32:18.000Z
2022-03-24T21:57:16.000Z
Tests/ElementAttribute_test.py
adscheevel/tm1py
8a53c7a63e3c0e2c6198c2cd0c2f57d10a7cfe43
[ "MIT" ]
107
2019-01-31T15:08:34.000Z
2022-03-16T14:58:38.000Z
import unittest from TM1py import ElementAttribute class TestElementAttribute(unittest.TestCase): def test_eq_happy_case(self): element_attribute1 = ElementAttribute(name="Attribute 1", attribute_type="String") element_attribute2 = ElementAttribute(name="Attribute 1", attribute_type="String") ...
37.875
91
0.734323
189
1,818
6.761905
0.190476
0.172144
0.226917
0.211268
0.760563
0.760563
0.760563
0.757433
0.617371
0.617371
0
0.021753
0.165567
1,818
47
92
38.680851
0.820699
0
0
0.366667
0
0
0.122112
0
0
0
0
0
0.2
1
0.2
false
0
0.066667
0
0.3
0
0
0
0
null
0
1
1
0
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
6
1272878cddc65b740dcfdbd94cc165038864bd29
8,279
py
Python
survae/utils/loss.py
robert-giaquinto/survae_flows
4d7dc638f77c48ad3c8393b967c33ac9dbad60fe
[ "MIT" ]
2
2021-03-06T19:37:39.000Z
2022-01-09T11:19:45.000Z
survae/utils/loss.py
robert-giaquinto/survae_flows
4d7dc638f77c48ad3c8393b967c33ac9dbad60fe
[ "MIT" ]
null
null
null
survae/utils/loss.py
robert-giaquinto/survae_flows
4d7dc638f77c48ad3c8393b967c33ac9dbad60fe
[ "MIT" ]
null
null
null
import math import torch def loglik_nats(model, x): """Compute the log-likelihood in nats.""" return - model.log_prob(x).mean() def loglik_bpd(model, x): """Compute the log-likelihood in bits per dim.""" return - model.log_prob(x).sum() / (math.log(2) * x.shape.numel()) def cond_loglik_nats(model,...
34.069959
99
0.58739
1,272
8,279
3.706761
0.060535
0.045811
0.049629
0.022057
0.971368
0.959491
0.898621
0.871898
0.831389
0.77667
0
0.011634
0.252446
8,279
242
100
34.210744
0.750202
0.079116
0
0.679012
0
0
0.03943
0
0
0
0
0
0.012346
1
0.148148
false
0.024691
0.012346
0
0.283951
0.098765
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
89ec131e991e98d7b8d725487cf6dbe45aee94e6
39
py
Python
reststub/__init__.py
nharada1/python-rest-stub
a5fb4fc8a6c1e750cac7457716b1ffed796c3a94
[ "MIT" ]
13
2015-11-04T03:34:15.000Z
2017-08-06T15:11:16.000Z
reststub/__init__.py
nharada1/python-rest-stub
a5fb4fc8a6c1e750cac7457716b1ffed796c3a94
[ "MIT" ]
null
null
null
reststub/__init__.py
nharada1/python-rest-stub
a5fb4fc8a6c1e750cac7457716b1ffed796c3a94
[ "MIT" ]
null
null
null
from .rest_server import rest_stub_app
19.5
38
0.871795
7
39
4.428571
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.102564
39
1
39
39
0.885714
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
d624e5bc18f4463db3aaa493b44c606f239eaec7
62
py
Python
tools/Sikuli/ClickContextMenuVisualStudioCode.sikuli/ClickContextMenuVisualStudioCode.py
marmyshev/vanessa-automation
9f87bd6df58b4c205104d3ae8e3643752d67eef7
[ "BSD-3-Clause" ]
296
2018-05-27T08:03:14.000Z
2022-03-19T08:36:11.000Z
tools/Sikuli/ClickContextMenuVisualStudioCode.sikuli/ClickContextMenuVisualStudioCode.py
marmyshev/vanessa-automation
9f87bd6df58b4c205104d3ae8e3643752d67eef7
[ "BSD-3-Clause" ]
1,562
2018-05-27T18:36:25.000Z
2022-03-31T07:35:11.000Z
tools/Sikuli/ClickContextMenuVisualStudioCode.sikuli/ClickContextMenuVisualStudioCode.py
marmyshev/vanessa-automation
9f87bd6df58b4c205104d3ae8e3643752d67eef7
[ "BSD-3-Clause" ]
299
2018-06-18T20:00:56.000Z
2022-03-29T12:29:55.000Z
hover("1532879285882.png") click("1532879285882.png") exit(0)
15.5
26
0.758065
8
62
5.875
0.75
0.680851
0
0
0
0
0
0
0
0
0
0.457627
0.048387
62
3
27
20.666667
0.338983
0
0
0
0
0
0.548387
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
d626d7885687f5fd26a705dfb530f8ac8308dbc0
3,436
py
Python
riddler/nancy/yahtzee.py
rgc-retired/math_puzzles
0f96fc0f4d53f9ece53fb7af02c037067f710fac
[ "MIT" ]
null
null
null
riddler/nancy/yahtzee.py
rgc-retired/math_puzzles
0f96fc0f4d53f9ece53fb7af02c037067f710fac
[ "MIT" ]
null
null
null
riddler/nancy/yahtzee.py
rgc-retired/math_puzzles
0f96fc0f4d53f9ece53fb7af02c037067f710fac
[ "MIT" ]
null
null
null
import numpy as np # Attempt to get a large straight after # first roll result = 1, 2, 4, 5, X where # X is not a 3. # # What is the optimal strategy to get a large straight? # This is either 1-2-3-4-5 or 2-3-4-5-6. No other result # matters. # # Possibilities: # -------------- # 1. Reroll the X to try for inside str...
28.396694
57
0.559371
685
3,436
2.79708
0.131387
0.022965
0.021921
0.029228
0.789666
0.764614
0.76357
0.747912
0.724948
0.710856
0
0.076417
0.291618
3,436
120
58
28.633333
0.710764
0.433062
0
0.857143
0
0
0
0
0
0
0
0
0
1
0.042857
false
0
0.014286
0
0.057143
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
d62bcdf8af7be4e285d3a2566f6156bd728f72f3
35
py
Python
nyaggle/testing/__init__.py
harupy/nyaggle
132a93079e364d60b5598de77ab636a603ec06a4
[ "MIT" ]
null
null
null
nyaggle/testing/__init__.py
harupy/nyaggle
132a93079e364d60b5598de77ab636a603ec06a4
[ "MIT" ]
null
null
null
nyaggle/testing/__init__.py
harupy/nyaggle
132a93079e364d60b5598de77ab636a603ec06a4
[ "MIT" ]
2
2021-03-19T05:57:39.000Z
2021-03-30T04:54:36.000Z
from nyaggle.testing.util import *
17.5
34
0.8
5
35
5.6
1
0
0
0
0
0
0
0
0
0
0
0
0.114286
35
1
35
35
0.903226
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
c39554dcec1697b15f55de90a5418a5cbaffe35f
663
py
Python
eloquent/orm/scopes/scope.py
KarthickNamakkalKrishnan/eloquent
0638b688d5fd0c1a46b7471dd465eeb4c2f84666
[ "MIT" ]
47
2015-03-19T02:11:36.000Z
2022-03-29T07:16:42.000Z
eloquent/orm/scopes/scope.py
KarthickNamakkalKrishnan/eloquent
0638b688d5fd0c1a46b7471dd465eeb4c2f84666
[ "MIT" ]
20
2015-03-16T02:56:51.000Z
2015-05-24T17:51:29.000Z
eloquent/orm/scopes/scope.py
sdispater/eloquent
0638b688d5fd0c1a46b7471dd465eeb4c2f84666
[ "MIT" ]
4
2018-08-29T13:42:50.000Z
2021-03-14T11:28:31.000Z
# -*- coding: utf-8 -*- class Scope(object): def apply(self, builder, model): """ Apply the scope to a given query builder. :param builder: The query builder :type builder: eloquent.orm.Builder :param model: The model :type model: eloquent.orm.Model """ ...
22.862069
52
0.588235
74
663
5.27027
0.324324
0.123077
0.082051
0.092308
0.723077
0.723077
0.723077
0.723077
0.723077
0.723077
0
0.002222
0.321267
663
28
53
23.678571
0.864444
0.550528
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0
0.6
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
0
0
0
6
c3a34b7edc4dd4f40de782bcb7f8ee256bd72a77
25
py
Python
neuropowertools/apps/__init__.py
jokedurnez/neuropowertools
4e17247867b108f7e928dfb205a62400afba1e34
[ "MIT" ]
null
null
null
neuropowertools/apps/__init__.py
jokedurnez/neuropowertools
4e17247867b108f7e928dfb205a62400afba1e34
[ "MIT" ]
null
null
null
neuropowertools/apps/__init__.py
jokedurnez/neuropowertools
4e17247867b108f7e928dfb205a62400afba1e34
[ "MIT" ]
null
null
null
from . import main, power
25
25
0.76
4
25
4.75
1
0
0
0
0
0
0
0
0
0
0
0
0.16
25
1
25
25
0.904762
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
c3d5fd2d7682d149e476444e4461938d33fe7e58
44
py
Python
eisen/utils/logging/__init__.py
dasturge/eisen-core
09056f1e6aff450ef402b35b10ef96a7d4a3ff87
[ "MIT" ]
null
null
null
eisen/utils/logging/__init__.py
dasturge/eisen-core
09056f1e6aff450ef402b35b10ef96a7d4a3ff87
[ "MIT" ]
null
null
null
eisen/utils/logging/__init__.py
dasturge/eisen-core
09056f1e6aff450ef402b35b10ef96a7d4a3ff87
[ "MIT" ]
null
null
null
from .logs import * from .summaries import *
22
24
0.75
6
44
5.5
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.159091
44
2
24
22
0.891892
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
7f02664bfcfb1860c752619019d268883ec38f04
129
py
Python
tyxe/__init__.py
TyXe-BDL/TyXe
9b0a0aebb84ddd7eed2f26da967e61ad0cb79039
[ "MIT" ]
34
2021-09-29T16:16:34.000Z
2022-03-13T00:34:29.000Z
tyxe/__init__.py
TyXe-BDL/TyXe
9b0a0aebb84ddd7eed2f26da967e61ad0cb79039
[ "MIT" ]
10
2021-09-20T21:49:55.000Z
2022-03-01T06:25:50.000Z
tyxe/__init__.py
TyXe-BDL/TyXe
9b0a0aebb84ddd7eed2f26da967e61ad0cb79039
[ "MIT" ]
11
2021-06-17T13:31:55.000Z
2022-02-17T05:22:55.000Z
from . import guides from . import likelihoods from . import poutine from . import priors from . import util from .bnn import *
16.125
25
0.751938
18
129
5.388889
0.444444
0.515464
0
0
0
0
0
0
0
0
0
0
0.193798
129
7
26
18.428571
0.932692
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
7f10ed5eb47807ce4b493191fdddd8db468a30dd
37
py
Python
Chapter 07/ch7_1g.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
Chapter 07/ch7_1g.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
Chapter 07/ch7_1g.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
def Pyn(): print("Be Positive! ")
12.333333
24
0.567568
5
37
4.2
1
0
0
0
0
0
0
0
0
0
0
0
0.216216
37
2
25
18.5
0.724138
0
0
0
0
0
0.371429
0
0
0
0
0
0
1
0.5
true
0
0
0
0.5
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
1
0
6
615a3cabf456058913fd20a7c63a191fd32ac773
60
py
Python
packages/any-api/wasmer/__init__.py
TheRakeshPurohit/wasmer-python
2375974d9dc50a2caf29fdd9e07d49fd94537e03
[ "MIT" ]
900
2019-04-11T01:52:10.000Z
2020-09-02T11:09:14.000Z
packages/any-api/wasmer/__init__.py
TheRakeshPurohit/wasmer-python
2375974d9dc50a2caf29fdd9e07d49fd94537e03
[ "MIT" ]
172
2019-04-15T18:04:55.000Z
2020-09-01T15:20:06.000Z
packages/any-api/wasmer/__init__.py
TheRakeshPurohit/wasmer-python
2375974d9dc50a2caf29fdd9e07d49fd94537e03
[ "MIT" ]
28
2019-04-11T02:49:04.000Z
2020-08-27T09:47:49.000Z
raise ImportError("Wasmer is not available on this system")
30
59
0.8
9
60
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.133333
60
1
60
60
0.923077
0
0
0
0
0
0.633333
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
619d1a3c5a829f97da67411ed5d4a228735078c7
2,325
gyp
Python
deps/subversion/ra_serf.gyp
yume-chan/node-svn
47f2eba70b55dcd15bda745b102668223a2b7f20
[ "MIT" ]
null
null
null
deps/subversion/ra_serf.gyp
yume-chan/node-svn
47f2eba70b55dcd15bda745b102668223a2b7f20
[ "MIT" ]
5
2018-03-16T06:48:29.000Z
2018-04-17T09:47:15.000Z
deps/subversion/ra_serf.gyp
yume-chan/node-svn
47f2eba70b55dcd15bda745b102668223a2b7f20
[ "MIT" ]
4
2018-04-11T00:06:05.000Z
2019-10-25T01:34:40.000Z
{ "includes": [ "./common.gypi" ], "targets": [ { "target_name": "libsvn_ra_serf", "dependencies": [ "../serf/serf.gyp:serf" ], "sources": [ "subversion/subversion/libsvn_ra_serf/blame.c", ...
50.543478
78
0.593548
235
2,325
5.561702
0.2
0.189748
0.284621
0.642693
0.789594
0.765111
0.260138
0
0
0
0
0
0.297204
2,325
45
79
51.666667
0.799878
0
0
0.044444
0
0
0.661842
0.630263
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
61ad78327315c12c190baa4682e7af00a3a3850a
160
py
Python
src/svgen/__init__.py
pedromxavier/svg-motion
016d95d3302b5519954b89e489f7394bb64eeea9
[ "MIT" ]
null
null
null
src/svgen/__init__.py
pedromxavier/svg-motion
016d95d3302b5519954b89e489f7394bb64eeea9
[ "MIT" ]
null
null
null
src/svgen/__init__.py
pedromxavier/svg-motion
016d95d3302b5519954b89e489f7394bb64eeea9
[ "MIT" ]
null
null
null
from .svgen import SVG, Figure from .svgen import Animation, Frame, Camera from .svglib import Point, Vector from .svglib import Domain, Map, Surface, Transform
40
51
0.79375
23
160
5.521739
0.652174
0.141732
0.23622
0
0
0
0
0
0
0
0
0
0.1375
160
4
51
40
0.92029
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
61bfc5849f3285dcce2ee3b38eb927a600c62c69
12,488
py
Python
ztx/views.py
lqs429521992/ztx-srv
1fee866606ce5b00ae29edd526eaad6dc7f9ceff
[ "MIT" ]
null
null
null
ztx/views.py
lqs429521992/ztx-srv
1fee866606ce5b00ae29edd526eaad6dc7f9ceff
[ "MIT" ]
null
null
null
ztx/views.py
lqs429521992/ztx-srv
1fee866606ce5b00ae29edd526eaad6dc7f9ceff
[ "MIT" ]
null
null
null
from rest_framework.viewsets import ModelViewSet from .models import Costomer, Product, Income, Trade from .serializers import CostomerSerializer, ProductSerializer, IncomeSerializer, TradeSerializer from libs import iView from rest_framework.views import APIView from rest_framework.response import Response from decima...
48.403101
164
0.6254
1,545
12,488
4.816828
0.100324
0.034937
0.048374
0.061811
0.837141
0.825853
0.811879
0.766326
0.728971
0.671056
0
0.014692
0.215167
12,488
258
165
48.403101
0.741353
0.168882
0
0.602564
0
0
0.094527
0.004097
0
0
0
0
0
1
0.025641
false
0
0.064103
0
0.371795
0.051282
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
4ee35c211d2a49f4d8ee55fafe01c5f97af44419
25
py
Python
samplings/pk.py
jireh-father/tensorflow-triplet-loss
c8a3b3efbf4c68f63d58ee3bedaa8e42451f6a80
[ "MIT" ]
null
null
null
samplings/pk.py
jireh-father/tensorflow-triplet-loss
c8a3b3efbf4c68f63d58ee3bedaa8e42451f6a80
[ "MIT" ]
null
null
null
samplings/pk.py
jireh-father/tensorflow-triplet-loss
c8a3b3efbf4c68f63d58ee3bedaa8e42451f6a80
[ "MIT" ]
null
null
null
def sampling(): pass
8.333333
15
0.6
3
25
5
1
0
0
0
0
0
0
0
0
0
0
0
0.28
25
2
16
12.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0.5
0
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
6
4eead47658f3f5e52aa30ea97006b8896542a97f
4,059
py
Python
tests/functions/spin_fields/test_exchange_interaction_field.py
jdalzatec/llg
c0acd728d29a9a821ebadc4f1e17e0327d7e238c
[ "MIT" ]
4
2019-09-02T19:18:55.000Z
2021-05-05T15:04:54.000Z
tests/functions/spin_fields/test_exchange_interaction_field.py
lufvelasquezgo/llg
c0acd728d29a9a821ebadc4f1e17e0327d7e238c
[ "MIT" ]
116
2020-02-09T05:19:52.000Z
2022-03-27T18:47:17.000Z
tests/functions/spin_fields/test_exchange_interaction_field.py
lufvelasquezgo/llg
c0acd728d29a9a821ebadc4f1e17e0327d7e238c
[ "MIT" ]
null
null
null
from llg.functions import spin_fields import numpy import pytest def compute_exchange_field( num_sites, state, j_exchange, spin_moments, num_neighbors, neighbors ): total = numpy.zeros(shape=(num_sites, 3)) for i in range(num_sites): sum_nhbs = sum(num_neighbors[:i]) for j in range(num_nei...
31.710938
86
0.695245
487
4,059
5.404517
0.12115
0.082067
0.079027
0.06079
0.828647
0.818009
0.775836
0.726444
0.707447
0.707447
0
0.009201
0.223454
4,059
127
87
31.96063
0.825825
0
0
0.626087
0
0
0
0
0
0
0
0
0.043478
1
0.052174
false
0
0.026087
0
0.086957
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
4ef490bf509cfc0552e244879896a37730e094ec
46
py
Python
battle_module/__init__.py
alentoghostflame/StupidAlentoBot
c024bfb79a9ecb0d9fda5ddc4e361a0cb878baba
[ "MIT" ]
1
2021-12-12T02:50:20.000Z
2021-12-12T02:50:20.000Z
battle_module/__init__.py
alentoghostflame/StupidAlentoBot
c024bfb79a9ecb0d9fda5ddc4e361a0cb878baba
[ "MIT" ]
17
2020-02-07T23:40:36.000Z
2020-12-22T16:38:44.000Z
battle_module/__init__.py
alentoghostflame/StupidAlentoBot
c024bfb79a9ecb0d9fda5ddc4e361a0cb878baba
[ "MIT" ]
null
null
null
from battle_module.battle import BattleModule
23
45
0.891304
6
46
6.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.086957
46
1
46
46
0.952381
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
f644efd8d8a51dbfbc05e92dad3ad61e15278318
1,271
py
Python
apps/gallery/migrations/0006_auto_20190801_1338.py
mrtaalebi/sitigo
cce8b4f5299b58d7365789ead416d4568b443743
[ "Apache-2.0" ]
null
null
null
apps/gallery/migrations/0006_auto_20190801_1338.py
mrtaalebi/sitigo
cce8b4f5299b58d7365789ead416d4568b443743
[ "Apache-2.0" ]
8
2020-02-12T01:02:15.000Z
2022-03-11T23:53:39.000Z
apps/gallery/migrations/0006_auto_20190801_1338.py
mrtaalebi/sitigo
cce8b4f5299b58d7365789ead416d4568b443743
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2.3 on 2019-08-01 09:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('gallery', '0005_image_city'), ] operations = [ migrations.AlterField( model_name='city', name='english_name', ...
28.886364
93
0.565696
124
1,271
5.637097
0.314516
0.171674
0.214592
0.248927
0.775393
0.775393
0.655222
0.655222
0.655222
0.655222
0
0.042578
0.316286
1,271
43
94
29.55814
0.761795
0.035405
0
0.756757
1
0
0.119281
0
0
0
0
0
0
1
0
false
0
0.027027
0
0.108108
0
0
0
0
null
0
1
1
0
1
0
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
6
9c90710cfd644160403952cb91188d7c52cf2cac
38
py
Python
__init__.py
zahirsalim/kpyprotocol
9435f2e5ead0bb8abc7a89bad261e67e5f1a40a7
[ "MIT" ]
null
null
null
__init__.py
zahirsalim/kpyprotocol
9435f2e5ead0bb8abc7a89bad261e67e5f1a40a7
[ "MIT" ]
null
null
null
__init__.py
zahirsalim/kpyprotocol
9435f2e5ead0bb8abc7a89bad261e67e5f1a40a7
[ "MIT" ]
null
null
null
from KProtocol import KurentoProtocol
19
37
0.894737
4
38
8.5
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
38
1
38
38
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
9c9a2bf1cd96338828e08958877ef1d7c4e62683
133
py
Python
labAPI/optimization/samplers/__init__.py
robertfasano/labAPI
e671c6af2bb702cde018b6d30582c269965da63c
[ "MIT" ]
null
null
null
labAPI/optimization/samplers/__init__.py
robertfasano/labAPI
e671c6af2bb702cde018b6d30582c269965da63c
[ "MIT" ]
null
null
null
labAPI/optimization/samplers/__init__.py
robertfasano/labAPI
e671c6af2bb702cde018b6d30582c269965da63c
[ "MIT" ]
null
null
null
from .grid_search import GridSearch from .differential_evolution import DifferentialEvolution from .random_search import RandomSearch
44.333333
57
0.894737
15
133
7.733333
0.666667
0.206897
0
0
0
0
0
0
0
0
0
0
0.082707
133
3
58
44.333333
0.95082
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
141e57536cbe00a3ef68b0f8b3e7370ba6196281
11,758
py
Python
tests/test_enc.py
Roman513/python-xmlsec
4a91bbc352a6eb38f3f2c4dcf35691b985ef9da7
[ "MIT" ]
null
null
null
tests/test_enc.py
Roman513/python-xmlsec
4a91bbc352a6eb38f3f2c4dcf35691b985ef9da7
[ "MIT" ]
null
null
null
tests/test_enc.py
Roman513/python-xmlsec
4a91bbc352a6eb38f3f2c4dcf35691b985ef9da7
[ "MIT" ]
null
null
null
import os import tempfile from lxml import etree import xmlsec from tests import base consts = xmlsec.constants class TestEncryptionContext(base.TestMemoryLeaks): def test_init(self): ctx = xmlsec.EncryptionContext(manager=xmlsec.KeysManager()) del ctx def test_init_no_keys_manager(self): ...
45.929688
128
0.696887
1,405
11,758
5.649822
0.120285
0.024691
0.075334
0.064248
0.817964
0.787478
0.761401
0.746032
0.734694
0.720333
0
0.010466
0.187362
11,758
255
129
46.109804
0.820304
0
0
0.574879
0
0
0.082072
0
0
0
0
0
0.236715
1
0.125604
false
0
0.024155
0
0.154589
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
1adee8c371f0ae47ceaf49652ee8998ada6ad545
10
py
Python
tests/trigger/samples/sample.py
davidaustinarcher/vulnpy
692703dae701197fd42ae7fc5a9d52f05a501550
[ "MIT" ]
7
2021-03-23T17:40:45.000Z
2022-03-14T16:07:27.000Z
tests/trigger/samples/sample.py
davidaustinarcher/vulnpy
692703dae701197fd42ae7fc5a9d52f05a501550
[ "MIT" ]
27
2020-06-29T13:35:45.000Z
2022-01-21T07:10:55.000Z
tests/trigger/samples/sample.py
davidaustinarcher/vulnpy
692703dae701197fd42ae7fc5a9d52f05a501550
[ "MIT" ]
14
2020-07-26T18:23:16.000Z
2022-03-09T13:44:53.000Z
a = 4 - 2
5
9
0.3
3
10
1
1
0
0
0
0
0
0
0
0
0
0
0.4
0.5
10
1
10
10
0.2
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
211605b05bcf3dfcce43336376cc719034263dff
24
py
Python
src/Mosaic/main.py
MarcMDE/Mosaic
ecf7628f23dbc0af4ba774d04fbc321b92065af2
[ "CC0-1.0" ]
null
null
null
src/Mosaic/main.py
MarcMDE/Mosaic
ecf7628f23dbc0af4ba774d04fbc321b92065af2
[ "CC0-1.0" ]
null
null
null
src/Mosaic/main.py
MarcMDE/Mosaic
ecf7628f23dbc0af4ba774d04fbc321b92065af2
[ "CC0-1.0" ]
null
null
null
# TODO: Test img resize
12
23
0.708333
4
24
4.25
1
0
0
0
0
0
0
0
0
0
0
0
0.208333
24
1
24
24
0.894737
0.875
0
null
0
null
0
0
null
0
0
1
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
6
211757f4325fb8154f1bbb43c1c17f0a565c6dfc
54,173
py
Python
code/recnn/model/data_loader.py
SebastianMacaluso/RecNN_PyTorch
bb67898268aa5d8c1cc432bb747602fb0d93d631
[ "MIT" ]
6
2019-04-01T17:53:04.000Z
2020-05-13T17:00:21.000Z
code/recnn/model/data_loader.py
SebastianMacaluso/RecNN_PyTorch_batch
bb67898268aa5d8c1cc432bb747602fb0d93d631
[ "MIT" ]
1
2020-01-09T17:03:16.000Z
2020-01-09T17:03:16.000Z
code/recnn/model/data_loader.py
SebastianMacaluso/RecNN_PyTorch_batch
bb67898268aa5d8c1cc432bb747602fb0d93d631
[ "MIT" ]
6
2019-03-27T18:57:37.000Z
2021-06-10T15:42:15.000Z
""" Classes and functions to load the raw data and create the batches """ import random import numpy as np import os import sys import pickle import gzip import subprocess #import matplotlib as mpl import json import itertools import re import random from sklearn.utils import check_random_state import torch from torch...
44.440525
422
0.579846
7,365
54,173
4.141752
0.062186
0.037077
0.013375
0.009179
0.824646
0.801928
0.791929
0.782455
0.772423
0.761474
0
0.012966
0.236889
54,173
1,219
423
44.440525
0.724915
0.59681
0
0.570423
0
0
0.032391
0
0
0
0
0
0
1
0.032864
false
0
0.042254
0
0.107981
0.051643
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
2141f13b1774a59196a790c150d796b6815c3cf2
162
py
Python
phyluce/tests/test_imports.py
faircloth-lab/phyluce
ae6801a7e749be2fa38513db9846046241d0fd7a
[ "BSD-3-Clause" ]
63
2015-03-16T15:10:17.000Z
2022-02-16T12:36:23.000Z
phyluce/tests/test_imports.py
faircloth-lab/phyluce
ae6801a7e749be2fa38513db9846046241d0fd7a
[ "BSD-3-Clause" ]
253
2015-01-26T13:03:23.000Z
2022-03-15T19:03:05.000Z
phyluce/tests/test_imports.py
faircloth-lab/phyluce
ae6801a7e749be2fa38513db9846046241d0fd7a
[ "BSD-3-Clause" ]
45
2015-01-26T13:09:50.000Z
2021-05-24T04:20:30.000Z
"""Test various imports from packages""" import phyluce def test_phyluce_version(): """Ensure we can successfully import""" assert phyluce.__version__
18
43
0.734568
19
162
5.947368
0.736842
0.247788
0
0
0
0
0
0
0
0
0
0
0.166667
162
8
44
20.25
0.837037
0.419753
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
0
0
0
6
dcbc51fd463d9f5abcd834b580a65017d733399c
14,197
py
Python
src/alert_module.py
fiAnaliz/fiAnaliz
6c617c9ec875b182fa3f26e58701e7ca5aafed2e
[ "MIT" ]
6
2021-05-22T15:12:38.000Z
2021-07-01T13:22:19.000Z
src/alert_module.py
fiAnaliz/fiAnaliz
6c617c9ec875b182fa3f26e58701e7ca5aafed2e
[ "MIT" ]
null
null
null
src/alert_module.py
fiAnaliz/fiAnaliz
6c617c9ec875b182fa3f26e58701e7ca5aafed2e
[ "MIT" ]
3
2021-07-01T12:21:43.000Z
2022-01-19T18:59:11.000Z
# -*- coding: utf-8 -*- import pymysql.cursors import random import requests import time import json import datetime """ Database Connection """ class Database: host = "" user = "" password = "" db = "" charset = "utf8mb4" """ Functions """ def divide_chunks(l, n): # looping till length l...
66.032558
305
0.424174
1,226
14,197
4.927406
0.149266
0.006621
0.051647
0.053634
0.816752
0.808144
0.808144
0.808144
0.803013
0.803013
0
0.018516
0.429386
14,197
214
306
66.341122
0.72275
0.003029
0
0.619289
0
0.071066
0.270462
0.023142
0
0
0
0
0
1
0.010152
false
0.010152
0.030457
0
0.071066
0.010152
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
dce3819b0f14760a423f8359416c9e8a2160dd5b
26
py
Python
grama/eval/__init__.py
natalia-rubio/py_grama
968c1c0238d7165de3b1b96534791feacc4aa960
[ "MIT" ]
13
2020-02-24T16:51:51.000Z
2022-03-30T18:56:55.000Z
grama/eval/__init__.py
natalia-rubio/py_grama
968c1c0238d7165de3b1b96534791feacc4aa960
[ "MIT" ]
78
2019-12-30T19:13:21.000Z
2022-02-23T18:17:54.000Z
grama/eval/__init__.py
natalia-rubio/py_grama
968c1c0238d7165de3b1b96534791feacc4aa960
[ "MIT" ]
7
2020-10-19T17:49:25.000Z
2021-08-15T20:46:52.000Z
from .eval_pyDOE import *
13
25
0.769231
4
26
4.75
1
0
0
0
0
0
0
0
0
0
0
0
0.153846
26
1
26
26
0.863636
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
dcff8e09c7bb46b16444d3bc28acdcc601d0ae41
8,266
py
Python
tests/unit_tests/test_tethys_apps/test_management/test_commands/test_syncstores.py
msouff/tethys
45795d1e6561d5db8fddd838f4d1ae1d91dbb837
[ "BSD-2-Clause" ]
79
2015-10-05T13:13:28.000Z
2022-02-01T12:30:33.000Z
tests/unit_tests/test_tethys_apps/test_management/test_commands/test_syncstores.py
msouff/tethys
45795d1e6561d5db8fddd838f4d1ae1d91dbb837
[ "BSD-2-Clause" ]
542
2015-08-12T22:11:32.000Z
2022-03-29T22:18:08.000Z
tests/unit_tests/test_tethys_apps/test_management/test_commands/test_syncstores.py
msouff/tethys
45795d1e6561d5db8fddd838f4d1ae1d91dbb837
[ "BSD-2-Clause" ]
71
2016-01-16T01:03:41.000Z
2022-03-31T17:55:54.000Z
try: from StringIO import StringIO except ImportError: from io import StringIO import unittest from unittest import mock from argparse import ArgumentParser from tethys_apps.management.commands import syncstores class ManagementCommandsSyncstoresTests(unittest.TestCase): def setUp(self): pass ...
51.024691
117
0.724292
991
8,266
5.677094
0.112008
0.087984
0.134909
0.092784
0.826164
0.78706
0.78706
0.779417
0.767508
0.767508
0
0.011898
0.186547
8,266
161
118
51.341615
0.824807
0.05565
0
0.655738
0
0
0.171821
0.097138
0
0
0
0
0.213115
1
0.065574
false
0.016393
0.057377
0
0.131148
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
0d0ea5cc0134919d03aa7c93e90b818c60d7fed2
96
py
Python
venv/lib/python3.8/site-packages/charset_normalizer/constant.py
GiulianaPola/select_repeats
17a0d053d4f874e42cf654dd142168c2ec8fbd11
[ "MIT" ]
1
2022-02-22T04:49:18.000Z
2022-02-22T04:49:18.000Z
venv/lib/python3.8/site-packages/charset_normalizer/constant.py
GiulianaPola/select_repeats
17a0d053d4f874e42cf654dd142168c2ec8fbd11
[ "MIT" ]
null
null
null
venv/lib/python3.8/site-packages/charset_normalizer/constant.py
GiulianaPola/select_repeats
17a0d053d4f874e42cf654dd142168c2ec8fbd11
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/5b/8b/b6/29e0be44124fe23c5f4cafeb38750444c9de8e8636d558487853a040ac
96
96
0.895833
9
96
9.555556
1
0
0
0
0
0
0
0
0
0
0
0.427083
0
96
1
96
96
0.46875
0
0
0
0
0
0
0
0
1
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
6
0d406fec36b34d8589879d9befbdef5a7dd7579f
41
py
Python
src/qaseio/xcode/__init__.py
qase-tms/qase-xctest
d880cbafa3b69f8535d6ac826aa326c156f4c987
[ "Apache-2.0" ]
null
null
null
src/qaseio/xcode/__init__.py
qase-tms/qase-xctest
d880cbafa3b69f8535d6ac826aa326c156f4c987
[ "Apache-2.0" ]
null
null
null
src/qaseio/xcode/__init__.py
qase-tms/qase-xctest
d880cbafa3b69f8535d6ac826aa326c156f4c987
[ "Apache-2.0" ]
null
null
null
from .qase_exporter import QaseExtractor
20.5
40
0.878049
5
41
7
1
0
0
0
0
0
0
0
0
0
0
0
0.097561
41
1
41
41
0.945946
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b4ccb6a6c5f85a1150db9f75b21e97c48356cad9
79
py
Python
wiremock/base/__init__.py
sp1rs/python-wiremock
b570b0ebc60ac0d873812f21f78f2a8a4353792f
[ "Apache-2.0" ]
22
2017-07-01T14:44:04.000Z
2021-09-08T08:45:21.000Z
wiremock/base/__init__.py
sp1rs/python-wiremock
b570b0ebc60ac0d873812f21f78f2a8a4353792f
[ "Apache-2.0" ]
37
2017-04-24T15:28:27.000Z
2021-09-20T08:58:26.000Z
wiremock/base/__init__.py
sp1rs/python-wiremock
b570b0ebc60ac0d873812f21f78f2a8a4353792f
[ "Apache-2.0" ]
22
2017-04-24T14:58:06.000Z
2021-09-09T09:22:31.000Z
from .base_entity import * from .base_resource import BaseResource, RestClient
26.333333
51
0.835443
10
79
6.4
0.7
0.25
0
0
0
0
0
0
0
0
0
0
0.113924
79
2
52
39.5
0.914286
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b4ed2c3780d9b244b6ed69369f2ac5b827021da3
33
py
Python
alignments/components/__init__.py
Roxot/m-to-m-alignments
f45aaa2132ceb709d948e9db8dc2669678ba5527
[ "MIT" ]
null
null
null
alignments/components/__init__.py
Roxot/m-to-m-alignments
f45aaa2132ceb709d948e9db8dc2669678ba5527
[ "MIT" ]
null
null
null
alignments/components/__init__.py
Roxot/m-to-m-alignments
f45aaa2132ceb709d948e9db8dc2669678ba5527
[ "MIT" ]
null
null
null
from .encoders import RNNEncoder
16.5
32
0.848485
4
33
7
1
0
0
0
0
0
0
0
0
0
0
0
0.121212
33
1
33
33
0.965517
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
3717cec29a070420979983c0cc33f985c3457474
7,842
py
Python
tests/block_patterns_test.py
vcamp314/schemed-parsing
13cfb4a720af533be640afcda2b9731dca2c843a
[ "MIT" ]
null
null
null
tests/block_patterns_test.py
vcamp314/schemed-parsing
13cfb4a720af533be640afcda2b9731dca2c843a
[ "MIT" ]
null
null
null
tests/block_patterns_test.py
vcamp314/schemed-parsing
13cfb4a720af533be640afcda2b9731dca2c843a
[ "MIT" ]
null
null
null
import os import pytest from .context import schemedparsing # the below two lines are for pip installing with test option and when # the tests will open files: CURRENT_DIR = os.path.dirname(os.path.realpath(__file__)) os.chdir(CURRENT_DIR) def test_block_extraction_empty_patterns_returns_empty_list(): txt_gen = ...
27.515789
115
0.485973
665
7,842
5.37594
0.138346
0.05035
0.048951
0.083916
0.858741
0.80951
0.780979
0.764476
0.734266
0.701259
0
0.014565
0.387146
7,842
285
116
27.515789
0.729297
0.012114
0
0.505837
0
0
0.28328
0
0
0
0
0
0.054475
1
0.031128
false
0
0.097276
0.003891
0.132296
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
2ea3142306eb2f8afe86bfbbc9b131c81502e829
3,985
py
Python
基础教程/A2-神经网络基本原理/第8步 - 卷积神经网络/src/ch17-CNNBasic/Level4_Col2Img_Test.py
microsoft/ai-edu
2f59fa4d3cf19f14e0b291e907d89664bcdc8df3
[ "Apache-2.0" ]
11,094
2019-05-07T02:48:50.000Z
2022-03-31T08:49:42.000Z
基础教程/A2-神经网络基本原理/第8步 - 卷积神经网络/src/ch17-CNNBasic/Level4_Col2Img_Test.py
microsoft/ai-edu
2f59fa4d3cf19f14e0b291e907d89664bcdc8df3
[ "Apache-2.0" ]
157
2019-05-13T15:07:19.000Z
2022-03-23T08:52:32.000Z
基础教程/A2-神经网络基本原理/第8步 - 卷积神经网络/src/ch17-CNNBasic/Level4_Col2Img_Test.py
microsoft/ai-edu
2f59fa4d3cf19f14e0b291e907d89664bcdc8df3
[ "Apache-2.0" ]
2,412
2019-05-07T02:55:15.000Z
2022-03-30T06:56:52.000Z
# Copyright (c) Microsoft. All rights reserved. # Licensed under the MIT license. See LICENSE file in the project root for full license information. import numpy import numba import time from MiniFramework.ConvWeightsBias import * from MiniFramework.ConvLayer import * from MiniFramework.HyperParameters_4_2 import * ...
38.68932
149
0.676286
637
3,985
3.985871
0.145997
0.05514
0.042536
0.072469
0.771957
0.771957
0.771957
0.771957
0.771957
0.771957
0
0.022393
0.181932
3,985
102
150
39.068627
0.756442
0.040652
0
0.752941
0
0
0.049764
0
0
0
0
0
0
1
0.035294
false
0
0.070588
0
0.117647
0.258824
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
2eaede119bad76a2653fb34175a24c2928e809e2
203
py
Python
python/testData/inspections/PyArgumentListInspection/xRange.py
teddywest32/intellij-community
e0268d7a1da1d318b441001448cdd3e8929b2f29
[ "Apache-2.0" ]
null
null
null
python/testData/inspections/PyArgumentListInspection/xRange.py
teddywest32/intellij-community
e0268d7a1da1d318b441001448cdd3e8929b2f29
[ "Apache-2.0" ]
11
2017-02-27T22:35:32.000Z
2021-12-24T08:07:40.000Z
python/testData/inspections/PyArgumentListInspection/xRange.py
teddywest32/intellij-community
e0268d7a1da1d318b441001448cdd3e8929b2f29
[ "Apache-2.0" ]
1
2020-11-27T10:36:50.000Z
2020-11-27T10:36:50.000Z
print(xrange(<warning descr="Parameter 'start' unfilled">)</warning>) print(xrange(1)) print(xrange(1, 2)) print(xrange(1, 2, 3)) print(xrange(1, 2, 3, <warning descr="Unexpected argument">4</warning>))
33.833333
72
0.704433
31
203
4.612903
0.419355
0.384615
0.335664
0.272727
0.195804
0
0
0
0
0
0
0.053476
0.078818
203
5
73
40.6
0.71123
0
0
0
0
0
0.221675
0
0
0
0
0
0
0
null
null
0
0
null
null
1
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
1
0
0
0
0
0
0
1
0
6
2ecf9cb187b70dc9ada1b47f66b830606b603579
22
py
Python
pizza.py
gray-adeyi/pizza
659db6e85492903374416295cc3ca3a78584eccb
[ "MIT" ]
null
null
null
pizza.py
gray-adeyi/pizza
659db6e85492903374416295cc3ca3a78584eccb
[ "MIT" ]
null
null
null
pizza.py
gray-adeyi/pizza
659db6e85492903374416295cc3ca3a78584eccb
[ "MIT" ]
1
2022-03-17T00:54:27.000Z
2022-03-17T00:54:27.000Z
from pizza import cli
11
21
0.818182
4
22
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.181818
22
1
22
22
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
2edf50feb3c2ff65d1609302023b0421c113f1cf
21
py
Python
models/__init__.py
jack-willturner/fbnet_without_training
2dba276121b34cb4e252492f116a21637e75e442
[ "MIT" ]
null
null
null
models/__init__.py
jack-willturner/fbnet_without_training
2dba276121b34cb4e252492f116a21637e75e442
[ "MIT" ]
null
null
null
models/__init__.py
jack-willturner/fbnet_without_training
2dba276121b34cb4e252492f116a21637e75e442
[ "MIT" ]
null
null
null
from .fbnet import *
10.5
20
0.714286
3
21
5
1
0
0
0
0
0
0
0
0
0
0
0
0.190476
21
1
21
21
0.882353
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
2c14dc0154155e2ba30c4a79d35447372e773e13
144
py
Python
controller/__init__.py
ivohutasoit/onanplus-service
28ec5efce228b3379d5cada04bf1626b16fc55e0
[ "MIT" ]
null
null
null
controller/__init__.py
ivohutasoit/onanplus-service
28ec5efce228b3379d5cada04bf1626b16fc55e0
[ "MIT" ]
null
null
null
controller/__init__.py
ivohutasoit/onanplus-service
28ec5efce228b3379d5cada04bf1626b16fc55e0
[ "MIT" ]
null
null
null
from .price_controller import price_controller from .product_controller import product_controller from .store_controller import store_controller
48
50
0.902778
18
144
6.888889
0.333333
0.387097
0
0
0
0
0
0
0
0
0
0
0.076389
144
3
51
48
0.932331
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
2c2ebe8bee0cbf3a09201aee150aaad32813763f
28,428
py
Python
Boundaries.py
Basistransformoptimusprime/Particle_in_a_Box
61c8587cc449cb0d0d0b6aaa499a524a9133fbca
[ "MIT" ]
1
2021-05-30T19:39:44.000Z
2021-05-30T19:39:44.000Z
Boundaries.py
Basistransformoptimusprime/Particle_in_a_Box
61c8587cc449cb0d0d0b6aaa499a524a9133fbca
[ "MIT" ]
null
null
null
Boundaries.py
Basistransformoptimusprime/Particle_in_a_Box
61c8587cc449cb0d0d0b6aaa499a524a9133fbca
[ "MIT" ]
null
null
null
from __future__ import annotations from Backend import * from scipy.optimize import fsolve from scipy.optimize import brentq from scipy.integrate import quad from scipy.misc import derivative import warnings class Symmetric_Boundary(New_Style_Boundary): def __init__(self, L: float, gamma: float, theta: floa...
42.366617
220
0.574504
4,650
28,428
3.230538
0.044516
0.028625
0.032219
0.030555
0.865065
0.844761
0.824857
0.80888
0.787711
0.767142
0
0.024624
0.284297
28,428
670
221
42.429851
0.713703
0.02881
0
0.639752
0
0
0.011126
0
0
0
0
0
0
1
0.118012
false
0.00207
0.014493
0.026915
0.3147
0.00207
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
25cd27caf895f841992a27aabb00613836fcc1a2
2,033
py
Python
rt-smart/tools/host.py
dengchow/rt_smart_imx6ull-
4d9879e3d543a4e4ddd4b73ce0d30668127f5c5a
[ "Apache-2.0" ]
null
null
null
rt-smart/tools/host.py
dengchow/rt_smart_imx6ull-
4d9879e3d543a4e4ddd4b73ce0d30668127f5c5a
[ "Apache-2.0" ]
null
null
null
rt-smart/tools/host.py
dengchow/rt_smart_imx6ull-
4d9879e3d543a4e4ddd4b73ce0d30668127f5c5a
[ "Apache-2.0" ]
2
2021-11-10T12:07:35.000Z
2022-01-17T14:24:56.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # File : building.py # This file is part of RT-Thread RTOS # COPYRIGHT (C) 2006 - 2019, RT-Thread Development Team # # Change Logs: # Date Author Notes # 2019-05-26 Bernard The first version # import os import sys import string import pdb ...
26.402597
73
0.602066
218
2,033
5.568807
0.412844
0.059308
0.042834
0.056013
0.746293
0.746293
0.746293
0.746293
0.746293
0.746293
0
0.012916
0.276439
2,033
76
74
26.75
0.812373
0.165765
0
0.75
0
0
0.136067
0
0
0
0
0
0
1
0.041667
false
0
0.166667
0
0.25
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
25dbe4ce2de2aabfbf836cca40d9a58fb7d3da5d
7,181
py
Python
workspace/module/python-2.7/LxData/datObjects/_datObjData.py
no7hings/Lynxi
43c745198a714c2e5aca86c6d7a014adeeb9abf7
[ "MIT" ]
2
2018-03-06T03:33:55.000Z
2019-03-26T03:25:11.000Z
workspace/module/python-2.7/LxData/datObjects/_datObjData.py
no7hings/lynxi
43c745198a714c2e5aca86c6d7a014adeeb9abf7
[ "MIT" ]
null
null
null
workspace/module/python-2.7/LxData/datObjects/_datObjData.py
no7hings/lynxi
43c745198a714c2e5aca86c6d7a014adeeb9abf7
[ "MIT" ]
null
null
null
# coding:utf-8 from .. import datCfg, datObjAbs class _Dat_Digit(datObjAbs.Abs_DatData): def __add__(self, other): """ :param other: object of "Data" :return: number """ assert isinstance(other.raw(), self.VAR_dat__raw__rawtype_pattern), u'Argument Error, "arg" Must "VAR_da...
24.762069
138
0.617602
917
7,181
4.293348
0.087241
0.082296
0.08001
0.089408
0.888494
0.836678
0.822454
0.822454
0.822454
0.822454
0
0.01161
0.280323
7,181
289
139
24.847751
0.750194
0.168361
0
0.577236
0
0
0.048859
0.024146
0
0
0
0
0.03252
1
0.170732
false
0
0.00813
0.00813
0.821138
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
d333c1deb3ffa5af5f93133be20dd1f2474017f9
774
py
Python
tests/formatters/test_core.py
Arent128/npc
c8a1e227a1d4d7c540c4f4427b611ffc290535ee
[ "MIT" ]
13
2016-02-23T08:15:22.000Z
2021-07-17T20:54:57.000Z
tests/formatters/test_core.py
Arent128/npc
c8a1e227a1d4d7c540c4f4427b611ffc290535ee
[ "MIT" ]
1
2017-03-30T08:11:40.000Z
2017-09-07T15:01:08.000Z
tests/formatters/test_core.py
Arent128/npc
c8a1e227a1d4d7c540c4f4427b611ffc290535ee
[ "MIT" ]
1
2020-02-21T09:44:40.000Z
2020-02-21T09:44:40.000Z
import npc import pytest def test_listing_formatter(): formatter = npc.formatters.get_listing_formatter('markdown') assert formatter == npc.formatters.markdown.listing formatter = npc.formatters.get_listing_formatter('html') assert formatter == npc.formatters.html.listing formatter = npc.formatters...
40.736842
64
0.770026
90
774
6.444444
0.155556
0.248276
0.455172
0.258621
0.894828
0.863793
0.755172
0
0
0
0
0
0.129199
774
18
65
43
0.860534
0
0
0
0
0
0.041344
0
0
0
0
0
0.375
1
0.125
false
0
0.125
0
0.25
0
0
0
0
null
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
d36b1b8d7f2d60f43bdee39d6e5cbbca107f625e
5,210
py
Python
tests/test_selenium.py
mkhumtai/6CCS3PRJ
c7d5bedf9529f6e2b7a57e102761716c11f961c8
[ "MIT" ]
null
null
null
tests/test_selenium.py
mkhumtai/6CCS3PRJ
c7d5bedf9529f6e2b7a57e102761716c11f961c8
[ "MIT" ]
null
null
null
tests/test_selenium.py
mkhumtai/6CCS3PRJ
c7d5bedf9529f6e2b7a57e102761716c11f961c8
[ "MIT" ]
null
null
null
from selenium import webdriver import os # Setup selenium driver def test_setup(): PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__)) DRIVER_BIN = os.path.join(PROJECT_ROOT, "chromedriver_mac") global driver #driver = webdriver.Chrome('chromedriver_mac') driver = webdriver.Chrome(executable...
42.704918
87
0.732821
745
5,210
4.877852
0.174497
0.101816
0.173088
0.193451
0.759769
0.759769
0.73005
0.721244
0.701431
0.690149
0
0.034535
0.116315
5,210
121
88
43.057851
0.754778
0.114779
0
0.647727
0
0
0.337174
0.054348
0
0
0
0
0.090909
1
0.125
false
0.045455
0.022727
0
0.147727
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
0
0
0
0
0
0
0
0
0
0
6
d3a34210881e07e14dc11529a4498357c5533cea
143
py
Python
ex10_drills.py
shanukk27/learn-python
cb7d76db00101a3ad96858f9a2f9593b5a8c3f93
[ "Apache-2.0" ]
null
null
null
ex10_drills.py
shanukk27/learn-python
cb7d76db00101a3ad96858f9a2f9593b5a8c3f93
[ "Apache-2.0" ]
null
null
null
ex10_drills.py
shanukk27/learn-python
cb7d76db00101a3ad96858f9a2f9593b5a8c3f93
[ "Apache-2.0" ]
null
null
null
family_members = "\nKoyakutty\nFathima\nShinu\nShynu\nArif\nReyah\nShanu\nNasri" print("My family members are: {}".format(family_members))
35.75
81
0.769231
18
143
6
0.777778
0.361111
0
0
0
0
0
0
0
0
0
0
0.083916
143
3
82
47.666667
0.824427
0
0
0
0
0
0.614286
0.435714
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
1
0
6
6ca948e5b1f96d3d024b87ee65402b6be10714d4
1,369
py
Python
models/cog.py
Minigrim0/MACS_VUBot
776c2a6586cf3d54272f72e187e2efc91210cf4e
[ "MIT" ]
null
null
null
models/cog.py
Minigrim0/MACS_VUBot
776c2a6586cf3d54272f72e187e2efc91210cf4e
[ "MIT" ]
1
2021-11-14T14:35:53.000Z
2021-11-14T15:32:29.000Z
models/cog.py
Minigrim0/MACS_VUBot
776c2a6586cf3d54272f72e187e2efc91210cf4e
[ "MIT" ]
1
2021-11-14T14:37:07.000Z
2021-11-14T14:37:07.000Z
from discord.ext import commands from discord.ext.commands import Context from models.client import MaxVUBot class CommandCog(commands.Cog): @commands.command() async def pls_pin(self, ctx: Context): message_reference: Optional[discord.MessageReference] = ctx.message.reference if not message_...
44.16129
106
0.707816
180
1,369
5.25
0.316667
0.169312
0.050794
0.048677
0.831746
0.77672
0.77672
0.77672
0.77672
0.77672
0
0.003777
0.226443
1,369
30
107
45.633333
0.888574
0.089847
0
0.615385
0
0
0.128721
0
0
0
0
0
0
1
0
false
0
0.115385
0
0.230769
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
9f4ae343e7d053c7246ff591f8a06402f34e5515
276
py
Python
flake8_pie/test_utils.py
sbdchd/flake8-pie
96ae441d92abe64b23e1c37b0eb15778434000cc
[ "BSD-2-Clause" ]
23
2019-01-25T14:58:20.000Z
2022-03-27T02:20:01.000Z
flake8_pie/test_utils.py
sbdchd/flake8-assign-and-return
96ae441d92abe64b23e1c37b0eb15778434000cc
[ "BSD-2-Clause" ]
50
2019-04-17T02:37:01.000Z
2022-03-27T02:19:53.000Z
flake8_pie/test_utils.py
sbdchd/flake8-assign-and-return
96ae441d92abe64b23e1c37b0eb15778434000cc
[ "BSD-2-Clause" ]
5
2019-02-21T07:29:12.000Z
2021-11-06T21:01:26.000Z
from flake8_pie.utils import pairwise def test_pairwise() -> None: assert list(pairwise([1])) == [(1, None)] assert list(pairwise([])) == [] assert list(pairwise([1, 2])) == [(1, 2), (2, None)] assert list(pairwise([1, 2, 3])) == [(1, 2), (2, 3), (3, None)]
30.666667
67
0.550725
40
276
3.75
0.35
0.266667
0.48
0.44
0.446667
0
0
0
0
0
0
0.072072
0.195652
276
8
68
34.5
0.603604
0
0
0
0
0
0
0
0
0
0
0
0.666667
1
0.166667
true
0
0.166667
0
0.333333
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
6
9f557c14f4347f6753f5f3c3292b5bfda4a23936
4,633
py
Python
batch_test_accuracies.py
Big-Data-Course-Team/Machine-Learning-with-Spark-Streaming
40cbddaa079b7de6c9501951a119ba6fee18ed50
[ "MIT" ]
null
null
null
batch_test_accuracies.py
Big-Data-Course-Team/Machine-Learning-with-Spark-Streaming
40cbddaa079b7de6c9501951a119ba6fee18ed50
[ "MIT" ]
null
null
null
batch_test_accuracies.py
Big-Data-Course-Team/Machine-Learning-with-Spark-Streaming
40cbddaa079b7de6c9501951a119ba6fee18ed50
[ "MIT" ]
1
2021-12-29T08:56:31.000Z
2021-12-29T08:56:31.000Z
import pickle import json import importlib import matplotlib.pyplot as plt import numpy as np import os import warnings warnings.filterwarnings("ignore") import argparse plt.rcParams.update({'figure.figsize':(14, 10), 'figure.dpi':100}) plt.rcParams.update({'font.size': 14}) acc_file_1 = open('Batch_1000/test_eval_...
32.626761
66
0.742715
904
4,633
3.464602
0.084071
0.167625
0.033525
0.046935
0.925287
0.925287
0.925287
0.893678
0.893678
0.866858
0
0.069297
0.102957
4,633
141
67
32.858156
0.684312
0
0
0.672897
0
0
0.260475
0.161987
0
0
0
0
0
1
0
false
0
0.074766
0
0.074766
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
9f5d9d483eb8eb7488cb5fe3654317c8666dd3cd
81
py
Python
snippets/numpy/lib/__init__.py
oojBuffalo/micropython-ulab
4407bec88c3a7585ffbdfdd98e72bed12329ff3c
[ "MIT" ]
1
2022-03-07T08:54:35.000Z
2022-03-07T08:54:35.000Z
snippets/numpy/lib/__init__.py
oojBuffalo/micropython-ulab
4407bec88c3a7585ffbdfdd98e72bed12329ff3c
[ "MIT" ]
null
null
null
snippets/numpy/lib/__init__.py
oojBuffalo/micropython-ulab
4407bec88c3a7585ffbdfdd98e72bed12329ff3c
[ "MIT" ]
null
null
null
from .function_base import * from .polynomial import * from .type_check import *
20.25
28
0.777778
11
81
5.545455
0.636364
0.327869
0
0
0
0
0
0
0
0
0
0
0.148148
81
4
29
20.25
0.884058
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
9f9e60f0bd92015c665951a32bf941313ff54b3c
46
py
Python
scan_models/modbus/__init__.py
ssdemajia/ids-backend
188af247befa44596f62c660c24b05474d1ba29f
[ "MIT" ]
1
2020-05-22T09:52:33.000Z
2020-05-22T09:52:33.000Z
scan_models/modbus/__init__.py
ssdemajia/ids-backend
188af247befa44596f62c660c24b05474d1ba29f
[ "MIT" ]
8
2021-03-18T21:22:40.000Z
2022-03-11T23:32:48.000Z
scan_models/modbus/__init__.py
ssdemajia/ids-backend
188af247befa44596f62c660c24b05474d1ba29f
[ "MIT" ]
null
null
null
from .scan import modbus_resolve, modbus_scan
23
45
0.847826
7
46
5.285714
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.108696
46
1
46
46
0.902439
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4c8f8ce6ca0385b16b24e39502594550208f0d52
84
py
Python
vk_dialog_backuper/__main__.py
r4rdsn/vk-dialog-backuper
046466f0eaadeeeec4f147062604571ac4666af2
[ "MIT" ]
1
2020-09-07T00:55:13.000Z
2020-09-07T00:55:13.000Z
vk_dialog_backuper/__main__.py
r4rdsn/vk-dialog-backuper
046466f0eaadeeeec4f147062604571ac4666af2
[ "MIT" ]
null
null
null
vk_dialog_backuper/__main__.py
r4rdsn/vk-dialog-backuper
046466f0eaadeeeec4f147062604571ac4666af2
[ "MIT" ]
null
null
null
import vk_dialog_backuper if __name__ == '__main__': vk_dialog_backuper.main()
16.8
29
0.761905
11
84
4.727273
0.636364
0.307692
0.615385
0
0
0
0
0
0
0
0
0
0.142857
84
4
30
21
0.722222
0
0
0
0
0
0.095238
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
4c9c287823d32ac61bb3a69fa99170b12f074f58
138
py
Python
dist_zero/cgen/__init__.py
koreiklein/dist_zero
68ef5a0603edc53925daeec1f4bb684025cacbd4
[ "Unlicense" ]
1
2019-03-18T13:27:35.000Z
2019-03-18T13:27:35.000Z
dist_zero/cgen/__init__.py
koreiklein/dist_zero
68ef5a0603edc53925daeec1f4bb684025cacbd4
[ "Unlicense" ]
null
null
null
dist_zero/cgen/__init__.py
koreiklein/dist_zero
68ef5a0603edc53925daeec1f4bb684025cacbd4
[ "Unlicense" ]
null
null
null
from .expression import * from .statement import * from .lvalue import * from .program import * from .type import * from .common import *
19.714286
25
0.73913
18
138
5.666667
0.444444
0.490196
0
0
0
0
0
0
0
0
0
0
0.173913
138
6
26
23
0.894737
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
e25ca50c1dfeb91062f7dbb04357e12e791a6ea6
41
py
Python
kuwala/pipelines/google-poi/src/__init__.py
bmahmoudyan/kuwala
7951ed49ac1c31c874a4446bb4661152c4d69c90
[ "Apache-2.0" ]
381
2021-04-08T13:04:57.000Z
2022-03-29T09:49:46.000Z
kuwala/pipelines/google-poi/src/__init__.py
bmahmoudyan/kuwala
7951ed49ac1c31c874a4446bb4661152c4d69c90
[ "Apache-2.0" ]
92
2021-04-20T12:28:40.000Z
2022-03-30T17:55:36.000Z
kuwala/pipelines/google-poi/src/__init__.py
bmahmoudyan/kuwala
7951ed49ac1c31c874a4446bb4661152c4d69c90
[ "Apache-2.0" ]
27
2021-04-26T17:52:32.000Z
2022-03-21T19:36:34.000Z
import nest_asyncio nest_asyncio.apply()
13.666667
20
0.853659
6
41
5.5
0.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0.073171
41
2
21
20.5
0.868421
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
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
e284e5b1f47084f129d877cd99c5f21af12375e7
208
py
Python
examples/coolColumns.py
jsharf/Hexagons
d9f295c39262e4eaf3f98db3cef872b9ecf37c49
[ "MIT" ]
null
null
null
examples/coolColumns.py
jsharf/Hexagons
d9f295c39262e4eaf3f98db3cef872b9ecf37c49
[ "MIT" ]
null
null
null
examples/coolColumns.py
jsharf/Hexagons
d9f295c39262e4eaf3f98db3cef872b9ecf37c49
[ "MIT" ]
null
null
null
Column(-300, 50) Column(-170, 50) Column(-160, 50) Column(-150, 50) Column(-20, 50) Column(-10, 50) Column(0, 50) Column(10, 50) Column(20, 50) Column(150, 50) Column(160, 50) Column(170, 50) Column(300, 50)
14.857143
16
0.658654
39
208
3.512821
0.230769
0.70073
0.160584
0.189781
0.890511
0
0
0
0
0
0
0.324176
0.125
208
13
17
16
0.428571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
1
0
1
1
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
e2b63ba9c5d56976a7cbe15ed293468a106bb15b
75
py
Python
tests/run_flake8/bytes.py
10sr/flake8-no-implicit-concat
11db2327ffc122d9481c6e03a77cf62b1dc85d25
[ "MIT" ]
15
2020-05-21T19:39:58.000Z
2022-03-22T11:04:12.000Z
tests/run_flake8/bytes.py
10sr/flake8-no-implicit-concat
11db2327ffc122d9481c6e03a77cf62b1dc85d25
[ "MIT" ]
43
2020-05-20T05:19:20.000Z
2021-11-25T05:34:51.000Z
tests/run_flake8/bytes.py
10sr/flake8-no-implicit-concat
11db2327ffc122d9481c6e03a77cf62b1dc85d25
[ "MIT" ]
1
2020-08-25T23:04:08.000Z
2020-08-25T23:04:08.000Z
a = b"aaa" b"bbb" b = [b"aaa", b"bbb" b"ccc"] c = rb"aaa" b"bbb"
12.5
18
0.426667
17
75
1.882353
0.411765
0.375
0.65625
0.5
0.5625
0
0
0
0
0
0
0
0.306667
75
5
19
15
0.615385
0
0
0
0
0
0.28
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
1
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
2c78607fc802cad1bdf3d94a15ab0a3978c6ad29
41
py
Python
mystring/__init__.py
lamter/mydealutil
26934e6e61b40327cb9cabc43e41cd01caf5bd2b
[ "MIT" ]
null
null
null
mystring/__init__.py
lamter/mydealutil
26934e6e61b40327cb9cabc43e41cd01caf5bd2b
[ "MIT" ]
null
null
null
mystring/__init__.py
lamter/mydealutil
26934e6e61b40327cb9cabc43e41cd01caf5bd2b
[ "MIT" ]
null
null
null
# coding: utf-8 from .mystring import *
10.25
23
0.682927
6
41
4.666667
1
0
0
0
0
0
0
0
0
0
0
0.030303
0.195122
41
3
24
13.666667
0.818182
0.317073
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
2c820a57f530bbb56c5243e8f2c0b550a2974865
151
py
Python
src/test/anovos/drift/test_distances.py
dattranm/anovos
817378c810b2260e85794ef473c3080efabc34ca
[ "Apache-2.0" ]
null
null
null
src/test/anovos/drift/test_distances.py
dattranm/anovos
817378c810b2260e85794ef473c3080efabc34ca
[ "Apache-2.0" ]
3
2022-02-28T18:22:39.000Z
2022-03-28T18:17:46.000Z
src/test/anovos/drift/test_distances.py
dattranm/anovos
817378c810b2260e85794ef473c3080efabc34ca
[ "Apache-2.0" ]
null
null
null
import pytest import numpy as np from anovos.drift.distances import hellinger, psi, js_divergence, kl_divergence, ks def test_hellinger(): pass
16.777778
83
0.781457
22
151
5.227273
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.15894
151
8
84
18.875
0.905512
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
true
0.2
0.6
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
3940435e33101f147fa943bc767f608b929fa1ad
110
py
Python
alpaca/utils/__init__.py
kra5h/alpaca
0e014f12bfa6601e5bb2c57c4da083c270560d6c
[ "Apache-2.0" ]
14
2020-03-04T14:16:23.000Z
2021-12-26T17:47:55.000Z
alpaca/utils/__init__.py
kra5h/alpaca
0e014f12bfa6601e5bb2c57c4da083c270560d6c
[ "Apache-2.0" ]
5
2020-07-07T15:27:57.000Z
2020-11-09T14:11:06.000Z
alpaca/utils/__init__.py
kra5h/alpaca
0e014f12bfa6601e5bb2c57c4da083c270560d6c
[ "Apache-2.0" ]
5
2020-03-14T18:27:53.000Z
2021-12-26T17:49:18.000Z
from . import datasets from . import ue_metrics from . import dimension_reduction from . import model_builder
22
33
0.818182
15
110
5.8
0.6
0.45977
0
0
0
0
0
0
0
0
0
0
0.145455
110
4
34
27.5
0.925532
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
394f96a5ee3621dd59afdf09917e0c02cee00c42
25
py
Python
bruges/models/__init__.py
hyperiongeo/bruges
6d9a3aae86aaa53107caaa20e9aafa390358b0f8
[ "Apache-2.0" ]
null
null
null
bruges/models/__init__.py
hyperiongeo/bruges
6d9a3aae86aaa53107caaa20e9aafa390358b0f8
[ "Apache-2.0" ]
null
null
null
bruges/models/__init__.py
hyperiongeo/bruges
6d9a3aae86aaa53107caaa20e9aafa390358b0f8
[ "Apache-2.0" ]
null
null
null
from .wedge import wedge
12.5
24
0.8
4
25
5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.16
25
1
25
25
0.952381
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
395249463c197603056a294813a673d6fb0e7f3a
47
py
Python
vigilance/default_suites/__init__.py
wilstoff/vigilance
0947ed5256ae54e941f4b57915395f6fe70ca58a
[ "MIT" ]
1
2019-02-09T01:11:12.000Z
2019-02-09T01:11:12.000Z
vigilance/default_suites/__init__.py
wilstoff/vigilance
0947ed5256ae54e941f4b57915395f6fe70ca58a
[ "MIT" ]
null
null
null
vigilance/default_suites/__init__.py
wilstoff/vigilance
0947ed5256ae54e941f4b57915395f6fe70ca58a
[ "MIT" ]
2
2018-04-21T04:38:43.000Z
2022-03-02T22:34:07.000Z
"""@defgroup default_suites default_suites """
15.666667
42
0.765957
5
47
6.8
0.6
0.764706
0
0
0
0
0
0
0
0
0
0
0.085106
47
2
43
23.5
0.790698
0.829787
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
20066b121ae0abdd0c7da7fabf1b1bda94af7424
185
py
Python
avalanche/benchmarks/utils/__init__.py
lrzpellegrini/avalanche_pre_public
522019a55ce08b92c1ec74b508a8ea6ae8751dfd
[ "MIT" ]
12
2021-04-16T15:49:59.000Z
2022-02-27T18:04:58.000Z
avalanche/benchmarks/utils/__init__.py
lrzpellegrini/avalanche_pre_public
522019a55ce08b92c1ec74b508a8ea6ae8751dfd
[ "MIT" ]
null
null
null
avalanche/benchmarks/utils/__init__.py
lrzpellegrini/avalanche_pre_public
522019a55ce08b92c1ec74b508a8ea6ae8751dfd
[ "MIT" ]
2
2021-06-22T04:11:52.000Z
2021-11-12T03:27:18.000Z
from .utils import * from .dataset_utils import IDataset, IDatasetWithTargets from .avalanche_dataset import * from .datasets_from_filelists import * from .torchvision_wrapper import *
30.833333
56
0.832432
22
185
6.772727
0.5
0.201342
0
0
0
0
0
0
0
0
0
0
0.113514
185
5
57
37
0.908537
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
200676a9830be1f0220554c67dfaa65e76a4a71b
207
py
Python
flask_dance/consumer/__init__.py
timgates42/flask-dance
ebe3ea48d3263136e18ccea37e50292b7c503c67
[ "MIT" ]
836
2015-01-11T23:01:58.000Z
2022-03-28T07:32:52.000Z
flask_dance/consumer/__init__.py
timgates42/flask-dance
ebe3ea48d3263136e18ccea37e50292b7c503c67
[ "MIT" ]
353
2015-02-11T00:32:58.000Z
2022-03-28T14:45:38.000Z
flask_dance/consumer/__init__.py
timgates42/flask-dance
ebe3ea48d3263136e18ccea37e50292b7c503c67
[ "MIT" ]
189
2015-03-10T15:04:29.000Z
2022-03-16T21:49:11.000Z
from .oauth1 import OAuth1ConsumerBlueprint from .oauth2 import OAuth2ConsumerBlueprint from .base import oauth_authorized, oauth_before_login, oauth_error from .requests import OAuth1Session, OAuth2Session
41.4
67
0.874396
23
207
7.695652
0.652174
0
0
0
0
0
0
0
0
0
0
0.031915
0.091787
207
4
68
51.75
0.909574
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
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
1
0
6
200f042d8fd57535c0b33ee54e02a3a240d5f8b9
27
py
Python
src/gui/telegrambot/tlgbotcore/sqliteutils/__init__.py
kaefik/wtf
74a4e12e0303fc1341838541a418fee011f2d9a7
[ "MIT" ]
null
null
null
src/gui/telegrambot/tlgbotcore/sqliteutils/__init__.py
kaefik/wtf
74a4e12e0303fc1341838541a418fee011f2d9a7
[ "MIT" ]
null
null
null
src/gui/telegrambot/tlgbotcore/sqliteutils/__init__.py
kaefik/wtf
74a4e12e0303fc1341838541a418fee011f2d9a7
[ "MIT" ]
null
null
null
from .sqliteutils import *
13.5
26
0.777778
3
27
7
1
0
0
0
0
0
0
0
0
0
0
0
0.148148
27
1
27
27
0.913043
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
645082fdf189a0fc2f989a8aa63d4f1bc824a374
3,876
py
Python
BHP-Code/Chapter9/decryptor.py
yangtze736/Snake
e47f89bec994352562e9e171b2d640d0aa8621b0
[ "MIT" ]
6
2021-12-07T21:02:12.000Z
2022-03-03T12:08:14.000Z
BHP-Code/Chapter9/decryptor.py
yangtze736/Snake
e47f89bec994352562e9e171b2d640d0aa8621b0
[ "MIT" ]
15
2020-01-28T22:25:10.000Z
2022-03-11T23:21:02.000Z
BHP-Code/Chapter9/decryptor.py
yangtze736/Snake
e47f89bec994352562e9e171b2d640d0aa8621b0
[ "MIT" ]
1
2022-01-15T23:57:36.000Z
2022-01-15T23:57:36.000Z
import zlib import base64 from Crypto.PublicKey import RSA from Crypto.Cipher import PKCS1_OAEP encrypted = """XxfaX7nfQ48K+l0rXM3tQf3ShFcytAQ4sLe6vn8bWdreho4riaJ5Dy5PeijSKbsgWSMoeZLmihxb0YAFgCaIp11AUl4kmIiY+c+8LJonbTTembxv98GePM1SEme5/vMwGORJilw+rTdORSHzwbC56sw5NG8KosgLWwHEGEGbhii2qBkuyQrIc9ydoOKKCe0ofTRnaI2c/lb9Ot3...
74.538462
1,726
0.926987
183
3,876
19.612022
0.808743
0.011145
0.007244
0
0
0
0
0
0
0
0
0.140957
0.029928
3,876
52
1,727
74.538462
0.813564
0.007482
0
0
0
0.02381
0.880395
0.858034
0
1
0
0
0
0
null
null
0
0.119048
null
null
0.02381
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
null
1
0
0
0
1
0
0
0
0
0
0
0
0
6
6451a0214449a4edee70920c97ceea448c2cd0bf
2,315
py
Python
mdp/policy_iteration.py
diegocom/ai_implementation
f32227589649a148b002aedf477c2e8803efb7bf
[ "MIT" ]
null
null
null
mdp/policy_iteration.py
diegocom/ai_implementation
f32227589649a148b002aedf477c2e8803efb7bf
[ "MIT" ]
null
null
null
mdp/policy_iteration.py
diegocom/ai_implementation
f32227589649a148b002aedf477c2e8803efb7bf
[ "MIT" ]
null
null
null
import numpy as np import gym import gym_ai_lab import mdps.planning as mdp from timeit import default_timer as timer # Learning parameters delta = 1e-3 gamma = 0.9 pmaxiters = 50 # Max number of policy improvements to perform vmaxiters = 5 # Max number of iterations to perform while evaluating a policy envname = ...
36.171875
120
0.445356
216
2,315
4.74537
0.296296
0.052683
0.023415
0.038049
0.721951
0.721951
0.721951
0.721951
0.721951
0.721951
0
0.010215
0.196544
2,315
63
121
36.746032
0.54086
0.054428
0
0.714286
0
0
0.39222
0.285584
0
0
0
0
0
1
0
false
0
0.119048
0
0.119048
0.285714
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b38128070f11706580db205e89d4ed3942822e0e
158
py
Python
scripts/models/__init__.py
jmquintana79/utilsDS
1693810b6f10024542b30fdfedbfcd0518f32945
[ "MIT" ]
null
null
null
scripts/models/__init__.py
jmquintana79/utilsDS
1693810b6f10024542b30fdfedbfcd0518f32945
[ "MIT" ]
null
null
null
scripts/models/__init__.py
jmquintana79/utilsDS
1693810b6f10024542b30fdfedbfcd0518f32945
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # @Author: jmquintana79 # @Date: 2018-08-30 23:53:16 # @Last Modified by: jmquintana79 # @Last Modified time: 2018-08-30 23:54:01
26.333333
42
0.64557
25
158
4.08
0.72
0.117647
0.156863
0.196078
0
0
0
0
0
0
0
0.251908
0.170886
158
5
43
31.6
0.526718
0.93038
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
b39e5b7ebc6df74d5bd401b1545cd3bd530fbb80
1,194
py
Python
tests/Composition/test_Composition__mixture_molar_volume.py
kamilazdybal/multipy
ebdcddb63bfb1cd647ca99bbf9002b04a9b50ed9
[ "MIT" ]
null
null
null
tests/Composition/test_Composition__mixture_molar_volume.py
kamilazdybal/multipy
ebdcddb63bfb1cd647ca99bbf9002b04a9b50ed9
[ "MIT" ]
null
null
null
tests/Composition/test_Composition__mixture_molar_volume.py
kamilazdybal/multipy
ebdcddb63bfb1cd647ca99bbf9002b04a9b50ed9
[ "MIT" ]
null
null
null
import unittest import numpy as np import multipy ################################################################################ ################################################################################ #### #### Class: Composition #### ######################################################################...
34.114286
80
0.237856
44
1,194
5.909091
0.454545
0.080769
0.207692
0.288462
0.569231
0.569231
0.430769
0.430769
0.430769
0.430769
0
0
0.070352
1,194
34
81
35.117647
0.234234
0.015075
0
0.3
0
0
0
0
0
0
0
0
0
1
0.3
false
0.3
0.3
0
0.7
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
6
b3c2fe038d7d941b137a6310ed7d11ca7ec8040c
30
py
Python
bankreader_demo/demoapp/__init__.py
misli/django-bankreader
c741c9af3f11899b1d9c9f2966da4810b3ade4c2
[ "BSD-3-Clause" ]
1
2018-10-13T22:38:42.000Z
2018-10-13T22:38:42.000Z
bankreader_demo/demoapp/__init__.py
misli/django-bankreader
c741c9af3f11899b1d9c9f2966da4810b3ade4c2
[ "BSD-3-Clause" ]
null
null
null
bankreader_demo/demoapp/__init__.py
misli/django-bankreader
c741c9af3f11899b1d9c9f2966da4810b3ade4c2
[ "BSD-3-Clause" ]
null
null
null
from . import readers # noqa
15
29
0.7
4
30
5.25
1
0
0
0
0
0
0
0
0
0
0
0
0.233333
30
1
30
30
0.913043
0.133333
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b3c41c959f089fee7d76bb80d33690a1240d77e3
4,464
py
Python
a_rua_dos_cataventos/components/analysis/backup_analysis/iracema_analysis_old.py
DaviRaubach/arua
1e75d449e8f7205cd9522a7f1a1704c89b29023a
[ "MIT" ]
null
null
null
a_rua_dos_cataventos/components/analysis/backup_analysis/iracema_analysis_old.py
DaviRaubach/arua
1e75d449e8f7205cd9522a7f1a1704c89b29023a
[ "MIT" ]
null
null
null
a_rua_dos_cataventos/components/analysis/backup_analysis/iracema_analysis_old.py
DaviRaubach/arua
1e75d449e8f7205cd9522a7f1a1704c89b29023a
[ "MIT" ]
null
null
null
import iracema import matplotlib.pyplot as plt import numpy as np import abjad import muda def IracemaAnalysis(audioin, nharmonics, denominator): audio = iracema.Audio(audioin) # audio.play() # audio.plot() # specifying window and hop sizes window, hop = 2048, 1024 # calculating the FFT fft = iracema.spectra...
23.871658
72
0.664203
608
4,464
4.774671
0.167763
0.049604
0.028936
0.04547
0.869445
0.869445
0.869445
0.869445
0.869445
0.869445
0
0.021589
0.190636
4,464
186
73
24
0.781899
0.602151
0
0
0
0
0.02845
0
0
0
0
0
0
1
0.022222
false
0
0.111111
0
0.155556
0.088889
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b3fe24fa1c8f8d599cb66093c9c05f306ae98ca0
44
py
Python
asr_deepspeech/data/__init__.py
shangdibufashi/ASRDeepSpeech
f11134abb79e98062fbc25fab99ca4cf675e538b
[ "MIT" ]
44
2020-03-03T13:05:57.000Z
2022-03-24T03:42:31.000Z
asr_deepspeech/data/__init__.py
shangdibufashi/ASRDeepSpeech
f11134abb79e98062fbc25fab99ca4cf675e538b
[ "MIT" ]
6
2020-12-15T10:58:19.000Z
2021-10-12T01:59:17.000Z
asr_deepspeech/data/__init__.py
shangdibufashi/ASRDeepSpeech
f11134abb79e98062fbc25fab99ca4cf675e538b
[ "MIT" ]
13
2020-05-20T06:42:20.000Z
2022-03-24T03:42:31.000Z
from .noise_injection import NoiseInjection
22
43
0.886364
5
44
7.6
1
0
0
0
0
0
0
0
0
0
0
0
0.090909
44
1
44
44
0.95
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
37607a4df1fb814e9da0a9a55dfbc83ae4adcd8d
182
py
Python
neighbor/admin.py
BRIGHTON-ASUMANI/Jirani-hood
7cf8e72e650bc613aa31ef346444a9d727d340da
[ "MIT" ]
1
2019-02-24T21:03:21.000Z
2019-02-24T21:03:21.000Z
neighbor/admin.py
BRIGHTON-ASUMANI/Jirani-hood
7cf8e72e650bc613aa31ef346444a9d727d340da
[ "MIT" ]
1
2021-06-10T20:56:11.000Z
2021-06-10T20:56:11.000Z
neighbor/admin.py
BRIGHTON-ASUMANI/Jirani-hood
7cf8e72e650bc613aa31ef346444a9d727d340da
[ "MIT" ]
1
2019-02-24T21:03:22.000Z
2019-02-24T21:03:22.000Z
from django.contrib import admin from .models import Neighbourhood, Profile, Business admin.site.register(Neighbourhood) admin.site.register(Business) admin.site.register(Profile)
26
53
0.82967
23
182
6.565217
0.478261
0.178808
0.337748
0.331126
0
0
0
0
0
0
0
0
0.082418
182
6
54
30.333333
0.904192
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
3767ce0b076c20f0c9dd26abd935a7a6e6fe8281
169
py
Python
gunicorn.py
skavila/AddressParser
105493146a39096d1258cd18a938bee25f872ac1
[ "MIT" ]
null
null
null
gunicorn.py
skavila/AddressParser
105493146a39096d1258cd18a938bee25f872ac1
[ "MIT" ]
null
null
null
gunicorn.py
skavila/AddressParser
105493146a39096d1258cd18a938bee25f872ac1
[ "MIT" ]
null
null
null
import multiprocessing import os bind = os.getenv('SVC_BIND', '0.0.0.0:3000') workers = int(os.getenv('SVC_CONCURRENCY', 1)) threads = int(os.getenv('SVC_THREADS', 10))
28.166667
46
0.721893
28
169
4.25
0.5
0.201681
0.277311
0.235294
0
0
0
0
0
0
0
0.071895
0.094675
169
6
47
28.166667
0.705882
0
0
0
0
0
0.270588
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
6
806fde3433acb2e4c179edccfd84f1ebe9c6c743
92
py
Python
Python/tigre/utilities/io/__init__.py
tsadakane/TIGRE
a853cd2d4a6bc9509c01414b85ca75b4448fd700
[ "BSD-3-Clause" ]
326
2016-07-01T10:48:09.000Z
2022-03-20T07:34:52.000Z
Python/tigre/utilities/io/__init__.py
tsadakane/TIGRE
a853cd2d4a6bc9509c01414b85ca75b4448fd700
[ "BSD-3-Clause" ]
311
2016-07-05T16:00:06.000Z
2022-03-30T12:14:55.000Z
Python/tigre/utilities/io/__init__.py
tsadakane/TIGRE
a853cd2d4a6bc9509c01414b85ca75b4448fd700
[ "BSD-3-Clause" ]
157
2016-08-08T12:13:09.000Z
2022-03-17T00:37:45.000Z
from .NikonDataLoader import NikonDataLoader from .BrukerDataLoader import BrukerDataLoader
30.666667
46
0.891304
8
92
10.25
0.5
0
0
0
0
0
0
0
0
0
0
0
0.086957
92
2
47
46
0.97619
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
80b3e07dd600fe8c4c60ec4e34549ef6791e83c8
31,244
py
Python
dnarandombot.py
saintdanelimbu/Random-Bot
330e557ac609a0dbeba3a126adc7103abef3f08a
[ "MIT" ]
null
null
null
dnarandombot.py
saintdanelimbu/Random-Bot
330e557ac609a0dbeba3a126adc7103abef3f08a
[ "MIT" ]
null
null
null
dnarandombot.py
saintdanelimbu/Random-Bot
330e557ac609a0dbeba3a126adc7103abef3f08a
[ "MIT" ]
null
null
null
import discord import os import time from discord.utils import get from discord.ext import commands, tasks from discord.ext.commands import has_permissions, CheckFailure, check import random from random import randint from dhooks import Webhook,Embed import names client = discord.Client() client =...
47.628049
201
0.687364
3,653
31,244
5.83274
0.088694
0.030037
0.034824
0.032384
0.82433
0.804806
0.802365
0.768574
0.768574
0.768574
0
0.097144
0.173025
31,244
655
202
47.700763
0.727494
0.016291
0
0.691652
0
0.015332
0.385555
0.010146
0
0
0
0
0
1
0.044293
false
0.001704
0.017036
0
0.105622
0.001704
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
80ce485cd82b771ace6bf484cb0c7c81025c1390
42
py
Python
ttrw/dictionaries/__init__.py
ttomasz/ttrw
ef0418b4f9578ada38efc1d56711ba001e4466af
[ "MIT" ]
null
null
null
ttrw/dictionaries/__init__.py
ttomasz/ttrw
ef0418b4f9578ada38efc1d56711ba001e4466af
[ "MIT" ]
null
null
null
ttrw/dictionaries/__init__.py
ttomasz/ttrw
ef0418b4f9578ada38efc1d56711ba001e4466af
[ "MIT" ]
null
null
null
from .dict_loader import languages, words
21
41
0.833333
6
42
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.119048
42
1
42
42
0.918919
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
80d38f6330b28a2063db82ec476697edd0660c8f
157
py
Python
laspy/__init__.py
Ellon/laspy
ad0a1a43f4e127c2b22a8d4b1e088cad58fd21f3
[ "BSD-2-Clause" ]
1
2020-02-26T20:55:13.000Z
2020-02-26T20:55:13.000Z
laspy/__init__.py
Ellon/laspy
ad0a1a43f4e127c2b22a8d4b1e088cad58fd21f3
[ "BSD-2-Clause" ]
null
null
null
laspy/__init__.py
Ellon/laspy
ad0a1a43f4e127c2b22a8d4b1e088cad58fd21f3
[ "BSD-2-Clause" ]
1
2020-02-26T20:55:19.000Z
2020-02-26T20:55:19.000Z
from __future__ import absolute_import __version__ = '1.5.0' from laspy import base from laspy import file from laspy import header from laspy import util
17.444444
38
0.808917
25
157
4.72
0.52
0.305085
0.508475
0
0
0
0
0
0
0
0
0.022727
0.159236
157
8
39
19.625
0.871212
0
0
0
0
0
0.031847
0
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
80ed44097a332bdb6c23530973c9d9c1a5844987
1,202
py
Python
conditional_statements_advanced/lab/trade_commissions.py
PetkoAndreev/Python-basics
a376362548380ae50c7c707551cb821547f44402
[ "MIT" ]
null
null
null
conditional_statements_advanced/lab/trade_commissions.py
PetkoAndreev/Python-basics
a376362548380ae50c7c707551cb821547f44402
[ "MIT" ]
null
null
null
conditional_statements_advanced/lab/trade_commissions.py
PetkoAndreev/Python-basics
a376362548380ae50c7c707551cb821547f44402
[ "MIT" ]
null
null
null
city = input() sales_quantity = float(input()) if city == 'Sofia' and 0 <= sales_quantity <= 500: print(f'{0.05*sales_quantity:.2f}') elif city == 'Sofia' and 500 < sales_quantity <= 1000: print(f'{0.07*sales_quantity:.2f}') elif city == 'Sofia' and 1000 < sales_quantity <= 10000: print(f'{0.08*sales_quanti...
42.928571
58
0.65807
186
1,202
4.11828
0.16129
0.424282
0.109661
0.272846
0.881201
0.881201
0.881201
0.511749
0.214099
0.130548
0
0.123894
0.15391
1,202
28
59
42.928571
0.629302
0
0
0.142857
0
0
0.312552
0.25187
0
0
0
0
0
1
0
false
0
0
0
0
0.464286
0
0
0
null
1
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
6
03c1e7127a155d14ddbc00cb0cf8d627d6c34ab2
106
py
Python
smart_recruiting_server/conf/environments/staging.py
mohseenrm/smart_recruiting_server
ac73c727b02d8f0c9d630d8bf867ed28a351e671
[ "MIT" ]
null
null
null
smart_recruiting_server/conf/environments/staging.py
mohseenrm/smart_recruiting_server
ac73c727b02d8f0c9d630d8bf867ed28a351e671
[ "MIT" ]
81
2019-06-17T20:09:28.000Z
2021-08-02T13:15:38.000Z
smart_recruiting_server/conf/environments/staging.py
mohseenrm/smart_recruiting_server
ac73c727b02d8f0c9d630d8bf867ed28a351e671
[ "MIT" ]
null
null
null
from smart_recruiting_server.conf.environments.base import BaseConfig class Config(BaseConfig): pass
21.2
69
0.830189
13
106
6.615385
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.113208
106
4
70
26.5
0.914894
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
03d244e644776ec40444dcc302aab13971a27de8
2,986
py
Python
previous/week7/discreteTimeModels.py
code-lab-org/sys611
3b8c46788dee629a9f2d6b7f84373e041b918ff0
[ "MIT" ]
3
2021-04-07T03:52:07.000Z
2022-03-04T18:16:16.000Z
previous/week7/discreteTimeModels.py
code-lab-org/sys611
3b8c46788dee629a9f2d6b7f84373e041b918ff0
[ "MIT" ]
null
null
null
previous/week7/discreteTimeModels.py
code-lab-org/sys611
3b8c46788dee629a9f2d6b7f84373e041b918ff0
[ "MIT" ]
6
2021-02-12T01:57:23.000Z
2022-03-04T18:05:27.000Z
""" SYS-611 Discrete Time Models. @author: Paul T. Grogan, pgrogan@stevens.edu """ # import the python3 behavior for importing, division, and printing in python2 from __future__ import absolute_import, division, print_function # import the matplotlib pyplot package and refer to it as `plt` # see http://matplotlib.or...
22.118519
78
0.634963
542
2,986
3.446494
0.171587
0.067452
0.077088
0.083512
0.79015
0.79015
0.79015
0.79015
0.79015
0.79015
0
0.061066
0.182853
2,986
135
79
22.118519
0.704508
0.350301
0
0.859155
0
0
0.108364
0
0
0
0
0
0
1
0.084507
false
0
0.028169
0.084507
0.197183
0.014085
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
20a72d76886e1d147bd8695fae0ef21419d26ee9
3,158
py
Python
src/bench/bench_counters.py
JohanSmet/lsim
144d86a68e183436db7d9364d1220580404a53c6
[ "BSD-3-Clause" ]
7
2020-09-17T11:26:47.000Z
2022-03-13T19:20:49.000Z
src/bench/bench_counters.py
JohanSmet/lsim
144d86a68e183436db7d9364d1220580404a53c6
[ "BSD-3-Clause" ]
null
null
null
src/bench/bench_counters.py
JohanSmet/lsim
144d86a68e183436db7d9364d1220580404a53c6
[ "BSD-3-Clause" ]
3
2020-09-17T11:26:52.000Z
2022-03-21T19:46:45.000Z
#!/usr/bin/env python3 import lsimpy from bench_utils import * def cycle_clock(sim, circuit): circuit.write_port("Clk", lsimpy.ValueTrue) sim.run_until_stable(2) circuit.write_port("Clk", lsimpy.ValueFalse) sim.run_until_stable(2) def test_bin_counter_4b(lsim): print("*** running BinCounter 4b") ...
32.22449
74
0.674478
471
3,158
4.267516
0.165605
0.119403
0.127363
0.084577
0.859204
0.795025
0.768657
0.749751
0.749751
0.699005
0
0.019563
0.174478
3,158
98
75
32.22449
0.751438
0.00665
0
0.460526
0
0
0.102008
0.010838
0
0
0
0
0
1
0.052632
false
0
0.026316
0
0.078947
0.052632
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
459fe0d93752805ef952c32cdfc1a044a1280650
40
py
Python
eod/historical_prices/stock_price_data_api/__init__.py
gereon/eod-data
4286a03cc08bc8b5dc42ebae0bb8eb22bdfa3230
[ "Apache-2.0" ]
19
2021-09-18T11:31:45.000Z
2022-03-15T20:03:52.000Z
eod/historical_prices/stock_price_data_api/__init__.py
gereon/eod-data
4286a03cc08bc8b5dc42ebae0bb8eb22bdfa3230
[ "Apache-2.0" ]
2
2022-02-18T23:37:48.000Z
2022-03-01T18:14:06.000Z
eod/historical_prices/stock_price_data_api/__init__.py
gereon/eod-data
4286a03cc08bc8b5dc42ebae0bb8eb22bdfa3230
[ "Apache-2.0" ]
8
2021-09-13T16:49:52.000Z
2022-03-31T21:09:44.000Z
from .stock_prices import StockPriceData
40
40
0.9
5
40
7
1
0
0
0
0
0
0
0
0
0
0
0
0.075
40
1
40
40
0.945946
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
45b70cb476eb7ce75e5e28f019c0947ad832b1e6
79
py
Python
search/test/test.py
fbennets/HCLC-GDPR-Bot
a26306e6593d8356a7a58dce32090ca21f30ac29
[ "MIT" ]
1
2021-06-04T15:57:11.000Z
2021-06-04T15:57:11.000Z
search/test/test.py
fbennets/HCLC-GDPR-Bot
a26306e6593d8356a7a58dce32090ca21f30ac29
[ "MIT" ]
175
2020-06-10T23:33:08.000Z
2021-12-26T10:35:51.000Z
search/test/test.py
fbennets/HCLC-GDPR-Bot
a26306e6593d8356a7a58dce32090ca21f30ac29
[ "MIT" ]
2
2020-06-12T15:11:20.000Z
2021-06-13T10:37:35.000Z
from datenanfragen import search_company print(search_company("n62 gbhm", 10))
39.5
41
0.822785
11
79
5.727273
0.818182
0.412698
0
0
0
0
0
0
0
0
0
0.055556
0.088608
79
2
42
39.5
0.819444
0
0
0
0
0
0.1
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
6
afd783f4ba77640a6cb1abf30979d80cd56251b1
12,162
py
Python
lib/turkish_nltk/trnltk/morphology/contextless/parser/test/test_rootfinders.py
myasiny/wordembed
d4df516a4ac6eed71d1cc6e085638e895c525de6
[ "MIT" ]
null
null
null
lib/turkish_nltk/trnltk/morphology/contextless/parser/test/test_rootfinders.py
myasiny/wordembed
d4df516a4ac6eed71d1cc6e085638e895c525de6
[ "MIT" ]
null
null
null
lib/turkish_nltk/trnltk/morphology/contextless/parser/test/test_rootfinders.py
myasiny/wordembed
d4df516a4ac6eed71d1cc6e085638e895c525de6
[ "MIT" ]
null
null
null
# coding=utf-8 """ Copyright 2012 Ali Ok (aliokATapacheDOTorg) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ...
45.721805
196
0.735816
1,686
12,162
4.961447
0.100237
0.083682
0.125523
0.089898
0.847101
0.845786
0.785057
0.777047
0.704244
0.691811
0
0.033552
0.159431
12,162
265
197
45.89434
0.78431
0.047936
0
0.469274
0
0
0.044421
0.009507
0
0
0
0
0.391061
1
0.067039
false
0
0.027933
0
0.122905
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b3012d106372b72e9888ee946ff09fafe9394bf1
163
py
Python
terra_sdk/util/converter.py
fabio-nukui/terra.py
adee2e1abf41a05a1c39d52b664bd7cf7c9bc975
[ "MIT" ]
null
null
null
terra_sdk/util/converter.py
fabio-nukui/terra.py
adee2e1abf41a05a1c39d52b664bd7cf7c9bc975
[ "MIT" ]
null
null
null
terra_sdk/util/converter.py
fabio-nukui/terra.py
adee2e1abf41a05a1c39d52b664bd7cf7c9bc975
[ "MIT" ]
null
null
null
from datetime import datetime def to_isoformat(dt: datetime) -> str: return dt.isoformat(timespec="milliseconds").replace("+00:00", "Z").replace("000Z", "Z")
32.6
92
0.705521
22
163
5.181818
0.681818
0
0
0
0
0
0
0
0
0
0
0.048276
0.110429
163
5
92
32.6
0.737931
0
0
0
0
0
0.146341
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
b318b9b7d5fc786b6110867d33de9ddb143886a2
30
py
Python
app/__init__.py
matheusnalmeida/Sistema-de-transporte-de-passageiros
e7c67586af0f814def990690a8389ca90d64fba0
[ "MIT" ]
null
null
null
app/__init__.py
matheusnalmeida/Sistema-de-transporte-de-passageiros
e7c67586af0f814def990690a8389ca90d64fba0
[ "MIT" ]
null
null
null
app/__init__.py
matheusnalmeida/Sistema-de-transporte-de-passageiros
e7c67586af0f814def990690a8389ca90d64fba0
[ "MIT" ]
null
null
null
from app.app import create_app
30
30
0.866667
6
30
4.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.1
30
1
30
30
0.925926
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
2fd8c746105bb3cdbdbf4a26ea7db1d91dd65b0a
27,327
py
Python
messengerext/gallery/tests.py
groupsome/groupsome
4edcf30d66ff458c4df37d3198ef187219a768d7
[ "MIT" ]
6
2016-10-07T13:43:17.000Z
2017-10-07T22:34:44.000Z
messengerext/gallery/tests.py
groupsome/groupsome
4edcf30d66ff458c4df37d3198ef187219a768d7
[ "MIT" ]
null
null
null
messengerext/gallery/tests.py
groupsome/groupsome
4edcf30d66ff458c4df37d3198ef187219a768d7
[ "MIT" ]
1
2020-07-15T04:29:31.000Z
2020-07-15T04:29:31.000Z
from django.test import TestCase, RequestFactory from django.core.urlresolvers import resolve, reverse from django.test.client import Client from django.contrib.auth.models import User from home import models from bot.models import TelegramUser from gallery.models import Album from gallery import queries from groups.te...
47.442708
120
0.623376
3,282
27,327
5.00457
0.066423
0.04968
0.035068
0.049924
0.844992
0.833059
0.813638
0.798782
0.781918
0.766149
0
0.01375
0.252168
27,327
575
121
47.525217
0.789978
0
0
0.682731
0
0
0.125846
0.038131
0
0
0
0
0.144578
1
0.12249
false
0.004016
0.022088
0
0.202811
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
2fe61377eeb431b3fc0fba60524ff0696549b353
104
py
Python
testalign.py
TuxStory/Python3
4c1b2291d1613b32aa36b62b0b881ea40b423cce
[ "MIT" ]
null
null
null
testalign.py
TuxStory/Python3
4c1b2291d1613b32aa36b62b0b881ea40b423cce
[ "MIT" ]
null
null
null
testalign.py
TuxStory/Python3
4c1b2291d1613b32aa36b62b0b881ea40b423cce
[ "MIT" ]
null
null
null
print("Test".ljust(20,".")+"20$") print("Pear".ljust(20,".")+"99$") print("Apple".ljust(20,".")+"120$")
26
35
0.538462
15
104
3.733333
0.533333
0.375
0
0
0
0
0
0
0
0
0
0.128713
0.028846
104
3
36
34.666667
0.425743
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
64093497cb0d8801f31ea89738a3fd86a0f22a9d
41,820
py
Python
src/frr/tests/topotests/bgp_prefix_list_topo1/test_prefix_lists.py
zhouhaifeng/vpe
9c644ffd561988e5740021ed26e0f7739844353d
[ "Apache-2.0" ]
null
null
null
src/frr/tests/topotests/bgp_prefix_list_topo1/test_prefix_lists.py
zhouhaifeng/vpe
9c644ffd561988e5740021ed26e0f7739844353d
[ "Apache-2.0" ]
null
null
null
src/frr/tests/topotests/bgp_prefix_list_topo1/test_prefix_lists.py
zhouhaifeng/vpe
9c644ffd561988e5740021ed26e0f7739844353d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # # Copyright (c) 2019 by VMware, Inc. ("VMware") # Used Copyright (c) 2018 by Network Device Education Foundation, # Inc. ("NetDEF") in this file. # # Permission to use, copy, modify, and/or distribute this software # for any purpose with or without fee is hereby granted, provided # that the above c...
31.278983
88
0.433142
3,826
41,820
4.540512
0.071877
0.047663
0.041446
0.064529
0.851831
0.84642
0.827423
0.820746
0.811536
0.802153
0
0.02539
0.457532
41,820
1,336
89
31.302395
0.740369
0.123458
0
0.614228
0
0
0.178336
0
0
0
0
0
0.06012
1
0.012024
false
0
0.009018
0
0.021042
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
6432a6ba130dc1aa157faf59393b3506f384d9d8
10,786
py
Python
temporal-difference/TD_Exercise.py
albimc/deep-reinforcement-learning
e11a6c9d4c8991cf229e686b645ae22ec4cff4f5
[ "MIT" ]
null
null
null
temporal-difference/TD_Exercise.py
albimc/deep-reinforcement-learning
e11a6c9d4c8991cf229e686b645ae22ec4cff4f5
[ "MIT" ]
null
null
null
temporal-difference/TD_Exercise.py
albimc/deep-reinforcement-learning
e11a6c9d4c8991cf229e686b645ae22ec4cff4f5
[ "MIT" ]
null
null
null
# TD Exercise # import sys import gym import numpy as np from collections import defaultdict, deque import matplotlib.pyplot as plt import check_test from plot_utils import plot_values # ############# # Environment # # ############# env = gym.make('CliffWalking-v0') # ### print(env.action_space) print(env.observati...
41.011407
130
0.613202
1,491
10,786
4.296445
0.120724
0.030909
0.009366
0.019669
0.838589
0.823915
0.820169
0.806744
0.797846
0.756478
0
0.028279
0.249212
10,786
262
131
41.167939
0.762781
0.216762
0
0.645833
0
0.020833
0.075709
0
0
0
0
0
0
1
0.034722
false
0
0.048611
0
0.118056
0.111111
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
ff2764f973c6f06d6a5be2f0e783df51cc0e7727
29
py
Python
evaluate/previous_works/svsyn/dataset/__init__.py
Syniez/Joint_360depth
4f28c3b5b7f648173480052e205e898c6c7a5151
[ "MIT" ]
92
2019-09-08T09:55:05.000Z
2022-02-21T21:29:40.000Z
dataset/__init__.py
zjsprit/SphericalViewSynthesis
fcdec95bf3ad109767d27396434b51cf3aad2b4b
[ "BSD-2-Clause" ]
4
2020-05-12T02:29:36.000Z
2021-11-26T07:49:43.000Z
dataset/__init__.py
zjsprit/SphericalViewSynthesis
fcdec95bf3ad109767d27396434b51cf3aad2b4b
[ "BSD-2-Clause" ]
26
2019-09-16T02:26:33.000Z
2021-10-21T03:55:02.000Z
from .dataset_360D import *
14.5
28
0.758621
4
29
5.25
1
0
0
0
0
0
0
0
0
0
0
0.125
0.172414
29
1
29
29
0.75
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
ff2fccd516d5ca3d479310ad6a38bc80a0797bcc
26,098
py
Python
ConvNNet.py
wmorning/IndianaJones
6e69be7a146148a3c1a85f794900f4680d4e7065
[ "MIT" ]
null
null
null
ConvNNet.py
wmorning/IndianaJones
6e69be7a146148a3c1a85f794900f4680d4e7065
[ "MIT" ]
4
2015-11-09T05:25:36.000Z
2015-11-23T19:06:25.000Z
ConvNNet.py
wmorning/IndianaJones
6e69be7a146148a3c1a85f794900f4680d4e7065
[ "MIT" ]
null
null
null
import numpy as np import inDianajonES as InD import tensorflow as tf import sys ''' ConvNNet implements a convolutional neural network using the TensorFlow framework. It consists of a ConvNNet class, which contains several functions: - Train inputs a list of images and artifacts, builds the design ...
47.450909
275
0.595984
3,463
26,098
4.367023
0.136298
0.011572
0.027772
0.03174
0.769027
0.755802
0.733651
0.726774
0.715467
0.711367
0
0.032045
0.29213
26,098
549
276
47.537341
0.786565
0.179094
0
0.530075
0
0.022556
0.050136
0.014838
0
0
0
0
0
0
null
null
0.030075
0.015038
null
null
0.109023
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
1
0
0
0
0
0
0
0
0
6
ff55a601271d3caff5c0402f0dcc0e976c2f1049
7,251
py
Python
tests/functional/basic_tests.py
OpertusMundi/clustering-outliers-service
6d3d89eaa8d3c491c5c78d4c12b67aef01391e32
[ "Apache-2.0" ]
null
null
null
tests/functional/basic_tests.py
OpertusMundi/clustering-outliers-service
6d3d89eaa8d3c491c5c78d4c12b67aef01391e32
[ "Apache-2.0" ]
null
null
null
tests/functional/basic_tests.py
OpertusMundi/clustering-outliers-service
6d3d89eaa8d3c491c5c78d4c12b67aef01391e32
[ "Apache-2.0" ]
null
null
null
from os import path, getenv, mkdir import tempfile import logging from clustering_outliers.app import app _tempdir: str = "" def setup_module(): print(f" == Setting up tests for {__name__}") app.config['TESTING'] = True global _tempdir _tempdir = getenv('TEMPDIR') if _tempdir: try: ...
39.194595
127
0.627362
959
7,251
4.520334
0.131387
0.025836
0.0406
0.062745
0.853749
0.846828
0.825606
0.825606
0.825606
0.808535
0
0.011948
0.203558
7,251
184
128
39.407609
0.738701
0.00069
0
0.666667
0
0
0.244892
0.029266
0
0
0
0
0.22695
1
0.12766
false
0.007092
0.028369
0
0.156028
0.014184
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
440febc339c3c2f7ac3da51fcf2c99c86ca1b5b6
49
py
Python
dask_cuda/__init__.py
paulhendricks/dask-cuda
a8b3d34d00752c57d5ab892b99a5d518dfa4c71d
[ "Apache-2.0" ]
19
2019-01-04T17:50:22.000Z
2019-06-26T02:23:27.000Z
dask_cuda/__init__.py
paulhendricks/dask-cuda
a8b3d34d00752c57d5ab892b99a5d518dfa4c71d
[ "Apache-2.0" ]
4
2019-01-04T17:47:44.000Z
2019-03-29T14:47:07.000Z
dask_cuda/__init__.py
paulhendricks/dask-cuda
a8b3d34d00752c57d5ab892b99a5d518dfa4c71d
[ "Apache-2.0" ]
1
2021-09-20T15:55:35.000Z
2021-09-20T15:55:35.000Z
from .local_cuda_cluster import LocalCUDACluster
24.5
48
0.897959
6
49
7
1
0
0
0
0
0
0
0
0
0
0
0
0.081633
49
1
49
49
0.933333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
443ffcd78c071822a07f85f42752b9be2825cffe
84
py
Python
_example/replace.py
flew-software/Dem
20b7eb9bc7c11f1baf23acfe7bfbab359ddd97fb
[ "MIT" ]
1
2021-02-17T08:30:05.000Z
2021-02-17T08:30:05.000Z
_example/replace.py
flew-software/Dem
20b7eb9bc7c11f1baf23acfe7bfbab359ddd97fb
[ "MIT" ]
null
null
null
_example/replace.py
flew-software/Dem
20b7eb9bc7c11f1baf23acfe7bfbab359ddd97fb
[ "MIT" ]
null
null
null
import _2D a = [[1, 2, 3][1, 2, 3][1, 2, 3]] print(a) print(_2D.Replace(a, 3, 4))
12
33
0.511905
20
84
2.05
0.45
0.146341
0.219512
0.195122
0.219512
0.219512
0
0
0
0
0
0.19403
0.202381
84
6
34
14
0.41791
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.5
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
6
92371fa6f6cf59f8dd0ad37fce6e01d457af270f
5,013
py
Python
models/base/init_utils.py
sAviOr287/imagenet_ICLR
1ac83d799f5335355161156aa9bba63e0d82a063
[ "MIT" ]
null
null
null
models/base/init_utils.py
sAviOr287/imagenet_ICLR
1ac83d799f5335355161156aa9bba63e0d82a063
[ "MIT" ]
null
null
null
models/base/init_utils.py
sAviOr287/imagenet_ICLR
1ac83d799f5335355161156aa9bba63e0d82a063
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import math def weights_init_kaiming_xavier(m): # print('=> weights init') if isinstance(m, nn.Conv2d): nn.init.kaiming_normal_(m.weight, mode='fan_out', nonlinearity='relu') # nn.init.normal_(m.weight, 0, 0.1) if m.bias is not None: m.bias.data.zero_() elif isinstance(m,...
25.974093
100
0.689607
876
5,013
3.784247
0.116438
0.043741
0.054299
0.048265
0.788839
0.784615
0.7454
0.721267
0.704072
0.704072
0
0.031559
0.171953
5,013
192
101
26.109375
0.767044
0.137443
0
0.708333
0
0
0.066016
0
0
0
0
0
0
1
0.076389
false
0
0.020833
0
0.131944
0.0625
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
92463d0790fd4f8568e0e8a342f8baf27bd768e9
170
py
Python
zerovl/utils/__init__.py
zerovl/ZeroVL
b48794e74fed0f80adf5fa3010481064411c4182
[ "MIT" ]
14
2022-01-19T08:08:29.000Z
2022-03-10T05:55:36.000Z
zerovl/utils/__init__.py
zerovl/ZeroVL
b48794e74fed0f80adf5fa3010481064411c4182
[ "MIT" ]
2
2022-02-25T14:35:47.000Z
2022-03-01T03:11:13.000Z
zerovl/utils/__init__.py
zerovl/ZeroVL
b48794e74fed0f80adf5fa3010481064411c4182
[ "MIT" ]
3
2022-02-09T01:23:11.000Z
2022-02-15T11:45:30.000Z
from . import logger from .context import * from .dist import * from .misc import * from .registry import * from .checkpoint_utils import * from .interpolate_pe import *
21.25
31
0.758824
23
170
5.521739
0.478261
0.393701
0
0
0
0
0
0
0
0
0
0
0.164706
170
8
32
21.25
0.894366
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6