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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1b048db16e120a67568f6689e1288a8cac7f648d | 62 | py | Python | fluent_python/testimport/aaaa/b.py | MonsterRob/python_book | b419aac01bf2070c31098d3d81b40b57ae292f11 | [
"MIT"
] | null | null | null | fluent_python/testimport/aaaa/b.py | MonsterRob/python_book | b419aac01bf2070c31098d3d81b40b57ae292f11 | [
"MIT"
] | null | null | null | fluent_python/testimport/aaaa/b.py | MonsterRob/python_book | b419aac01bf2070c31098d3d81b40b57ae292f11 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
class B:
print('B is imported')
| 10.333333 | 26 | 0.516129 | 9 | 62 | 3.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.258065 | 62 | 5 | 27 | 12.4 | 0.673913 | 0.33871 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
1b389db0baad26c3152a85595c3d28e9f14e9a11 | 78 | py | Python | scripts/fact100.py | Marlon-Lazo-Coronado/tiny-bignum-c | b5ef2beb2010f5d5dd1a57fc3515e3d6e5fc97ad | [
"Unlicense"
] | 331 | 2017-10-28T08:33:54.000Z | 2022-03-17T08:22:49.000Z | scripts/fact100.py | Marlon-Lazo-Coronado/tiny-bignum-c | b5ef2beb2010f5d5dd1a57fc3515e3d6e5fc97ad | [
"Unlicense"
] | 25 | 2017-11-11T22:26:22.000Z | 2021-12-22T09:47:28.000Z | scripts/fact100.py | Marlon-Lazo-Coronado/tiny-bignum-c | b5ef2beb2010f5d5dd1a57fc3515e3d6e5fc97ad | [
"Unlicense"
] | 74 | 2017-12-18T18:59:39.000Z | 2022-01-27T11:22:56.000Z | import math
print("factorial(100) using Python = %.0x" % math.factorial(100))
| 26 | 65 | 0.717949 | 11 | 78 | 5.090909 | 0.727273 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101449 | 0.115385 | 78 | 2 | 66 | 39 | 0.710145 | 0 | 0 | 0 | 0 | 0 | 0.435897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
1b8303699a656abff936fc954196e14e0a301514 | 91 | py | Python | tests/guinea-pigs/nose/teardown_function_error/testa.py | djeebus/teamcity-python | b4d38efc1f2c8269128715bf084de9a2d463a922 | [
"Apache-2.0"
] | 105 | 2015-06-24T15:40:41.000Z | 2022-02-04T10:30:34.000Z | tests/guinea-pigs/nose/teardown_function_error/testa.py | djeebus/teamcity-python | b4d38efc1f2c8269128715bf084de9a2d463a922 | [
"Apache-2.0"
] | 145 | 2015-06-24T15:26:28.000Z | 2022-03-22T20:04:19.000Z | tests/guinea-pigs/nose/teardown_function_error/testa.py | djeebus/teamcity-python | b4d38efc1f2c8269128715bf084de9a2d463a922 | [
"Apache-2.0"
] | 76 | 2015-07-20T08:18:21.000Z | 2022-03-18T20:03:53.000Z | def teardown_func():
assert 1 == 0
def test():
pass
test.teardown = teardown_func
| 13 | 29 | 0.659341 | 13 | 91 | 4.461538 | 0.615385 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.230769 | 91 | 6 | 30 | 15.166667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.4 | true | 0.2 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
1bb5e304c3a59b939d661223ff68d4692fbfad8e | 16,648 | py | Python | venv/Lib/site-packages/fdutil/unittests/test_dict_tools.py | avim2809/CameraSiteBlocker | bfc0434e75e8f3f95c459a4adc86b7673200816e | [
"Apache-2.0"
] | null | null | null | venv/Lib/site-packages/fdutil/unittests/test_dict_tools.py | avim2809/CameraSiteBlocker | bfc0434e75e8f3f95c459a4adc86b7673200816e | [
"Apache-2.0"
] | null | null | null | venv/Lib/site-packages/fdutil/unittests/test_dict_tools.py | avim2809/CameraSiteBlocker | bfc0434e75e8f3f95c459a4adc86b7673200816e | [
"Apache-2.0"
] | null | null | null | # encoding: utf-8
import unittest
from fdutil import dict_tools
class TestFilterDict(unittest.TestCase):
def setUp(self):
self.input_dict = {u"e1": {u"API": u"A", u"ENV": u"1", u"PARAMS": u"x, y, z"},
u"e2": {u"API": u"B", u"ENV": u"1", u"PARAMS": u"w, x"},
... | 41.004926 | 102 | 0.472729 | 1,863 | 16,648 | 4.078905 | 0.064412 | 0.034741 | 0.034873 | 0.060534 | 0.895644 | 0.86893 | 0.851823 | 0.838137 | 0.829056 | 0.747598 | 0 | 0.013036 | 0.405574 | 16,648 | 405 | 103 | 41.106173 | 0.75485 | 0.007148 | 0 | 0.607973 | 0 | 0 | 0.222868 | 0 | 0 | 0 | 0 | 0 | 0.096346 | 1 | 0.096346 | false | 0.006645 | 0.006645 | 0 | 0.112957 | 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 |
941965c55aee36c19360b76286226606df4dfc20 | 70 | py | Python | simulation/TaylorCouette.py | ajupatatero/neurasim | c1d3f8163a7389b06a13e453daa98ad5157d9b2e | [
"MIT"
] | null | null | null | simulation/TaylorCouette.py | ajupatatero/neurasim | c1d3f8163a7389b06a13e453daa98ad5157d9b2e | [
"MIT"
] | null | null | null | simulation/TaylorCouette.py | ajupatatero/neurasim | c1d3f8163a7389b06a13e453daa98ad5157d9b2e | [
"MIT"
] | null | null | null | from .Simulation import *
class TaylorCouette(Simulation):
pass | 11.666667 | 32 | 0.742857 | 7 | 70 | 7.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185714 | 70 | 6 | 33 | 11.666667 | 0.912281 | 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 |
941fd7251a03f16df60cfac4e102fa3ce732b0c4 | 26 | py | Python | stompy/model/otps/__init__.py | oneconcern/stompy | d2cb86e7d1a2de698701b8d1b391e27e1ee935c0 | [
"MIT"
] | 17 | 2017-10-12T14:53:25.000Z | 2022-02-26T01:24:52.000Z | stompy/model/otps/__init__.py | oneconcern/stompy | d2cb86e7d1a2de698701b8d1b391e27e1ee935c0 | [
"MIT"
] | 6 | 2018-03-12T12:43:14.000Z | 2021-09-04T17:44:31.000Z | stompy/model/otps/__init__.py | rustychris/stompy | 4efb78824804edc68555bced275e37842f98ba1f | [
"MIT"
] | 6 | 2017-09-29T21:20:11.000Z | 2020-09-28T21:29:23.000Z | from .otps_model import *
| 13 | 25 | 0.769231 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
946c648cb49b15e97b1294dfa7a6135ac198ea6e | 4,488 | py | Python | python-trunk/sfapi2/sflib/crypto.py | raychorn/svn_molten-magma | 8aa2ff2340707eecae6514943e86f5afba9cd54a | [
"CC0-1.0"
] | null | null | null | python-trunk/sfapi2/sflib/crypto.py | raychorn/svn_molten-magma | 8aa2ff2340707eecae6514943e86f5afba9cd54a | [
"CC0-1.0"
] | null | null | null | python-trunk/sfapi2/sflib/crypto.py | raychorn/svn_molten-magma | 8aa2ff2340707eecae6514943e86f5afba9cd54a | [
"CC0-1.0"
] | null | null | null | def seedPassword():
import random
s = ''.join([chr(random.randint(0,254)) for ch in xrange(1024)])
print 's=[%s]' % asReadableData(s)
return s
s = [153,26,153,218,247,171,33,97,169,94,55,193,122,155,164,197,113,47,94,78,56,27,122,34,72,144,156,130,230,35,63,125,122,253,216,151,225,157,3,253,55,17... | 140.25 | 1,004 | 0.70098 | 1,134 | 4,488 | 2.76455 | 0.261023 | 0.017863 | 0.004466 | 0.012759 | 0.049761 | 0.049761 | 0.049761 | 0.049761 | 0.049761 | 0.049761 | 0 | 0.616122 | 0.046346 | 4,488 | 31 | 1,005 | 144.774194 | 0.116355 | 0.007353 | 0 | 0.153846 | 0 | 0 | 0.009722 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0 | null | null | 0.153846 | 0.115385 | null | null | 0.038462 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
846a7b076683ae5c85f8f957aefc556b1d044679 | 289 | py | Python | torchmeta/toy/__init__.py | kylehkhsu/pytorch-meta | 69b6577782b52f958a5ac6d79fc193c53509863d | [
"MIT"
] | 2 | 2020-10-28T03:42:12.000Z | 2020-10-28T19:52:35.000Z | torchmeta/toy/__init__.py | kylehkhsu/pytorch-meta | 69b6577782b52f958a5ac6d79fc193c53509863d | [
"MIT"
] | null | null | null | torchmeta/toy/__init__.py | kylehkhsu/pytorch-meta | 69b6577782b52f958a5ac6d79fc193c53509863d | [
"MIT"
] | null | null | null | from torchmeta.toy.harmonic import Harmonic
from torchmeta.toy.sinusoid import Sinusoid
from torchmeta.toy.sinusoid_line import SinusoidAndLine
from torchmeta.toy.relu import Relu
from torchmeta.toy import helpers
__all__ = ['Harmonic', 'Sinusoid', 'SinusoidAndLine', 'Relu', 'helpers']
| 32.111111 | 72 | 0.809689 | 36 | 289 | 6.361111 | 0.305556 | 0.283843 | 0.349345 | 0.209607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100346 | 289 | 8 | 73 | 36.125 | 0.880769 | 0 | 0 | 0 | 0 | 0 | 0.145329 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ca817f1326a80c22b209670bc885354945b554ac | 37,892 | py | Python | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/6.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/6.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/6.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 3262
passenger_arriving = (
(3, 6, 4, 4, 3, 0, 2, 7, 3, 3, 0, 0), # 0
(3, 7, 9, 2, 1, 0, 3, 12, 1, 6, 2, 0), # 1
(3, 10, 6, 3, 0, 0, 6, 6, 7, 5, 0, 0), # 2
(5, 6, 12, 6, 0, 0, 8, 9, 3, 5, 2, 0), # 3
(3, 10, 4, 1, 1, 0, 9, 8, 5, 3, 0, 0), # 4
(4, 8, 3, 6, 2, 0, 5, 7, 7, 4... | 113.110448 | 212 | 0.729125 | 5,147 | 37,892 | 5.36565 | 0.229648 | 0.312851 | 0.247674 | 0.469276 | 0.329724 | 0.328204 | 0.327769 | 0.327769 | 0.327769 | 0.327769 | 0 | 0.819042 | 0.119128 | 37,892 | 334 | 213 | 113.449102 | 0.008359 | 0.031959 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0486e5b4baeb456901789a5f4929aaed8f07c550 | 440 | py | Python | getDomainAge/tests/test_handlers/test_log.py | ljnath/getDomainAge | a15337433d319597c1a705b49553e31620e00058 | [
"MIT"
] | 2 | 2020-03-12T14:43:19.000Z | 2021-08-02T06:21:52.000Z | getDomainAge/tests/test_handlers/test_log.py | ljnath/getDomainAge | a15337433d319597c1a705b49553e31620e00058 | [
"MIT"
] | 2 | 2021-05-25T16:01:29.000Z | 2021-09-07T19:17:01.000Z | getDomainAge/tests/test_handlers/test_log.py | ljnath/getDomainAge | a15337433d319597c1a705b49553e31620e00058 | [
"MIT"
] | null | null | null | from getDomainAge.handlers.log import LogHandler
def test_duplicate_logger():
logger_1 = LogHandler().get_logger('test-logger', 'test.log')
logger_2 = LogHandler().get_logger('test-logger', 'test.log')
assert logger_1 == logger_2
def test_unique_logger():
logger_1 = LogHandler().get_logger('test-log... | 31.428571 | 67 | 0.713636 | 62 | 440 | 4.806452 | 0.241935 | 0.201342 | 0.255034 | 0.308725 | 0.751678 | 0.751678 | 0.751678 | 0.57047 | 0.288591 | 0 | 0 | 0.026316 | 0.136364 | 440 | 13 | 68 | 33.846154 | 0.757895 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
04895808db64e097b6ae73f300c11279646d7a43 | 171 | py | Python | tests/conftest.py | gvinet/pynfcreader | e0bcd1151fcf3ad02191b0ad0ec0dc5cb6c00ef5 | [
"Apache-2.0"
] | 9 | 2015-05-05T21:46:52.000Z | 2022-01-25T20:47:31.000Z | tests/conftest.py | gvinet/pynfcreader | e0bcd1151fcf3ad02191b0ad0ec0dc5cb6c00ef5 | [
"Apache-2.0"
] | 2 | 2018-01-11T02:03:20.000Z | 2020-06-01T16:32:23.000Z | tests/conftest.py | gvinet/pynfcreader | e0bcd1151fcf3ad02191b0ad0ec0dc5cb6c00ef5 | [
"Apache-2.0"
] | 1 | 2016-08-17T22:35:53.000Z | 2016-08-17T22:35:53.000Z | import pytest
from pynfcreader.devices.hydra_nfc_v2 import HydraNFCv2
@pytest.fixture
def hydranfc_connection():
return HydraNFCv2(port="/dev/ttyACM0", debug=False)
| 21.375 | 55 | 0.80117 | 22 | 171 | 6.090909 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026144 | 0.105263 | 171 | 7 | 56 | 24.428571 | 0.849673 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 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 |
04c40f10f85b7fd737729a587b95c68e80435a29 | 7,030 | py | Python | tests/cache/test_cache_file.py | obendidi/httpx-cache | 897dd8da5bb377ed7f61b367716976bdc0d581b1 | [
"BSD-3-Clause"
] | 16 | 2021-12-13T01:27:44.000Z | 2022-02-28T02:58:46.000Z | tests/cache/test_cache_file.py | obendidi/httpx-cache | 897dd8da5bb377ed7f61b367716976bdc0d581b1 | [
"BSD-3-Clause"
] | 23 | 2022-01-03T15:57:39.000Z | 2022-03-28T22:25:08.000Z | tests/cache/test_cache_file.py | obendidi/httpx-cache | 897dd8da5bb377ed7f61b367716976bdc0d581b1 | [
"BSD-3-Clause"
] | 2 | 2022-01-21T17:57:19.000Z | 2022-01-21T18:18:47.000Z | from pathlib import Path
import anyio
import httpx
import mock
import pytest
import httpx_cache
pytestmark = pytest.mark.anyio
testcases = [
httpx_cache.BytesJsonSerializer(),
httpx_cache.MsgPackSerializer(),
]
testids = [
"BytesJsonSerializer",
"MsgPackSerializer",
]
def test_file_cache_init_bad_... | 31.524664 | 87 | 0.736273 | 950 | 7,030 | 5.166316 | 0.122105 | 0.08802 | 0.04238 | 0.041565 | 0.847188 | 0.827628 | 0.77771 | 0.751019 | 0.733904 | 0.703749 | 0 | 0.00307 | 0.166003 | 7,030 | 222 | 88 | 31.666667 | 0.834044 | 0.102134 | 0 | 0.56338 | 0 | 0 | 0.026885 | 0 | 0 | 0 | 0 | 0 | 0.28169 | 1 | 0.056338 | false | 0 | 0.042254 | 0 | 0.098592 | 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 |
04d4c2971ed993f941578510a8b411ee81e5347b | 62 | py | Python | pcmdi_metrics/diurnal/__init__.py | tomvothecoder/pcmdi_metrics | 34cdd56a78859db6417cbc7018c8ae8bbf2f09b5 | [
"BSD-3-Clause"
] | 47 | 2015-03-18T22:44:51.000Z | 2022-01-30T04:35:05.000Z | pcmdi_metrics/diurnal/__init__.py | tomvothecoder/pcmdi_metrics | 34cdd56a78859db6417cbc7018c8ae8bbf2f09b5 | [
"BSD-3-Clause"
] | 524 | 2015-01-01T04:00:34.000Z | 2022-03-31T15:06:46.000Z | pcmdi_metrics/diurnal/__init__.py | tomvothecoder/pcmdi_metrics | 34cdd56a78859db6417cbc7018c8ae8bbf2f09b5 | [
"BSD-3-Clause"
] | 30 | 2015-06-05T17:19:43.000Z | 2021-11-02T15:22:21.000Z | from . import common # noqa
from . import fourierFFT # noqa
| 20.666667 | 32 | 0.709677 | 8 | 62 | 5.5 | 0.625 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 62 | 2 | 33 | 31 | 0.916667 | 0.145161 | 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 |
f3dbfae542b152c5fff5ade55a6d2c37bc851cab | 35 | py | Python | src/indexa/__init__.py | villoro/airflow_tasks | 81bd892744a9bbbf6e01903649b6c3786a955a5a | [
"MIT"
] | null | null | null | src/indexa/__init__.py | villoro/airflow_tasks | 81bd892744a9bbbf6e01903649b6c3786a955a5a | [
"MIT"
] | 4 | 2020-10-09T15:59:09.000Z | 2020-11-18T08:34:44.000Z | src/indexa/__init__.py | villoro/airflow_tasks | 81bd892744a9bbbf6e01903649b6c3786a955a5a | [
"MIT"
] | null | null | null | from .process import update_indexa
| 17.5 | 34 | 0.857143 | 5 | 35 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.935484 | 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 |
6d2e304e1f7739c1e86f615b8ec3bd0f858e5919 | 139 | py | Python | prive/threat_models/__init__.py | alan-turing-institute/privacy-sdg-toolbox | cdd61e3b59d2306906a6eaf7910b9c99a19e9e15 | [
"MIT"
] | 2 | 2022-03-24T15:17:49.000Z | 2022-03-31T09:21:32.000Z | prive/threat_models/__init__.py | alan-turing-institute/privacy-sdg-toolbox | cdd61e3b59d2306906a6eaf7910b9c99a19e9e15 | [
"MIT"
] | 1 | 2022-03-31T10:34:48.000Z | 2022-03-31T10:34:48.000Z | prive/threat_models/__init__.py | alan-turing-institute/privacy-sdg-toolbox | cdd61e3b59d2306906a6eaf7910b9c99a19e9e15 | [
"MIT"
] | null | null | null | from .base_classes import ThreatModel, StaticDataThreatModel, InteractiveThreatModel
from .mia import TargetedMIA, TargetedAuxiliaryDataMIA | 69.5 | 84 | 0.892086 | 12 | 139 | 10.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071942 | 139 | 2 | 85 | 69.5 | 0.953488 | 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 |
6d4501d1a8c435d31c967cddaa38c235ad6907f4 | 41 | py | Python | fastapi/core/__init__.py | ilDug/docker-utils | 6580e916a8c2c0d91f2e3da52a9d839507569bb7 | [
"MIT"
] | null | null | null | fastapi/core/__init__.py | ilDug/docker-utils | 6580e916a8c2c0d91f2e3da52a9d839507569bb7 | [
"MIT"
] | null | null | null | fastapi/core/__init__.py | ilDug/docker-utils | 6580e916a8c2c0d91f2e3da52a9d839507569bb7 | [
"MIT"
] | null | null | null | from .mail import DagMail, DagMailConfig
| 20.5 | 40 | 0.829268 | 5 | 41 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 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 |
6d584854bc3f9f310bb09ade158cbfef2c7f9972 | 9,179 | py | Python | MultiLayerPerceptron.py | kumass2020/NeuralNetwork-MultiLayer-Perceptron | 38a6c33828bafad685c81e213492d30ca24e4dfb | [
"MIT"
] | null | null | null | MultiLayerPerceptron.py | kumass2020/NeuralNetwork-MultiLayer-Perceptron | 38a6c33828bafad685c81e213492d30ca24e4dfb | [
"MIT"
] | null | null | null | MultiLayerPerceptron.py | kumass2020/NeuralNetwork-MultiLayer-Perceptron | 38a6c33828bafad685c81e213492d30ca24e4dfb | [
"MIT"
] | null | null | null | import numpy as np
from math import ceil, floor
def init_network():
# network = {}
# network['']
x1 = np.asfarray([[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1],
[0, 0, 0, 0, 0, 0, 1, 1],
[0, 0, 0, 0, 0, 0, 1, 1],
[0, 0, 0, ... | 31.221088 | 89 | 0.327705 | 1,634 | 9,179 | 1.831701 | 0.097919 | 0.260608 | 0.309723 | 0.366188 | 0.529235 | 0.490812 | 0.430003 | 0.359506 | 0.349148 | 0.294353 | 0 | 0.225338 | 0.452228 | 9,179 | 293 | 90 | 31.327645 | 0.369928 | 0.126484 | 0 | 0.402913 | 0 | 0 | 0.003387 | 0 | 0.004854 | 0 | 0 | 0 | 0 | 1 | 0.019417 | false | 0 | 0.009709 | 0 | 0.048544 | 0.029126 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6d5f3dda305c48d4c716daf49f9c876e3423c8e8 | 116 | py | Python | Back/ecoreleve_server/GenericObjets/__init__.py | NaturalSolutions/NS.Bootstrap | c2cc73717dbe769e064c3254a5b20cb16b37bda2 | [
"MIT"
] | null | null | null | Back/ecoreleve_server/GenericObjets/__init__.py | NaturalSolutions/NS.Bootstrap | c2cc73717dbe769e064c3254a5b20cb16b37bda2 | [
"MIT"
] | null | null | null | Back/ecoreleve_server/GenericObjets/__init__.py | NaturalSolutions/NS.Bootstrap | c2cc73717dbe769e064c3254a5b20cb16b37bda2 | [
"MIT"
] | null | null | null | from . import ObjectWithDynProp
from . import FrontModules
from .ListObjectWithDynProp import ListObjectWithDynProp
| 29 | 56 | 0.87069 | 10 | 116 | 10.1 | 0.5 | 0.19802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 116 | 3 | 57 | 38.666667 | 0.971154 | 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 |
ed9112faa09ba1d758751f4bb62a2040e14b22c9 | 158 | py | Python | src/test/datascience/serverConfigFiles/remotePassword.py | JesterOrNot/vscode-python | f51b0bbf0e21bd6f9becc89ebfcb383f8e840e76 | [
"MIT"
] | 11 | 2019-11-11T20:45:40.000Z | 2021-05-08T05:51:36.000Z | src/test/datascience/serverConfigFiles/remotePassword.py | JesterOrNot/vscode-python | f51b0bbf0e21bd6f9becc89ebfcb383f8e840e76 | [
"MIT"
] | 6 | 2021-01-17T20:21:32.000Z | 2022-02-10T19:22:36.000Z | src/test/datascience/serverConfigFiles/remotePassword.py | JesterOrNot/vscode-python | f51b0bbf0e21bd6f9becc89ebfcb383f8e840e76 | [
"MIT"
] | 4 | 2020-02-02T02:18:41.000Z | 2021-07-07T15:31:17.000Z | c.NotebookApp.ip = '0.0.0.0'
c.NotebookApp.open_browser = False
# Python
c.NotebookApp.password = 'sha1:74182e119a7b:e1b98bbba98f9ada3fd714eda9652437e80082e2' | 39.5 | 85 | 0.816456 | 19 | 158 | 6.736842 | 0.631579 | 0.28125 | 0.046875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.063291 | 158 | 4 | 85 | 39.5 | 0.614865 | 0.037975 | 0 | 0 | 0 | 0 | 0.430464 | 0.384106 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
611e76f1061e011445c159af4c6af265cc911c62 | 192 | py | Python | azurelinuxagent/pa/deprovision/pexos.py | pexip/os-walinuxagent | ddc7a02bf4276cc7ec9f6671bc1eafc810a76737 | [
"Apache-2.0"
] | null | null | null | azurelinuxagent/pa/deprovision/pexos.py | pexip/os-walinuxagent | ddc7a02bf4276cc7ec9f6671bc1eafc810a76737 | [
"Apache-2.0"
] | null | null | null | azurelinuxagent/pa/deprovision/pexos.py | pexip/os-walinuxagent | ddc7a02bf4276cc7ec9f6671bc1eafc810a76737 | [
"Apache-2.0"
] | null | null | null | class PexOSDeprovisionHandler(object):
def __init__(self):
pass
def run(self, force=False, deluser=False):
return
def run_changed_unique_id(self):
return
| 19.2 | 46 | 0.651042 | 22 | 192 | 5.363636 | 0.681818 | 0.101695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265625 | 192 | 9 | 47 | 21.333333 | 0.836879 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.142857 | 0 | 0.285714 | 0.857143 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
b617cf324ec2460ff9fd91f879b07e5c37941ef1 | 35 | py | Python | dizoo/procgen/bigfish/envs/__init__.py | davide97l/DI-engine | d48c93bcd5c07c29f2ce4ac1b7756b8bc255c423 | [
"Apache-2.0"
] | null | null | null | dizoo/procgen/bigfish/envs/__init__.py | davide97l/DI-engine | d48c93bcd5c07c29f2ce4ac1b7756b8bc255c423 | [
"Apache-2.0"
] | null | null | null | dizoo/procgen/bigfish/envs/__init__.py | davide97l/DI-engine | d48c93bcd5c07c29f2ce4ac1b7756b8bc255c423 | [
"Apache-2.0"
] | null | null | null | from .bigfish_env import BigfishEnv | 35 | 35 | 0.885714 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.9375 | 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 |
b63119e1f602b1247f6231903504598e48391fc9 | 29 | py | Python | projects/ABD_Net/__init__.py | Yogurt2019/abd-deep-person-reid | 47c9b9499bffb937891a896f7b5ab7ce7a8f67c4 | [
"MIT"
] | null | null | null | projects/ABD_Net/__init__.py | Yogurt2019/abd-deep-person-reid | 47c9b9499bffb937891a896f7b5ab7ce7a8f67c4 | [
"MIT"
] | null | null | null | projects/ABD_Net/__init__.py | Yogurt2019/abd-deep-person-reid | 47c9b9499bffb937891a896f7b5ab7ce7a8f67c4 | [
"MIT"
] | null | null | null | from .ABD_components import * | 29 | 29 | 0.827586 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.884615 | 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 |
b69891ecdd34621cb44feda34f5eebeeed50cec3 | 21 | py | Python | src/__init__.py | shanjunUSC/pyflow-alabmod | 6e2b9b3991b218f65b9ef705eca08d91f412e43b | [
"BSD-2-Clause"
] | null | null | null | src/__init__.py | shanjunUSC/pyflow-alabmod | 6e2b9b3991b218f65b9ef705eca08d91f412e43b | [
"BSD-2-Clause"
] | null | null | null | src/__init__.py | shanjunUSC/pyflow-alabmod | 6e2b9b3991b218f65b9ef705eca08d91f412e43b | [
"BSD-2-Clause"
] | null | null | null | from pyflow import *
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b69f2bd9ef86883db944c10a1c83e57a64c9f9f8 | 87 | py | Python | create_db.py | Ilyaivanov60/web_dictionary | 1cbfd9fd78f4bb59a59d6b3d2f727304b138c01e | [
"MIT"
] | null | null | null | create_db.py | Ilyaivanov60/web_dictionary | 1cbfd9fd78f4bb59a59d6b3d2f727304b138c01e | [
"MIT"
] | 1 | 2021-01-14T12:47:50.000Z | 2021-01-14T12:47:50.000Z | create_db.py | Ilyaivanov60/web_dictionary | 1cbfd9fd78f4bb59a59d6b3d2f727304b138c01e | [
"MIT"
] | null | null | null | from webapp import create_app
from webapp.db import db
db.create_all(app=create_app()) | 21.75 | 31 | 0.816092 | 16 | 87 | 4.25 | 0.4375 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 87 | 4 | 31 | 21.75 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
b6aa1db8a0196f3b5058ed396ecc6744eae5bb31 | 1,521 | py | Python | tifa/apps/admin/gift_card.py | twocucao/tifa | f703fd27f54000e7d51f06d2456d09cc79e0ab72 | [
"MIT"
] | 71 | 2020-04-16T04:28:45.000Z | 2022-03-31T22:45:11.000Z | tifa/apps/admin/gift_card.py | twocucao/tifa | f703fd27f54000e7d51f06d2456d09cc79e0ab72 | [
"MIT"
] | 6 | 2021-05-13T06:32:38.000Z | 2022-03-04T01:18:34.000Z | tifa/apps/admin/gift_card.py | twocucao/tifa | f703fd27f54000e7d51f06d2456d09cc79e0ab72 | [
"MIT"
] | 12 | 2021-05-01T08:43:11.000Z | 2022-03-29T00:58:54.000Z | from fastapi_utils.api_model import APIModel
from tifa.apps.admin.local import g
from tifa.apps.admin.router import bp
from tifa.models.gift_card import GiftCard
class TGiftCard(APIModel):
id: str
name: str
@bp.list("/gift_cards", out=TGiftCard, summary="GiftCard", tags=["GiftCard"])
async def gift_cards_i... | 28.698113 | 85 | 0.708087 | 222 | 1,521 | 4.68018 | 0.202703 | 0.100096 | 0.128008 | 0.181906 | 0.729548 | 0.729548 | 0.729548 | 0.729548 | 0.729548 | 0.680462 | 0 | 0.015909 | 0.13215 | 1,521 | 52 | 86 | 29.25 | 0.771212 | 0 | 0 | 0.4 | 0 | 0 | 0.170283 | 0.013807 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.114286 | 0 | 0.4 | 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 |
fcaf9f7d4123a89b55dda1d4700d856126c92ce9 | 746 | py | Python | py_hcl/firrtl_ir/literal.py | LemniscateX/py-hcl | 352fa8408ad51da2a94cb64270c863b46ef7596b | [
"MIT"
] | null | null | null | py_hcl/firrtl_ir/literal.py | LemniscateX/py-hcl | 352fa8408ad51da2a94cb64270c863b46ef7596b | [
"MIT"
] | null | null | null | py_hcl/firrtl_ir/literal.py | LemniscateX/py-hcl | 352fa8408ad51da2a94cb64270c863b46ef7596b | [
"MIT"
] | null | null | null | from .expression import Expression
from .utils import serialize_str
class UIntLiteral(Expression):
def __init__(self, value, width):
self.value = value
self.width = width
def serialize(self, output):
output.write(b"UInt")
self.width.serialize(output)
output.write(b'("'... | 25.724138 | 56 | 0.619303 | 89 | 746 | 5.067416 | 0.235955 | 0.195122 | 0.159645 | 0.159645 | 0.784922 | 0.784922 | 0.784922 | 0.784922 | 0.784922 | 0.784922 | 0 | 0.003546 | 0.243968 | 746 | 28 | 57 | 26.642857 | 0.796099 | 0 | 0 | 0.727273 | 0 | 0 | 0.021448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.090909 | 0 | 0.363636 | 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 |
fcf5ebff40c5c809d23960037286fd8c54e1bd60 | 122 | py | Python | __init__.py | mpcarolin/pokedex-flex-api | 2ed38792aa53848d4445d66630663b4d32b30815 | [
"Apache-2.0"
] | 1 | 2020-01-14T02:14:05.000Z | 2020-01-14T02:14:05.000Z | __init__.py | mpcarolin/pokedex-flex-api | 2ed38792aa53848d4445d66630663b4d32b30815 | [
"Apache-2.0"
] | 2 | 2018-06-02T18:40:59.000Z | 2020-03-10T00:03:50.000Z | __init__.py | mpcarolin/pokedex-flex-api | 2ed38792aa53848d4445d66630663b4d32b30815 | [
"Apache-2.0"
] | null | null | null | import config as _config
import api
import os
if not os.path.isdir(_config.CACHE_PATH):
os.mkdir(_config.CACHE_PATH)
| 17.428571 | 41 | 0.778689 | 21 | 122 | 4.285714 | 0.52381 | 0.244444 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139344 | 122 | 6 | 42 | 20.333333 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1e046a9e32fc3d154a244b245e490d5e2f26cde0 | 40 | py | Python | gameplay/core.py | apalmer/gameplay | 08ea189cf102100d6ee056e17103783803d07008 | [
"MIT"
] | null | null | null | gameplay/core.py | apalmer/gameplay | 08ea189cf102100d6ee056e17103783803d07008 | [
"MIT"
] | null | null | null | gameplay/core.py | apalmer/gameplay | 08ea189cf102100d6ee056e17103783803d07008 | [
"MIT"
] | null | null | null | def seagull():
print("kaw kaw mfkz") | 20 | 25 | 0.625 | 6 | 40 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 40 | 2 | 25 | 20 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0.292683 | 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 |
1e18442ec50bc15891f0652d1bd494cde1aa1193 | 10,614 | py | Python | test/unit/metrics/test_metricframe_smoke.py | vladiliescu/fairlearn | fee3f28e327ce5c36695d6b589df2d1ed2116136 | [
"MIT"
] | null | null | null | test/unit/metrics/test_metricframe_smoke.py | vladiliescu/fairlearn | fee3f28e327ce5c36695d6b589df2d1ed2116136 | [
"MIT"
] | null | null | null | test/unit/metrics/test_metricframe_smoke.py | vladiliescu/fairlearn | fee3f28e327ce5c36695d6b589df2d1ed2116136 | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation and Fairlearn contributors.
# Licensed under the MIT License.
import numpy as np
import pandas as pd
import pytest
import sklearn.metrics as skm
import fairlearn.metrics as metrics
from .data_for_test import y_t, y_p, g_1, g_2, g_3, g_4
from test.unit.input_convertors import co... | 39.457249 | 77 | 0.653005 | 1,579 | 10,614 | 4.065864 | 0.088664 | 0.080374 | 0.054517 | 0.049065 | 0.912461 | 0.884735 | 0.864486 | 0.836137 | 0.802492 | 0.774766 | 0 | 0.009525 | 0.228472 | 10,614 | 268 | 78 | 39.604478 | 0.774454 | 0.077162 | 0 | 0.631313 | 0 | 0 | 0.052578 | 0 | 0 | 0 | 0 | 0 | 0.39899 | 1 | 0.040404 | false | 0 | 0.035354 | 0 | 0.075758 | 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 |
1e34f9464291454031f96b644776087a1d2d2dea | 199 | py | Python | students/d33101/wangyixin/Lr2/homework/admin.py | losepower/ITMO_ICT_WebDevelopment_2021-2022_D3310 | 4db490a8f14bcad4555b8a50ca8db1674ed87b76 | [
"MIT"
] | null | null | null | students/d33101/wangyixin/Lr2/homework/admin.py | losepower/ITMO_ICT_WebDevelopment_2021-2022_D3310 | 4db490a8f14bcad4555b8a50ca8db1674ed87b76 | [
"MIT"
] | null | null | null | students/d33101/wangyixin/Lr2/homework/admin.py | losepower/ITMO_ICT_WebDevelopment_2021-2022_D3310 | 4db490a8f14bcad4555b8a50ca8db1674ed87b76 | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
# Register your models here.
admin.site.register(models.Student)
admin.site.register(models.Homework)
admin.site.register(models.Studenttopic)
| 22.111111 | 40 | 0.81407 | 27 | 199 | 6 | 0.481481 | 0.166667 | 0.314815 | 0.425926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090452 | 199 | 8 | 41 | 24.875 | 0.895028 | 0.130653 | 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 |
1e4eba328311961f443abd8c56d944d814a9b48b | 7,305 | py | Python | src/encoded/tests/test_reports_search.py | procha2/encoded | e9f122362b71f3b8641023b8d2d5ad531d3484b7 | [
"MIT"
] | 102 | 2015-05-20T01:17:43.000Z | 2022-03-07T06:03:55.000Z | src/encoded/tests/test_reports_search.py | procha2/encoded | e9f122362b71f3b8641023b8d2d5ad531d3484b7 | [
"MIT"
] | 901 | 2015-01-07T23:11:57.000Z | 2022-03-18T13:56:12.000Z | src/encoded/tests/test_reports_search.py | procha2/encoded | e9f122362b71f3b8641023b8d2d5ad531d3484b7 | [
"MIT"
] | 65 | 2015-02-06T23:00:26.000Z | 2022-01-22T07:58:44.000Z | import pytest
from encoded.tests.features.conftest import app, app_settings, index_workbook
pytestmark = [
pytest.mark.indexing,
pytest.mark.usefixtures('index_workbook'),
]
def test_reports_search_batched_search_generator_init(dummy_request):
from encoded.reports.search import BatchedSearchGenerator
... | 41.505682 | 108 | 0.67666 | 775 | 7,305 | 6.15871 | 0.126452 | 0.067463 | 0.149591 | 0.116279 | 0.818563 | 0.791326 | 0.780641 | 0.724282 | 0.704798 | 0.678399 | 0 | 0.043218 | 0.176454 | 7,305 | 175 | 109 | 41.742857 | 0.750166 | 0.002738 | 0 | 0.565217 | 0 | 0 | 0.311959 | 0.21763 | 0 | 0 | 0 | 0 | 0.173913 | 1 | 0.031056 | false | 0 | 0.049689 | 0 | 0.080745 | 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 |
1e655231080235ee0726408df48388860365c1d1 | 96 | py | Python | venv/lib/python3.8/site-packages/ptyprocess/ptyprocess.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/ptyprocess/ptyprocess.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/ptyprocess/ptyprocess.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/b2/4d/ac/536236d98ca5d60537163166a562f7078de8d0aa86ddddc223caf436af | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 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 |
1e80eaa3d2d41e85eb0f375afcda04cea23784ce | 18,961 | py | Python | master/pyext/src/validation/sas_plots.py | salilab/IHMValidation | ddf1a080a4b7f66c2f067312f5f4a5c6584848d1 | [
"MIT"
] | null | null | null | master/pyext/src/validation/sas_plots.py | salilab/IHMValidation | ddf1a080a4b7f66c2f067312f5f4a5c6584848d1 | [
"MIT"
] | 23 | 2020-12-09T22:27:29.000Z | 2022-03-30T18:01:43.000Z | master/pyext/src/validation/sas_plots.py | salilab/IHMValidation | ddf1a080a4b7f66c2f067312f5f4a5c6584848d1 | [
"MIT"
] | 1 | 2022-03-21T22:55:24.000Z | 2022-03-21T22:55:24.000Z | ###################################
# Script :
# 1) Contains class to generate SAS
# plots
# 2) Inherits from SAS class
#
# ganesans - Salilab - UCSF
# ganesans@salilab.org
###################################
import pandas as pd
import glob
import sys,os,math
import numpy as np
import pandas as pd
from validation imp... | 48.246819 | 118 | 0.650546 | 2,798 | 18,961 | 4.203717 | 0.079342 | 0.047611 | 0.071416 | 0.080939 | 0.835827 | 0.799609 | 0.7588 | 0.736184 | 0.699881 | 0.684407 | 0 | 0.033257 | 0.194399 | 18,961 | 392 | 119 | 48.369898 | 0.736759 | 0.055008 | 0 | 0.530351 | 1 | 0 | 0.13526 | 0.013366 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060703 | false | 0 | 0.041534 | 0 | 0.105431 | 0.00639 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1e851cfc7153f817164231edd71881bf85687b0f | 112 | py | Python | pyforms/terminal/Controls/ControlText.py | dominic-dev/pyformsd | 23e31ceff2943bc0f7286d25dd14450a14b986af | [
"MIT"
] | null | null | null | pyforms/terminal/Controls/ControlText.py | dominic-dev/pyformsd | 23e31ceff2943bc0f7286d25dd14450a14b986af | [
"MIT"
] | null | null | null | pyforms/terminal/Controls/ControlText.py | dominic-dev/pyformsd | 23e31ceff2943bc0f7286d25dd14450a14b986af | [
"MIT"
] | null | null | null | from pyforms.terminal.Controls.ControlBase import ControlBase
class ControlText(ControlBase):pass
| 22.4 | 61 | 0.767857 | 11 | 112 | 7.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 112 | 5 | 62 | 22.4 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1e8637e33980200d741517bee56227d9422268c6 | 3,270 | py | Python | matchbook/tests/test_referencedata.py | jackrhunt13/matchbook | a12ac26e272ddc004f2590b4f4ad8f4715f1df66 | [
"MIT"
] | 11 | 2017-07-11T10:08:19.000Z | 2021-01-22T17:08:44.000Z | matchbook/tests/test_referencedata.py | oddoneuk/matchbook | eb37817c4f6604097be406edf2df7f711586dcf6 | [
"MIT"
] | 10 | 2017-07-14T23:43:25.000Z | 2021-08-19T17:21:10.000Z | matchbook/tests/test_referencedata.py | oddoneuk/matchbook | eb37817c4f6604097be406edf2df7f711586dcf6 | [
"MIT"
] | 9 | 2017-12-13T13:25:42.000Z | 2021-07-16T18:24:23.000Z |
import unittest
import unittest.mock as mock
from matchbook.apiclient import APIClient
from matchbook.endpoints.referencedata import ReferenceData
class ReferenceDataTest(unittest.TestCase):
def setUp(self):
self.client = APIClient('username', 'password')
self.reference_data = ReferenceData(sel... | 50.307692 | 110 | 0.750459 | 389 | 3,270 | 6.041131 | 0.154242 | 0.114894 | 0.171489 | 0.137872 | 0.806809 | 0.806809 | 0.806809 | 0.806809 | 0.806809 | 0.806809 | 0 | 0.005321 | 0.13792 | 3,270 | 64 | 111 | 51.09375 | 0.828308 | 0 | 0 | 0.382979 | 0 | 0 | 0.268278 | 0.218415 | 0 | 0 | 0 | 0 | 0.255319 | 1 | 0.148936 | false | 0.021277 | 0.085106 | 0 | 0.255319 | 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 |
1e8f489835cfb3d4fe8abf4f35f2a2bad935cef2 | 8,384 | py | Python | bulk_renamer/commands.py | jfilipedias/bulk-renamer | ba3bde289b8383a0ac94baec186afa0e4a06b983 | [
"MIT"
] | null | null | null | bulk_renamer/commands.py | jfilipedias/bulk-renamer | ba3bde289b8383a0ac94baec186afa0e4a06b983 | [
"MIT"
] | null | null | null | bulk_renamer/commands.py | jfilipedias/bulk-renamer | ba3bde289b8383a0ac94baec186afa0e4a06b983 | [
"MIT"
] | null | null | null | import typer
from rich.console import Console
from bulk_renamer.functions import confirm_changes, get_cwd_file_paths, get_value_input
app = typer.Typer()
console = Console()
@app.command()
def alternate() -> None:
"""Alternate the name characters between upper and lowercase."""
current_file_paths = get_cwd... | 26.615873 | 88 | 0.634781 | 1,059 | 8,384 | 4.806421 | 0.100094 | 0.045383 | 0.062868 | 0.11002 | 0.818075 | 0.79391 | 0.778389 | 0.778389 | 0.744008 | 0.699214 | 0 | 0.000958 | 0.25334 | 8,384 | 314 | 89 | 26.700637 | 0.812141 | 0.065124 | 0 | 0.691244 | 0 | 0 | 0.154569 | 0.027284 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0553 | false | 0 | 0.013825 | 0 | 0.069124 | 0.009217 | 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 |
1ec11b6314f8de85041be81ac37b239eff09d230 | 140 | py | Python | api/admin.py | prakash3720/django-rest | 6c275ad0bb8b7b6d070a16073573d9996e846d48 | [
"MIT"
] | null | null | null | api/admin.py | prakash3720/django-rest | 6c275ad0bb8b7b6d070a16073573d9996e846d48 | [
"MIT"
] | 7 | 2020-06-06T01:37:36.000Z | 2022-02-10T14:21:49.000Z | api/admin.py | prakash3720/django-rest | 6c275ad0bb8b7b6d070a16073573d9996e846d48 | [
"MIT"
] | null | null | null | from django.contrib import admin
from api import models
admin.site.register(models.UserProfile)
admin.site.register(models.ProfileTodoItem)
| 28 | 43 | 0.85 | 19 | 140 | 6.263158 | 0.578947 | 0.151261 | 0.285714 | 0.386555 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 140 | 4 | 44 | 35 | 0.915385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
a201e0039c6c3efa71d928642d5cc3a7b9558fcd | 95 | py | Python | Arknights/__init__.py | LittleNightmare/ArknightsAutoHelper | c8df51f00e0d17c636f74ed58c4b16e12459ddbe | [
"MIT"
] | 1 | 2021-05-03T13:39:08.000Z | 2021-05-03T13:39:08.000Z | Arknights/__init__.py | ZhouZiHao-Moon/ArknightsAutoHelper | 3135b54d69f2255f99c13d42dc936065701c3129 | [
"MIT"
] | null | null | null | Arknights/__init__.py | ZhouZiHao-Moon/ArknightsAutoHelper | 3135b54d69f2255f99c13d42dc936065701c3129 | [
"MIT"
] | null | null | null | from Arknights.base import ArknightsHelper
from Arknights.ArknightsShell import ArknightsShell
| 31.666667 | 51 | 0.894737 | 10 | 95 | 8.5 | 0.6 | 0.305882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 95 | 2 | 52 | 47.5 | 0.977011 | 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 |
a216993c76debc9606b3b65cc3c396de09339c2e | 10,379 | py | Python | tests/test_sklearn_mlp_converter.py | RTHMaK/sklearn-onnx | dbbd4a04f0a395549b1e5465c5d65ceaef07a726 | [
"MIT"
] | null | null | null | tests/test_sklearn_mlp_converter.py | RTHMaK/sklearn-onnx | dbbd4a04f0a395549b1e5465c5d65ceaef07a726 | [
"MIT"
] | null | null | null | tests/test_sklearn_mlp_converter.py | RTHMaK/sklearn-onnx | dbbd4a04f0a395549b1e5465c5d65ceaef07a726 | [
"MIT"
] | 1 | 2020-10-01T09:26:27.000Z | 2020-10-01T09:26:27.000Z | """
Tests scikit-learn's MLPClassifier and MLPRegressor converters.
"""
import unittest
from sklearn.neural_network import MLPClassifier, MLPRegressor
from skl2onnx import convert_sklearn
from skl2onnx.common.data_types import FloatTensorType, Int64TensorType
from skl2onnx.common.data_types import onnx_built_with_ml
... | 37.200717 | 79 | 0.606995 | 1,008 | 10,379 | 5.893849 | 0.095238 | 0.032823 | 0.043764 | 0.037704 | 0.850025 | 0.84649 | 0.821747 | 0.821747 | 0.816361 | 0.814341 | 0 | 0.013646 | 0.293959 | 10,379 | 278 | 80 | 37.334532 | 0.79708 | 0.00607 | 0 | 0.692607 | 0 | 0 | 0.200621 | 0.110206 | 0 | 0 | 0 | 0 | 0.050584 | 1 | 0.050584 | false | 0 | 0.023346 | 0 | 0.077821 | 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 |
bf57903e93ae726b6448ff1fd294672dd49d3ed2 | 412,432 | py | Python | ibmpairs/catalog.py | taylorsteffanj/ibmpairs | 8892ac67ebebee300eaed4167cca8685f8efd82e | [
"BSD-3-Clause"
] | 1 | 2019-05-01T14:48:57.000Z | 2019-05-01T14:48:57.000Z | ibmpairs/catalog.py | taylorsteffanj/ibmpairs | 8892ac67ebebee300eaed4167cca8685f8efd82e | [
"BSD-3-Clause"
] | null | null | null | ibmpairs/catalog.py | taylorsteffanj/ibmpairs | 8892ac67ebebee300eaed4167cca8685f8efd82e | [
"BSD-3-Clause"
] | null | null | null | """
IBM PAIRS Catalog: A Python module to assist with the retrival, creation,
update and deletion of metadata in the IBM PAIRS catalog.
Copyright 2019-2021 Physical Analytics, IBM Research All Rights Reserved.
SPDX-License-Identifier: BSD-3-Clause
"""
# fold: Import Python Standard Library {{{
# Python Standard Lib... | 39.817725 | 265 | 0.589093 | 45,627 | 412,432 | 4.98422 | 0.0112 | 0.068663 | 0.021489 | 0.020179 | 0.908959 | 0.86376 | 0.832878 | 0.802414 | 0.774109 | 0.738702 | 0 | 0.000704 | 0.346035 | 412,432 | 10,358 | 266 | 39.817725 | 0.84246 | 0.243839 | 0 | 0.619433 | 0 | 0.002313 | 0.047312 | 0.015242 | 0 | 0 | 0 | 0 | 0 | 1 | 0.147677 | false | 0 | 0.002313 | 0.032581 | 0.264315 | 0.000193 | 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 |
bf580f12fe3ae3241ea54cc7e96d82d203910dbc | 2,738 | py | Python | tests/playground.py | andre4k14/sudoku_solver | e7e308c23d7dd1e9a9349970d601a60554396d80 | [
"MIT"
] | null | null | null | tests/playground.py | andre4k14/sudoku_solver | e7e308c23d7dd1e9a9349970d601a60554396d80 | [
"MIT"
] | null | null | null | tests/playground.py | andre4k14/sudoku_solver | e7e308c23d7dd1e9a9349970d601a60554396d80 | [
"MIT"
] | null | null | null | import sys
import signal
from sudoku_solver.sudokusolver import SudokuArray, SudokuSolver
from sudoku_solver import solve_sudoku
def cleanup(*args):
print("The program is stopping")
sys.exit(0)
def main():
test_1 = [[7, 9, 0, 2, 0, 0, 0, 6, 0],
[2, 0, 0, 4, 0, 3, 0, 0, 1],
[0... | 32.987952 | 64 | 0.369978 | 512 | 2,738 | 1.908203 | 0.085938 | 0.42784 | 0.497441 | 0.548618 | 0.400205 | 0.35824 | 0.24565 | 0.191402 | 0.170931 | 0.135107 | 0 | 0.263854 | 0.420015 | 2,738 | 82 | 65 | 33.390244 | 0.351385 | 0.005844 | 0 | 0.185714 | 0 | 0 | 0.011401 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0 | 0.057143 | 0 | 0.085714 | 0.057143 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bf6c7790b9aca705d7735a54dd7153b6634df954 | 24 | py | Python | fetch/__init__.py | wilsonj806/nyc-tree-data-fetcher | 12ddfb8da11cf3b4f272cab167b7220d8744abca | [
"MIT"
] | null | null | null | fetch/__init__.py | wilsonj806/nyc-tree-data-fetcher | 12ddfb8da11cf3b4f272cab167b7220d8744abca | [
"MIT"
] | null | null | null | fetch/__init__.py | wilsonj806/nyc-tree-data-fetcher | 12ddfb8da11cf3b4f272cab167b7220d8744abca | [
"MIT"
] | null | null | null | from .fetch import Fetch | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 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 |
bf919a1283f55af1cdc27d28aae93405cee0c4c1 | 97 | py | Python | batchspawner/tests/conftest.py | dylex/jupyterhub-batchspawner | ce6f09c60c5e6814f44249b71e77f04e802747b9 | [
"BSD-3-Clause"
] | 123 | 2016-07-23T07:04:43.000Z | 2022-03-29T11:43:41.000Z | batchspawner/tests/conftest.py | NCAR/batchspawner | a31e9e2cd6803c3b940745cc7495c01a3c23badd | [
"BSD-3-Clause"
] | 186 | 2016-07-21T14:54:45.000Z | 2022-03-31T14:18:58.000Z | batchspawner/tests/conftest.py | NCAR/batchspawner | a31e9e2cd6803c3b940745cc7495c01a3c23badd | [
"BSD-3-Clause"
] | 107 | 2016-07-27T22:08:50.000Z | 2022-03-17T08:15:26.000Z | """py.test fixtures imported from Jupyterhub testing"""
from jupyterhub.tests.conftest import *
| 24.25 | 55 | 0.783505 | 12 | 97 | 6.333333 | 0.833333 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 97 | 3 | 56 | 32.333333 | 0.883721 | 0.505155 | 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 |
44c92c07f253a29e8776a15c92cb5cc5433fe631 | 101 | py | Python | src/utils.py | mayankjobanputra/UQA-fever | c8f8c8cf7f7659ca88a3de1969538740c28803ff | [
"MIT"
] | null | null | null | src/utils.py | mayankjobanputra/UQA-fever | c8f8c8cf7f7659ca88a3de1969538740c28803ff | [
"MIT"
] | null | null | null | src/utils.py | mayankjobanputra/UQA-fever | c8f8c8cf7f7659ca88a3de1969538740c28803ff | [
"MIT"
] | 1 | 2021-11-06T14:29:53.000Z | 2021-11-06T14:29:53.000Z | import progressbar
def get_bar(max_value):
return progressbar.ProgressBar(max_value=max_value)
| 16.833333 | 55 | 0.811881 | 14 | 101 | 5.571429 | 0.571429 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118812 | 101 | 5 | 56 | 20.2 | 0.876404 | 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 | 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 |
44ee7d1f9319f36173ae85161dd7c0b4490448f5 | 193 | py | Python | core/views.py | Stanislav-Rybonka/studentsdb | efb1440db4ec640868342a5f74cd48784268781f | [
"MIT"
] | 1 | 2020-03-02T20:55:04.000Z | 2020-03-02T20:55:04.000Z | core/views.py | Stanislav-Rybonka/studentsdb | efb1440db4ec640868342a5f74cd48784268781f | [
"MIT"
] | 6 | 2020-06-05T17:18:41.000Z | 2022-03-11T23:14:47.000Z | core/views.py | Stanislav-Rybonka/studentsdb | efb1440db4ec640868342a5f74cd48784268781f | [
"MIT"
] | null | null | null | from django.views.generic import TemplateView
class HomePageView(TemplateView):
template_name = 'site_/home.html'
class TeamPageView(TemplateView):
template_name = 'site_/team.html' | 21.444444 | 45 | 0.777202 | 22 | 193 | 6.636364 | 0.681818 | 0.273973 | 0.328767 | 0.383562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129534 | 193 | 9 | 46 | 21.444444 | 0.869048 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
780ef2cfabdd00393469fc2a6161372843c9bd37 | 1,767 | py | Python | scripts/statistics/pedestrians_by_conditions.py | lopiola/integracja_wypadki | 270c8784041c9b857c32f06099434d3ecb57319f | [
"MIT"
] | null | null | null | scripts/statistics/pedestrians_by_conditions.py | lopiola/integracja_wypadki | 270c8784041c9b857c32f06099434d3ecb57319f | [
"MIT"
] | null | null | null | scripts/statistics/pedestrians_by_conditions.py | lopiola/integracja_wypadki | 270c8784041c9b857c32f06099434d3ecb57319f | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
from scripts.db_api import accident
def general_query():
return '''
SELECT count(*), (select count(*) from accident
join person on(acc_id = accident.id)
where country = 'USA'
and person.type = 'PEDESTRIAN') as pedestrian
from accident
where country = 'USA';
'... | 23.56 | 64 | 0.657612 | 241 | 1,767 | 4.709544 | 0.228216 | 0.096916 | 0.132159 | 0.142731 | 0.770925 | 0.770925 | 0.743612 | 0.743612 | 0.743612 | 0.743612 | 0 | 0.00563 | 0.195812 | 1,767 | 75 | 64 | 23.56 | 0.793103 | 0.021505 | 0 | 0.629032 | 0 | 0 | 0.72338 | 0.028356 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096774 | false | 0 | 0.016129 | 0.080645 | 0.225806 | 0.032258 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
78426b582adc55fae8a0b9b287317e16bc9cfd11 | 4,326 | py | Python | tests/test_pydeduplines.py | Intsights/PyDeduplines | f8e38b2ce135469a670d8600e75d3f61447807f3 | [
"MIT"
] | 31 | 2020-02-04T13:50:19.000Z | 2021-07-20T13:21:31.000Z | tests/test_pydeduplines.py | Intsights/PyDeduplines | f8e38b2ce135469a670d8600e75d3f61447807f3 | [
"MIT"
] | null | null | null | tests/test_pydeduplines.py | Intsights/PyDeduplines | f8e38b2ce135469a670d8600e75d3f61447807f3 | [
"MIT"
] | 3 | 2020-04-05T03:43:48.000Z | 2021-07-20T13:21:44.000Z | import tempfile
import contextlib
import pytest
import random
import pydeduplines
@pytest.mark.parametrize(
'number_of_threads',
[
0,
1,
2,
]
)
@pytest.mark.parametrize(
'number_of_splits',
[
1,
2,
]
)
def test_compute_unique_lines_one_file(
number_... | 25.298246 | 87 | 0.599168 | 493 | 4,326 | 4.888438 | 0.131846 | 0.079668 | 0.107884 | 0.079668 | 0.930705 | 0.915768 | 0.909129 | 0.909129 | 0.882158 | 0.882158 | 0 | 0.019504 | 0.30074 | 4,326 | 170 | 88 | 25.447059 | 0.77719 | 0 | 0 | 0.686667 | 0 | 0 | 0.035136 | 0 | 0 | 0 | 0 | 0 | 0.02 | 1 | 0.02 | false | 0 | 0.033333 | 0 | 0.053333 | 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 |
154e77b80713b849048590a71b23a6e7b21131f8 | 19,695 | py | Python | MyFuncs.py | hkujy/BianLiShuang | d4f38310e166926dccffd096c04e6c288997c799 | [
"MIT"
] | null | null | null | MyFuncs.py | hkujy/BianLiShuang | d4f38310e166926dccffd096c04e6c288997c799 | [
"MIT"
] | null | null | null | MyFuncs.py | hkujy/BianLiShuang | d4f38310e166926dccffd096c04e6c288997c799 | [
"MIT"
] | null | null | null | """
contain all the functions
"""
from os import times
import ParaScript as ps
import matplotlib.pyplot as plt
#TODO:
# 1. add fixed operation cost
# 2. add the effect of freqeuncy
class OperatorClass(object):
"""
operator
"""
def __init__(self, _id):
self.id = _id
self.price ... | 37.020677 | 165 | 0.635491 | 2,880 | 19,695 | 4.101389 | 0.082639 | 0.036404 | 0.032001 | 0.023112 | 0.797833 | 0.773789 | 0.742465 | 0.731375 | 0.717406 | 0.711649 | 0 | 0.041482 | 0.198274 | 19,695 | 532 | 166 | 37.020677 | 0.706586 | 0.241787 | 0 | 0.717391 | 0 | 0.009317 | 0.100975 | 0.028988 | 0 | 0 | 0 | 0.00188 | 0 | 1 | 0.046584 | false | 0 | 0.009317 | 0 | 0.065217 | 0.02795 | 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 |
157c5fcc329a8ef19b0629f912b4f2ac69932eec | 218 | py | Python | pyshorteners/exceptions.py | relrod/pyshorteners | f6a4a98db77ce7858c4b2a2999cd89dba3b4904d | [
"MIT"
] | 1 | 2021-03-24T11:54:30.000Z | 2021-03-24T11:54:30.000Z | pyshorteners/exceptions.py | gauravssnl/pyshorteners | f6a4a98db77ce7858c4b2a2999cd89dba3b4904d | [
"MIT"
] | null | null | null | pyshorteners/exceptions.py | gauravssnl/pyshorteners | f6a4a98db77ce7858c4b2a2999cd89dba3b4904d | [
"MIT"
] | null | null | null | # coding: utf-8
from __future__ import unicode_literals
class UnknownShortenerException(Exception):
pass
class ShorteningErrorException(Exception):
pass
class ExpandingErrorException(Exception):
pass
| 14.533333 | 43 | 0.788991 | 20 | 218 | 8.35 | 0.7 | 0.233533 | 0.215569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 0.155963 | 218 | 14 | 44 | 15.571429 | 0.902174 | 0.059633 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
1590222b2c3112ad594f550e10739fcb8d63d5a6 | 70 | py | Python | tests/test_cgnswrap.py | chiao45/cgns_wrapper | b46acbd0e2ee2eb83cf5454190f03786a7efe5f0 | [
"MIT"
] | null | null | null | tests/test_cgnswrap.py | chiao45/cgns_wrapper | b46acbd0e2ee2eb83cf5454190f03786a7efe5f0 | [
"MIT"
] | null | null | null | tests/test_cgnswrap.py | chiao45/cgns_wrapper | b46acbd0e2ee2eb83cf5454190f03786a7efe5f0 | [
"MIT"
] | null | null | null | import cgns_wrapper
def test_pycgns():
cgns_wrapper.run_tests()
| 11.666667 | 28 | 0.757143 | 10 | 70 | 4.9 | 0.8 | 0.44898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157143 | 70 | 5 | 29 | 14 | 0.830508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1591b86b1d9335949b37b9a3f171b015caecab5f | 89 | py | Python | mlib/fig/fig_templates.py | mgroth0/mlib | 0442ed51eab417b6972f885605afd351892a3a9a | [
"MIT"
] | 1 | 2020-06-16T17:26:45.000Z | 2020-06-16T17:26:45.000Z | mlib/fig/fig_templates.py | mgroth0/mlib | 0442ed51eab417b6972f885605afd351892a3a9a | [
"MIT"
] | null | null | null | mlib/fig/fig_templates.py | mgroth0/mlib | 0442ed51eab417b6972f885605afd351892a3a9a | [
"MIT"
] | null | null | null | from mlib.boot.stream import arr
from mlib.fig.PlotData import DoubleBarOrBox, PlotData
| 22.25 | 54 | 0.831461 | 13 | 89 | 5.692308 | 0.692308 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 89 | 3 | 55 | 29.666667 | 0.936709 | 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 |
159e8d6b46dcc047bd34ac27ed68583d41ace03a | 41 | py | Python | doctorf/serializers.py | ninemoreminutes/doctorf | 4fff5bca82001fdf0a22db62f4361b8c1b3b5c5c | [
"BSD-3-Clause"
] | 1 | 2019-11-13T16:01:12.000Z | 2019-11-13T16:01:12.000Z | doctorf/serializers.py | ninemoreminutes/doctorf | 4fff5bca82001fdf0a22db62f4361b8c1b3b5c5c | [
"BSD-3-Clause"
] | 3 | 2020-06-05T17:16:16.000Z | 2021-06-10T18:28:39.000Z | doctorf/serializers.py | ninemoreminutes/doctorf | 4fff5bca82001fdf0a22db62f4361b8c1b3b5c5c | [
"BSD-3-Clause"
] | null | null | null | # Doctor F
from .fields import * # noqa
| 13.666667 | 29 | 0.658537 | 6 | 41 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243902 | 41 | 2 | 30 | 20.5 | 0.870968 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
15bddd053bde59e8741300bb740d97b182241f08 | 160 | py | Python | plotly/graph_objs/parcats/line/colorbar/__init__.py | mprostock/plotly.py | 3471c3dfbf783927c203c676422260586514b341 | [
"MIT"
] | 12 | 2020-04-18T18:10:22.000Z | 2021-12-06T10:11:15.000Z | plotly/graph_objs/parcats/line/colorbar/__init__.py | Vesauza/plotly.py | e53e626d59495d440341751f60aeff73ff365c28 | [
"MIT"
] | 27 | 2020-04-28T21:23:12.000Z | 2021-06-25T15:36:38.000Z | plotly/graph_objs/parcats/line/colorbar/__init__.py | Vesauza/plotly.py | e53e626d59495d440341751f60aeff73ff365c28 | [
"MIT"
] | 6 | 2020-04-18T23:07:08.000Z | 2021-11-18T07:53:06.000Z | from ._title import Title
from plotly.graph_objs.parcats.line.colorbar import title
from ._tickformatstop import Tickformatstop
from ._tickfont import Tickfont
| 32 | 57 | 0.85625 | 21 | 160 | 6.333333 | 0.52381 | 0.165414 | 0.225564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 160 | 4 | 58 | 40 | 0.923611 | 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 |
ec74806384d9b1e143407d7488c5ab24058fbb2b | 6,755 | py | Python | networkx_plotting.py | SYRROCA/SYRROCAIMS | 6ac24f17444ed0a0b973748756ac6c7b3a2b138f | [
"BSD-3-Clause"
] | null | null | null | networkx_plotting.py | SYRROCA/SYRROCAIMS | 6ac24f17444ed0a0b973748756ac6c7b3a2b138f | [
"BSD-3-Clause"
] | null | null | null | networkx_plotting.py | SYRROCA/SYRROCAIMS | 6ac24f17444ed0a0b973748756ac6c7b3a2b138f | [
"BSD-3-Clause"
] | null | null | null | /*
* Software Name : SYRROCA
* Version: 1.0
* SPDX-FileCopyrightText: Copyright (c) 2021 Orange
* SPDX-License-Identifier: BSD-3-Clause
*
* This software is distributed under the BSD 3-Clause "New" or "Revised" License,
* the text of which is available at https://spdx.org/licenses/BSD-3-Clause.html
* or see the... | 54.475806 | 171 | 0.623834 | 939 | 6,755 | 4.347178 | 0.232162 | 0.020578 | 0.041156 | 0.029397 | 0.733954 | 0.733954 | 0.719745 | 0.719745 | 0.718765 | 0.718765 | 0 | 0.034032 | 0.230052 | 6,755 | 123 | 172 | 54.918699 | 0.750625 | 0.039674 | 0 | 0.642857 | 0 | 0 | 0.059483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.020408 | null | null | 0.020408 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ec8fb02287cad3ff9807d4f7b4a66b59e0088cb2 | 269 | py | Python | pub_data_visualization/outages/plot/__init__.py | cre-os/pub-data-visualization | e5ec45e6397258646290836fc1a3b39ad69bf266 | [
"MIT"
] | 10 | 2020-10-08T11:35:49.000Z | 2021-01-22T16:47:59.000Z | pub_data_visualization/outages/plot/__init__.py | l-leo/pub-data-visualization | 68eea00491424581b057495a7f0f69cf74e16e7d | [
"MIT"
] | 3 | 2021-03-15T14:26:43.000Z | 2021-12-02T15:27:49.000Z | pub_data_visualization/outages/plot/__init__.py | cre-dev/pub-data-visualization | 229bb7a543684be2cb06935299345ce3263da946 | [
"MIT"
] | 1 | 2021-01-22T16:47:10.000Z | 2021-01-22T16:47:10.000Z |
"""
Module to plot outages data.
"""
from .animated_availability import *
from .evolution_mean_availability import *
from .expected_program import *
from .incremental_programs import *
from .regression_delays import * | 22.416667 | 44 | 0.64684 | 26 | 269 | 6.461538 | 0.653846 | 0.238095 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.289963 | 269 | 12 | 45 | 22.416667 | 0.879581 | 0.104089 | 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 | 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 |
ec913cde7ebc969c7ead7388f0570b9e7961d8b0 | 163 | py | Python | sls/hover.py | jayvdb/sls | c788815898b3665cfe5b316b7780190cb9bdacb9 | [
"Apache-2.0"
] | null | null | null | sls/hover.py | jayvdb/sls | c788815898b3665cfe5b316b7780190cb9bdacb9 | [
"Apache-2.0"
] | null | null | null | sls/hover.py | jayvdb/sls | c788815898b3665cfe5b316b7780190cb9bdacb9 | [
"Apache-2.0"
] | null | null | null | class Hover():
"""
Generate hover information
"""
def hover(self, ws, doc, position):
# return {'contents': '.hover.'}
return None
| 20.375 | 40 | 0.539877 | 16 | 163 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.306748 | 163 | 7 | 41 | 23.285714 | 0.778761 | 0.355828 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
eca07c20f9a9fc385ead5678578ba305b4bcd387 | 47 | py | Python | tools/Polygraphy/polygraphy/backend/common/__init__.py | leo0519/TensorRT | 498dcb009fe4c2dedbe9c61044d3de4f3c04a41b | [
"Apache-2.0"
] | 5,249 | 2019-06-17T17:20:34.000Z | 2022-03-31T17:56:05.000Z | tools/Polygraphy/polygraphy/backend/common/__init__.py | leo0519/TensorRT | 498dcb009fe4c2dedbe9c61044d3de4f3c04a41b | [
"Apache-2.0"
] | 1,721 | 2019-06-17T18:13:29.000Z | 2022-03-31T16:09:53.000Z | tools/Polygraphy/polygraphy/backend/common/__init__.py | leo0519/TensorRT | 498dcb009fe4c2dedbe9c61044d3de4f3c04a41b | [
"Apache-2.0"
] | 1,414 | 2019-06-18T04:01:17.000Z | 2022-03-31T09:16:53.000Z | from polygraphy.backend.common.loader import *
| 23.5 | 46 | 0.829787 | 6 | 47 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.906977 | 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 |
eca7ad2658211ea8bbb17e982650008c7bdac1eb | 222 | py | Python | eu.modelwriter.smtlib.texteditor/lib/z3-4.8.4/win/python/z3/__init__.py | ModelWriter/smtlib-tool | b075a8b6bf6188134a50f3884aad480d468fe558 | [
"MIT"
] | null | null | null | eu.modelwriter.smtlib.texteditor/lib/z3-4.8.4/win/python/z3/__init__.py | ModelWriter/smtlib-tool | b075a8b6bf6188134a50f3884aad480d468fe558 | [
"MIT"
] | null | null | null | eu.modelwriter.smtlib.texteditor/lib/z3-4.8.4/win/python/z3/__init__.py | ModelWriter/smtlib-tool | b075a8b6bf6188134a50f3884aad480d468fe558 | [
"MIT"
] | null | null | null | from .z3 import *
from . import z3num
from . import z3poly
from . import z3printer
from . import z3rcf
from . import z3types
from . import z3util
# generated files
from . import z3core
from . import z3consts
| 17.076923 | 24 | 0.711712 | 29 | 222 | 5.448276 | 0.448276 | 0.506329 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053254 | 0.238739 | 222 | 12 | 25 | 18.5 | 0.881657 | 0.067568 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.111111 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ece471d1c9cf27c090f794409cc8a9006870d54b | 46 | py | Python | helper2.py | bvt2nc/cs3240-labdemo | 76cb93a98daf8b1934b6faaf1e641e2380235736 | [
"MIT"
] | null | null | null | helper2.py | bvt2nc/cs3240-labdemo | 76cb93a98daf8b1934b6faaf1e641e2380235736 | [
"MIT"
] | null | null | null | helper2.py | bvt2nc/cs3240-labdemo | 76cb93a98daf8b1934b6faaf1e641e2380235736 | [
"MIT"
] | null | null | null | def greeting2(msg):
print("Greeting2" + msg)
| 15.333333 | 25 | 0.695652 | 6 | 46 | 5.333333 | 0.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.130435 | 46 | 2 | 26 | 23 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
01c3c6e52fe02038072dd45f1b2049ef35bcd5c2 | 132 | py | Python | pit_package/pit_poland/data_import/tests/__init__.py | Qertan/NYPD21Z | 24ad8f22b6cdc6f424470d00e3528ca49c8fd213 | [
"BSD-2-Clause"
] | 1 | 2022-02-22T15:15:27.000Z | 2022-02-22T15:15:27.000Z | pit_package/pit_poland/data_import/tests/__init__.py | Qertan/NYPD21Z | 24ad8f22b6cdc6f424470d00e3528ca49c8fd213 | [
"BSD-2-Clause"
] | null | null | null | pit_package/pit_poland/data_import/tests/__init__.py | Qertan/NYPD21Z | 24ad8f22b6cdc6f424470d00e3528ca49c8fd213 | [
"BSD-2-Clause"
] | null | null | null | from .test_import import test_import_pit
from .test_import import test_import_ppl
__all__ = ("test_import_pit", "test_import_ppl") | 26.4 | 48 | 0.825758 | 21 | 132 | 4.52381 | 0.285714 | 0.631579 | 0.294737 | 0.421053 | 0.631579 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098485 | 132 | 5 | 48 | 26.4 | 0.798319 | 0 | 0 | 0 | 0 | 0 | 0.225564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
bf000ddd66d83e322076d509432d2ac5b070b155 | 59 | py | Python | timepiece/contracts/tests/__init__.py | icekernel/django-timepiece | 883cfcd50da3d1b411a43f3b6116342b49117ace | [
"MIT"
] | null | null | null | timepiece/contracts/tests/__init__.py | icekernel/django-timepiece | 883cfcd50da3d1b411a43f3b6116342b49117ace | [
"MIT"
] | null | null | null | timepiece/contracts/tests/__init__.py | icekernel/django-timepiece | 883cfcd50da3d1b411a43f3b6116342b49117ace | [
"MIT"
] | null | null | null | from .test_contracts import *
from .test_invoices import *
| 19.666667 | 29 | 0.79661 | 8 | 59 | 5.625 | 0.625 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 2 | 30 | 29.5 | 0.882353 | 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 |
171084c3f05d7cfffa6b9449c5c9e47128b4b78b | 127 | py | Python | src/von_connector/templatetags/index.py | tushar-on/permitify | b1caee9995aca0d9450d7d8acc3f9621c3128493 | [
"Apache-2.0"
] | null | null | null | src/von_connector/templatetags/index.py | tushar-on/permitify | b1caee9995aca0d9450d7d8acc3f9621c3128493 | [
"Apache-2.0"
] | null | null | null | src/von_connector/templatetags/index.py | tushar-on/permitify | b1caee9995aca0d9450d7d8acc3f9621c3128493 | [
"Apache-2.0"
] | null | null | null | from django.template.defaulttags import register
@register.filter
def index(sequence, position):
return sequence[position] | 25.4 | 48 | 0.811024 | 15 | 127 | 6.866667 | 0.8 | 0.31068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110236 | 127 | 5 | 49 | 25.4 | 0.911504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1735f7158b2470e7f9d26765325de83112b36033 | 8,552 | py | Python | coba/tests/test_environments_definitions.py | VowpalWabbit/coba | f3ba37280ea6125dc334a501ba39b3d30696ef4b | [
"BSD-3-Clause"
] | 30 | 2020-08-06T22:17:34.000Z | 2022-03-15T12:20:20.000Z | coba/tests/test_environments_definitions.py | VowpalWabbit/coba | f3ba37280ea6125dc334a501ba39b3d30696ef4b | [
"BSD-3-Clause"
] | 5 | 2021-02-25T02:06:22.000Z | 2022-01-11T14:18:34.000Z | coba/tests/test_environments_definitions.py | VowpalWabbit/coba | f3ba37280ea6125dc334a501ba39b3d30696ef4b | [
"BSD-3-Clause"
] | 9 | 2020-11-25T19:55:44.000Z | 2021-10-01T20:20:36.000Z | import json
import unittest
from coba.registry import CobaRegistry
from coba.exceptions import CobaException
from coba.environments.definitions import EnvironmentDefinitionFileV1
from coba.environments.primitives import SimulatedEnvironment
from coba.environments.openml import OpenmlSimulation
from coba.environments.... | 43.191919 | 111 | 0.639383 | 748 | 8,552 | 7.219251 | 0.105615 | 0.079444 | 0.142222 | 0.082963 | 0.827963 | 0.814074 | 0.767407 | 0.76537 | 0.721296 | 0.672963 | 0 | 0.038444 | 0.215271 | 8,552 | 198 | 112 | 43.191919 | 0.766205 | 0 | 0 | 0.589744 | 0 | 0.012821 | 0.225652 | 0.008769 | 0 | 0 | 0 | 0 | 0.352564 | 1 | 0.083333 | false | 0 | 0.051282 | 0 | 0.141026 | 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 |
1771848f3d7f651cfe595073be8166543a5307fc | 46 | py | Python | fbone/coupon/__init__.py | edgarallang/dop-backend | c7c89b6145dfb895ab3dcb14172fa47afdbdf1be | [
"BSD-3-Clause"
] | 1 | 2015-12-14T17:53:34.000Z | 2015-12-14T17:53:34.000Z | fbone/coupon/__init__.py | edgarallang/fbone | c7c89b6145dfb895ab3dcb14172fa47afdbdf1be | [
"BSD-3-Clause"
] | null | null | null | fbone/coupon/__init__.py | edgarallang/fbone | c7c89b6145dfb895ab3dcb14172fa47afdbdf1be | [
"BSD-3-Clause"
] | null | null | null | from .api import coupon
from .models import *
| 15.333333 | 23 | 0.76087 | 7 | 46 | 5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 24 | 23 | 0.921053 | 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 |
da4c72139af9e886002b3652d2e0a4030d5c6d45 | 33 | py | Python | apps/blog/__init__.py | telesoho/pyblog | 58fc500faeefc2559dac72a2878deacf2d7df769 | [
"MIT"
] | null | null | null | apps/blog/__init__.py | telesoho/pyblog | 58fc500faeefc2559dac72a2878deacf2d7df769 | [
"MIT"
] | null | null | null | apps/blog/__init__.py | telesoho/pyblog | 58fc500faeefc2559dac72a2878deacf2d7df769 | [
"MIT"
] | null | null | null | from .bp import app # noqa:F401
| 16.5 | 32 | 0.69697 | 6 | 33 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 0.212121 | 33 | 1 | 33 | 33 | 0.769231 | 0.272727 | 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 |
da53cfd33b305c46933469b7dc26327b6674969b | 79 | py | Python | spacetimeformer/linear_model/__init__.py | Piki1989/spacetimeformer | 7e0caf17dd03e5d25e2766c4f7132805779bcc40 | [
"MIT"
] | 209 | 2021-09-28T13:59:56.000Z | 2022-03-31T23:29:43.000Z | spacetimeformer/linear_model/__init__.py | Piki1989/spacetimeformer | 7e0caf17dd03e5d25e2766c4f7132805779bcc40 | [
"MIT"
] | 30 | 2021-09-30T07:53:38.000Z | 2022-03-22T01:13:42.000Z | spacetimeformer/linear_model/__init__.py | Piki1989/spacetimeformer | 7e0caf17dd03e5d25e2766c4f7132805779bcc40 | [
"MIT"
] | 49 | 2021-10-29T22:47:20.000Z | 2022-03-30T15:24:56.000Z | from .linear_ar import LinearModel
from .linear_model import Linear_Forecaster
| 26.333333 | 43 | 0.873418 | 11 | 79 | 6 | 0.636364 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 79 | 2 | 44 | 39.5 | 0.929577 | 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 |
da6da577d15b91b38044b528a32bd024a09f1d69 | 43 | py | Python | manga109/__init__.py | km2/manga109 | 49940576280aa39105ef778465190655b78d1019 | [
"MIT"
] | null | null | null | manga109/__init__.py | km2/manga109 | 49940576280aa39105ef778465190655b78d1019 | [
"MIT"
] | null | null | null | manga109/__init__.py | km2/manga109 | 49940576280aa39105ef778465190655b78d1019 | [
"MIT"
] | null | null | null | from .client import Manga109 # noqa: F401
| 21.5 | 42 | 0.744186 | 6 | 43 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 0.186047 | 43 | 1 | 43 | 43 | 0.742857 | 0.232558 | 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 |
da70bfed2c85fda2bf5119c2db4f24b316e5049e | 32 | py | Python | test/files/legaluri/lagrum-basic.py | redhog/ferenda | 6935e26fdc63adc68b8e852292456b8d9155b1f7 | [
"BSD-2-Clause"
] | 18 | 2015-03-12T17:42:44.000Z | 2021-12-27T10:32:22.000Z | test/files/legaluri/lagrum-basic.py | redhog/ferenda | 6935e26fdc63adc68b8e852292456b8d9155b1f7 | [
"BSD-2-Clause"
] | 13 | 2016-01-27T10:19:07.000Z | 2021-12-13T20:24:36.000Z | test/files/legaluri/lagrum-basic.py | redhog/ferenda | 6935e26fdc63adc68b8e852292456b8d9155b1f7 | [
"BSD-2-Clause"
] | 6 | 2016-11-28T15:41:29.000Z | 2022-01-08T11:16:48.000Z | {'law': '1998:204', 'type': 1}
| 16 | 31 | 0.46875 | 5 | 32 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 0.15625 | 32 | 1 | 32 | 32 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
da7dcd1dbae2db51108e9d4c03500d827a66e520 | 1,916 | py | Python | stocks/common.py | JackieMa000/problems | c521558830a0bbf67f94109af92d7be4397d0a43 | [
"BSD-3-Clause"
] | null | null | null | stocks/common.py | JackieMa000/problems | c521558830a0bbf67f94109af92d7be4397d0a43 | [
"BSD-3-Clause"
] | 1 | 2020-10-23T04:06:56.000Z | 2020-10-23T04:06:56.000Z | stocks/common.py | JackieMa000/problems | c521558830a0bbf67f94109af92d7be4397d0a43 | [
"BSD-3-Clause"
] | null | null | null | from typing import List
class Solution:
# 空间压缩,滚动数组
def maxProfit(self, k: int, prices: List[int]) -> int:
if not prices: return 0
n = len(prices)
# When K is larger than the prices.size, it goes to the same solution as what stocks.a122 does.
if k > n:
maxProfit = ... | 36.846154 | 104 | 0.470772 | 313 | 1,916 | 2.859425 | 0.169329 | 0.093855 | 0.053631 | 0.049162 | 0.859218 | 0.82905 | 0.8 | 0.8 | 0.762011 | 0.762011 | 0 | 0.054098 | 0.363257 | 1,916 | 51 | 105 | 37.568627 | 0.679508 | 0.143006 | 0 | 0.628571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.028571 | 0 | 0.228571 | 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 |
e53d3673d4e6ffe6730581f8c4647a8114fe6a13 | 220 | py | Python | wikidump/processors/__init__.py | samuelebortolotti/wikidump | 88b52bf7deadc10cf62c70ab3f37fd3a690be117 | [
"MIT"
] | null | null | null | wikidump/processors/__init__.py | samuelebortolotti/wikidump | 88b52bf7deadc10cf62c70ab3f37fd3a690be117 | [
"MIT"
] | null | null | null | wikidump/processors/__init__.py | samuelebortolotti/wikidump | 88b52bf7deadc10cf62c70ab3f37fd3a690be117 | [
"MIT"
] | null | null | null | from . import (
known_languages_extractor,
wikibreak_extractor,
user_warnings_templates,
user_warnings_extractor,
user_warnings_templates_tokens,
user_warnings_probabilistic_templates_extractor
)
| 24.444444 | 51 | 0.804545 | 22 | 220 | 7.409091 | 0.5 | 0.294479 | 0.257669 | 0.368098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 220 | 8 | 52 | 27.5 | 0.881081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e56647ab4cf860bf7f00aeebe003bcddd57cb6b6 | 77 | py | Python | 15th/codility/lesson03/FrogJmp/solution.py | WooJin1993/coding_test | ec9dc2dc768fe45700b4c0695b16535c0a824f6e | [
"MIT"
] | null | null | null | 15th/codility/lesson03/FrogJmp/solution.py | WooJin1993/coding_test | ec9dc2dc768fe45700b4c0695b16535c0a824f6e | [
"MIT"
] | null | null | null | 15th/codility/lesson03/FrogJmp/solution.py | WooJin1993/coding_test | ec9dc2dc768fe45700b4c0695b16535c0a824f6e | [
"MIT"
] | null | null | null | from math import ceil
def solution(X, Y, D):
return ceil((Y-X) / D) | 15.4 | 26 | 0.584416 | 14 | 77 | 3.214286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 77 | 5 | 26 | 15.4 | 0.803571 | 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 |
e5666f999d5f59d8414387d232fbd937e5660041 | 28 | py | Python | stko/molecular/periodic/__init__.py | SFin94/stko | 7a913c7f0c4b616ddc52fef7eeb44c539176c351 | [
"MIT"
] | null | null | null | stko/molecular/periodic/__init__.py | SFin94/stko | 7a913c7f0c4b616ddc52fef7eeb44c539176c351 | [
"MIT"
] | null | null | null | stko/molecular/periodic/__init__.py | SFin94/stko | 7a913c7f0c4b616ddc52fef7eeb44c539176c351 | [
"MIT"
] | null | null | null | from .cell import * # noqa
| 14 | 27 | 0.642857 | 4 | 28 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 28 | 1 | 28 | 28 | 0.857143 | 0.142857 | 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 |
e592ca16238ac08e0767f7af7547bc0bb16d3092 | 467 | py | Python | spikeextractors/extractors/neoextractors/__init__.py | KnierimLab/spikeextractors | 716b1a91bd81fc4d6fbc7e0aef0ed6cf53cf4790 | [
"MIT"
] | null | null | null | spikeextractors/extractors/neoextractors/__init__.py | KnierimLab/spikeextractors | 716b1a91bd81fc4d6fbc7e0aef0ed6cf53cf4790 | [
"MIT"
] | null | null | null | spikeextractors/extractors/neoextractors/__init__.py | KnierimLab/spikeextractors | 716b1a91bd81fc4d6fbc7e0aef0ed6cf53cf4790 | [
"MIT"
] | null | null | null | from .plexonextractor import PlexonRecordingExtractor, PlexonSortingExtractor
from .neuralynxextractor import NeuralynxRecordingExtractor, NeuralynxNrdRecordingExtractor, NeuralynxSortingExtractor
from .mcsrawrecordingextractor import MCSRawRecordingExtractor
from .blackrockextractor import BlackrockRecordingExtracto... | 66.714286 | 119 | 0.914347 | 28 | 467 | 15.25 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06424 | 467 | 6 | 120 | 77.833333 | 0.977117 | 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 |
e5cb23149317b7bdd70638c3fc07f01628337670 | 375 | py | Python | bigfish/detection/tests/test_spot_detection.py | 4DNucleome/big-fish | 5512b6e3274872793ef4365a6dc423c72add91f9 | [
"BSD-3-Clause"
] | 17 | 2020-03-04T10:46:37.000Z | 2022-03-10T13:15:16.000Z | bigfish/detection/tests/test_spot_detection.py | 4DNucleome/big-fish | 5512b6e3274872793ef4365a6dc423c72add91f9 | [
"BSD-3-Clause"
] | 48 | 2020-03-16T13:39:44.000Z | 2022-03-31T17:26:50.000Z | bigfish/detection/tests/test_spot_detection.py | 4DNucleome/big-fish | 5512b6e3274872793ef4365a6dc423c72add91f9 | [
"BSD-3-Clause"
] | 15 | 2020-03-04T16:02:31.000Z | 2022-02-17T14:11:15.000Z | # -*- coding: utf-8 -*-
# Author: Arthur Imbert <arthur.imbert.pro@gmail.com>
# License: BSD 3 clause
"""
Unitary tests for bigfish.detection.spot_detection module.
"""
# TODO test bigfish.detection.detect_spots
# TODO test bigfish.detection.local_maximum_detection
# TODO test bigfish.detection.spots_thresholding
# T... | 28.846154 | 58 | 0.786667 | 49 | 375 | 5.877551 | 0.612245 | 0.277778 | 0.208333 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00597 | 0.106667 | 375 | 12 | 59 | 31.25 | 0.853731 | 0.936 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.083333 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e5f0e3ce2aecf349029fb8379acce36acc02990f | 29 | py | Python | fanwood/FanwoodText_build.py | chemoelectric/sortsmill | 90b97a9296582211a133970bb577013c9c86ed81 | [
"MIT"
] | 1 | 2021-10-14T20:56:30.000Z | 2021-10-14T20:56:30.000Z | fanwood/FanwoodText_build.py | chemoelectric/sortsmill | 90b97a9296582211a133970bb577013c9c86ed81 | [
"MIT"
] | null | null | null | fanwood/FanwoodText_build.py | chemoelectric/sortsmill | 90b97a9296582211a133970bb577013c9c86ed81 | [
"MIT"
] | null | null | null | from Fanwood_build import *
| 9.666667 | 27 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 2 | 28 | 14.5 | 0.916667 | 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 |
e5f53d771e613e5cea040e622cf6defdc2980e62 | 204 | py | Python | main/problemsets/tests/__init__.py | mahkhaled/class2go | b32cb441e8d96c257f70cb61274812ebeed2649d | [
"Apache-2.0"
] | 2 | 2015-10-31T23:12:52.000Z | 2021-01-19T11:03:00.000Z | main/problemsets/tests/__init__.py | sunu/class2go | 653b1edd01d390ad387dd788e0fc2d89445fbcab | [
"Apache-2.0"
] | null | null | null | main/problemsets/tests/__init__.py | sunu/class2go | 653b1edd01d390ad387dd788e0fc2d89445fbcab | [
"Apache-2.0"
] | null | null | null | # Need to import because the filenames don't match nosetest loader
# (i.e. contain [Tt]est on a word boundary)
from problemsets.tests.views_advanced import *
from problemsets.tests.views_simple import *
| 34 | 66 | 0.789216 | 32 | 204 | 4.96875 | 0.8125 | 0.188679 | 0.251572 | 0.314465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 204 | 5 | 67 | 40.8 | 0.903409 | 0.519608 | 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 |
f92902150305aa678c87a0f8a63a642bc6f5eab2 | 618 | py | Python | pypiorg/data/__all_models.py | paulburnz314/flask_talkpython | 65a13c0fc6ab37d13cc996172d7e120e346116a9 | [
"MIT"
] | null | null | null | pypiorg/data/__all_models.py | paulburnz314/flask_talkpython | 65a13c0fc6ab37d13cc996172d7e120e346116a9 | [
"MIT"
] | null | null | null | pypiorg/data/__all_models.py | paulburnz314/flask_talkpython | 65a13c0fc6ab37d13cc996172d7e120e346116a9 | [
"MIT"
] | null | null | null | # Add all your SQLAlchemy models here.
# This allows us to import just this file when
# we need to preload the models and ensure they
# are all loaded.
# noinspection PyUnresolvedReferences
import pypiorg.data.downloads
# noinspection PyUnresolvedReferences
from pypiorg import data
# noinspection PyUnresolvedReference... | 30.9 | 47 | 0.847896 | 69 | 618 | 7.594203 | 0.492754 | 0.454198 | 0.458015 | 0.538168 | 0.583969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11165 | 618 | 19 | 48 | 32.526316 | 0.954463 | 0.639159 | 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 |
00993dbd98a4902fa105d6cd3f11866eb2a6d3c1 | 46 | py | Python | items/tasks/__init__.py | lalanza808/xmrauctions | 992f0e605e566610d03c6e388ce70dcfa58864b3 | [
"MIT"
] | 3 | 2020-01-07T13:01:59.000Z | 2020-11-25T01:27:53.000Z | items/tasks/__init__.py | lalanza808/xmrauctions | 992f0e605e566610d03c6e388ce70dcfa58864b3 | [
"MIT"
] | 6 | 2020-01-02T21:33:04.000Z | 2022-03-12T00:10:40.000Z | items/tasks/__init__.py | lalanza808/xmrauctions | 992f0e605e566610d03c6e388ce70dcfa58864b3 | [
"MIT"
] | 2 | 2020-02-01T18:03:07.000Z | 2020-07-22T18:47:22.000Z | from items.tasks import cleanup, notifications | 46 | 46 | 0.869565 | 6 | 46 | 6.666667 | 1 | 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 |
dad4b53aac2155c30bb9127184ef7a2ce6bb504b | 14,526 | py | Python | tests/test_modules.py | KaiyuYue/torchshard | 89e21def180bf6063ceb2e312a61631173abc7e7 | [
"Apache-2.0"
] | 265 | 2021-04-27T12:06:45.000Z | 2022-03-17T11:13:17.000Z | tests/test_modules.py | poodarchu/torchshard | 667cfce9ed3e2170c7768d910a71aa07897857e7 | [
"Apache-2.0"
] | 7 | 2021-05-24T06:54:44.000Z | 2022-01-01T18:47:38.000Z | tests/test_modules.py | KaiyuYue/torchshard | 89e21def180bf6063ceb2e312a61631173abc7e7 | [
"Apache-2.0"
] | 11 | 2021-04-28T04:15:44.000Z | 2022-01-26T04:29:30.000Z | from typing import Optional, List, Callable, Tuple
import torch
import random
import sys
import torch.nn.functional as F
import torch.nn.parallel as parallel
import torch.multiprocessing as mp
import torch.nn.parallel as paralle
import torch.distributed as dist
import unittest
import torchshard as ts
from testing im... | 41.502857 | 108 | 0.634173 | 1,801 | 14,526 | 4.855636 | 0.104386 | 0.057976 | 0.028245 | 0.021955 | 0.819783 | 0.784791 | 0.775529 | 0.76821 | 0.718125 | 0.708519 | 0 | 0.014136 | 0.269517 | 14,526 | 349 | 109 | 41.621777 | 0.810008 | 0.041168 | 0 | 0.67037 | 0 | 0 | 0.005683 | 0 | 0 | 0 | 0 | 0 | 0.085185 | 1 | 0.022222 | false | 0 | 0.059259 | 0 | 0.085185 | 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 |
976b2720655184b59743d8e3a18984b55d69a58d | 10,052 | py | Python | dockerManager/views.py | uzairAK/serverom-panel | 3dcde05ad618e6bef280db7d3180f926fe2ab1db | [
"MIT"
] | null | null | null | dockerManager/views.py | uzairAK/serverom-panel | 3dcde05ad618e6bef280db7d3180f926fe2ab1db | [
"MIT"
] | null | null | null | dockerManager/views.py | uzairAK/serverom-panel | 3dcde05ad618e6bef280db7d3180f926fe2ab1db | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django.shortcuts import render, redirect, HttpResponse
from loginSystem.models import Administrator
from loginSystem.views import loadLoginPage
from .container import ContainerManager
from .decorators import preDockerRun
from plogical.acl import ACLManager
import json
# Create your view... | 28.475921 | 81 | 0.638878 | 900 | 10,052 | 7.122222 | 0.121111 | 0.060842 | 0.10858 | 0.093292 | 0.769891 | 0.759438 | 0.759438 | 0.750702 | 0.743526 | 0.721997 | 0 | 0.000687 | 0.275965 | 10,052 | 353 | 82 | 28.475921 | 0.880049 | 0.00955 | 0 | 0.741697 | 0 | 0 | 0.055662 | 0.002411 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088561 | false | 0 | 0.02583 | 0 | 0.295203 | 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 |
977c5b0b23e610ff5f149caa6da53ccd18ac6e79 | 19 | py | Python | ratings/cruds/__init__.py | Platzi-Master-C8/gethired-jobplacement-ratings-backend | afa5ae3a749f9fcab863832d7db0928711a3f4e0 | [
"MIT"
] | 1 | 2021-12-12T07:22:16.000Z | 2021-12-12T07:22:16.000Z | ratings/cruds/__init__.py | Platzi-Master-C8/gethired-jobplacement-ratings-backend | afa5ae3a749f9fcab863832d7db0928711a3f4e0 | [
"MIT"
] | 57 | 2021-12-21T17:56:48.000Z | 2022-03-06T21:17:39.000Z | ratings/cruds/__init__.py | Platzi-Master-C8/gethired-jobplacement-ratings-backend | afa5ae3a749f9fcab863832d7db0928711a3f4e0 | [
"MIT"
] | 5 | 2021-12-04T21:09:51.000Z | 2022-01-29T16:14:02.000Z | from . import crud
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
97aa53cc580ee18a0a4d99194c3df0e139dcc2f4 | 46 | py | Python | tests/inputs/misc/13-call-fail.py | helq/pytropos | 497ed5902e6e4912249ca0a46b477f9bfa6ae80a | [
"MIT"
] | 4 | 2019-10-06T18:01:24.000Z | 2020-07-03T05:27:35.000Z | tests/inputs/misc/13-call-fail.py | helq/pytropos | 497ed5902e6e4912249ca0a46b477f9bfa6ae80a | [
"MIT"
] | 5 | 2021-06-07T15:50:04.000Z | 2021-06-07T15:50:06.000Z | tests/inputs/misc/13-call-fail.py | helq/pytropos | 497ed5902e6e4912249ca0a46b477f9bfa6ae80a | [
"MIT"
] | null | null | null | (5)(3)
l = [a, 21, l]
l(3)
a(20, 21, *n, b=m)
| 9.2 | 18 | 0.369565 | 14 | 46 | 1.214286 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257143 | 0.23913 | 46 | 4 | 19 | 11.5 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c1774664c2fc93004cdd625d36c6951f789f9a28 | 321 | py | Python | seglibpython/seglib/multicuts/weight_modifier.py | DerThorsten/seglib | 4655079e390e301dd93e53f5beed6c9737d6df9f | [
"MIT"
] | null | null | null | seglibpython/seglib/multicuts/weight_modifier.py | DerThorsten/seglib | 4655079e390e301dd93e53f5beed6c9737d6df9f | [
"MIT"
] | null | null | null | seglibpython/seglib/multicuts/weight_modifier.py | DerThorsten/seglib | 4655079e390e301dd93e53f5beed6c9737d6df9f | [
"MIT"
] | null | null | null |
######################################
# general weight sampling
######################################
def gaussPertubation(weight,weightStt,offsetStd=0.0,out=None,n=1):
"""" very stupid sampling"""
pass
######################################
# general weight sampling
#####################################... | 16.05 | 66 | 0.367601 | 21 | 321 | 5.619048 | 0.714286 | 0.220339 | 0.355932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010345 | 0.096573 | 321 | 20 | 67 | 16.05 | 0.396552 | 0.221184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c1b12edb01c4318df30f8ec90c76a881fb91acc9 | 48 | py | Python | deep_utils/utils/decorators/__init__.py | pooya-mohammadi/deep_utils | b589d8ab0a8d63f3d3b90c3bc0d4b1b648b8be37 | [
"MIT"
] | 36 | 2021-11-10T05:17:18.000Z | 2022-03-27T18:25:10.000Z | deep_utils/utils/decorators/__init__.py | pooya-mohammadi/deep_utils | b589d8ab0a8d63f3d3b90c3bc0d4b1b648b8be37 | [
"MIT"
] | 1 | 2021-12-03T07:07:18.000Z | 2022-03-08T09:29:03.000Z | deep_utils/utils/decorators/__init__.py | pooya-mohammadi/deep_utils | b589d8ab0a8d63f3d3b90c3bc0d4b1b648b8be37 | [
"MIT"
] | 4 | 2021-11-28T07:39:57.000Z | 2022-03-30T05:46:10.000Z | from .main import get_func_time, get_method_time | 48 | 48 | 0.875 | 9 | 48 | 4.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c1c33105e0839cf4c5be0ea11a50c3d9a31cd16e | 33 | py | Python | libs/garden/garden.zbarcam/__init__.py | Zer0897/keepstock | d4bcde7665688827eca3ff0280af2a2fa4eb81d3 | [
"MIT"
] | null | null | null | libs/garden/garden.zbarcam/__init__.py | Zer0897/keepstock | d4bcde7665688827eca3ff0280af2a2fa4eb81d3 | [
"MIT"
] | null | null | null | libs/garden/garden.zbarcam/__init__.py | Zer0897/keepstock | d4bcde7665688827eca3ff0280af2a2fa4eb81d3 | [
"MIT"
] | null | null | null | from .zbarcam import ZBarCam
| 16.5 | 28 | 0.727273 | 4 | 33 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 33 | 2 | 29 | 16.5 | 0.96 | 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 |
c1c7e803ec10470810f8fc78b8d36658d161efd6 | 20 | py | Python | ngm/__init__.py | calpoly-bioinf/knowledge_driven_modeling | dbe55d5bb07f7c5a1834a21fde8833f295e3ac96 | [
"MIT"
] | null | null | null | ngm/__init__.py | calpoly-bioinf/knowledge_driven_modeling | dbe55d5bb07f7c5a1834a21fde8833f295e3ac96 | [
"MIT"
] | null | null | null | ngm/__init__.py | calpoly-bioinf/knowledge_driven_modeling | dbe55d5bb07f7c5a1834a21fde8833f295e3ac96 | [
"MIT"
] | null | null | null | from . import base
| 6.666667 | 18 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 20 | 2 | 19 | 10 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c1fab8ac6b170dec1129b889192c1ff046d013e1 | 44,775 | py | Python | tests/features/steps/bgp_tests.py | Netests/netests | 1a48bda461761c4ec854d6fa0c38629049009a4a | [
"MIT"
] | 14 | 2020-06-08T07:34:59.000Z | 2022-03-14T08:52:03.000Z | tests/features/steps/bgp_tests.py | Netests/netests | 1a48bda461761c4ec854d6fa0c38629049009a4a | [
"MIT"
] | null | null | null | tests/features/steps/bgp_tests.py | Netests/netests | 1a48bda461761c4ec854d6fa0c38629049009a4a | [
"MIT"
] | 3 | 2020-06-19T03:57:05.000Z | 2020-06-22T22:46:42.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import json
import yaml
import textfsm
from netests.comparators.bgp_compare import _compare_bgp
from netests.mappings import get_bgp_state_brief, get_bgp_peer_uptime
from netests.converters.bgp.arista.api import _arista_bgp_api_converter
from netests.converters.bgp.arista... | 26.307286 | 101 | 0.632205 | 5,857 | 44,775 | 4.567355 | 0.04405 | 0.062914 | 0.054278 | 0.088819 | 0.872678 | 0.847408 | 0.824418 | 0.796494 | 0.775223 | 0.764308 | 0 | 0.053065 | 0.26852 | 44,775 | 1,701 | 102 | 26.322751 | 0.763709 | 0.001787 | 0 | 0.576557 | 0 | 0 | 0.271704 | 0.060951 | 0 | 0 | 0 | 0 | 0.030769 | 1 | 0.097436 | false | 0 | 0.019048 | 0 | 0.117216 | 0.012454 | 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 |
e735f23db95fb8090cad4901489cc47f6ededa35 | 488 | py | Python | python/1108_Defanging_an_IP_Address.py | dvlpsh/leetcode-1 | f965328af72113ac8a5a9d6624868c1502be937b | [
"MIT"
] | 4,416 | 2016-03-30T15:02:26.000Z | 2022-03-31T16:31:03.000Z | python/1108_Defanging_an_IP_Address.py | YinpuLi/leetcode-6 | 1371de2631d745efba39de41b51c3424e35da434 | [
"MIT"
] | 20 | 2018-11-17T13:46:25.000Z | 2022-03-13T05:37:06.000Z | python/1108_Defanging_an_IP_Address.py | YinpuLi/leetcode-6 | 1371de2631d745efba39de41b51c3424e35da434 | [
"MIT"
] | 1,374 | 2017-05-26T15:44:30.000Z | 2022-03-30T19:21:02.000Z | class Solution:
def defangIPaddr(self, address: str) -> str:
# replace
return address.replace('.', '[.]')
# def defangIPaddr(self, address: str) -> str:
# # split and join
# return '[.]'.join(address.split('.'))
# def defangIPaddr(self, address: str) -> str:
# # repla... | 37.538462 | 67 | 0.528689 | 52 | 488 | 4.961538 | 0.365385 | 0.232558 | 0.294574 | 0.403101 | 0.596899 | 0.596899 | 0.348837 | 0.348837 | 0 | 0 | 0 | 0 | 0.276639 | 488 | 12 | 68 | 40.666667 | 0.730878 | 0.653689 | 0 | 0 | 0 | 0 | 0.025478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e7623d08cbe00353b4f7434b681dab91911f2731 | 5,697 | py | Python | PrimeDiscriminatorConv.py | lihaifeng215/Prime-Prediction | b5e31a5637ec303630e51a8a75c7ef0f0aa80b84 | [
"MIT"
] | null | null | null | PrimeDiscriminatorConv.py | lihaifeng215/Prime-Prediction | b5e31a5637ec303630e51a8a75c7ef0f0aa80b84 | [
"MIT"
] | null | null | null | PrimeDiscriminatorConv.py | lihaifeng215/Prime-Prediction | b5e31a5637ec303630e51a8a75c7ef0f0aa80b84 | [
"MIT"
] | null | null | null | import numpy as np
import keras
from keras.models import Sequential
from keras.layers import Dense,BatchNormalization,Conv2D,Conv2DTranspose,Activation,Reshape,Flatten
from keras.utils.np_utils import to_categorical
import tensorflow as tf
import time
start = time.time()
tfconfig = tf.ConfigProto(allow_soft_p... | 35.166667 | 167 | 0.693172 | 696 | 5,697 | 5.570402 | 0.199713 | 0.057777 | 0.080475 | 0.09595 | 0.92649 | 0.907918 | 0.907918 | 0.907918 | 0.884189 | 0.862007 | 0 | 0.035201 | 0.157276 | 5,697 | 162 | 168 | 35.166667 | 0.772339 | 0.45954 | 0 | 0.152542 | 0 | 0 | 0.117772 | 0.045487 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.118644 | 0 | 0.118644 | 0.169492 | 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 |
e772ce12b4a17586b080bf7008c3e4831256c497 | 26 | py | Python | xlwings/rest/__init__.py | kushal-kumaran/xlwings | 36ea1ba91ecb1c37d36d87dfa7ed987c06bca142 | [
"BSD-3-Clause"
] | 1,138 | 2015-01-02T23:04:18.000Z | 2019-04-02T09:04:09.000Z | xlwings/rest/__init__.py | kushal-kumaran/xlwings | 36ea1ba91ecb1c37d36d87dfa7ed987c06bca142 | [
"BSD-3-Clause"
] | 872 | 2015-01-02T01:43:52.000Z | 2019-04-02T20:30:10.000Z | xlwings/rest/__init__.py | kushal-kumaran/xlwings | 36ea1ba91ecb1c37d36d87dfa7ed987c06bca142 | [
"BSD-3-Clause"
] | 261 | 2015-01-13T17:34:07.000Z | 2019-03-20T17:33:36.000Z | from .api import api, run
| 13 | 25 | 0.730769 | 5 | 26 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 1 | 26 | 26 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e7b9ef4c8e089aba82922c15317daff58d79fe0f | 174 | py | Python | crawler.py | n8wachT/BotListBot | 457160498a90c8d0a63d5a9f7400227e35431b6d | [
"MIT"
] | null | null | null | crawler.py | n8wachT/BotListBot | 457160498a90c8d0a63d5a9f7400227e35431b6d | [
"MIT"
] | null | null | null | crawler.py | n8wachT/BotListBot | 457160498a90c8d0a63d5a9f7400227e35431b6d | [
"MIT"
] | null | null | null | from model.botlist import BotList
if __name__ == '__main__':
# c = Channel("@botlist", "https://telegram.me/botlist")
c = BotList("", "https://telegram.me/botlist")
| 29 | 60 | 0.655172 | 21 | 174 | 5.047619 | 0.571429 | 0.226415 | 0.377358 | 0.415094 | 0.54717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 174 | 5 | 61 | 34.8 | 0.716216 | 0.310345 | 0 | 0 | 0 | 0 | 0.29661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e7c073e5eab5fdb1fa417cbe7b2f880baea0fdba | 1,348 | py | Python | src/WebApp/SUPERSTAR/models.py | abradle/ccf | 2c10e86aa7c1a1d00881ce469a612e423d7d9bd1 | [
"Apache-2.0"
] | 1 | 2021-06-03T23:46:47.000Z | 2021-06-03T23:46:47.000Z | src/WebApp/SUPERSTAR/models.py | abradle/ccf | 2c10e86aa7c1a1d00881ce469a612e423d7d9bd1 | [
"Apache-2.0"
] | null | null | null | src/WebApp/SUPERSTAR/models.py | abradle/ccf | 2c10e86aa7c1a1d00881ce469a612e423d7d9bd1 | [
"Apache-2.0"
] | 3 | 2016-04-16T16:30:25.000Z | 2018-03-11T11:00:58.000Z | from django.db import models
from PLIFS.models import PlifProbeBit, PlifProbe
from IOhandle.models import Target
class PlifVis(models.Model):
"""Model to hold the JSON for a PLIF string"""
# The target it relates to
target_id = models.ForeignKey(Target, unique=True)
# The JSON of the vals
... | 29.955556 | 79 | 0.664688 | 176 | 1,348 | 5.011364 | 0.267045 | 0.05102 | 0.072562 | 0.081633 | 0.70068 | 0.70068 | 0.70068 | 0.70068 | 0.70068 | 0.612245 | 0 | 0 | 0.247033 | 1,348 | 45 | 80 | 29.955556 | 0.868966 | 0.28635 | 0 | 0.380952 | 0 | 0 | 0.04387 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.904762 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
99ce686fa471766688f919adbca44e5eaf14ca67 | 42 | py | Python | app_018/app.py | OmarElKhatibCS/DevOpsJourney | 73765936ecbe9ea8d3def2c6197242bba18d3d29 | [
"MIT"
] | null | null | null | app_018/app.py | OmarElKhatibCS/DevOpsJourney | 73765936ecbe9ea8d3def2c6197242bba18d3d29 | [
"MIT"
] | null | null | null | app_018/app.py | OmarElKhatibCS/DevOpsJourney | 73765936ecbe9ea8d3def2c6197242bba18d3d29 | [
"MIT"
] | 1 | 2021-06-16T14:02:15.000Z | 2021-06-16T14:02:15.000Z | print("Hello Dev.to Folks! this is Omar")
| 21 | 41 | 0.714286 | 8 | 42 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 1 | 42 | 42 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
99e94c8a690b3cc216206e51114dbe1342f800a5 | 5,437 | py | Python | tests/examples/minlplib/st_qpk3.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 2 | 2021-07-03T13:19:10.000Z | 2022-02-06T10:48:13.000Z | tests/examples/minlplib/st_qpk3.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 1 | 2021-07-04T14:52:14.000Z | 2021-07-15T10:17:11.000Z | tests/examples/minlplib/st_qpk3.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | null | null | null | # NLP written by GAMS Convert at 04/21/18 13:54:25
#
# Equation counts
# Total E G L N X C B
# 23 1 0 22 0 0 0 0
#
# Variable counts
# x b i s1s s2s sc ... | 50.342593 | 120 | 0.447305 | 1,183 | 5,437 | 2.05579 | 0.096365 | 0.034539 | 0.024671 | 0.090461 | 0.796053 | 0.782895 | 0.780428 | 0.719161 | 0.719161 | 0.551809 | 0 | 0.227273 | 0.336399 | 5,437 | 107 | 121 | 50.813084 | 0.446785 | 0.124701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016129 | 0 | 0.016129 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8209b17df8923dd5042f33f413793fe66e3854a8 | 409 | py | Python | utils/unit_conversion.py | char3176/Vision2020_code | 610ea826bb82c28a79f77fc09f89f0ee1d6d0fe9 | [
"Apache-2.0"
] | null | null | null | utils/unit_conversion.py | char3176/Vision2020_code | 610ea826bb82c28a79f77fc09f89f0ee1d6d0fe9 | [
"Apache-2.0"
] | null | null | null | utils/unit_conversion.py | char3176/Vision2020_code | 610ea826bb82c28a79f77fc09f89f0ee1d6d0fe9 | [
"Apache-2.0"
] | null | null | null |
def feet2inches(feet):
return feet * 12
def inches2feet(inches):
feet = inches / 12.0
remainder_inches = feet % 12.0
return feet, remainder_inches
def inches2meters(inches):
return inches * 39.37007874
def meters2inches(meters):
return meters / 0.0254
def meters2feet(meters):
inches = meters2inches(... | 17.782609 | 46 | 0.740831 | 51 | 409 | 5.862745 | 0.313725 | 0.200669 | 0.190635 | 0.167224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088757 | 0.173594 | 409 | 22 | 47 | 18.590909 | 0.795858 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0 | 0.214286 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8217d1bad7874fe28547981c8b106f8460f9b328 | 145 | py | Python | graph_generation/config_params/data_integrity_params.py | googleinterns/data-dependency-graph-analysis | 5629f2e4cc3fd71c8976483b0c2b4bdbcc2a7643 | [
"Apache-2.0"
] | 4 | 2020-10-03T01:41:19.000Z | 2021-01-21T16:28:16.000Z | graph_generation/config_params/data_integrity_params.py | googleinterns/data-dependency-graph-analysis | 5629f2e4cc3fd71c8976483b0c2b4bdbcc2a7643 | [
"Apache-2.0"
] | 24 | 2020-08-06T16:01:14.000Z | 2020-10-10T23:02:23.000Z | graph_generation/config_params/data_integrity_params.py | googleinterns/data-dependency-graph-analysis | 5629f2e4cc3fd71c8976483b0c2b4bdbcc2a7643 | [
"Apache-2.0"
] | null | null | null | class DataIntegrityParams:
def __init__(self, data_volatility_proba_map):
self.data_volatility_proba_map = data_volatility_proba_map
| 36.25 | 66 | 0.813793 | 18 | 145 | 5.833333 | 0.5 | 0.4 | 0.542857 | 0.628571 | 0.495238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 145 | 3 | 67 | 48.333333 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 |
823bfb499004c94918dd0b2c1ca17b3c1c0e507c | 13,850 | py | Python | tests/iaas_classic/export_all/test_export_all.py | ericmharris/gc3-query | 0bf5226130aafbb1974aeb96d93ee1996833e87d | [
"MIT"
] | null | null | null | tests/iaas_classic/export_all/test_export_all.py | ericmharris/gc3-query | 0bf5226130aafbb1974aeb96d93ee1996833e87d | [
"MIT"
] | null | null | null | tests/iaas_classic/export_all/test_export_all.py | ericmharris/gc3-query | 0bf5226130aafbb1974aeb96d93ee1996833e87d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
gc3-query.test_export_all [9/11/2018 2:28 PM]
~~~~~~~~~~~~~~~~
<DESCR SHORT>
<DESCR>
"""
################################################################################
## Standard Library Imports
import sys, os
#######################################################################... | 42.615385 | 149 | 0.727292 | 1,758 | 13,850 | 5.397042 | 0.087031 | 0.034148 | 0.028457 | 0.036362 | 0.802909 | 0.796058 | 0.781935 | 0.769077 | 0.754321 | 0.706682 | 0 | 0.009722 | 0.168231 | 13,850 | 324 | 150 | 42.746914 | 0.813889 | 0.134513 | 0 | 0.678733 | 0 | 0.027149 | 0.115902 | 0.046807 | 0 | 0 | 0 | 0.003086 | 0.058824 | 1 | 0.058824 | false | 0 | 0.167421 | 0 | 0.226244 | 0.027149 | 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 |
8245943398c1d7e94b97859c930b2d008a742573 | 37,909 | py | Python | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/9.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/9.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/9.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 3290
passenger_arriving = (
(2, 5, 7, 5, 3, 0, 6, 10, 6, 8, 1, 0), # 0
(2, 8, 4, 3, 2, 0, 8, 6, 5, 5, 4, 0), # 1
(5, 10, 6, 4, 3, 0, 2, 10, 7, 4, 2, 0), # 2
(2, 7, 3, 1, 2, 0, 6, 7, 3, 5, 3, 0), # 3
(5, 6, 4, 5, 1, 0, 5, 7, 5, 6, 0, 0), # 4
(3, 6, 6, 6, 1, 0, 11, 4, 7, 6... | 113.161194 | 212 | 0.729246 | 5,147 | 37,909 | 5.368953 | 0.227705 | 0.312658 | 0.247521 | 0.468987 | 0.328002 | 0.32764 | 0.32764 | 0.32764 | 0.32764 | 0.32764 | 0 | 0.819135 | 0.119075 | 37,909 | 334 | 213 | 113.5 | 0.008355 | 0.031945 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
412e0eb8310cfb4c73e90015869e4f3009eb4387 | 65 | py | Python | Reading Data/lesson-4-tsv-with-the-simpsons-episodes/tests/test_simpsons_shape.py | danielgarm/Data-Science-and-Machine-Learning | fa3e85cc42eb2e9f964ab5abb34d1c93e16d1cd9 | [
"MIT"
] | null | null | null | Reading Data/lesson-4-tsv-with-the-simpsons-episodes/tests/test_simpsons_shape.py | danielgarm/Data-Science-and-Machine-Learning | fa3e85cc42eb2e9f964ab5abb34d1c93e16d1cd9 | [
"MIT"
] | 2 | 2022-01-11T21:04:51.000Z | 2022-01-11T21:05:05.000Z | Reading Data/lesson-4-tsv-with-the-simpsons-episodes/tests/test_simpsons_shape.py | danielgarm/Data-Science-and-Machine-Learning | fa3e85cc42eb2e9f964ab5abb34d1c93e16d1cd9 | [
"MIT"
] | null | null | null | def test_simpsons_shape():
assert simpsons.shape == (597, 3)
| 21.666667 | 37 | 0.692308 | 9 | 65 | 4.777778 | 0.777778 | 0.604651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.169231 | 65 | 2 | 38 | 32.5 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
41387a37d707e04863616d4e8e65c5b638d82d0a | 26 | py | Python | EffectLoops/__init__.py | jcksnvllxr80/MidiController | de6d3c983cd27408e88a744a0a4d3c887efa3d54 | [
"MIT"
] | 1 | 2021-06-06T15:36:27.000Z | 2021-06-06T15:36:27.000Z | EffectLoops/__init__.py | jcksnvllxr80/MidiController | de6d3c983cd27408e88a744a0a4d3c887efa3d54 | [
"MIT"
] | 1 | 2021-06-06T15:37:42.000Z | 2021-06-06T15:37:42.000Z | EffectLoops/__init__.py | jcksnvllxr80/MidiController | de6d3c983cd27408e88a744a0a4d3c887efa3d54 | [
"MIT"
] | null | null | null | from EffectLoops import *
| 13 | 25 | 0.807692 | 3 | 26 | 7 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.