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
0ef5d8e319619c1a53ac859271323c396e9cc2e8
157
py
Python
oscar_vue_api/apps.py
hurta2yaisel/django-oscar-api-vue-storefront
832c14d1220a26601409332578dc1c6c8def9021
[ "BSD-3-Clause" ]
24
2018-09-28T11:46:35.000Z
2020-12-22T19:47:23.000Z
oscar_vue_api/apps.py
ladrua/django-oscar-api-vue-storefront
07714c5278e5a54ef3f8261597e60526050a5550
[ "BSD-3-Clause" ]
null
null
null
oscar_vue_api/apps.py
ladrua/django-oscar-api-vue-storefront
07714c5278e5a54ef3f8261597e60526050a5550
[ "BSD-3-Clause" ]
4
2018-10-09T11:54:09.000Z
2020-10-19T18:38:12.000Z
from django.apps import AppConfig class OscarVueApiConfig(AppConfig): name = 'oscar_vue_api' def ready(self): import oscar_vue_api.signals
19.625
36
0.732484
20
157
5.55
0.75
0.144144
0.198198
0
0
0
0
0
0
0
0
0
0.197452
157
7
37
22.428571
0.880952
0
0
0
0
0
0.082803
0
0
0
0
0
0
1
0.2
false
0
0.4
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
0
0
1
0
1
0
0
5
1606165218bc91c2a5f2e576c969d6af625564f1
6,379
py
Python
tests/views/userprofile/authentication_test.py
BMeu/Aerarium
119946cead727ef68b5ecea339990d982c006391
[ "MIT" ]
null
null
null
tests/views/userprofile/authentication_test.py
BMeu/Aerarium
119946cead727ef68b5ecea339990d982c006391
[ "MIT" ]
139
2018-12-26T07:54:31.000Z
2021-06-01T23:14:45.000Z
tests/views/userprofile/authentication_test.py
BMeu/Aerarium
119946cead727ef68b5ecea339990d982c006391
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from unittest.mock import MagicMock from unittest.mock import patch from tests.views import ViewTestCase class AuthenticationTest(ViewTestCase): # region Login def test_login_get_logged_out(self): """ Test accessing the login page with an anonymous user. ...
29.808411
116
0.604797
767
6,379
4.920469
0.134289
0.061473
0.055114
0.038156
0.846317
0.77451
0.701378
0.667992
0.555909
0.482247
0
0.014483
0.285625
6,379
213
117
29.948357
0.813693
0.250196
0
0.723404
0
0
0.223456
0.038168
0
0
0
0
0.308511
1
0.117021
false
0.212766
0.031915
0
0.159574
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
5
1624d0be0f63ff90a76f09e697bc12fb6daf22a4
94
py
Python
bulletins/admin.py
itmonitoringcommunity/backend
3107cceecc29bbc94ba692bd67922f679a61d2fd
[ "MIT" ]
null
null
null
bulletins/admin.py
itmonitoringcommunity/backend
3107cceecc29bbc94ba692bd67922f679a61d2fd
[ "MIT" ]
2
2021-03-19T09:46:09.000Z
2021-06-04T23:34:54.000Z
bulletins/admin.py
smiley-py/backend
3107cceecc29bbc94ba692bd67922f679a61d2fd
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Bulletin admin.site.register(Bulletin)
15.666667
32
0.819149
13
94
5.923077
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.117021
94
5
33
18.8
0.927711
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
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
5
162670019b41058fa618e7b6e0ac35fd2b26c00e
167
py
Python
functions/sell.py
renataeva/python-basics
0d8a2c6eda3aa31cca61fb2c727956f82642ebc8
[ "Apache-2.0" ]
1
2021-02-14T10:43:43.000Z
2021-02-14T10:43:43.000Z
functions/sell.py
renataeva/python-basics
0d8a2c6eda3aa31cca61fb2c727956f82642ebc8
[ "Apache-2.0" ]
null
null
null
functions/sell.py
renataeva/python-basics
0d8a2c6eda3aa31cca61fb2c727956f82642ebc8
[ "Apache-2.0" ]
null
null
null
def sell(goods, price): return goods*price goods = int(input('Goods...')) price = int(input('Price...')) r = sell(goods, price) print(f'Прибыль составит {r} $')
18.555556
32
0.634731
24
167
4.416667
0.5
0.377358
0.264151
0
0
0
0
0
0
0
0
0
0.149701
167
9
32
18.555556
0.746479
0
0
0
0
0
0.227545
0
0
0
0
0
0
1
0.166667
false
0
0
0.166667
0.333333
0.166667
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
0
1
0
0
0
5
162d7c40d8b72020c8084f3f0aaf1155a8703773
1,493
py
Python
tests/rest/test_get_rooms_list.py
lellisls/rentomatic
777af27f202ee9c773f8a485a06ba960b6a1654e
[ "MIT" ]
null
null
null
tests/rest/test_get_rooms_list.py
lellisls/rentomatic
777af27f202ee9c773f8a485a06ba960b6a1654e
[ "MIT" ]
null
null
null
tests/rest/test_get_rooms_list.py
lellisls/rentomatic
777af27f202ee9c773f8a485a06ba960b6a1654e
[ "MIT" ]
null
null
null
import json from unittest import mock from rentomatic.domain.room import Room from rentomatic.response_objects import response_objects as res room_dict = { 'code': '3251a5bd-86be-428d-8ae9-6e51a8048c33', 'size': 200, 'price': 10, 'longitude': -0.09998975, 'latitude': 51.75436293 } room = Room.from...
31.104167
78
0.735432
207
1,493
5.009662
0.31401
0.067502
0.08486
0.104147
0.707811
0.707811
0.707811
0.707811
0.707811
0.707811
0
0.045595
0.133289
1,493
47
79
31.765957
0.755796
0
0
0.424242
0
0
0.1929
0.127261
0
0
0
0
0.30303
1
0.060606
false
0
0.121212
0
0.181818
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
0
0
0
0
0
0
0
0
5
16851d88e9bb86e9e9da191d62751ca2e72c8486
2,098
py
Python
smdebug_rulesconfig/builtin_rules.py
mchoi8739/sagemaker-debugger-rulesconfig
27c3d1be228fe8f6cc171e70fba245ebb5bef678
[ "Apache-2.0" ]
null
null
null
smdebug_rulesconfig/builtin_rules.py
mchoi8739/sagemaker-debugger-rulesconfig
27c3d1be228fe8f6cc171e70fba245ebb5bef678
[ "Apache-2.0" ]
null
null
null
smdebug_rulesconfig/builtin_rules.py
mchoi8739/sagemaker-debugger-rulesconfig
27c3d1be228fe8f6cc171e70fba245ebb5bef678
[ "Apache-2.0" ]
null
null
null
from ._utils import _get_rule_config def vanishing_gradient() : rule_config = _get_rule_config("VanishingGradient") return rule_config def similar_across_runs() : rule_config = _get_rule_config("SimilarAcrossRuns") return rule_config def weight_update_ratio() : rule_config = _get_rule_config("Wei...
24.114943
65
0.760248
251
2,098
5.840637
0.258964
0.416098
0.186221
0.231924
0.328786
0.077763
0
0
0
0
0
0
0.163012
2,098
86
66
24.395349
0.834852
0
0
0.327869
0
0
0.142517
0.024309
0
0
0
0
0
1
0.327869
false
0
0.04918
0
0.704918
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
5
16a24fdb1b969762f233f9f13d0ce751bdbac518
273
py
Python
council/__init__.py
bentheiii/coiuncil
badf96ca580e4935a5686d974c99d8bfd708ebcf
[ "MIT" ]
null
null
null
council/__init__.py
bentheiii/coiuncil
badf96ca580e4935a5686d974c99d8bfd708ebcf
[ "MIT" ]
null
null
null
council/__init__.py
bentheiii/coiuncil
badf96ca580e4935a5686d974c99d8bfd708ebcf
[ "MIT" ]
null
null
null
from council_data import * from council.abstract_council import Council, AbstractCouncil from council.list_council import ListCouncil from council.council_member import council_member, CouncilMember from council.return_value import * from council.member_wrapper import *
30.333333
64
0.860806
35
273
6.514286
0.371429
0.289474
0.149123
0
0
0
0
0
0
0
0
0
0.102564
273
8
65
34.125
0.930612
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
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
5
16a693d61fc57cfca719e63bd47ac6c316524e21
50
py
Python
tnt/layers/__init__.py
BigFishMaster/tnt
8b80bb3b194eb87ac18924428ef0924c2fb263c5
[ "BSD-3-Clause" ]
3
2020-12-18T08:50:47.000Z
2020-12-18T08:50:55.000Z
tnt/layers/__init__.py
BigFishMaster/tnt
8b80bb3b194eb87ac18924428ef0924c2fb263c5
[ "BSD-3-Clause" ]
5
2021-03-19T11:49:52.000Z
2022-03-12T00:21:18.000Z
tnt/layers/__init__.py
BigFishMaster/tnt
8b80bb3b194eb87ac18924428ef0924c2fb263c5
[ "BSD-3-Clause" ]
1
2021-04-20T04:36:40.000Z
2021-04-20T04:36:40.000Z
from .multipooling_model import MultiPoolingModel
25
49
0.9
5
50
8.8
1
0
0
0
0
0
0
0
0
0
0
0
0.08
50
1
50
50
0.956522
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
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
5
16a901eef919ee9ad1576762c6db04f9a34bd6f5
2,308
py
Python
tests/test_beziercurve.py
lonevox/pyclick
f0140038c20d184608bed4bac321128287b9eff8
[ "MIT" ]
null
null
null
tests/test_beziercurve.py
lonevox/pyclick
f0140038c20d184608bed4bac321128287b9eff8
[ "MIT" ]
null
null
null
tests/test_beziercurve.py
lonevox/pyclick
f0140038c20d184608bed4bac321128287b9eff8
[ "MIT" ]
1
2021-04-11T09:07:46.000Z
2021-04-11T09:07:46.000Z
import unittest from pyclick._beziercurve import BezierCurve class TestBezierCurve(unittest.TestCase): def test_binomial(self): self.assertEqual(BezierCurve.binomial(10,2), 45) self.assertEqual(BezierCurve.binomial(4,2), 6) self.assertEqual(BezierCurve.binomial(1,1), 1) self.asser...
46.16
92
0.685875
303
2,308
5.049505
0.132013
0.285621
0.203922
0.222222
0.733987
0.73268
0.611111
0.528105
0.392157
0.291503
0
0.10666
0.167244
2,308
49
93
47.102041
0.689386
0
0
0.205128
0
0
0
0
0
0
0
0
0.564103
1
0.153846
false
0
0.051282
0
0.230769
0
0
0
0
null
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
5
bc4225b4551e4b8dd72d7005ae5d9f05be472e6d
155
py
Python
Test.py
Gustavolsl/Test-Travis-ci
e7fa13724fc269db26fa20940b8146e1677a14e2
[ "Apache-2.0" ]
null
null
null
Test.py
Gustavolsl/Test-Travis-ci
e7fa13724fc269db26fa20940b8146e1677a14e2
[ "Apache-2.0" ]
null
null
null
Test.py
Gustavolsl/Test-Travis-ci
e7fa13724fc269db26fa20940b8146e1677a14e2
[ "Apache-2.0" ]
null
null
null
import pytest from principal import dividir,multiplicar #import principal def test_dividir(): assert dividir(10,2)==5.0 assert multiplicar(2,4)==8
22.142857
41
0.754839
23
155
5.043478
0.652174
0
0
0
0
0
0
0
0
0
0
0.06015
0.141935
155
7
42
22.142857
0.81203
0.103226
0
0
0
0
0
0
0
0
0
0
0.4
1
0.2
true
0
0.4
0
0.6
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
0
1
0
1
0
0
5
bc5e484253bb1286de6c2971fc47a59791a1fa92
63
py
Python
korea.py
sunshane6726/sunshane6726.github.io
ed482b0bce9a5524e93aed15980e0dbe57064bc9
[ "MIT" ]
null
null
null
korea.py
sunshane6726/sunshane6726.github.io
ed482b0bce9a5524e93aed15980e0dbe57064bc9
[ "MIT" ]
1
2021-02-17T10:59:25.000Z
2021-02-17T10:59:25.000Z
korea.py
sunshane6726/sunshane6726.github.io
ed482b0bce9a5524e93aed15980e0dbe57064bc9
[ "MIT" ]
null
null
null
def so: sum = 0; a = 3; b= 2: result a+b:
10.5
16
0.333333
11
63
1.909091
0.818182
0
0
0
0
0
0
0
0
0
0
0.1
0.52381
63
5
17
12.6
0.6
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
5
bc62eb54a7a2d1421723652e8f749fbe4fd589a2
199
py
Python
testlauncher/grouping/__init__.py
slickqa/snot-example
1476c01b6c3c2283715fc20b23f550fb8b5b369a
[ "Apache-2.0" ]
1
2015-01-22T02:57:45.000Z
2015-01-22T02:57:45.000Z
testlauncher/grouping/__init__.py
slickqa/snot-example
1476c01b6c3c2283715fc20b23f550fb8b5b369a
[ "Apache-2.0" ]
null
null
null
testlauncher/grouping/__init__.py
slickqa/snot-example
1476c01b6c3c2283715fc20b23f550fb8b5b369a
[ "Apache-2.0" ]
null
null
null
from testlauncher import log_run def setup_package(): log_run("Inside testlauncher.grouping.setup_package") def teardown_package(): log_run("Inside testlauncher.grouping.teardown_package")
24.875
60
0.798995
25
199
6.08
0.44
0.118421
0.171053
0.25
0.513158
0.513158
0
0
0
0
0
0
0.110553
199
7
61
28.428571
0.858757
0
0
0
0
0
0.437186
0.366834
0
0
0
0
0
1
0.4
true
0
0.2
0
0.6
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
5
bc67fa02be9a9965286fccad82e7d8cae7d2704b
3,242
py
Python
tests/test_http.py
etienne-napoleone/restpass
4a1a7583da61b8eb3f6a2075b1fc58e05037a7db
[ "MIT" ]
null
null
null
tests/test_http.py
etienne-napoleone/restpass
4a1a7583da61b8eb3f6a2075b1fc58e05037a7db
[ "MIT" ]
null
null
null
tests/test_http.py
etienne-napoleone/restpass
4a1a7583da61b8eb3f6a2075b1fc58e05037a7db
[ "MIT" ]
null
null
null
import json from apistar import test from app import app from restpass import redisclient client = test.TestClient(app) test_id = {'login': 'supermail@test.com', 'password': '12345'} password_slug = '?p=password123' def test_get_ids_list(): redisclient.set_id('test_id', json.dumps(test_id)) response = client...
36.426966
73
0.643738
399
3,242
4.972431
0.120301
0.114919
0.052419
0.145161
0.805948
0.791835
0.776714
0.744456
0.671875
0.584677
0
0.018963
0.202961
3,242
88
74
36.840909
0.748839
0
0
0.550725
0
0
0.169957
0
0
0
0
0
0.289855
1
0.130435
false
0.333333
0.057971
0
0.188406
0
0
0
0
null
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
5
bc739e49e01a43475b5f13583827c22108cd3538
54,067
py
Python
cms/tests/test_nested_plugins.py
rspeed/django-cms-contrib
c5fbbea191646ab922b5ff6f89a1de6baa648e7f
[ "BSD-3-Clause" ]
null
null
null
cms/tests/test_nested_plugins.py
rspeed/django-cms-contrib
c5fbbea191646ab922b5ff6f89a1de6baa648e7f
[ "BSD-3-Clause" ]
null
null
null
cms/tests/test_nested_plugins.py
rspeed/django-cms-contrib
c5fbbea191646ab922b5ff6f89a1de6baa648e7f
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from djangocms_text_ckeditor.models import Text from cms.api import create_page, add_plugin from cms.models import Page from cms.models.placeholdermodel import Placeholder from cms.models.pluginmodel import CMSPlugin from cms.tests.test_plugins import PluginsTestBaseCase from cms.utils.compat.t...
49.241348
136
0.623745
6,859
54,067
4.647325
0.06896
0.028109
0.02174
0.027011
0.780807
0.76029
0.734377
0.722362
0.717248
0.692308
0
0.012207
0.298482
54,067
1,097
137
49.286235
0.8281
0.173082
0
0.660221
0
0.001381
0.086734
0.003011
0
0
0
0
0.178177
1
0.012431
false
0
0.012431
0
0.027624
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
0
0
0
0
0
0
0
0
5
4c02973a00bdf3002932376377a37a1014ad7ddd
210
py
Python
week3-sql/airline/flights/views.py
patrickphat/cs50-web-dev
82ddc2ca063f2028f0e3aa536c96b861f8eeed97
[ "MIT" ]
2
2021-08-01T16:47:16.000Z
2021-12-21T14:32:11.000Z
week3-sql/airline/flights/views.py
patrickphat/cs50-web-dev
82ddc2ca063f2028f0e3aa536c96b861f8eeed97
[ "MIT" ]
null
null
null
week3-sql/airline/flights/views.py
patrickphat/cs50-web-dev
82ddc2ca063f2028f0e3aa536c96b861f8eeed97
[ "MIT" ]
null
null
null
from django.shortcuts import render from .models import Flight # Create your views here. def index(request): return render(request, "flights/index.html", { "flights": Flight.objects.all(), })
21
50
0.690476
26
210
5.576923
0.730769
0
0
0
0
0
0
0
0
0
0
0
0.190476
210
9
51
23.333333
0.852941
0.109524
0
0
0
0
0.13587
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
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
0
0
1
1
1
0
0
5
4c0834019cf4c5ecd4baebf59dbf80959c71fed7
68
py
Python
reachy_tictactoe/__init__.py
CircuitLaunch/reachy-tictactoe
83b07224212b61af4eb13dfd11fc775ae3fbea9c
[ "Apache-2.0" ]
4
2020-07-14T09:32:21.000Z
2021-01-20T22:34:48.000Z
reachy_tictactoe/__init__.py
CircuitLaunch/reachy-tictactoe
83b07224212b61af4eb13dfd11fc775ae3fbea9c
[ "Apache-2.0" ]
null
null
null
reachy_tictactoe/__init__.py
CircuitLaunch/reachy-tictactoe
83b07224212b61af4eb13dfd11fc775ae3fbea9c
[ "Apache-2.0" ]
1
2021-01-27T22:56:31.000Z
2021-01-27T22:56:31.000Z
from .tictactoe_playground import TictactoePlayground # noqa: F401
34
67
0.838235
7
68
8
1
0
0
0
0
0
0
0
0
0
0
0.05
0.117647
68
1
68
68
0.883333
0.147059
0
0
0
0
0
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
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
4c44f337ec64ad97c82858bade446b139ecdcc58
244
py
Python
moviemaker3/__init__.py
friedrichromstedt/moviemaker3
7941a06d43bbbb63e45496044040a163ab97d78d
[ "MIT" ]
1
2018-12-30T18:40:07.000Z
2018-12-30T18:40:07.000Z
moviemaker3/__init__.py
friedrichromstedt/moviemaker3
7941a06d43bbbb63e45496044040a163ab97d78d
[ "MIT" ]
null
null
null
moviemaker3/__init__.py
friedrichromstedt/moviemaker3
7941a06d43bbbb63e45496044040a163ab97d78d
[ "MIT" ]
null
null
null
from moviemaker3.stacks import * from moviemaker3.parameter import * from moviemaker3.assignment import * from moviemaker3.branch import * __version_tuple__ = (0, 1, 0, 'beta', 1) __version_string__ = '0.1.0b1' __version_date__ = '2011-05-03'
27.111111
40
0.766393
33
244
5.212121
0.545455
0.348837
0.366279
0
0
0
0
0
0
0
0
0.093458
0.122951
244
8
41
30.5
0.71028
0
0
0
0
0
0.086066
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
0
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
5
4c4d5a8ebf53549d52deb59af37c56900ad190b9
57
py
Python
src/application/__init__.py
nedagarmo/Libraries
7618bd329593684d475a9e64a38409ffb30697df
[ "Apache-2.0" ]
null
null
null
src/application/__init__.py
nedagarmo/Libraries
7618bd329593684d475a9e64a38409ffb30697df
[ "Apache-2.0" ]
null
null
null
src/application/__init__.py
nedagarmo/Libraries
7618bd329593684d475a9e64a38409ffb30697df
[ "Apache-2.0" ]
null
null
null
from .services import CreateBook, SearchBook, DeleteBook
28.5
56
0.842105
6
57
8
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
57
1
57
57
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
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
5
4c634b2fc12e30b2f687df998d54c02aac88c1a8
57
py
Python
configs/mmdet/detection/detection_openvino_dynamic-800x1344.py
zhiqwang/mmdeploy
997d111a6f4ca9624ab3b36717748e6ce002037d
[ "Apache-2.0" ]
746
2021-12-27T10:50:28.000Z
2022-03-31T13:34:14.000Z
configs/mmdet/detection/detection_openvino_dynamic-800x1344.py
zhiqwang/mmdeploy
997d111a6f4ca9624ab3b36717748e6ce002037d
[ "Apache-2.0" ]
253
2021-12-28T05:59:13.000Z
2022-03-31T18:22:25.000Z
configs/mmdet/detection/detection_openvino_dynamic-800x1344.py
zhiqwang/mmdeploy
997d111a6f4ca9624ab3b36717748e6ce002037d
[ "Apache-2.0" ]
147
2021-12-27T10:50:33.000Z
2022-03-30T10:44:20.000Z
_base_ = ['../_base_/base_openvino_dynamic-800x1344.py']
28.5
56
0.754386
7
57
5.285714
0.714286
0.432432
0
0
0
0
0
0
0
0
0
0.12963
0.052632
57
1
57
57
0.555556
0
0
0
0
0
0.754386
0.754386
0
0
0
0
0
1
0
false
0
0
0
0
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
d5b798e01a448cd840e8c96d3a3f6b7eba93abb0
97
py
Python
model/trainer/__init__.py
elviva404/food-detection-yolov5
796a0c1df6e9c9a705dff7782b3f9b213344f11b
[ "MIT" ]
24
2021-08-09T00:47:22.000Z
2022-03-06T09:38:48.000Z
model/trainer/__init__.py
elviva404/food-detection-yolov5
796a0c1df6e9c9a705dff7782b3f9b213344f11b
[ "MIT" ]
3
2021-07-19T16:01:37.000Z
2022-03-03T07:09:03.000Z
model/trainer/__init__.py
elviva404/food-detection-yolov5
796a0c1df6e9c9a705dff7782b3f9b213344f11b
[ "MIT" ]
8
2021-11-08T12:39:05.000Z
2022-01-30T14:59:37.000Z
from .checkpoint import Checkpoint, load_checkpoint, get_epoch_iters, get_config, get_class_names
97
97
0.876289
14
97
5.642857
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.072165
97
1
97
97
0.877778
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
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
5
912a7c8e5b381a3089ea9495ea75602baed4379d
81
py
Python
fba/discriminator/__init__.py
hukkelas/full_body_anonymization
c61745b137c84ffb742ef6ab2f4721db4acf22b7
[ "MIT" ]
27
2022-01-06T20:15:24.000Z
2022-03-29T11:54:49.000Z
fba/discriminator/__init__.py
hukkelas/full_body_anonymization
c61745b137c84ffb742ef6ab2f4721db4acf22b7
[ "MIT" ]
2
2022-03-17T06:04:23.000Z
2022-03-25T08:50:57.000Z
fba/discriminator/__init__.py
hukkelas/full_body_anonymization
c61745b137c84ffb742ef6ab2f4721db4acf22b7
[ "MIT" ]
2
2022-01-07T13:16:59.000Z
2022-01-16T02:10:50.000Z
from .stylegan2_D import StyleDiscriminator from .fpn_net import FPNDiscriminator
40.5
43
0.888889
10
81
7
0.8
0
0
0
0
0
0
0
0
0
0
0.013514
0.08642
81
2
44
40.5
0.932432
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
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
5
e66ccee12882e379416b0434b7f4bbbd5859eea0
141
py
Python
{{cookiecutter.github_repo}}/{{cookiecutter.project_slug}}/core.py
carlba/cookiecutter-pypackage
4b812440ce6aa38f1c7b1c930767874bf4a09f55
[ "MIT" ]
null
null
null
{{cookiecutter.github_repo}}/{{cookiecutter.project_slug}}/core.py
carlba/cookiecutter-pypackage
4b812440ce6aa38f1c7b1c930767874bf4a09f55
[ "MIT" ]
null
null
null
{{cookiecutter.github_repo}}/{{cookiecutter.project_slug}}/core.py
carlba/cookiecutter-pypackage
4b812440ce6aa38f1c7b1c930767874bf4a09f55
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Main module""" import click def start(): click.echo('Starting') def stop(): click.echo('Stopping')
9.4
26
0.567376
17
141
4.705882
0.764706
0.225
0
0
0
0
0
0
0
0
0
0.009009
0.212766
141
14
27
10.071429
0.711712
0.241135
0
0
0
0
0.161616
0
0
0
0
0
0
1
0.4
true
0
0.2
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
5
e68b6eda55550130f9e9cde908bd93deb17381fe
62
py
Python
src/data/sets/__init__.py
dmitry-s-danilov/kaggle-house-prices-advanced-regression-techniques
ab5130ea6d5b1c7373a886b9289cf0fde4f7c27d
[ "MIT" ]
1
2022-02-08T11:54:16.000Z
2022-02-08T11:54:16.000Z
src/data/sets/__init__.py
dmitry-s-danilov/kaggle-house-prices-advanced-regression-techniques
ab5130ea6d5b1c7373a886b9289cf0fde4f7c27d
[ "MIT" ]
null
null
null
src/data/sets/__init__.py
dmitry-s-danilov/kaggle-house-prices-advanced-regression-techniques
ab5130ea6d5b1c7373a886b9289cf0fde4f7c27d
[ "MIT" ]
null
null
null
from .load import load from .paths import file_paths as paths
20.666667
38
0.806452
11
62
4.454545
0.545455
0
0
0
0
0
0
0
0
0
0
0
0.16129
62
2
39
31
0.942308
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
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
5
e6af06e550d3607694295d48dcd073a95bcd0af0
49
py
Python
ecowater_softener/__init__.py
barleybobs/ecowater-softener
c99f6bb33ebf717fcd6f3a420003aeae54ee024b
[ "MIT" ]
4
2021-08-25T15:33:47.000Z
2022-01-11T17:04:23.000Z
ecowater_softener/__init__.py
barleybobs/ecowater_softener
c99f6bb33ebf717fcd6f3a420003aeae54ee024b
[ "MIT" ]
2
2021-09-07T23:21:22.000Z
2021-09-13T20:19:03.000Z
ecowater_softener/__init__.py
barleybobs/ecowater_softener
c99f6bb33ebf717fcd6f3a420003aeae54ee024b
[ "MIT" ]
2
2021-09-05T09:20:41.000Z
2021-09-18T07:55:46.000Z
from ecowater_softener.ecowater import Ecowater
24.5
48
0.877551
6
49
7
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.102041
49
1
49
49
0.954545
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
0
0
0
5
e6ca0e3d37ff5eec0f8b74e2f9fc5f1dfb6c56b8
65
py
Python
config.py
Dextroz/Marvel_Flask_Website
39f826a3d0e536e0c1e1113e13f0552133c0c051
[ "MIT" ]
2
2021-01-25T08:58:36.000Z
2021-07-30T23:12:42.000Z
config.py
Dextroz/Marvel_Flask_Website
39f826a3d0e536e0c1e1113e13f0552133c0c051
[ "MIT" ]
null
null
null
config.py
Dextroz/Marvel_Flask_Website
39f826a3d0e536e0c1e1113e13f0552133c0c051
[ "MIT" ]
2
2022-02-20T14:42:27.000Z
2022-02-20T22:14:04.000Z
public_key = "Insert Key Here." private_key = "Insert Key Here."
21.666667
32
0.723077
10
65
4.5
0.5
0.4
0.533333
0.711111
0
0
0
0
0
0
0
0
0.153846
65
2
33
32.5
0.818182
0
0
0
0
0
0.492308
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
5
fc4cfd0b4bab0542a78eecfbe82837b9a02eeeb9
22
py
Python
__init__.py
SagarKurada/Data-Butler---Data-profiling-Python-package
2209dfc80230af7c58ee55df8531e09f9b0f924f
[ "MIT" ]
1
2020-02-28T17:18:19.000Z
2020-02-28T17:18:19.000Z
__init__.py
DataButler/Data-Butler
2209dfc80230af7c58ee55df8531e09f9b0f924f
[ "MIT" ]
null
null
null
__init__.py
DataButler/Data-Butler
2209dfc80230af7c58ee55df8531e09f9b0f924f
[ "MIT" ]
2
2020-03-19T03:00:17.000Z
2021-09-09T02:27:39.000Z
#init file for package
22
22
0.818182
4
22
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.947368
0.954545
0
null
0
null
0
0
null
0
0
0
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
0
0
0
0
1
0
0
0
0
0
0
5
fc5aa2149d30ce3153d01ae5442fe3d09bca92e5
160
py
Python
src/pgoapi/pgoapi/protos/__init__.py
SovietKnowHow/slackplotbot
016cbe1dde7b9114c4e80b564fb73aa91ac76b14
[ "MIT" ]
null
null
null
src/pgoapi/pgoapi/protos/__init__.py
SovietKnowHow/slackplotbot
016cbe1dde7b9114c4e80b564fb73aa91ac76b14
[ "MIT" ]
null
null
null
src/pgoapi/pgoapi/protos/__init__.py
SovietKnowHow/slackplotbot
016cbe1dde7b9114c4e80b564fb73aa91ac76b14
[ "MIT" ]
null
null
null
import os import sys # add directory of this file to PATH, so that the package will be found sys.path.append(os.path.dirname(os.path.realpath(__file__)))
26.666667
72
0.75
28
160
4.142857
0.714286
0.103448
0
0
0
0
0
0
0
0
0
0
0.1625
160
6
73
26.666667
0.865672
0.43125
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
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
5
fc5f545e7b12832d3d2351ec1cc73147005e3e66
110
py
Python
plotly/graph_objs/surface/colorbar/__init__.py
gnestor/plotly.py
a8ae062795ddbf9867b8578fe6d9e244948c15ff
[ "MIT" ]
2
2018-12-03T15:20:42.000Z
2018-12-03T15:20:47.000Z
plotly/graph_objs/surface/colorbar/__init__.py
gnestor/plotly.py
a8ae062795ddbf9867b8578fe6d9e244948c15ff
[ "MIT" ]
1
2020-12-15T16:56:11.000Z
2020-12-15T16:56:11.000Z
plotly/graph_objs/surface/colorbar/__init__.py
gnestor/plotly.py
a8ae062795ddbf9867b8578fe6d9e244948c15ff
[ "MIT" ]
4
2019-06-03T14:49:12.000Z
2022-01-06T01:05:12.000Z
from ._titlefont import Titlefont from ._tickformatstop import Tickformatstop from ._tickfont import Tickfont
27.5
43
0.863636
12
110
7.666667
0.416667
0
0
0
0
0
0
0
0
0
0
0
0.109091
110
3
44
36.666667
0.938776
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
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
5
5d9c01734de613e53bdaf29d32f56c206f2be801
61
py
Python
c15/c15.py
avnish19/project-euler
263d60a133174d72e8117671ca61b41156a70191
[ "Unlicense" ]
null
null
null
c15/c15.py
avnish19/project-euler
263d60a133174d72e8117671ca61b41156a70191
[ "Unlicense" ]
null
null
null
c15/c15.py
avnish19/project-euler
263d60a133174d72e8117671ca61b41156a70191
[ "Unlicense" ]
null
null
null
""" Module to provide solution to Challenge 15 """ import sys
15.25
42
0.737705
9
61
5
0.888889
0
0
0
0
0
0
0
0
0
0
0.039216
0.163934
61
4
43
15.25
0.843137
0.688525
0
0
0
0
0
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
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
5d9ffe2a4c950ca67af0b951c360f69ad5d60f7a
116
py
Python
Living_SDK/board/uno-91h/ucube.py
Ai-Thinker-Open/Ai-Thinker-Open_ALIOS_DEV
27b3e2883d5801551c6919bf405583919d2f3f08
[ "Apache-2.0" ]
2
2020-07-14T07:48:18.000Z
2020-08-20T03:14:18.000Z
Living_SDK/board/uno-91h/ucube.py
Ai-Thinker-Open/Ai-Thinker-Open_ALIOS_DEV
27b3e2883d5801551c6919bf405583919d2f3f08
[ "Apache-2.0" ]
1
2022-03-18T07:14:27.000Z
2022-03-18T07:14:27.000Z
Living_SDK/board/uno-91h/ucube.py
Ai-Thinker-Open/Ai-Thinker-Open_ALIOS_DEV
27b3e2883d5801551c6919bf405583919d2f3f08
[ "Apache-2.0" ]
3
2020-07-04T14:37:00.000Z
2021-11-15T01:59:51.000Z
linux_only_targets="living_platform linkkit_gateway smart_outlet smart_outlet_meter smart_led_bulb smart_led_strip"
58
115
0.922414
18
116
5.333333
0.722222
0.229167
0
0
0
0
0
0
0
0
0
0
0.051724
116
1
116
116
0.872727
0
0
0
0
0
0.810345
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
5df0286fe60e4602b6e796f6cc9096a19a94dd4c
1,496
py
Python
app/models.py
Jobenland/MFC-WebApp
aa5817ca32d8a797400971f4fcd40344cd6509ae
[ "MIT" ]
null
null
null
app/models.py
Jobenland/MFC-WebApp
aa5817ca32d8a797400971f4fcd40344cd6509ae
[ "MIT" ]
1
2020-01-23T16:43:48.000Z
2020-01-23T16:43:48.000Z
app/models.py
Jobenland/MFC-WebApp
aa5817ca32d8a797400971f4fcd40344cd6509ae
[ "MIT" ]
null
null
null
from json import dumps from werkzeug.security import generate_password_hash, check_password_hash from . import db from .utils import timestamp class User(db.Model): """The User model""" __tablename__ = 'users' id = db.Column(db.Integer, primary_key=True) email = db.Column(db.String(256),...
25.793103
74
0.608289
178
1,496
4.932584
0.331461
0.095672
0.045558
0.038724
0.134396
0.134396
0.072893
0
0
0
0
0.005703
0.296791
1,496
57
75
26.245614
0.828897
0.028743
0
0.214286
1
0
0.015884
0
0
0
0
0
0
1
0.214286
false
0.190476
0.095238
0.142857
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
5
b90f680b7833a3ad914a9f07d7f6dc221ef8e44b
432
py
Python
src/handwritten_text_recognition/config.py
CrazyCrud/ocr_with_keras
f71fb7f4c4a1d57c68001ef0fa273154050edee4
[ "MIT" ]
null
null
null
src/handwritten_text_recognition/config.py
CrazyCrud/ocr_with_keras
f71fb7f4c4a1d57c68001ef0fa273154050edee4
[ "MIT" ]
3
2020-09-25T23:07:18.000Z
2021-05-21T15:14:33.000Z
src/handwritten_text_recognition/config.py
CrazyCrud/ocr-with-keras
f71fb7f4c4a1d57c68001ef0fa273154050edee4
[ "MIT" ]
1
2019-12-12T08:34:47.000Z
2019-12-12T08:34:47.000Z
import os def get_base_dir(): return os.path.dirname(__file__) def get_path_to_file_in_assets(*args): return os.path.join(get_base_dir(), 'assets', *args) def get_path_to_image_file_in_assets(*args): return os.path.join(get_base_dir(), 'assets', 'images', *args) def get_path_to_model_dir_in_assets(*...
19.636364
66
0.712963
70
432
3.871429
0.328571
0.088561
0.147601
0.132841
0.634686
0.516605
0.516605
0.516605
0.516605
0.516605
0
0
0.141204
432
21
67
20.571429
0.730458
0
0
0
0
0
0.087963
0
0
0
0
0
0
1
0.363636
true
0.090909
0.090909
0.363636
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
1
1
0
0
5
f8d800290b6227ca8e0f8d370a26a55490ec1c4e
56
py
Python
{{cookiecutter.project_name}}/service/tests/services/test_core.py
ProjectTemplates/python-backend-service
5266916e54faaf236bc972a2cd7bb1217e8a8625
[ "MIT" ]
7
2020-07-28T18:45:20.000Z
2021-12-11T23:33:49.000Z
{{cookiecutter.project_name}}/tests/services/test_core.py
KovalevVasiliy/python-fastapi-backend
e9ed466c00bae2eeb0b4271b013cc8dacd98acf0
[ "MIT" ]
null
null
null
{{cookiecutter.project_name}}/tests/services/test_core.py
KovalevVasiliy/python-fastapi-backend
e9ed466c00bae2eeb0b4271b013cc8dacd98acf0
[ "MIT" ]
1
2020-05-10T20:26:02.000Z
2020-05-10T20:26:02.000Z
# Tests for service *core* from services.core import *
14
27
0.732143
8
56
5.125
0.875
0
0
0
0
0
0
0
0
0
0
0
0.178571
56
3
28
18.666667
0.891304
0.428571
0
0
0
0
0
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
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
f8db44abf4d82b3d95b2890794ea9c62cc494529
13,603
py
Python
calculator/expression/expression_level.py
restless-dreamer/awesome-calculator
52c20d0f935cd6906b5020cbd69fb2d537b93efe
[ "MIT" ]
null
null
null
calculator/expression/expression_level.py
restless-dreamer/awesome-calculator
52c20d0f935cd6906b5020cbd69fb2d537b93efe
[ "MIT" ]
1
2021-07-27T21:08:10.000Z
2021-07-28T11:22:24.000Z
calculator/expression/expression_level.py
restless-dreamer/awesome-calculator
52c20d0f935cd6906b5020cbd69fb2d537b93efe
[ "MIT" ]
null
null
null
from math import * from calculator.language_content import get_error_text class ExpressionLevel: def __init__(self, language, items, pos=0): self.__items = [] self.end_pos = None self.error = None self.error_pos = None self.error_group = None self.language = languag...
42.245342
77
0.446372
1,521
13,603
3.710059
0.061801
0.250399
0.229665
0.122098
0.770689
0.741272
0.718412
0.701577
0.583023
0.571327
0
0.034384
0.433434
13,603
321
78
42.376947
0.69625
0
0
0.544304
0
0
0.008969
0
0
0
0
0
0
1
0.012658
false
0
0.009494
0
0.088608
0
0
0
0
null
1
1
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
f8e495742e95c52f7a3ab33bf91894d4df7ae730
21
py
Python
docs/cli/iterm/__init__.py
ChakshuGautam/PDF-Package
e054a4125c8bb979f0e2ac6a8137523868742d8a
[ "MIT" ]
null
null
null
docs/cli/iterm/__init__.py
ChakshuGautam/PDF-Package
e054a4125c8bb979f0e2ac6a8137523868742d8a
[ "MIT" ]
18
2020-05-01T03:17:56.000Z
2022-02-21T18:20:15.000Z
docs/cli/iterm/__init__.py
ChakshuGautam/PDF-Package
e054a4125c8bb979f0e2ac6a8137523868742d8a
[ "MIT" ]
4
2020-05-01T03:20:35.000Z
2021-11-17T13:37:52.000Z
#!./venv/bin python3
10.5
20
0.666667
3
21
4.666667
1
0
0
0
0
0
0
0
0
0
0
0.052632
0.095238
21
1
21
21
0.684211
0.904762
0
null
0
null
0
0
null
0
0
0
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
0
0
0
0
1
0
0
0
0
0
0
5
5d2c2193fb890f10c4ae45d82631c7a802fc38b2
329
py
Python
bentoctl/utils/operator_helpers/__init__.py
jjmachan/bentoctl
54ca1968a7197f658a7e9dc7ab0b46db1fc7439d
[ "Apache-2.0" ]
19
2021-12-12T13:27:54.000Z
2022-03-26T13:21:08.000Z
bentoctl/utils/operator_helpers/__init__.py
jjmachan/bentoctl
54ca1968a7197f658a7e9dc7ab0b46db1fc7439d
[ "Apache-2.0" ]
22
2021-12-09T17:37:15.000Z
2022-03-15T20:47:43.000Z
bentoctl/utils/operator_helpers/__init__.py
jjmachan/bentoctl
54ca1968a7197f658a7e9dc7ab0b46db1fc7439d
[ "Apache-2.0" ]
7
2021-12-13T06:48:04.000Z
2022-03-01T17:21:13.000Z
from bentoctl.utils.operator_helpers.create_deployable import ( create_deployable_from_local_bentostore, ) from bentoctl.utils.operator_helpers.generate import Generate from bentoctl.utils.operator_helpers.utils import run_shell_command __all__ = ["Generate", "create_deployable_from_local_bentostore", "run_shell_c...
41.125
86
0.857143
41
329
6.390244
0.365854
0.137405
0.194656
0.28626
0.633588
0
0
0
0
0
0
0
0.072948
329
7
87
47
0.859016
0
0
0
1
0
0.194529
0.118541
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
5
5d3d9c5dbaba70c0668747a61a2f58fafaafa04b
1,376
py
Python
extract_features/save_inDir.py
CarolMazini/Manifold-Learning-for-Real-World-Event-Understanding
36151165f0ce23c168b893a9e916023b34630cf3
[ "MIT" ]
null
null
null
extract_features/save_inDir.py
CarolMazini/Manifold-Learning-for-Real-World-Event-Understanding
36151165f0ce23c168b893a9e916023b34630cf3
[ "MIT" ]
null
null
null
extract_features/save_inDir.py
CarolMazini/Manifold-Learning-for-Real-World-Event-Understanding
36151165f0ce23c168b893a9e916023b34630cf3
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import numpy as np import pandas as pd import random import os,sys import shutil ##################################MAIN##################################### def save_train_val(dir,in_csv): name_path_save_val = os.path.join(dir,'val/') if not os.path.isdir(name_path_save_val): os.mkdir(nam...
32
97
0.681686
241
1,376
3.680498
0.182573
0.10823
0.162345
0.101466
0.825254
0.784667
0.732807
0.732807
0.732807
0.59301
0
0.003984
0.087936
1,376
42
98
32.761905
0.702789
0.025436
0
0.285714
0
0
0.028459
0
0
0
0
0
0
1
0.035714
false
0
0.178571
0
0.214286
0.142857
0
0
0
null
0
0
0
1
1
1
1
1
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
5
5d48448653a4c943daf437bdf006be3409cf7fa8
415
py
Python
car-segment/test.py
chicm/carvana
493a19fbb2fdab1cc1b4b95d97742684e4144229
[ "Apache-2.0" ]
null
null
null
car-segment/test.py
chicm/carvana
493a19fbb2fdab1cc1b4b95d97742684e4144229
[ "Apache-2.0" ]
null
null
null
car-segment/test.py
chicm/carvana
493a19fbb2fdab1cc1b4b95d97742684e4144229
[ "Apache-2.0" ]
null
null
null
import bcolz import numpy as np def save_array(fname, arr): c=bcolz.carray(arr, rootdir=fname, mode='w') c.flush() def load_array(fname): return bcolz.open(fname)[:] probs = np.load('/home/chicm/ml/kgdata/carvana/results/single/UNet_double_1024_5/submit/049/probs-part10.8.npy') save_array('/home/chicm/...
29.642857
119
0.751807
69
415
4.391304
0.536232
0.059406
0.072607
0.112211
0.382838
0.382838
0.382838
0.382838
0.382838
0.382838
0
0.050398
0.091566
415
14
119
29.642857
0.753316
0
0
0
0
0.222222
0.462651
0.460241
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
539cada9683e27c1a9acbec75148b38c99c9b8b5
130
py
Python
apps/profiles/admin.py
tofumatt/quotes
340013c2c3a21b406ffff9c26bc84540707439e7
[ "MIT" ]
null
null
null
apps/profiles/admin.py
tofumatt/quotes
340013c2c3a21b406ffff9c26bc84540707439e7
[ "MIT" ]
1
2015-12-05T02:05:54.000Z
2015-12-05T02:05:54.000Z
apps/profiles/admin.py
tofumatt/quotes
340013c2c3a21b406ffff9c26bc84540707439e7
[ "MIT" ]
null
null
null
from profiles.models import * from django.contrib import admin admin.site.register(FriendGroup) admin.site.register(UserProfile)
21.666667
32
0.830769
17
130
6.352941
0.647059
0.166667
0.314815
0
0
0
0
0
0
0
0
0
0.084615
130
5
33
26
0.907563
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
0
0
0
5
53ca6f16389d5721e5ce1a3a334c66f1cbca4466
88
py
Python
soda/__init__.py
lbnl-cybersecurity/SoDa
e07987e2ed05e036b72cf6d668ce43e60eccf2f4
[ "BSD-3-Clause-LBNL" ]
null
null
null
soda/__init__.py
lbnl-cybersecurity/SoDa
e07987e2ed05e036b72cf6d668ce43e60eccf2f4
[ "BSD-3-Clause-LBNL" ]
null
null
null
soda/__init__.py
lbnl-cybersecurity/SoDa
e07987e2ed05e036b72cf6d668ce43e60eccf2f4
[ "BSD-3-Clause-LBNL" ]
null
null
null
from soda.solar_data import SolarSite from soda.config import * __all__ = ['SolarSite']
22
37
0.784091
12
88
5.333333
0.666667
0.25
0
0
0
0
0
0
0
0
0
0
0.125
88
3
38
29.333333
0.831169
0
0
0
0
0
0.102273
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
54e838ba226f9f22b6c3ad3ded5558de77088d59
1,747
py
Python
okra/utils.py
NonsoAmadi10/Okra
ce0c98722b5ca24206bf86dbd0fc348aa9ed4510
[ "MIT" ]
2
2021-03-16T01:47:57.000Z
2022-01-25T09:13:46.000Z
okra/utils.py
NonsoAmadi10/Okra
ce0c98722b5ca24206bf86dbd0fc348aa9ed4510
[ "MIT" ]
null
null
null
okra/utils.py
NonsoAmadi10/Okra
ce0c98722b5ca24206bf86dbd0fc348aa9ed4510
[ "MIT" ]
null
null
null
import functools import datetime def validate_id(func): @functools.wraps(func) def wrapper(_, id): if type(id) != str: raise TypeError( f"\n Expecting an id type of string but got {type(id)}\n") result = func(_, id) return result return wrapper def va...
27.296875
80
0.589582
218
1,747
4.550459
0.252294
0.080645
0.032258
0.066532
0.860887
0.860887
0.788306
0.752016
0.675403
0.675403
0
0
0.321694
1,747
63
81
27.730159
0.837131
0.058958
0
0.659091
0
0
0.192566
0
0
0
0
0
0
1
0.136364
false
0
0.045455
0
0.318182
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
07378ae573b863c3b7316681adc4cbfe59e908bc
1,668
py
Python
face_example/traingt_showfeaturemap.py
wujiyang/caffe
2ff25a86ec1d8cc8ab56776ca12bf60411bff27c
[ "Apache-2.0" ]
1
2018-06-11T12:50:26.000Z
2018-06-11T12:50:26.000Z
face_example/traingt_showfeaturemap.py
wujiyang/caffe
2ff25a86ec1d8cc8ab56776ca12bf60411bff27c
[ "Apache-2.0" ]
null
null
null
face_example/traingt_showfeaturemap.py
wujiyang/caffe
2ff25a86ec1d8cc8ab56776ca12bf60411bff27c
[ "Apache-2.0" ]
1
2019-04-08T02:37:29.000Z
2019-04-08T02:37:29.000Z
import caffe import numpy as np import matplotlib.pyplot as plt caffe.set_device(1) caffe.set_mode_gpu() solver = caffe.SGDSolver('./gait.prototxt') #solver.net.copy_from('kenel256_att_iter_2000.caffemodel') for j in range(15000): solver.step(1) if j % 100 == 0: for i in range(16): plt.subplot(4,4,i+1) plt....
34.040816
88
0.627098
313
1,668
3.29393
0.223642
0.015519
0.082444
0.042677
0.747818
0.747818
0.747818
0.747818
0.71387
0.678952
0
0.086598
0.127698
1,668
49
89
34.040816
0.621993
0.244005
0
0.583333
0
0
0.115108
0.067146
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
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
0
0
0
0
0
0
0
0
5
4acfac3cf0e6f0734cb4363ca074ae6dd6741f9c
56
py
Python
part1/src/python_exercise/__init__.py
ModusCreateOrg/python-exercise
a94446048ef8a7c145ecc8c1432aa17c580c61fe
[ "MIT" ]
null
null
null
part1/src/python_exercise/__init__.py
ModusCreateOrg/python-exercise
a94446048ef8a7c145ecc8c1432aa17c580c61fe
[ "MIT" ]
null
null
null
part1/src/python_exercise/__init__.py
ModusCreateOrg/python-exercise
a94446048ef8a7c145ecc8c1432aa17c580c61fe
[ "MIT" ]
15
2019-09-04T01:14:53.000Z
2021-02-03T10:15:10.000Z
print "This is our Django project generator tool set."
18.666667
54
0.767857
9
56
4.777778
1
0
0
0
0
0
0
0
0
0
0
0
0.178571
56
2
55
28
0.934783
0
0
0
0
0
0.836364
0
0
0
0
0
0
0
null
null
0
0
null
null
1
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
1
0
0
0
0
0
0
1
0
5
4ad944d94ba81fb38c0cf6ae3ddc93af499b75ea
215
py
Python
plyse/__init__.py
timdrijvers/plyse
a1aa625813b3aec907e363b8738b93f624b1cf03
[ "MIT" ]
null
null
null
plyse/__init__.py
timdrijvers/plyse
a1aa625813b3aec907e363b8738b93f624b1cf03
[ "MIT" ]
null
null
null
plyse/__init__.py
timdrijvers/plyse
a1aa625813b3aec907e363b8738b93f624b1cf03
[ "MIT" ]
null
null
null
from .grammar import GrammarFactory from .parser import QueryParser from .query import Query from .term_parser import * from .expressions.primitives import * from .expressions.terms import * __version__ = '1.0.2'
21.5
37
0.790698
28
215
5.892857
0.535714
0.145455
0.254545
0
0
0
0
0
0
0
0
0.016129
0.134884
215
9
38
23.888889
0.870968
0
0
0
0
0
0.023256
0
0
0
0
0
0
1
0
false
0
0.857143
0
0.857143
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
0
0
1
0
1
0
0
5
4adf62cdb2a6d32bd991880e360a3c9f7ac6a37f
91
py
Python
test cases/unit/68 test env value/test.py
iinuwa/meson
7528c69fcca63889d67c1d6c2463c9e9485585a8
[ "Apache-2.0" ]
4,047
2015-06-18T10:36:48.000Z
2022-03-31T09:47:02.000Z
test cases/unit/68 test env value/test.py
iinuwa/meson
7528c69fcca63889d67c1d6c2463c9e9485585a8
[ "Apache-2.0" ]
8,206
2015-06-14T12:20:48.000Z
2022-03-31T22:50:37.000Z
test cases/unit/68 test env value/test.py
iinuwa/meson
7528c69fcca63889d67c1d6c2463c9e9485585a8
[ "Apache-2.0" ]
1,489
2015-06-27T04:06:38.000Z
2022-03-29T10:14:48.000Z
#!/usr/bin/env python3 import os import sys assert os.environ['TEST_VAR'] == sys.argv[1]
13
44
0.703297
16
91
3.9375
0.8125
0
0
0
0
0
0
0
0
0
0
0.025316
0.131868
91
6
45
15.166667
0.772152
0.230769
0
0
0
0
0.115942
0
0
0
0
0
0.333333
1
0
true
0
0.666667
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
0
1
0
1
0
0
5
ab06aa18c26284a1fe487a043b3a54430957ae83
116
py
Python
plotbox/__init__.py
anmolgarg/plotbox
841467ca5adb7f8ccd23762eb97e0361bdec2edb
[ "MIT" ]
null
null
null
plotbox/__init__.py
anmolgarg/plotbox
841467ca5adb7f8ccd23762eb97e0361bdec2edb
[ "MIT" ]
null
null
null
plotbox/__init__.py
anmolgarg/plotbox
841467ca5adb7f8ccd23762eb97e0361bdec2edb
[ "MIT" ]
null
null
null
import plot import iplot import movie import utils import tables import reference from ._version import __version__
14.5
33
0.853448
16
116
5.875
0.5625
0
0
0
0
0
0
0
0
0
0
0
0.137931
116
8
33
14.5
0.94
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
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
5
ab09464d3d2a73be6cf8a84b0368f0a3131730ae
2,490
py
Python
print_parameters.py
bhishanpdl/Mass_Estimation
63d6361023057290408fc6ef129558f83b913eaf
[ "MIT" ]
null
null
null
print_parameters.py
bhishanpdl/Mass_Estimation
63d6361023057290408fc6ef129558f83b913eaf
[ "MIT" ]
null
null
null
print_parameters.py
bhishanpdl/Mass_Estimation
63d6361023057290408fc6ef129558f83b913eaf
[ "MIT" ]
null
null
null
from tabulate import tabulate params = "# id coord_ra coord_dec parent deblend_nChild deblend_psfCenter_x deblend_psfCenter_y deblend_psfFlux base_GaussianCentroid_x base_GaussianCentroid_y base_NaiveCentroid_x base_NaiveCentroid_y base_SdssCentroid_x base_SdssCentroid_y base_SdssCentroid_xSigma base_Sd...
207.5
2,189
0.883936
336
2,490
5.934524
0.244048
0.240722
0.140421
0.130893
0
0
0
0
0
0
0
0.028107
0.085542
2,490
12
2,190
207.5
0.847607
0.021687
0
0
0
0.125
0.897699
0.693509
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.25
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
ab144bc9d99c6a7d63f4330782b51ce2fc7cbcfe
77
py
Python
mne/datasets/somato/__init__.py
TanayGahlot/mne-python
857aa97c201451b82931c5eba50642975afc423d
[ "BSD-3-Clause" ]
4
2017-01-08T15:36:30.000Z
2022-03-08T13:07:27.000Z
mne/datasets/somato/__init__.py
TanayGahlot/mne-python
857aa97c201451b82931c5eba50642975afc423d
[ "BSD-3-Clause" ]
4
2015-04-20T16:10:47.000Z
2016-11-01T13:32:48.000Z
mne/datasets/somato/__init__.py
TanayGahlot/mne-python
857aa97c201451b82931c5eba50642975afc423d
[ "BSD-3-Clause" ]
null
null
null
"""Somatosensory dataset """ from .somato import data_path, has_somato_data
15.4
46
0.779221
10
77
5.7
0.8
0
0
0
0
0
0
0
0
0
0
0
0.116883
77
4
47
19.25
0.838235
0.272727
0
0
0
0
0
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
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
ab1a8ac3bad4766fa0a887af049b78874ed0342f
3,956
py
Python
tests/test_request.py
VALDOM-PROJET-TRANSVERSE-2019/Module4_VehicleTracking
4d3c3fa0a21f68116ae59346a4cc9bd0bb4b3af9
[ "MIT" ]
1
2020-03-23T16:11:20.000Z
2020-03-23T16:11:20.000Z
tests/test_request.py
VALDOM-PROJET-TRANSVERSE-2019/Module4_VehicleTracking
4d3c3fa0a21f68116ae59346a4cc9bd0bb4b3af9
[ "MIT" ]
4
2020-03-13T10:41:37.000Z
2020-03-24T22:05:49.000Z
tests/test_request.py
VALDOM-PROJET-TRANSVERSE-2019/Module4_VehicleTracking
4d3c3fa0a21f68116ae59346a4cc9bd0bb4b3af9
[ "MIT" ]
1
2020-09-11T13:45:00.000Z
2020-09-11T13:45:00.000Z
""" Module for testing flask api with unittest """ import json import unittest import urllib from urllib import request from urllib.error import HTTPError class TestGet(unittest.TestCase): """ Test functions of request to flask server """ def setUp(self): self.data = {'list_frame_contour': 'd...
32.966667
97
0.612487
488
3,956
4.805328
0.194672
0.089552
0.048614
0.066525
0.790618
0.754371
0.732196
0.715991
0.701919
0.680597
0
0.019883
0.262639
3,956
119
98
33.243697
0.784025
0.117037
0
0.594203
0
0
0.127614
0.013337
0
0
0
0
0.275362
1
0.086957
false
0
0.072464
0
0.173913
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
0
0
0
0
0
0
0
0
5
ab2303e5d7ac1d80b37241fdf79be14e4ad57184
5,929
py
Python
tests/funcat/conditional_selection/test_turtle.py
pchaos/funcat2
ff554cc134906a5a182fc31774488d62a839b314
[ "Apache-2.0" ]
10
2021-05-06T01:17:28.000Z
2022-01-09T16:56:51.000Z
tests/funcat/conditional_selection/test_turtle.py
pchaos/funcat2
ff554cc134906a5a182fc31774488d62a839b314
[ "Apache-2.0" ]
null
null
null
tests/funcat/conditional_selection/test_turtle.py
pchaos/funcat2
ff554cc134906a5a182fc31774488d62a839b314
[ "Apache-2.0" ]
4
2021-05-26T14:25:01.000Z
2022-01-09T16:56:44.000Z
# -*- coding: utf-8 -*- import unittest import numpy as np from datetime import date from funcat import FOURWEEK, FOURWEEKQTY from funcat.api import T, S, set_current_freq, symbol, \ CLOSE from funcat.utils import FuncatTestCase class TestTurtle(FuncatTestCase): @classmethod def setUp(cls) -> None: ...
48.598361
148
0.561983
784
5,929
4.108418
0.117347
0.17417
0.088792
0.085688
0.760012
0.73176
0.73176
0.725862
0.702577
0.702577
0
0.034683
0.275426
5,929
121
149
49
0.715084
0.018722
0
0.619048
0
0.066667
0.201137
0.104873
0
0
0
0
0.12381
1
0.066667
false
0
0.057143
0
0.133333
0.171429
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
0
0
0
0
0
0
0
0
5
ab2a2fa34e6930772e5cdcb82477af440543ffcc
130
py
Python
adblockparser/__init__.py
rriemann/adblockparser
4089612d65018d38dbb88dd7f697bcb07814014d
[ "MIT" ]
162
2015-01-26T22:41:39.000Z
2022-02-15T04:49:13.000Z
adblockparser/__init__.py
rriemann/adblockparser
4089612d65018d38dbb88dd7f697bcb07814014d
[ "MIT" ]
18
2015-01-30T21:20:17.000Z
2021-11-23T00:56:24.000Z
adblockparser/__init__.py
rriemann/adblockparser
4089612d65018d38dbb88dd7f697bcb07814014d
[ "MIT" ]
43
2015-03-28T03:15:09.000Z
2021-12-09T03:29:39.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import from .parser import AdblockRules, AdblockRule, AdblockParsingError
32.5
66
0.792308
14
130
7
0.785714
0
0
0
0
0
0
0
0
0
0
0.008696
0.115385
130
3
67
43.333333
0.843478
0.161538
0
0
0
0
0
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
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
ab451e38ef2666da719601cd0a2cea9c48c59d31
8,840
py
Python
ceilometer/tests/publisher/test_kafka_broker_publisher.py
shahbazn/ceilometer
6308a46f14b21fb39c0e728c150ab4efde5b532a
[ "Apache-2.0" ]
null
null
null
ceilometer/tests/publisher/test_kafka_broker_publisher.py
shahbazn/ceilometer
6308a46f14b21fb39c0e728c150ab4efde5b532a
[ "Apache-2.0" ]
null
null
null
ceilometer/tests/publisher/test_kafka_broker_publisher.py
shahbazn/ceilometer
6308a46f14b21fb39c0e728c150ab4efde5b532a
[ "Apache-2.0" ]
null
null
null
# # Copyright 2015 Cisco Inc. # # 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 agreed to in writing...
40.181818
77
0.633371
1,004
8,840
5.373506
0.163347
0.032623
0.047266
0.071362
0.779055
0.763114
0.763114
0.763114
0.763114
0.73494
0
0.025311
0.25362
8,840
219
78
40.365297
0.792361
0.067421
0
0.685714
0
0
0.10822
0.054839
0
0
0
0
0.125714
1
0.057143
false
0
0.045714
0
0.12
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
0
0
0
0
0
0
0
0
5
ab5fa8ac6f3305bf209f156d7a3038aedaf6e6c4
760
py
Python
meraki/models/type2_enum.py
dexterlabora/meraki-python-sdk
f6e6d61bd8694548169cd872b0642def69115bcb
[ "MIT" ]
37
2019-04-24T14:01:33.000Z
2022-01-28T01:37:21.000Z
meraki/models/type2_enum.py
ankita66666666/meraki-python-sdk
9894089eb013318243ae48869cc5130eb37f80c0
[ "MIT" ]
10
2019-07-09T16:35:11.000Z
2021-12-07T03:47:53.000Z
meraki/models/type2_enum.py
ankita66666666/meraki-python-sdk
9894089eb013318243ae48869cc5130eb37f80c0
[ "MIT" ]
17
2019-04-30T23:53:21.000Z
2022-02-07T22:57:44.000Z
# -*- coding: utf-8 -*- """ meraki This file was automatically generated for meraki by APIMATIC v2.0 ( https://apimatic.io ). """ class Type2Enum(object): """Implementation of the 'Type2' enum. Type of the L7 Rule. Must be 'application', 'applicationCategory', 'host', 'port' or 'ip...
21.714286
95
0.607895
75
760
6.16
0.52
0.08658
0.205628
0.248918
0
0
0
0
0
0
0
0.01107
0.286842
760
34
96
22.352941
0.841328
0.639474
0
0
1
0
0.25
0
0
0
0
0.147059
0
1
0
false
0
0
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
5
db3e30c49cb2b9b1f78b2bf2b673476b52cea1e9
143
py
Python
src/services/project_manager/test.py
melkyah/gcp_lab_keeper
98c2ac32269e25710f9f2c1938c17d3a86127189
[ "Apache-2.0" ]
null
null
null
src/services/project_manager/test.py
melkyah/gcp_lab_keeper
98c2ac32269e25710f9f2c1938c17d3a86127189
[ "Apache-2.0" ]
null
null
null
src/services/project_manager/test.py
melkyah/gcp_lab_keeper
98c2ac32269e25710f9f2c1938c17d3a86127189
[ "Apache-2.0" ]
null
null
null
from project_manager_client import ProjectManagerClient curr_client = ProjectManagerClient() curr_client.get_projects('../credentials.json')
23.833333
55
0.846154
15
143
7.733333
0.733333
0.413793
0.517241
0
0
0
0
0
0
0
0
0
0.06993
143
5
56
28.6
0.87218
0
0
0
0
0
0.132867
0
0
0
0
0
0
1
0
false
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
0
0
1
0
0
0
0
5
db492fb1ded044aa1c172919b06e695a88a34bfe
11,942
py
Python
conans/test/unittests/util/build_sln_command_test.py
ssaavedra/conan
e15dc7902fbbeaf469798a3b9948ead1ecfc8e3c
[ "MIT" ]
1
2021-08-05T15:33:08.000Z
2021-08-05T15:33:08.000Z
conans/test/unittests/util/build_sln_command_test.py
ssaavedra/conan
e15dc7902fbbeaf469798a3b9948ead1ecfc8e3c
[ "MIT" ]
null
null
null
conans/test/unittests/util/build_sln_command_test.py
ssaavedra/conan
e15dc7902fbbeaf469798a3b9948ead1ecfc8e3c
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import unittest import warnings import pytest from nose.plugins.attrib import attr from six import StringIO from conans.client import tools from conans.client.output import ConanOutput from conans.client.tools.oss import cpu_count from conans.client.tools.win i...
47.015748
105
0.557109
1,144
11,942
5.699301
0.136364
0.029448
0.029908
0.046012
0.782362
0.760123
0.760123
0.750153
0.749387
0.749387
0
0.012811
0.326746
11,942
253
106
47.201581
0.798134
0.005862
0
0.671717
0
0
0.158578
0.037243
0
0
0
0
0.313131
1
0.045455
false
0
0.090909
0
0.141414
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
0
0
0
0
0
0
0
0
5
db6c8efe5eb6e677296a3f85dc1ce71befc192f3
1,380
py
Python
src/obfuscapk/obfuscator_category.py
AkshayJainG/Obfuscapk
6f2e791dbc06afc17d69393b3e5064cc4821a582
[ "MIT" ]
12
2020-02-24T13:40:41.000Z
2021-05-05T12:41:43.000Z
src/obfuscapk/obfuscator_category.py
z3r0Sec/Obfuscapk
3adbf7bfa84adf117326409c683e375ceb5a5df4
[ "MIT" ]
null
null
null
src/obfuscapk/obfuscator_category.py
z3r0Sec/Obfuscapk
3adbf7bfa84adf117326409c683e375ceb5a5df4
[ "MIT" ]
3
2020-05-15T16:44:43.000Z
2021-07-31T03:21:14.000Z
#!/usr/bin/env python3.7 # coding: utf-8 from abc import ABC, abstractmethod from yapsy.IPlugin import IPlugin from .obfuscation import Obfuscation class IBaseObfuscator(ABC, IPlugin): def __init__(self): super().__init__() self.is_adding_fields = False self.is_adding_methods = False ...
21.5625
55
0.739855
122
1,380
8.213115
0.295082
0.118762
0.181637
0.209581
0.678643
0.678643
0.678643
0.678643
0.678643
0.678643
0
0.002671
0.186232
1,380
63
56
21.904762
0.889581
0.026812
0
0.6
0
0
0
0
0
0
0
0
0
1
0.228571
false
0
0.085714
0
0.514286
0
0
0
0
null
0
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
5
db78fae042aceeac2ae33d1017a602c2e12901d8
578
py
Python
sdk/python/pulumi_aws/wafv2/__init__.py
Otanikotani/pulumi-aws
00e2b352da42c5b1b0ec7b4760eec5ad2b23ff21
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/wafv2/__init__.py
Otanikotani/pulumi-aws
00e2b352da42c5b1b0ec7b4760eec5ad2b23ff21
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/wafv2/__init__.py
Otanikotani/pulumi-aws
00e2b352da42c5b1b0ec7b4760eec5ad2b23ff21
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** # Export this package's modules as members: from .get_ip_set import * from .get_regex_pattern_set import * from .get_rule_group import ...
32.111111
87
0.759516
92
578
4.554348
0.532609
0.26253
0.124105
0.114558
0.119332
0
0
0
0
0
0
0.002049
0.155709
578
17
88
34
0.856557
0.378893
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
dbc2721165cc9707201d61ad67675eed18db4540
403,704
py
Python
trame/html/vuetify/__init__.py
DrewLazzeriKitware/trame
fdc73f07f17d2601e1b1d3934d2d6326a3c0281e
[ "BSD-3-Clause" ]
null
null
null
trame/html/vuetify/__init__.py
DrewLazzeriKitware/trame
fdc73f07f17d2601e1b1d3934d2d6326a3c0281e
[ "BSD-3-Clause" ]
null
null
null
trame/html/vuetify/__init__.py
DrewLazzeriKitware/trame
fdc73f07f17d2601e1b1d3934d2d6326a3c0281e
[ "BSD-3-Clause" ]
null
null
null
from trame import get_app_instance from trame.html import AbstractElement, Template try: import numpy as np from numbers import Number except: # dataframe_to_grid won't work pass # Make sure used module is available _app = get_app_instance() if "vuetify" not in _app.vue_use: _app.vue_use += ["vuet...
37.680045
425
0.637977
48,978
403,704
5.133529
0.030932
0.049393
0.064336
0.02063
0.798262
0.776717
0.726934
0.706475
0.663123
0.64624
0
0.001599
0.261055
403,704
10,713
426
37.683562
0.841228
0.673731
0
0.710106
0
0
0.292155
0.017815
0
0
0
0
0
1
0.039827
false
0.000271
0.001084
0
0.08155
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
dbc2f32ae43348583fc320575ee4b83e5c40987a
209
py
Python
src/pynwb/form/backends/hdf5/__init__.py
VBaratham/pynwb
a9429c93f29763b9ebe9022b099afcffbc6be493
[ "BSD-3-Clause-LBNL" ]
1
2021-04-13T20:47:36.000Z
2021-04-13T20:47:36.000Z
src/pynwb/form/backends/hdf5/__init__.py
VBaratham/pynwb
a9429c93f29763b9ebe9022b099afcffbc6be493
[ "BSD-3-Clause-LBNL" ]
null
null
null
src/pynwb/form/backends/hdf5/__init__.py
VBaratham/pynwb
a9429c93f29763b9ebe9022b099afcffbc6be493
[ "BSD-3-Clause-LBNL" ]
null
null
null
# flake8: noqa: F401 from . import h5_utils from .h5tools import HDF5IO from .h5_utils import H5RegionSlicer, H5DataIO from . import h5tools from .h5tools import H5SpecWriter from .h5tools import H5SpecReader
26.125
46
0.813397
28
209
6
0.464286
0.196429
0.303571
0
0
0
0
0
0
0
0
0.083333
0.138756
209
7
47
29.857143
0.85
0.086124
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
0
0
0
5
918695107c23eb47a93298586ce0722ea8f3cb5e
1,595
py
Python
corehq/apps/smsbillables/tests/utils.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
1
2020-07-14T13:00:23.000Z
2020-07-14T13:00:23.000Z
corehq/apps/smsbillables/tests/utils.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
94
2020-12-11T06:57:31.000Z
2022-03-15T10:24:06.000Z
corehq/apps/smsbillables/tests/utils.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
null
null
null
class FakeTwilioMessage(object): status = 'sent' def __init__(self, price, num_segments=1): self.price = price self.num_segments = str(num_segments) def fetch(self): return self class FakeMessageFactory(object): backend_message_id_to_num_segments = {} backend_message_id_t...
31.9
82
0.692163
196
1,595
5.137755
0.158163
0.278054
0.317776
0.188679
0.632572
0.5571
0.462761
0.410129
0.285998
0.111221
0
0.002447
0.231348
1,595
49
83
32.55102
0.818923
0
0
0.153846
0
0
0.031348
0
0
0
0
0
0
1
0.205128
false
0
0
0.128205
0.461538
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
5
9188e3fe00e7d846e1fd6c96ad519d3f6b6b9074
165
py
Python
muffin_cache/utils.py
drgarcia1986/muffin-cache
1e749d79751198aaed3e75a2c451b2c9253b84ef
[ "MIT" ]
null
null
null
muffin_cache/utils.py
drgarcia1986/muffin-cache
1e749d79751198aaed3e75a2c451b2c9253b84ef
[ "MIT" ]
1
2015-08-10T11:52:48.000Z
2016-01-13T03:04:42.000Z
muffin_cache/utils.py
drgarcia1986/muffin-cache
1e749d79751198aaed3e75a2c451b2c9253b84ef
[ "MIT" ]
null
null
null
from .handler import CacheHandler def cache_view(view, **kwargs): return CacheHandler.from_view( view, kwargs.get('methods', '*'), view.__name__ )
20.625
55
0.672727
19
165
5.526316
0.631579
0.152381
0.266667
0
0
0
0
0
0
0
0
0
0.193939
165
7
56
23.571429
0.789474
0
0
0
0
0
0.048485
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
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
0
0
0
1
1
0
0
5
918bf0658b9db6a457826b452ef961ec891b24c7
89
py
Python
goodjson/exceptions.py
namoshizun/goodjson
4cecd2766cacb0bf7de0bbd3011edb02857e44cd
[ "BSD-3-Clause" ]
1
2020-10-24T08:56:29.000Z
2020-10-24T08:56:29.000Z
goodjson/exceptions.py
namoshizun/goodjson
4cecd2766cacb0bf7de0bbd3011edb02857e44cd
[ "BSD-3-Clause" ]
null
null
null
goodjson/exceptions.py
namoshizun/goodjson
4cecd2766cacb0bf7de0bbd3011edb02857e44cd
[ "BSD-3-Clause" ]
null
null
null
class ValueNotRequired(Exception): pass class RaggedListError(Exception): pass
12.714286
34
0.752809
8
89
8.375
0.625
0.38806
0
0
0
0
0
0
0
0
0
0
0.179775
89
6
35
14.833333
0.917808
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
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
1
0
0
0
0
0
5
91a94530c23919094aa66ef952f727c90c5e752f
98
py
Python
RestAdm/apps/system/innojoy_calculate/chengyigang/calculate/__init__.py
xeroCBW/testmodel
6000d79f91d11bcf6ba76befb3a94a007231ecdc
[ "MIT" ]
null
null
null
RestAdm/apps/system/innojoy_calculate/chengyigang/calculate/__init__.py
xeroCBW/testmodel
6000d79f91d11bcf6ba76befb3a94a007231ecdc
[ "MIT" ]
54
2020-06-24T07:12:19.000Z
2022-03-12T00:43:57.000Z
RestAdm/apps/system/innojoy_calculate/chengyigang/draw_curve/__init__.py
xeroCBW/testmodel
6000d79f91d11bcf6ba76befb3a94a007231ecdc
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ __title__ = '' __author__ = xiongliff __mtime__ = '2019/7/20' """
16.333333
24
0.55102
10
98
4.2
1
0
0
0
0
0
0
0
0
0
0
0.102564
0.204082
98
6
25
16.333333
0.435897
0.857143
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
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
91ab4f223dc1e2bef82c4f1dc922d1991ceae8d8
144
py
Python
test/test_builtin_logging.py
DahlitzFlorian/pytest-loguru-support-video-snippets
4a442b16224829630256ab77542e2cfedf9030a8
[ "MIT" ]
null
null
null
test/test_builtin_logging.py
DahlitzFlorian/pytest-loguru-support-video-snippets
4a442b16224829630256ab77542e2cfedf9030a8
[ "MIT" ]
null
null
null
test/test_builtin_logging.py
DahlitzFlorian/pytest-loguru-support-video-snippets
4a442b16224829630256ab77542e2cfedf9030a8
[ "MIT" ]
null
null
null
import builtin_logging import pytest def test_logging(caplog): builtin_logging.func() assert "This is a log message." in caplog.text
16
50
0.75
21
144
5
0.761905
0.266667
0
0
0
0
0
0
0
0
0
0
0.180556
144
8
51
18
0.889831
0
0
0
0
0
0.152778
0
0
0
0
0
0.2
1
0.2
false
0
0.4
0
0.6
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
0
0
1
0
1
0
0
5
91ac6f5990221060c0df44a97c9178c1b2f3519e
21
py
Python
myRL/algo/__init__.py
Shiduo-zh/pybulletSim
a51c71adc328d2071d7faf53e4bc5cd695f03ab2
[ "MIT" ]
562
2020-04-10T20:32:46.000Z
2022-03-31T20:36:12.000Z
myRL/algo/__init__.py
Shiduo-zh/pybulletSim
a51c71adc328d2071d7faf53e4bc5cd695f03ab2
[ "MIT" ]
49
2020-04-14T11:59:52.000Z
2022-03-21T08:48:28.000Z
myRL/algo/__init__.py
Shiduo-zh/pybulletSim
a51c71adc328d2071d7faf53e4bc5cd695f03ab2
[ "MIT" ]
118
2020-04-13T04:40:59.000Z
2022-03-31T02:09:50.000Z
from .ppo import PPO
10.5
20
0.761905
4
21
4
0.75
0
0
0
0
0
0
0
0
0
0
0
0.190476
21
1
21
21
0.941176
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
91cc28281e9496e84c803a9049d054f835a256fb
19
py
Python
talked-code.py
ItanuRomero/talking-code
e134b71b467359415ef24c01e415259f20a5643e
[ "MIT" ]
1
2021-10-20T15:36:29.000Z
2021-10-20T15:36:29.000Z
talked-code.py
ItanuRomero/talking-code
e134b71b467359415ef24c01e415259f20a5643e
[ "MIT" ]
8
2021-10-21T18:16:07.000Z
2021-11-30T01:24:34.000Z
talked-code.py
ItanuRomero/talking-code
e134b71b467359415ef24c01e415259f20a5643e
[ "MIT" ]
null
null
null
print('Olha isso')
9.5
18
0.684211
3
19
4.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
19
1
19
19
0.764706
0
0
0
0
0
0.473684
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
5
91da58306c36eeee17f19d6a87a983ea626f6949
17,504
py
Python
src/ada.py
tomvars/medical_adv_da
d2c81ee7951c580b62d853497672057b8cf7923e
[ "Apache-2.0" ]
2
2021-08-13T07:21:00.000Z
2021-09-15T08:52:20.000Z
src/ada.py
tomvars/medical_adv_da
d2c81ee7951c580b62d853497672057b8cf7923e
[ "Apache-2.0" ]
null
null
null
src/ada.py
tomvars/medical_adv_da
d2c81ee7951c580b62d853497672057b8cf7923e
[ "Apache-2.0" ]
null
null
null
import multiprocessing import sys import torch.optim as optim import numpy as np from functools import partial from src.base_model import BaseModel from src.networks import Destilation_student_matchingInstance from src.utils import save_images from src.utils import bland_altman_loss, dice_soft_loss, ss_loss, generate_a...
56.831169
127
0.616431
1,847
17,504
5.551705
0.113156
0.017554
0.024576
0.032768
0.79842
0.757558
0.745465
0.740979
0.730057
0.68939
0
0.011005
0.273252
17,504
308
128
56.831169
0.795063
0.017996
0
0.680451
0
0
0.05393
0.002682
0
0
0
0
0
1
0.030075
false
0
0.033835
0
0.067669
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
0
0
0
0
0
0
0
0
5
91ef4c7cc520071d50b5652d9a0af7d19fff3b0f
116
py
Python
c8ydm/core/__init__.py
pandora2000/cumulocity-devicemanagement-agent
8669d030bf1b2bb63904e7a53ea70483ec37a44e
[ "Apache-2.0" ]
10
2021-08-06T09:29:24.000Z
2022-03-11T05:29:32.000Z
c8ydm/core/__init__.py
pandora2000/cumulocity-devicemanagement-agent
8669d030bf1b2bb63904e7a53ea70483ec37a44e
[ "Apache-2.0" ]
35
2021-08-03T12:49:17.000Z
2022-03-04T08:24:40.000Z
c8ydm/core/__init__.py
pandora2000/cumulocity-devicemanagement-agent
8669d030bf1b2bb63904e7a53ea70483ec37a44e
[ "Apache-2.0" ]
8
2021-09-01T09:19:14.000Z
2022-02-24T15:53:06.000Z
from c8ydm.core.apt_package_manager import AptPackageManager from c8ydm.core.firmware_manager import FirmwareManager
58
60
0.905172
15
116
6.8
0.666667
0.176471
0.254902
0
0
0
0
0
0
0
0
0.018349
0.060345
116
2
61
58
0.917431
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
0
0
0
5
37df92d4550dca43d947fcdc10e969ce7e977ff3
9,990
py
Python
mmtbx/rotamer/tst_rotamer_eval.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
mmtbx/rotamer/tst_rotamer_eval.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
mmtbx/rotamer/tst_rotamer_eval.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
from __future__ import division import mmtbx.monomer_library from scitbx.array_family import flex import iotbx.pdb from mmtbx.rotamer.rotamer_eval import RotamerEval from libtbx.test_utils import approx_equal pdb_str1 = """\ CRYST1 16.960 19.455 19.841 90.00 90.00 90.00 P 1 SCALE1 0.058962 0.000000 0.0...
62.830189
97
0.501902
1,936
9,990
2.534607
0.247417
0.042185
0.017322
0.024251
0.137762
0.131649
0.079886
0.068474
0.049725
0.049725
0
0.426687
0.423123
9,990
158
98
63.227848
0.424779
0
0
0.019608
0
0.620915
0.777377
0
0
0
0
0
0.013072
0
null
null
0
0.039216
null
null
0.006536
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
5
5307e1ef759db6a78baa7071944b677c7953cd2f
14,328
py
Python
src/the_tale/the_tale/game/heroes/tests/test_statistics.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
1
2020-04-02T11:51:20.000Z
2020-04-02T11:51:20.000Z
src/the_tale/the_tale/game/heroes/tests/test_statistics.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
null
null
null
src/the_tale/the_tale/game/heroes/tests/test_statistics.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
null
null
null
import smart_imports smart_imports.all() class HeroStatisticsTest(utils_testcase.TestCase): def setUp(self): super(HeroStatisticsTest, self).setUp() self.place_1, self.place_2, self.place_3 = game_logic.create_test_map() account = self.accounts_factory.create_account() self.s...
66.333333
216
0.589894
1,359
14,328
5.869021
0.098602
0.054162
0.085757
0.090271
0.845787
0.817828
0.77332
0.751254
0.691324
0.659478
0
0.031343
0.340871
14,328
215
217
66.64186
0.813215
0
0
0.304636
0
0
0.088923
0.07971
0
0
0
0
0.152318
1
0.092715
false
0
0.013245
0
0.112583
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
531172c1133601dd22991cbc9703c845b0101094
78
py
Python
util/data_model_util.py
HaveTwoBrush/chatbot
5532604c810e3e0cb94eb53eecfb07ac9e286ea5
[ "Apache-2.0" ]
29
2019-01-15T02:06:55.000Z
2019-11-03T13:39:36.000Z
util/data_model_util.py
kinggreenhall/chatbot
5532604c810e3e0cb94eb53eecfb07ac9e286ea5
[ "Apache-2.0" ]
1
2019-05-01T06:30:41.000Z
2019-05-03T13:59:20.000Z
util/data_model_util.py
kinggreenhall/chatbot
5532604c810e3e0cb94eb53eecfb07ac9e286ea5
[ "Apache-2.0" ]
5
2019-03-27T08:44:07.000Z
2019-11-05T15:49:50.000Z
from pydantic import BaseModel class Question(BaseModel): question: str
13
30
0.769231
9
78
6.666667
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.179487
78
5
31
15.6
0.9375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
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
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
531eb618ebbb57f1677d7ed25bca4b1c7b1d6687
81
py
Python
lessons 21/HomeWork/task1.py
zainllw0w/skillbox
896287b6f7f5612cf589094131fd1a12b0b192ba
[ "MIT" ]
null
null
null
lessons 21/HomeWork/task1.py
zainllw0w/skillbox
896287b6f7f5612cf589094131fd1a12b0b192ba
[ "MIT" ]
null
null
null
lessons 21/HomeWork/task1.py
zainllw0w/skillbox
896287b6f7f5612cf589094131fd1a12b0b192ba
[ "MIT" ]
null
null
null
def f(n, c=1): print(c) if c == n: return c f(n, c+1) f(12)
10.125
16
0.382716
18
81
1.722222
0.5
0.129032
0.193548
0.258065
0
0
0
0
0
0
0
0.085106
0.419753
81
8
17
10.125
0.574468
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0.166667
1
0
1
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
532893dcc29f4c78c76679c66dd1c282eba9454d
45
py
Python
File/views.py
nikminer/HomeCloud
7571e8002ef0919b382c3802d680421bd094d866
[ "MIT" ]
null
null
null
File/views.py
nikminer/HomeCloud
7571e8002ef0919b382c3802d680421bd094d866
[ "MIT" ]
null
null
null
File/views.py
nikminer/HomeCloud
7571e8002ef0919b382c3802d680421bd094d866
[ "MIT" ]
null
null
null
from django.shortcuts import render,redirect
22.5
44
0.866667
6
45
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.088889
45
1
45
45
0.95122
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
0
0
0
5
7260a429d8c1962a39620c21dfc5943c5b7662a0
224
py
Python
kivy/core/video/video_null.py
Galland/kivy
95a6bf279883d706f645e4629c16d5ee1038f0ec
[ "MIT" ]
13,889
2015-01-01T06:43:41.000Z
2022-03-31T17:37:56.000Z
kivy/core/video/video_null.py
Galland/kivy
95a6bf279883d706f645e4629c16d5ee1038f0ec
[ "MIT" ]
4,570
2015-01-01T17:58:52.000Z
2022-03-31T18:42:16.000Z
kivy/core/video/video_null.py
Galland/kivy
95a6bf279883d706f645e4629c16d5ee1038f0ec
[ "MIT" ]
3,786
2015-01-01T09:20:45.000Z
2022-03-30T21:15:05.000Z
''' VideoNull: empty implementation of VideoBase for the no provider case ''' from kivy.core.video import VideoBase class VideoNull(VideoBase): '''VideoBase implementation when there is no provider. ''' pass
17.230769
69
0.723214
27
224
6
0.740741
0.123457
0
0
0
0
0
0
0
0
0
0
0.191964
224
12
70
18.666667
0.895028
0.5625
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
5
72aab33611e5e10f68454d5fc13d3594bfca7476
225
py
Python
enthought/permissions/action/__init__.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
3
2016-12-09T06:05:18.000Z
2018-03-01T13:00:29.000Z
enthought/permissions/default/__init__.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
1
2020-12-02T00:51:32.000Z
2020-12-02T08:48:55.000Z
enthought/permissions/default/__init__.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
null
null
null
#------------------------------------------------------------------------------ # Copyright (c) 2008 by Enthought, Inc. # All rights reserved. #------------------------------------------------------------------------------
32.142857
79
0.2
9
225
5
1
0
0
0
0
0
0
0
0
0
0
0.019048
0.066667
225
6
80
37.5
0.195238
0.955556
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
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
72c02e8781764ae150eb0f8148c7d0eef244d3cb
289
py
Python
templates/toto/chat/chat/receive_message.py
VNUELIVE/Toto
6940b4114fc6b680e0d40ae248b7d2599c954f81
[ "MIT" ]
null
null
null
templates/toto/chat/chat/receive_message.py
VNUELIVE/Toto
6940b4114fc6b680e0d40ae248b7d2599c954f81
[ "MIT" ]
null
null
null
templates/toto/chat/chat/receive_message.py
VNUELIVE/Toto
6940b4114fc6b680e0d40ae248b7d2599c954f81
[ "MIT" ]
null
null
null
import toto from toto.invocation import * from tornado.ioloop import IOLoop @asynchronous def invoke(handler, params): def receive_message(message): handler.respond(result={'message': message}) handler.register_event_handler('message', receive_message, deregister_on_finish=True)
28.9
87
0.799308
36
289
6.25
0.583333
0.124444
0.186667
0
0
0
0
0
0
0
0
0
0.103806
289
9
88
32.111111
0.868726
0
0
0
0
0
0.048443
0
0
0
0
0
0
1
0.25
false
0
0.375
0
0.625
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
5
72d946a523010bfbd7615a76fe493de1fb55345d
43
py
Python
searchengine/__init__.py
qoda/python-searchengine
d514ddbc0be9755ed48143b38dd4591d0123b1bc
[ "BSD-3-Clause" ]
19
2015-01-21T14:46:20.000Z
2021-04-28T22:46:31.000Z
searchengine/__init__.py
gourav245/python-searchengine
d514ddbc0be9755ed48143b38dd4591d0123b1bc
[ "BSD-3-Clause" ]
1
2020-03-07T08:41:20.000Z
2020-03-11T09:16:59.000Z
searchengine/__init__.py
gourav245/python-searchengine
d514ddbc0be9755ed48143b38dd4591d0123b1bc
[ "BSD-3-Clause" ]
15
2015-03-28T07:44:52.000Z
2021-01-28T23:45:20.000Z
from main import SearchEngine, searchengine
43
43
0.883721
5
43
7.6
0.8
0
0
0
0
0
0
0
0
0
0
0
0.093023
43
1
43
43
0.974359
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
0
0
0
5
72f3ffb26050c448bd869255885f3bef17ed3ae6
209
py
Python
omap/assets/admin.py
GoetzGoerisch/open-machine-plattform
b46f12fe008bd72993f2118e003298b99660d673
[ "Apache-2.0" ]
3
2022-03-21T18:01:22.000Z
2022-03-28T11:49:30.000Z
omap/assets/admin.py
GoetzGoerisch/open-machine-plattform
b46f12fe008bd72993f2118e003298b99660d673
[ "Apache-2.0" ]
10
2022-03-18T11:04:16.000Z
2022-03-29T07:23:52.000Z
omap/assets/admin.py
GoetzGoerisch/open-machine-plattform
b46f12fe008bd72993f2118e003298b99660d673
[ "Apache-2.0" ]
1
2022-03-25T09:08:29.000Z
2022-03-25T09:08:29.000Z
from django.contrib import admin from omap.assets.models import SimpleAsset, RelationType, AssetRelation admin.site.register(SimpleAsset) admin.site.register(RelationType) admin.site.register(AssetRelation)
26.125
71
0.84689
25
209
7.08
0.52
0.152542
0.288136
0
0
0
0
0
0
0
0
0
0.07177
209
7
72
29.857143
0.912371
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
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
5
72f410461dba5af3864169f018ffcae2204f590a
1,319
py
Python
pyutilib/component/config/__init__.py
PyUtilib/PyUtilib
d99406f2af1fb62268c34453a2fbe6bd4a7348f0
[ "BSD-3-Clause" ]
24
2016-04-02T10:00:02.000Z
2021-03-02T16:40:18.000Z
pyutilib/component/config/__init__.py
PyUtilib/PyUtilib
d99406f2af1fb62268c34453a2fbe6bd4a7348f0
[ "BSD-3-Clause" ]
105
2015-10-29T03:29:58.000Z
2021-12-30T22:00:45.000Z
pyutilib/component/config/__init__.py
PyUtilib/PyUtilib
d99406f2af1fb62268c34453a2fbe6bd4a7348f0
[ "BSD-3-Clause" ]
22
2016-01-21T15:35:25.000Z
2021-05-15T20:17:44.000Z
# _________________________________________________________________________ # # PyUtilib: A Python utility library. # Copyright (c) 2008 Sandia Corporation. # This software is distributed under the BSD License. # Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, # the U.S. Government retains ...
48.851852
104
0.855951
136
1,319
7.176471
0.536765
0.17418
0.188525
0.165984
0
0
0
0
0
0
0
0.010851
0.091736
1,319
26
105
50.730769
0.80384
0.479909
0
0
0
0
0.004471
0
0
0
0
0
0
1
0
true
0
0.8
0
0.8
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
72f6522d25ecaf761815215930c0b9d563767e70
202
py
Python
auth_user/private_permissions.py
volhadounar/infra_sp2
3851fb3a2cc86d447667d00840798c041dedbf9b
[ "BSD-2-Clause" ]
null
null
null
auth_user/private_permissions.py
volhadounar/infra_sp2
3851fb3a2cc86d447667d00840798c041dedbf9b
[ "BSD-2-Clause" ]
null
null
null
auth_user/private_permissions.py
volhadounar/infra_sp2
3851fb3a2cc86d447667d00840798c041dedbf9b
[ "BSD-2-Clause" ]
null
null
null
from rest_framework import permissions class IsAdminRole(permissions.BasePermission): """Права администратора.""" def has_permission(self, request, view): return request.user.is_admin
25.25
46
0.752475
22
202
6.772727
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.158416
202
7
47
28.857143
0.876471
0.10396
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
f4041b89e151d96c231b02e41e07ab84a65e7c1a
134
py
Python
cio/backends/exceptions.py
beshrkayali/content-io
ae44aa4c4eba2234f940ca9d7a4bb310e25075b3
[ "BSD-3-Clause" ]
6
2015-02-12T20:23:42.000Z
2020-01-10T09:42:32.000Z
cio/backends/exceptions.py
beshrkayali/content-io
ae44aa4c4eba2234f940ca9d7a4bb310e25075b3
[ "BSD-3-Clause" ]
5
2015-09-08T08:54:39.000Z
2020-01-10T12:13:21.000Z
cio/backends/exceptions.py
beshrkayali/content-io
ae44aa4c4eba2234f940ca9d7a4bb310e25075b3
[ "BSD-3-Clause" ]
4
2015-06-29T15:21:41.000Z
2019-12-06T09:29:30.000Z
class InvalidBackend(Exception): pass class NodeDoesNotExist(Exception): pass class PersistenceError(Exception): pass
12.181818
34
0.746269
12
134
8.333333
0.5
0.39
0.36
0
0
0
0
0
0
0
0
0
0.186567
134
10
35
13.4
0.917431
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
f43f698a19be9603b81ba2a541d87db259ca719b
166
py
Python
mtgproxies/__init__.py
Buntry/mtg-proxies
dbff7fc9caf984c2c93271ce1b9e8db5114c0f10
[ "MIT" ]
10
2020-05-17T14:30:10.000Z
2022-02-11T19:10:20.000Z
mtgproxies/__init__.py
Buntry/mtg-proxies
dbff7fc9caf984c2c93271ce1b9e8db5114c0f10
[ "MIT" ]
11
2020-05-01T16:56:23.000Z
2022-03-30T21:58:32.000Z
mtgproxies/__init__.py
Buntry/mtg-proxies
dbff7fc9caf984c2c93271ce1b9e8db5114c0f10
[ "MIT" ]
2
2020-06-12T23:44:10.000Z
2021-12-13T13:47:29.000Z
from mtgproxies.print_cards import print_cards from mtgproxies.scans import fetch_scans_scryfall __all__ = [ 'fetch_scans_scryfall', 'print_cards', ]
20.75
50
0.753012
20
166
5.7
0.45
0.263158
0.315789
0
0
0
0
0
0
0
0
0
0.180723
166
7
51
23.714286
0.838235
0
0
0
0
0
0.194969
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
5
f442864f035c912099ce78a4b168f9174c606180
80
py
Python
bases_2021_1S/Grupo 05/client/setup.py
dadu0699/tytus
e1920f6932c840859e3e79eb8756a1d3da88bd77
[ "MIT" ]
35
2020-12-07T03:11:43.000Z
2021-04-15T17:38:16.000Z
bases_2021_1S/Grupo 05/client/setup.py
dadu0699/tytus
e1920f6932c840859e3e79eb8756a1d3da88bd77
[ "MIT" ]
47
2020-12-09T01:29:09.000Z
2021-01-13T05:37:50.000Z
bases_2021_1S/Grupo 05/client/setup.py
dadu0699/tytus
e1920f6932c840859e3e79eb8756a1d3da88bd77
[ "MIT" ]
556
2020-12-07T03:13:31.000Z
2021-06-17T17:41:10.000Z
from distutils.core import setup import py2exe setup(console=['Controller.py'])
20
32
0.8
11
80
5.818182
0.818182
0
0
0
0
0
0
0
0
0
0
0.013699
0.0875
80
4
33
20
0.863014
0
0
0
0
0
0.160494
0
0
0
0
0
0
1
0
true
0
0.666667
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
0
1
0
1
0
0
5
f45cf46dc4403c4c18958b20652387236bb273b6
158
wsgi
Python
supervisor-sample.wsgi
UoMCS/supervisor-finder
e6233b20a39a183ba0fd83acbcdfa308aa42f74c
[ "MIT" ]
null
null
null
supervisor-sample.wsgi
UoMCS/supervisor-finder
e6233b20a39a183ba0fd83acbcdfa308aa42f74c
[ "MIT" ]
null
null
null
supervisor-sample.wsgi
UoMCS/supervisor-finder
e6233b20a39a183ba0fd83acbcdfa308aa42f74c
[ "MIT" ]
null
null
null
import sys import logging sys.path.insert(0, '/path/to/supervisor-finder') logging.basicConfig(stream=sys.stderr) from supervisor import app as application
19.75
48
0.803797
23
158
5.521739
0.695652
0
0
0
0
0
0
0
0
0
0
0.006993
0.094937
158
7
49
22.571429
0.881119
0
0
0
0
0
0.164557
0.164557
0
0
0
0
0
1
0
true
0
0.6
0
0.6
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
0
1
0
1
0
0
5
f484aa9b11bba37677bbd83d7e370aee531d9a02
27,547
py
Python
apps/dstltcsi/twobranch.py
iamsoroush/deepstream_python_apps
cbdc6cb8f0824a4aa485a83382e9fc521f1b64ea
[ "MIT" ]
null
null
null
apps/dstltcsi/twobranch.py
iamsoroush/deepstream_python_apps
cbdc6cb8f0824a4aa485a83382e9fc521f1b64ea
[ "MIT" ]
null
null
null
apps/dstltcsi/twobranch.py
iamsoroush/deepstream_python_apps
cbdc6cb8f0824a4aa485a83382e9fc521f1b64ea
[ "MIT" ]
null
null
null
import sys sys.path.append('../') sys.path.append('/opt/nvidia/deepstream/deepstream/lib') from time import sleep import time import numpy as np import gi gi.require_version('Gst', '1.0') gi.require_version('GstVideo', '1.0') from gi.repository import GObject, Gst, GstVideo from common.FPS import GETFPS import pyds...
39.923188
145
0.629796
3,573
27,547
4.640918
0.118388
0.017911
0.027862
0.034978
0.785611
0.772464
0.760704
0.72645
0.709625
0.708781
0
0.01185
0.270919
27,547
690
146
39.923188
0.813782
0.23273
0
0.651054
0
0
0.126875
0.011716
0
0
0
0
0
1
0.044496
false
0
0.023419
0
0.107728
0.035129
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
0
0
0
0
0
0
0
0
5
f48bb672fb014932d29e6e32d2e5bec0cd502bd6
50
py
Python
imagepy/tools/Measure/coordinate_tol.py
dada1437903138/imagepy
65d9ce088894eef587054e04018f9d34ff65084f
[ "BSD-4-Clause" ]
1,178
2017-05-25T06:59:01.000Z
2022-03-31T11:38:53.000Z
imagepy/tools/Measure/coordinate_tol.py
TomisTony/imagepy
3c378ebaf72762b94f0826a410897757ebafe689
[ "BSD-4-Clause" ]
76
2017-06-10T17:01:50.000Z
2021-12-23T08:13:29.000Z
imagepy/tools/Measure/coordinate_tol.py
TomisTony/imagepy
3c378ebaf72762b94f0826a410897757ebafe689
[ "BSD-4-Clause" ]
315
2017-05-25T12:59:53.000Z
2022-03-07T22:52:21.000Z
from sciapp.action import CoordinateTool as Plugin
50
50
0.88
7
50
6.285714
1
0
0
0
0
0
0
0
0
0
0
0
0.1
50
1
50
50
0.977778
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
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
5
be5b2f102b21186d32a7e5373ae5df920525865d
45
py
Python
marctools/__init__.py
Wooble/marctools
35cdfa960b04c59b07651d9ac3e5f40cdd084e43
[ "MIT" ]
null
null
null
marctools/__init__.py
Wooble/marctools
35cdfa960b04c59b07651d9ac3e5f40cdd084e43
[ "MIT" ]
null
null
null
marctools/__init__.py
Wooble/marctools
35cdfa960b04c59b07651d9ac3e5f40cdd084e43
[ "MIT" ]
null
null
null
"""Command line tools for MARC21 records."""
22.5
44
0.711111
6
45
5.333333
1
0
0
0
0
0
0
0
0
0
0
0.051282
0.133333
45
1
45
45
0.769231
0.844444
0
null
0
null
0
0
null
0
0
0
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
0
0
0
0
1
0
0
0
0
0
0
5
be5d77dd11751f480c383591da26cb1850257d87
439
py
Python
newWorld/AutoTestPlatform/structure/list/priority_queue.py
CypHelp/TestNewWorldDemo
ee6f73df05756f191c1c56250fa290461fdd1b9a
[ "Apache-2.0" ]
null
null
null
newWorld/AutoTestPlatform/structure/list/priority_queue.py
CypHelp/TestNewWorldDemo
ee6f73df05756f191c1c56250fa290461fdd1b9a
[ "Apache-2.0" ]
null
null
null
newWorld/AutoTestPlatform/structure/list/priority_queue.py
CypHelp/TestNewWorldDemo
ee6f73df05756f191c1c56250fa290461fdd1b9a
[ "Apache-2.0" ]
null
null
null
from AutoTestPlatform.structure.list.heap import MaxHeap class PriorityQueue: def __init__(self): self.__heap = MaxHeap() def is_empty(self): return self.__heap.is_empty() def enqueue(self, data): self.__heap.add(data) def dequeue(self): return self.__heap.extract_m...
19.086957
56
0.640091
55
439
4.745455
0.436364
0.183908
0.214559
0.275862
0
0
0
0
0
0
0
0
0.252847
439
22
57
19.954545
0.795732
0
0
0
0
0
0
0
0
0
0
0
0
1
0.428571
false
0
0.071429
0.285714
0.857143
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
be61de2f0f5c6b63a856d89a19281e71d64e2779
94
py
Python
setup.py
Solstice-Short-Film/solstice-bootstrap
ace828e00d3f10ff3e8a70d23170f138e4633ff8
[ "MIT" ]
null
null
null
setup.py
Solstice-Short-Film/solstice-bootstrap
ace828e00d3f10ff3e8a70d23170f138e4633ff8
[ "MIT" ]
null
null
null
setup.py
Solstice-Short-Film/solstice-bootstrap
ace828e00d3f10ff3e8a70d23170f138e4633ff8
[ "MIT" ]
null
null
null
from setuptools import setup from solstice.bootstrap.__version__ import __version__ setup()
15.666667
54
0.840426
11
94
6.454545
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.117021
94
5
55
18.8
0.855422
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
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
5
be8564ef66884ce4ad1cf92b42dc99e35f7f007f
83
py
Python
tests/import/import_pkg7.py
kaffir/circuitpython
0930f7a7972dc006c079102e292babb1ae02aa1a
[ "MIT" ]
5
2017-07-17T23:28:09.000Z
2020-06-16T17:28:47.000Z
tests/import/import_pkg7.py
kaffir/circuitpython
0930f7a7972dc006c079102e292babb1ae02aa1a
[ "MIT" ]
null
null
null
tests/import/import_pkg7.py
kaffir/circuitpython
0930f7a7972dc006c079102e292babb1ae02aa1a
[ "MIT" ]
null
null
null
# This tests ... relative imports as used in pkg7 import pkg7.subpkg1.subpkg2.mod3
27.666667
49
0.771084
13
83
4.923077
0.923077
0
0
0
0
0
0
0
0
0
0
0.070423
0.144578
83
2
50
41.5
0.830986
0.566265
0
0
0
0
0
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
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
fe8d54005ba9bd98e504ad37599421637b539586
14,556
py
Python
pandas/tests/reshape/test_union_categoricals.py
cclauss/pandas
692b5eeeff9b8e8c750f3e64db0c39dc149a73e8
[ "PSF-2.0", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "BSD-3-Clause" ]
4
2016-10-05T17:38:58.000Z
2020-08-24T16:26:37.000Z
pandas/tests/reshape/test_union_categoricals.py
cclauss/pandas
692b5eeeff9b8e8c750f3e64db0c39dc149a73e8
[ "PSF-2.0", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "BSD-3-Clause" ]
null
null
null
pandas/tests/reshape/test_union_categoricals.py
cclauss/pandas
692b5eeeff9b8e8c750f3e64db0c39dc149a73e8
[ "PSF-2.0", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "BSD-3-Clause" ]
12
2017-05-23T06:01:12.000Z
2021-08-16T05:09:46.000Z
import pytest import numpy as np import pandas as pd from pandas import Categorical, Series, CategoricalIndex from pandas.core.dtypes.concat import union_categoricals from pandas.util import testing as tm class TestUnionCategoricals(object): def test_union_categorical(self): # GH 13361 data = [ ...
42.561404
78
0.541358
1,760
14,556
4.360227
0.06875
0.12184
0.09656
0.12197
0.849231
0.813266
0.772218
0.713318
0.650639
0.622101
0
0.055132
0.288472
14,556
341
79
42.686217
0.685816
0.01587
0
0.568702
0
0
0.054934
0
0
0
0
0
0.175573
1
0.034351
false
0
0.022901
0
0.061069
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
2280afccdd40db004dfad2a09f04129b7df7e1b0
149
py
Python
vaemof/__init__.py
zhenpengyao/Supramolecular_VAE
a6463f9288791799651a7f92cbb8b92c91997dda
[ "Apache-2.0" ]
14
2020-05-25T05:02:58.000Z
2021-11-29T09:58:45.000Z
vaemof/__init__.py
egtai/Supramolecular_VAE
a6463f9288791799651a7f92cbb8b92c91997dda
[ "Apache-2.0" ]
1
2020-08-11T05:39:31.000Z
2020-08-25T03:19:16.000Z
vaemof/__init__.py
egtai/Supramolecular_VAE
a6463f9288791799651a7f92cbb8b92c91997dda
[ "Apache-2.0" ]
7
2021-01-21T16:36:45.000Z
2022-01-12T02:26:36.000Z
from . import configs from . import model from . import scscore from . import training from . import utils from . import vocabs __version__ = '1.0'
16.555556
22
0.744966
21
149
5.095238
0.52381
0.560748
0
0
0
0
0
0
0
0
0
0.016529
0.187919
149
8
23
18.625
0.867769
0
0
0
0
0
0.020134
0
0
0
0
0
0
1
0
false
0
0.857143
0
0.857143
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
0
0
1
0
1
0
0
5
228a7a00e54019ecbe14a5128fb98ebc4562db32
8,108
py
Python
main_train_model.py
rosivagyok/Attention
a4cd90dc5f992ae2fe5a7874628d04f531d4aebc
[ "MIT" ]
null
null
null
main_train_model.py
rosivagyok/Attention
a4cd90dc5f992ae2fe5a7874628d04f531d4aebc
[ "MIT" ]
null
null
null
main_train_model.py
rosivagyok/Attention
a4cd90dc5f992ae2fe5a7874628d04f531d4aebc
[ "MIT" ]
1
2019-01-18T12:59:04.000Z
2019-01-18T12:59:04.000Z
import argparse import os import numpy as np from os.path import join, expanduser, exists from model_load import evaluate_flexible, late_DNN2, early_DNN2, late_DNN3, early_DNN3, DNN_single def run(f_in): X_train, X_depth_train, Y_train, X_test, X_depth_test, Y_test = load_data(f_in) shape0 = 40 shape1 = 2...
54.416107
196
0.593611
1,139
8,108
3.921861
0.122915
0.040296
0.03358
0.02955
0.758899
0.754197
0.742557
0.741213
0.71726
0.691963
0
0.038795
0.27516
8,108
149
197
54.416107
0.721286
0
0
0.533898
0
0
0.114211
0.018433
0
0
0
0
0
1
0.025424
false
0
0.042373
0
0.084746
0.016949
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
0
0
0
0
0
0
0
0
5
229013fce2970f7ad54940919f7a7bbe9ed6d749
119
py
Python
HelloWorldPython/app.py
SamIge7/Tutorials
7a3361768432a6493313d1f0ea1ccc8b2b916aa2
[ "MIT" ]
null
null
null
HelloWorldPython/app.py
SamIge7/Tutorials
7a3361768432a6493313d1f0ea1ccc8b2b916aa2
[ "MIT" ]
null
null
null
HelloWorldPython/app.py
SamIge7/Tutorials
7a3361768432a6493313d1f0ea1ccc8b2b916aa2
[ "MIT" ]
null
null
null
name = input('What is your name? ') colour = input('What is your favourite colour? ') print(name + ' likes ' + colour)
29.75
49
0.663866
17
119
4.647059
0.529412
0.227848
0.278481
0.379747
0
0
0
0
0
0
0
0
0.184874
119
3
50
39.666667
0.814433
0
0
0
0
0
0.478992
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
0
0
0
0
0
5
22c5bbfec5566226c2036c8600b9d35c096f7b2d
145
py
Python
taskbuster/apps/taskmanager/managers.py
lancelote/taskbuster
fac22d5ae94cf408cfe23dc9faee77cc3f4dadb7
[ "MIT" ]
null
null
null
taskbuster/apps/taskmanager/managers.py
lancelote/taskbuster
fac22d5ae94cf408cfe23dc9faee77cc3f4dadb7
[ "MIT" ]
null
null
null
taskbuster/apps/taskmanager/managers.py
lancelote/taskbuster
fac22d5ae94cf408cfe23dc9faee77cc3f4dadb7
[ "MIT" ]
null
null
null
# coding=utf-8 from django.db import models class ProfileManager(models.Manager): pass class ProjectManager(models.Manager): pass
10.357143
37
0.731034
18
145
5.888889
0.722222
0.245283
0.320755
0
0
0
0
0
0
0
0
0.008475
0.186207
145
13
38
11.153846
0.889831
0.082759
0
0.4
0
0
0
0
0
0
0
0
0
1
0
true
0.4
0.2
0
0.6
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
22d807bef5a52a11b79787a5156a9e1ffbd93fb8
148
py
Python
tests/conftest.py
dyno/euler
30eb0c5d7bb6a6f7dbc25f01f138df0fb3a40267
[ "MIT" ]
null
null
null
tests/conftest.py
dyno/euler
30eb0c5d7bb6a6f7dbc25f01f138df0fb3a40267
[ "MIT" ]
null
null
null
tests/conftest.py
dyno/euler
30eb0c5d7bb6a6f7dbc25f01f138df0fb3a40267
[ "MIT" ]
null
null
null
from itertools import islice import pytest @pytest.fixture(autouse=True) def add_np(doctest_namespace): doctest_namespace["islice"] = islice
16.444444
40
0.783784
19
148
5.947368
0.684211
0.283186
0
0
0
0
0
0
0
0
0
0
0.128378
148
8
41
18.5
0.875969
0
0
0
0
0
0.040541
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.6
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
0
0
1
0
1
0
0
5
fe0d6df63c0b092bd7af7baf1a4b8f4d0ead195f
47,938
py
Python
idaes/generic_models/unit_models/tests/test_mixer.py
dangunter/idaes-pse
8f63b4ad8000af8a3eb0316a5f61c32e206925d0
[ "RSA-MD" ]
null
null
null
idaes/generic_models/unit_models/tests/test_mixer.py
dangunter/idaes-pse
8f63b4ad8000af8a3eb0316a5f61c32e206925d0
[ "RSA-MD" ]
3
2021-07-20T20:12:59.000Z
2022-03-09T21:06:40.000Z
idaes/generic_models/unit_models/tests/test_mixer.py
dangunter/idaes-pse
8f63b4ad8000af8a3eb0316a5f61c32e206925d0
[ "RSA-MD" ]
1
2021-08-13T15:20:31.000Z
2021-08-13T15:20:31.000Z
################################################################################# # The Institute for the Design of Advanced Energy Systems Integrated Platform # Framework (IDAES IP) was produced under the DOE Institute for the # Design of Advanced Energy Systems (IDAES), and is copyright (c) 2018-2021 # by the softwar...
40.454008
83
0.64089
6,098
47,938
4.791899
0.061988
0.047569
0.091989
0.108313
0.84518
0.823825
0.800862
0.749735
0.683139
0.634065
0
0.014422
0.240623
47,938
1,184
84
40.488176
0.788287
0.036213
0
0.547884
0
0
0.054612
0.0035
0
0
0
0
0.247216
1
0.083519
false
0
0.01559
0.004454
0.119154
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
a3b55c60dfa9d569e78e3d1e2aba457e5008b694
1,014
py
Python
python/anyascii/_data/_04a.py
casept/anyascii
d4f426b91751254b68eaa84c6cd23099edd668e6
[ "ISC" ]
null
null
null
python/anyascii/_data/_04a.py
casept/anyascii
d4f426b91751254b68eaa84c6cd23099edd668e6
[ "ISC" ]
null
null
null
python/anyascii/_data/_04a.py
casept/anyascii
d4f426b91751254b68eaa84c6cd23099edd668e6
[ "ISC" ]
null
null
null
b='Di Wu Qiu Yan Liao Bi Soeng Bin Zing Yuan Nue Bao Ying Hong Ci Qia Ti Yu Lei Bao Wu Ji Fu Xian Cen Hu Se Beng Qing Yu Wa Ai Han Dan Ge Di Huo Pang Zaam Zhui Ling Mai Mai Lian Xiao Xue Zhen Po Fu Nou Xi Dui Dan Yun Xian Yin Shu Dui Beng Hu Fei Fei Za Bei Fei Xian Shi Mian Zhan Zhan Zhan Hui Fu Wan Mo Qiao Liao Mie ...
1,014
1,014
0.745562
252
1,014
3
0.595238
0.021164
0
0
0
0
0
0
0
0
0
0
0.251479
1,014
1
1,014
1,014
0.996047
0
0
0
0
1
0.995074
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
a3b5652c3a9916b4d6952e60107a16196e6b33ba
61
py
Python
argue/__init__.py
jrkerns/argue
94d27db9687696985553c3eea7dcb9d9920990c5
[ "MIT" ]
1
2018-06-19T17:59:28.000Z
2018-06-19T17:59:28.000Z
argue/__init__.py
jrkerns/argue
94d27db9687696985553c3eea7dcb9d9920990c5
[ "MIT" ]
null
null
null
argue/__init__.py
jrkerns/argue
94d27db9687696985553c3eea7dcb9d9920990c5
[ "MIT" ]
null
null
null
from argue.argumentative import bounds, options, conditional
30.5
60
0.852459
7
61
7.428571
1
0
0
0
0
0
0
0
0
0
0
0
0.098361
61
1
61
61
0.945455
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
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
5
a3ce3e94a16ea539c72c1e2a9a20a10eace85ce5
14,515
py
Python
src/opserver/test/test_analytics_db.py
sagarc-contrail/contrail-controller
834302367f3ff81f1ce93f4036b6b3788dfd6994
[ "Apache-2.0" ]
null
null
null
src/opserver/test/test_analytics_db.py
sagarc-contrail/contrail-controller
834302367f3ff81f1ce93f4036b6b3788dfd6994
[ "Apache-2.0" ]
null
null
null
src/opserver/test/test_analytics_db.py
sagarc-contrail/contrail-controller
834302367f3ff81f1ce93f4036b6b3788dfd6994
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # Copyright (c) 2014 Juniper Networks, Inc. All rights reserved. # # # analytics_db_test.py # # System tests for analytics # import os import sys import signal import gevent from gevent import monkey monkey.patch_all() import os import unittest import testtools import fixtures import socket f...
39.65847
106
0.678539
1,691
14,515
5.406268
0.112951
0.055896
0.073944
0.108073
0.846642
0.831547
0.777073
0.703019
0.665172
0.646139
0
0.010284
0.256424
14,515
365
107
39.767123
0.836746
0.215295
0
0.60177
0
0
0.055653
0.030918
0
0
0
0
0.287611
1
0.070796
false
0.048673
0.066372
0
0.261062
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5