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
9ec7841a173dc4c19d7dac5f98e4c9ddedd5460c
157
py
Python
glimix_core/_util/_array.py
Horta/limix-inference
1ba102fc544f8d307412d361b574da9d4c166f8e
[ "MIT" ]
7
2019-06-10T12:27:25.000Z
2021-07-23T16:36:04.000Z
glimix_core/_util/_array.py
Horta/limix-inference
1ba102fc544f8d307412d361b574da9d4c166f8e
[ "MIT" ]
12
2017-05-28T10:59:31.000Z
2021-05-17T20:11:00.000Z
glimix_core/_util/_array.py
Horta/limix-inference
1ba102fc544f8d307412d361b574da9d4c166f8e
[ "MIT" ]
5
2017-08-27T20:13:45.000Z
2022-02-14T06:33:14.000Z
from numpy import reshape def vec(x): return reshape(x, (-1,) + x.shape[2:], order="F") def unvec(x, shape): return reshape(x, shape, order="F")
15.7
53
0.611465
26
157
3.692308
0.538462
0.1875
0.291667
0
0
0
0
0
0
0
0
0.015873
0.197452
157
9
54
17.444444
0.746032
0
0
0
0
0
0.012739
0
0
0
0
0
0
1
0.4
false
0
0.2
0.4
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
1
0
0
0
1
1
0
0
6
9edc4b896c4673af8ba61e91bf9ac87a555fe75f
272
py
Python
tests/bitwiseOperations/__init__.py
mgorzkowski/abn
3a9ac6fb0cfe9d497b6d8f26373d2af3b6ff9860
[ "MIT" ]
4
2018-04-24T15:25:55.000Z
2022-03-08T15:01:07.000Z
tests/bitwiseOperations/__init__.py
mgorzkowski/abn
3a9ac6fb0cfe9d497b6d8f26373d2af3b6ff9860
[ "MIT" ]
2
2021-05-04T19:44:28.000Z
2021-05-05T11:51:15.000Z
tests/bitwiseOperations/__init__.py
mgorzkowski/abn
3a9ac6fb0cfe9d497b6d8f26373d2af3b6ff9860
[ "MIT" ]
null
null
null
from . import nand_tests from . import and_tests from . import nor_tests from . import not_tests from . import or_tests from . import xor_tests from . import rotate_left_tests from . import rotate_right_tests from . import shift_left_tests from . import shift_right_tests
24.727273
32
0.816176
44
272
4.727273
0.295455
0.480769
0.649038
0.201923
0
0
0
0
0
0
0
0
0.147059
272
10
33
27.2
0.896552
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
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
6
9efe36b7df749158058e0d954855a509a9ce6a8b
7,057
py
Python
tests/library/test_ceph_volume_simple_activate.py
u-kosmonaft-u/ceph-ansible
14c472707c165f77def05826b22885480af3e8f9
[ "Apache-2.0" ]
1,570
2015-01-03T08:38:22.000Z
2022-03-31T09:24:37.000Z
tests/library/test_ceph_volume_simple_activate.py
u-kosmonaft-u/ceph-ansible
14c472707c165f77def05826b22885480af3e8f9
[ "Apache-2.0" ]
4,964
2015-01-05T10:41:44.000Z
2022-03-31T07:59:49.000Z
tests/library/test_ceph_volume_simple_activate.py
u-kosmonaft-u/ceph-ansible
14c472707c165f77def05826b22885480af3e8f9
[ "Apache-2.0" ]
1,231
2015-01-04T11:48:16.000Z
2022-03-31T12:15:28.000Z
from mock.mock import patch import os import pytest import ca_test_common import ceph_volume_simple_activate fake_cluster = 'ceph' fake_container_binary = 'podman' fake_container_image = 'quay.ceph.io/ceph/daemon:latest' fake_id = '42' fake_uuid = '0c4a7eca-0c2a-4c12-beff-08a80f064c52' fake_path = '/etc/ceph/osd/{}-{}...
40.325714
132
0.621794
857
7,057
4.816803
0.123687
0.081395
0.063953
0.06686
0.803537
0.796269
0.766231
0.753634
0.741764
0.741764
0
0.006254
0.252232
7,057
174
133
40.557471
0.776009
0
0
0.66
0
0
0.205186
0.121581
0
0
0
0
0.206667
1
0.046667
false
0
0.033333
0
0.086667
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
73455aa40d8fdaf8fad425f0bc60becf47571215
4,387
py
Python
tests/test_infection.py
chinapnr/covid-19-data
409fa260c16e09b7ef820435c5086207bb5e40ef
[ "MIT" ]
3
2020-05-27T01:21:50.000Z
2020-08-20T07:54:42.000Z
tests/test_infection.py
chinapnr/covid-19-data
409fa260c16e09b7ef820435c5086207bb5e40ef
[ "MIT" ]
24
2020-03-26T10:45:34.000Z
2020-04-06T06:13:50.000Z
tests/test_infection.py
chinapnr/covid-19-data
409fa260c16e09b7ef820435c5086207bb5e40ef
[ "MIT" ]
null
null
null
import json import pytest @pytest.mark.usefixtures('client', 'headers') class TestInfection: def test_infection_region_tc01(self, client, headers): # db has data BETWEEN 2020-03-22 2020-03-24 region = 'China' payload = { 'region': region, 'start_date': '2020-03-22...
35.096
90
0.581947
487
4,387
5.106776
0.12115
0.055489
0.052272
0.083635
0.844391
0.817451
0.817451
0.817451
0.817451
0.799357
0
0.074372
0.291999
4,387
124
91
35.379032
0.726336
0.070435
0
0.683168
0
0
0.167937
0.005901
0
0
0
0
0.158416
1
0.079208
false
0
0.019802
0
0.108911
0.079208
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b40913984e0d9a08276edd74c8a43fc4a6017a70
9,921
py
Python
utils.py
sWizad/HashNeRF-pytorch
e8fe9b4879fc6ef3cdfa8fd3d268a92c4fa0d910
[ "MIT" ]
null
null
null
utils.py
sWizad/HashNeRF-pytorch
e8fe9b4879fc6ef3cdfa8fd3d268a92c4fa0d910
[ "MIT" ]
null
null
null
utils.py
sWizad/HashNeRF-pytorch
e8fe9b4879fc6ef3cdfa8fd3d268a92c4fa0d910
[ "MIT" ]
null
null
null
import json import numpy as np import pdb import torch from ray_utils import get_rays, get_ray_directions, get_ndc_rays BOX_OFFSETS = torch.tensor([[[i,j,k] for i in [0, 1] for j in [0, 1] for k in [0, 1]]], device='cuda') SQR_OFFSETS = torch.tensor([[[i,j] for i in [0, 1] for j in [0,...
40.493878
123
0.627961
1,528
9,921
3.793194
0.102094
0.10559
0.093168
0.008282
0.8706
0.848516
0.819531
0.810214
0.810214
0.791063
0
0.053681
0.241407
9,921
244
124
40.659836
0.71645
0.270235
0
0.654135
0
0
0.014158
0.006654
0
0
0
0
0
1
0.090226
false
0
0.037594
0.007519
0.218045
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b40c87bef3a1437769ac688f07452b9daed5f901
189
py
Python
src/base/admin.py
dhavall13/Decode
8b9cbec72ade727d62edb90c3a38152e0285fe90
[ "MIT" ]
null
null
null
src/base/admin.py
dhavall13/Decode
8b9cbec72ade727d62edb90c3a38152e0285fe90
[ "MIT" ]
null
null
null
src/base/admin.py
dhavall13/Decode
8b9cbec72ade727d62edb90c3a38152e0285fe90
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Room, Topic, Message, User admin.site.register(Room) admin.site.register(Topic) admin.site.register(Message) admin.site.register(User)
23.625
46
0.804233
28
189
5.428571
0.428571
0.236842
0.447368
0
0
0
0
0
0
0
0
0
0.084656
189
7
47
27
0.878613
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
b414e74ae421f14965c6e966091b96bde22167db
8,249
py
Python
orca/topology/infra/k8s/__init__.py
filwie/orca
84cfd53d309d85f7a7fb8649ba4abc8c2df9feac
[ "Apache-2.0" ]
null
null
null
orca/topology/infra/k8s/__init__.py
filwie/orca
84cfd53d309d85f7a7fb8649ba4abc8c2df9feac
[ "Apache-2.0" ]
null
null
null
orca/topology/infra/k8s/__init__.py
filwie/orca
84cfd53d309d85f7a7fb8649ba4abc8c2df9feac
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 OpenRCA Authors # # 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 writi...
29.566308
74
0.562856
450
8,249
10.304444
0.288889
0.113651
0.147078
0.174682
0.730429
0.730429
0.704766
0.56804
0.56804
0.328661
0
0.00176
0.380046
8,249
278
75
29.672662
0.904967
0.066917
0
0.702586
0
0
0
0
0
0
0
0
0
1
0.00431
true
0
0.012931
0.00431
0.021552
0
0
0
1
null
0
0
1
0
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
1
0
0
0
0
0
0
6
b44ff9fd50fe2d54276ded1d327434e0e7c23eab
282
py
Python
tests/test_classes/users.py
dialogs/python-bot-sdk
737152e5ef8406af0b22600ef7cefa78da9035e8
[ "Apache-2.0" ]
9
2019-01-22T09:59:12.000Z
2021-05-08T10:59:00.000Z
tests/test_classes/users.py
dialogs/python-bot-sdk
737152e5ef8406af0b22600ef7cefa78da9035e8
[ "Apache-2.0" ]
29
2018-10-08T17:10:49.000Z
2021-04-28T18:46:30.000Z
tests/test_classes/users.py
dialogs/python-bot-sdk
737152e5ef8406af0b22600ef7cefa78da9035e8
[ "Apache-2.0" ]
8
2019-01-22T09:49:32.000Z
2022-01-26T18:55:52.000Z
from dialog_api.users_pb2 import RequestLoadFullUsers, ResponseLoadFullUsers, FullUser class Users: def LoadFullUsers(self, request: RequestLoadFullUsers) -> ResponseLoadFullUsers: return ResponseLoadFullUsers(full_users=[FullUser(id=1, contact_info=[], about=None)])
40.285714
94
0.797872
28
282
7.892857
0.785714
0.371041
0
0
0
0
0
0
0
0
0
0.008
0.113475
282
6
95
47
0.876
0
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
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
b45b6c7e93b004510cd39ca579e1ae1a135f82e4
30
py
Python
SVDD/__init__.py
SolidusAbi/SVDD-Python
ce2b834bf31cfdbbbebc08c8a1bac8c37b081d0e
[ "MIT" ]
null
null
null
SVDD/__init__.py
SolidusAbi/SVDD-Python
ce2b834bf31cfdbbbebc08c8a1bac8c37b081d0e
[ "MIT" ]
null
null
null
SVDD/__init__.py
SolidusAbi/SVDD-Python
ce2b834bf31cfdbbbebc08c8a1bac8c37b081d0e
[ "MIT" ]
null
null
null
from .BaseSVDD import BaseSVDD
30
30
0.866667
4
30
6.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.1
30
1
30
30
0.962963
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b4620451d250c59f2d44e900d7695fc1a4e00f84
258
py
Python
python/hayate/store/actions.py
tao12345666333/Talk-Is-Cheap
7b2c5959828b6d8bbbad8144b9b97f9b77c6b34c
[ "MIT" ]
4
2016-04-14T02:11:35.000Z
2019-05-30T10:18:41.000Z
python/hayate/store/actions.py
tao12345666333/Talk-Is-Cheap
7b2c5959828b6d8bbbad8144b9b97f9b77c6b34c
[ "MIT" ]
8
2016-07-21T16:02:17.000Z
2021-09-23T02:49:34.000Z
python/hayate/store/actions.py
tao12345666333/Talk-Is-Cheap
7b2c5959828b6d8bbbad8144b9b97f9b77c6b34c
[ "MIT" ]
2
2017-02-17T05:02:02.000Z
2017-11-08T12:22:09.000Z
from turbo.flux import Mutation, register, dispatch, register_dispatch import mutation_types @register_dispatch('user', mutation_types.INCREASE) def increase(rank): pass def decrease(rank): return dispatch('user', mutation_types.DECREASE, rank)
19.846154
70
0.77907
32
258
6.125
0.46875
0.244898
0.204082
0.255102
0
0
0
0
0
0
0
0
0.127907
258
12
71
21.5
0.871111
0
0
0
0
0
0.031008
0
0
0
0
0
0
1
0.285714
false
0.142857
0.285714
0.142857
0.714286
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
1
0
1
0
0
0
6
b46ebc3b01df0741b7690606a0b55aac51c6693f
237
py
Python
wagtail/wagtailadmin/blocks.py
patphongs/wagtail
32555f7a1c599c139e0f26c22907c9612af2e015
[ "BSD-3-Clause" ]
3
2016-08-17T13:56:36.000Z
2019-04-23T19:59:25.000Z
wagtail/wagtailadmin/blocks.py
patphongs/wagtail
32555f7a1c599c139e0f26c22907c9612af2e015
[ "BSD-3-Clause" ]
11
2016-08-05T15:43:06.000Z
2016-12-16T13:32:23.000Z
wagtail/wagtailadmin/blocks.py
patphongs/wagtail
32555f7a1c599c139e0f26c22907c9612af2e015
[ "BSD-3-Clause" ]
2
2017-08-08T01:39:02.000Z
2018-05-06T06:16:10.000Z
from __future__ import absolute_import, unicode_literals import warnings from wagtail.wagtailcore.blocks import * # noqa warnings.warn("wagtail.wagtailadmin.blocks has moved to wagtail.wagtailcore.blocks", UserWarning, stacklevel=2)
29.625
111
0.827004
29
237
6.551724
0.655172
0.189474
0.252632
0
0
0
0
0
0
0
0
0.004695
0.101266
237
7
112
33.857143
0.887324
0.016878
0
0
0
0
0.290043
0.229437
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
81e7bcf77b3d24a119c0b31470b009787721b442
15,921
py
Python
pipeline/tests/engine/core/data/test_api.py
wkma/bk-sops
8fb5609c0c4495c28d588fbafa9d9f5f2976929b
[ "Apache-2.0" ]
2
2021-07-28T01:48:31.000Z
2021-11-17T11:02:26.000Z
pipeline/tests/engine/core/data/test_api.py
wkma/bk-sops
8fb5609c0c4495c28d588fbafa9d9f5f2976929b
[ "Apache-2.0" ]
null
null
null
pipeline/tests/engine/core/data/test_api.py
wkma/bk-sops
8fb5609c0c4495c28d588fbafa9d9f5f2976929b
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in co...
43.381471
115
0.592174
1,672
15,921
5.297847
0.098086
0.093926
0.068639
0.094378
0.817227
0.812034
0.80876
0.80797
0.781553
0.771054
0
0.001402
0.328183
15,921
366
116
43.5
0.826758
0.045977
0
0.573883
0
0
0.067264
0.042032
0
0
0
0
0.154639
1
0.068729
false
0.04811
0.030928
0
0.103093
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
c30a8241bc4eb176e2d35bfc53ddbf79b7ca685f
77
py
Python
test/settings/test_kafka_consumer_config.py
DebasishMaji/PI
e293982cae8f8755d28d7b3de22966dc74759b90
[ "Apache-2.0" ]
null
null
null
test/settings/test_kafka_consumer_config.py
DebasishMaji/PI
e293982cae8f8755d28d7b3de22966dc74759b90
[ "Apache-2.0" ]
null
null
null
test/settings/test_kafka_consumer_config.py
DebasishMaji/PI
e293982cae8f8755d28d7b3de22966dc74759b90
[ "Apache-2.0" ]
null
null
null
import unittest class TestKafkaConsumerConfig(unittest.TestCase): pass
12.833333
49
0.805195
7
77
8.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.142857
77
5
50
15.4
0.939394
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
c30ea52dd60b15b77f690236c9544837627ac0f7
7,684
py
Python
Pycraft/StartupAnimation.py
demirdogukan/InsiderPycraft
5567107326fbd222a7df6aabf4ab265e0a157636
[ "MIT" ]
22
2021-03-25T17:47:45.000Z
2022-03-29T01:56:12.000Z
Pycraft/StartupAnimation.py
demirdogukan/InsiderPycraft
5567107326fbd222a7df6aabf4ab265e0a157636
[ "MIT" ]
1
2021-12-22T16:12:59.000Z
2021-12-22T16:12:59.000Z
Pycraft/StartupAnimation.py
demirdogukan/InsiderPycraft
5567107326fbd222a7df6aabf4ab265e0a157636
[ "MIT" ]
3
2021-09-05T14:10:05.000Z
2022-01-10T12:57:34.000Z
if not __name__ == "__main__": print("Started <Pycraft_StartupAnimation>") class GenerateStartupScreen: def __init__(self): pass def Start(self): try: self.Display.fill(self.BackgroundCol) self.mod_Pygame__...
53.361111
141
0.511322
679
7,684
5.533137
0.185567
0.076391
0.089965
0.053234
0.769497
0.755124
0.745542
0.745542
0.745542
0.729039
0
0.022628
0.401874
7,684
144
142
53.361111
0.794822
0
0
0.68595
1
0
0.047865
0.003447
0
0
0
0
0
1
0.016529
false
0.008264
0.016529
0
0.057851
0.016529
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
c331cb67fa44126ad7899136fc1a363b37ea7fe2
263
py
Python
gdal/swig/python/scripts/gdal2xyz.py
Sokigo-GLS/gdal
595f74bf60dff89fc5df53f9f4c3e40fc835e909
[ "MIT" ]
null
null
null
gdal/swig/python/scripts/gdal2xyz.py
Sokigo-GLS/gdal
595f74bf60dff89fc5df53f9f4c3e40fc835e909
[ "MIT" ]
null
null
null
gdal/swig/python/scripts/gdal2xyz.py
Sokigo-GLS/gdal
595f74bf60dff89fc5df53f9f4c3e40fc835e909
[ "MIT" ]
null
null
null
import sys # import osgeo.utils.gdal2xyz as a convenience to use as a script from osgeo.utils.gdal2xyz import * # noqa from osgeo.utils.gdal2xyz import main from osgeo.gdal import deprecation_warn deprecation_warn('gdal2xyz', 'utils') sys.exit(main(sys.argv))
26.3
65
0.787072
41
263
5
0.463415
0.146341
0.263415
0.214634
0.273171
0
0
0
0
0
0
0.017391
0.125475
263
9
66
29.222222
0.873913
0.258555
0
0
0
0
0.067708
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
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
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
c37854af006991db33cfa5319fe951302a09dbf2
164
py
Python
segmentation/data/transforms/__init__.py
RajasekharChowdary9/panoptic-deeplab
7645bc1cf51e3ebc85153666f26f8630a407b52b
[ "Apache-2.0" ]
506
2020-06-12T01:07:56.000Z
2022-03-26T00:56:52.000Z
segmentation/data/transforms/__init__.py
RajasekharChowdary9/panoptic-deeplab
7645bc1cf51e3ebc85153666f26f8630a407b52b
[ "Apache-2.0" ]
85
2020-06-12T04:51:31.000Z
2022-03-23T16:19:44.000Z
segmentation/data/transforms/__init__.py
RajasekharChowdary9/panoptic-deeplab
7645bc1cf51e3ebc85153666f26f8630a407b52b
[ "Apache-2.0" ]
102
2020-06-12T06:45:44.000Z
2022-03-22T14:03:04.000Z
from .build import build_transforms from .pre_augmentation_transforms import Resize from .target_transforms import PanopticTargetGenerator, SemanticTargetGenerator
41
79
0.896341
17
164
8.411765
0.588235
0.223776
0
0
0
0
0
0
0
0
0
0
0.079268
164
3
80
54.666667
0.94702
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
5edecbbe347219a2740ccd3534f648ace677fd24
10,232
py
Python
tests/exchanges_tests.py
tomwalton78/Crypto-Exchange-API-Aggregator
c5b1756eac46274cdbe5c4e49db62450a35b70a6
[ "MIT" ]
null
null
null
tests/exchanges_tests.py
tomwalton78/Crypto-Exchange-API-Aggregator
c5b1756eac46274cdbe5c4e49db62450a35b70a6
[ "MIT" ]
null
null
null
tests/exchanges_tests.py
tomwalton78/Crypto-Exchange-API-Aggregator
c5b1756eac46274cdbe5c4e49db62450a35b70a6
[ "MIT" ]
1
2019-11-16T07:31:00.000Z
2019-11-16T07:31:00.000Z
import unittest from datetime import datetime import os import sys from api.exchanges.exchange import ExchangeAPICallFailedException from api.exchanges.gdax_exchange import GdaxExchange from api.exchanges.kraken_exchange import KrakenExchange from api.exchanges.bitstamp_exchange import BitstampExchange from api.exchan...
30.094118
79
0.583268
1,126
10,232
5.027531
0.119005
0.049461
0.059353
0.042395
0.804098
0.803745
0.775481
0.730613
0.699523
0.699523
0
0.021301
0.320954
10,232
339
80
30.182891
0.793466
0.082389
0
0.724
0
0
0.116272
0.020259
0
0
0
0
0.064
1
0.104
false
0.032
0.036
0
0.16
0
0
0
0
null
0
0
0
1
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
6
6f08e7a44962b3d4ce1d67b7f28da022e46eb7fe
4,097
py
Python
src/bindings/python/tests/test_ngraph/test_eye.py
si-eun-kim/openvino
1db4446e2a6ead55d066e0b4e718fa37f509353a
[ "Apache-2.0" ]
2
2021-12-14T15:27:46.000Z
2021-12-14T15:34:16.000Z
src/bindings/python/tests/test_ngraph/test_eye.py
si-eun-kim/openvino
1db4446e2a6ead55d066e0b4e718fa37f509353a
[ "Apache-2.0" ]
33
2021-09-23T04:14:30.000Z
2022-01-24T13:21:32.000Z
src/bindings/python/tests/test_ngraph/test_eye.py
si-eun-kim/openvino
1db4446e2a6ead55d066e0b4e718fa37f509353a
[ "Apache-2.0" ]
11
2021-11-09T00:51:40.000Z
2021-11-10T12:04:16.000Z
# Copyright (C) 2018-2022 Intel Corporation # SPDX-License-Identifier: Apache-2.0 import openvino.runtime.opset9 as ov import numpy as np import pytest from tests.runtime import get_runtime from openvino.runtime.utils.types import get_element_type_str from openvino.runtime.utils.types import get_element_type @pytes...
39.776699
90
0.686112
567
4,097
4.619048
0.141093
0.053456
0.042764
0.036655
0.857197
0.842688
0.842688
0.796487
0.765559
0.700649
0
0.027052
0.215035
4,097
102
91
40.166667
0.787313
0.137418
0
0.542857
0
0
0.03213
0
0
0
0
0.009804
0.114286
1
0.028571
false
0
0.085714
0
0.114286
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
6f3bc48d07d6db347089edf80b48b6fd74fd6c76
2,108
py
Python
download_cifar100_teacher.py
valeoai/QuEST
02a23d2d8e0d059b4a30433f92eec5db146467f4
[ "Apache-2.0" ]
3
2021-06-03T22:45:47.000Z
2022-03-27T18:50:06.000Z
download_cifar100_teacher.py
valeoai/QuEST
02a23d2d8e0d059b4a30433f92eec5db146467f4
[ "Apache-2.0" ]
null
null
null
download_cifar100_teacher.py
valeoai/QuEST
02a23d2d8e0d059b4a30433f92eec5db146467f4
[ "Apache-2.0" ]
1
2021-08-20T15:39:40.000Z
2021-08-20T15:39:40.000Z
import os import urllib.request os.makedirs('saved_models', exist_ok=True) model_path = 'http://shape2prog.csail.mit.edu/repo/wrn_40_2_vanilla/ckpt_epoch_240.pth' model_dir = 'saved_models/wrn_40_2_vanilla' os.makedirs(model_dir, exist_ok=True) urllib.request.urlretrieve(model_path, os.path.join(model_dir, mo...
51.414634
91
0.766129
328
2,108
4.64939
0.121951
0.141639
0.110164
0.090492
0.900984
0.900984
0.900984
0.900984
0.876066
0.714754
0
0.033588
0.067837
2,108
40
92
52.7
0.742494
0
0
0.545455
0
0
0.472921
0.174081
0
0
0
0
0
1
0
false
0
0.060606
0
0.060606
0.181818
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
6f3d81cff53a00e04f111ddf20aa94a2c2b57bda
3,885
py
Python
test/lazy/test_cat_lazy_tensor.py
Mehdishishehbor/gpytorch
432e537b3f6679ea4ab3acf33b14626b7e161c92
[ "MIT" ]
null
null
null
test/lazy/test_cat_lazy_tensor.py
Mehdishishehbor/gpytorch
432e537b3f6679ea4ab3acf33b14626b7e161c92
[ "MIT" ]
null
null
null
test/lazy/test_cat_lazy_tensor.py
Mehdishishehbor/gpytorch
432e537b3f6679ea4ab3acf33b14626b7e161c92
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import unittest import torch from Lgpytorch.lazy import CatLazyTensor, NonLazyTensor from Lgpytorch.test.lazy_tensor_test_case import LazyTensorTestCase class TestCatLazyTensor(LazyTensorTestCase, unittest.TestCase): seed = 1 def create_lazy_tensor(self): root = torch.randn(...
31.844262
73
0.667954
488
3,885
5.040984
0.141393
0.071138
0.101626
0.079268
0.879675
0.863821
0.863821
0.85122
0.836179
0.836179
0
0.037748
0.209009
3,885
121
74
32.107438
0.762773
0.033205
0
0.679487
0
0
0.002132
0
0
0
0
0
0
1
0.128205
false
0
0.051282
0.064103
0.461538
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
4894cec7ad1d16f91926da91173205b79ee1b463
1,620
py
Python
tests/test_compound_where.py
WinVector/data_algebra
3d6002ddf8231d310e03537a0435df0554b62234
[ "BSD-3-Clause" ]
37
2019-08-28T08:16:48.000Z
2022-03-14T21:18:39.000Z
tests/test_compound_where.py
WinVector/data_algebra
3d6002ddf8231d310e03537a0435df0554b62234
[ "BSD-3-Clause" ]
1
2019-09-02T23:13:29.000Z
2019-09-08T01:43:10.000Z
tests/test_compound_where.py
WinVector/data_algebra
3d6002ddf8231d310e03537a0435df0554b62234
[ "BSD-3-Clause" ]
3
2019-08-28T12:23:11.000Z
2020-02-08T19:22:31.000Z
import data_algebra import data_algebra.test_util from data_algebra.data_ops import * # https://github.com/WinVector/data_algebra import data_algebra.util import data_algebra.SQLite def test_compount_where_and(): d = data_algebra.default_data_model.pd.DataFrame( { "a": ["a", "b", None, None]...
28.421053
80
0.56358
231
1,620
3.744589
0.21645
0.178035
0.017341
0.101734
0.824277
0.756069
0.756069
0.756069
0.756069
0.756069
0
0.016556
0.254321
1,620
56
81
28.928571
0.699503
0.025309
0
0.55814
0
0
0.067216
0
0
0
0
0
0.046512
1
0.046512
false
0
0.116279
0
0.162791
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
4896bd7de479f88113218577909931ad2456610b
18,819
py
Python
lshmm/viterbi/vit_diploid_variants_samples.py
jeromekelleher/lshmm
58e0c3395f222e756bb10a0063f5118b20176a01
[ "MIT" ]
null
null
null
lshmm/viterbi/vit_diploid_variants_samples.py
jeromekelleher/lshmm
58e0c3395f222e756bb10a0063f5118b20176a01
[ "MIT" ]
9
2022-02-24T14:20:09.000Z
2022-03-01T17:54:47.000Z
lshmm/vit_diploid_variants_samples.py
astheeggeggs/ls_hmm
11af1eb886ef3db2869cdd50954fba5565fcef51
[ "MIT" ]
1
2022-02-28T17:07:36.000Z
2022-02-28T17:07:36.000Z
"""Collection of functions to run Viterbi algorithms on dipoid genotype data, where the data is structured as variants x samples.""" import numba as nb import numpy as np # https://github.com/numba/numba/issues/1269 @nb.njit def np_apply_along_axis(func1d, axis, arr): """Create numpy-like functions for max, sum e...
33.307965
132
0.435145
2,901
18,819
2.720786
0.064461
0.06208
0.016344
0.012163
0.862283
0.848347
0.813632
0.789814
0.775877
0.775877
0
0.065352
0.380413
18,819
564
133
33.367021
0.611578
0.418035
0
0.558052
0
0
0
0
0
0
0
0
0.014981
1
0.044944
false
0
0.007491
0
0.097378
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
48eca2b30f95acacb8513624eb0235e73603734b
183
py
Python
src/c3nav/site/templatetags/route_render.py
johnjohndoe/c3nav
a17f863a3512e305595c16b0300796b6bae81241
[ "Apache-2.0" ]
132
2016-11-12T01:45:23.000Z
2022-03-08T15:17:10.000Z
src/c3nav/site/templatetags/route_render.py
johnjohndoe/c3nav
a17f863a3512e305595c16b0300796b6bae81241
[ "Apache-2.0" ]
66
2016-09-29T09:46:19.000Z
2022-03-11T23:26:18.000Z
src/c3nav/site/templatetags/route_render.py
johnjohndoe/c3nav
a17f863a3512e305595c16b0300796b6bae81241
[ "Apache-2.0" ]
42
2016-09-29T08:34:57.000Z
2022-03-08T15:17:15.000Z
from django import template register = template.Library() @register.filter def negate(value): return -value @register.filter def subtract(value, arg): return value - arg
13.071429
29
0.726776
23
183
5.782609
0.565217
0.210526
0.255639
0
0
0
0
0
0
0
0
0
0.180328
183
13
30
14.076923
0.886667
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0.25
0.625
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
1
0
0
0
1
1
0
0
6
5b1a7c8341406690f20aa12accdb9fc9001deadc
238
py
Python
speechpro/cloud/speech/synthesis/rest/cloud_client/api/__init__.py
speechpro/cloud-python
dfcfc19a1f008b55c5290599c594fe8de777018b
[ "MIT" ]
15
2020-05-27T09:35:32.000Z
2022-03-29T18:35:36.000Z
speechpro/cloud/speech/synthesis/rest/cloud_client/api/__init__.py
speechpro/cloud-python
dfcfc19a1f008b55c5290599c594fe8de777018b
[ "MIT" ]
null
null
null
speechpro/cloud/speech/synthesis/rest/cloud_client/api/__init__.py
speechpro/cloud-python
dfcfc19a1f008b55c5290599c594fe8de777018b
[ "MIT" ]
1
2021-04-06T21:39:29.000Z
2021-04-06T21:39:29.000Z
from __future__ import absolute_import # flake8: noqa # import apis into api package import speechpro.cloud.speech.synthesis.rest.cloud_client.api.session_api import speechpro.cloud.speech.synthesis.rest.cloud_client.api.synthesize_api
29.75
76
0.848739
34
238
5.676471
0.529412
0.15544
0.207254
0.26943
0.549223
0.549223
0.549223
0.549223
0.549223
0
0
0.004566
0.079832
238
7
77
34
0.876712
0.172269
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
d294cefa293f8d84c96bacb7467d9cfe88246372
147
py
Python
armageddon/__init__.py
acse-ns1321/asteroid-impact-simulator
986c12ff1276e5d0547a4f760e1d2cb90fe4ba11
[ "MIT" ]
null
null
null
armageddon/__init__.py
acse-ns1321/asteroid-impact-simulator
986c12ff1276e5d0547a4f760e1d2cb90fe4ba11
[ "MIT" ]
null
null
null
armageddon/__init__.py
acse-ns1321/asteroid-impact-simulator
986c12ff1276e5d0547a4f760e1d2cb90fe4ba11
[ "MIT" ]
null
null
null
# flake8:NOQA """Python asteroid airburst calculator""" from .solver import * from .damage import * from .locator import * from .mapping import *
18.375
41
0.734694
18
147
6
0.666667
0.277778
0
0
0
0
0
0
0
0
0
0.008065
0.156463
147
7
42
21
0.862903
0.326531
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
d2a2c147c06d327188733c71e9a83b70f75131b1
27
py
Python
micro-benchmark-key-errs/snippets/dicts/type_coercion/main.py
WenJinfeng/PyCG
b45e8e04fe697d8301cf27222a8f37646d69f168
[ "Apache-2.0" ]
121
2020-12-16T20:31:37.000Z
2022-03-21T20:32:43.000Z
micro-benchmark-key-errs/snippets/dicts/type_coercion/main.py
WenJinfeng/PyCG
b45e8e04fe697d8301cf27222a8f37646d69f168
[ "Apache-2.0" ]
24
2021-03-13T00:04:00.000Z
2022-03-21T17:28:11.000Z
micro-benchmark-key-errs/snippets/dicts/type_coercion/main.py
WenJinfeng/PyCG
b45e8e04fe697d8301cf27222a8f37646d69f168
[ "Apache-2.0" ]
19
2021-03-23T10:58:47.000Z
2022-03-24T19:46:50.000Z
d = {"1": "a"} d[1] d["1"]
6.75
14
0.259259
7
27
1
0.428571
0.857143
0
0
0
0
0
0
0
0
0
0.142857
0.222222
27
3
15
9
0.190476
0
0
0
0
0
0.111111
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
d2bc823500d7e835a13076bd5554f0f404893ff4
243
py
Python
jmeter_api/timers/__init__.py
dashawn888/jmeter_api
1ab5b02f3a7c8ad1b84fc50db4fe1fc2fa7c91bd
[ "Apache-2.0" ]
11
2020-03-22T13:30:21.000Z
2021-12-25T06:23:44.000Z
jmeter_api/timers/__init__.py
dashawn888/jmeter_api
1ab5b02f3a7c8ad1b84fc50db4fe1fc2fa7c91bd
[ "Apache-2.0" ]
2
2020-03-23T00:06:42.000Z
2021-02-24T21:41:40.000Z
jmeter_api/timers/__init__.py
dashawn888/jmeter_api
1ab5b02f3a7c8ad1b84fc50db4fe1fc2fa7c91bd
[ "Apache-2.0" ]
3
2020-11-09T14:14:25.000Z
2021-05-27T02:54:38.000Z
from jmeter_api.timers.constant_throughput_timer.elements import ConstantThroughputTimer, BasedOn from jmeter_api.timers.constant_timer.elements import ConstantTimer from jmeter_api.timers.uniform_random_timer.elements import UniformRandTimer
60.75
97
0.90535
30
243
7.066667
0.5
0.141509
0.183962
0.268868
0.254717
0
0
0
0
0
0
0
0.053498
243
3
98
81
0.921739
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
d2d3eacc8c8caee95603f50b68c177c406992381
83
py
Python
backend/grant/task/__init__.py
DSBUGAY2/zcash-grant-system
729b9edda13bd1eeb3f445d889264230c6470d7e
[ "MIT" ]
8
2019-06-03T16:29:49.000Z
2021-05-11T20:38:36.000Z
backend/grant/task/__init__.py
DSBUGAY2/zcash-grant-system
729b9edda13bd1eeb3f445d889264230c6470d7e
[ "MIT" ]
342
2019-01-15T19:13:58.000Z
2020-03-24T16:38:13.000Z
backend/grant/task/__init__.py
DSBUGAY2/zcash-grant-system
729b9edda13bd1eeb3f445d889264230c6470d7e
[ "MIT" ]
5
2019-02-15T09:06:47.000Z
2022-01-24T21:38:41.000Z
from . import models from . import views from . import commands from . import jobs
16.6
22
0.759036
12
83
5.25
0.5
0.634921
0
0
0
0
0
0
0
0
0
0
0.192771
83
5
23
16.6
0.940299
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
d2e9f3e2143b7da446094a72db5befcb7fc0a728
54,559
py
Python
autogalaxy/profiles/mass_profiles/stellar_mass_profiles.py
Jammy2211/PyAutoModel
02f54e71900de9ec12c9070dc00a4bd001b25afa
[ "MIT" ]
4
2019-10-29T13:27:23.000Z
2020-03-24T11:13:35.000Z
autogalaxy/profiles/mass_profiles/stellar_mass_profiles.py
Jammy2211/PyAutoModel
02f54e71900de9ec12c9070dc00a4bd001b25afa
[ "MIT" ]
null
null
null
autogalaxy/profiles/mass_profiles/stellar_mass_profiles.py
Jammy2211/PyAutoModel
02f54e71900de9ec12c9070dc00a4bd001b25afa
[ "MIT" ]
3
2020-02-12T10:29:59.000Z
2020-03-24T11:13:53.000Z
import copy import numpy as np from scipy.special import wofz from scipy.integrate import quad from typing import List, Tuple import autoarray as aa from autogalaxy.profiles.mass_profiles import MassProfile from autogalaxy.profiles.mass_profiles.mass_profiles import ( MassProfileMGE, MassProfileCSE...
36.372667
129
0.560604
6,276
54,559
4.647068
0.058158
0.018927
0.034699
0.038951
0.890588
0.870701
0.85246
0.835522
0.801166
0.789782
0
0.026702
0.357503
54,559
1,499
130
36.396931
0.8053
0.291813
0
0.647399
0
0
0
0
0
0
0
0
0
1
0.078613
false
0.001156
0.010405
0.018497
0.169942
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
d2f89e6b57c9a1b93947576a30ec79f4c0bc634e
88
py
Python
Workflow/packages/__init__.py
MATS64664-2021-Group-2/Hydride-Connect-Group-2
fa95d38174ffd85461bf66f923c38a3908a469a7
[ "MIT" ]
null
null
null
Workflow/packages/__init__.py
MATS64664-2021-Group-2/Hydride-Connect-Group-2
fa95d38174ffd85461bf66f923c38a3908a469a7
[ "MIT" ]
2
2021-04-12T20:30:48.000Z
2021-05-24T14:07:24.000Z
Workflow/packages/__init__.py
MATS64664-2021-Group-2/Hydride_Connection
fa95d38174ffd85461bf66f923c38a3908a469a7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Apr 15 11:31:06 2021 @author: a77510jm """
11
35
0.579545
14
88
3.642857
1
0
0
0
0
0
0
0
0
0
0
0.257143
0.204545
88
7
36
12.571429
0.471429
0.875
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
1
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
6
d2ff009598eedc70cbe497c5d19827bdffd07954
144,055
py
Python
test/test_parameters.py
HubukiNinten/imgaug
2570c5651ed1c90addbaffc0f8be226646c55334
[ "MIT" ]
1
2019-10-25T17:43:20.000Z
2019-10-25T17:43:20.000Z
test/test_parameters.py
HubukiNinten/imgaug
2570c5651ed1c90addbaffc0f8be226646c55334
[ "MIT" ]
null
null
null
test/test_parameters.py
HubukiNinten/imgaug
2570c5651ed1c90addbaffc0f8be226646c55334
[ "MIT" ]
null
null
null
from __future__ import print_function, division, absolute_import import itertools import sys # unittest only added in 3.4 self.subTest() if sys.version_info[0] < 3 or sys.version_info[1] < 4: import unittest2 as unittest else: import unittest # unittest.mock is not available in 2.7 (though unittest2 might cont...
34.712048
83
0.557204
17,098
144,055
4.486022
0.033747
0.028383
0.023467
0.029686
0.861881
0.827514
0.785156
0.762001
0.737882
0.709929
0
0.060091
0.330672
144,055
4,149
84
34.720415
0.735408
0.02152
0
0.656814
0
0
0.028436
0.007439
0
0
0
0.000241
0.238955
1
0.107654
false
0
0.006223
0.001245
0.127256
0.000311
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
827ac159b8342adeb18a832d9a86cfcb0600fb29
62
py
Python
modules/vqvc/__init__.py
reppy4620/VCon
cac3441443cb9b28ffbaa0646ed1826d71cb16e0
[ "MIT" ]
4
2021-05-22T03:14:44.000Z
2022-01-03T04:32:54.000Z
modules/vqvc/__init__.py
reppy4620/VCon
cac3441443cb9b28ffbaa0646ed1826d71cb16e0
[ "MIT" ]
null
null
null
modules/vqvc/__init__.py
reppy4620/VCon
cac3441443cb9b28ffbaa0646ed1826d71cb16e0
[ "MIT" ]
null
null
null
from .model import VQVCModel from .pl_model import VQVCModule
20.666667
32
0.83871
9
62
5.666667
0.666667
0.431373
0
0
0
0
0
0
0
0
0
0
0.129032
62
2
33
31
0.944444
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
827fdac046ac07902d8fa5e1aeb478e27e40e24c
11,538
py
Python
integration_tests/test_router.py
madfish-solutions/quipuswap-token2token-core
41fd4293029e2094a564141fb389fd9a1ef19185
[ "MIT" ]
null
null
null
integration_tests/test_router.py
madfish-solutions/quipuswap-token2token-core
41fd4293029e2094a564141fb389fd9a1ef19185
[ "MIT" ]
null
null
null
integration_tests/test_router.py
madfish-solutions/quipuswap-token2token-core
41fd4293029e2094a564141fb389fd9a1ef19185
[ "MIT" ]
null
null
null
from unittest import TestCase import json from helpers import * from pytezos import ContractInterface, pytezos, MichelsonRuntimeError from pytezos.context.mixin import ExecutionContext token_a = "KT1AxaBxkFLCUi3f8rdDAAxBKHfzY8LfKDRA" token_b = "KT1PgHxzUXruWG5XAahQzJAjkk4c2sPcM3Ca" token_c = "KT1RJ6PbjHpwc3M5rw5s2Nb...
30.68617
101
0.477639
1,172
11,538
4.403584
0.116041
0.029064
0.039527
0.042821
0.804108
0.801783
0.801783
0.787638
0.778338
0.735323
0
0.06408
0.410296
11,538
375
102
30.768
0.694444
0.022881
0
0.654321
0
0
0.151367
0.019531
0
0
0
0
0.04321
1
0.021605
false
0
0.015432
0
0.040123
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
7d57cb53958a854e64b6d878a9826f34dbca7a63
96
py
Python
venv/lib/python3.8/site-packages/pip/_internal/operations/install/editable_legacy.py
Retraces/UkraineBot
3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/pip/_internal/operations/install/editable_legacy.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/pip/_internal/operations/install/editable_legacy.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/6e/30/4e/6df13ab33dd498623bcb8f860a029ad969938275a514553b6fe8b4b10b
96
96
0.895833
9
96
9.555556
1
0
0
0
0
0
0
0
0
0
0
0.4375
0
96
1
96
96
0.458333
0
0
0
0
0
0
0
0
1
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
6
7d58f75c60cd92e49b8842d06b9c5d9c9a1f2ca8
91
py
Python
skfda/exploratory/__init__.py
jiduque/scikit-fda
5ea71e78854801b259aa3a01eb6b154aa63bf54b
[ "BSD-3-Clause" ]
147
2019-05-10T20:46:42.000Z
2022-03-25T17:23:19.000Z
skfda/exploratory/__init__.py
jiduque/scikit-fda
5ea71e78854801b259aa3a01eb6b154aa63bf54b
[ "BSD-3-Clause" ]
306
2019-04-26T08:56:05.000Z
2022-03-30T11:12:48.000Z
skfda/exploratory/__init__.py
jiduque/scikit-fda
5ea71e78854801b259aa3a01eb6b154aa63bf54b
[ "BSD-3-Clause" ]
38
2019-09-03T17:24:04.000Z
2022-01-06T05:09:18.000Z
from . import depth from . import outliers from . import stats from . import visualization
18.2
27
0.78022
12
91
5.916667
0.5
0.56338
0
0
0
0
0
0
0
0
0
0
0.175824
91
4
28
22.75
0.946667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
7d6a9fc0ae2c18fcc1e9420cc0d5c546fe26cbe4
1,267
py
Python
Home_Work_2_B_Naychuk_Anastasiya/Task1.py
NaychukAnastasiya/goiteens-python3-naychuk
a79d0af238a15f58a822bb5d8e4d48227d4a7bc1
[ "MIT" ]
null
null
null
Home_Work_2_B_Naychuk_Anastasiya/Task1.py
NaychukAnastasiya/goiteens-python3-naychuk
a79d0af238a15f58a822bb5d8e4d48227d4a7bc1
[ "MIT" ]
null
null
null
Home_Work_2_B_Naychuk_Anastasiya/Task1.py
NaychukAnastasiya/goiteens-python3-naychuk
a79d0af238a15f58a822bb5d8e4d48227d4a7bc1
[ "MIT" ]
null
null
null
# Яке з 3 чисел найбільш наближене до середнього print("Введіть перше число") var1 = float(input()) print("Введіть друге число") var2 = float(input()) print("Введіть третє число") var3 = float(input()) # Avg = (var1+var2+var3)/3 # Варіант розв'язку з порівнянням чисел із середнім арифметичним: if ((var1 > var...
45.25
93
0.648777
175
1,267
4.697143
0.211429
0.116788
0.195864
0.246959
0.749392
0.708029
0.708029
0.708029
0.527981
0.457421
0
0.043265
0.197317
1,267
28
94
45.25
0.764995
0.558011
0
0
0
0
0.361165
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
1
1
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
1
0
6
7d72c0bcd96eb18d89e4b84f9f4aa4228039c607
102
py
Python
urlmiddleware/base.py
dbramwell/django-urlmiddleware
8f7f4a571730805cdd04f321548c8d1dc7751ec7
[ "MIT" ]
4
2015-04-10T10:41:18.000Z
2016-06-16T01:19:15.000Z
urlmiddleware/base.py
dbramwell/django-urlmiddleware
8f7f4a571730805cdd04f321548c8d1dc7751ec7
[ "MIT" ]
2
2015-12-18T12:24:05.000Z
2015-12-18T17:00:27.000Z
urlmiddleware/base.py
dbramwell/django-urlmiddleware
8f7f4a571730805cdd04f321548c8d1dc7751ec7
[ "MIT" ]
7
2015-11-17T17:53:37.000Z
2016-03-29T06:21:17.000Z
from django.core.urlresolvers import Resolver404 class MiddlewareResolver404(Resolver404): pass
17
48
0.823529
10
102
8.4
0.9
0
0
0
0
0
0
0
0
0
0
0.101124
0.127451
102
5
49
20.4
0.842697
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
7db8db74363fb05b1c46621fca683280e13e4190
67
py
Python
Solutions/Python/Posix command(7 kyu).py
collenirwin/Codewars-Solutions
14bad3878d3fc37c7e73cbaaaa24cd28f759ce3b
[ "MIT" ]
null
null
null
Solutions/Python/Posix command(7 kyu).py
collenirwin/Codewars-Solutions
14bad3878d3fc37c7e73cbaaaa24cd28f759ce3b
[ "MIT" ]
null
null
null
Solutions/Python/Posix command(7 kyu).py
collenirwin/Codewars-Solutions
14bad3878d3fc37c7e73cbaaaa24cd28f759ce3b
[ "MIT" ]
null
null
null
from os import popen def get_output(s): return popen(s).read()
16.75
26
0.701493
12
67
3.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.179104
67
4
26
16.75
0.836364
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
8196db5a9a3e9b1ef0fc71ca07363d90aa3c3237
4,386
py
Python
aindex/demo.py
ad3002/Lyrebird
8c0a186e32d61189f073401152c52a89bfed46ed
[ "MIT" ]
null
null
null
aindex/demo.py
ad3002/Lyrebird
8c0a186e32d61189f073401152c52a89bfed46ed
[ "MIT" ]
null
null
null
aindex/demo.py
ad3002/Lyrebird
8c0a186e32d61189f073401152c52a89bfed46ed
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # #@created: 07.01.2018 #@author: Aleksey Komissarov #@contact: ad3002@gmail.com from aindex import * settings = { "index_prefix": "tests/kmers.23", "aindex_prefix": "tests/kmers.23", "reads_file": "tests/reads.reads", } index = load_aindex(settings) k = 23 seque...
58.48
2,183
0.858413
338
4,386
10.95858
0.331361
0.017009
0.026458
0.013769
0.107991
0.073434
0.048056
0.030778
0.030778
0.030778
0
0.00883
0.070451
4,386
74
2,184
59.27027
0.899681
0.061332
0
0.116279
0
0.116279
0.754694
0.56279
0
1
0
0
0
1
0
false
0
0.023256
0
0.023256
0.44186
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
1
0
6
819a475b581f4721e5c8b8ee781500a5749d808c
8,054
py
Python
transformation_fnc.py
usrmaia/transformation-fnc
37ef77708892417ac985bb6f1cf62285834560d8
[ "MIT" ]
null
null
null
transformation_fnc.py
usrmaia/transformation-fnc
37ef77708892417ac985bb6f1cf62285834560d8
[ "MIT" ]
null
null
null
transformation_fnc.py
usrmaia/transformation-fnc
37ef77708892417ac985bb6f1cf62285834560d8
[ "MIT" ]
null
null
null
from useful import * from os import system def remove_implication(formula): while ">" in formula: operator = formula.find(">") print(formula, operator) subform_left = get_subform_left(formula, operator) subform_right = get_subform_right(formula, operator) formula = get_remo...
47.099415
220
0.661286
1,006
8,054
5.011928
0.089463
0.098175
0.067434
0.04998
0.849663
0.842721
0.831813
0.804641
0.801864
0.758429
0
0.007252
0.195307
8,054
171
221
47.099415
0.767011
0.157561
0
0.495935
0
0.01626
0.147458
0.118533
0
0
0
0
0
1
0.089431
false
0
0.01626
0
0.195122
0.138211
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
c4b5547f1e3ecbc952e52b926351b009c451edf6
22
py
Python
celestial/client/system/__init__.py
ams-tech/celestial
0c4c264563fe79d6838a1c40a1d114c1d6fcf23f
[ "MIT" ]
null
null
null
celestial/client/system/__init__.py
ams-tech/celestial
0c4c264563fe79d6838a1c40a1d114c1d6fcf23f
[ "MIT" ]
null
null
null
celestial/client/system/__init__.py
ams-tech/celestial
0c4c264563fe79d6838a1c40a1d114c1d6fcf23f
[ "MIT" ]
null
null
null
from . import cmdline
11
21
0.772727
3
22
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.181818
22
1
22
22
0.944444
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
c4fbbf35cb97942fd780038b58bdfd3ad398e637
248
py
Python
w1data/metadata.py
swork/w1-datalogger
26191d57ff1c05e5c6e9de90870c5c63916f9a8c
[ "MIT" ]
null
null
null
w1data/metadata.py
swork/w1-datalogger
26191d57ff1c05e5c6e9de90870c5c63916f9a8c
[ "MIT" ]
null
null
null
w1data/metadata.py
swork/w1-datalogger
26191d57ff1c05e5c6e9de90870c5c63916f9a8c
[ "MIT" ]
null
null
null
import logging, sys logger = logging.getLogger(__name__) def measurement_for_skey(sensor_key, metadata): # logger.debug("sensor_key:{} metadata:{}".format(sensor_key, metadata)) return metadata['collector']['sensors'][sensor_key]['name']
31
76
0.741935
30
248
5.8
0.6
0.206897
0.293103
0
0
0
0
0
0
0
0
0
0.100806
248
7
77
35.428571
0.780269
0.282258
0
0
0
0
0.114286
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.75
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
1
0
0
0
1
1
0
0
6
482318efaad6f890a578bab42ca3ad7a7b532213
27
py
Python
src/euler_python_package/euler_python/medium/p207.py
wilsonify/euler
5214b776175e6d76a7c6d8915d0e062d189d9b79
[ "MIT" ]
null
null
null
src/euler_python_package/euler_python/medium/p207.py
wilsonify/euler
5214b776175e6d76a7c6d8915d0e062d189d9b79
[ "MIT" ]
null
null
null
src/euler_python_package/euler_python/medium/p207.py
wilsonify/euler
5214b776175e6d76a7c6d8915d0e062d189d9b79
[ "MIT" ]
null
null
null
def problem207(): pass
9
17
0.62963
3
27
5.666667
1
0
0
0
0
0
0
0
0
0
0
0.15
0.259259
27
2
18
13.5
0.7
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0.5
0
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
6
48246329c18e90c00165cc92ef48bb7d9a328558
5,200
py
Python
tests/unit_tests/prepare_email/test_mail_segmenting.py
farthur/melusine
121fbb17da221b12186a275d5843b466ce65d954
[ "Apache-2.0" ]
null
null
null
tests/unit_tests/prepare_email/test_mail_segmenting.py
farthur/melusine
121fbb17da221b12186a275d5843b466ce65d954
[ "Apache-2.0" ]
null
null
null
tests/unit_tests/prepare_email/test_mail_segmenting.py
farthur/melusine
121fbb17da221b12186a275d5843b466ce65d954
[ "Apache-2.0" ]
null
null
null
import pandas as pd from melusine.prepare_email.mail_segmenting import structure_email, tag_signature structured_historic = [ { "text": " \n \n \n Bonjours, \n \n Suite a notre conversation \ téléphonique de Mardi , pourriez vous me dire la \n somme que je vous \ dois afin d'd'être en régularisat...
35.616438
93
0.497308
537
5,200
4.741155
0.195531
0.017282
0.02828
0.036135
0.890416
0.873134
0.873134
0.850746
0.808327
0.808327
0
0.014889
0.367115
5,200
145
94
35.862069
0.758736
0
0
0.556391
0
0.015038
0.170524
0.012265
0
0
0
0
0.015038
1
0.015038
false
0
0.015038
0
0.030075
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
48285ffa4d4045b7cf655571731a70ba6854e4b3
19,519
py
Python
cogv3/admin/managecommands.py
XFazze/discordbot
6b4201a6d6ff1bed5f65de4b4d30738b4d51e223
[ "MIT" ]
2
2021-07-29T02:39:36.000Z
2021-07-29T02:39:38.000Z
cogv3/admin/managecommands.py
XFazze/discordbot
6b4201a6d6ff1bed5f65de4b4d30738b4d51e223
[ "MIT" ]
2
2021-08-16T08:31:24.000Z
2021-09-20T16:34:58.000Z
cogv3/admin/managecommands.py
XFazze/discordbot
6b4201a6d6ff1bed5f65de4b4d30738b4d51e223
[ "MIT" ]
null
null
null
import discord from discord import embeds from discord.ext import commands from discord.ext.commands.core import command from pymongo import MongoClient, collation from discord_components import Button, Select, SelectOption, ComponentsBot from discord.utils import get class managecommands(commands.Cog): def __ini...
42.06681
230
0.56217
2,046
19,519
5.292766
0.074291
0.073414
0.037677
0.033244
0.890479
0.881984
0.869055
0.845784
0.81448
0.768861
0
0.014043
0.310467
19,519
464
231
42.06681
0.790549
0.003433
0
0.687831
0
0
0.120886
0
0
0
0.008638
0
0
1
0.007937
false
0.021164
0.018519
0
0.082011
0.002646
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
6f9177f95c9276da027118820c1944dc489b0063
137
py
Python
backend/elasticsurgery/views/__init__.py
EDITD/ElasticSurgery
458571d48541d1ddbbfeb20e04703592e5f869e0
[ "MIT" ]
null
null
null
backend/elasticsurgery/views/__init__.py
EDITD/ElasticSurgery
458571d48541d1ddbbfeb20e04703592e5f869e0
[ "MIT" ]
27
2019-09-25T14:19:44.000Z
2022-02-12T21:39:17.000Z
backend/elasticsurgery/views/__init__.py
EDITD/ElasticSurgery
458571d48541d1ddbbfeb20e04703592e5f869e0
[ "MIT" ]
null
null
null
from flask import jsonify from ..app import app @app.route('/ping', methods=('GET',)) def get_ping(): return jsonify(ping='pong')
15.222222
37
0.671533
20
137
4.55
0.6
0
0
0
0
0
0
0
0
0
0
0
0.153285
137
8
38
17.125
0.784483
0
0
0
0
0
0.087591
0
0
0
0
0
0
1
0.2
true
0
0.4
0.2
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
1
1
0
0
6
6fa6de489d3ecbdc05135c1a882460c438344d63
149
py
Python
tests/node_test.py
allenai/beaker-py
99c8d7f6e9938807ca5405964ef35633a19e8d68
[ "Apache-2.0" ]
null
null
null
tests/node_test.py
allenai/beaker-py
99c8d7f6e9938807ca5405964ef35633a19e8d68
[ "Apache-2.0" ]
20
2021-12-16T13:23:07.000Z
2022-03-31T16:40:02.000Z
tests/node_test.py
allenai/beaker-py
99c8d7f6e9938807ca5405964ef35633a19e8d68
[ "Apache-2.0" ]
null
null
null
from beaker import Beaker def test_node_get(client: Beaker, beaker_node_id: str): assert client.node.get(beaker_node_id).limits.gpu_count == 8
24.833333
64
0.778523
25
149
4.36
0.6
0.12844
0.220183
0
0
0
0
0
0
0
0
0.007692
0.127517
149
5
65
29.8
0.830769
0
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
false
0
0.333333
0
0.666667
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
1
0
0
1
0
1
0
0
6
6fe3cc82a26ac5744b2544116ad6a32d14b35afa
30
py
Python
sigal/plugins/encrypt/__init__.py
fidergo-stephane-gourichon/sigal
b1f2e947700e618425e170e8758b1fbb82c91acb
[ "MIT" ]
null
null
null
sigal/plugins/encrypt/__init__.py
fidergo-stephane-gourichon/sigal
b1f2e947700e618425e170e8758b1fbb82c91acb
[ "MIT" ]
null
null
null
sigal/plugins/encrypt/__init__.py
fidergo-stephane-gourichon/sigal
b1f2e947700e618425e170e8758b1fbb82c91acb
[ "MIT" ]
null
null
null
from .encrypt import register
15
29
0.833333
4
30
6.25
1
0
0
0
0
0
0
0
0
0
0
0
0.133333
30
1
30
30
0.961538
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
6ffae9b25573e5f7348c89e03b62b498cbca2ea9
184
py
Python
reikna/core/__init__.py
ringw/reikna
0f27f86e35a9f06405de2d99580f766a1b504562
[ "MIT" ]
122
2015-05-01T12:42:34.000Z
2021-09-30T22:47:59.000Z
lib/python/reikna-0.7.5/reikna/core/__init__.py
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
42
2015-05-04T16:55:47.000Z
2021-09-18T04:53:34.000Z
lib/python/reikna-0.7.5/reikna/core/__init__.py
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
14
2015-05-01T19:22:52.000Z
2021-09-30T22:48:03.000Z
from reikna.core.signature import Type, Annotation, Parameter, Signature from reikna.core.computation import Computation from reikna.core.transformation import Transformation, Indices
46
72
0.858696
22
184
7.181818
0.5
0.189873
0.265823
0
0
0
0
0
0
0
0
0
0.086957
184
3
73
61.333333
0.940476
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
d230b8b07301d92ab203c4ea79e6dcb73031cdf8
36
py
Python
deepleaps/workspace/src/ipc/CustomCommand.py
Longseabear/deep-leaps-pytorch
abcb87f3079c0612bde4a4f94c75d7c05d5aee3a
[ "MIT" ]
1
2021-02-27T18:00:39.000Z
2021-02-27T18:00:39.000Z
deepleaps/workspace/src/ipc/CustomCommand.py
Longseabear/deep-leaps-pytorch
abcb87f3079c0612bde4a4f94c75d7c05d5aee3a
[ "MIT" ]
null
null
null
deepleaps/workspace/src/ipc/CustomCommand.py
Longseabear/deep-leaps-pytorch
abcb87f3079c0612bde4a4f94c75d7c05d5aee3a
[ "MIT" ]
null
null
null
import deepleaps.ipc.RunningCommand
18
35
0.888889
4
36
8
1
0
0
0
0
0
0
0
0
0
0
0
0.055556
36
1
36
36
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
1
0
0
6
d24ca4e55e2ea29a960fa8ecd6a05a6ef87a0584
8,346
py
Python
network.py
tonyhu20116543/Playing-20-Question-Game-with-Policy-Based-Reinforcement-Learning
fb9b20181dd3e3273fcbc28144d60f01185ceffd
[ "MIT" ]
12
2020-07-24T13:21:35.000Z
2021-11-08T10:13:24.000Z
network.py
tonyhu20116543/Playing-20-Question-Game-with-Policy-Based-Reinforcement-Learning
fb9b20181dd3e3273fcbc28144d60f01185ceffd
[ "MIT" ]
null
null
null
network.py
tonyhu20116543/Playing-20-Question-Game-with-Policy-Based-Reinforcement-Learning
fb9b20181dd3e3273fcbc28144d60f01185ceffd
[ "MIT" ]
7
2020-07-24T13:28:44.000Z
2021-11-08T10:13:25.000Z
import os import tensorflow as tf from util import masked_softmax class PolicyNetwork(object): """ Policy Function approximator. """ def __init__(self, input_size, output_size, learning_rate=0.001, summaries_dir=None, scope="policy_estimator"): with tf.variable_scope(scope): # Writes Tens...
46.88764
122
0.642104
1,071
8,346
4.815126
0.122316
0.045375
0.032577
0.025596
0.858639
0.819469
0.803762
0.785534
0.775645
0.738802
0
0.012276
0.238677
8,346
177
123
47.152542
0.799339
0.072011
0
0.638655
0
0
0.02115
0
0
0
0
0
0
1
0.12605
false
0
0.02521
0
0.235294
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
96359eac01afe317df5fd3c215b39bdd662a534c
14,568
py
Python
test/pdu.py
praekelt/python-smpp
8a0753fc498ab6bcd6243aed5953cddd69cef2c0
[ "BSD-3-Clause" ]
36
2015-01-15T09:38:06.000Z
2021-06-14T15:27:34.000Z
test/pdu.py
komuW/smpp_server
10ef5c2ebc09e2ef88bdd62c55a4280a187d1eb2
[ "BSD-3-Clause" ]
8
2015-02-12T15:52:53.000Z
2017-05-22T12:28:45.000Z
test/pdu.py
komuW/smpp_server
10ef5c2ebc09e2ef88bdd62c55a4280a187d1eb2
[ "BSD-3-Clause" ]
22
2015-04-29T15:06:17.000Z
2021-05-25T11:19:41.000Z
pdu_objects = [ { 'header': { 'command_length': 0, 'command_id': 'bind_transmitter', 'command_status': 'ESME_ROK', 'sequence_number': 0, }, 'body': { 'mandatory_parameters': { 'system_id': 'test_system', ...
28.17795
57
0.376922
1,059
14,568
4.766761
0.106704
0.044374
0.109152
0.114897
0.918582
0.918582
0.901347
0.890254
0.792591
0.792591
0
0.024103
0.48737
14,568
516
58
28.232558
0.651848
0.007757
0
0.617357
0
0
0.363932
0.018484
0
0
0
0
0
1
0
false
0.00789
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
96af8b4a48adf5297e31757c90f73a77f6edf704
101
py
Python
vault_password.py
RMuskovets/empireofcode
a2a9cfe2c43c7f28999b426601063dd0af352db5
[ "Apache-2.0" ]
1
2018-02-20T12:11:45.000Z
2018-02-20T12:11:45.000Z
vault_password.py
RMuskovets/empireofcode
a2a9cfe2c43c7f28999b426601063dd0af352db5
[ "Apache-2.0" ]
null
null
null
vault_password.py
RMuskovets/empireofcode
a2a9cfe2c43c7f28999b426601063dd0af352db5
[ "Apache-2.0" ]
null
null
null
def golf(p): return len(p)>9 and p!=p.lower() and p!=p.upper() and any('0'<=l and l<='9' for l in p)
50.5
100
0.584158
26
101
2.269231
0.538462
0.135593
0.169492
0
0
0
0
0
0
0
0
0.035294
0.158416
101
1
101
101
0.658824
0
0
0
0
0
0.019802
0
0
0
0
0
0
1
1
false
0
0
1
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
73d14617d94420a3d56d21a483a4a8f9476f65c1
170
py
Python
notebooks/container/__init__.py
DanieleBaranzini/sktime-tutorial-pydata-amsterdam-2020
eb9d76a8dc7fff29e4123b940200d58eed87147c
[ "BSD-3-Clause" ]
114
2020-06-16T09:29:30.000Z
2022-03-12T09:06:52.000Z
notebooks/container/__init__.py
DanieleBaranzini/sktime-tutorial-pydata-amsterdam-2020
eb9d76a8dc7fff29e4123b940200d58eed87147c
[ "BSD-3-Clause" ]
5
2020-11-06T13:02:26.000Z
2021-06-10T18:34:37.000Z
notebooks/container/__init__.py
DanieleBaranzini/sktime-tutorial-pydata-amsterdam-2020
eb9d76a8dc7fff29e4123b940200d58eed87147c
[ "BSD-3-Clause" ]
62
2020-06-16T09:25:05.000Z
2022-03-01T21:02:10.000Z
from container.base import TimeBase from container.array import TimeArray, TimeDtype from container.timeseries import TimeSeries from container.timeframe import TimeFrame
42.5
48
0.876471
21
170
7.095238
0.47619
0.348993
0
0
0
0
0
0
0
0
0
0
0.094118
170
4
49
42.5
0.967532
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
fb52ea45a86609e7040cf2f5adb9df43b0bf1496
265
py
Python
todo/main.py
shuayb/simple-todo
7a6c840d38ada098b5cc3458d652c7db02ffd791
[ "MIT" ]
null
null
null
todo/main.py
shuayb/simple-todo
7a6c840d38ada098b5cc3458d652c7db02ffd791
[ "MIT" ]
null
null
null
todo/main.py
shuayb/simple-todo
7a6c840d38ada098b5cc3458d652c7db02ffd791
[ "MIT" ]
null
null
null
from app import app, db import models import views if __name__ == '__main__': app.run() # No need to do (debug=True), as in config.py, debug = true is already set. # app.run(debug=True) # app.run(debug=True, use_debugger=False, use_reloader=False)
26.5
79
0.683019
43
265
3.976744
0.627907
0.210526
0.128655
0.175439
0
0
0
0
0
0
0
0
0.196226
265
9
80
29.444444
0.802817
0.577358
0
0
0
0
0.074074
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
0
0
0
null
1
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
0
1
0
1
0
1
0
0
6
fb6262762a9edf203b455a0bed2e167c184ce590
1,947
py
Python
Twitter Data Extraction.py
scottblender/twitter-covid-19-vaccine-analysis
a4d273b8b885fc33db075dfc910fa39645fa3789
[ "MIT" ]
null
null
null
Twitter Data Extraction.py
scottblender/twitter-covid-19-vaccine-analysis
a4d273b8b885fc33db075dfc910fa39645fa3789
[ "MIT" ]
null
null
null
Twitter Data Extraction.py
scottblender/twitter-covid-19-vaccine-analysis
a4d273b8b885fc33db075dfc910fa39645fa3789
[ "MIT" ]
null
null
null
import snscrape.modules.twitter as sntwitter import pandas as pd # Creating list to append tweet data to tweets_list2 = [] # Using TwitterSearchScraper to scrape data and append tweets to list for i,tweet in enumerate(sntwitter.TwitterSearchScraper('covid vaccine until:2021-05-24').get_items()): if i>100000: ...
69.535714
320
0.757062
260
1,947
5.615385
0.292308
0.086301
0.019178
0.027397
0.923288
0.923288
0.923288
0.923288
0.923288
0.923288
0
0.021965
0.111454
1,947
27
321
72.111111
0.821965
0.157678
0
0.5
0
0
0.240661
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
fb7dc85f21a97ece3e0b036a3c4e6d6962f9001a
49
py
Python
netvisor_api_client/schemas/sales_payments/__init__.py
kiuru/netvisor-api-client
2af3e4ca400497ace5a86d0a1807ec3b9c530cf4
[ "MIT" ]
5
2019-04-17T08:10:47.000Z
2021-11-27T12:26:15.000Z
netvisor_api_client/schemas/sales_payments/__init__.py
kiuru/netvisor-api-client
2af3e4ca400497ace5a86d0a1807ec3b9c530cf4
[ "MIT" ]
7
2019-06-25T17:02:50.000Z
2021-07-21T10:14:38.000Z
netvisor_api_client/schemas/sales_payments/__init__.py
kiuru/netvisor-api-client
2af3e4ca400497ace5a86d0a1807ec3b9c530cf4
[ "MIT" ]
10
2019-06-25T15:37:33.000Z
2021-10-16T19:40:37.000Z
from .list import SalesPaymentListSchema # noqa
24.5
48
0.816327
5
49
8
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
49
1
49
49
0.952381
0.081633
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
fb8b63ad2ffbee810610ac48848eca279fdeb691
47
py
Python
primeiro programa/primeiro_programa.py
Cesario115/Ola-mundo
2949ff2c9dc1b5f8bc70825072751b19920019af
[ "MIT" ]
null
null
null
primeiro programa/primeiro_programa.py
Cesario115/Ola-mundo
2949ff2c9dc1b5f8bc70825072751b19920019af
[ "MIT" ]
null
null
null
primeiro programa/primeiro_programa.py
Cesario115/Ola-mundo
2949ff2c9dc1b5f8bc70825072751b19920019af
[ "MIT" ]
null
null
null
print('='*50) print("Olá mundo!") print('='*50)
15.666667
19
0.574468
7
47
3.857143
0.571429
0.518519
0
0
0
0
0
0
0
0
0
0.090909
0.06383
47
3
20
15.666667
0.522727
0
0
0.666667
0
0
0.25
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
838511c8e3372a6ae2d5fbb109dbbc9156779d54
171
py
Python
stdlib/getpass_qs.py
bpuderer/python-snippets27
8d51ff34c48bee1247575536d8ed506eafde8631
[ "MIT" ]
3
2015-11-20T14:30:53.000Z
2015-12-19T05:55:19.000Z
stdlib/getpass_qs.py
bpuderer/python-snippets27
8d51ff34c48bee1247575536d8ed506eafde8631
[ "MIT" ]
null
null
null
stdlib/getpass_qs.py
bpuderer/python-snippets27
8d51ff34c48bee1247575536d8ed506eafde8631
[ "MIT" ]
1
2016-01-05T20:54:49.000Z
2016-01-05T20:54:49.000Z
import getpass # prompt user without echoing output print getpass.getpass() print getpass.getpass(prompt="Custom Prompt:") print "user login name:", getpass.getuser()
17.1
46
0.766082
22
171
5.954545
0.545455
0.198473
0.290076
0
0
0
0
0
0
0
0
0
0.128655
171
9
47
19
0.879195
0.19883
0
0
0
0
0.222222
0
0
0
0
0
0
0
null
null
1
0.25
null
null
0.75
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
1
0
0
1
0
0
0
1
0
6
f7d56596394f7bfd79f8b0a1466fae7aaa135fac
2,104
py
Python
test/torch/mpc/test_fss.py
NicoSerranoP/PySyft
87fcd566c46fce4c16d363c94396dd26bd82a016
[ "Apache-2.0" ]
3
2020-11-24T05:15:57.000Z
2020-12-07T09:52:45.000Z
test/torch/mpc/test_fss.py
NicoSerranoP/PySyft
87fcd566c46fce4c16d363c94396dd26bd82a016
[ "Apache-2.0" ]
1
2020-09-29T00:24:31.000Z
2020-09-29T00:24:31.000Z
test/torch/mpc/test_fss.py
NicoSerranoP/PySyft
87fcd566c46fce4c16d363c94396dd26bd82a016
[ "Apache-2.0" ]
1
2021-09-04T16:27:41.000Z
2021-09-04T16:27:41.000Z
import pytest import torch as th from syft.frameworks.torch.mpc.fss import DPF, DIF, n @pytest.mark.parametrize("op", ["eq", "le"]) def test_fss_class(op): class_ = {"eq": DPF, "le": DIF}[op] th_op = {"eq": th.eq, "le": th.le}[op] gather_op = {"eq": "__add__", "le": "__xor__"}[op] # single value ...
32.875
70
0.551331
369
2,104
2.96748
0.157182
0.076712
0.03653
0.076712
0.827397
0.80274
0.712329
0.712329
0.712329
0.712329
0
0.082822
0.225285
2,104
63
71
33.396825
0.588957
0.019962
0
0.636364
0
0
0.015557
0
0
0
0
0
0.090909
1
0.022727
false
0
0.068182
0
0.090909
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
790a31602a2e6231958a1ed23fbe61a5ef5fd6fa
23
py
Python
examples/ndfd/ndfd.py
eLBati/pyxb
14737c23a125fd12c954823ad64fc4497816fae3
[ "Apache-2.0" ]
123
2015-01-12T06:43:22.000Z
2022-03-20T18:06:46.000Z
examples/ndfd/ndfd.py
eLBati/pyxb
14737c23a125fd12c954823ad64fc4497816fae3
[ "Apache-2.0" ]
103
2015-01-08T18:35:57.000Z
2022-01-18T01:44:14.000Z
examples/ndfd/ndfd.py
eLBati/pyxb
14737c23a125fd12c954823ad64fc4497816fae3
[ "Apache-2.0" ]
54
2015-02-15T17:12:00.000Z
2022-03-07T23:02:32.000Z
from raw.ndfd import *
11.5
22
0.73913
4
23
4.25
1
0
0
0
0
0
0
0
0
0
0
0
0.173913
23
1
23
23
0.894737
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
790a4f9b1ca5315576470030e7218150601d0818
56
py
Python
pandoc_mustache/__init__.py
copart/pandoc-mustache
f6ace29cd0c8d6b4d8f182eedcf36ad38a2412fa
[ "CC0-1.0" ]
43
2017-12-27T05:57:00.000Z
2022-03-18T10:07:28.000Z
pandoc_mustache/__init__.py
copart/pandoc-mustache
f6ace29cd0c8d6b4d8f182eedcf36ad38a2412fa
[ "CC0-1.0" ]
10
2018-02-07T11:20:37.000Z
2021-04-22T21:44:19.000Z
pandoc_mustache/__init__.py
copart/pandoc-mustache
f6ace29cd0c8d6b4d8f182eedcf36ad38a2412fa
[ "CC0-1.0" ]
8
2018-11-05T13:10:35.000Z
2021-08-30T18:14:02.000Z
from .version import __version__ import pandoc_mustache
18.666667
32
0.875
7
56
6.285714
0.714286
0.590909
0
0
0
0
0
0
0
0
0
0
0.107143
56
2
33
28
0.88
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
7911efa6a596e02ff81a8a1e7aa08e6a17b34751
721
py
Python
tests/validation/test_is_subnational1.py
StuartMacKay/ebird-api
14b5c777548416a58abec05e25cd4b9a8e22f210
[ "MIT" ]
9
2020-05-16T20:26:33.000Z
2021-11-02T06:24:46.000Z
tests/validation/test_is_subnational1.py
StuartMacKay/ebird-api
14b5c777548416a58abec05e25cd4b9a8e22f210
[ "MIT" ]
17
2019-06-22T09:41:22.000Z
2020-09-11T06:25:21.000Z
tests/validation/test_is_subnational1.py
ProjectBabbler/ebird-api
14b5c777548416a58abec05e25cd4b9a8e22f210
[ "MIT" ]
null
null
null
import unittest from ebird.api.validation import is_subnational1 class IsSubnational1Tests(unittest.TestCase): """Tests for the is_subnational1 validation function.""" def test_is_subnational1(self): self.assertTrue(is_subnational1("US-NV")) def test_invalid_code_is_not_subnational1(self): ...
30.041667
60
0.744799
87
721
5.862069
0.356322
0.247059
0.196078
0.284314
0.488235
0.488235
0.488235
0.4
0.203922
0
0
0.03437
0.152566
721
23
61
31.347826
0.800327
0.069348
0
0
0
0
0.040602
0
0
0
0
0
0.428571
1
0.357143
false
0
0.142857
0
0.571429
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
1
0
0
6
f70e1eec634ed0c89cd786687c6b726187e816d5
11,426
py
Python
src/train.py
Gordonbuck/ml-oov-we
ce28cd8b556a16125ba36cd41781a3e60bb26422
[ "MIT" ]
null
null
null
src/train.py
Gordonbuck/ml-oov-we
ce28cd8b556a16125ba36cd41781a3e60bb26422
[ "MIT" ]
null
null
null
src/train.py
Gordonbuck/ml-oov-we
ce28cd8b556a16125ba36cd41781a3e60bb26422
[ "MIT" ]
null
null
null
import higher from leap import Leap import numpy as np import os import torch import torch.nn as nn import gc def train(model, source_corpus, char2idx, args, device): model = model.to(device) optimizer = torch.optim.Adam(model.parameters(), lr=args.lr_init) lr_scheduler = torch.optim.lr_scheduler.ReduceLR...
52.412844
120
0.591896
1,304
11,426
4.858129
0.092025
0.041673
0.032833
0.026519
0.86614
0.85588
0.830781
0.816575
0.781847
0.735754
0
0.002718
0.323823
11,426
217
121
52.654378
0.81724
0
0
0.668508
0
0
0.032295
0
0
0
0
0
0
1
0.016575
false
0
0.038674
0
0.055249
0.038674
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
f72ddd7241194452b55a3968e1f8f4807cdc48eb
1,166
py
Python
pact/test/test_constants.py
dwang7/pact-python
da03551e812508652e062fc4ba6071f1119e5bf2
[ "MIT" ]
null
null
null
pact/test/test_constants.py
dwang7/pact-python
da03551e812508652e062fc4ba6071f1119e5bf2
[ "MIT" ]
null
null
null
pact/test/test_constants.py
dwang7/pact-python
da03551e812508652e062fc4ba6071f1119e5bf2
[ "MIT" ]
null
null
null
from unittest import TestCase from mock import patch from .. import constants class mock_service_exeTestCase(TestCase): def setUp(self): super(mock_service_exeTestCase, self).setUp() self.addCleanup(patch.stopall) self.mock_os = patch.object(constants, 'os', autospec=True).start() d...
30.684211
79
0.679245
141
1,166
5.432624
0.234043
0.086162
0.078329
0.073107
0.825065
0.825065
0.731071
0.731071
0.731071
0.553525
0
0
0.202401
1,166
37
80
31.513514
0.823656
0
0
0.592593
0
0
0.089194
0.059177
0
0
0
0
0.148148
1
0.222222
false
0
0.111111
0
0.407407
0
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
1
0
0
0
0
0
0
0
6
f740e9188e23989d7d8cb429eceb0134b86a65bd
194
py
Python
hallucinate/api.py
SySS-Research/hallucinate
f6dbeea0599e232707e6cf27c3fe592edba92f6f
[ "MIT" ]
199
2021-07-27T13:47:14.000Z
2022-03-05T09:18:56.000Z
hallucinate/api.py
avineshwar/hallucinate
f6dbeea0599e232707e6cf27c3fe592edba92f6f
[ "MIT" ]
1
2021-12-08T19:32:29.000Z
2021-12-08T19:32:29.000Z
hallucinate/api.py
avineshwar/hallucinate
f6dbeea0599e232707e6cf27c3fe592edba92f6f
[ "MIT" ]
13
2021-07-27T18:55:03.000Z
2021-08-09T06:15:35.000Z
class BaseHandler: def send(self, data, p): pass def recv(self, data, p): pass def shutdown(self, p, direction=2): pass def close(self): pass
13.857143
39
0.525773
25
194
4.08
0.52
0.205882
0.176471
0.254902
0.313725
0
0
0
0
0
0
0.008197
0.371134
194
13
40
14.923077
0.827869
0
0
0.444444
0
0
0
0
0
0
0
0
0
1
0.444444
false
0.444444
0
0
0.555556
0
1
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
6
f783069506127a9b55df9ae0fb7a072477dcbc3b
32
py
Python
tests/unit/cli/test_repo.py
tehlingchu/anchore-cli
b0df36337f443749991a49263227c1d40989debb
[ "Apache-2.0" ]
110
2017-09-14T02:15:15.000Z
2022-03-30T20:14:21.000Z
tests/unit/cli/test_repo.py
tehlingchu/anchore-cli
b0df36337f443749991a49263227c1d40989debb
[ "Apache-2.0" ]
115
2017-09-22T12:15:30.000Z
2022-01-17T12:31:21.000Z
tests/unit/cli/test_repo.py
tehlingchu/anchore-cli
b0df36337f443749991a49263227c1d40989debb
[ "Apache-2.0" ]
56
2017-09-22T11:26:25.000Z
2022-03-03T14:14:58.000Z
from anchorecli.cli import repo
16
31
0.84375
5
32
5.4
1
0
0
0
0
0
0
0
0
0
0
0
0.125
32
1
32
32
0.964286
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
5421bfc32b86a8ee54dfb925ef8eac6e4d16b3b0
212
py
Python
pycache/__init__.py
HuiiBuh/pycache
300bd51f9e575fd77014d6c86497dd58f313f752
[ "MIT" ]
1
2021-09-04T05:34:26.000Z
2021-09-04T05:34:26.000Z
pycache/__init__.py
HuiiBuh/pycache
300bd51f9e575fd77014d6c86497dd58f313f752
[ "MIT" ]
1
2021-03-14T19:26:01.000Z
2021-03-16T18:46:38.000Z
pycache/__init__.py
HuiiBuh/pycache
300bd51f9e575fd77014d6c86497dd58f313f752
[ "MIT" ]
null
null
null
__version__ = '0.3.2' # noinspection PyUnresolvedReferences from ._cache._cache import cache # noinspection PyUnresolvedReferences from ._scheduler._scheduler import add_schedule, schedule, ScheduleSubscription
30.285714
79
0.84434
21
212
8.095238
0.619048
0.4
0.447059
0
0
0
0
0
0
0
0
0.015625
0.09434
212
6
80
35.333333
0.869792
0.334906
0
0
0
0
0.036232
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
583a1302a3f7562a97c1476d70bc500c24d60c4f
174
py
Python
glanceclient/common/exceptions.py
citrix-openstack-build/python-glanceclient
32d9c42816b608220ae5692e573142dab6534604
[ "Apache-2.0" ]
1
2019-09-11T11:56:19.000Z
2019-09-11T11:56:19.000Z
tools/dockerize/webportal/usr/lib/python2.7/site-packages/glanceclient/common/exceptions.py
foruy/openflow-multiopenstack
74140b041ac25ed83898ff3998e8dcbed35572bb
[ "Apache-2.0" ]
null
null
null
tools/dockerize/webportal/usr/lib/python2.7/site-packages/glanceclient/common/exceptions.py
foruy/openflow-multiopenstack
74140b041ac25ed83898ff3998e8dcbed35572bb
[ "Apache-2.0" ]
null
null
null
# This is here for compatability purposes. Once all known OpenStack clients # are updated to use glanceclient.exc, this file should be removed from glanceclient.exc import *
43.5
75
0.804598
26
174
5.384615
0.884615
0.214286
0
0
0
0
0
0
0
0
0
0
0.155172
174
3
76
58
0.952381
0.793103
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
587f22d6d391706fced03d26fcfcf342a5722cf3
1,394
py
Python
deepmedic_config.py
farrokhkarimi/deepmedic_project
b0c916171673ce3259d2458146f2db941f0bf270
[ "MIT" ]
2
2021-07-15T18:40:18.000Z
2021-08-03T17:10:12.000Z
deepmedic_config.py
farrokhkarimi/deepmedic_project
b0c916171673ce3259d2458146f2db941f0bf270
[ "MIT" ]
null
null
null
deepmedic_config.py
farrokhkarimi/deepmedic_project
b0c916171673ce3259d2458146f2db941f0bf270
[ "MIT" ]
1
2022-01-17T12:11:51.000Z
2022-01-17T12:11:51.000Z
import os def deepmedic_config(config_files_path, niftis_path, test_flair_file_name, test_t1c_file_name, mask, prediction_file_name, output_path): with open(os.path.join(config_files_path, 'model', 'modelConfig.cfg'), 'r') as f: lines = f.readlines() lines[8] = 'folderForOutput = "%s"\n'...
48.068966
137
0.636298
199
1,394
4.236181
0.190955
0.078292
0.130486
0.132859
0.827995
0.827995
0.774614
0.774614
0.774614
0.730724
0
0.00457
0.215208
1,394
29
138
48.068966
0.765996
0
0
0.3
0
0
0.169715
0.035113
0
0
0
0
0
1
0.05
false
0
0.05
0
0.1
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
5439f19ce894429f825edd092b433b960bae49d4
9,411
py
Python
src/peering/azext_peering/custom.py
michimune/azure-cli-extensions
697e2c674e5c0825d44c72d714542fe01331e107
[ "MIT" ]
1
2022-03-22T15:02:32.000Z
2022-03-22T15:02:32.000Z
src/peering/azext_peering/custom.py
michimune/azure-cli-extensions
697e2c674e5c0825d44c72d714542fe01331e107
[ "MIT" ]
1
2021-02-10T22:04:59.000Z
2021-02-10T22:04:59.000Z
src/peering/azext_peering/custom.py
michimune/azure-cli-extensions
697e2c674e5c0825d44c72d714542fe01331e107
[ "MIT" ]
1
2021-06-03T19:31:10.000Z
2021-06-03T19:31:10.000Z
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
42.013393
154
0.604824
1,011
9,411
5.317507
0.086053
0.106399
0.063244
0.065104
0.837798
0.806734
0.763021
0.737723
0.705357
0.68657
0
0
0.294974
9,411
223
155
42.201794
0.810249
0.094889
0
0.596491
0
0
0.030918
0.005664
0
0
0
0
0
1
0.116959
false
0
0.005848
0.070175
0.251462
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
543c4f51f177e890cbcf4f4101beb26f2ee15486
81
py
Python
tests/integration/testdata/buildcmd/PyLayerMake/layer.py
renanmontebelo/aws-sam-cli
b5cfc46aa9726b5cd006df8ecc08d1b4eedeb9ea
[ "BSD-2-Clause", "Apache-2.0" ]
2,959
2018-05-08T21:48:56.000Z
2020-08-24T14:35:39.000Z
tests/integration/testdata/buildcmd/PyLayerMake/layer.py
renanmontebelo/aws-sam-cli
b5cfc46aa9726b5cd006df8ecc08d1b4eedeb9ea
[ "BSD-2-Clause", "Apache-2.0" ]
1,469
2018-05-08T22:44:28.000Z
2020-08-24T20:19:24.000Z
tests/integration/testdata/buildcmd/PyLayerMake/layer.py
renanmontebelo/aws-sam-cli
b5cfc46aa9726b5cd006df8ecc08d1b4eedeb9ea
[ "BSD-2-Clause", "Apache-2.0" ]
642
2018-05-08T22:09:19.000Z
2020-08-17T09:04:37.000Z
import numpy def layer_method(): return {"pi": "{0:.2f}".format(numpy.pi)}
13.5
45
0.617284
12
81
4.083333
0.833333
0
0
0
0
0
0
0
0
0
0
0.029412
0.160494
81
5
46
16.2
0.691176
0
0
0
0
0
0.111111
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
0
0
0
6
54562608a59ce9476a71d70e032f5d5bf8f6d75b
138
py
Python
datx/base_station.py
ipipdotnet/datx-python
68d6e99363abc6ae48714be38aa90a5ae6e20fd4
[ "Apache-2.0" ]
39
2018-03-13T02:48:36.000Z
2021-03-18T07:51:54.000Z
datx/base_station.py
ipipdotnet/datx-python
68d6e99363abc6ae48714be38aa90a5ae6e20fd4
[ "Apache-2.0" ]
1
2018-11-06T08:30:31.000Z
2018-11-06T08:30:31.000Z
datx/base_station.py
ipipdotnet/datx-python
68d6e99363abc6ae48714be38aa90a5ae6e20fd4
[ "Apache-2.0" ]
10
2018-04-28T02:07:08.000Z
2020-11-09T04:26:47.000Z
# -*- coding: utf-8 -*- """ :copyright: ©2018 by IPIP.net """ from .district import District class BaseStation(District): pass
15.333333
33
0.623188
17
138
5.117647
0.882353
0
0
0
0
0
0
0
0
0
0
0.045872
0.210145
138
9
34
15.333333
0.743119
0.376812
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
5468c394ce1fe6e2cc2dd6fce2fd7d4c6e567c44
3,494
py
Python
bem/teq_planet.py
DanielAndreasen/bem
c4cca79322f08b5e9a3f3d39749c11d9f6296aae
[ "MIT" ]
null
null
null
bem/teq_planet.py
DanielAndreasen/bem
c4cca79322f08b5e9a3f3d39749c11d9f6296aae
[ "MIT" ]
null
null
null
bem/teq_planet.py
DanielAndreasen/bem
c4cca79322f08b5e9a3f3d39749c11d9f6296aae
[ "MIT" ]
null
null
null
import numpy as np from uncertainties import umath as um def getTeqpl(Teffst, aR, ecc, A=0, f=1/4.): """Return the planet equilibrium temperature. Relation adapted from equation 4 page 4 in http://www.mpia.de/homes/ppvi/chapter/madhusudhan.pdf and https://en.wikipedia.org/wiki/Stefan%E2%80%93Boltzmann_law...
48.527778
100
0.660561
529
3,494
4.349716
0.334594
0.030422
0.060843
0.066058
0.767492
0.762277
0.754455
0.754455
0.754455
0.739678
0
0.06338
0.227819
3,494
71
101
49.211268
0.789474
0.763022
0
0
0
0
0
0
0
0
0
0
0
1
0.307692
false
0
0.153846
0.076923
0.769231
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
6
5480e17b073b3d2de7a418823c0645c307bf4d95
183
py
Python
reward/utils/device.py
lgvaz/torchrl
cfff8acaf70d1fec72169162b95ab5ad3547d17a
[ "MIT" ]
5
2018-06-21T14:33:40.000Z
2018-08-18T02:26:03.000Z
reward/utils/device.py
lgvaz/reward
cfff8acaf70d1fec72169162b95ab5ad3547d17a
[ "MIT" ]
null
null
null
reward/utils/device.py
lgvaz/reward
cfff8acaf70d1fec72169162b95ab5ad3547d17a
[ "MIT" ]
2
2018-05-08T03:34:49.000Z
2018-06-22T15:04:17.000Z
import torch CONFIG = {"device": torch.device("cuda" if torch.cuda.is_available() else "cpu")} def get(): return CONFIG["device"] def set_device(device): CONFIG["device"] = device
22.875
81
0.704918
26
183
4.884615
0.538462
0.283465
0
0
0
0
0
0
0
0
0
0
0.120219
183
7
82
26.142857
0.78882
0
0
0
0
0
0.136612
0
0
0
0
0
0
1
0.5
false
0
0.25
0.25
0.75
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
54b976c7100ab785c654b0c7ca7597f8b6235530
2,979
py
Python
tests/integration/test_labels.py
spmistry/crux-python
15a6b705d1eec7e789f6f62819429f93e02349c1
[ "MIT" ]
null
null
null
tests/integration/test_labels.py
spmistry/crux-python
15a6b705d1eec7e789f6f62819429f93e02349c1
[ "MIT" ]
null
null
null
tests/integration/test_labels.py
spmistry/crux-python
15a6b705d1eec7e789f6f62819429f93e02349c1
[ "MIT" ]
null
null
null
import pytest @pytest.mark.usefixtures("dataset", "helpers") def test_add_get_label(dataset, helpers): file_1 = dataset.create_file( path="/test_file_" + helpers.generate_random_string(16) + ".csv" ) label_result = file_1.add_label("label1", "value1") assert label_result is True assert fil...
35.891566
94
0.700906
401
2,979
4.902743
0.164589
0.033062
0.069176
0.085453
0.865209
0.865209
0.801628
0.703459
0.600712
0.600712
0
0.031199
0.171534
2,979
82
95
36.329268
0.765397
0.061094
0
0.453125
1
0
0.130995
0
0
0
0
0
0.1875
1
0.078125
false
0
0.015625
0
0.09375
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
49b5f0ea075bbb7b79a2d40b2e4b0bdffec0743f
12,388
py
Python
weasyl/test/web/test_site_updates.py
sl1-1/weasyl
d4f6bf3e33b85a2289a451d95d5b90ff24f5d539
[ "Apache-2.0" ]
1
2019-02-15T04:21:48.000Z
2019-02-15T04:21:48.000Z
weasyl/test/web/test_site_updates.py
sl1-1/weasyl
d4f6bf3e33b85a2289a451d95d5b90ff24f5d539
[ "Apache-2.0" ]
254
2017-12-23T19:36:43.000Z
2020-04-14T21:46:13.000Z
weasyl/test/web/test_site_updates.py
sl1-1/weasyl
d4f6bf3e33b85a2289a451d95d5b90ff24f5d539
[ "Apache-2.0" ]
1
2017-12-23T18:42:16.000Z
2017-12-23T18:42:16.000Z
from __future__ import absolute_import, unicode_literals import pytest from libweasyl import staff from libweasyl.legacy import UNIXTIME_OFFSET from weasyl import errorcode from weasyl import siteupdate from weasyl.define import sessionmaker from weasyl.test import db_utils _FORM = { u'title': u'Title', u'c...
39.705128
144
0.690265
1,609
12,388
5.168428
0.085146
0.055556
0.056277
0.075758
0.863035
0.846922
0.823954
0.798581
0.766114
0.757937
0
0.005712
0.137875
12,388
311
145
39.832797
0.77294
0
0
0.61674
0
0
0.173636
0.042945
0
0
0
0
0.207048
1
0.088106
false
0
0.035242
0
0.127753
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
49c8b96abc3f198aa66587406ab8b7e9c78fd259
31
py
Python
lemkelcp/__init__.py
pritam-dey3/lemkelcp
4d963a6d0e6ba531496f5b0e99a52c0d288e4a6e
[ "MIT" ]
10
2019-03-17T19:37:25.000Z
2022-01-02T04:29:05.000Z
lemkelcp/__init__.py
pritam-dey3/lemkelcp
4d963a6d0e6ba531496f5b0e99a52c0d288e4a6e
[ "MIT" ]
1
2019-09-25T09:32:49.000Z
2021-12-28T05:05:55.000Z
lemkelcp/__init__.py
pritam-dey3/lemkelcp
4d963a6d0e6ba531496f5b0e99a52c0d288e4a6e
[ "MIT" ]
4
2019-02-24T11:49:10.000Z
2020-06-06T14:07:11.000Z
from .lemkelcp import lemkelcp
15.5
30
0.83871
4
31
6.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.129032
31
1
31
31
0.962963
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b71f0ad71dba6e7fc8ad5d041a1cde7948bbc25f
117
py
Python
contacts/views/contact_views.py
Onlynfk/Freshdesk-CRM-Platform
67137af09f7daf6fa2d19a9e70d573548137c9db
[ "MIT" ]
null
null
null
contacts/views/contact_views.py
Onlynfk/Freshdesk-CRM-Platform
67137af09f7daf6fa2d19a9e70d573548137c9db
[ "MIT" ]
null
null
null
contacts/views/contact_views.py
Onlynfk/Freshdesk-CRM-Platform
67137af09f7daf6fa2d19a9e70d573548137c9db
[ "MIT" ]
null
null
null
from django.shortcuts import render def contact(request): return render(request, 'contacts/contact.html')
19.5
52
0.735043
14
117
6.142857
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.17094
117
5
53
23.4
0.886598
0
0
0
0
0
0.1875
0.1875
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
b771d6a65389f019399e4105e7ca9559208f9b9c
271
py
Python
pycon_project/apps/proposals/admin.py
mitsuhiko/pycon
73688a82080539a1c0d575cf3248f55fefb6b9ba
[ "BSD-3-Clause" ]
1
2017-09-04T08:19:08.000Z
2017-09-04T08:19:08.000Z
pycon_project/apps/proposals/admin.py
mitsuhiko/pycon
73688a82080539a1c0d575cf3248f55fefb6b9ba
[ "BSD-3-Clause" ]
null
null
null
pycon_project/apps/proposals/admin.py
mitsuhiko/pycon
73688a82080539a1c0d575cf3248f55fefb6b9ba
[ "BSD-3-Clause" ]
null
null
null
from django.contrib import admin from proposals.models import Proposal, ProposalSessionType admin.site.register(ProposalSessionType) admin.site.register(Proposal, list_display = ["title", "session_type", "audience_level", "cancelled", "extreme_pycon", "invited"] )
30.111111
103
0.785978
30
271
6.966667
0.733333
0.229665
0.267943
0.344498
0
0
0
0
0
0
0
0
0.095941
271
9
104
30.111111
0.853061
0
0
0
0
0
0.220588
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
b7a7213417448a10f646593e2af28f99d94c2f47
3,144
py
Python
paper_plots/small_vs_large_box.py
finn-dodgson/DeepHalos
86e0ac6c24ac97a0a2a0a60a7ea3721a04bd050c
[ "MIT" ]
null
null
null
paper_plots/small_vs_large_box.py
finn-dodgson/DeepHalos
86e0ac6c24ac97a0a2a0a60a7ea3721a04bd050c
[ "MIT" ]
null
null
null
paper_plots/small_vs_large_box.py
finn-dodgson/DeepHalos
86e0ac6c24ac97a0a2a0a60a7ea3721a04bd050c
[ "MIT" ]
null
null
null
import numpy as np from plots import plots_for_predictions as pp from utilss import distinct_colours as dc import matplotlib.pyplot as plt c = dc.get_distinct(4) path = '/Users/luisals/Documents/deep_halos_files/mass_range_13.4/random_20sims_200k/lr5e-5/' p1 = np.load(path + "seed_20/predicted_sim_6_epoch_09.npy") t1...
60.461538
126
0.699746
501
3,144
4.105788
0.227545
0.04667
0.043753
0.075839
0.85367
0.797278
0.783666
0.725328
0.725328
0.659212
0
0.050558
0.144402
3,144
51
127
61.647059
0.714126
0.019084
0
0.333333
0
0.027778
0.422078
0.352922
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b7ebf597cf4af041d284ceb92dfc3840fcf8cea7
146
py
Python
annuaire/commands/__init__.py
djacomy/layer-annuaire
b0312534e31dd98d98568a83918cf7dd583aa4c7
[ "MIT" ]
null
null
null
annuaire/commands/__init__.py
djacomy/layer-annuaire
b0312534e31dd98d98568a83918cf7dd583aa4c7
[ "MIT" ]
null
null
null
annuaire/commands/__init__.py
djacomy/layer-annuaire
b0312534e31dd98d98568a83918cf7dd583aa4c7
[ "MIT" ]
null
null
null
"""Package groups the different commands modules.""" from annuaire.commands import download, import_lawyers __all__ = [download, import_lawyers]
29.2
54
0.80137
17
146
6.529412
0.705882
0.252252
0.378378
0
0
0
0
0
0
0
0
0
0.109589
146
4
55
36.5
0.853846
0.315068
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
4d0941aea75adaa006d884337e5c4d550547f131
6,030
py
Python
updates.py
knowledgetechnologyuhh/hipss
518bf3e6a4d02e234cbe29506b9afda0a6ccb187
[ "MIT" ]
null
null
null
updates.py
knowledgetechnologyuhh/hipss
518bf3e6a4d02e234cbe29506b9afda0a6ccb187
[ "MIT" ]
null
null
null
updates.py
knowledgetechnologyuhh/hipss
518bf3e6a4d02e234cbe29506b9afda0a6ccb187
[ "MIT" ]
null
null
null
import torch import numpy as np import torch.nn.functional as F from torch.nn.utils.clip_grad import clip_grad_norm_ from mpi_utils.mpi_utils import sync_grads def update_entropy(alpha, log_alpha, target_entropy, log_pi, alpha_optim, cfg): if cfg.automatic_entropy_tuning: alpha_loss = -(log_alpha * (log_p...
42.167832
119
0.703814
852
6,030
4.579812
0.105634
0.056381
0.050231
0.051256
0.844951
0.839313
0.835725
0.835725
0.804459
0.784982
0
0.005575
0.196849
6,030
142
120
42.464789
0.800124
0.024046
0
0.654206
0
0
0.007148
0
0
0
0
0
0
1
0.028037
false
0
0.046729
0
0.102804
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
4d240f3eb85f0adcecd00489cbe4d3ad31ec57c5
27
py
Python
test.py
justin-th/linux-pasword-protect
feba8712d5bc25c417cb7297aac9c0d23566378e
[ "MIT" ]
null
null
null
test.py
justin-th/linux-pasword-protect
feba8712d5bc25c417cb7297aac9c0d23566378e
[ "MIT" ]
null
null
null
test.py
justin-th/linux-pasword-protect
feba8712d5bc25c417cb7297aac9c0d23566378e
[ "MIT" ]
null
null
null
import os print(os.curdir)
9
16
0.777778
5
27
4.2
0.8
0
0
0
0
0
0
0
0
0
0
0
0.111111
27
3
16
9
0.875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
6
4d50bed8c76e8e60cc01b8081cea63dca711f207
805
py
Python
test/test_vlan_group.py
nrfta/python-netbox-client
68ba6dd4d7306513dc1ad38f3ac59122ba4f70a8
[ "MIT" ]
null
null
null
test/test_vlan_group.py
nrfta/python-netbox-client
68ba6dd4d7306513dc1ad38f3ac59122ba4f70a8
[ "MIT" ]
null
null
null
test/test_vlan_group.py
nrfta/python-netbox-client
68ba6dd4d7306513dc1ad38f3ac59122ba4f70a8
[ "MIT" ]
null
null
null
# coding: utf-8 """ NetBox API API to access NetBox # noqa: E501 OpenAPI spec version: 2.8 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import netbox_client from netbox_client.models.vlan_group import VLANGroup ...
19.634146
79
0.680745
97
805
5.453608
0.57732
0.090737
0.060491
0.083176
0.102079
0
0
0
0
0
0
0.019355
0.229814
805
40
80
20.125
0.833871
0.423602
0
0.214286
1
0
0.018957
0
0
0
0
0.025
0
1
0.214286
false
0.214286
0.357143
0
0.642857
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
1
0
0
1
0
1
1
0
1
0
0
6
4d656673d216ce0be4fe64d21204d4348b38598e
60
py
Python
pyroombaadapter/__init__.py
ymollard/PyRoombaAdapter
a4b63e9b97ac2e27a8b472f596a1111eb3c254b9
[ "MIT" ]
null
null
null
pyroombaadapter/__init__.py
ymollard/PyRoombaAdapter
a4b63e9b97ac2e27a8b472f596a1111eb3c254b9
[ "MIT" ]
null
null
null
pyroombaadapter/__init__.py
ymollard/PyRoombaAdapter
a4b63e9b97ac2e27a8b472f596a1111eb3c254b9
[ "MIT" ]
null
null
null
from pyroombaadapter.pyroombaadapter import PyRoombaAdapter
30
59
0.916667
5
60
11
0.6
0
0
0
0
0
0
0
0
0
0
0
0.066667
60
1
60
60
0.982143
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4ddf8f7618bc1ce4a506f069f1a4aa3da6ef6a1b
22
py
Python
pefile/__init__.py
0x1F9F1/binja-msvc
be2577c22c8d37fd1e2e211f80b1c9a920705bd2
[ "MIT" ]
9
2019-02-08T10:01:39.000Z
2021-04-29T12:27:34.000Z
pefile/__init__.py
DatBrick/binja-msvc
751ffc1450c569bad23ac67a761d0f1fbd4ca4c4
[ "MIT" ]
1
2019-07-04T20:09:57.000Z
2019-07-12T11:10:15.000Z
pefile/__init__.py
DatBrick/binja-msvc
751ffc1450c569bad23ac67a761d0f1fbd4ca4c4
[ "MIT" ]
2
2019-03-03T13:00:14.000Z
2020-05-01T05:35:04.000Z
from .pefile import *
11
21
0.727273
3
22
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.181818
22
1
22
22
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4dfab55975cccc588661b8464faec98ada96eafa
11,800
py
Python
posthog/test/test_update_person_props.py
csmatar/posthog
4587cfe18625f302726c531f06a32c18e9749e9d
[ "MIT" ]
58
2020-08-26T16:26:18.000Z
2022-03-30T05:32:23.000Z
posthog/test/test_update_person_props.py
csmatar/posthog
4587cfe18625f302726c531f06a32c18e9749e9d
[ "MIT" ]
15
2021-11-09T10:49:34.000Z
2021-11-09T16:11:01.000Z
posthog/test/test_update_person_props.py
csmatar/posthog
4587cfe18625f302726c531f06a32c18e9749e9d
[ "MIT" ]
13
2020-09-08T13:27:07.000Z
2022-03-19T17:27:10.000Z
from datetime import datetime from django.db import connection from posthog.models import Person from posthog.test.base import BaseTest # How we expect this function to behave: # | call | value exists | call TS is ___ existing TS | previous fn | write/override # 1| set | no | N/A ...
42.446043
107
0.527203
1,250
11,800
4.7328
0.0976
0.099391
0.124408
0.097194
0.869337
0.839926
0.816092
0.811021
0.78668
0.745098
0
0.014057
0.348898
11,800
277
108
42.599278
0.755955
0.145678
0
0.674641
0
0
0.314317
0.06372
0
0
0
0
0.15311
1
0.038278
false
0
0.019139
0
0.062201
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
1290da62e7e73de3c4c75ef861a9d5a9bcbe1f4b
2,924
py
Python
tests/test_utils.py
jamesmcclain/pystac
993b54f5a10b0d55db18dbda81c5ad7acc06d921
[ "Apache-2.0" ]
1
2018-08-04T05:24:58.000Z
2018-08-04T05:24:58.000Z
tests/test_utils.py
jamesmcclain/pystac
993b54f5a10b0d55db18dbda81c5ad7acc06d921
[ "Apache-2.0" ]
4
2017-12-11T22:15:44.000Z
2018-06-15T15:20:34.000Z
tests/test_utils.py
jamesmcclain/pystac
993b54f5a10b0d55db18dbda81c5ad7acc06d921
[ "Apache-2.0" ]
5
2018-06-15T14:51:50.000Z
2019-08-22T05:33:55.000Z
import unittest from pystac.utils import (make_relative_href, make_absolute_href, is_absolute_href) class UtilsTest(unittest.TestCase): def test_make_relative_href(self): # Test cases of (source_href, start_href, expected) test_cases = [ ('/a/b/c/d/catalog.js...
46.412698
77
0.548906
389
2,924
4.025707
0.105398
0.224777
0.045977
0.102171
0.863346
0.840996
0.784163
0.772031
0.695402
0.66539
0
0
0.25171
2,924
62
78
47.16129
0.715722
0.04446
0
0.235294
0
0
0.442294
0.007527
0
0
0
0
0.058824
1
0.058824
false
0
0.039216
0
0.117647
0
0
0
0
null
1
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
6
12df0714eb5fa8ab8f6068ed158fd58746d6bc32
37
py
Python
npd_well_decoder/__init__.py
fmell/npd-well-name-decoder
a44ec28a6ef3b32ba38751eeffff479008b53e2d
[ "MIT" ]
null
null
null
npd_well_decoder/__init__.py
fmell/npd-well-name-decoder
a44ec28a6ef3b32ba38751eeffff479008b53e2d
[ "MIT" ]
null
null
null
npd_well_decoder/__init__.py
fmell/npd-well-name-decoder
a44ec28a6ef3b32ba38751eeffff479008b53e2d
[ "MIT" ]
null
null
null
from .npd import parse_wellbore_name
18.5
36
0.864865
6
37
5
1
0
0
0
0
0
0
0
0
0
0
0
0.108108
37
1
37
37
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
12fda5a81fde9ab3c46b39a497e89d5ab29b6639
17,673
py
Python
symbols/block.py
zerofo/sdu-face-alignment
f4b57fde0576d2327369884fd5d5e9a7765a0790
[ "MIT" ]
192
2019-03-27T02:40:41.000Z
2022-03-18T15:35:17.000Z
symbols/block.py
zerofo/sdu-face-alignment
f4b57fde0576d2327369884fd5d5e9a7765a0790
[ "MIT" ]
4
2019-04-01T14:51:22.000Z
2020-11-25T08:22:04.000Z
symbols/block.py
zerofo/sdu-face-alignment
f4b57fde0576d2327369884fd5d5e9a7765a0790
[ "MIT" ]
38
2019-03-30T05:33:48.000Z
2021-10-01T06:08:17.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import mxnet as mx import numpy as np from config import config def Conv(**kwargs): body = mx.sym.Convolution(**kwargs) return body def Act(data, act_type, name): if act_type=='prelu': body...
54.378462
148
0.62106
2,661
17,673
3.937242
0.062758
0.06185
0.020617
0.054596
0.806433
0.784576
0.760619
0.737329
0.721199
0.683593
0
0.044666
0.227239
17,673
325
149
54.378462
0.722487
0.139026
0
0.486381
0
0
0.035333
0
0
0
0
0
0.003891
1
0.054475
false
0
0.023346
0.003891
0.167315
0.003891
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
42500bb71a15c0815810b37eafb946db4fb96b64
3,713
py
Python
Ch2_Linked_Lists/test/test_CTCI_Ch2_Ex6.py
mtrdazzo/CTCI
30a82aed96b05fe21b7d337a138e4ec19950eb9d
[ "MIT" ]
null
null
null
Ch2_Linked_Lists/test/test_CTCI_Ch2_Ex6.py
mtrdazzo/CTCI
30a82aed96b05fe21b7d337a138e4ec19950eb9d
[ "MIT" ]
null
null
null
Ch2_Linked_Lists/test/test_CTCI_Ch2_Ex6.py
mtrdazzo/CTCI
30a82aed96b05fe21b7d337a138e4ec19950eb9d
[ "MIT" ]
null
null
null
from unittest import TestCase from CTCI.Ch2_Linked_Lists.common.SinglyLinkedList import Empty, Node from CTCI.Ch2_Linked_Lists.exercises.CTCI_Ch2_Ex6 import PalindromeSinglyLinkedList, is_palindrome_brute_force from CTCI.Ch2_Linked_Lists.exercises.CTCI_Ch2_Ex6 import is_palindrome_reverse class TestPalindromeSinglyLi...
24.919463
110
0.649879
501
3,713
4.580838
0.107784
0.135948
0.056645
0.086275
0.806536
0.732462
0.715468
0.709804
0.697603
0.682353
0
0.01745
0.243738
3,713
148
111
25.087838
0.799858
0
0
0.67
0
0
0
0
0
0
0
0
0.24
1
0.21
false
0.04
0.04
0
0.28
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
1
0
0
0
0
0
0
0
6
4259a696e067dbb5b562342c586a116816461462
29
py
Python
src/svr/tests/__init__.py
yottaawesome/fsnd-project-2
7ed478fa945a561a28af06dc8e4492a9fbea510a
[ "MIT" ]
3
2019-05-04T12:30:00.000Z
2020-05-14T06:28:51.000Z
src/svr/tests/__init__.py
yottaawesome/fsnd-project-2
7ed478fa945a561a28af06dc8e4492a9fbea510a
[ "MIT" ]
1
2019-05-05T01:30:37.000Z
2019-05-16T02:50:04.000Z
src/svr/tests/__init__.py
yottaawesome/fsnd-project-2
7ed478fa945a561a28af06dc8e4492a9fbea510a
[ "MIT" ]
1
2020-03-27T07:12:40.000Z
2020-03-27T07:12:40.000Z
from .test_db import TestDal
14.5
28
0.827586
5
29
4.6
1
0
0
0
0
0
0
0
0
0
0
0
0.137931
29
1
29
29
0.92
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
428e0c3390f490eb7e09d675c22baad9bedb5ba6
171
py
Python
nndet/evaluator/detection/__init__.py
joeranbosma/nnDetection
2ebbf1cdc8a8794c73e325f06fea50632c78ae8c
[ "BSD-3-Clause" ]
242
2021-05-17T12:31:39.000Z
2022-03-31T11:51:29.000Z
nndet/evaluator/detection/__init__.py
joeranbosma/nnDetection
2ebbf1cdc8a8794c73e325f06fea50632c78ae8c
[ "BSD-3-Clause" ]
59
2021-06-02T07:32:10.000Z
2022-03-31T18:45:52.000Z
nndet/evaluator/detection/__init__.py
joeranbosma/nnDetection
2ebbf1cdc8a8794c73e325f06fea50632c78ae8c
[ "BSD-3-Clause" ]
38
2021-05-31T14:01:37.000Z
2022-03-21T08:24:40.000Z
from nndet.evaluator.detection.froc import FROCMetric from nndet.evaluator.detection.coco import COCOMetric from nndet.evaluator.detection.hist import PredictionHistogram
42.75
62
0.877193
21
171
7.142857
0.52381
0.18
0.36
0.54
0
0
0
0
0
0
0
0
0.070175
171
3
63
57
0.943396
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
42a78f723d388f6c17abd15949a96f2a870ca42a
1,933
py
Python
mindhome_alpha/erpnext/stock/doctype/stock_settings/test_stock_settings.py
Mindhome/field_service
3aea428815147903eb9af1d0c1b4b9fc7faed057
[ "MIT" ]
1
2021-04-29T14:55:29.000Z
2021-04-29T14:55:29.000Z
mindhome_alpha/erpnext/stock/doctype/stock_settings/test_stock_settings.py
Mindhome/field_service
3aea428815147903eb9af1d0c1b4b9fc7faed057
[ "MIT" ]
null
null
null
mindhome_alpha/erpnext/stock/doctype/stock_settings/test_stock_settings.py
Mindhome/field_service
3aea428815147903eb9af1d0c1b4b9fc7faed057
[ "MIT" ]
1
2021-04-29T14:39:01.000Z
2021-04-29T14:39:01.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2017, Frappe Technologies Pvt. Ltd. and Contributors # See license.txt from __future__ import unicode_literals import frappe import unittest class TestStockSettings(unittest.TestCase): def setUp(self): frappe.db.set_value("Stock Settings", None, "clean_description_html", 0) ...
42.021739
338
0.698914
311
1,933
4.270096
0.273312
0.067771
0.097892
0.128012
0.787651
0.787651
0.787651
0.787651
0.787651
0.787651
0
0.055057
0.135541
1,933
45
339
42.955556
0.739677
0.053802
0
0.709677
0
0.129032
0.566575
0.04274
0
0
0
0
0.064516
1
0.096774
false
0
0.096774
0
0.225806
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
35f85f5cb5fab6226fab7a5a01b0882ca5ca7ca9
54
py
Python
tests/src/import_func.py
bayashi-cl/expander
b3623b656a71801233797e05781295a6101fefd8
[ "CC0-1.0" ]
null
null
null
tests/src/import_func.py
bayashi-cl/expander
b3623b656a71801233797e05781295a6101fefd8
[ "CC0-1.0" ]
1
2022-03-12T20:41:21.000Z
2022-03-13T06:34:30.000Z
tests/src/import_func.py
bayashi-cl/expander
b3623b656a71801233797e05781295a6101fefd8
[ "CC0-1.0" ]
null
null
null
from testlib_a.main_a import print_name print_name()
13.5
39
0.833333
10
54
4.1
0.7
0.439024
0
0
0
0
0
0
0
0
0
0
0.111111
54
3
40
18
0.854167
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
1
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
6
c41f3f30efc1128fe0e35981a452b93b464ce15f
304
py
Python
configs/gdrn/ycbvPbrSO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO_09_10PottedMeatCan.py
THU-DA-6D-Pose-Group/self6dpp
c267cfa55e440e212136a5e9940598720fa21d16
[ "Apache-2.0" ]
33
2021-12-15T07:11:47.000Z
2022-03-29T08:58:32.000Z
configs/gdrn/ycbvPbrSO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO_09_10PottedMeatCan.py
THU-DA-6D-Pose-Group/self6dpp
c267cfa55e440e212136a5e9940598720fa21d16
[ "Apache-2.0" ]
3
2021-12-15T11:39:54.000Z
2022-03-29T07:24:23.000Z
configs/gdrn/ycbvPbrSO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO_09_10PottedMeatCan.py
THU-DA-6D-Pose-Group/self6dpp
c267cfa55e440e212136a5e9940598720fa21d16
[ "Apache-2.0" ]
null
null
null
_base_ = "./resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO_01_02MasterChefCan.py" OUTPUT_DIR = ( "output/gdrn/ycbvPbrSO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO/09_10PottedMeatCan" ) DATASETS = dict(TRAIN=("ycbv_010_potted_meat_can_train_pbr",))
50.666667
117
0.871711
37
304
6.459459
0.72973
0.200837
0.23431
0.292887
0.527197
0.527197
0.527197
0.527197
0
0
0
0.100346
0.049342
304
5
118
60.8
0.726644
0
0
0
0
0
0.786184
0.786184
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
c441a8d53ebaea6e35e7d68f0992cf2efeee375b
2,429
py
Python
tests/sequence_utils_test.py
rmcolq/genofunk
ffa031fb361fc736e839d0e36d36f8ed7ade30dc
[ "MIT" ]
1
2021-01-09T23:25:02.000Z
2021-01-09T23:25:02.000Z
tests/sequence_utils_test.py
rmcolq/genofunk
ffa031fb361fc736e839d0e36d36f8ed7ade30dc
[ "MIT" ]
null
null
null
tests/sequence_utils_test.py
rmcolq/genofunk
ffa031fb361fc736e839d0e36d36f8ed7ade30dc
[ "MIT" ]
null
null
null
import os import unittest import json import filecmp from genofunk.sequence_utils import * this_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) class TestSequenceUtils(unittest.TestCase): def test_get_coordinates_from_json_simple_pairs(self): json_value = { "start": 30, ...
34.211268
94
0.645533
295
2,429
4.925424
0.20678
0.038541
0.099105
0.121129
0.860977
0.836201
0.836201
0.788713
0.788713
0.788713
0
0.027518
0.251956
2,429
71
95
34.211268
0.772152
0
0
0.508197
0
0
0.051029
0
0
0
0
0
0.131148
1
0.131148
false
0
0.081967
0
0.229508
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
674628d16822f8d4efcc764dcb583fc1ae5fb351
86
py
Python
tests/syntax/scripts/annotated_comments.py
toddrme2178/pyccel
deec37503ab0c5d0bcca1a035f7909f7ce8ef653
[ "MIT" ]
null
null
null
tests/syntax/scripts/annotated_comments.py
toddrme2178/pyccel
deec37503ab0c5d0bcca1a035f7909f7ce8ef653
[ "MIT" ]
null
null
null
tests/syntax/scripts/annotated_comments.py
toddrme2178/pyccel
deec37503ab0c5d0bcca1a035f7909f7ce8ef653
[ "MIT" ]
null
null
null
#$ header variable x :: int #$ acc parallel private(idx) #$ omp parallel private(idx)
21.5
28
0.697674
12
86
5
0.75
0.5
0.6
0
0
0
0
0
0
0
0
0
0.162791
86
3
29
28.666667
0.833333
0.930233
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
674979db2e403ec19a4fc12df3f2a373c9172b77
86
py
Python
OIL/__init__.py
vjdad4m/OIL
a664fe213723fe354796245632f58f31583bcba0
[ "MIT" ]
1
2021-06-22T22:14:16.000Z
2021-06-22T22:14:16.000Z
OIL/__init__.py
vjdad4m/OIL
a664fe213723fe354796245632f58f31583bcba0
[ "MIT" ]
null
null
null
OIL/__init__.py
vjdad4m/OIL
a664fe213723fe354796245632f58f31583bcba0
[ "MIT" ]
null
null
null
import OIL.color import OIL.label import OIL.parser import OIL.tools import OIL.errors
17.2
17
0.837209
15
86
4.8
0.466667
0.625
0
0
0
0
0
0
0
0
0
0
0.104651
86
5
18
17.2
0.935065
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6