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
c40e6f691eebbf7e420c976ab0f872aca230a782
3,201
py
Python
python_web_framework_project_defense/tests/profiles/views/profile_details_tests.py
Xamaneone/python-web-framework-project-defense
3f83c822b65e0603d1c95ddbd38ce060f01af193
[ "MIT" ]
null
null
null
python_web_framework_project_defense/tests/profiles/views/profile_details_tests.py
Xamaneone/python-web-framework-project-defense
3f83c822b65e0603d1c95ddbd38ce060f01af193
[ "MIT" ]
null
null
null
python_web_framework_project_defense/tests/profiles/views/profile_details_tests.py
Xamaneone/python-web-framework-project-defense
3f83c822b65e0603d1c95ddbd38ce060f01af193
[ "MIT" ]
null
null
null
from django.contrib.auth import get_user_model from django.urls import reverse from python_web_framework_project_defense.app_game_reviews.models import Game from tests.base.tests import GamereviewsTestCase UserModel = get_user_model() class ProfileDetailsTest(GamereviewsTestCase): def test__get_details_own_prof...
41.571429
107
0.706654
381
3,201
5.650919
0.188976
0.040873
0.027868
0.03948
0.830934
0.830934
0.830934
0.830934
0.814677
0.724106
0
0.005747
0.18463
3,201
76
108
42.118421
0.819157
0
0
0.694915
0
0
0.080287
0
0
0
0
0
0.305085
1
0.084746
false
0.033898
0.067797
0
0.169492
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
c4244acf5831ace2bb15144db022a23bc39941cb
87
py
Python
utils/__init__.py
cor-bee/insvibot
ac9ba3367ed1839bd3b1e7228309b5f721626234
[ "MIT" ]
5
2021-02-10T14:48:29.000Z
2021-05-01T13:46:32.000Z
utils/__init__.py
cor-bee/insvibot
ac9ba3367ed1839bd3b1e7228309b5f721626234
[ "MIT" ]
null
null
null
utils/__init__.py
cor-bee/insvibot
ac9ba3367ed1839bd3b1e7228309b5f721626234
[ "MIT" ]
1
2021-05-01T18:20:25.000Z
2021-05-01T18:20:25.000Z
from . import database from . import misc from .notify_admins import on_startup_notify
21.75
44
0.827586
13
87
5.307692
0.615385
0.289855
0
0
0
0
0
0
0
0
0
0
0.137931
87
3
45
29
0.92
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
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
c441be440aab48728bfeba87047140356c93cf29
271
py
Python
test/test_contiguous_highest_sum.py
jason71319jason/Interview-solved
42ca93a68475952753d185c325cb55c79e2e55e1
[ "MIT" ]
46
2019-10-14T01:21:35.000Z
2022-01-08T23:55:15.000Z
test/test_contiguous_highest_sum.py
jason71319jason/Interview-solved
42ca93a68475952753d185c325cb55c79e2e55e1
[ "MIT" ]
53
2019-10-03T17:16:43.000Z
2020-12-08T12:48:19.000Z
test/test_contiguous_highest_sum.py
jason71319jason/Interview-solved
42ca93a68475952753d185c325cb55c79e2e55e1
[ "MIT" ]
96
2019-10-03T18:12:10.000Z
2021-03-14T19:41:06.000Z
import Important.contiguous_highest_sum as m def test_contigous_regular(): assert m.contiguous_pair([5,2,4,6,3,1]) == [4,6] def test_contigous_small(): assert m.contiguous_pair([5,2]) == [5,2] def test_contigous_empty(): assert m.contiguous_pair([]) == []
24.636364
52
0.697417
43
271
4.139535
0.488372
0.117978
0.269663
0.353933
0.258427
0.258427
0
0
0
0
0
0.051282
0.136531
271
10
53
27.1
0.709402
0
0
0
0
0
0
0
0
0
0
0
0.428571
1
0.428571
true
0
0.142857
0
0.571429
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
1
0
0
0
1
0
0
6
c46417907d06b0d85fc28e08194a247a1d1de57c
20
py
Python
logparser/SHISO/__init__.py
tyronevb/logparser
3dcd1e1892fb65c344f3b5010298e3dfd88f33ed
[ "MIT" ]
1
2021-08-05T06:40:02.000Z
2021-08-05T06:40:02.000Z
logparser/SHISO/__init__.py
tyronevb/logparser
3dcd1e1892fb65c344f3b5010298e3dfd88f33ed
[ "MIT" ]
null
null
null
logparser/SHISO/__init__.py
tyronevb/logparser
3dcd1e1892fb65c344f3b5010298e3dfd88f33ed
[ "MIT" ]
1
2022-01-20T11:01:43.000Z
2022-01-20T11:01:43.000Z
from .SHISO import *
20
20
0.75
3
20
5
1
0
0
0
0
0
0
0
0
0
0
0
0.15
20
1
20
20
0.882353
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
c465a5c705a565bf9b0840052c6c2ca7aab95845
7,196
py
Python
src/text_selection_tests/kld/kld_iterator_py/test_get_kullback_leibler_divergence.py
stefantaubert/text-selection
4b3b49005cbeb2e9212ed94686d8e871c6c2c368
[ "MIT" ]
null
null
null
src/text_selection_tests/kld/kld_iterator_py/test_get_kullback_leibler_divergence.py
stefantaubert/text-selection
4b3b49005cbeb2e9212ed94686d8e871c6c2c368
[ "MIT" ]
null
null
null
src/text_selection_tests/kld/kld_iterator_py/test_get_kullback_leibler_divergence.py
stefantaubert/text-selection
4b3b49005cbeb2e9212ed94686d8e871c6c2c368
[ "MIT" ]
null
null
null
import numpy as np from text_selection.kld.kld_iterator import get_kullback_leibler_divergence # region empty def test_s0_empty__returns_zero(): pk = np.array([], dtype=np.float64) qk = np.array([], dtype=np.float64) result = get_kullback_leibler_divergence(pk, qk, axis=0) assert result == 0.0 def test_s0x0...
35.800995
93
0.702474
1,246
7,196
3.841894
0.053772
0.097974
0.146229
0.026739
0.904115
0.899728
0.899311
0.88427
0.871945
0.856069
0
0.099937
0.119789
7,196
200
94
35.98
0.655826
0.016259
0
0.550725
0
0
0
0
0
0
0
0
0.231884
1
0.188406
false
0
0.014493
0
0.202899
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
673ec9cc1c562bd76fda58405d5235f65784b584
1,277
py
Python
exercicios/ex107/moeda.py
LucasLima337/CEV_Python_Exercicios
7959fd2977a26ffca6a9adb13067d4727dc433fe
[ "MIT" ]
null
null
null
exercicios/ex107/moeda.py
LucasLima337/CEV_Python_Exercicios
7959fd2977a26ffca6a9adb13067d4727dc433fe
[ "MIT" ]
null
null
null
exercicios/ex107/moeda.py
LucasLima337/CEV_Python_Exercicios
7959fd2977a26ffca6a9adb13067d4727dc433fe
[ "MIT" ]
null
null
null
def aumentar(value, percent): ''' --> Função que exibe um valor com um aumento percentual. --> Parâmetros: * value --> Preço, salário ou um valor qualquer; * percent --> Percentual que deseja aumentar. --> Retorno: * Retorna o valor calculado com o aumento. ''' ...
23.648148
61
0.564605
144
1,277
5.006944
0.25
0.07767
0.07767
0.105409
0.801664
0.801664
0.801664
0.710125
0.510402
0.404993
0
0.009238
0.321848
1,277
53
62
24.09434
0.823326
0.638998
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
6
6766a461b52373e0a4ed662d72c97b2a15a13a38
59
py
Python
acq4/modules/MosaicEditor/__init__.py
pbmanis/acq4
a02acbe4592710a36f54797eefc83f5da39d948f
[ "MIT" ]
47
2015-01-05T16:18:10.000Z
2022-03-16T13:09:30.000Z
acq4/modules/MosaicEditor/__init__.py
pbmanis/acq4
a02acbe4592710a36f54797eefc83f5da39d948f
[ "MIT" ]
48
2015-04-19T16:51:41.000Z
2022-03-31T14:48:16.000Z
acq4/modules/MosaicEditor/__init__.py
sensapex/acq4
9561ba73caff42c609bd02270527858433862ad8
[ "MIT" ]
32
2015-01-15T14:11:49.000Z
2021-07-15T13:44:52.000Z
from .MosaicEditor import MosaicEditor, MosaicEditorModule
29.5
58
0.881356
5
59
10.4
0.8
0
0
0
0
0
0
0
0
0
0
0
0.084746
59
1
59
59
0.962963
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
677633e77505a7c24ba51de0160c4717caa369c0
25
py
Python
wk/web/applications/FileServer/__init__.py
Peiiii/wk
dcf948c1cb36c1eec9b2a554ea0296c6d3dbbdc4
[ "MIT" ]
null
null
null
wk/web/applications/FileServer/__init__.py
Peiiii/wk
dcf948c1cb36c1eec9b2a554ea0296c6d3dbbdc4
[ "MIT" ]
null
null
null
wk/web/applications/FileServer/__init__.py
Peiiii/wk
dcf948c1cb36c1eec9b2a554ea0296c6d3dbbdc4
[ "MIT" ]
null
null
null
from .FileServer import *
25
25
0.8
3
25
6.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.12
25
1
25
25
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
67bc7b7cce2562e28296da710721bf4de675ce0e
185
py
Python
src/quick_scheme/__init__.py
mlasevich/QuickScheme
07f22780bcd8f06cb70431e85731c9743849c7d8
[ "Apache-2.0" ]
null
null
null
src/quick_scheme/__init__.py
mlasevich/QuickScheme
07f22780bcd8f06cb70431e85731c9743849c7d8
[ "Apache-2.0" ]
null
null
null
src/quick_scheme/__init__.py
mlasevich/QuickScheme
07f22780bcd8f06cb70431e85731c9743849c7d8
[ "Apache-2.0" ]
null
null
null
''' QuickScheme Library Package ''' from .field import Field, FieldValue from .nodes import KeyBasedList from .nodes import ListOfNodes, ListOfReferences from .nodes import SchemeNode
26.428571
48
0.805405
21
185
7.095238
0.571429
0.181208
0.302013
0
0
0
0
0
0
0
0
0
0.12973
185
6
49
30.833333
0.925466
0.145946
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
67d2e8fabc9920af6a1825a8b79d1dced7d5a5be
4,404
py
Python
tools/frontend/alpha/solver/lr_scheduler.py
Ren-Research/maestro
b89e171d51ec910b165b9b01dd8373848a6207f7
[ "MIT" ]
null
null
null
tools/frontend/alpha/solver/lr_scheduler.py
Ren-Research/maestro
b89e171d51ec910b165b9b01dd8373848a6207f7
[ "MIT" ]
null
null
null
tools/frontend/alpha/solver/lr_scheduler.py
Ren-Research/maestro
b89e171d51ec910b165b9b01dd8373848a6207f7
[ "MIT" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import torch import math from bisect import bisect_right from typing import List class WarmupCosineLR(torch.optim.lr_scheduler._LRScheduler): def __init__(self, optimizer, max_iters, warmup_factor = 0.001, warm...
31.457143
132
0.621708
536
4,404
4.781716
0.154851
0.11705
0.056184
0.04643
0.785018
0.772922
0.772922
0.74327
0.74327
0.687476
0
0.015069
0.29178
4,404
139
133
31.683453
0.806669
0.023615
0
0.711712
0
0
0.040289
0
0
0
0
0
0
1
0.117117
false
0
0.036036
0.045045
0.288288
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
67f87cab8c0e677568bb4a787035d5b6b8f8517a
440
py
Python
gym_textgame/envs/__init__.py
Rene90/gym-textgame
3bf3a6e97b3e795b248c601cc8b0ff1a077d119b
[ "MIT" ]
1
2017-05-03T03:55:43.000Z
2017-05-03T03:55:43.000Z
gym_textgame/envs/__init__.py
Rene90/gym-textgame
3bf3a6e97b3e795b248c601cc8b0ff1a077d119b
[ "MIT" ]
null
null
null
gym_textgame/envs/__init__.py
Rene90/gym-textgame
3bf3a6e97b3e795b248c601cc8b0ff1a077d119b
[ "MIT" ]
null
null
null
from gym_textgame.envs.textgame_env0 import HomeWorld0 from gym_textgame.envs.textgame_env1 import HomeWorld1 from gym_textgame.envs.textgame_env2 import HomeWorld2 from gym_textgame.envs.textgame_env3 import HomeWorld3 from gym_textgame.envs.textgame_env4 import HomeWorld4 from gym_textgame.envs.textgame_env5 import H...
48.888889
54
0.890909
64
440
5.875
0.328125
0.148936
0.319149
0.404255
0.574468
0
0
0
0
0
0
0.039216
0.072727
440
8
55
55
0.882353
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
c035097241d4b7ce4b5b9ac781c06887f3cc17cd
7,951
py
Python
messengerext/home/migrations/0001_initial.py
groupsome/groupsome
4edcf30d66ff458c4df37d3198ef187219a768d7
[ "MIT" ]
6
2016-10-07T13:43:17.000Z
2017-10-07T22:34:44.000Z
messengerext/home/migrations/0001_initial.py
groupsome/groupsome
4edcf30d66ff458c4df37d3198ef187219a768d7
[ "MIT" ]
null
null
null
messengerext/home/migrations/0001_initial.py
groupsome/groupsome
4edcf30d66ff458c4df37d3198ef187219a768d7
[ "MIT" ]
1
2020-07-15T04:29:31.000Z
2020-07-15T04:29:31.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-05-19 19:01 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations....
46.497076
118
0.569237
767
7,951
5.709257
0.136897
0.125599
0.041562
0.065312
0.771409
0.756794
0.736241
0.736241
0.736241
0.715003
0
0.006365
0.288643
7,951
170
119
46.770588
0.767857
0.008175
0
0.654321
1
0
0.126475
0
0
0
0
0
0
1
0
false
0
0.024691
0
0.049383
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
2206324225936d5646059dbf38ee6227ec4bf493
41
py
Python
src/python/zquantum/core/testing/__init__.py
alexjuda2/z-quantum-core
c258100dbd091f0b22495b77b36399426ae9abac
[ "Apache-2.0" ]
24
2020-04-15T17:36:59.000Z
2022-01-25T05:02:14.000Z
src/python/zquantum/core/testing/__init__.py
alexjuda2/z-quantum-core
c258100dbd091f0b22495b77b36399426ae9abac
[ "Apache-2.0" ]
177
2020-04-23T15:19:59.000Z
2022-03-30T18:06:17.000Z
src/python/zquantum/core/testing/__init__.py
alexjuda2/z-quantum-core
c258100dbd091f0b22495b77b36399426ae9abac
[ "Apache-2.0" ]
19
2020-06-24T10:56:02.000Z
2021-09-30T13:02:21.000Z
from ._initialize import * # noqa: F403
20.5
40
0.707317
5
41
5.6
1
0
0
0
0
0
0
0
0
0
0
0.090909
0.195122
41
1
41
41
0.757576
0.243902
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
221a1dba6c75de4b5f4796a8a519c5a646f120c9
29,668
py
Python
python/pytraph/core/traph_tensor.py
toyteam/traph
ae80d4e205e447fd8688dc95b76a43507b7fe568
[ "MIT" ]
1
2019-07-05T05:41:00.000Z
2019-07-05T05:41:00.000Z
python/pytraph/core/traph_tensor.py
jstzwj/traph
ae80d4e205e447fd8688dc95b76a43507b7fe568
[ "MIT" ]
null
null
null
python/pytraph/core/traph_tensor.py
jstzwj/traph
ae80d4e205e447fd8688dc95b76a43507b7fe568
[ "MIT" ]
null
null
null
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.12 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info as _swig_python_version_info if _swig_python_version_info >= (2, 7, 0): def swig_im...
30.459959
93
0.697553
3,520
29,668
5.356818
0.05
0.148759
0.182117
0.119166
0.769941
0.713619
0.665199
0.660214
0.566186
0.376432
0
0.000731
0.216428
29,668
973
94
30.491264
0.810384
0.009943
0
0.50277
1
0
0.00579
0
0
0
0
0
0
1
0.307479
false
0.00277
0.026316
0.279778
0.795014
0
0
0
0
null
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
3f0fcc8ad0576d354bf608e0a30f97624f10ced6
34
py
Python
mps/test/test_hamiltonians.py
paulagm12/seemps
a10ab9efa43fbb687bd95b26db4cc4b89a8de8f0
[ "MIT" ]
15
2019-05-09T16:48:44.000Z
2020-10-10T15:46:44.000Z
mps/test/test_hamiltonians.py
paulagm12/seemps
a10ab9efa43fbb687bd95b26db4cc4b89a8de8f0
[ "MIT" ]
4
2020-11-17T22:10:00.000Z
2022-02-21T11:03:29.000Z
mps/test/test_hamiltonians.py
paulagm12/seemps
a10ab9efa43fbb687bd95b26db4cc4b89a8de8f0
[ "MIT" ]
2
2020-05-08T23:09:54.000Z
2020-11-17T15:41:26.000Z
from mps.hamiltonians import *
11.333333
31
0.735294
4
34
6.25
1
0
0
0
0
0
0
0
0
0
0
0
0.205882
34
2
32
17
0.925926
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
3f2374100f4feff921447db77bb1eaa1678a7fb9
124
py
Python
napari/_vispy/mesh.py
pranathivemuri/napari
7a7f824b686a276dc6cdc8013d8f437e3c3b03e1
[ "BSD-3-Clause" ]
null
null
null
napari/_vispy/mesh.py
pranathivemuri/napari
7a7f824b686a276dc6cdc8013d8f437e3c3b03e1
[ "BSD-3-Clause" ]
2
2021-04-23T01:01:55.000Z
2021-04-28T04:56:26.000Z
napari/_vispy/mesh.py
DragaDoncila/napari
044beba342ef392f4cbed2e8e3a27f27d4799ccb
[ "BSD-3-Clause" ]
null
null
null
from vispy.scene.visuals import create_visual_node from .vendored import MeshVisual Mesh = create_visual_node(MeshVisual)
20.666667
50
0.846774
17
124
5.941176
0.647059
0.237624
0.316832
0
0
0
0
0
0
0
0
0
0.104839
124
5
51
24.8
0.90991
0
0
0
0
0
0
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
3f37605a259af78657700f742e6a20fdac034505
185
py
Python
map_service/fire/views.py
berthakim/map-service
881647a4a2627c633094d45519b0cf6b2c7050b9
[ "MIT" ]
null
null
null
map_service/fire/views.py
berthakim/map-service
881647a4a2627c633094d45519b0cf6b2c7050b9
[ "MIT" ]
null
null
null
map_service/fire/views.py
berthakim/map-service
881647a4a2627c633094d45519b0cf6b2c7050b9
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse from django.views.generic import TemplateView def fire(request): return render(request, 'fire/fire.html')
23.125
45
0.8
25
185
5.92
0.6
0.202703
0
0
0
0
0
0
0
0
0
0
0.124324
185
7
46
26.428571
0.91358
0
0
0
0
0
0.075676
0
0
0
0
0
0
1
0.2
false
0
0.6
0.2
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
0
0
1
1
1
0
0
6
3f4dee0f91fa2a75b00acf5edd4085f3a7dc52b0
24,237
py
Python
tensorflow_transform/beam/tukey_hh_params_integration_test.py
rtg0795/transform
ee1a769f0e359a8722dca7b434a3b499396a140f
[ "Apache-2.0" ]
null
null
null
tensorflow_transform/beam/tukey_hh_params_integration_test.py
rtg0795/transform
ee1a769f0e359a8722dca7b434a3b499396a140f
[ "Apache-2.0" ]
null
null
null
tensorflow_transform/beam/tukey_hh_params_integration_test.py
rtg0795/transform
ee1a769f0e359a8722dca7b434a3b499396a140f
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
38.349684
103
0.581054
2,825
24,237
4.734159
0.101947
0.034993
0.031404
0.029236
0.812995
0.79677
0.764767
0.745626
0.738597
0.718708
0
0.158536
0.292115
24,237
631
104
38.41046
0.620971
0.050955
0
0.675579
0
0
0.076052
0.012886
0
0
0
0
0.049911
1
0.033868
false
0
0.01426
0
0.067736
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
3f54f9b3bdc4d3ec020c2ed02a53ee6897474a91
4,923
py
Python
app/tests/test_consumer.py
bartoszadamczyk/weather-station-rpi
2e373a6fec1dad178f2daba7b9015e48a19d6a80
[ "MIT" ]
1
2022-01-13T23:02:17.000Z
2022-01-13T23:02:17.000Z
app/tests/test_consumer.py
bartoszadamczyk/weather-station-rpi
2e373a6fec1dad178f2daba7b9015e48a19d6a80
[ "MIT" ]
null
null
null
app/tests/test_consumer.py
bartoszadamczyk/weather-station-rpi
2e373a6fec1dad178f2daba7b9015e48a19d6a80
[ "MIT" ]
null
null
null
from datetime import datetime from unittest.mock import Mock import pytest from aiounittest import AsyncTestCase from app.consumer import LiveSQSConsumer, ReadingsLogger from app.constants import MODULE_TYPE, METRIC_TYPE from app.helper import get_timestamp from app.reading import Reading class TestLiveSQSConsumer(...
33.040268
84
0.652245
606
4,923
5.09736
0.146865
0.135319
0.129492
0.174814
0.766591
0.760117
0.760117
0.745225
0.70055
0.632891
0
0.036384
0.263051
4,923
148
85
33.263514
0.81505
0.048548
0
0.57
0
0
0.03066
0
0
0
0
0
0.2
1
0
false
0
0.08
0
0.11
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
3f5dc124cf9e2f706d206fbcbbc1b24aad8fb799
67
py
Python
test/pathod/__init__.py
jvillacorta/mitmproxy
3aa2d59f627e0fc95167fb76ffbe84330e3a5cc5
[ "MIT" ]
1
2018-03-31T17:16:07.000Z
2018-03-31T17:16:07.000Z
test/pathod/__init__.py
yatere/mitmproxy
5c0161886ae03dcd3b4cfc726c7a53408cdb5d71
[ "MIT" ]
null
null
null
test/pathod/__init__.py
yatere/mitmproxy
5c0161886ae03dcd3b4cfc726c7a53408cdb5d71
[ "MIT" ]
4
2018-04-18T13:17:01.000Z
2021-02-21T17:08:33.000Z
from __future__ import (print_function, absolute_import, division)
33.5
66
0.850746
8
67
6.375
0.875
0
0
0
0
0
0
0
0
0
0
0
0.089552
67
1
67
67
0.836066
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
1
0
6
3f60c631833330eab070ec088d377327fade4c85
380
py
Python
src/python/icecap_framework/__init__.py
veracruz-project/icecap
905e9d6226b7fa9964f7ee868b84d3d3ab31d564
[ "MIT" ]
null
null
null
src/python/icecap_framework/__init__.py
veracruz-project/icecap
905e9d6226b7fa9964f7ee868b84d3d3ab31d564
[ "MIT" ]
null
null
null
src/python/icecap_framework/__init__.py
veracruz-project/icecap
905e9d6226b7fa9964f7ee868b84d3d3ab31d564
[ "MIT" ]
null
null
null
from icecap_framework.composition import BaseComposition, RingBufferObjects, RingBufferSideObjects from icecap_framework.components.base import BaseComponent from icecap_framework.components.elf import ElfComponent, ElfThread, DEFAULT_PRIO from icecap_framework.components.generic import GenericElfComponent from icecap...
54.285714
98
0.9
40
380
8.375
0.525
0.149254
0.283582
0.346269
0
0
0
0
0
0
0
0
0.065789
380
6
99
63.333333
0.943662
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
58c63c059324c7cd3d1c828e50067b747f1d3d20
175
py
Python
dataset_big.py
AntonFirc/SUR
3173a80731e601cdcc590166a8ba2ef801e60325
[ "MIT" ]
null
null
null
dataset_big.py
AntonFirc/SUR
3173a80731e601cdcc590166a8ba2ef801e60325
[ "MIT" ]
null
null
null
dataset_big.py
AntonFirc/SUR
3173a80731e601cdcc590166a8ba2ef801e60325
[ "MIT" ]
null
null
null
import distutils from distutils import dir_util distutils.dir_util.copy_tree('./dataset/train', './train_big/') distutils.dir_util.copy_tree('./dataset/dev', './train_big/')
29.166667
63
0.765714
25
175
5.08
0.44
0.165354
0.251969
0.314961
0.488189
0.488189
0
0
0
0
0
0
0.062857
175
5
64
35
0.77439
0
0
0
0
0
0.297143
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
452273ebce74b2c0c42bb5c43b9aa8cbf173f49b
172
py
Python
mkt/constants/tests/test_carriers.py
clouserw/zamboni
c4a568b69c1613f27da41d46328b2975cbdc1c07
[ "BSD-3-Clause" ]
null
null
null
mkt/constants/tests/test_carriers.py
clouserw/zamboni
c4a568b69c1613f27da41d46328b2975cbdc1c07
[ "BSD-3-Clause" ]
null
null
null
mkt/constants/tests/test_carriers.py
clouserw/zamboni
c4a568b69c1613f27da41d46328b2975cbdc1c07
[ "BSD-3-Clause" ]
null
null
null
from nose.tools import eq_ from mkt.constants.carriers import CARRIER_IDS, CARRIER_SLUGS def test_carriers_no_duplicate(): eq_(len(CARRIER_IDS), len(CARRIER_SLUGS))
21.5
61
0.802326
26
172
4.961538
0.615385
0.155039
0
0
0
0
0
0
0
0
0
0
0.116279
172
7
62
24.571429
0.848684
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
true
0
0.5
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
6
452fa9cbcd7b67e7b28f7388e0e98d0f778860c9
1,310
py
Python
jina/peapods/runtimes/__init__.py
liusy182/jina
eb1b605f5c635f7db83e6adf9d77e52747ea7a8d
[ "Apache-2.0" ]
1
2021-04-11T08:06:05.000Z
2021-04-11T08:06:05.000Z
jina/peapods/runtimes/__init__.py
sthagen/jina
c272bbddef733167804c5a68d5f41ec789fa1732
[ "Apache-2.0" ]
1
2021-07-16T17:36:22.000Z
2021-09-22T13:48:18.000Z
jina/peapods/runtimes/__init__.py
sthagen/jina
c272bbddef733167804c5a68d5f41ec789fa1732
[ "Apache-2.0" ]
null
null
null
def list_all_runtimes(): """List all public runtimes that can be used directly with :class:`jina.peapods.peas.Pea` # noqa: DAR101 # noqa: DAR201 """ from jina.peapods.runtimes.base import BaseRuntime from jina.peapods.runtimes.gateway.grpc import GRPCGatewayRuntime from jina.peapods.runtime...
34.473684
93
0.719847
163
1,310
5.766871
0.368098
0.140426
0.175532
0.269149
0.719149
0.719149
0.719149
0.719149
0.629787
0.629787
0
0.011396
0.196183
1,310
37
94
35.405405
0.881292
0.138168
0
0.434783
0
0
0.032967
0
0
0
0
0
0
1
0.086957
false
0
0.478261
0
0.652174
0
0
0
0
null
0
0
1
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
6
18c690193a0d076eb7f4a5191ec76756e684bbfc
117
py
Python
{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/conftest.py
thorgate/django-project-template
ede55e1e2a301ce3d8606ebbf44bf7488cd00201
[ "0BSD" ]
123
2016-03-28T15:45:10.000Z
2022-03-28T07:32:25.000Z
{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/conftest.py
thorgate/django-project-template
ede55e1e2a301ce3d8606ebbf44bf7488cd00201
[ "0BSD" ]
16
2017-03-27T19:25:07.000Z
2021-08-13T08:46:39.000Z
{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/conftest.py
thorgate/django-project-template
ede55e1e2a301ce3d8606ebbf44bf7488cd00201
[ "0BSD" ]
19
2016-06-03T19:29:10.000Z
2021-09-02T19:39:58.000Z
from django.test import Client import pytest @pytest.fixture() def django_client() -> Client: return Client()
13
30
0.726496
15
117
5.6
0.6
0
0
0
0
0
0
0
0
0
0
0
0.17094
117
8
31
14.625
0.865979
0
0
0
0
0
0
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
18df75e457b06551fddc613d6fc15511b79b6238
1,232
py
Python
Section 18/12.Document-change-working-dir.py
airbornum/-Complete-Python-Scripting-for-Automation
bc053444f8786259086269ca1713bdb10144dd74
[ "MIT" ]
18
2020-04-13T03:14:06.000Z
2022-03-09T18:54:41.000Z
Section 18/12.Document-change-working-dir.py
airbornum/-Complete-Python-Scripting-for-Automation
bc053444f8786259086269ca1713bdb10144dd74
[ "MIT" ]
null
null
null
Section 18/12.Document-change-working-dir.py
airbornum/-Complete-Python-Scripting-for-Automation
bc053444f8786259086269ca1713bdb10144dd74
[ "MIT" ]
22
2020-04-29T21:12:42.000Z
2022-03-17T18:19:54.000Z
#!/usr/local/bin/python3 import os ''' req_path=input("Enter path to change working dir: ") print("The current working dir is: ",os.getcwd()) try: os.chdir(req_path) print("Now your new working dir is: ",os.getcwd()) except FileNotFoundError: print("Given path is not a valid path. So cant change working ...
32.421053
93
0.70211
180
1,232
4.738889
0.288889
0.091442
0.07034
0.065651
0.933177
0.933177
0.933177
0.933177
0.933177
0.933177
0
0.001015
0.200487
1,232
37
94
33.297297
0.864975
0.018669
0
0
0
0
0.475513
0
0
0
0
0
0
1
0.055556
false
0
0.055556
0
0.166667
0.333333
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
18fcfe907384606493fbc480f984cf917637b558
45
py
Python
pythreatgrid2/__init__.py
Te-k/pythreatgrid2
3521e34cd49d325170b7184ac7efae77be9bef1b
[ "MIT" ]
null
null
null
pythreatgrid2/__init__.py
Te-k/pythreatgrid2
3521e34cd49d325170b7184ac7efae77be9bef1b
[ "MIT" ]
null
null
null
pythreatgrid2/__init__.py
Te-k/pythreatgrid2
3521e34cd49d325170b7184ac7efae77be9bef1b
[ "MIT" ]
1
2018-05-16T13:31:19.000Z
2018-05-16T13:31:19.000Z
from .api import ThreatGrid, ThreatGridError
22.5
44
0.844444
5
45
7.6
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
45
1
45
45
0.95
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
e1a7d7994403dbfa1241a979de1112c357b485ae
133
py
Python
csv_to_html.py
kevogil/Web-Design-Challenge
20959442e3bb37e2cabfdad016b8ce0f95128d5e
[ "Apache-2.0" ]
null
null
null
csv_to_html.py
kevogil/Web-Design-Challenge
20959442e3bb37e2cabfdad016b8ce0f95128d5e
[ "Apache-2.0" ]
null
null
null
csv_to_html.py
kevogil/Web-Design-Challenge
20959442e3bb37e2cabfdad016b8ce0f95128d5e
[ "Apache-2.0" ]
null
null
null
import pandas as pd df = pd.read_csv("WebVisualizations/Resources/cities.csv") df.to_html("WebVisualizations/Resources/cities.html")
33.25
58
0.81203
19
133
5.578947
0.631579
0.490566
0.603774
0
0
0
0
0
0
0
0
0
0.06015
133
4
59
33.25
0.848
0
0
0
0
0
0.574627
0.574627
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
6
beda674af0fa0aca0cea4836a2ff1668aad23ec5
1,586
py
Python
robo_test.py
retinaburn/robo
8768a55e5b9cdb4f48331915175f71a15d49c819
[ "MIT" ]
null
null
null
robo_test.py
retinaburn/robo
8768a55e5b9cdb4f48331915175f71a15d49c819
[ "MIT" ]
null
null
null
robo_test.py
retinaburn/robo
8768a55e5b9cdb4f48331915175f71a15d49c819
[ "MIT" ]
null
null
null
import robo import time FORWARD = robo.CODE_RSWalkForward STOP = robo.CODE_RSStop NO_OP = robo.CODE_RSNoOp rs=robo.Robo(21) #create Robo object for GPIO 21 #print("Forward...") #rs.send_code(FORWARD) #time.sleep(5.0) #rs.send_code(NO_OP) #time.sleep(2.0) #print("Should be stopped") #rs.send_code(STOP) #print("S...
20.075949
51
0.74401
279
1,586
4.082437
0.168459
0.13345
0.166813
0.164179
0.775241
0.775241
0.775241
0.756804
0.756804
0.756804
0
0.027473
0.081967
1,586
78
52
20.333333
0.754808
0.702396
0
0.533333
0
0
0
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
bee180cf0d1bb1dca772f3e8ac6ed769070fab0c
198
py
Python
src/sage/dynamics/all.py
vbraun/sage
07d6c37d18811e2b377a9689790a7c5e24da16ba
[ "BSL-1.0" ]
3
2016-06-19T14:48:31.000Z
2022-01-28T08:46:01.000Z
src/sage/dynamics/all.py
vbraun/sage
07d6c37d18811e2b377a9689790a7c5e24da16ba
[ "BSL-1.0" ]
null
null
null
src/sage/dynamics/all.py
vbraun/sage
07d6c37d18811e2b377a9689790a7c5e24da16ba
[ "BSL-1.0" ]
7
2021-11-08T10:01:59.000Z
2022-03-03T11:25:52.000Z
from sage.dynamics.interval_exchanges.all import * from sage.dynamics.flat_surfaces.all import * from sage.dynamics.arithmetic_dynamics.all import * from sage.dynamics.complex_dynamics.all import *
39.6
51
0.838384
28
198
5.785714
0.392857
0.197531
0.395062
0.314815
0.462963
0
0
0
0
0
0
0
0.080808
198
4
52
49.5
0.89011
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
830a57ca6e548bb3b0964f417818ba105f463fd3
6,700
py
Python
src/python/T0/WMBS/Oracle/Tier0Feeder/MarkWorkflowsInjected.py
silviodonato/T0
a093729d08b31175ed35cd20e889bd7094ce152a
[ "Apache-2.0" ]
6
2016-03-09T14:36:19.000Z
2021-07-27T01:28:00.000Z
src/python/T0/WMBS/Oracle/Tier0Feeder/MarkWorkflowsInjected.py
silviodonato/T0
a093729d08b31175ed35cd20e889bd7094ce152a
[ "Apache-2.0" ]
193
2015-01-07T21:03:43.000Z
2022-03-31T12:22:18.000Z
src/python/T0/WMBS/Oracle/Tier0Feeder/MarkWorkflowsInjected.py
silviodonato/T0
a093729d08b31175ed35cd20e889bd7094ce152a
[ "Apache-2.0" ]
36
2015-01-28T19:01:54.000Z
2021-12-15T17:18:20.000Z
""" _MarkWorkflowsInjected_ Oracle implementation of MarkWorkflowsInjected Implementation depends on whether we assume streamer notifications to P5 or not. with P5 streamer notifications: - Express sets a workflow to injected when the fileset is closed and all streamers are fed into the Tier0 - Repack has the ...
43.506494
106
0.640746
780
6,700
5.175641
0.134615
0.093634
0.103047
0.135249
0.805549
0.782512
0.766658
0.766658
0.766658
0.73842
0
0.003493
0.316269
6,700
153
107
43.79085
0.877756
0.092687
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.055556
false
0
0.055556
0
0.444444
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
8352fa26cedfddec0577ce8c31feb29b2f1ba68a
28
py
Python
doc/pyc_notes/test.py
plasma-umass/Ninia
b708b293cf899fd39312720aeb88ee06d8642a5b
[ "Apache-2.0" ]
20
2015-03-07T16:45:24.000Z
2021-08-10T02:23:22.000Z
doc/pyc_notes/test.py
plasma-umass/Ninia
b708b293cf899fd39312720aeb88ee06d8642a5b
[ "Apache-2.0" ]
39
2015-03-07T15:09:15.000Z
2015-09-21T20:16:31.000Z
doc/pyc_notes/test.py
plasma-umass/Ninia
b708b293cf899fd39312720aeb88ee06d8642a5b
[ "Apache-2.0" ]
28
2015-02-19T19:04:30.000Z
2018-05-04T02:48:18.000Z
def foo(x): return x+1
7
14
0.535714
6
28
2.5
0.833333
0
0
0
0
0
0
0
0
0
0
0.052632
0.321429
28
3
15
9.333333
0.736842
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
36160f4c202a1135e39b9d5a668475dba3cd685a
111
py
Python
test/testdata/demopackage/child_b.py
danielbosnich/pdoc
540e3b918d329db593315fb2b4533f26cb34147e
[ "Unlicense" ]
null
null
null
test/testdata/demopackage/child_b.py
danielbosnich/pdoc
540e3b918d329db593315fb2b4533f26cb34147e
[ "Unlicense" ]
null
null
null
test/testdata/demopackage/child_b.py
danielbosnich/pdoc
540e3b918d329db593315fb2b4533f26cb34147e
[ "Unlicense" ]
null
null
null
"""child_b docstr""" class B: """This class is defined in .child_b.""" def b(self): return 1
13.875
44
0.54955
17
111
3.470588
0.705882
0.20339
0
0
0
0
0
0
0
0
0
0.012658
0.288288
111
7
45
15.857143
0.734177
0.441441
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
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
36188846e066d469d36b43ff28cf81647d10bf6e
55,561
py
Python
util/data/gen/GDI32.dll.py
56kyle/bloons_auto
419d55b51d1cddc49099593970adf1c67985b389
[ "MIT" ]
null
null
null
util/data/gen/GDI32.dll.py
56kyle/bloons_auto
419d55b51d1cddc49099593970adf1c67985b389
[ "MIT" ]
null
null
null
util/data/gen/GDI32.dll.py
56kyle/bloons_auto
419d55b51d1cddc49099593970adf1c67985b389
[ "MIT" ]
null
null
null
symbols = [] exports = [{'type': 'function', 'name': 'AbortDoc', 'address': '0x7ffb3ca4caf0'}, {'type': 'function', 'name': 'AbortPath', 'address': '0x7ffb3ca48360'}, {'type': 'function', 'name': 'AddFontMemResourceEx', 'address': '0x7ffb3ca47270'}, {'type': 'function', 'name': 'AddFontResourceA', 'address': '0x7ffb3ca...
27,780.5
55,548
0.668526
4,284
55,561
8.662465
0.332866
0.228941
0.305255
0.004958
0.001994
0
0
0
0
0
0
0.100528
0.076529
55,561
2
55,548
27,780.5
0.622737
0
0
0
0
0
0.668262
0.056657
0
0
0.178395
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
366702a7bea314fdb0c667bd66f745c13650c475
32
py
Python
plotly/graph_objs/layout/geo/projection/__init__.py
gnestor/plotly.py
a8ae062795ddbf9867b8578fe6d9e244948c15ff
[ "MIT" ]
12
2020-04-18T18:10:22.000Z
2021-12-06T10:11:15.000Z
plotly/graph_objs/layout/geo/projection/__init__.py
Vesauza/plotly.py
e53e626d59495d440341751f60aeff73ff365c28
[ "MIT" ]
27
2020-04-28T21:23:12.000Z
2021-06-25T15:36:38.000Z
plotly/graph_objs/layout/geo/projection/__init__.py
Vesauza/plotly.py
e53e626d59495d440341751f60aeff73ff365c28
[ "MIT" ]
6
2020-04-18T23:07:08.000Z
2021-11-18T07:53:06.000Z
from ._rotation import Rotation
16
31
0.84375
4
32
6.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.125
32
1
32
32
0.928571
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
367ad9e868fdc92bf1106bd0a0294e86c61b8d04
3,433
py
Python
utils/data.py
valentingol/GANJax
ebcb8f4412277da2d9bda80282c2842d111bf393
[ "MIT" ]
9
2021-11-20T18:25:37.000Z
2021-12-13T23:32:35.000Z
utils/data.py
valentingol/GANJax
ebcb8f4412277da2d9bda80282c2842d111bf393
[ "MIT" ]
4
2021-12-04T15:30:58.000Z
2022-01-20T13:13:32.000Z
utils/data.py
valentingol/GANJax
ebcb8f4412277da2d9bda80282c2842d111bf393
[ "MIT" ]
3
2022-01-18T00:02:30.000Z
2022-03-10T09:22:43.000Z
import os import cv2 import tensorflow as tf def load_images_mnist(batch_size=128, seed=0): def prepare_dataset(X): X = tf.cast(X, tf.float32) # Normalization, pixels in [-1, 1] X = (X / 255.0) * 2.0 - 1.0 X = tf.expand_dims(X, axis=-1) # shape=(batch_size, 28, 28, 1) ...
36.521277
78
0.599184
496
3,433
3.953629
0.205645
0.055074
0.007649
0.032636
0.81438
0.81438
0.801632
0.801632
0.801632
0.767976
0
0.069237
0.25954
3,433
93
79
36.913978
0.702203
0.039324
0
0.597403
0
0
0.017922
0
0
0
0
0
0
1
0.103896
false
0
0.051948
0
0.233766
0.025974
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
368e9c12e0297fefb4fe9b2ee095cd519e135c37
27
py
Python
toolbox/pandas/__init__.py
Kristianuruplarsen/toolbox
27c17c293b489d134006677a6ee48fca9e0f95b7
[ "MIT" ]
null
null
null
toolbox/pandas/__init__.py
Kristianuruplarsen/toolbox
27c17c293b489d134006677a6ee48fca9e0f95b7
[ "MIT" ]
null
null
null
toolbox/pandas/__init__.py
Kristianuruplarsen/toolbox
27c17c293b489d134006677a6ee48fca9e0f95b7
[ "MIT" ]
null
null
null
from .pandastools import *
13.5
26
0.777778
3
27
7
1
0
0
0
0
0
0
0
0
0
0
0
0.148148
27
2
26
13.5
0.913043
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
3d3500afdeca23aeea3fc0a546d259dd3a5b415a
47
py
Python
arcade/intro/a. 5. shape-area/shape_area.py
jeury301/code-fights
379dd541aed0f3918cf1659b635ec51368b0b349
[ "MIT" ]
null
null
null
arcade/intro/a. 5. shape-area/shape_area.py
jeury301/code-fights
379dd541aed0f3918cf1659b635ec51368b0b349
[ "MIT" ]
null
null
null
arcade/intro/a. 5. shape-area/shape_area.py
jeury301/code-fights
379dd541aed0f3918cf1659b635ec51368b0b349
[ "MIT" ]
null
null
null
def shapeArea(n): return n*n + (n-1)*(n-1)
15.666667
28
0.531915
10
47
2.5
0.5
0.16
0
0
0
0
0
0
0
0
0
0.054054
0.212766
47
2
29
23.5
0.621622
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
3d3a522a1b480325628ecba69ec271a4adc2263e
4,888
py
Python
test/test_fitting.py
rycheung/py-cvm
a68cac8621311a50938f19a29997cc1a03126312
[ "MIT" ]
4
2019-01-06T15:55:13.000Z
2021-05-10T00:36:34.000Z
test/test_fitting.py
rycheung/py-cvm
a68cac8621311a50938f19a29997cc1a03126312
[ "MIT" ]
null
null
null
test/test_fitting.py
rycheung/py-cvm
a68cac8621311a50938f19a29997cc1a03126312
[ "MIT" ]
4
2019-01-06T15:55:16.000Z
2020-01-09T01:23:38.000Z
import sys import os sys.path.append( os.path.abspath( os.path.join(os.path.abspath(__file__), '..', '..') ) ) import fitting import numpy as np import matplotlib.pyplot as plt argv = sys.argv if len(argv) != 2: print("Usage: python test_fitting.py mle_norm|map_norm|by_norm|mle_cat|map_cat|by_cat...
33.027027
91
0.592676
735
4,888
3.786395
0.137415
0.021559
0.029105
0.017248
0.831477
0.810277
0.798419
0.785483
0.774704
0.774704
0
0.067568
0.258183
4,888
147
92
33.251701
0.699945
0
0
0.652542
0
0
0.074264
0.01964
0
0
0
0
0
1
0.008475
false
0
0.042373
0.008475
0.059322
0.050847
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
3d500c6130109bcd4760b4e6bd0ecc93512aecbc
46
py
Python
custom_logger/__init__.py
rsarun-uninstallio/custom_logger
e68a8bd00d53b23158b762d6071428a31b584318
[ "MIT" ]
null
null
null
custom_logger/__init__.py
rsarun-uninstallio/custom_logger
e68a8bd00d53b23158b762d6071428a31b584318
[ "MIT" ]
null
null
null
custom_logger/__init__.py
rsarun-uninstallio/custom_logger
e68a8bd00d53b23158b762d6071428a31b584318
[ "MIT" ]
null
null
null
from custom_logger import Logger, CustomLogger
46
46
0.891304
6
46
6.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.086957
46
1
46
46
0.952381
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
1864596a45287eda6a663708331559eae625c609
77
py
Python
chaco/scales/api.py
janvonrickenbach/Chaco_wxPhoenix_py3
21a10cfd81100f28e3fbc273357ac45642519f33
[ "BSD-3-Clause" ]
null
null
null
chaco/scales/api.py
janvonrickenbach/Chaco_wxPhoenix_py3
21a10cfd81100f28e3fbc273357ac45642519f33
[ "BSD-3-Clause" ]
null
null
null
chaco/scales/api.py
janvonrickenbach/Chaco_wxPhoenix_py3
21a10cfd81100f28e3fbc273357ac45642519f33
[ "BSD-3-Clause" ]
null
null
null
from .formatters import * from .scales import * from .time_scale import *
19.25
26
0.727273
10
77
5.5
0.6
0.363636
0
0
0
0
0
0
0
0
0
0
0.194805
77
3
27
25.666667
0.887097
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
1868c108b1da984c4678c4686b4ab50d24d6ec35
96
py
Python
venv/lib/python3.8/site-packages/poetry/core/masonry/utils/module.py
Retraces/UkraineBot
3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/poetry/core/masonry/utils/module.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/poetry/core/masonry/utils/module.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/52/d5/67/944ddc6491435833c217fdbdca7152531f1f52e300402d9c353e208b10
96
96
0.895833
9
96
9.555556
1
0
0
0
0
0
0
0
0
0
0
0.479167
0
96
1
96
96
0.416667
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
1873ab51910251d3f0f3ba5199fd3569647951ea
21,236
py
Python
ags_service_publisher/runner.py
cityofaustin/ags-service-publisher
0baa564ab7a3ec6b32ee30a6bbeec903008cdd46
[ "CC0-1.0" ]
12
2018-12-21T20:41:55.000Z
2021-04-16T12:43:20.000Z
ags_service_publisher/runner.py
cityofaustin/ags-service-publisher
0baa564ab7a3ec6b32ee30a6bbeec903008cdd46
[ "CC0-1.0" ]
null
null
null
ags_service_publisher/runner.py
cityofaustin/ags-service-publisher
0baa564ab7a3ec6b32ee30a6bbeec903008cdd46
[ "CC0-1.0" ]
1
2020-02-28T22:27:46.000Z
2020-02-28T22:27:46.000Z
from __future__ import unicode_literals import logging import os from ags_utils import prompt_for_credentials, generate_token, import_sde_connection_file, create_session from config_io import get_config, get_configs, set_config, default_config_dir from datasources import list_sde_connection_files_in_folder from extra...
41.968379
127
0.669759
2,164
21,236
6.137708
0.091497
0.068514
0.109095
0.030116
0.765698
0.74537
0.738368
0.734754
0.709682
0.709155
0
0.000516
0.270296
21,236
505
128
42.051485
0.856608
0
0
0.64916
1
0
0.03527
0
0
0
0
0
0
1
0.037815
false
0.006303
0.033613
0
0.096639
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
a13f10b3bd9f201d3f3876bda6fcf50f02a80d0b
31,001
py
Python
tests/simulations/zone/test_zone_fan_coil.py
john-grando/pyExpandObjects
c08b1d1bc45684bc71c0f49b4d2f22c707cd4aa4
[ "BSD-3-Clause" ]
null
null
null
tests/simulations/zone/test_zone_fan_coil.py
john-grando/pyExpandObjects
c08b1d1bc45684bc71c0f49b4d2f22c707cd4aa4
[ "BSD-3-Clause" ]
1
2021-02-03T01:56:56.000Z
2021-02-03T01:56:56.000Z
tests/simulations/zone/test_zone_fan_coil.py
john-grando/pyExpandObjects
c08b1d1bc45684bc71c0f49b4d2f22c707cd4aa4
[ "BSD-3-Clause" ]
1
2022-01-11T18:31:05.000Z
2022-01-11T18:31:05.000Z
from pathlib import Path from tests.simulations import BaseSimulationTest from src.epjson_handler import EPJSON test_dir = Path(__file__).parent.parent.parent design_specification_objects = { "DesignSpecification:OutdoorAir": { "SPACE1-1 SZ DSOA Custom Object": { "outdoor_air_flow_per_zone": ...
63.657084
140
0.723299
3,835
31,001
5.413038
0.053977
0.062527
0.095284
0.049713
0.889012
0.843008
0.820512
0.804952
0.774652
0.760634
0
0.011087
0.164995
31,001
486
141
63.788066
0.790852
0.001774
0
0.493274
0
0
0.37946
0.297473
0
0
0
0
0.08296
1
0.076233
false
0
0.006726
0.002242
0.161435
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
a16548038366fb15f9a80d214cb2f55158ba21ed
269
py
Python
sodar_cli/api/__init__.py
bihealth/sodar-cli
5fe56513565222eef125752119e634d36b3c8772
[ "MIT" ]
null
null
null
sodar_cli/api/__init__.py
bihealth/sodar-cli
5fe56513565222eef125752119e634d36b3c8772
[ "MIT" ]
5
2021-04-29T12:54:39.000Z
2021-08-16T15:05:33.000Z
sodar_cli/api/__init__.py
bihealth/sodar-cli
5fe56513565222eef125752119e634d36b3c8772
[ "MIT" ]
null
null
null
"""Code for accessing SODAR Server API.""" from sodar_cli.api import landingzone # noqa: F403, F401 from sodar_cli.api import project # noqa: F403, F401 from sodar_cli.api import samplesheet # noqa: F403, F401 from sodar_cli.api.models import * # noqa: F403, F401
38.428571
57
0.747212
42
269
4.690476
0.380952
0.182741
0.243655
0.304569
0.57868
0.472081
0.472081
0.335025
0
0
0
0.106195
0.159851
269
6
58
44.833333
0.765487
0.390335
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
b820feef2203e4e93fde798b4eedb6cfb5be6f62
9,118
py
Python
tests/logic/test_actions.py
NicolasCARPi/sampledb
d6fd0f4d28d05010d7e0c022fbf2576e25435077
[ "MIT" ]
null
null
null
tests/logic/test_actions.py
NicolasCARPi/sampledb
d6fd0f4d28d05010d7e0c022fbf2576e25435077
[ "MIT" ]
null
null
null
tests/logic/test_actions.py
NicolasCARPi/sampledb
d6fd0f4d28d05010d7e0c022fbf2576e25435077
[ "MIT" ]
null
null
null
# coding: utf-8 """ """ import pytest import sampledb from sampledb.logic import actions, errors, instruments, users, components SCHEMA = { 'title': 'Example Action', 'type': 'object', 'properties': { 'name': { 'title': 'Example Attribute', 'type': 'text' } }, ...
32.105634
145
0.703663
1,113
9,118
5.499551
0.072776
0.058814
0.078419
0.091488
0.82944
0.795295
0.7868
0.743833
0.71704
0.682078
0
0.008614
0.19785
9,118
283
146
32.219081
0.828275
0.001426
0
0.495455
0
0
0.019351
0.003958
0
0
0
0
0.2
1
0.127273
false
0
0.013636
0
0.145455
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
62a5b3c1df020b8a196eab0352bec3e297d64875
23
py
Python
spacex_manifest/db_tools/__init__.py
KieranWynn/spacex-manifest
e917d001b43588c9b67504520729056d21630934
[ "MIT" ]
1
2021-12-12T07:22:16.000Z
2021-12-12T07:22:16.000Z
spacex_manifest/db_tools/__init__.py
KieranWynn/spacex-manifest
e917d001b43588c9b67504520729056d21630934
[ "MIT" ]
57
2021-12-21T17:56:48.000Z
2022-03-06T21:17:39.000Z
spacex_manifest/db_tools/__init__.py
KieranWynn/spacex-manifest
e917d001b43588c9b67504520729056d21630934
[ "MIT" ]
5
2021-12-04T21:09:51.000Z
2022-01-29T16:14:02.000Z
from . import database
11.5
22
0.782609
3
23
6
1
0
0
0
0
0
0
0
0
0
0
0
0.173913
23
1
23
23
0.947368
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
62ce313624a042fe9dbeb1f50a53aab769ea015a
156
py
Python
accounts/forms.py
mcm66103/ez-django
2e097facc4fac99b9bae450147319120ba908902
[ "MIT" ]
1
2019-11-15T14:13:22.000Z
2019-11-15T14:13:22.000Z
accounts/forms.py
mcm66103/ez-django
2e097facc4fac99b9bae450147319120ba908902
[ "MIT" ]
11
2019-12-20T13:15:03.000Z
2022-03-12T00:04:36.000Z
accounts/forms.py
mcm66103/ez-django
2e097facc4fac99b9bae450147319120ba908902
[ "MIT" ]
null
null
null
from django import forms from django.contrib.auth.forms import AuthenticationForm from .models import Account class LoginForm(AuthenticationForm): pass
26
56
0.833333
19
156
6.842105
0.631579
0.153846
0
0
0
0
0
0
0
0
0
0
0.121795
156
6
57
26
0.948905
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.2
0.6
0
0.8
0
1
0
0
null
0
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
1a0481f096655b25ca371c5248084eb0942df859
10,218
py
Python
tests/test_migrate_command.py
joehybird/django-north
b18c744689a8e7464ad005bc208d7d8c95a49bcc
[ "MIT" ]
null
null
null
tests/test_migrate_command.py
joehybird/django-north
b18c744689a8e7464ad005bc208d7d8c95a49bcc
[ "MIT" ]
null
null
null
tests/test_migrate_command.py
joehybird/django-north
b18c744689a8e7464ad005bc208d7d8c95a49bcc
[ "MIT" ]
null
null
null
import os.path from django.core.management import call_command from django.db import connection from django.db import DEFAULT_DB_ALIAS import pytest from django_north.management.commands import migrate @pytest.mark.parametrize("manage", [True, False, None]) def test_migrate(mocker, settings, manage): if manage...
33.722772
78
0.595518
1,194
10,218
4.865159
0.093802
0.04648
0.055948
0.052677
0.839559
0.813393
0.813393
0.799793
0.772422
0.762093
0
0.021106
0.281268
10,218
302
79
33.834437
0.76988
0.010863
0
0.666667
0
0
0.242946
0.118602
0
0
0
0
0.139535
1
0.023256
false
0
0.023256
0
0.046512
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
c56b5080390f530455bf8a74fb7a1d547e5d542d
147
py
Python
pineboolib/q3widgets/qdatetime.py
Aulla/pineboo
3ad6412d365a6ad65c3bb2bdc03f5798d7c37004
[ "MIT" ]
2
2017-12-10T23:06:16.000Z
2017-12-10T23:06:23.000Z
pineboolib/q3widgets/qdatetime.py
Aulla/pineboo
3ad6412d365a6ad65c3bb2bdc03f5798d7c37004
[ "MIT" ]
36
2017-11-05T21:13:47.000Z
2020-08-26T15:56:15.000Z
pineboolib/q3widgets/qdatetime.py
Aulla/pineboo
3ad6412d365a6ad65c3bb2bdc03f5798d7c37004
[ "MIT" ]
8
2017-11-05T15:56:31.000Z
2019-04-25T16:32:28.000Z
"""Qdatetime module.""" from PyQt6 import QtCore # type: ignore[import] class QDateTime(QtCore.QDateTime): """QDateTime class.""" pass
16.333333
48
0.673469
16
147
6.1875
0.625
0
0
0
0
0
0
0
0
0
0
0.008264
0.176871
147
8
49
18.375
0.809917
0.380952
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
c577eddea9127c86484f30f414acd8c5e069ee62
6,882
py
Python
neuronpp_gym/agents/utils.py
ziemowit-s/neuronpp_gym
c9d7672ab4b1365afce9aed664a3c0c199616a85
[ "MIT" ]
1
2020-05-15T12:45:07.000Z
2020-05-15T12:45:07.000Z
neuronpp_gym/agents/utils.py
ziemowit-s/neuronpp_gym
c9d7672ab4b1365afce9aed664a3c0c199616a85
[ "MIT" ]
1
2020-05-15T12:45:13.000Z
2020-05-15T12:45:13.000Z
neuronpp_gym/agents/utils.py
ziemowit-s/neuronpp_gym
c9d7672ab4b1365afce9aed664a3c0c199616a85
[ "MIT" ]
2
2020-02-13T08:02:35.000Z
2020-03-05T11:32:06.000Z
import numpy as np from neuronpp.cells.cell import Cell from neuronpp.cells.ebner2019_ach_da_cell import Ebner2019AChDACell from neuronpp.cells.ebner2019_cell import Ebner2019Cell from neuronpp.core.distributions import UniformTruncatedDist from neuronpp.core.populations.population import Population def make_hh_netw...
44.688312
96
0.666812
1,037
6,882
4.176471
0.12054
0.030016
0.033018
0.02078
0.830986
0.810898
0.808589
0.788963
0.783653
0.783653
0
0.043794
0.200378
6,882
153
97
44.980392
0.743231
0
0
0.634328
0
0
0.071781
0.026736
0
0
0
0
0
1
0.067164
false
0
0.044776
0
0.179104
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
3d847228cccdaa2ebeb7120a1f06c3e158d9cf02
96
py
Python
venv/lib/python3.8/site-packages/numpy/compat/__init__.py
Retraces/UkraineBot
3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/numpy/compat/__init__.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/numpy/compat/__init__.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/bc/36/83/3f0636a8110a8b1b087e3c0f8f229e5a2c9683490f25d81c4b1b9af11f
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
3d9b8973286a42f7e6a3cab23ff8193a89ccc223
44
py
Python
Algorithm/Decision Tree/code/tree0.py
Answer1994/Code-Exercise
bceaa9b233786c88509348dff7066fe903da68db
[ "Apache-2.0" ]
null
null
null
Algorithm/Decision Tree/code/tree0.py
Answer1994/Code-Exercise
bceaa9b233786c88509348dff7066fe903da68db
[ "Apache-2.0" ]
null
null
null
Algorithm/Decision Tree/code/tree0.py
Answer1994/Code-Exercise
bceaa9b233786c88509348dff7066fe903da68db
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -* import numpy as np
8.8
22
0.568182
7
44
3.571429
1
0
0
0
0
0
0
0
0
0
0
0.030303
0.25
44
4
23
11
0.727273
0.454545
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
3dc8aa3b26ec556e22b5d52590425c9ec403c906
3,015
py
Python
codes/HierarchicalDQN/train.py
johnjim0816/rl-tutorials
5d271a43e7b24e9b0d982636d44159e25d4ae30e
[ "MIT" ]
33
2021-11-09T03:14:49.000Z
2022-03-29T03:31:04.000Z
codes/HierarchicalDQN/train.py
johnjim0816/rl-tutorials
5d271a43e7b24e9b0d982636d44159e25d4ae30e
[ "MIT" ]
3
2021-11-16T08:52:00.000Z
2022-02-25T09:09:37.000Z
codes/HierarchicalDQN/train.py
johnjim0816/rl-tutorials
5d271a43e7b24e9b0d982636d44159e25d4ae30e
[ "MIT" ]
11
2021-11-01T15:36:25.000Z
2022-03-29T03:06:45.000Z
import sys import os curr_path = os.path.dirname(os.path.abspath(__file__)) # 当前文件所在绝对路径 parent_path = os.path.dirname(curr_path) # 父路径 sys.path.append(parent_path) # 添加路径到系统路径 import numpy as np def train(cfg, env, agent): print('开始训练!') print(f'环境:{cfg.env_name}, 算法:{cfg.algo_name}, 设备:{cfg.device}') ...
39.155844
131
0.573134
390
3,015
4.205128
0.2
0.065854
0.045732
0.036585
0.757317
0.757317
0.757317
0.757317
0.757317
0.757317
0
0.015385
0.310116
3,015
77
132
39.155844
0.773077
0.023881
0
0.783784
0
0.027027
0.117847
0.073569
0
0
0
0
0
1
0.027027
false
0
0.040541
0
0.094595
0.108108
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
3debbc99d771d7282851eddfb7fbe287acdf1be0
60
py
Python
code.py
samuEl-FS/assessmnetonboarding
f67184733a60912f45cf3fc5916c63d33ef473be
[ "MIT" ]
null
null
null
code.py
samuEl-FS/assessmnetonboarding
f67184733a60912f45cf3fc5916c63d33ef473be
[ "MIT" ]
null
null
null
code.py
samuEl-FS/assessmnetonboarding
f67184733a60912f45cf3fc5916c63d33ef473be
[ "MIT" ]
null
null
null
# -------------- "solution" # -------------- "solution"
6.666667
16
0.266667
2
60
8
0.5
0
0
0
0
0
0
0
0
0
0
0
0.166667
60
8
17
7.5
0.32
0.65
0
1
0
0
0.615385
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
3df50d711c94a9cebb25504f6ff66406d8af711b
74
py
Python
JupyterHTMLSlides/utils/__init__.py
williamegomezo/JupyterSlides
403fe15e360eb1d79bf813b923eb569a81ab0934
[ "MIT" ]
1
2019-07-26T20:59:47.000Z
2019-07-26T20:59:47.000Z
JupyterHTMLSlides/utils/__init__.py
williamegomezo/JupyterSlides
403fe15e360eb1d79bf813b923eb569a81ab0934
[ "MIT" ]
null
null
null
JupyterHTMLSlides/utils/__init__.py
williamegomezo/JupyterSlides
403fe15e360eb1d79bf813b923eb569a81ab0934
[ "MIT" ]
null
null
null
from .html_loader import html_loader from .get_content import get_content
24.666667
36
0.864865
12
74
5
0.5
0.333333
0
0
0
0
0
0
0
0
0
0
0.108108
74
2
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
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
9a782c9b867ad73aec13f540ee614300096fc533
200
py
Python
notifier/modules/vpn.py
cboiangiu/product-in-stock-notifier
b1f6adb9420dc1abeaf2796a14d81d5f371b3368
[ "MIT" ]
null
null
null
notifier/modules/vpn.py
cboiangiu/product-in-stock-notifier
b1f6adb9420dc1abeaf2796a14d81d5f371b3368
[ "MIT" ]
null
null
null
notifier/modules/vpn.py
cboiangiu/product-in-stock-notifier
b1f6adb9420dc1abeaf2796a14d81d5f371b3368
[ "MIT" ]
null
null
null
from expressvpn import connect_alias, disconnect def reconnect(country_code): disconnect() connect_alias(alias=country_code) def connect(country_code): connect_alias(alias=country_code)
22.222222
48
0.795
25
200
6.08
0.4
0.289474
0.223684
0.315789
0.368421
0
0
0
0
0
0
0
0.13
200
8
49
25
0.873563
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0
0.5
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
6
9a8e0b89481954dd7fb9d23440604657da211035
2,205
py
Python
test/test_msgfy.py
thombashi/msgfy
63e1bcef4cbeb4f96e26eef1b80d017e8ff2d8d5
[ "MIT" ]
2
2020-07-31T01:11:14.000Z
2022-01-05T20:27:09.000Z
test/test_msgfy.py
thombashi/msgfy
63e1bcef4cbeb4f96e26eef1b80d017e8ff2d8d5
[ "MIT" ]
null
null
null
test/test_msgfy.py
thombashi/msgfy
63e1bcef4cbeb4f96e26eef1b80d017e8ff2d8d5
[ "MIT" ]
null
null
null
""" .. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com> """ import pytest import msgfy class Test_to_error_message: def test_normal_smoke(self): assert msgfy.to_error_message(ValueError("test")) @pytest.mark.parametrize( ["format_str"], [ ["{exception} {file_...
33.409091
83
0.626304
245
2,205
5.310204
0.159184
0.12452
0.079939
0.055342
0.919293
0.919293
0.919293
0.911606
0.911606
0.803997
0
0.001171
0.225397
2,205
65
84
33.923077
0.760539
0.028571
0
0.68
0
0
0.162137
0.020619
0
0
0
0
0.16
1
0.16
false
0
0.04
0
0.24
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
b12ee511c7c9fcd0e81e41f21b2892ec8a52babc
39
py
Python
contextlab/layers/gcnet/__init__.py
SHTUPLUS/ContextLab
4e12f0af9d0640f29c763b915f02de763b577200
[ "MIT" ]
41
2019-09-28T08:12:34.000Z
2021-03-17T02:52:17.000Z
contextlab/layers/gcnet/__init__.py
SHTUPLUS/ContextLab
4e12f0af9d0640f29c763b915f02de763b577200
[ "MIT" ]
null
null
null
contextlab/layers/gcnet/__init__.py
SHTUPLUS/ContextLab
4e12f0af9d0640f29c763b915f02de763b577200
[ "MIT" ]
4
2019-12-24T08:59:35.000Z
2022-02-26T14:39:23.000Z
from .gcnet import GlobalContextBlock2d
39
39
0.897436
4
39
8.75
1
0
0
0
0
0
0
0
0
0
0
0.027778
0.076923
39
1
39
39
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
b12f4735b49ff6152b78493be99d30fb918d6982
187
py
Python
woke/woke/d_compile/__init__.py
Ackee-Blockchain/woke
0d27de25720142beb9619a89619b7a94c3556af1
[ "ISC" ]
7
2022-01-28T06:50:00.000Z
2022-02-14T11:34:32.000Z
woke/woke/d_compile/__init__.py
Ackee-Blockchain/woke
0d27de25720142beb9619a89619b7a94c3556af1
[ "ISC" ]
30
2022-01-26T17:54:48.000Z
2022-03-21T12:33:53.000Z
woke/woke/d_compile/__init__.py
Ackee-Blockchain/woke
0d27de25720142beb9619a89619b7a94c3556af1
[ "ISC" ]
null
null
null
from .compiler import SolidityCompiler from .solc_frontend.input_data_model import SolcOutputSelectionEnum from .solc_frontend.output_data_model import SolcOutput, SolcOutputContractInfo
46.75
79
0.898396
21
187
7.714286
0.619048
0.098765
0.197531
0
0
0
0
0
0
0
0
0
0.069519
187
3
80
62.333333
0.931034
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
b1479e9846030490caa4cb3f1164033665f654f1
104
py
Python
CWiPy/__init__.py
CWiPylib/CWiPy
76554c8656c08f11ea95e68956b8ab42288d30b4
[ "MIT" ]
2
2020-05-22T15:02:30.000Z
2020-05-22T21:10:32.000Z
CWiPy/__init__.py
CWiPylib/CWiPy
76554c8656c08f11ea95e68956b8ab42288d30b4
[ "MIT" ]
9
2022-02-13T16:10:29.000Z
2022-02-13T16:26:28.000Z
CWiPy/__init__.py
CWiPylib/CWiPy
76554c8656c08f11ea95e68956b8ab42288d30b4
[ "MIT" ]
3
2020-05-18T18:53:32.000Z
2021-01-11T02:17:52.000Z
""" CWiPy - Computing with words in Python """ from CWiPy.scripts import * from CWiPy.summary import *
14.857143
38
0.721154
14
104
5.357143
0.714286
0.24
0
0
0
0
0
0
0
0
0
0
0.173077
104
6
39
17.333333
0.872093
0.365385
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
b147e523d845500bba73f89bc529ae5d04d27f8a
22
py
Python
tests/conftest.py
Natsku123/pygw2
c8e579c07f4d33c7afadc8dee510be0a5e71d16e
[ "MIT" ]
1
2020-01-19T21:27:53.000Z
2020-01-19T21:27:53.000Z
tests/conftest.py
Natsku123/pygw2
c8e579c07f4d33c7afadc8dee510be0a5e71d16e
[ "MIT" ]
1
2021-12-09T21:18:13.000Z
2021-12-09T21:18:13.000Z
tests/conftest.py
Natsku123/pygw2
c8e579c07f4d33c7afadc8dee510be0a5e71d16e
[ "MIT" ]
null
null
null
from . import get_api
11
21
0.772727
4
22
4
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
b199edab464bc01ac6305b923cb66cd170d88cc6
2,106
py
Python
src/tests/test_exemplars_dataset.py
dberga/FACIL
c11dd157bc53cfac91814a52c57bddc385365c61
[ "MIT" ]
null
null
null
src/tests/test_exemplars_dataset.py
dberga/FACIL
c11dd157bc53cfac91814a52c57bddc385365c61
[ "MIT" ]
null
null
null
src/tests/test_exemplars_dataset.py
dberga/FACIL
c11dd157bc53cfac91814a52c57bddc385365c61
[ "MIT" ]
null
null
null
import multiprocessing import pytest # easy debug: multiprocessing.set_start_method('spawn', True) from main_incremental import main FAST_LOCAL_TEST_ARGS = "--exp_name local_test --datasets mnist" \ " --network LeNet --num_tasks 3 --seed 1 --batch_size 32" \ " --results...
31.432836
83
0.666192
266
2,106
4.857143
0.266917
0.204334
0.120743
0.092105
0.702786
0.702786
0.702786
0.702786
0.702786
0.702786
0
0.015729
0.2151
2,106
66
84
31.909091
0.76588
0.018993
0
0.612245
0
0
0.289384
0.048473
0
0
0
0
0
1
0.122449
false
0
0.061224
0
0.183673
0.122449
0
0
0
null
1
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b1a7c735928d5a4078e6c503499e6fbda65ae842
51
py
Python
cypherpunkpay/usecases/__init__.py
RandyMcMillan/CypherpunkPay
997fc1e06865d6be75c46b719e673b2f50546f44
[ "MIT", "Unlicense" ]
null
null
null
cypherpunkpay/usecases/__init__.py
RandyMcMillan/CypherpunkPay
997fc1e06865d6be75c46b719e673b2f50546f44
[ "MIT", "Unlicense" ]
null
null
null
cypherpunkpay/usecases/__init__.py
RandyMcMillan/CypherpunkPay
997fc1e06865d6be75c46b719e673b2f50546f44
[ "MIT", "Unlicense" ]
null
null
null
from abc import ABC class UseCase(ABC): pass
8.5
19
0.686275
8
51
4.375
0.75
0
0
0
0
0
0
0
0
0
0
0
0.254902
51
5
20
10.2
0.921053
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
4923ccbabba816038f17544ab1af590176198e45
135
py
Python
storyhub/sdk/service/output/OutputInt.py
wilzbach/hub-sdk-python
3dd2a3112276068080751198cb1fcc29975c0136
[ "Apache-2.0" ]
null
null
null
storyhub/sdk/service/output/OutputInt.py
wilzbach/hub-sdk-python
3dd2a3112276068080751198cb1fcc29975c0136
[ "Apache-2.0" ]
null
null
null
storyhub/sdk/service/output/OutputInt.py
wilzbach/hub-sdk-python
3dd2a3112276068080751198cb1fcc29975c0136
[ "Apache-2.0" ]
null
null
null
from storyhub.sdk.service.output.OutputBase import OutputBase class OutputInt(OutputBase): """ A service output Int. """
16.875
61
0.703704
15
135
6.333333
0.733333
0.273684
0
0
0
0
0
0
0
0
0
0
0.192593
135
7
62
19.285714
0.87156
0.155556
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
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
493e8adabeea7ba2bc232dea1628f8511360c640
3,034
py
Python
config.py
nas3444/capstoneproject
6653591ecf26fc466a3429969c514563b00f17cd
[ "PostgreSQL", "MIT" ]
null
null
null
config.py
nas3444/capstoneproject
6653591ecf26fc466a3429969c514563b00f17cd
[ "PostgreSQL", "MIT" ]
null
null
null
config.py
nas3444/capstoneproject
6653591ecf26fc466a3429969c514563b00f17cd
[ "PostgreSQL", "MIT" ]
null
null
null
import os SECRET_KEY = os.urandom(32) # Grabs the folder where the script runs. basedir = os.path.abspath(os.path.dirname(__file__)) DEBUG = True # create the database uri class DatabaseURI: DATABASE_NAME = 'capstone' username = 'postgres' password = 'root' url = 'localhost:5432' # SQLALCHEMY_D...
126.416667
862
0.933751
120
3,034
23.333333
0.808333
0.011786
0.015
0.022143
0
0
0
0
0
0
0
0.131928
0.030653
3,034
24
862
126.416667
0.820129
0.054054
0
0
0
0.076923
0.892533
0.88067
0
0
0
0
0
1
0
false
0.076923
0.076923
0
0.538462
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
1
0
0
1
0
0
6
4961250407005ae0b8577efe9eb1a4455b95c50e
153
py
Python
src/pages/about_us_page.py
kryvokhyzha/gradient-descent
c9b6c0a483c5c1495b219167d61b0c211c783364
[ "MIT" ]
1
2021-02-22T20:02:21.000Z
2021-02-22T20:02:21.000Z
src/pages/about_us_page.py
kryvokhyzha/gradient-descent
c9b6c0a483c5c1495b219167d61b0c211c783364
[ "MIT" ]
null
null
null
src/pages/about_us_page.py
kryvokhyzha/gradient-descent
c9b6c0a483c5c1495b219167d61b0c211c783364
[ "MIT" ]
1
2020-05-31T22:31:23.000Z
2020-05-31T22:31:23.000Z
import streamlit as st from helper import markdown_to_string def about_us_page(): st.markdown(markdown_to_string('data/markdown/about_us_page.md'))
25.5
69
0.810458
25
153
4.64
0.6
0.172414
0.275862
0
0
0
0
0
0
0
0
0
0.104575
153
5
70
30.6
0.846715
0
0
0
0
0
0.196078
0.196078
0
0
0
0
0
1
0.25
true
0
0.5
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
1
1
0
1
0
0
0
0
6
b8d99b85e772258f9fa8db4ffcc43de5c3b5c6f6
188
py
Python
control_panel/config.py
uzum/cran-orchestrator
c2235bf324c8c04e82960ca58ec49f2f700c065d
[ "MIT" ]
null
null
null
control_panel/config.py
uzum/cran-orchestrator
c2235bf324c8c04e82960ca58ec49f2f700c065d
[ "MIT" ]
null
null
null
control_panel/config.py
uzum/cran-orchestrator
c2235bf324c8c04e82960ca58ec49f2f700c065d
[ "MIT" ]
null
null
null
CP_SERVICE_PORT = 5000 LG_SERVICE_URL = "http://127.0.0.1:5001" RM_SERVICE_URL = "http://127.0.0.1:5002" OC_SERVICE_URL = "http://127.0.0.1:5003" LC_SERVICE_URL = "http://127.0.0.1:5004"
26.857143
40
0.696809
40
188
3.025
0.425
0.330579
0.46281
0.561983
0.661157
0.661157
0.661157
0
0
0
0
0.255814
0.085106
188
6
41
31.333333
0.447674
0
0
0
0
0
0.446809
0
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
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b8eded87e2039984a1a6fa890d59e9c77ae7f9ee
89
py
Python
lasttester/core/built_in/__init__.py
gitdachong/lasttester
4c637d7704e9d577050e666f6ce01fc5d3752044
[ "MIT" ]
null
null
null
lasttester/core/built_in/__init__.py
gitdachong/lasttester
4c637d7704e9d577050e666f6ce01fc5d3752044
[ "MIT" ]
null
null
null
lasttester/core/built_in/__init__.py
gitdachong/lasttester
4c637d7704e9d577050e666f6ce01fc5d3752044
[ "MIT" ]
null
null
null
from .built_in_loader import built_in_functions from .variables import built_in_variables
44.5
47
0.898876
14
89
5.285714
0.5
0.283784
0.351351
0
0
0
0
0
0
0
0
0
0.078652
89
2
48
44.5
0.902439
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
773dfa77afe25f1210fc34b71125011187c7ea62
4,080
py
Python
company/management/commands/tests/test_retrieve_missing_company_details.py
konradko/directory-api
e9cd05b1deaf575e94352c46ddbd1857d8119fda
[ "MIT" ]
1
2021-11-06T12:08:26.000Z
2021-11-06T12:08:26.000Z
company/management/commands/tests/test_retrieve_missing_company_details.py
konradko/directory-api
e9cd05b1deaf575e94352c46ddbd1857d8119fda
[ "MIT" ]
null
null
null
company/management/commands/tests/test_retrieve_missing_company_details.py
konradko/directory-api
e9cd05b1deaf575e94352c46ddbd1857d8119fda
[ "MIT" ]
null
null
null
import datetime from unittest.mock import patch from directory_constants import company_types import pytest from django.core.management import call_command from company import helpers from company.tests.factories import CompanyFactory @pytest.mark.django_db @patch.object(helpers, 'get_companies_house_profile') def...
35.478261
77
0.746569
525
4,080
5.386667
0.135238
0.040311
0.094059
0.152758
0.879066
0.862801
0.850424
0.835926
0.835926
0.835926
0
0.032973
0.160049
4,080
114
78
35.789474
0.792238
0
0
0.677083
0
0
0.202451
0.09902
0
0
0
0
0.177083
1
0.0625
false
0
0.072917
0
0.135417
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
7749d60f64713a76349371f27318e80db6e15efe
124
py
Python
credential_holder/__init__.py
bmpang/PythonCredentialHolderClass
eb0de1cd2af8132f93a3c56d6217dcf017251bbb
[ "MIT" ]
null
null
null
credential_holder/__init__.py
bmpang/PythonCredentialHolderClass
eb0de1cd2af8132f93a3c56d6217dcf017251bbb
[ "MIT" ]
null
null
null
credential_holder/__init__.py
bmpang/PythonCredentialHolderClass
eb0de1cd2af8132f93a3c56d6217dcf017251bbb
[ "MIT" ]
null
null
null
from credential_holder.holder import CredentialHolder from credential_holder.serializer import CredentialHolderSerializer
41.333333
68
0.903226
12
124
9.166667
0.583333
0.254545
0.363636
0
0
0
0
0
0
0
0
0
0.080645
124
2
69
62
0.964912
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
622137fc619569300c2cb333c04880a906a36db3
144
py
Python
temboo/core/Library/Dropbox/Account/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
7
2016-03-07T02:07:21.000Z
2022-01-21T02:22:41.000Z
temboo/core/Library/Dropbox/Account/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
null
null
null
temboo/core/Library/Dropbox/Account/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
8
2016-06-14T06:01:11.000Z
2020-04-22T09:21:44.000Z
from temboo.Library.Dropbox.Account.AccountInfo import AccountInfo, AccountInfoInputSet, AccountInfoResultSet, AccountInfoChoreographyExecution
72
143
0.902778
11
144
11.818182
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.048611
144
1
144
144
0.948905
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
6250218584258a34bb6bcbd5b5c7205949129cbb
94
py
Python
flowvision/models/detection/__init__.py
ZiqiuChi/vision
b5ecf5431f7767d8920a69005e7822185ad31f81
[ "BSD-3-Clause" ]
null
null
null
flowvision/models/detection/__init__.py
ZiqiuChi/vision
b5ecf5431f7767d8920a69005e7822185ad31f81
[ "BSD-3-Clause" ]
null
null
null
flowvision/models/detection/__init__.py
ZiqiuChi/vision
b5ecf5431f7767d8920a69005e7822185ad31f81
[ "BSD-3-Clause" ]
null
null
null
from .faster_rcnn import * from .retinanet import * from .ssd import * from .ssdlite import *
18.8
26
0.744681
13
94
5.307692
0.538462
0.434783
0
0
0
0
0
0
0
0
0
0
0.170213
94
4
27
23.5
0.884615
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
6271ba07d05ef73a0e075c664f6ba5e669320f9e
26
py
Python
server/lib/tasks/python/ivis/__init__.py
dburian/ivis-core
7789821c3750ccab68396aa2bfdd405fd4d21520
[ "MIT" ]
2
2021-05-17T13:20:56.000Z
2021-11-04T16:36:29.000Z
server/lib/tasks/python/ivis/__init__.py
dburian/ivis-core
7789821c3750ccab68396aa2bfdd405fd4d21520
[ "MIT" ]
37
2019-05-08T04:53:58.000Z
2022-03-02T03:50:42.000Z
server/lib/tasks/python/ivis/__init__.py
dburian/ivis-core
7789821c3750ccab68396aa2bfdd405fd4d21520
[ "MIT" ]
12
2019-04-06T15:00:32.000Z
2021-11-06T08:56:07.000Z
from .helpers import ivis
13
25
0.807692
4
26
5.25
1
0
0
0
0
0
0
0
0
0
0
0
0.153846
26
1
26
26
0.954545
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
627cb3b39d546badb4943297cdc34a8129f96823
35
py
Python
Calculator/squared.py
zc256/PythonCalculator
3267a0809dbc28e437337c68f93a9205c0532563
[ "MIT" ]
null
null
null
Calculator/squared.py
zc256/PythonCalculator
3267a0809dbc28e437337c68f93a9205c0532563
[ "MIT" ]
null
null
null
Calculator/squared.py
zc256/PythonCalculator
3267a0809dbc28e437337c68f93a9205c0532563
[ "MIT" ]
null
null
null
def squared(a): return float(a)**2
17.5
19
0.685714
7
35
3.428571
0.857143
0
0
0
0
0
0
0
0
0
0
0.032258
0.114286
35
2
19
17.5
0.741935
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
6285f94dc99e72b345888f47acd627dffdb57ef6
273
py
Python
bitmovin_api_sdk/encoding/outputs/local/__init__.py
jaythecaesarean/bitmovin-api-sdk-python
48166511fcb9082041c552ace55a9b66cc59b794
[ "MIT" ]
11
2019-07-03T10:41:16.000Z
2022-02-25T21:48:06.000Z
bitmovin_api_sdk/encoding/outputs/local/__init__.py
jaythecaesarean/bitmovin-api-sdk-python
48166511fcb9082041c552ace55a9b66cc59b794
[ "MIT" ]
8
2019-11-23T00:01:25.000Z
2021-04-29T12:30:31.000Z
bitmovin_api_sdk/encoding/outputs/local/__init__.py
jaythecaesarean/bitmovin-api-sdk-python
48166511fcb9082041c552ace55a9b66cc59b794
[ "MIT" ]
13
2020-01-02T14:58:18.000Z
2022-03-26T12:10:30.000Z
from bitmovin_api_sdk.encoding.outputs.local.local_api import LocalApi from bitmovin_api_sdk.encoding.outputs.local.customdata.customdata_api import CustomdataApi from bitmovin_api_sdk.encoding.outputs.local.local_output_list_query_params import LocalOutputListQueryParams
68.25
109
0.908425
37
273
6.378378
0.432432
0.152542
0.190678
0.228814
0.525424
0.525424
0.525424
0.364407
0
0
0
0
0.043956
273
3
110
91
0.904215
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
628acd81850cef21ad7f13e9603d99194ba6415e
6,912
py
Python
tests/Unit/Evolution/Systems/NewtonianEuler/BoundaryCorrections/Rusanov.py
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
tests/Unit/Evolution/Systems/NewtonianEuler/BoundaryCorrections/Rusanov.py
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
tests/Unit/Evolution/Systems/NewtonianEuler/BoundaryCorrections/Rusanov.py
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
# Distributed under the MIT License. # See LICENSE.txt for details. import numpy as np def dg_package_data_mass_density( mass_density, momentum_density, energy_density, flux_mass_density, flux_momentum_density, flux_energy_density, velocity, specific_internal_energy, normal_covector, mesh_velocity, n...
44.883117
78
0.756655
868
6,912
5.432028
0.081797
0.082078
0.090986
0.066808
0.899682
0.891198
0.853234
0.846448
0.823542
0.820997
0
0.006794
0.190828
6,912
153
79
45.176471
0.836224
0.009115
0
0.674419
0
0
0.002337
0
0
0
0
0
0
1
0.077519
false
0
0.007752
0.046512
0.193798
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
656f22cb06ee352b924ca27f4c52d57ca64b0326
3,497
py
Python
hubconf.py
1uka/open-unmix-pytorch
780c0c52328693ebe586962dd4ad303ff24b8602
[ "MIT" ]
5
2020-05-19T14:15:59.000Z
2021-06-03T01:56:14.000Z
hubconf.py
1uka/open-unmix-pytorch
780c0c52328693ebe586962dd4ad303ff24b8602
[ "MIT" ]
null
null
null
hubconf.py
1uka/open-unmix-pytorch
780c0c52328693ebe586962dd4ad303ff24b8602
[ "MIT" ]
4
2020-07-23T07:25:11.000Z
2022-01-12T15:27:37.000Z
import utils import torch.hub # Optional list of dependencies required by the package dependencies = ['torch', 'numpy'] def umxhq( target='vocals', device='cpu', pretrained=True, *args, **kwargs ): """ Open Unmix 2-channel/stereo BiLSTM Model trained on MUSDB18-HQ Args: target (str): select...
31.504505
105
0.634544
443
3,497
4.909707
0.27088
0.04046
0.051494
0.062529
0.902069
0.902069
0.902069
0.87908
0.87908
0.87908
0
0.105324
0.258793
3,497
110
106
31.790909
0.733796
0.316557
0
0.676923
0
0.123077
0.32132
0
0
0
0
0
0
1
0.030769
false
0
0.061538
0
0.123077
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
02dc5986b7495046f72cdcf9acb44e4aa3528e5b
46
py
Python
LAB/sizks/Hello.py
Gazelle9/HelloPython3
aead73494d1605f64110c826e232825389d3569e
[ "Apache-2.0" ]
null
null
null
LAB/sizks/Hello.py
Gazelle9/HelloPython3
aead73494d1605f64110c826e232825389d3569e
[ "Apache-2.0" ]
null
null
null
LAB/sizks/Hello.py
Gazelle9/HelloPython3
aead73494d1605f64110c826e232825389d3569e
[ "Apache-2.0" ]
null
null
null
def sayHello(): print('Hello, everybody!')
23
30
0.652174
5
46
6
1
0
0
0
0
0
0
0
0
0
0
0
0.152174
46
2
30
23
0.769231
0
0
0
0
0
0.361702
0
0
0
0
0
0
1
0.5
true
0
0
0
0.5
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
1
0
6
02facabcbccc72ba443532c15467724a6c3cd305
93
py
Python
axon/train/trainer.py
CONABIO-audio/axon
a08cdac7b7b531ea2218ef8866f8125560bf6414
[ "BSD-4-Clause" ]
null
null
null
axon/train/trainer.py
CONABIO-audio/axon
a08cdac7b7b531ea2218ef8866f8125560bf6414
[ "BSD-4-Clause" ]
3
2020-03-31T11:11:07.000Z
2021-08-23T20:37:40.000Z
axon/train/trainer.py
CONABIO-audio/axon
a08cdac7b7b531ea2218ef8866f8125560bf6414
[ "BSD-4-Clause" ]
null
null
null
from abc import ABC from axon.process import Process class Trainer(Process, ABC): pass
13.285714
32
0.752688
14
93
5
0.571429
0
0
0
0
0
0
0
0
0
0
0
0.193548
93
6
33
15.5
0.933333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.25
0.5
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
f3005fa5371a1b72d69ae16f4c0adb64d0fd8848
6,628
py
Python
wikitas_tools/pathfinding.py
Yik-Wee/wikitas
0614b288126e7635aedb75bb32d40333d6376dcd
[ "MIT" ]
null
null
null
wikitas_tools/pathfinding.py
Yik-Wee/wikitas
0614b288126e7635aedb75bb32d40333d6376dcd
[ "MIT" ]
null
null
null
wikitas_tools/pathfinding.py
Yik-Wee/wikitas
0614b288126e7635aedb75bb32d40333d6376dcd
[ "MIT" ]
null
null
null
""" Different functions to find (possibly shortest) paths from wikipedia page A to page B """ from typing import List, Optional from queue import Queue from .tree import Tree from .wikiapi import wikititle, get_links, get_links_parallel from .word_utils import similarity, get_words, get_words_with_categories from .wiki...
29.589286
98
0.590223
834
6,628
4.533573
0.171463
0.04073
0.021158
0.019836
0.79635
0.779952
0.759852
0.745041
0.745041
0.739751
0
0.003095
0.317441
6,628
223
99
29.721973
0.83267
0.206548
0
0.913043
0
0
0.044332
0
0
0
0
0
0
1
0.028986
false
0
0.043478
0
0.15942
0.101449
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
b829023f4fa1de60eed4651b17c37d252df6d24c
145
py
Python
{{cookiecutter.app_name}}/tests/test_import.py
chrisbrake/cookiecutter-python-package
8bd9c7f64bc6cddd3aca24fd722e7c24f996c79f
[ "BSD-3-Clause" ]
null
null
null
{{cookiecutter.app_name}}/tests/test_import.py
chrisbrake/cookiecutter-python-package
8bd9c7f64bc6cddd3aca24fd722e7c24f996c79f
[ "BSD-3-Clause" ]
null
null
null
{{cookiecutter.app_name}}/tests/test_import.py
chrisbrake/cookiecutter-python-package
8bd9c7f64bc6cddd3aca24fd722e7c24f996c79f
[ "BSD-3-Clause" ]
null
null
null
def test_import(): """ Test to ensure we didn't fail packaging """ import {{cookiecutter.app_name}} assert {{cookiecutter.app_name}}
29
51
0.675862
19
145
5
0.736842
0.315789
0.4
0
0
0
0
0
0
0
0
0
0.186207
145
4
52
36.25
0.805085
0
0
0
0
0
0
0
0
0
0
0
0.333333
0
null
null
0
0.666667
null
null
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
1
0
0
0
1
0
0
0
0
6
b21b61c88c3d2ce418090f82b9516d7d7b73236d
185
py
Python
opsdroid/testing/__init__.py
rr3khan/opsdroid
2436d6fe9e9b0ebb982ad005e238bf5804f80fa9
[ "Apache-2.0" ]
2
2021-09-30T07:43:04.000Z
2021-09-30T07:46:49.000Z
opsdroid/testing/__init__.py
prakharshreyash15/opsdroid
dc70808ea779fae5b1f1c47434fc323644e297e6
[ "Apache-2.0" ]
2
2021-09-08T02:59:21.000Z
2022-01-13T03:37:31.000Z
opsdroid/testing/__init__.py
prakharshreyash15/opsdroid
dc70808ea779fae5b1f1c47434fc323644e297e6
[ "Apache-2.0" ]
null
null
null
""" Testing helpers for opsdroid. opsdroid provides a set of pytest fixtures and other helpers for writing tests for both opsdroid core and skills. """ from .fixtures import * # noqa
23.125
78
0.762162
27
185
5.222222
0.740741
0.141844
0
0
0
0
0
0
0
0
0
0
0.178378
185
7
79
26.428571
0.927632
0.810811
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b262fcc8f9ee42758e046f0278ebe18526a896c3
90
py
Python
utils/dates.py
projectweekend/song-feed-web
3f6187a6a19205a346e0f5cedf02461937286be3
[ "MIT" ]
null
null
null
utils/dates.py
projectweekend/song-feed-web
3f6187a6a19205a346e0f5cedf02461937286be3
[ "MIT" ]
null
null
null
utils/dates.py
projectweekend/song-feed-web
3f6187a6a19205a346e0f5cedf02461937286be3
[ "MIT" ]
null
null
null
from time import mktime def date_to_timestamp(d): return int(mktime(d.timetuple()))
15
37
0.733333
14
90
4.571429
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.155556
90
5
38
18
0.842105
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
b26f7e5640fa6aa5c54f29e38b8e03375ffd005f
226
py
Python
tracker/admin.py
mateuszlizun/body-measurement-tracker
824b20564d3b7421f602d484c7dd3c29ae1d3d7b
[ "MIT" ]
null
null
null
tracker/admin.py
mateuszlizun/body-measurement-tracker
824b20564d3b7421f602d484c7dd3c29ae1d3d7b
[ "MIT" ]
null
null
null
tracker/admin.py
mateuszlizun/body-measurement-tracker
824b20564d3b7421f602d484c7dd3c29ae1d3d7b
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Measurement, UserGoals, UserMeasurementTypesVisibility admin.site.register(Measurement) admin.site.register(UserMeasurementTypesVisibility) admin.site.register(UserGoals)
28.25
74
0.862832
23
226
8.478261
0.478261
0.138462
0.261538
0.482051
0
0
0
0
0
0
0
0
0.066372
226
7
75
32.285714
0.924171
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
b27e7141c371d0287a341ed2d56b30c04a42560d
52
py
Python
dataset/__init__.py
JackyLin7414/PAnS
fb604d01f9de57e83b2adfddf60e7a9fa6615bc6
[ "MIT" ]
20
2021-05-18T22:22:50.000Z
2022-03-23T15:56:15.000Z
dataset/__init__.py
JackyLin7414/PAnS
fb604d01f9de57e83b2adfddf60e7a9fa6615bc6
[ "MIT" ]
6
2022-02-10T07:40:03.000Z
2022-03-28T16:58:04.000Z
dataset/__init__.py
JackyLin7414/PAnS
fb604d01f9de57e83b2adfddf60e7a9fa6615bc6
[ "MIT" ]
3
2021-06-02T14:07:09.000Z
2022-03-17T20:04:36.000Z
from .streethazards import StreetHazardsSegmentation
52
52
0.923077
4
52
12
1
0
0
0
0
0
0
0
0
0
0
0
0.057692
52
1
52
52
0.979592
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
a24d62c3dbc24ce6840b1459af52927e4e9ac262
189
py
Python
histoslider/loaders/loader.py
BodenmillerGroup/HistoSlider
2dbad7a91072626206fb3fad776291c1c68e342f
[ "MIT" ]
null
null
null
histoslider/loaders/loader.py
BodenmillerGroup/HistoSlider
2dbad7a91072626206fb3fad776291c1c68e342f
[ "MIT" ]
null
null
null
histoslider/loaders/loader.py
BodenmillerGroup/HistoSlider
2dbad7a91072626206fb3fad776291c1c68e342f
[ "MIT" ]
1
2020-06-12T03:16:57.000Z
2020-06-12T03:16:57.000Z
class Loader: @classmethod def load(cls, slide: "Slide"): raise NotImplementedError @classmethod def close(cls, slide: "Slide"): raise NotImplementedError
18.9
35
0.645503
18
189
6.777778
0.555556
0.229508
0.213115
0.295082
0.606557
0
0
0
0
0
0
0
0.26455
189
9
36
21
0.877698
0
0
0.571429
0
0
0.05291
0
0
0
0
0
0
1
0.285714
false
0
0
0
0.428571
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
6
a26b7be3ae045bbd2e2c97b4a98f98d64ee0cfcc
377
py
Python
python_modules/dagster/dagster_tests/utils_tests/test_file_utils.py
jake-billings/dagster
7a1548a1f246c48189f3d8109e831b744bceb7d4
[ "Apache-2.0" ]
1
2019-07-15T17:34:04.000Z
2019-07-15T17:34:04.000Z
python_modules/dagster/dagster_tests/utils_tests/test_file_utils.py
jake-billings/dagster
7a1548a1f246c48189f3d8109e831b744bceb7d4
[ "Apache-2.0" ]
null
null
null
python_modules/dagster/dagster_tests/utils_tests/test_file_utils.py
jake-billings/dagster
7a1548a1f246c48189f3d8109e831b744bceb7d4
[ "Apache-2.0" ]
null
null
null
from dagster.utils import safe_isfile, script_relative_path, file_relative_path def test_safe_isfile(): assert safe_isfile(script_relative_path('test_file_utils.py')) assert not safe_isfile(script_relative_path('not_a_file.py')) def test_script_relative_path_file_relative_path_equiv(): assert script_rel...
34.272727
79
0.814324
56
377
4.910714
0.321429
0.349091
0.327273
0.261818
0.487273
0.247273
0
0
0
0
0
0
0.095491
377
10
80
37.7
0.806452
0
0
0
0
0
0.098143
0
0
0
0
0
0.5
1
0.333333
true
0
0.166667
0
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
1
0
0
0
0
0
0
6
0c0937956fef01a6a1326f3b94da442c39b75964
185
py
Python
tests/test_lru_cache.py
neverware-mirrors/backports.functools_lru_cache
18f69854accd89faadb56133914e11387e672cd8
[ "MIT" ]
38
2016-02-23T22:56:41.000Z
2022-03-15T06:29:13.000Z
tests/test_lru_cache.py
neverware-mirrors/backports.functools_lru_cache
18f69854accd89faadb56133914e11387e672cd8
[ "MIT" ]
12
2015-12-26T13:03:52.000Z
2021-04-11T19:25:33.000Z
tests/test_lru_cache.py
neverware-mirrors/backports.functools_lru_cache
18f69854accd89faadb56133914e11387e672cd8
[ "MIT" ]
15
2015-12-26T14:30:08.000Z
2021-06-22T20:37:47.000Z
import random from backports.functools_lru_cache import lru_cache def test_invocation(): @lru_cache() def func(): return random.random() assert func() == func()
15.416667
51
0.675676
23
185
5.217391
0.565217
0.2
0.183333
0
0
0
0
0
0
0
0
0
0.221622
185
11
52
16.818182
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.142857
1
0.285714
true
0
0.285714
0.142857
0.714286
0
1
0
0
null
0
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
1
0
0
1
1
0
0
6
0c15f65a4243d9a0bd0e58c11aa8e5496a9c0ab8
10,478
py
Python
linlearn/estimator/erm.py
LinLearn/linlearn
de5752d47bbe8e2fb62d41b0dcf2526f87545e1c
[ "BSD-3-Clause" ]
1
2020-11-12T21:02:33.000Z
2020-11-12T21:02:33.000Z
linlearn/estimator/erm.py
LinLearn/linlearn
de5752d47bbe8e2fb62d41b0dcf2526f87545e1c
[ "BSD-3-Clause" ]
40
2019-12-11T17:36:19.000Z
2021-09-27T11:20:56.000Z
linlearn/estimator/erm.py
LinLearn/linlearn
de5752d47bbe8e2fb62d41b0dcf2526f87545e1c
[ "BSD-3-Clause" ]
2
2020-01-30T21:58:24.000Z
2021-07-19T08:40:34.000Z
# Authors: Stephane Gaiffas <stephane.gaiffas@gmail.com> # Ibrahim Merad <imerad7@gmail.com> # License: BSD 3 clause """ This module implement the ``ERM`` class the empirical risk minimizer estimator. ``StateERM`` is a place-holder for the ERM estimator containing: gradient: numpy.ndarray A nump...
37.288256
88
0.527963
1,185
10,478
4.544304
0.137553
0.033798
0.038626
0.030641
0.730362
0.721448
0.716992
0.709749
0.703064
0.668524
0
0.002848
0.396831
10,478
280
89
37.421429
0.849209
0.418591
0
0.738318
0
0
0.010344
0
0
0
0
0
0
1
0.074766
false
0
0.046729
0
0.196262
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
0c65dfdf2ad670bb8e456e8ac57cc1f773669d03
25
py
Python
tests/simple.py
Schleehauf/PyQt5-stubs
e259f7a8bfbd2bc0063e2b8629754fd580538e79
[ "MIT" ]
null
null
null
tests/simple.py
Schleehauf/PyQt5-stubs
e259f7a8bfbd2bc0063e2b8629754fd580538e79
[ "MIT" ]
null
null
null
tests/simple.py
Schleehauf/PyQt5-stubs
e259f7a8bfbd2bc0063e2b8629754fd580538e79
[ "MIT" ]
null
null
null
from PyQt5 import QtCore
12.5
24
0.84
4
25
5.25
1
0
0
0
0
0
0
0
0
0
0
0.047619
0.16
25
1
25
25
0.952381
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
a74a6e6d8cdb23b4242be7a4e552f355662f9660
22
py
Python
elliot/recommender/latent_factor_models/WRMF/__init__.py
gategill/elliot
113763ba6d595976e14ead2e3d460d9705cd882e
[ "Apache-2.0" ]
175
2021-03-04T15:46:25.000Z
2022-03-31T05:56:58.000Z
elliot/recommender/latent_factor_models/WRMF/__init__.py
gategill/elliot
113763ba6d595976e14ead2e3d460d9705cd882e
[ "Apache-2.0" ]
15
2021-03-06T17:53:56.000Z
2022-03-24T17:02:07.000Z
elliot/recommender/latent_factor_models/WRMF/__init__.py
gategill/elliot
113763ba6d595976e14ead2e3d460d9705cd882e
[ "Apache-2.0" ]
39
2021-03-04T15:46:26.000Z
2022-03-09T15:37:12.000Z
from .wrmf import WRMF
22
22
0.818182
4
22
4.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.947368
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
a7a8efa0e2aee00848a3b1cc6a77e9e69e7a8fb7
108
py
Python
aoc20171201b.py
BarnabyShearer/aoc
4feb66c668b068f0f42ad99b916e80732eba5a2d
[ "MIT" ]
null
null
null
aoc20171201b.py
BarnabyShearer/aoc
4feb66c668b068f0f42ad99b916e80732eba5a2d
[ "MIT" ]
null
null
null
aoc20171201b.py
BarnabyShearer/aoc
4feb66c668b068f0f42ad99b916e80732eba5a2d
[ "MIT" ]
null
null
null
from aoc20171201a import same def aoc(data): return sum(same([int(d) for d in data], len(data) // 2))
18
60
0.657407
19
108
3.736842
0.789474
0
0
0
0
0
0
0
0
0
0
0.103448
0.194444
108
5
61
21.6
0.712644
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
ac0f09b881bfcfdfdac3abc68d09b58d6395a516
2,854
py
Python
tests/test_module_dunders.py
OrangutanGaming/django-enhanced-settings
87f4a840953e4bcdc85af96ee4b6baf2df6043a3
[ "MIT" ]
null
null
null
tests/test_module_dunders.py
OrangutanGaming/django-enhanced-settings
87f4a840953e4bcdc85af96ee4b6baf2df6043a3
[ "MIT" ]
null
null
null
tests/test_module_dunders.py
OrangutanGaming/django-enhanced-settings
87f4a840953e4bcdc85af96ee4b6baf2df6043a3
[ "MIT" ]
null
null
null
from copy import copy import pytest from django_enhanced_settings.settings import ConfigValue, Settings global_vars = { 'TEST_1': ConfigValue(None, lambda s: s, str, {}, { 'key': 'TEST_1', 'default': None, 'required': False, 'cache_ttl': -1, }), 'TEST_2': 'test value 2', ...
31.021739
70
0.703224
387
2,854
4.77261
0.113695
0.254467
0.204656
0.121819
0.84353
0.811045
0.765566
0.727666
0.646454
0.529507
0
0.020745
0.17239
2,854
91
71
31.362637
0.761219
0
0
0.393939
0
0
0.129993
0
0
0
0
0
0.060606
1
0.030303
false
0
0.045455
0
0.075758
0
0
0
0
null
1
1
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
ac1b80d22013cdd1a15f8e44dd3d562d9829f387
94
py
Python
ecommerce/apps/session/context_processors.py
margolek/electronic-ecommerce
0e9b86621daa2341ac66a747f52fff5c4c33a6f4
[ "MIT" ]
null
null
null
ecommerce/apps/session/context_processors.py
margolek/electronic-ecommerce
0e9b86621daa2341ac66a747f52fff5c4c33a6f4
[ "MIT" ]
null
null
null
ecommerce/apps/session/context_processors.py
margolek/electronic-ecommerce
0e9b86621daa2341ac66a747f52fff5c4c33a6f4
[ "MIT" ]
null
null
null
from .session import Session def session(request): return {'session': Session(request)}
15.666667
40
0.723404
11
94
6.181818
0.545455
0.411765
0
0
0
0
0
0
0
0
0
0
0.159574
94
5
41
18.8
0.860759
0
0
0
0
0
0.074468
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
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
1
1
0
0
0
6
ac6b0b7ac5153a5f781d32d5c8415cae258dbe7b
2,860
py
Python
proj/preprocessor/prepare_2020_myo.py
NanYoMy/mmregnet
50909d39289733264dce14666e9deeecbe858819
[ "Apache-2.0" ]
7
2021-05-18T05:21:41.000Z
2022-01-03T07:03:35.000Z
proj/preprocessor/prepare_2020_myo.py
NanYoMy/mmregnet
50909d39289733264dce14666e9deeecbe858819
[ "Apache-2.0" ]
null
null
null
proj/preprocessor/prepare_2020_myo.py
NanYoMy/mmregnet
50909d39289733264dce14666e9deeecbe858819
[ "Apache-2.0" ]
null
null
null
import glob import SimpleITK as sitk from preprocessor.tools import get_bounding_box,crop_by_bbox,get_bounding_boxV2,sitkResize3DV2,sitkResample3DV2 import os import numpy as np from sitkImageIO.itkdatawriter import sitk_write_image from dirutil.helper import mkdir_if_not_exist from preprocessor.tools import reindex_la...
49.310345
115
0.696154
408
2,860
4.595588
0.176471
0.0448
0.064
0.093867
0.8448
0.8448
0.8448
0.827733
0.827733
0.791467
0
0.037317
0.166084
2,860
57
116
50.175439
0.748847
0.03007
0
0.695652
0
0
0.135866
0.135135
0
0
0
0
0
1
0.043478
false
0
0.173913
0
0.217391
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
ac8b06cfba2814ce0bc66ae19645ce2ff469ae48
204
py
Python
decepticalls/Decepticall.py
nguyeho7/mechacron
ac8f09b985ff982c1869a5dc44ef52e92756a2e2
[ "MIT" ]
1
2017-08-10T07:01:24.000Z
2017-08-10T07:01:24.000Z
decepticalls/Decepticall.py
nguyeho7/mechacron
ac8f09b985ff982c1869a5dc44ef52e92756a2e2
[ "MIT" ]
null
null
null
decepticalls/Decepticall.py
nguyeho7/mechacron
ac8f09b985ff982c1869a5dc44ef52e92756a2e2
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod class Decepticall(ABC): @abstractmethod def weekly_report(self) -> str: pass @abstractmethod def daily_report(self) -> str: pass
17
35
0.637255
22
204
5.818182
0.590909
0.265625
0.203125
0.265625
0
0
0
0
0
0
0
0
0.284314
204
11
36
18.545455
0.876712
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0.25
false
0.25
0.125
0
0.5
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
6
3bc79cb447dc297f61b9a5c46015f5fea9ac4a31
35
py
Python
features/steps/__init__.py
shearichard/behave-web-api
b71d62f40ff53332af640f964c57a11fb7c5d668
[ "MIT" ]
3
2016-03-12T23:31:20.000Z
2016-03-19T23:24:30.000Z
features/steps/__init__.py
shearichard/behave-web-api
b71d62f40ff53332af640f964c57a11fb7c5d668
[ "MIT" ]
4
2017-01-27T15:21:18.000Z
2021-08-19T12:09:03.000Z
features/steps/__init__.py
shearichard/behave-web-api
b71d62f40ff53332af640f964c57a11fb7c5d668
[ "MIT" ]
3
2017-01-18T15:42:08.000Z
2021-08-18T09:20:04.000Z
from behave_web_api.steps import *
17.5
34
0.828571
6
35
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.114286
35
1
35
35
0.870968
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
020b186e6509773da609d05764751a4a7af166bb
707
py
Python
MoinMoin/datastruct/__init__.py
RealTimeWeb/wikisite
66a22c68c172f0ebb3c88a9885ccd33e2d59c3c5
[ "Apache-2.0" ]
1
2016-04-01T04:02:28.000Z
2016-04-01T04:02:28.000Z
Documentation/ManualSource/wikicmd/MoinMoin/datastruct/__init__.py
sleyzerzon/soar
74a6f32ba1be3a7b3ed4eac0b44b0f4b2e981f71
[ "Unlicense" ]
3
2020-06-26T21:21:32.000Z
2020-06-26T21:21:36.000Z
Documentation/ManualSource/wikicmd/MoinMoin/datastruct/__init__.py
sleyzerzon/soar
74a6f32ba1be3a7b3ed4eac0b44b0f4b2e981f71
[ "Unlicense" ]
2
2017-01-25T20:06:44.000Z
2021-03-25T18:39:55.000Z
# -*- coding: iso-8859-1 -*- """ MoinMoin - datastruct (groups and dicts) support. @copyright: 2009 MoinMoin:DmitrijsMilajevs @license: GPL, see COPYING for details """ from MoinMoin.datastruct.backends.wiki_dicts import WikiDicts from MoinMoin.datastruct.backends.config_dicts import ConfigDicts from MoinMoin.datastr...
35.35
73
0.847242
80
707
7.4125
0.4125
0.273187
0.296796
0.404722
0.489039
0
0
0
0
0
0
0.01391
0.084866
707
19
74
37.210526
0.902628
0.226308
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
65fc1eb05942b40fc28728cbb49b55c3c73f372f
233
py
Python
integration_tests/conftest.py
davisagli/CumulusCI
fd74c324ad3ff662484b159395c639879011e711
[ "BSD-3-Clause" ]
163
2018-09-13T18:49:34.000Z
2022-03-25T08:37:15.000Z
integration_tests/conftest.py
davisagli/CumulusCI
fd74c324ad3ff662484b159395c639879011e711
[ "BSD-3-Clause" ]
1,280
2018-09-11T20:09:37.000Z
2022-03-31T18:40:21.000Z
integration_tests/conftest.py
davisagli/CumulusCI
fd74c324ad3ff662484b159395c639879011e711
[ "BSD-3-Clause" ]
125
2015-01-17T16:05:39.000Z
2018-09-06T19:05:00.000Z
from pytest import fixture @fixture(scope="session") def fallback_org_config(request): def fallback_org_config(): raise AssertionError("--org orgname is required for integration tests.") return fallback_org_config
23.3
80
0.755365
29
233
5.862069
0.689655
0.194118
0.3
0.235294
0
0
0
0
0
0
0
0
0.16309
233
9
81
25.888889
0.871795
0
0
0
0
0
0.236052
0
0
0
0
0
0.166667
1
0.333333
false
0
0.166667
0
0.666667
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
6